1 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4 Only return early when n is <= 0. Delete unused return statement.
6 2014-02-08 Mike Frysinger <vapier@gentoo.org>
8 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
9 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
10 * debug/tst-longjmp_chk3.c: New file.
12 2014-02-08 Mike Frysinger <vapier@gentoo.org>
14 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
15 (test_main): Replace code with set_fortify_handler call.
16 * debug/test-strcpy_chk.c: Likewise.
17 * debug/tst-chk1.c: Likewise.
18 * debug/tst-longjmp_chk.c: Likewise.
19 * test-skeleton.c: Include fcntl.h & paths.h
20 (set_fortify_handler): Define.
22 2014-02-08 Mike Frysinger <vapier@gentoo.org>
24 * debug/tst-longjmp_chk.c: Add header comment and include
26 (do_test): Mark static.
27 (TEST_FUNCTION): Define.
29 2014-02-08 Mike Frysinger <vapier@gentoo.org>
31 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
32 (IP_PMTUDISC_INTERFACE): Likewise.
33 (IP_MULTICAST_IF): Likewise.
34 (IP_MULTICAST_TTL): Likewise.
35 (IP_MULTICAST_LOOP): Likewise.
36 (IP_ADD_MEMBERSHIP): Likewise.
37 (IP_DROP_MEMBERSHIP): Likewise.
38 (IP_UNBLOCK_SOURCE): Likewise.
39 (IP_BLOCK_SOURCE): Likewise.
40 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
41 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
42 (IP_MSFILTER): Likewise.
43 (MCAST_JOIN_GROUP): Likewise.
44 (MCAST_BLOCK_SOURCE): Likewise.
45 (MCAST_UNBLOCK_SOURCE): Likewise.
46 (MCAST_LEAVE_GROUP): Likewise.
47 (MCAST_JOIN_SOURCE_GROUP): Likewise.
48 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
49 (MCAST_MSFILTER): Likewise.
50 (IP_MULTICAST_ALL): Likewise.
51 (IP_UNICAST_IF): Likewise.
53 2014-02-08 Mike Frysinger <vapier@gentoo.org>
55 * timezone/Makefile: Delete $(have-ksh) check.
56 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
57 * timezone/tzselect.ksh: Add +x mode bits.
59 2014-02-08 Mike Frysinger <vapier@gentoo.org>
61 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
62 (ANON_INODE_FS_MAGIC): Likewise.
63 (BDEVFS_MAGIC): Likewise.
64 (BINFMTFS_MAGIC): Likewise.
65 (BTRFS_TEST_MAGIC): Likewise.
66 (CRAMFS_MAGIC_WEND): Likewise.
67 (DEBUGFS_MAGIC): Likewise.
68 (ECRYPTFS_SUPER_MAGIC): Likewise.
69 (EXT3_SUPER_MAGIC): Likewise.
70 (EXT4_SUPER_MAGIC): Likewise.
71 (FUTEXFS_SUPER_MAGIC): Likewise.
72 (HOSTFS_SUPER_MAGIC): Likewise.
73 (HUGETLBFS_MAGIC): Likewise.
74 (MINIX3_SUPER_MAGIC): Likewise.
75 (MTD_INODE_FS_MAGIC): Likewise.
76 (NILFS_SUPER_MAGIC): Likewise.
77 (OPENPROM_SUPER_MAGIC): Likewise.
78 (PIPEFS_MAGIC): Likewise.
79 (PSTOREFS_MAGIC): Likewise.
80 (QNX6_SUPER_MAGIC): Likewise.
81 (RAMFS_MAGIC): Likewise.
82 (REISERFS_SUPER_MAGIC_STRING): Likewise.
83 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
84 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
85 (SECURITYFS_MAGIC): Likewise.
86 (SELINUX_MAGIC): Likewise.
87 (SMACK_MAGIC): Likewise.
88 (SOCKFS_MAGIC): Likewise.
89 (SQUASHFS_MAGIC): Likewise.
90 (STACK_END_MAGIC): Likewise.
91 (TMPFS_MAGIC): Likewise.
92 (USBDEVICE_SUPER_MAGIC): Likewise.
93 (V9FS_MAGIC): Likewise.
94 (XENFS_SUPER_MAGIC): Likewise.
95 (CRAMFS_MAGIC): Fix typo in comment.
96 (EXT2_SUPER_MAGIC): Update comment.
97 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
99 2014-02-08 Joseph Myers <joseph@codesourcery.com>
101 * sysdeps/arm: Move directory from ports/sysdeps/arm.
102 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
103 * sysdeps/unix/sysv/linux/arm: Move directory from
104 ports/sysdeps/unix/sysv/linux/arm.
105 * README: Update listing for arm-*-linux-gnueabi.
107 * README: Remove mention of am33.
109 2014-02-07 Roland McGrath <roland@hack.frob.com>
111 * bits/sigset.h (__sigemptyset): Use a statement expression rather
112 than the comma operator, to avoid "rhs of comma has no effect"
114 (__sigfillset, __sigandset, __sigorset): Likewise.
115 * include/signal.h (__sigemptyset): Likewise.
116 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
118 2014-02-07 Allan McRae <allan@archlinux.org>
120 * version.h (RELEASE): Set to "development".
121 (VERSION): Set to "2.19.90"
122 * NEWS: Add 2.20 section.
124 2014-02-06 Carlos O'Donell <carlos@redhat.com>
127 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
129 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
131 * manual/contrib.texi: Update entry for Carlos O'Donell,
132 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
134 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
136 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
138 * sysdeps/unix/sysv/linux/kernel-features.h
139 [__LINUX_KERNEL_VERSION >= 0x020621]
140 (__ASSUME_PROC_PID_TASK_COMM): Define.
142 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
144 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
145 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
146 Leonard and Allan McRae.
148 2014-02-04 David S. Miller <davem@davemloft.net>
150 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
153 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
182 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
184 * nptl/shlib-versions: Change powerpc*le start to 2.17.
185 * shlib-versions: Likewise.
187 2014-02-04 Roland McGrath <roland@hack.frob.com>
188 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
190 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
191 (abilist-pattern): New variable, set to %-le.abilist.
193 * Makerules (abilist-pattern): New variable.
194 (vpath): Use $(abilist-pattern) in place of %.abilist.
195 (check-abi-% pattern rule): Likewise.
196 (check-abi, update-abi): Likewise.
198 2014-02-04 Eric Wong <normalperson@yhbt.net>
200 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
202 2014-02-04 Eric Wong <normalperson@yhbt.net>
204 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
206 2014-02-03 Carlos O'Donell <carlos@redhat.com>
208 * manual/startup.texi: Add next, previous, and top entries for
209 the `Program Arguments' and `Environment Variables' nodes.
211 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
213 * manual/macros.texi: Add comments before MTASC-safety macros.
215 * manual/users.texi: Document MTASC-safety properties.
217 * manual/threads.texi (pthread_key_create, pthread_key_delete,
218 pthread_getspecific, pthread_setspecific): Format with
219 @deftypefun, and add @safety note.
220 * manual/signal.texi: Move comments that analyze the above
221 functions to their home place.
223 2014-02-03 Allan McRae <allan@archlinux.org>
225 * po/sl.po: Update Slovenian translation from translation project.
227 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
229 * manual/time.texi (timegm): Add missing blank after @c.
230 Reported by Joseph Myers <joseph@codesourcery.com>.
232 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
234 * manual/check-safety.sh: New.
235 * manual/Makefile ($(objpfx)stamp-summary): Run it.
237 * manual/terminal.texi: Document MTASC-safety properties.
239 * manual/filesys.texi: Document MTASC-safety properties.
241 * manual/errno.texi: Document MTASC-safety properties.
243 * manual/intro.texi: Document safety identifiers and
246 * manual/string.texi (wcstok): Fix prototype.
247 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
249 * manual/time.texi: Document MTASC-safety properties.
251 * manual/string.texi: Document MTASC-safety properties.
253 * manual/threads.texi: Document MTASC-safety properties.
255 * manual/stdio.texi: Document MTASC-safety properties.
257 * manual/syslog.texi: Document MTASC-safety properties.
259 * manual/sysinfo.texi: Document MTASC-safety properties.
261 * manual/startup.texi: Document MTASC-safety properties.
263 * manual/socket.texi: Document MTASC-safety properties.
265 * manual/signal.texi: Document MTASC-safety properties.
267 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
269 * manual/setjmp.texi: Document MTASC-safety properties.
271 * manual/search.texi: Document MTASC-safety properties.
273 * manual/resource.texi: Document MTASC-safety properties.
275 * manual/process.texi: Document MTASC-safety properties.
277 * manual/platform.texi: Document MTASC-safety properties.
279 * manual/pipe.texi: Document MTASC-safety properties.
281 * manual/pattern.texi: Document MTASC-safety properties.
283 * manual/message.texi: Document MTASC-safety properties.
286 * manual/memory.texi: Document MTASC-safety properties.
288 * manual/math.texi: Document MTASC-safety properties.
290 * manual/locale.texi: Document MTASC-safety properties.
292 * manual/llio.texi: Document MTASC-safety properties.
294 * manual/libdl.texi: New.
296 * manual/lang.texi: Document MTASC-safety properties.
298 * manual/job.texi: Document MTASC-safety properties.
300 * manual/getopt.texi: Document MTASC-safety properties.
302 * manual/ctype.texi: Document MTASC-safety properties.
304 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
307 * csu/libc-tls.c (static_map): Remove variable.
308 (__libc_setup_tls): Use main executable's link map for TLS data.
309 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
310 casing for LM_ID_BASE and GL(dl_nns).
311 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
312 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
313 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
314 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
315 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
317 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
320 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
322 * manual/debug.texi: Document MTASC-safety properties.
324 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
327 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
328 of __x86_64__ when disabling x87 inline functions.
330 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
332 * manual/charset.texi: Document MTASC-safety properties.
334 * manual/crypt.texi: Document MTASC-safety properties.
336 * manual/conf.texi: Document MTASC-safety properties.
338 * manual/arith.texi: Document MTASC-safety properties.
340 * manual/argp.texi: Document MTASC-safety properties.
342 * manual/macros.texi: Introduce macros to document multi
343 thread, asynchronous signal and asynchronous cancellation
345 * manual/intro.texi: Introduce the properties themselves.
347 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
349 * sysdeps/sh/sh4/Makefile: New file.
351 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
353 * math/gen-libm-test.pl ($srcdir): New variable.
354 ($auto_input): Use it.
356 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
359 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
360 access beyond array bounds when parsing netgroups file.
362 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
363 the old buffer before realloc.
365 2014-01-27 Allan McRae <allan@archlinux.org>
367 * po/fr.po: Update French translation from translation project.
369 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
371 * sysdeps/sh/libm-test-ulps: Regenerate.
373 2014-01-24 David S. Miller <davem@davemloft.net>
375 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
377 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
379 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
380 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
382 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
385 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
386 string pointers after reallocation.
388 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
390 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
391 __SH4A__ instead of __SH_FPU_ANY__.
393 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
395 * sysdeps/sh/fpu_control.h: New file.
396 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
397 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
398 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
399 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
400 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
401 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
402 * sysdeps/sh/sys/ucontext.h: Remove.
403 * sysdeps/sh/sys: Remove directory.
405 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
407 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
409 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
410 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
412 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
415 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
417 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
420 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
421 Adjust the vDSO correctly for internal calls.
422 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
424 2014-01-20 Allan McRae <allan@archlinux.org>
426 * po/ca.po: Update Catalan translation from translation project.
428 2014-01-16 Mike Frysinger <vapier@gentoo.org>
430 * sysdeps/s390/sotruss-lib.c: New file.
432 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
435 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
436 (__GI___gettimeofday): Alias for a different internal symbol to avoid
437 local calls issues by not having a PLT stub required for IFUNC calls.
438 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
440 2014-01-16 Joseph Myers <joseph@codesourcery.com>
442 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
443 * math/test-fpucw-static.c: Likewise.
445 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
448 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
450 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
452 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
453 implementation for powerpc.
455 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
458 * sysdeps/posix/system.c (__libc_system): Do not enable
459 asynchronous cancellation.
461 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
464 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
465 handling only for numbers special also in the IEEE case.
467 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
469 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
471 2014-01-11 Allan McRae <allan@archlinux.org>
473 * po/bg.po: Update Bulgarian translation from translation project.
475 * po/de.po: Update German translation from translation project.
477 2014-01-10 Roland McGrath <roland@hack.frob.com>
479 * sysdeps/generic/gcc-compat.h: New file.
481 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
483 * benchtests/asin-inputs: Correct slow inputs.
484 * benchtests/acos-inputs: Likewise.
486 2014-01-10 Allan McRae <allan@archlinux.org>
488 * po:sv.po: Update Swedish translation from translation project.
490 * po/vi.po: Update Vietnamese translation from translation project.
492 * po/eo.po: Update Esperanto translation from translation project.
494 * po/cs.po: Update Czech translation from translation project.
496 * po/nl.po: Update Dutch translation from translation project.
498 * po/pl.po: Update Polish translation from translation project.
500 * po/ru.po: Update Russian translation from translation project.
502 * po/uk.po: Update Ukrainian translation from translation project.
504 2014-01-08 Brooks Moses <bmoses@google.com>
506 * elf/dl-load.c: Fix comment typo.
508 2014-01-08 Carlos O'Donell <carlos@redhat.com>
510 * po/header.pot: Rename to...
511 * po/pot.header: ... this.
512 * po/Makefile: Use pot.header.
514 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
515 Maxim Kuvyrkov <maxim@kugelworks.com>
518 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
519 SRC and DEST against LEN.
521 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
524 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
526 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
528 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
530 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
532 2014-01-08 Joseph Myers <joseph@codesourcery.com>
535 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
536 for large positive arguments.
538 2014-01-07 Joseph Myers <joseph@codesourcery.com>
540 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
542 * math/auto-libm-test-in: Mark various tests with
543 xfail-rounding:ldbl-128ibm.
544 * math/auto-libm-test-out: Regenerated.
547 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
548 Increase overflow threshold.
550 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
553 * stdio-common/vfprintf.c: Check for integer overflow.
555 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
557 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
558 the first argument and return value of __tls_get_addr_internal.
560 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
562 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
563 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
565 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
567 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
568 * sysdeps/s390/rtld-global-offsets.sym: New file.
569 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
571 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
572 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
573 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
575 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
576 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
578 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
580 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
582 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
583 halfs of GPRs for high_gprs contexts.
584 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
585 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
587 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
589 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
591 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
592 for high GPRs (uc_high_gprs) and for future extensions
594 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
595 for future extensions (__reserved).
596 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
598 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
599 SC_HIGHGPRS offset definition.
600 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
601 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
603 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
605 * Versions.def: Add GLIBC_2.19 for libpthread.
606 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
607 siglongjmp for libpthread with GLIBC_2.19 symver.
608 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
609 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
610 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
611 * sysdeps/s390/__longjmp.c: New file.
612 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
613 * sysdeps/s390/longjmp.c: New file.
614 * sysdeps/s390/setjmp.S: New file.
615 * sysdeps/s390/sigjmp.S: New file.
616 * sysdeps/s390/v1-longjmp.c: New file.
617 * sysdeps/s390/v1-setjmp.h: New file.
618 * sysdeps/s390/v1-sigjmp.c: New file.
619 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
620 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
622 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
623 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
624 versioned symbols for ____longjmp_chk.
625 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
627 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
629 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
631 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
633 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
635 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
636 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
637 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
638 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
639 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
640 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
641 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
642 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
643 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
644 * sysdeps/s390/rtld-__longjmp.c: New file.
645 * sysdeps/s390/rtld-setjmp.S: New file.
647 2014-01-06 Joseph Myers <joseph@codesourcery.com>
650 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
651 Return -__logl (x) for small positive arguments without evaluating
654 2014-01-06 Mike Frysinger <vapier@gentoo.org>
656 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
658 (__ptrace_peeksiginfo_args): ... this.
659 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
660 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
661 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
663 2014-01-06 Allan McRae <allan@archlinux.org>
665 * inet/netinet/in.h: Fix typo in comment.
667 2014-01-05 Andreas Jaeger <aj@suse.de>
669 * sysdeps/i386/fpu/libm-test-ulps: Update.
671 2014-01-05 Allan McRae <allan@archlinux.org>
673 * po/libc.pot: Regenerated.
675 * malloc/memusagestat.c: Fix gettext call formatting.
677 2014-01-04 Sami Kerola <kerolasa@iki.fi>
679 * nscd/nscd.c: Improve usage() output.
681 2014-01-04 Mike Frysinger <vapier@gentoo.org>
683 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
684 * sysdeps/unix/sysv/linux/configure: Regenerated.
685 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
686 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
688 2014-01-03 Joseph Myers <joseph@codesourcery.com>
691 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
692 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
694 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
696 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
697 extra tokens at end of #undef directive.
698 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
699 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
700 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
702 2014-01-03 Joseph Myers <joseph@codesourcery.com>
704 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
706 * math/auto-libm-test-in: Mark various tests with
707 xfail-rounding:ldbl-128ibm.
708 * math/auto-libm-test-out: Regenerated.
710 2014-01-02 Joseph Myers <joseph@codesourcery.com>
713 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
714 numbers with subnormal high part when calculating exponent.
717 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
721 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
723 (__ieee754_acoshl): Use __log1pl not __log1p.
725 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
727 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
728 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
729 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
730 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
731 Convert to GNU style.
732 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
733 mem2mem_check, mem2chunk_check, top_check, realloc_check,
734 memalign_check, __malloc_set_state): Likewise.
735 * malloc/mallocbug.c (main): Likewise.
736 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
737 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
738 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
739 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
740 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
741 * malloc/malloc.h: Likewise.
742 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
743 memalignhook, reallochook, mabort): Likewise.
744 * malloc/mcheck.h: Likewise.
745 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
746 mmap64, mremap, munmap, dest): Likewise.
747 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
748 * malloc/morecore.c (__default_morecore): Likewise.
749 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
750 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
751 _obstack_allocated_p, obstack_free, _obstack_memory_used,
752 print_and_abort): Likewise.
753 * malloc/obstack.h: Likewise.
754 * malloc/set-freeres.c (__libc_freeres): Likewise.
755 * malloc/tst-mallocstate.c (main): Likewise.
756 * malloc/tst-mtrace.c (main): Likewise.
757 * malloc/tst-realloc.c (do_test): Likewise.
759 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
762 * nscd/netgroupcache.c (do_notfound): New function.
763 (addgetnetgrentX): Use it.
766 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
769 2014-01-01 Joseph Myers <joseph@codesourcery.com>
771 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
774 2014-01-01 Allan McRae <allan@archlinux.org>
776 * scripts/update-copyrights: Update configure input file suffix.
778 * NEWS: Update copyright year.
779 * catgets/gencat.c: Likewise.
780 * csu/version.c: Likewise.
781 * debug/catchsegv.sh: Likewise.
782 * debug/pcprofiledump.c: Likewise.
783 * debug/xtrace.sh: Likewise.
784 * elf/ldconfig.c: Likewise.
785 * elf/ldd.bash.in: Likewise.
786 * elf/pldd.c: Likewise.
787 * elf/sotruss.ksh: Likewise.
788 * elf/sprof.c: Likewise.
789 * iconv/iconv_prog.c: Likewise.
790 * iconv/iconvconfig.c: Likewise.
791 * locale/programs/locale.c: Likewise.
792 * locale/programs/localedef.c: Likewise.
793 * login/programs/pt_chown.c: Likewise.
794 * malloc/memusage.sh: Likewise.
795 * malloc/memusagestat.c: Likewise.
796 * malloc/mtrace.pl: Likewise.
797 * manual/libc.texinfo: Likewise.
798 * nscd/nscd.c: Likewise.
799 * nss/getent.c: Likewise.
800 * nss/makedb.c: Likewise.
801 * posix/getconf.c: Likewise.
802 * scripts/test-installation.pl: Likewise.
804 * All files with FSF copyright notices: Update copyright dates
805 using scripts/update-copyrights.
806 * intl/plural.c: Regenerated.
807 * locale/programs/charmap-kw.h: Likewise.
808 * locale/programs/locfile-kw.h: Likewise.
810 2013-12-31 Mike Frysinger <vapier@gentoo.org>
812 * sysdeps/unix/sysv/linux/configure: Regenerated.
813 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
814 the linux/fanotify.h header.
815 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
816 HAVE_LINUX_FANOTIFY_H is defined.
818 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
820 * benchtests/cos-inputs: New inputs.
821 * benchtests/sin-inputs: Likewise.
823 * benchtests/atan-inputs: New inputs. Fix name of multiple
824 precision fallback inputs.
826 * benchtests/atanh-inputs: New inputs.
827 * benchtests/tanh-inputs: Likewise.
829 * benchtests/acosh-inputs: New inputs.
830 * benchtests/asinh-inputs: Likewise.
832 * benchtests/cosh-inputs: New inputs.
833 * benchtests/sinh-inputs: Likewise.
835 * benchtests/acos-inputs: Add more inputs.
836 * benchtests/asin-inputs: Likewise.
838 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
841 * manual/arith.texi: Fix spelling.
842 * manual/charset.texi: Likewise.
843 * manual/errno.texi: Likewise.
844 * manual/filesys.texi: Likewise.
845 * manual/lang.texi: Likewise.
846 * manual/llio.texi: Likewise.
847 * manual/locale.texi: Likewise.
848 * manual/message.texi: Likewise.
849 * manual/resource.texi: Likewise.
850 * manual/search.texi: Likewise.
851 * manual/setjmp.texi: Likewise.
852 * manual/stdio.texi: Likewise.
853 * manual/string.texi: Likewise.
854 * manual/sysinfo.texi: Likewise.
855 * manual/time.texi: Likewise.
857 2013-12-27 Carlos O'Donell <carlos@redhat.com>
859 * po/sl.po: New file.
861 2013-12-27 Mike Frysinger <vapier@gentoo.org>
863 * .gitignore: Add core/.gdbinit/.gdb_history.
865 2013-12-27 Allan McRae <allan@archlinux.org>
868 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
869 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
871 2013-12-24 Brooks Moses <bmoses@google.com>
873 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
874 all compilers that claim C++98 compliance, not just GCC.
875 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
878 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
880 * NEWS: Restore accidentally deleted bug-fix entries.
882 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
883 Ondřej Bílka <neleai@seznam.cz>
886 * malloc/malloc.c (_int_free): Perform sanity check only if we
889 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
892 * manual/stdio.texi (String Input Conversions): Clarify that character
893 classes are not supported.
895 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
897 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
899 2013-12-22 Joseph Myers <joseph@codesourcery.com>
902 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
903 Calculate results for small negative arguments directly rather
904 than using reflection formula with special underflow handling.
906 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
907 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
908 sysdeps/unix/bsd/bsd4.4/syscalls.list.
909 (fchflags): Likewise.
911 (setlogin): Likewise.
912 (sigaltstack): Likewise.
915 (sigsetmask): Likewise.
918 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
919 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
921 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
922 * sysdeps/unix/bsd/Makefile: ... here.
923 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
924 * sysdeps/unix/bsd/Versions: ... here.
925 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
926 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
927 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
928 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
929 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
930 * sysdeps/unix/bsd/sigblock.c: ... here.
931 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
932 * sysdeps/unix/bsd/sigsetmask.c: ... here.
933 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
934 * sysdeps/unix/bsd/sigvec.c: ... here.
935 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
936 * sysdeps/unix/bsd/tcdrain.c: ... here.
937 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
938 * sysdeps/unix/bsd/tcgetattr.c: ... here.
939 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
940 * sysdeps/unix/bsd/tcsetattr.c: ... here.
941 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
942 * sysdeps/unix/bsd/wait.c: ... here.
943 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
944 * sysdeps/unix/bsd/wait3.c: ... here.
945 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
946 * sysdeps/unix/bsd/waitpid.c: ... here.
948 2013-12-21 Joseph Myers <joseph@codesourcery.com>
951 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
952 round-to-nearest for [!USE_AS_EXPM1L].
953 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
954 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
955 more tests of exp and exp10. Expect some exp10 tests to miss
956 exceptions or fail in directed rounding modes.
957 * math/auto-libm-test-out: Regenerated.
958 * math/libm-test.inc (exp10_tonearest_test_data): New array.
959 (exp10_test_tonearest): New function.
960 (exp10_towardzero_test_data): New array.
961 (exp10_test_towardzero): New function.
962 (exp10_downward_test_data): New array.
963 (exp10_test_downward): New function.
964 (exp10_upward_test_data): New array.
965 (exp10_test_upward): New function.
966 (main): Call the new functions.
967 * sysdeps/i386/fpu/libm-test-ulps: Update.
968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
970 2013-12-20 Joseph Myers <joseph@codesourcery.com>
972 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
973 asinh, atan, atan2, atanh, cbrt, cos and cosh.
974 * math/auto-libm-test-out: Regenerated.
975 * math/libm-test.inc (acosh_test_data): Add more tests.
976 (atanh_test_data): Likewise.
977 (ceil_test_data): Likewise.
978 (copysign_test_data): Likewise.
979 * sysdeps/i386/fpu/libm-test-ulps: Update.
980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
982 * timezone/checktab.awk: Update from tzcode 2013i.
983 * timezone/private.h: Likewise.
984 * timezone/scheck.c: Likewise.
985 * timezone/tzfile.h: Likewise.
986 * timezone/tzselect.ksh: Likewise.
987 * timezone/zdump.c: Likewise.
988 * timezone/zic.c: Likewise.
990 * math/auto-libm-test-in: Add tests of cpow.
991 * math/auto-libm-test-out: Regenerated.
992 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
993 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
995 (func_calc_desc): Add mpc_cc_c union field.
996 (test_functions): Add cpow.
997 (special_fill_2pi): New function.
998 (special_real_inputs): Add 2pi.
999 (calc_generic_results): Handle mpc_cc_c.
1000 * sysdeps/i386/fpu/libm-test-ulps: Update.
1001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1003 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
1004 csqrt, ctan and ctanh.
1005 * math/auto-libm-test-out: Regenerated.
1006 * math/libm-test.inc (TEST_COND_x86_64): New macro.
1007 (TEST_COND_x86): Likewise.
1008 (ccos_test_data): Use AUTO_TESTS_c_c.
1009 (ccosh_test_data): Likewise.
1010 (cexp_test_data): Likewise.
1011 (clog_test_data): Likewise.
1012 (csqrt_test_data): Likewise.
1013 (ctan_test_data): Likewise.
1014 (ctan_tonearest_test_data): Likewise.
1015 (ctan_towardzero_test_data): Likewise.
1016 (ctan_downward_test_data): Likewise.
1017 (ctan_upward_test_data): Likewise.
1018 (ctanh_test_data): Likewise.
1019 (ctanh_tonearest_test_data): Likewise.
1020 (ctanh_towardzero_test_data): Likewise.
1021 (ctanh_downward_test_data): Likewise.
1022 (ctanh_upward_test_data): Likewise.
1023 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1025 (func_calc_desc): Add mpc_c_c union field.
1026 (FUNC_mpc_c_c): New macro.
1027 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
1028 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
1030 (special_fill_min_subnorm_p120): New function.
1031 (special_real_inputs): Add min_subnorm_p120.
1032 (calc_generic_results): Handle mpc_c_c.
1033 * sysdeps/i386/fpu/libm-test-ulps: Update.
1034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1036 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1038 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
1039 do_sin_slow): New functions.
1040 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
1041 cslow2, csloww1, csloww2): Use the new functions.
1043 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
1044 Use M to change sign of result instead of X. Assume X is
1046 (csloww1): Likewise.
1050 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
1055 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
1057 (sloww1): Don't adjust sign of DX.
1058 (csloww1): Likewise.
1059 (sloww2): Use X directly and don't adjust sign of DX.
1060 (csloww2): Likewise.
1062 2013-12-19 Joseph Myers <joseph@codesourcery.com>
1064 * math/auto-libm-test-in: Add tests of cabs and carg.
1065 * math/auto-libm-test-out: Regenerated.
1066 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
1067 (carg_test_data): Likewise.
1068 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1070 (func_calc_desc): Add mpc_c_f union field.
1071 (test_functions): Add cabs and carg.
1072 (calc_generic_results): Handle mpc_c_f.
1074 * sysdeps/powerpc/powerpc32/libgcc-compat.S
1075 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
1076 as a macro and a compat symbol.
1077 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
1078 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
1079 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
1080 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
1081 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
1082 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
1084 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
1086 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
1088 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
1090 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
1092 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
1094 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
1095 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
1098 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1100 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1102 2013-12-19 Joseph Myers <joseph@codesourcery.com>
1104 * manual/texinfo.tex: Update to version 2013-11-26.10 with
1105 trailing whitespace removed.
1106 * scripts/config.guess: Update to version 2013-11-29.
1107 * scripts/config.sub: Update to version 2013-10-01.
1109 * math/auto-libm-test-in: Add tests of sincos.
1110 * math/auto-libm-test-out: Regenerated.
1111 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
1112 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1114 (func_calc_desc): Add mpfr_f_11 union field.
1115 (test_functions): Add sincos.
1116 (calc_generic_results): Handle mpfr_f_11.
1117 * sysdeps/i386/fpu/libm-test-ulps: Update.
1118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1120 2013-12-19 Andreas Schwab <schwab@suse.de>
1122 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
1124 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1125 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
1126 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
1128 2013-12-19 Joseph Myers <joseph@codesourcery.com>
1130 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
1131 * sysdeps/i386/fpu/libm-test-ulps: Update.
1132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1135 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
1136 round-to-nearest mode when using frndint.
1137 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
1138 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1139 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1141 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
1143 * math/auto-libm-test-out: Regenerated.
1144 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
1145 (TEST_COND_x86): Likewise.
1146 (expm1_tonearest_test_data): New array.
1147 (expm1_test_tonearest): New function.
1148 (expm1_towardzero_test_data): New array.
1149 (expm1_test_towardzero): New function.
1150 (expm1_downward_test_data): New array.
1151 (expm1_test_downward): New function.
1152 (expm1_upward_test_data): New array.
1153 (expm1_test_upward): New function.
1154 (main): Run the new test functions.
1155 * sysdeps/i386/fpu/libm-test-ulps: Update.
1156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1158 * include/features.h: Update comment documenting feature test
1159 macros. Mention _DEFAULT_SOURCE in comment.
1160 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
1161 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
1162 _BSD_SOURCE and _SVID_SOURCE.
1163 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
1164 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
1165 !_SVID_SOURCE]: Likewise.
1166 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1167 (__USE_POSIX_IMPLICITLY): Define.
1168 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1169 (_POSIX_SOURCE): Undefine and redefine.
1170 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1171 (_POSIX_C_SOURCE): Likewise.
1172 * manual/creature.texi (_DEFAULT_SOURCE): Document.
1173 (Feature Test Macros): Update documentation of default features.
1175 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1177 * benchtests/Makefile: Add bench-strtok.
1178 * benchtests/bench-strtok.c: New file: strtok benchtest.
1180 2013-12-19 Allan McRae <allan@archlinux.org>
1182 * manual/install.texi: Suppress menu for plain text output.
1183 * INSTALL: Regenerated.
1185 2013-12-18 Brooks Moses <bmoses@google.com>
1188 * misc/getauxval.c: Include errno.h.
1189 (__getauxval): Set errno to ENOENT if the requested type is not
1191 * misc/sys/auxv.h (getauxval): Document that it may set errno;
1192 don't declare with __attribute_const__.
1193 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
1194 * manual/startup.texi: Document that getauxval sets errno.
1196 2013-12-18 Joseph Myers <joseph@codesourcery.com>
1198 * math/auto-libm-test-in: Add tests of jn and yn.
1199 * math/auto-libm-test-out: Regenerated.
1200 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
1201 (yn_test_data): Likewise.
1202 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1204 (func_calc_desc): Add mpfr_if_f union field.
1205 (FUNC_mpfr_if_f): New macro.
1206 (test_functions): Add jn and yn.
1207 (calc_generic_results): Assert type of second input for
1208 mpfr_ff_f. Handle mpfr_if_f.
1209 (output_for_one_input_case): Disable all checking for arguments
1210 fitting floating-point types in case of an integer argument.
1211 * sysdeps/i386/fpu/libm-test-ulps: Update.
1212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1215 Don't expect fegetround reference in libm.so.
1217 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1219 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
1220 $(config-cflags-nofma).
1222 2013-12-18 Joseph Myers <joseph@codesourcery.com>
1224 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
1225 * math/auto-libm-test-out: Regenerated.
1228 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
1229 to determine exponent and adjust argument to have exponent of -1.
1230 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
1232 * math/auto-libm-test-out: Regenerated.
1233 * sysdeps/i386/fpu/libm-test-ulps: Update.
1234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1236 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
1238 * manual/probes.texi: Remove cases when per-thread arenas are
1241 2013-12-18 Andreas Schwab <schwab@suse.de>
1243 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
1244 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
1245 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
1246 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
1247 * sysdeps/i386/i686/multiarch/Makefile: Update.
1248 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
1250 2013-12-17 Joseph Myers <joseph@codesourcery.com>
1252 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
1253 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
1255 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
1258 Support TZ transition times < 00:00:00.
1259 This is needed for version-3 tz-format files; it supports time
1260 stamps past 2037 for America/Godthab (the only entry in the tz
1261 database for which this change is relevant).
1262 * manual/time.texi (TZ Variable): Document transition times
1263 from -167:59:59 through -00:00:01.
1264 * time/tzset.c (tz_rule): Time of day is now signed.
1265 (__tzset_parse_tz): Parse negative time of day.
1267 Document TZ transition times >= 25:00:00.
1268 * manual/time.texi (TZ Variable): Document transition times from
1269 25:00:00 through 167:59:59. These are already supported, and this
1270 support will help with version-3 tz-format files.
1272 * manual/time.texi (TZ Variable): Modernize North America example
1273 to reflect current (i.e., 2007-and-later) daylight saving rules.
1275 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
1277 2013-12-17 Joseph Myers <joseph@codesourcery.com>
1279 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
1280 * sysdeps/unix/bsd/bits/stat.h: Likewise.
1281 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
1282 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1283 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
1284 * sysdeps/unix/bsd/bsdstat.h: Likewise.
1285 * sysdeps/unix/bsd/clock.c: Likewise.
1286 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
1287 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
1288 * sysdeps/unix/bsd/init-posix.c: Likewise.
1289 * sysdeps/unix/bsd/poll.c: Likewise.
1290 * sysdeps/unix/bsd/ptsname.c: Likewise.
1291 * sysdeps/unix/bsd/seekdir.c: Likewise.
1292 * sysdeps/unix/bsd/setegid.c: Likewise.
1293 * sysdeps/unix/bsd/seteuid.c: Likewise.
1294 * sysdeps/unix/bsd/setgid.c: Likewise.
1295 * sysdeps/unix/bsd/setrgid.c: Likewise.
1296 * sysdeps/unix/bsd/setruid.c: Likewise.
1297 * sysdeps/unix/bsd/setsid.c: Likewise.
1298 * sysdeps/unix/bsd/setuid.c: Likewise.
1299 * sysdeps/unix/bsd/sigaction.c: Likewise.
1300 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
1301 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
1302 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
1303 * sysdeps/unix/bsd/telldir.c: Likewise.
1304 * sysdeps/unix/bsd/times.c: Likewise.
1305 * sysdeps/unix/bsd/usleep.c: Likewise.
1307 * misc/Makefile (install-lib): Remove libbsd-compat.a.
1308 ($(objpfx)libbsd-compat.a): Remove rule.
1310 * include/features.h (__FAVOR_BSD): Do not define.
1311 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
1312 features conflicting with POSIX.
1313 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
1314 (_BSD_SOURCE): Remove description of not being a subset of other
1315 feature test macros.
1316 * manual/job.texi (getpgrp): Do not document BSD version.
1317 (getpgid): Do not document by reference to BSD getpgrp.
1318 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
1319 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
1320 * signal/signal.h [__FAVOR_BSD]: Likewise.
1321 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
1322 instead of making contents conditional on [__FAVOR_BSD].
1323 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
1325 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1327 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1329 2013-12-17 Joseph Myers <joseph@codesourcery.com>
1332 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
1333 values below 2**-450, not 2**-500.
1334 * math/auto-libm-test-in: Don't allow spurious underflow from
1336 * math/auto-libm-test-out: Regenerated.
1340 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
1341 values of ha and hb and sort them after adjusting subnormal
1343 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
1345 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
1346 values of ea and eb and sort them after adjusting subnormal
1348 * math/auto-libm-test-in: Do not expect some hypot tests of
1349 subnormals to fail. Add more hypot tests.
1350 * math/auto-libm-test-out: Regenerated.
1352 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1355 * sysdeps/sh/s_fma.c: New file.
1356 * sysdeps/sh/s_fmaf.c: New file.
1357 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
1359 * sysdeps/sh/Implies: Add sh/soft-fp.
1361 2013-12-16 Roland McGrath <roland@hack.frob.com>
1363 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
1364 level of indirection to members `objname', `errstring', `malloced'.
1365 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
1366 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
1367 it as the __longjmp argument (just pass 1 instead).
1368 (_dl_catch_error): Initialize C with argument pointers and address of
1369 volatile local ERRCODE rather than copying values out of C at return.
1371 2013-12-16 Joseph Myers <joseph@codesourcery.com>
1373 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
1374 * math/auto-libm-test-out: Regenerated.
1375 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
1376 (hypot_test_data): Likewise.
1377 (pow_test_data): Likewise.
1378 (pow_tonearest_test_data): Likewise.
1379 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1381 (func_calc_desc): Add mpfr_ff_f union field.
1382 (FUNC_mpfr_ff_f): New macro.
1383 (test_functions): Add atan2, hypot and pow.
1384 (special_fill_min): New function.
1385 (special_fill_minus_min): Likewise.
1386 (special_fill_min_subnorm): Likewise.
1387 (special_fill_minus_min_subnorm): Likewise.
1388 (special_real_inputs): Add min, -min, min_subnorm and
1390 (calc_generic_results): Handle mpfr_ff_f.
1391 * sysdeps/i386/fpu/libm-test-ulps: Update.
1392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1394 2013-12-16 Will Newton <will.newton@linaro.org>
1396 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
1397 (Aligned Memory Blocks): Add documentation for aligned_alloc
1398 and suggest it as an alternative to posix_memalign.
1399 (Hooks for Malloc): Document __memalign_hook is also called
1400 for aligned_alloc. (Summary of Malloc): Add summary for
1401 aligned alloc. Document __memalign_hook is also called
1404 2013-12-16 Will Newton <will.newton@linaro.org>
1406 * manual/memory.texi (Malloc Examples): Clarify default
1407 alignment documentation. Suggest posix_memalign rather
1408 than memalign or valloc.
1409 (Aligned Memory Blocks): Remove suggestion to use memalign
1410 or valloc. Remove obsolete comment about BSD.
1411 Document memalign errno values and mark the function obsolete.
1412 Document posix_memalign returned error codes. Mark valloc
1413 as obsolete. (Hooks for Malloc): __memalign_hook is also
1414 called for posix_memalign and valloc.
1415 (Summary of Malloc): Add posix_memalign to function summary.
1416 __memalign_hook is also called for posix_memalign and valloc.
1418 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1420 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
1424 (sloww): Use mynumber union. Expand ternary operator into
1426 (cslow): use mynumber union.
1428 2013-12-16 Allan McRae <allan@archlinux.org>
1430 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
1431 * configure: Regenerated.
1433 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
1436 * configure.ac: Added --enable-maintainer-mode. Check for
1437 autoconf when enabled.
1438 * configure: Regenerated.
1440 * nscd/nscd.service: New file.
1441 * nscd/nscd.tmpfiles: New file.
1443 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
1446 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
1447 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
1448 * sysdeps/x86_64/multiarch/strstr.c: ... here.
1449 (strstr): Add __strstr_sse2_unaligned ifunc.
1450 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
1451 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
1452 (strcasestr): Remove __strcasestr_sse42 ifunc.
1453 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
1454 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1455 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1457 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1459 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
1460 * sysdeps/sh/bits/fenv.h: ... here.
1461 * sysdeps/sh/sh4/fpu/bits: Remove directory.
1463 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1465 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
1467 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1469 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
1470 hypotf multiarch implementations.
1471 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
1472 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
1473 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
1474 multiarch hypot for PPC64.
1475 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
1476 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
1477 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
1478 multiarch hypotf for PPC64.
1480 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1482 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
1483 modff multiarch implementations.
1484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
1485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
1486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
1487 multiarch modf for PPC64.
1488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
1489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
1490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
1491 multiarch modff for PPC64.
1493 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1495 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
1496 and logl multiarch implementations.
1497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
1498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
1499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
1500 multiarch logb for PPC64.
1501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
1502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
1503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
1504 multiarch logb for PPC64.
1505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
1506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
1507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
1508 multiarch logb for PPC64.
1510 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1512 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
1513 isinff multiarch implementation.
1514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
1516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
1517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
1518 multiarch isinf for PPC64.
1519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
1521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
1522 multiarch isinff for PPC64.
1524 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1526 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
1527 finitef multiarch implementation.
1528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
1530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
1531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
1532 multiarch finite for PPC64.
1533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
1535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
1536 multiarch finitef for PPC64.
1538 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1540 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
1541 lrint multiarch implementation.
1542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
1544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
1545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
1546 multiarch llrint for PPC64.
1547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
1548 multiarch lrint for PPC64.
1550 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1552 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
1553 copysignf multiarch implementation.
1554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
1556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
1558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
1559 multiarch copysign for PPC64.
1560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
1561 multiarch copysignf for PPC64.
1563 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1565 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
1566 multiarch implementation.
1567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
1569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
1571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
1573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
1575 multiarch llround for PPC64.
1576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
1577 multiarch trunc for PPC64.
1578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
1579 multiarch truncf for PPC64.
1581 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1583 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
1584 multiarch implementation.
1585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
1587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
1589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
1591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
1593 multiarch llround for PPC64.
1594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
1595 multiarch round for PPC64.
1596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
1597 multiarch roundf for PPC64.
1599 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1601 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
1602 multiarch implementation.
1603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
1605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
1607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
1609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
1611 multiarch llround for PPC64.
1612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
1613 multiarch floor for PPC64.
1614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
1615 multiarch floorf for PPC64.
1617 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1619 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
1620 multiarch implementation.
1621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
1623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
1625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
1627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
1629 multiarch llround for PPC64.
1630 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
1631 multiarch ceil for PPC64.
1632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
1633 multiarch ceilf for PPC64.
1635 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1637 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
1638 multiarch implementation.
1639 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
1641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
1643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
1645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
1646 multiarch llround for PPC64.
1647 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
1648 multiarch lround for PPC64.
1650 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1652 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
1653 multiarch implementation.
1654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
1655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
1656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
1658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
1659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
1660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
1661 multiarch isnan for PPC64.
1662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
1663 multiarch isnanf for PPC64.
1665 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1667 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
1668 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
1669 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
1670 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
1671 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
1672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
1674 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1676 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
1677 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1678 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1679 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1681 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1683 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
1684 multiarch implementations.
1685 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1686 (__libc_ifunc_impl_list): Likewise.
1687 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1688 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
1689 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
1690 multiarch stpcpy for PPC64.
1692 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1694 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
1695 multiarch implementations.
1696 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1697 (__libc_ifunc_impl_list): Likewise.
1698 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
1699 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
1700 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
1701 multiarch strcpy for PPC64.
1703 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1705 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
1706 redefine function name.
1707 (_wordcopy_fwd_dest_aligned): Likewise.
1708 (_wordcopy_bwd_aligned): Likewise.
1709 (_wordcopy_bwd_dest_aligned): Likewise.
1710 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
1711 multiarch implementations.
1712 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1713 (__libc_ifunc_impl_list): Likewise.
1714 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
1715 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
1716 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
1717 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
1718 multiarch wcscpy for PPC64.
1720 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1722 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
1723 multiarch implementations.
1724 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1725 (__libc_ifunc_impl_list): Likewise.
1726 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
1727 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
1728 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
1729 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
1730 multiarch wcscpy for PPC64.
1732 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1734 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
1735 multiarch implementations.
1736 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1737 (__libc_ifunc_impl_list): Likewise.
1738 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
1739 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
1740 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
1741 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
1742 multiarch wcsrchr for PPC64.
1744 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1746 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
1747 multiarch implementations.
1748 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1749 (__libc_ifunc_impl_list): Likewise.
1750 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
1751 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
1752 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
1753 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
1754 multiarch wcschr for PPC64.
1756 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1758 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
1759 multiarch implementations.
1760 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1761 (__libc_ifunc_impl_list): Likewise.
1762 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
1763 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
1764 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1765 multiarch strchrnul for PPC64.
1767 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1769 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1771 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1772 (__libc_ifunc_impl_list): Likewise.
1773 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1774 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1775 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1776 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1779 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1781 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1783 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1784 (__libc_ifunc_impl_list): Likewise.
1785 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1786 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1787 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1788 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1791 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1793 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1794 multiarch implementations.
1795 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1796 (__libc_ifunc_impl_list): Likewise.
1797 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1798 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1799 strncasecmp for PPC64.
1800 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1801 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1802 multiarch strncasecmp_l for PPC64.
1804 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1806 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1807 multiarch implementations.
1808 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1809 (__libc_ifunc_impl_list): Likewise.
1810 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1811 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1812 multiarch strcasecmp for PPC64.
1813 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1815 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1816 multiarch strcasecmp_l for PPC64.
1818 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1820 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1822 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1823 (__libc_ifunc_impl_list): Likewise.
1824 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1825 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1826 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1829 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1831 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1833 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1834 (__libc_ifunc_impl_list): Likewise.
1835 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1836 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1837 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1840 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1842 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1844 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1845 (__libc_ifunc_impl_list): Likewise.
1846 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1847 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1848 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1849 rawmemrchr for PPC64.
1851 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1853 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1855 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1856 (__libc_ifunc_impl_list): Likewise.
1857 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1858 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1859 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1862 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1864 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1866 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1867 (__libc_ifunc_impl_list): Likewise.
1868 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1869 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1870 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1873 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1875 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1877 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1878 (__libc_ifunc_impl_list): Likewise.
1879 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1880 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1881 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1884 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1886 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1887 avoid cretion of __bzero symbol.
1888 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1890 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1892 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1894 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1895 multiarch implementations.
1896 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1897 (__libc_ifunc_impl_list): Likewise.
1898 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1899 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1900 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1901 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1903 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1904 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1905 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1906 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1907 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1909 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1911 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1913 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1914 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1916 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1917 (__libc_ifunc_impl_list): Likewise.
1918 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1919 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1920 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1921 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1924 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1926 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1927 multiarch for POWER/PPC64.
1928 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1929 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1930 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1931 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1932 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1933 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1934 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1935 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1936 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1939 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1941 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1942 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1943 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1944 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1945 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1946 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1947 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1948 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1949 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1950 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1951 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1952 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1953 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1954 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1955 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1964 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1966 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1968 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1970 * benchtests/Makefile (bench): Add exp2 and log2.
1971 (LDLIBS-bench-exp2): Add -lm.
1972 (LDLIBS-bench-log2): Likewise.
1973 * benchtests/exp2-inputs: New inputs file.
1974 * benchtests/log2-inputs: New inputs file.
1975 * benchtests/log-inputs: Add new inputs.
1976 * benchtests/tan-inputs: Likewise.
1978 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1980 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1982 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1983 csloww1, csloww2): ... from here.
1985 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1986 instead of structures.
1987 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1988 (POLYNOMIAL): Likewise.
1989 (TAYLOR_SLOW): Likewise.
1997 (bsloww1): Likewise.
1998 (bsloww2): Likewise.
2001 (csloww1): Likewise.
2002 (csloww2): Likewise.
2004 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
2006 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
2007 (__malloc_assert, __libc_realloc, __libc_calloc,
2008 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
2010 * malloc/hooks.c (realloc_check): Likewise.
2012 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
2014 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
2015 * malloc/arena.c: Remove PER_THREAD conditional.
2016 [!PER_THREAD]: Remove code.
2017 (ptmalloc_unlock_all2): Likewise.
2018 (ptmalloc_init): Likewise.
2019 (_int_new_arena): Likewise.
2020 (arena_get2): Likewise.
2021 * malloc/hooks.c (__malloc_get_state): Likewise.
2022 (__malloc_set_state): Likewise.
2023 * malloc/malloc.c: Likewise.
2024 (struct malloc_state): Likewise.
2025 (struct malloc_par): Likewise.
2026 (__libc_realloc): Likewise.
2027 (__libc_mallopt): Likewise.
2029 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2031 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
2033 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
2035 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
2036 macro to a function. Check for zero perturb_byte.
2037 (_int_malloc, _int_free): Remove zero perturb_byte checks.
2039 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
2041 * malloc/malloc.c: (force_reg): Remove.
2042 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
2043 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
2044 force_reg by atomic_forced_read.
2045 * malloc/arena.c (ptmalloc_init): Likewise.
2046 * malloc/hooks.c (top_check): Likewise.
2048 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2050 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2052 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
2054 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2056 2013-12-08 Joseph Myers <joseph@codesourcery.com>
2058 * math/auto-libm-test-in: Add tests of lgamma.
2059 * math/auto-libm-test-out: Regenerated.
2060 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
2061 (M_LOG_2_SQRT_PIl): Likewise.
2062 (lgamma_test_data): Use AUTO_TESTS_f_f1.
2063 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2065 (func_calc_desc): Add mpfr_f_f1 union field.
2074 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
2075 (test_functions): Add lgamma.
2076 (calc_generic_results): Handle mpfr_f_f1.
2077 * sysdeps/i386/fpu/libm-test-ulps: Update.
2078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2080 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2082 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
2083 __mpn_add_n for PowerPC64/POWER7.
2084 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
2085 __mpn_sub_n for PowerPC64/POWER7.
2087 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2089 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
2090 __mpn_addmul_1 for PowerPC64.
2091 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
2092 __mpn_submul_1 for PowerPC64.
2093 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
2095 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
2098 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
2101 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
2103 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2105 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
2107 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2109 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
2110 add multiarch folders.
2111 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
2112 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
2113 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
2114 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
2115 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
2116 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
2117 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
2118 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
2119 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
2120 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
2121 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
2122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
2123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
2124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
2125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
2126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
2127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
2129 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2132 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
2133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
2135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
2137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
2138 multiarch __ieee754_hypot for PowerPC32.
2139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
2141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
2143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
2144 multiarch __ieee754_hypotf for PowerPC32.
2146 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2148 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
2149 long_double_symbol only if __logbl is defined.
2150 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
2151 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
2152 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
2153 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
2154 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
2155 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
2156 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
2157 path for implementation.
2158 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
2159 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
2160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
2161 logb, and logbl multiarch implementations for PowerPC32.
2162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
2164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
2166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
2167 multiarch logb for PowerPC32.
2168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
2170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
2172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
2173 multiarch logbf for PowerPC32.
2174 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
2175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
2177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
2178 multiarch logbl implementation for PowerPC32.
2180 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
2183 and modff multiarch implementations.
2184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
2186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
2188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
2189 multiarch modf for PowerPC32.
2190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
2192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
2194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
2195 multiarch modff for PowerPC32.
2197 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
2200 and lrintf multiarch implementations.
2201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
2203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
2205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
2206 multiarch lrint for PowerPC32.
2207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
2208 file: multiarch lrintf for PowerPC32.
2210 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
2213 and lroundf multiarch implementations.
2214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
2216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
2218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
2220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
2221 multiarch lround for PowerPC32.
2222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
2223 file: multiarch lroundf for PowerPC32.
2225 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2228 copysign and copysignf multiarch implementations.
2229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
2231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
2233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
2234 file: multiarch copysign for PowerPC32.
2235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
2236 file: multiarch copysignf for PowerPC32.
2238 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
2241 and truncf multiarch implementations.
2242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
2244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
2246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
2247 multiarch trunc for PowerPC32.
2248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
2250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
2252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
2253 multiarch truncf for PowerPC32.
2255 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
2258 and roundf multiarch implementations.
2259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
2261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
2263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
2264 multiarch round for PowerPC32.
2265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
2267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
2269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
2270 multiarch roundf for PowerPC32.
2272 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
2275 and floorf multiarch implementations.
2276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
2278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
2280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
2281 multiarch floor for PowerPC32.
2282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
2284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
2286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
2287 multiarch floorf for PowerPC32.
2289 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
2292 and ceilf multiarch implementations.
2293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
2295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
2297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
2298 multiarch ceil for PowerPC32.
2299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
2301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
2303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
2304 multiarch ceilf for PowerPC32.
2306 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2308 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
2310 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
2312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
2313 and finitef multiarch implementations.
2314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
2316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
2318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
2319 multiarch finite for PowerPC32.
2320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
2322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
2323 file: multiarch finitef for PowerPC32.
2325 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
2328 and isinff multiarch implementations.
2329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
2331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
2333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
2334 multiarch isinf for PowerPC32.
2335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
2337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
2338 multiarch isinff for PowerPC32.
2340 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2342 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
2343 alias when __isnan is defined.
2344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
2345 and isnanf multiarch implementations.
2346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
2348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
2350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
2352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
2354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
2355 multiarch isnan for PowerPC32.
2356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
2358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
2360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
2361 multiarch isnanf for PowerPC32.
2363 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
2366 and sqrtf multiarch implementations.
2367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
2369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
2371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
2372 multiarch sqrt for PowerPC32.
2373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
2375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
2377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
2378 multiarch sqrtf for PowerPC32.
2380 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
2383 and llroundf multiarch implementations.
2384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
2391 file: multiarch llround for PowerPC32.
2392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
2393 file: multiarch llroundf for PowerPC32.
2395 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
2398 multiarch PowerPC32 fpu implementations.
2399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
2401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
2403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
2404 multiarch llrint for PowerPC32.
2405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
2407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
2409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
2412 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
2416 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2418 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
2420 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
2422 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
2424 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
2425 multiarch wordcopy for PPC32.
2426 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2428 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2429 (__libc_ifunc_impl_list): Likewise.
2430 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
2431 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
2432 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
2433 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
2434 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
2435 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
2437 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2439 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
2440 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
2442 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
2444 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
2446 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
2447 multiarch wcscpy for PPC32.
2448 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2450 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2451 (__libc_ifunc_impl_list): Likewise.
2452 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2453 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2454 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
2455 sysdeps/powerpc/power6/wcscpy.c.
2457 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2459 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
2460 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
2462 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
2464 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
2466 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
2467 multiarch wcsrchr for PPC32.
2468 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2470 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2471 (__libc_ifunc_impl_list): Likewise.
2472 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2473 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2474 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
2475 sysdeps/powerpc/power6/wcsrchr.c.
2477 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2479 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
2481 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
2483 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
2484 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
2485 multiarch wcschr for PPc32.
2486 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2488 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2489 (__libc_ifunc_impl_list): Likewise.
2490 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
2491 * sysdeps/powerpc/power6/wcschr.c: ... to here.
2492 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
2493 sysdeps/powerpc/power6/wcschr.c.
2495 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2497 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
2498 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
2500 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
2501 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
2502 file: multiarch strchr for PPC32.
2503 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
2505 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2506 (__libc_ifunc_impl_list): Likewise.
2508 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2510 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
2512 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
2514 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
2516 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
2517 multiarch strchrnul for PPC32.
2518 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
2520 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2521 (__libc_ifunc_impl_list): Likewise.
2523 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2525 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
2527 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
2528 multiarch strncasecmp for PPC32.
2529 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
2531 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
2532 multiarch strncasecmp_l for PPC32.
2533 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
2534 strncasecmp multiarch objects.
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/strcasecmp-power7.S: New
2542 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
2543 multiarch strncasecmp for PPC32.
2544 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2546 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
2547 multiarch strcasecmp_l for PPC32.
2548 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
2550 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2551 (__libc_ifunc_impl_list): Likewise.
2553 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2555 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
2557 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
2559 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
2560 multiarch strncmp for PPC32.
2561 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
2563 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2564 (__libc_ifunc_impl_list): Likewise.
2566 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2568 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
2569 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
2571 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
2572 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
2573 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
2575 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2576 (__libc_ifunc_impl_list): Likewise.
2578 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2580 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
2582 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
2584 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
2585 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
2587 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2588 (__libc_ifunc_impl_list): Likewise.
2590 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2592 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
2594 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
2596 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
2597 multiarch rawmemchr for PPC32.
2598 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
2600 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2601 (__libc_ifunc_impl_list): Likewise.
2603 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2605 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
2607 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
2609 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
2610 file: memrchr multiarch for PPC32.
2611 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
2613 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2614 (__libc_ifunc_impl_list): Likewise.
2616 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2618 * string/memchr.c (__memchr): Using macro to redefine symbol name.
2619 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
2621 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
2622 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
2623 multiarch memchr for PPC32.
2624 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
2626 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2627 (__libc_ifunc_impl_list): Likewise.
2629 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2631 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
2632 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
2634 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
2636 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
2637 file: multiarch mempcpy for PPC32.
2638 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
2640 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2641 (__libc_ifunc_impl_list): Likewise.
2643 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2645 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
2646 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
2647 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
2648 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
2649 multiarch bzero for PPC32.
2650 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
2652 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
2654 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
2655 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
2656 file: multiarch memset for PPC32.
2657 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
2658 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
2659 memset multiarch objects.
2660 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2661 (__libc_ifunc_impl_list): Likewise.
2663 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2665 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
2667 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
2668 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
2670 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
2671 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
2673 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2674 (__libc_ifunc_impl_list): Likewise.
2676 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2678 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
2679 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
2680 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
2682 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
2684 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
2686 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
2687 multiarch memcpy for PPC32.
2688 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
2690 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2691 (__libc_ifunc_impl_list): Likewise.
2693 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2695 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
2696 support multiarch for POWER/PPC32.
2697 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2699 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
2701 Implies file to make multiarch folder appers before the fpu and
2702 default folder for power4 configuration.
2704 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2706 * scripts/bench.pl: Append volatile keyword to type.
2708 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2710 * sysdeps/sh/sotruss-lib.c: New file.
2711 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
2713 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2715 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2717 2013-12-05 Joseph Myers <joseph@codesourcery.com>
2720 * math/w_tgamma.c: Include <errno.h>.
2721 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
2722 * math/w_tgammaf.c: Include <errno.h>.
2723 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
2724 * math/w_tgammal.c: Include <errno.h>.
2725 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
2726 * math/auto-libm-test-in: Do not allow missing errno on tgamma
2727 underflow. Add more tgamma tests.
2728 * math/auto-libm-test-out: Regenerated.
2729 * sysdeps/i386/fpu/libm-test-ulps: Update.
2730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2732 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
2733 sin, sinh, tan, tanh, tgamma, y0 and y1.
2734 * math/auto-libm-test-out: Regenerated.
2735 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2736 (TEST_COND_x86): Likewise.
2737 (M_E2l): Remove macro.
2739 (M_2_SQRT_PIl): Likewise.
2740 (M_SQRT_PIl): Likewise.
2741 (M_1_DIV_El): Likewise.
2742 (log_test_data): Use AUTO_TESTS_f_f.
2743 (log10_test_data): Likewise.
2744 (log1p_test_data): Likewise.
2745 (log2_test_data): Likewise.
2746 (sin_test_data): Likewise.
2747 (sin_tonearest_test_data): Likewise.
2748 (sin_towardzero_test_data): Likewise.
2749 (sin_downward_test_data): Likewise.
2750 (sin_upward_test_data): Likewise.
2751 (sinh_test_data): Likewise.
2752 (sinh_tonearest_test_data): Likewise.
2753 (sinh_towardzero_test_data): Likewise.
2754 (sinh_downward_test_data): Likewise.
2755 (sinh_upward_test_data): Likewise.
2756 (tan_test_data): Likewise.
2757 (tan_tonearest_test_data): Likewise.
2758 (tan_towardzero_test_data): Likewise.
2759 (tan_downward_test_data): Likewise.
2760 (tan_upward_test_data): Likewise.
2761 (tanh_test_data): Likewise.
2762 (tgamma_test_data): Likewise.
2763 (y0_test_data): Likewise.
2764 (y1_test_data): Likewise.
2765 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2766 (special_real_inputs): Add pi/4.
2767 * sysdeps/i386/fpu/libm-test-ulps: Update.
2768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2770 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2772 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2773 "longjmp_target" static probes.
2774 (__longjmp): Rename to __longjmp_symbol.
2775 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2776 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2777 on which longjmp to generate.
2778 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2779 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2781 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2782 (__sigjmp_save): Rename to __sigjmp_save_symbol.
2783 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2784 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2785 and __sigjmp_save_symbol based on which sigsetjmp to generated.
2786 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2788 __longjmp_symbol based on which __longjmp to generate.
2789 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2791 (setjmp): Rename to setjmp_symbol.
2792 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2793 (_setjmp): Rename to _setjmp_symbol.
2794 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2795 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2796 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2797 which setjmp to generate.
2798 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2799 "longjmp_target" static probes.
2801 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2803 * benchtests/README: Add note about output arguments.
2804 * benchtests/bench-sincos.c: Remove file.
2805 * benchtests/sincos-inputs: New file.
2806 * scripts/bench.pl: Identify output arguments and define
2807 static variables for them.
2809 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2812 * Makefile (INSTALL): Add install-plain.texi as the primary
2814 * manual/install-plain.texi: New file.
2815 * manual/install.texi: Include node directive only for
2816 non-plaintext output.
2818 2013-12-04 Joseph Myers <joseph@codesourcery.com>
2820 * stdlib/longlong.h: Update from GCC.
2824 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2825 * math/w_j0f.c (y0f): Likewise.
2826 * math/w_j0l.c (__y0l): Likewise.
2827 * math/w_j1.c (y1): Likewise.
2828 * math/w_j1f.c (y1f): Likewise.
2829 * math/w_j1l.c (__y1l): Likewise
2830 * math/w_jn.c (yn): Likewise.
2831 * math/w_jnf.c (ynf): Likewise.
2832 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2833 Bessel function pole errors in _POSIX_ mode. Use NAN as return
2834 value for Bessel function domain errors outside _SVID_ mode.
2835 Adjust sign of return value for yn (negative integer, 0).
2836 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2837 by zero in return for negative x and set sign appropriately for
2839 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2840 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2841 * math/libm-test.inc (y0_test_data): Add more tests and adjust
2842 expectations in error cases.
2843 (y1_test_data): Likewise.
2844 (yn_test_data): Likewise.
2845 * sysdeps/i386/fpu/libm-test-ulps: Update.
2846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2848 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2850 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2851 "64" to "64-v1". Add "64-v2".
2852 (abi-64-options): Rename to ...
2853 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
2854 (abi-64-condition): Rename to ...
2855 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
2856 (abi-64-ld-soname): Rename to ...
2857 (abi-64-v1-ld-soname): ... this.
2858 (abi-64-v2-options): Define.
2859 (abi-64-v2-condition): Likewise.
2860 (abi-64-v2-ld-soname): Likewise.
2861 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2862 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2867 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2868 Alan Modra <amodra@gmail.com>
2870 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2871 New versions for use with the ELFv2 ABI.
2872 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2873 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2875 (struct La_ppc64v2_retval): Likewise.
2876 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2877 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2878 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2879 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2880 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2881 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2882 Do not save or restore CR.
2883 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2884 (_dl_profile_resolve): Do no save or restore CR. Support extended
2885 return values for ELFv2 ABI. Fix location of FPR return registers.
2886 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2887 updated values for _CALL_ELF == 2.
2888 (La_regs, La_retval, int_retval): Likewise.
2890 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2892 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2893 (FRAME_MIN_SIZE_PARM): Likewise.
2894 (FRAME_BACKCHAIN): Likewise.
2895 (FRAME_CR_SAVE): Likewise.
2896 (FRAME_LR_SAVE): Likewise.
2897 (FRAME_TOC_SAVE): Likewise.
2898 (FRAME_PARM_SAVE): Likewise.
2899 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2900 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2901 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2902 (call_mcount_parm_offset): New macro.
2903 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2904 (PROF): Use symbolic stack frame offsets.
2905 (TAIL_CALL_SYSCALL_ERROR): Likewise.
2906 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2907 Redefine in terms of FRAME_MIN_SIZE.
2908 (_dl_runtime_resolve): Use symbolic stack frame offsets.
2909 (_dl_profile_resolve): Likewise. Update comment.
2910 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2911 symbols stack frame offsets.
2912 (__sigsetjmp): Likewise.
2913 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2914 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2915 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2916 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2919 (FRAME_BACKCHAIN): Remove.
2920 (FRAME_CR_SAVE): Likewise.
2921 (FRAME_LR_SAVE): Likewise.
2922 (FRAME_COMPILER_DW): Likewise.
2923 (FRAME_LINKER_DW): Likewise.
2924 (FRAME_TOC_SAVE): Likewise.
2925 (FRAME_PARM_SAVE): Likewise.
2926 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2927 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2928 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2930 (CHECK_SP): Use symbolic stack frame offsets.
2931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2932 zone" instead of caller's parameter save area for temp storage.
2933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2934 Likewise. Also, use symbolic stack frame offsets.
2935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2936 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2937 our own stack frame instead of the caller's.
2938 (__socket): Use symbolic stack frame offsets.
2940 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2941 Alan Modra <amodra@gmail.com>
2943 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2945 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2946 PPC64_LOCAL_ENTRY_OFFSET): Define.
2947 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2949 (elf_machine_fixup_plt): Call it.
2950 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
2952 (elf_machine_rela): Update call to elf_machine_plt_conflict.
2953 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2954 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
2955 r2 before calling target.
2957 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2958 Alan Modra <amodra@gmail.com>
2960 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2961 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2962 versions of macros to support ELFv2 ABI.
2963 (LOCALENTRY): New macro.
2964 (ENTRY, EALIGN): Use it.
2965 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2966 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2967 fall through into ENTRY entry point.
2968 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2969 Only define if _CALL_ELF != 2.
2971 (elf_machine_matches_host): Verify ABI version matches.
2972 (RTLD_START): Use LOCALENTRY.
2973 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2974 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2975 (PLT_ENTRY_WORDS): New macro.
2976 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2977 (elf_machine_runtime_setup): Support ELFv2 ABI.
2978 (elf_machine_fixup_plt): Likewise.
2979 (elf_machine_plt_conflict): Likewise.
2980 (resolve_ifunc): Likewise.
2981 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2982 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2985 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2987 (makecontext): Support ELFv2 ABI.
2988 * elf/elf.h (EF_PPC64_ABI): Define.
2990 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2992 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2993 New assembler macro.
2994 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2995 [ASSEMBLER] (ENTRY): ... but instead here ...
2996 [ASSEMBLER] (EALIGN): ... and here.
2997 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2998 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2999 [!ASSEMBLER] (ENTRY_2): Use it.
3000 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
3001 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
3002 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
3003 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
3004 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
3005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
3006 Use PPC64_LOAD_FUNCPTR.
3008 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3010 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
3012 2013-12-04 Alan Modra <amodra@gmail.com>
3014 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
3015 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
3016 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
3017 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
3019 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
3020 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
3021 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
3022 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
3023 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
3024 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
3026 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3029 (__makecontext): Fix incorrect CFI when backtracing out of
3030 context created via makecontext.
3031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
3032 (__setcontext): Fix incorrect CFI during switch to new context.
3033 (__novec_setcontext): Likewise.
3035 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
3038 * time/strptime_l.c (__strptime_internal): Allow modifiers
3040 * time/tst-strptime.c (day_tests): Add testcase.
3043 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3045 * scripts/bench.pl: Skip over blank lines.
3047 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
3050 * manual/time.texi (Calendar Time): Clarify what timezone functions
3053 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3055 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3057 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
3059 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
3061 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
3062 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
3063 * debug/memset_chk.c (__memset_chk): Likewise.
3064 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
3065 * debug/strncpy_chk.c: Likewise.
3067 2013-12-03 Joseph Myers <joseph@codesourcery.com>
3071 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
3072 (__ieee754_exp): For possibly underflowing results, check size of
3073 result and force underflow exception if required.
3074 * math/auto-libm-test-in: Add more tests of exp.
3075 * math/auto-libm-test-out: Regenerated.
3076 * sysdeps/i386/fpu/libm-test-ulps: Update.
3077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3080 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
3081 * math/w_exp2f.c (__exp2f): Likewise.
3082 * math/w_exp2l.c (__exp2l): Likewise.
3083 * math/auto-libm-test-in: Do not allow missing errno on exp2
3085 * math/auto-libm-test-out: Regenerated.
3087 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
3090 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
3091 handle filename validation.
3092 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
3095 2013-12-03 Joseph Myers <joseph@codesourcery.com>
3098 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
3099 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
3100 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
3102 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
3103 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
3104 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3105 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
3106 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3107 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
3108 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3109 * math/auto-libm-test-in: Don't allow missing errno from erfc.
3110 Add more erfc tests.
3111 * math/auto-libm-test-out: Regenerated.
3112 * sysdeps/i386/fpu/libm-test-ulps: Update.
3113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3115 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
3116 exp2, expm1, j0 and j1.
3117 * math/auto-libm-test-out: Regenerated.
3118 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
3119 (erfc_test_data): Likewise.
3120 (exp_test_data): Likewise.
3121 (exp_tonearest_test_data): Likewise.
3122 (exp_towardzero_test_data): Likewise.
3123 (exp_downward_test_data): Likewise.
3124 (exp_upward_test_data): Likewise.
3125 (exp10_test_data): Likewise.
3126 (exp2_test_data): Likewise.
3127 (expm1_test_data): Likewise.
3128 (j0_test_data): Likewise.
3129 (j1_test_data): Likewise.
3130 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
3131 (input_flag_type): Add flag_xfail_rounding.
3132 (input_flags): Add xfail-rounding.
3133 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
3134 (output_for_one_input_case): Handle flag_xfail_rounding.
3135 * sysdeps/i386/fpu/libm-test-ulps: Update.
3136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3138 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
3141 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
3144 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3147 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
3148 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
3149 (STAP_PROBE0): New macro.
3150 (STAP_PROBE1): Likewise.
3151 (STAP_PROBE2): Likewise.
3152 (STAP_PROBE3): Likewise.
3153 (STAP_PROBE4): Likewise.
3155 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
3157 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
3159 2013-12-02 Steve Ellcey <sellcey@mips.com>
3161 * benchtests/Makefile (bench): Add sqrt.
3162 (LDLIBS-bench-sqrt): New.
3163 * benchtests/sqrt-input: New.
3165 2013-12-02 Pavel Simerda <psimerda@redhat.com>
3167 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
3168 (GAIH_EAI): Likewise.
3169 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
3170 (gaih_inet): Likewise.
3171 (getaddrinfo): Don't use GAIH_EAI.
3173 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
3174 (struct gaih): Remove definition.
3176 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3178 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
3179 Use HERRNOP directly.
3181 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3183 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3185 2013-11-30 Joseph Myers <joseph@codesourcery.com>
3187 * math/gen-auto-libm-tests.c (test_functions): Add more
3188 single-argument functions.
3189 (special_fill_pi_2): New function.
3190 (special_fill_minus_pi_2): Likewise.
3191 (special_fill_pi_6): Likewise.
3192 (special_fill_minus_pi_6): Likewise.
3193 (special_fill_pi_3): Likewise.
3194 (special_fill_2pi_3): Likewise.
3195 (special_fill_e): Likewise.
3196 (special_fill_1_e): Likewise.
3197 (special_fill_e_minus_1): Likewise.
3198 (special_real_inputs): Add more special inputs.
3199 (output_for_one_input_case): Do not require ERANGE on underflow to
3200 zero if round-to-nearest result does not underflow to zero, unless
3201 exact results required.
3202 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
3203 atan, atanh, cbrt, cos and cosh.
3204 * math/auto-libm-test-out: Regenerated.
3205 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
3206 (acos_tonearest_test_data): Likewise.
3207 (acos_towardzero_test_data): Likewise.
3208 (acos_downward_test_data): Likewise.
3209 (acos_upward_test_data): Likewise.
3210 (acosh_test_data): Likewise.
3211 (asin_test_data): Likewise.
3212 (asin_tonearest_test_data): Likewise.
3213 (asin_towardzero_test_data): Likewise.
3214 (asin_upward_test_data): Likewise.
3215 (asinh_test_data): Likewise.
3216 (atan_test_data): Likewise.
3217 (atanh_test_data): Likewise.
3218 (cbrt_test_data): Likewise.
3219 (cos_test_data): Likewise.
3220 (cos_tonearest_test_data): Likewise.
3221 (cos_towardzero_test_data): Likewise.
3222 (cos_downward_test_data): Likewise.
3223 (cos_upward_test_data): Likewise.
3224 (cosh_test_data): Likewise.
3225 (cosh_tonearest_test_data): Likewise.
3226 (cosh_towardzero_test_data): Likewise.
3227 (cosh_downward_test_data): Likewise.
3228 (cosh_upward_test_data): Likewise.
3229 * sysdeps/i386/fpu/libm-test-ulps: Update.
3230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3232 2013-11-29 Joseph Myers <joseph@codesourcery.com>
3235 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
3236 * math/w_exp10f.c (__exp10f): Likewise.
3237 * math/w_exp10l.c (__exp10l): Likewise.
3238 * math/libm-test.inc (exp10_test_data): Add more tests and expect
3239 errno settings in existing tests.
3242 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
3243 precision control set to double precision.
3244 * sysdeps/i386/fpu/w_sqrt.c: New file.
3245 * math/auto-libm-test-in: Add more tests.
3246 * math/auto-libm-test-out: Update.
3248 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
3249 (sqrt_test_tonearest): New function.
3250 (sqrt_towardzero_test_data): New variable.
3251 (sqrt_test_towardzero): New function.
3252 (sqrt_downward_test_data): New variable.
3253 (sqrt_test_downward): New function.
3254 (sqrt_upward_test_data): New variable.
3255 (sqrt_test_upward): New function.
3256 (main): Call the new functions.
3258 * math/gen-auto-libm-tests.c: New file.
3259 * math/auto-libm-test-in: Likewise.
3260 * math/auto-libm-test-out: New generated file.
3261 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
3263 (%beautify): Add generated representations of zero.
3264 (top level): Set $auto_input and call parse_auto_input.
3265 (beautify): Remove trailing "f" from hex float constants.
3266 (parse_args): Handle XFAIL_TEST.
3267 (convert_condition): New function.
3268 (or_value): Likewise.
3269 (or_cond_value): Likewise.
3270 (generate_testfile): Handle AUTO_TESTS_* lines.
3271 (parse_auto_input): New function.
3272 * math/libm-test.inc (XFAIL_TEST): New macro.
3273 (ERRNO_UNCHANGED): Update value.
3274 (ERRNO_EDOM): Likewise.
3275 (ERRNO_ERANGE): Likewise.
3276 (IGNORE_RESULT): Likewise.
3277 (TEST_COND_flt_32): New macro.
3278 (TEST_COND_dbl_64): Likewise.
3279 (TEST_COND_ldbl_96_intel): Likewise.
3280 (TEST_COND_ldbl_96_m68k): Likewise.
3281 (TEST_COND_ldbl_128): Likewise.
3282 (TEST_COND_ldbl_128ibm): Likewise.
3283 (TEST_COND_long32): Likewise.
3284 (TEST_COND_long64): Likewise.
3285 (TEST_COND_before_rounding): Likewise.
3286 (TEST_COND_after_rounding): Likewise.
3287 (enable_test): Handle XFAIL_TEST flag.
3288 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
3289 with finite results.
3290 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
3293 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3294 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3297 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
3298 __tls_get_addr_internal instead of __tls_get_offset in order to
3299 avoid GOT pointer dependency. Make rtld export
3300 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
3301 __tls_get_addr since we are a __tls_get_offset platform.
3302 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
3303 GOT pointer being set up before.
3304 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
3306 2013-11-28 Joseph Myers <joseph@codesourcery.com>
3308 * manual/math.texi (Errors in Math Functions): Document accuracy
3312 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
3313 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
3314 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3315 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3316 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3317 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3318 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3319 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3320 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3321 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3322 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3323 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3324 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3325 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3326 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3327 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3329 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
3330 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
3331 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
3332 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
3333 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
3335 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
3337 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
3339 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
3340 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
3341 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
3342 atomic-feupdateenv and flt-rounds.
3343 * sysdeps/powerpc/nofpu/Versions (libc): Add
3344 __atomic_feholdexcept, __atomic_feclearexcept,
3345 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
3346 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
3347 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
3348 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
3349 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
3351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3354 * manual/arith.texi (FP Exceptions): Document that exceptions may
3355 not be raised when matherr is used.
3356 (Math Error Reporting): Document overflow in directed rounding
3357 modes. Document that errno may not be set when finite values are
3358 returned on overflow. Document intent to set errno on underflow
3359 only for underflow to zero.
3362 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
3363 round-to-nearest then adjust result for other rounding modes.
3364 * include/fenv.h (fegetround): Use libm_hidden_proto.
3365 * math/fegetround.c (fegetround): Use libm_hidden_def.
3366 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3367 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3368 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3369 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3371 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
3372 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3373 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3374 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
3376 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3379 * nss/Versions (libnss_files): Add
3380 _nss_files_gethostbyname3_r.
3381 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
3383 (HOST_DB_LOOKUP): Remove macro.
3384 (_nss_files_gethostbyname_r): Implement function without the
3385 HOST_DB_LOOKUP macro.
3386 (_nss_files_gethostbyname2_r): Likewise.
3388 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
3390 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
3392 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
3394 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
3395 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
3398 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3400 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
3401 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
3402 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3403 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3404 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
3405 __fe_nomask_env_priv and attribute_hidden.
3406 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
3407 (libc_feupdateenv_test_ppc): Likewise.
3408 (libc_feresetround_ppc): Likewise.
3409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3410 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
3411 compat_symbol macro.
3412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3413 (__fe_nomask_env): Likewise.
3414 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
3416 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3418 * string/Makefile: Remove ifunc tests.
3419 * string/test-string.h: Define TEST_IFUNC.
3420 * string/test-bcopy-ifunc.c: Remove.
3421 * string/test-bzero-ifunc.c: Likewise.
3422 * string/test-memccpy-ifunc.c: Likewise.
3423 * string/test-memchr-ifunc.c: Likewise.
3424 * string/test-memcmp-ifunc.c: Likewise.
3425 * string/test-memcpy-ifunc.c: Likewise.
3426 * string/test-memmem-ifunc.c: Likewise.
3427 * string/test-memmove-ifunc.c: Likewise.
3428 * string/test-mempcpy-ifunc.c: Likewise.
3429 * string/test-memrchr-ifunc.c: Likewise.
3430 * string/test-memset-ifunc.c: Likewise.
3431 * string/test-rawmemchr-ifunc.c: Likewise.
3432 * string/test-stpcpy-ifunc.c: Likewise.
3433 * string/test-stpncpy-ifunc.c: Likewise.
3434 * string/test-strcasecmp-ifunc.c: Likewise.
3435 * string/test-strcasestr-ifunc.c: Likewise.
3436 * string/test-strcat-ifunc.c: Likewise.
3437 * string/test-strchr-ifunc.c: Likewise.
3438 * string/test-strchrnul-ifunc.c: Likewise.
3439 * string/test-strcmp-ifunc.c: Likewise.
3440 * string/test-strcpy-ifunc.c: Likewise.
3441 * string/test-strcspn-ifunc.c: Likewise.
3442 * string/test-strlen-ifunc.c: Likewise.
3443 * string/test-strncasecmp-ifunc.c: Likewise.
3444 * string/test-strncat-ifunc.c: Likewise.
3445 * string/test-strncmp-ifunc.c: Likewise.
3446 * string/test-strncpy-ifunc.c: Likewise.
3447 * string/test-strnlen-ifunc.c: Likewise.
3448 * string/test-strpbrk-ifunc.c: Likewise.
3449 * string/test-strrchr-ifunc.c: Likewise.
3450 * string/test-strspn-ifunc.c: Likewise.
3451 * string/test-strstr-ifunc.c: Likewise.
3453 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3455 * benchtests/Makefile: Remove ifunc tests.
3456 * benchtests/bench-string.h: Define TEST_IFUNC.
3457 * benchtests/bench-bcopy-ifunc.c: Remove.
3458 * benchtests/bench-bzero-ifunc.c: Likewise.
3459 * benchtests/bench-memccpy-ifunc.c: Likewise.
3460 * benchtests/bench-memchr-ifunc.c: Likewise.
3461 * benchtests/bench-memcmp-ifunc.c: Likewise.
3462 * benchtests/bench-memcpy-ifunc.c: Likewise.
3463 * benchtests/bench-memmem-ifunc.c: Likewise.
3464 * benchtests/bench-memmove-ifunc.c: Likewise.
3465 * benchtests/bench-mempcpy-ifunc.c: Likewise.
3466 * benchtests/bench-memrchr-ifunc.c: Likewise.
3467 * benchtests/bench-memset-ifunc.c: Likewise.
3468 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
3469 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
3470 * benchtests/bench-stpcpy-ifunc.c: Likewise.
3471 * benchtests/bench-stpncpy-ifunc.c: Likewise.
3472 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
3473 * benchtests/bench-strcasestr-ifunc.c: Likewise.
3474 * benchtests/bench-strcat-ifunc.c: Likewise.
3475 * benchtests/bench-strchr-ifunc.c: Likewise.
3476 * benchtests/bench-strchrnul-ifunc.c: Likewise.
3477 * benchtests/bench-strcmp-ifunc.c: Likewise.
3478 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
3479 * benchtests/bench-strcpy-ifunc.c: Likewise.
3480 * benchtests/bench-strcspn-ifunc.c: Likewise.
3481 * benchtests/bench-strlen-ifunc.c: Likewise.
3482 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
3483 * benchtests/bench-strncat-ifunc.c: Likewise.
3484 * benchtests/bench-strncmp-ifunc.c: Likewise.
3485 * benchtests/bench-strncpy-ifunc.c: Likewise.
3486 * benchtests/bench-strnlen-ifunc.c: Likewise.
3487 * benchtests/bench-strpbrk-ifunc.c: Likewise.
3488 * benchtests/bench-strrchr-ifunc.c: Likewise.
3489 * benchtests/bench-strsep-ifunc.c: Likewise.
3490 * benchtests/bench-strspn-ifunc.c: Likewise.
3491 * benchtests/bench-strstr-ifunc.c: Likewise.
3493 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3495 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
3497 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3499 * resolv/netdb.h: Use __glibc_reserved instead __unused.
3500 * rt/aio.h: Likewise.
3501 * sysdeps/gnu/bits/utmp.h: Likewise.
3502 * sysdeps/gnu/bits/utmpx.h: Likewise.
3503 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3504 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
3505 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
3506 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
3507 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
3508 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
3509 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
3510 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
3511 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
3512 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
3513 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
3514 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
3515 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
3516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
3517 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3518 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
3519 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
3520 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
3521 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
3522 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
3523 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
3524 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
3525 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
3526 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3527 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
3528 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3529 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
3530 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
3531 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
3532 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
3533 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
3534 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
3535 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
3536 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3537 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
3538 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
3539 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
3540 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
3541 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
3542 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
3543 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3544 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3546 2013-11-25 Carlos O'Donell <carlos@redhat.com>
3549 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
3550 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
3552 2013-11-25 Joseph Myers <joseph@codesourcery.com>
3554 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
3555 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3558 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3560 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
3561 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
3562 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
3563 (__fesetround): Remove define.
3564 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
3565 rounding and exceptions handling.
3566 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
3567 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
3568 (__fe_nomask_env): Likewise.
3569 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
3570 __fegetround instead of fegetround.
3571 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3572 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3574 2013-11-21 Roland McGrath <roland@hack.frob.com>
3576 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
3579 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
3581 2013-11-21 Meador Inge <meadori@codesourcery.com>
3584 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
3585 (encrypt_r): Likewise.
3586 * malloc/obstack.h (obstack_free): Likewise.
3587 * posix/unistd.h (encrypt): Likewise.
3589 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
3591 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
3592 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
3593 DL_CALL_DT_FINI() that call the functions directly.
3594 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
3595 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
3596 * elf/dl-fini.c: Likewise.
3598 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
3600 * malloc/hooks.c (memalign_check): Add alignment rounding.
3601 * malloc/malloc.c (_mid_memalign): New function.
3602 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
3603 Implement by calling _mid_memalign.
3604 * manual/probes.texi (Memory Allocation Probes): Remove
3605 memory_valloc_retry and memory_pvalloc_retry.
3607 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3609 * locale/programs/locarchive.c (open_archive): Add const
3610 qualifier to ARCHIVEFNAME and copy default fname to
3614 * libio/tst-widetext.input: Rename Oriya to Odia.
3615 * locale/iso-639.def: Likewise.
3617 * manual/probes.texi (Mathematical Function Probes): Add
3618 documentation for sin, cos, asin and acos probes.
3619 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
3620 (__sin32): Add slowasin probe.
3621 (__cos32): Add slowacos probe.
3622 (__mpsin): Add slowsin probe.
3623 (__mpcos): Add slowcos probe.
3625 2013-11-19 Joseph Myers <joseph@codesourcery.com>
3628 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
3629 thread-local __sim_exceptions_thread and global
3630 __sim_exceptions_global.
3631 (__sim_disabled_exceptions): Change to thread-local
3632 __sim_disabled_exceptions_thread and global
3633 __sim_disabled_exceptions_global.
3634 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3635 and global __sim_round_mode_global.
3636 (__simulate_exceptions): Use thread-local floating-point state and
3637 set global state from it as needed.
3638 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
3639 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
3640 __sim_round_mode_thread.
3641 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
3642 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
3643 and global __sim_exceptions_global.
3644 (__sim_disabled_exceptions): Change to thread-local
3645 __sim_disabled_exceptions_thread and global
3646 __sim_disabled_exceptions_global.
3647 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3648 and global __sim_round_mode_global.
3649 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
3650 (SIM_SET_GLOBAL): Likewise.
3651 * sysdeps/powerpc/soft-fp/sfp-machine.h
3652 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
3653 __sim_round_mode_thread.
3654 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
3655 __sim_disabled_exceptions_thread.
3656 (__sim_exceptions): Change to __sim_exceptions_thread.
3657 (__sim_disabled_exceptions): Change to
3658 __sim_disabled_exceptions_thread.
3659 (__sim_round_mode): Change to __sim_round_mode_thread.
3660 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
3661 thread-local floating-point state and set global state from it as
3663 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
3664 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
3665 (__sim_disabled_exceptions): Remove extern declaration.
3666 (feenableexcept): Use thread-local floating-point state and set
3667 global state from it as needed.
3668 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
3670 (__sim_disabled_exceptions): Likewise.
3671 (__sim_round_mode): Likewise.
3672 (__fegetenv): Use thread-local floating-point state.
3673 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
3674 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3675 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
3676 floating-point state and set global state from it as needed.
3677 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
3678 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3679 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
3681 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3682 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
3684 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
3685 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
3686 Use __sim_round_mode_thread.
3687 * math/test-fenv-tls.c: New file.
3688 * math/Makefile (tests): Add test-fenv-tls.
3689 ($(objpfx)test-fenv-tls): Depend on
3690 $(common-objpfx)nptl/libpthread.so.
3692 2013-11-19 Andreas Schwab <schwab@suse.de>
3694 * locale/programs/locale.c (show_info): Decode wordarray elements.
3695 * locale/categories.def (LC_MONETARY): Add element for
3696 _NL_MONETARY_CRNCYSTR.
3697 * locale/C-monetary.c (conversion_rate): New variable.
3698 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
3701 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
3703 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
3704 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
3706 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
3708 * elf/Makefile (tst-auxv): New test.
3709 * elf/tst-auxv.c: New
3710 * elf/rtld.c (dl_main): Adjust AT_EXECFN
3712 2013-11-18 Joseph Myers <joseph@codesourcery.com>
3714 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
3715 (hidden_proto): Caller changed.
3716 (hidden_tls_proto): New macro.
3717 (libc_hidden_tls_proto): Likewise.
3718 (rtld_hidden_tls_proto): Likewise.
3719 (libm_hidden_tls_proto): Likewise.
3720 (libresolv_hidden_tls_proto): Likewise.
3721 (librt_hidden_tls_proto): Likewise.
3722 (libdl_hidden_tls_proto): Likewise.
3723 (libnss_files_hidden_tls_proto): Likewise.
3724 (libnsl_hidden_tls_proto): Likewise.
3725 (libnss_nisplus_hidden_tls_proto): Likewise.
3726 (libutil_hidden_tls_proto): Likewise.
3728 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
3731 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
3732 (decompose_rpath): Defer expansion to fillin_rpath.
3733 (_dl_init_paths): Pass linkmap to fillin_rpath.
3735 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3737 * benchtests/Makefile: Add strsep.
3738 * benchtests/bench-strsep.c: New file: strsep benchtest.
3739 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
3741 2013-11-18 Andreas Schwab <schwab@suse.de>
3743 * locale/programs/locale.c (show_info) [case byte]: Check for
3744 '\377' instead of '\177'.
3745 * locale/C-monetary.c (not_available): Always use "\377".
3746 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
3747 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
3748 detect unavailable sign_posn locale elements.
3749 * locale/localeconv.c (__localeconv): For grouping and
3750 mon_grouping handle "\177" and "\377" like no grouping.
3751 (INT_ELEM): New macro. Use it to set all numeric members.
3752 * locale/programs/ld-monetary.c (monetary_read)
3753 <tok_mon_grouping>: Normalize single -1 to the empty string.
3754 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
3757 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
3760 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
3761 when we match (nil).
3762 * stdio-common/tst-sscanf.c (struct test): Add testcase.
3764 2013-11-16 Joseph Myers <joseph@codesourcery.com>
3766 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3767 (NO_TEST_INLINE): Update value.
3768 (ERRNO_UNCHANGED): Likewise.
3769 (ERRNO_EDOM): Likewise.
3770 (ERRNO_ERANGE): Likewise.
3771 (IGNORE_RESULT): Likewise.
3772 (check_float_internal): Check signs of NaN results if
3774 (check_complex): Pass TEST_NAN_SIGN flag through to second
3775 check_float_internal call.
3776 (copysign_test_data): Add tests with quiet NaNs as second
3777 argument. Use TEST_NAN_SIGN.
3778 (fabs_test_data): Add test of negative quiet NaN argument. Use
3780 (signbit_test_data): Add tests of quiet NaN argument.
3781 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3783 * math/gen-libm-test.pl (show_exceptions): Take extra argument
3785 (parse_args): Handle function results specified as IGNORE.
3786 * math/libm-test.inc (IGNORE_RESULT): New macro.
3787 (check_float_internal): Do not check numerical result if flag
3789 (check_complex): Pass through IGNORE_RESULT to second
3790 check_float_internal call.
3791 (check_int): Do not check numerical result if flag IGNORE_RESULT
3793 (check_long): Likewise.
3794 (check_bool): Likewise.
3795 (check_longlong): Likewise.
3796 (lrint_test_data): Add tests of infinite and NaN arguments.
3797 (lrint_tonearest_test_data): Likewise.
3798 (lrint_towardzero_test_data): Likewise.
3799 (lrint_downward_test_data): Likewise.
3800 (lrint_upward_test_data): Likewise.
3801 (llrint_test_data): Likewise.
3802 (llrint_tonearest_test_data): Likewise.
3803 (llrint_towardzero_test_data): Likewise.
3804 (llrint_downward_test_data): Likewise.
3805 (llrint_upward_test_data): Likewise.
3806 (lround_test_data): Likewise.
3807 (llround_test_data): Likewise.
3809 * math/libm-test.inc (NO_TEST_INLINE): New macro.
3810 (ERRNO_UNCHANGED): Update value.
3811 (ERRNO_EDOM): Likewise.
3812 (ERRNO_ERANGE): Likewise.
3813 (NO_TEST_INLINE_FLOAT): New macro.
3814 (NO_TEST_INLINE_DOUBLE): Likewise.
3815 (enable_test): New function.
3816 (RUN_TEST_f_f): Check enable_test before running test.
3817 (RUN_TEST_2_f): Likewise.
3818 (RUN_TEST_fff_f): Likewise.
3819 (RUN_TEST_c_f): Likewise.
3820 (RUN_TEST_f_f1): Likewise.
3821 (RUN_TEST_fF_f1): Likewise.
3822 (RUN_TEST_fI_f1): Likewise.
3823 (RUN_TEST_ffI_f1): Likewise.
3824 (RUN_TEST_c_c): Likewise.
3825 (RUN_TEST_cc_c): Likewise.
3826 (RUN_TEST_f_i): Likewise.
3827 (RUN_TEST_f_i_tg): Likewise.
3828 (RUN_TEST_ff_i_tg): Likewise.
3829 (RUN_TEST_f_b): Likewise.
3830 (RUN_TEST_f_b_tg): Likewise.
3831 (RUN_TEST_f_l): Likewise.
3832 (RUN_TEST_f_L): Likewise.
3833 (RUN_TEST_fFF_11): Likewise.
3834 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3836 (cosh_test_data): Likewise.
3837 (exp_test_data): Likewise.
3838 (expm1_test_data): Likewise.
3839 (hypot_test_data): Likewise.
3840 (pow_test_data): Likewise.
3841 (sinh_test_data): Likewise.
3842 (tanh_test_data): Likewise.
3843 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3846 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3847 tests with quiet NaN input and output.
3848 (acosh_test_data): Likewise.
3849 (asin_test_data): Likewise.
3850 (asinh_test_data): Likewise.
3851 (atan_test_data): Likewise.
3852 (atanh_test_data): Likewise.
3853 (atan2_test_data): Likewise.
3854 (cbrt_test_data): Likewise.
3855 (cos_test_data): Likewise.
3856 (cosh_test_data): Likewise.
3857 (erf_test_data): Likewise.
3858 (erfc_test_data): Likewise.
3859 (exp_test_data): Likewise.
3860 (exp10_test_data): Likewise.
3861 (exp2_test_data): Likewise.
3862 (expm1_test_data): Likewise.
3863 (hypot_test_data): Likewise.
3864 (j0_test_data): Likewise.
3865 (j1_test_data): Likewise.
3866 (jn_test_data): Likewise.
3867 (lgamma_test_data): Likewise.
3868 (log_test_data): Likewise.
3869 (log10_test_data): Likewise.
3870 (log1p_test_data): Likewise.
3871 (log2_test_data): Likewise.
3872 (pow_test_data): Likewise.
3873 (scalb_test_data): Likewise.
3874 (sin_test_data): Likewise.
3875 (sincos_test_data): Likewise.
3876 (sinh_test_data): Likewise.
3877 (tan_test_data): Likewise.
3878 (tanh_test_data): Likewise.
3879 (tgamma_test_data): Likewise.
3880 (y0_test_data): Likewise.
3881 (y1_test_data): Likewise.
3882 (yn_test_data): Likewise.
3885 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3886 argument being NaN and avoid computations with second argument in
3888 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3889 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3890 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3892 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
3894 * locale/iso-639.def: Add Chitwani Tharu (the).
3896 2013-11-14 Andreas Schwab <schwab@suse.de>
3898 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3899 word instead of empty string.
3901 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3904 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3906 (__fe_nomask_env): Likewise.
3908 2013-11-13 Steve Ellcey <sellcey@mips.com>
3910 * benchtests/bench-timing.h: Include time.h.
3912 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
3915 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3917 * sysdeps/unix/sysv/linux/configure: Regenerated.
3919 2013-11-13 Joseph Myers <joseph@codesourcery.com>
3922 * stdlib/strtod_l.c (round_and_return): Do not consider
3923 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3924 exponent one less than half the least subnormal exponent.
3925 * stdlib/test-strtod-round-data: Add more tests.
3926 * stdlib/tst-strtod-round.c (tests): Regenerated.
3928 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3931 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3932 (__fe_mask_env): Likewise.
3933 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3934 libm_hidden_proto and add function prototype.
3935 (__fe_mask_env): Add function prototype.
3936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3937 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3939 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3941 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3943 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3945 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
3946 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3948 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3950 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3951 of htab_find_slot().
3953 2013-11-11 David S. Miller <davem@davemloft.net>
3956 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3957 symbol in the non-vis3 case in static builds.
3958 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3959 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3960 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3961 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3963 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3966 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3969 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3971 * benchtests/Makefile: Add bench-strtod.
3972 * benchtests/bench-strtod.c: New file: strtod benchtest
3974 2013-11-11 Andreas Schwab <schwab@suse.de>
3977 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3978 terminating NUL in key length.
3980 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3982 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3983 Add artificial ODP entry for vDSO symbol for PPC64.
3984 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3985 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3987 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
3990 * nss/getent.c (services_keys): Recognize services starting with digit.
3992 2013-11-06 David S. Miller <davem@davemloft.net>
3995 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3996 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3998 2013-11-06 Will Newton <will.newton@linaro.org>
4000 * manual/memory.texi (Malloc Examples): Remove register
4001 keyword from examples.
4003 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
4005 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
4007 2013-11-04 Joseph Myers <joseph@codesourcery.com>
4010 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
4011 depending on [__GCC_IEC_559 > 0].
4012 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
4013 depending on [__GCC_IEC_559_COMPLEX > 0].
4015 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
4017 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
4020 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
4022 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
4024 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
4027 * malloc/malloc (malloc_info): Do not handle first bin as
4030 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
4032 * locale/iso-639.def: Add Central Nahuatl (nhn).
4034 2013-11-01 Bruno Haible <bruno@clisp.org>
4037 * manual/math.texi (BSD Random): Specify range upper bound as
4040 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
4042 * locale/iso-639.def: Add Meadow Mari (mhr).
4044 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
4046 [BZ #14752], [BZ #15763]
4047 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
4049 * rt/tst_shm.c: Add test for escaping directory.
4051 2013-10-31 Andreas Schwab <schwab@suse.de>
4054 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
4055 followed by 'x' as part of digit sequence.
4056 * stdio-common/tst-sscanf.c (double_tests2): New tests.
4058 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
4061 * configure.ac: allow GNU Make 4.0 and greater.
4062 * configure: Regenerated.
4064 2013-10-30 Will Newton <will.newton@linaro.org>
4067 * malloc/hooks.c (memalign_check): Limit alignment to the
4068 maximum representable power of two.
4069 * malloc/malloc.c (__libc_memalign): Likewise.
4070 * malloc/tst-memalign.c (do_test): Add test for very
4071 large alignment values.
4072 * malloc/tst-posix_memalign.c (do_test): Likewise.
4074 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
4077 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
4078 (munmap_chunk): Likewise.
4079 (mremap_chunk): Likewise.
4081 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
4084 * stdlib/div.c (div): Remove obsolete code.
4085 * stdlib/ldiv.c (ldiv): Likewise.
4086 * stdlib/lldiv.c (lldiv): Likewise.
4088 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4091 * nss/nss_files/files-XXX.c (get_contents_ret): New
4093 (get_contents): New function.
4094 (internal_getent): Use it. Expand size of LINEBUFLEN.
4096 2013-10-30 Mike Frysinger <vapier@gentoo.org>
4098 * configure.in: Moved to ...
4099 * configure.ac: ... here. Change reference to configure.in
4101 * sysdeps/arm/preconfigure.ac: ... here.
4102 configure.in to configure.ac.
4103 * sysdeps/gnu/configure.in: Moved to ...
4104 * sysdeps/gnu/configure.ac: ... here.
4105 * sysdeps/i386/configure.in: Moved to ...
4106 * sysdeps/i386/configure.ac: ... here.
4107 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
4108 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
4109 * sysdeps/mach/configure.in: Moved to ...
4110 * sysdeps/mach/configure.ac: ... here.
4111 * sysdeps/mach/hurd/configure.in: Moved to ...
4112 * sysdeps/mach/hurd/configure.ac: ... here.
4113 * sysdeps/powerpc/configure.in: Moved to ...
4114 * sysdeps/powerpc/configure.ac: ... here.
4115 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
4116 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
4117 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
4118 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
4119 * sysdeps/s390/s390-32/configure.in: Moved to ...
4120 * sysdeps/s390/s390-32/configure.ac: ... here.
4121 * sysdeps/s390/s390-64/configure.in: Moved to ...
4122 * sysdeps/s390/s390-64/configure.ac: ... here.
4123 * sysdeps/sh/configure.in: Moved to ...
4124 * sysdeps/sh/configure.ac: ... here.
4125 * sysdeps/sparc/configure.in: Moved to ...
4126 * sysdeps/sparc/configure.ac: ... here.
4127 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
4128 * sysdeps/unix/sysv/linux/configure.ac: ... here.
4129 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
4130 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
4131 * sysdeps/x86_64/configure.in: Moved to ...
4132 * sysdeps/x86_64/configure.ac: ... here.
4133 * sysdeps/x86_64/preconfigure.in: Moved to ...
4134 * sysdeps/x86_64/preconfigure.ac: ... here.
4135 * aclocal.m4: Change reference to configure.in to configure.ac.
4136 * config.h.in: Likewise.
4137 * manual/install.texi: Likewise.
4138 * manual/maint.texi: Likewise.
4139 * Makefile: Likewise.
4140 * malloc/Makefile: Likewise.
4141 * nscd/Makefile: Likewise.
4142 * Makeconfig: Change reference to configure.in and
4143 preconfigure.in to configure.ac and preconfigure.ac
4145 * INSTALL: Regenerated.
4146 * configure: Likewise.
4147 * sysdeps/gnu/configure: Likewise.
4148 * sysdeps/i386/configure: Likewise.
4149 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
4150 * sysdeps/mach/configure: Likewise.
4151 * sysdeps/mach/hurd/configure: Likewise.
4152 * sysdeps/powerpc/configure: Likewise.
4153 * sysdeps/powerpc/powerpc32/configure: Likewise.
4154 * sysdeps/powerpc/powerpc64/configure: Likewise.
4155 * sysdeps/s390/s390-32/configure: Likewise.
4156 * sysdeps/s390/s390-64/configure: Likewise.
4157 * sysdeps/sh/configure: Likewise.
4158 * sysdeps/sparc/configure: Likewise.
4159 * sysdeps/unix/sysv/linux/configure: Likewise.
4160 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
4161 * sysdeps/x86_64/configure: Likewise.
4162 * sysdeps/x86_64/preconfigure: Likewise.
4164 2013-10-29 Andreas Schwab <schwab@suse.de>
4166 * stdio-common/Makefile (tst-swscanf-ENV): Define.
4168 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4170 * benchtests/pow-inputs: Add new inputs.
4172 * benchtests/exp-inputs: Add new inputs.
4174 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
4175 conditional check for return value.
4176 (__cos32): Likewise.
4178 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4180 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
4181 to provide a boost for large inputs with word alignment.
4182 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
4183 implementation based on optimized PPC64 strcpy.
4184 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
4185 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
4186 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
4187 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
4189 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
4192 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
4194 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
4197 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
4198 * time/tst-strptime.c (day_tests): Add testcase.
4200 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
4203 * manual/pattern.texi: Acknowledge that fnmatch can fail.
4205 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
4208 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
4209 MAP_FAILED on error.
4211 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4214 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
4215 heap for large requests.
4217 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
4220 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
4221 result if the result has no associated interface.
4222 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
4223 interface for all 127.X.Y.Z addresses.
4225 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
4227 * locale/iso-639.def: Add Ligurian (lij)
4229 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
4232 * sunrpc/rpc_main.c: Document rpcgen -5.
4234 2013-10-19 Michael Stahl <mstahl@redhat.com>
4236 * elf/rtld.c (do_preload): Print the reason why preloading failed.
4238 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
4241 * posix/glob.c: Match only directories when trailing slash is present.
4242 * posix/tst-gnuglob.c (my_opendir): Do not open files.
4243 (main): Add testcase.
4245 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
4248 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
4250 2013-10-18 Carlos O'Donell <carlos@redhat.com>
4252 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
4253 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
4254 AUTH_DES and cindex for FIPS 140-2.
4255 (DES Encryption): Add cindex FIPS 46-3.
4257 * locale/locarchive.h (struct locarhandle): Add fname.
4258 * locale/programs/localedef.c (main): Pass ARGV[remaining]
4259 if an optional argument was specified to --list-archive,
4261 * locale/programs/locarchive.c (show_archive_content): Take new
4262 argument fname and pass it via ah.fname to open_archive.
4263 * locale/programs/localedef.h: Update decl.
4264 (open_archive): If AH->fname is non-null, open that file
4265 rather than the default file name, and don't ignore ENOENT.
4266 (create_archive): Set AH.fname to NULL.
4267 (delete_locales_from_archive): Likewise.
4268 (add_locales_to_archive): Likewise.
4269 * locale/programs/locfile.c (write_all_categories): Likewise.
4271 2013-10-18 Joseph Myers <joseph@codesourcery.com>
4272 Aldy Hernandez <aldyh@redhat.com>
4274 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
4275 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
4276 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
4277 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
4278 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
4279 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
4280 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
4281 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
4282 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
4283 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
4284 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
4285 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
4286 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
4287 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
4288 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
4290 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
4292 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
4294 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
4296 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
4297 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
4299 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
4300 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
4301 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
4302 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
4304 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
4305 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
4306 * sysdeps/powerpc/preconfigure: Likewise.
4307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
4309 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
4310 Replace contents of file by #include of <fenv_libc.h>.
4311 * sysdeps/powerpc/soft-fp/sfp-machine.h
4312 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
4314 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
4315 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
4316 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
4317 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
4318 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
4319 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
4320 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
4321 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
4322 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
4323 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
4324 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
4325 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
4326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4327 Allow copysignl PLT reference to be missing.
4329 2013-10-18 Richard Sandiford <richard@codesourcery.com>
4330 Joseph Myers <joseph@codesourcery.com
4333 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
4335 (add_to_tablewc): Assert sequence of wide characters is nonempty.
4337 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4339 * elf/tst-tls-dlinfo.c: Don't include tls.h.
4340 * elf/tst-tls1.c: Likewise.
4341 * elf/tst-tls10.h: Likewise.
4342 * elf/tst-tls14.c: Likewise.
4343 * elf/tst-tls2.c: Likewise.
4344 * elf/tst-tls3.c: Likewise.
4345 * elf/tst-tls4.c: Likewise.
4346 * elf/tst-tls5.c: Likewise.
4347 * elf/tst-tls6.c: Likewise.
4348 * elf/tst-tls7.c: Likewise.
4349 * elf/tst-tls8.c: Likewise.
4350 * elf/tst-tls9.c: Likewise.
4351 * elf/tst-tlsmod1.c: Likewise.
4352 * elf/tst-tlsmod13.c: Likewise.
4353 * elf/tst-tlsmod13a.c: Likewise.
4354 * elf/tst-tlsmod14a.c: Likewise.
4355 * elf/tst-tlsmod16a.c: Likewise.
4356 * elf/tst-tlsmod16b.c: Likewise.
4357 * elf/tst-tlsmod2.c: Likewise.
4358 * elf/tst-tlsmod3.c: Likewise.
4359 * elf/tst-tlsmod4.c: Likewise.
4360 * elf/tst-tlsmod5.c: Likewise.
4361 * elf/tst-tlsmod6.c: Likewise.
4363 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
4366 * malloc/malloc.c: remove checks for statistics.
4368 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
4371 * inet/inet_net.c (inet_network): Detect additional invalid strings.
4372 * inet/tst-network.c: Add testcase.
4374 2013-10-17 Andreas Schwab <schwab@suse.de>
4377 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
4378 to determine canonical name.
4380 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
4382 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
4383 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
4384 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4385 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4386 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4387 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4388 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4389 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4390 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4391 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4392 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4393 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4394 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4395 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4396 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4397 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4398 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4399 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4400 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4401 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4402 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4403 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4404 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4405 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
4406 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
4407 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4408 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4409 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
4410 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4411 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
4412 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4413 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4414 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4415 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4416 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4417 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4418 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4419 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4420 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4421 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4422 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4423 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4424 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4425 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4426 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4427 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4428 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4429 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4430 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4431 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4432 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4433 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4434 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4435 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4436 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4437 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4438 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4439 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4441 2013-10-17 Joseph Myers <joseph@codesourcery.com>
4444 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
4445 make result into a quiet NaN.
4447 2013-10-16 Joseph Myers <joseph@codesourcery.com>
4449 * soft-fp/adddf3.c: Fix horizontal whitespace.
4450 * soft-fp/addsf3.c: Likewise.
4451 * soft-fp/addtf3.c: Likewise.
4452 * soft-fp/divdf3.c: Likewise.
4453 * soft-fp/divsf3.c: Likewise.
4454 * soft-fp/divtf3.c: Likewise.
4455 * soft-fp/double.h: Likewise.
4456 * soft-fp/eqdf2.c: Likewise.
4457 * soft-fp/eqsf2.c: Likewise.
4458 * soft-fp/eqtf2.c: Likewise.
4459 * soft-fp/extenddftf2.c: Likewise.
4460 * soft-fp/extended.h: Likewise.
4461 * soft-fp/extendsfdf2.c: Likewise.
4462 * soft-fp/extendsftf2.c: Likewise.
4463 * soft-fp/extendxftf2.c: Likewise.
4464 * soft-fp/fixdfdi.c: Likewise.
4465 * soft-fp/fixdfsi.c: Likewise.
4466 * soft-fp/fixdfti.c: Likewise.
4467 * soft-fp/fixsfdi.c: Likewise.
4468 * soft-fp/fixsfsi.c: Likewise.
4469 * soft-fp/fixsfti.c: Likewise.
4470 * soft-fp/fixtfdi.c: Likewise.
4471 * soft-fp/fixtfsi.c: Likewise.
4472 * soft-fp/fixtfti.c: Likewise.
4473 * soft-fp/fixunsdfdi.c: Likewise.
4474 * soft-fp/fixunsdfsi.c: Likewise.
4475 * soft-fp/fixunsdfti.c: Likewise.
4476 * soft-fp/fixunssfdi.c: Likewise.
4477 * soft-fp/fixunssfsi.c: Likewise.
4478 * soft-fp/fixunssfti.c: Likewise.
4479 * soft-fp/fixunstfdi.c: Likewise.
4480 * soft-fp/fixunstfsi.c: Likewise.
4481 * soft-fp/fixunstfti.c: Likewise.
4482 * soft-fp/floatdidf.c: Likewise.
4483 * soft-fp/floatdisf.c: Likewise.
4484 * soft-fp/floatditf.c: Likewise.
4485 * soft-fp/floatsidf.c: Likewise.
4486 * soft-fp/floatsisf.c: Likewise.
4487 * soft-fp/floatsitf.c: Likewise.
4488 * soft-fp/floattidf.c: Likewise.
4489 * soft-fp/floattisf.c: Likewise.
4490 * soft-fp/floattitf.c: Likewise.
4491 * soft-fp/floatundidf.c: Likewise.
4492 * soft-fp/floatundisf.c: Likewise.
4493 * soft-fp/floatunditf.c: Likewise.
4494 * soft-fp/floatunsidf.c: Likewise.
4495 * soft-fp/floatunsisf.c: Likewise.
4496 * soft-fp/floatunsitf.c: Likewise.
4497 * soft-fp/floatuntidf.c: Likewise.
4498 * soft-fp/floatuntisf.c: Likewise.
4499 * soft-fp/floatuntitf.c: Likewise.
4500 * soft-fp/fmadf4.c: Likewise.
4501 * soft-fp/fmasf4.c: Likewise.
4502 * soft-fp/fmatf4.c: Likewise.
4503 * soft-fp/gedf2.c: Likewise.
4504 * soft-fp/gesf2.c: Likewise.
4505 * soft-fp/getf2.c: Likewise.
4506 * soft-fp/ledf2.c: Likewise.
4507 * soft-fp/lesf2.c: Likewise.
4508 * soft-fp/letf2.c: Likewise.
4509 * soft-fp/muldf3.c: Likewise.
4510 * soft-fp/mulsf3.c: Likewise.
4511 * soft-fp/multf3.c: Likewise.
4512 * soft-fp/negdf2.c: Likewise.
4513 * soft-fp/negsf2.c: Likewise.
4514 * soft-fp/negtf2.c: Likewise.
4515 * soft-fp/op-1.h: Likewise.
4516 * soft-fp/op-2.h: Likewise.
4517 * soft-fp/op-4.h: Likewise.
4518 * soft-fp/op-8.h: Likewise.
4519 * soft-fp/op-common.h: Likewise.
4520 * soft-fp/quad.h: Likewise.
4521 * soft-fp/single.h: Likewise.
4522 * soft-fp/soft-fp.h: Likewise.
4523 * soft-fp/sqrtdf2.c: Likewise.
4524 * soft-fp/sqrtsf2.c: Likewise.
4525 * soft-fp/sqrttf2.c: Likewise.
4526 * soft-fp/subdf3.c: Likewise.
4527 * soft-fp/subsf3.c: Likewise.
4528 * soft-fp/subtf3.c: Likewise.
4529 * soft-fp/truncdfsf2.c: Likewise.
4530 * soft-fp/trunctfdf2.c: Likewise.
4531 * soft-fp/trunctfsf2.c: Likewise.
4532 * soft-fp/trunctfxf2.c: Likewise.
4533 * soft-fp/unorddf2.c: Likewise.
4534 * soft-fp/unordsf2.c: Likewise.
4535 * soft-fp/unordtf2.c: Likewise.
4537 2013-10-15 Joseph Myers <joseph@codesourcery.com>
4539 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
4540 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
4542 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
4544 * elf/dl-libc.c: Clear initfini list after freeing.
4546 2013-10-14 Joseph Myers <joseph@codesourcery.com>
4548 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
4549 * soft-fp/addsf3.c: Likewise.
4550 * soft-fp/addtf3.c: Likewise.
4551 * soft-fp/divdf3.c: Likewise.
4552 * soft-fp/divsf3.c: Likewise.
4553 * soft-fp/divtf3.c: Likewise.
4554 * soft-fp/double.h: Likewise.
4555 * soft-fp/eqdf2.c: Likewise.
4556 * soft-fp/eqsf2.c: Likewise.
4557 * soft-fp/eqtf2.c: Likewise.
4558 * soft-fp/extenddftf2.c: Likewise.
4559 * soft-fp/extended.h: Likewise.
4560 * soft-fp/extendsfdf2.c: Likewise.
4561 * soft-fp/extendsftf2.c: Likewise.
4562 * soft-fp/extendxftf2.c: Likewise.
4563 * soft-fp/fixdfdi.c: Likewise.
4564 * soft-fp/fixdfsi.c: Likewise.
4565 * soft-fp/fixdfti.c: Likewise.
4566 * soft-fp/fixsfdi.c: Likewise.
4567 * soft-fp/fixsfsi.c: Likewise.
4568 * soft-fp/fixsfti.c: Likewise.
4569 * soft-fp/fixtfdi.c: Likewise.
4570 * soft-fp/fixtfsi.c: Likewise.
4571 * soft-fp/fixtfti.c: Likewise.
4572 * soft-fp/fixunsdfdi.c: Likewise.
4573 * soft-fp/fixunsdfsi.c: Likewise.
4574 * soft-fp/fixunsdfti.c: Likewise.
4575 * soft-fp/fixunssfdi.c: Likewise.
4576 * soft-fp/fixunssfsi.c: Likewise.
4577 * soft-fp/fixunssfti.c: Likewise.
4578 * soft-fp/fixunstfdi.c: Likewise.
4579 * soft-fp/fixunstfsi.c: Likewise.
4580 * soft-fp/fixunstfti.c: Likewise.
4581 * soft-fp/floatdidf.c: Likewise.
4582 * soft-fp/floatdisf.c: Likewise.
4583 * soft-fp/floatditf.c: Likewise.
4584 * soft-fp/floatsidf.c: Likewise.
4585 * soft-fp/floatsisf.c: Likewise.
4586 * soft-fp/floatsitf.c: Likewise.
4587 * soft-fp/floattidf.c: Likewise.
4588 * soft-fp/floattisf.c: Likewise.
4589 * soft-fp/floattitf.c: Likewise.
4590 * soft-fp/floatundidf.c: Likewise.
4591 * soft-fp/floatundisf.c: Likewise.
4592 * soft-fp/floatunsidf.c: Likewise.
4593 * soft-fp/floatunsisf.c: Likewise.
4594 * soft-fp/floatuntidf.c: Likewise.
4595 * soft-fp/floatuntisf.c: Likewise.
4596 * soft-fp/floatuntitf.c: Likewise.
4597 * soft-fp/fmadf4.c: Likewise.
4598 * soft-fp/fmasf4.c: Likewise.
4599 * soft-fp/fmatf4.c: Likewise.
4600 * soft-fp/gedf2.c: Likewise.
4601 * soft-fp/gesf2.c: Likewise.
4602 * soft-fp/getf2.c: Likewise.
4603 * soft-fp/ledf2.c: Likewise.
4604 * soft-fp/lesf2.c: Likewise.
4605 * soft-fp/letf2.c: Likewise.
4606 * soft-fp/muldf3.c: Likewise.
4607 * soft-fp/mulsf3.c: Likewise.
4608 * soft-fp/multf3.c: Likewise.
4609 * soft-fp/negdf2.c: Likewise.
4610 * soft-fp/negsf2.c: Likewise.
4611 * soft-fp/negtf2.c: Likewise.
4612 * soft-fp/op-1.h: Likewise.
4613 * soft-fp/op-2.h: Likewise.
4614 * soft-fp/op-4.h: Likewise.
4615 * soft-fp/op-8.h: Likewise.
4616 * soft-fp/op-common.h: Likewise.
4617 * soft-fp/quad.h: Likewise.
4618 * soft-fp/single.h: Likewise.
4619 * soft-fp/soft-fp.h: Likewise.
4620 * soft-fp/sqrtdf2.c: Likewise.
4621 * soft-fp/sqrtsf2.c: Likewise.
4622 * soft-fp/sqrttf2.c: Likewise.
4623 * soft-fp/subdf3.c: Likewise.
4624 * soft-fp/subsf3.c: Likewise.
4625 * soft-fp/subtf3.c: Likewise.
4626 * soft-fp/truncdfsf2.c: Likewise.
4627 * soft-fp/trunctfdf2.c: Likewise.
4628 * soft-fp/trunctfsf2.c: Likewise.
4629 * soft-fp/trunctfxf2.c: Likewise.
4630 * soft-fp/unorddf2.c: Likewise.
4631 * soft-fp/unordsf2.c: Likewise.
4632 * soft-fp/unordtf2.c: Likewise.
4634 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
4637 * misc/error.c (error_tail): Fix possible buffer overflow.
4639 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
4642 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
4645 2013-10-14 P. J. McDermott <pj@pehjota.net>
4648 * elf/ldd.bash.in (try_trace): New function. Delete previous code
4649 testing pipefail option.
4651 2013-10-12 Joseph Myers <joseph@codesourcery.com>
4653 * soft-fp/double.h: Indent preprocessor directives inside #if.
4654 * soft-fp/extended.h: Likewise.
4655 * soft-fp/op-2.h: Likewise.
4656 * soft-fp/op-4.h: Likewise.
4657 * soft-fp/op-common.h: Likewise.
4658 * soft-fp/quad.h: Likewise.
4659 * soft-fp/single.h: Likewise.
4660 * soft-fp/soft-fp.h: Likewise.
4662 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
4664 * iconv/iconv_prog.c: Fix typos.
4665 * stdio-common/psiginfo-data.h: Likewise.
4667 2013-10-12 Reuben Thomas <rrt@sc3d.org>
4670 * locale/setlocale.c: Fix typo.
4672 2013-10-12 Joseph Myers <joseph@codesourcery.com>
4675 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
4676 signaling NaN arguments.
4677 * soft-fp/unordsf2.c (__unordsf2): Likewise.
4678 * soft-fp/unordtf2.c (__unordtf2): Likewise.
4681 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
4683 * soft-fp/gesf2.c (__gesf2): Likewise.
4684 * soft-fp/getf2.c (__getf2): Likewise.
4685 * soft-fp/ledf2.c (__ledf2): Likewise.
4686 * soft-fp/lesf2.c (__lesf2): Likewise.
4687 * soft-fp/letf2.c (__letf2): Likewise.
4689 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
4690 * soft-fp/eqsf2.c (__eqsf2): Likewise.
4691 * soft-fp/eqtf2.c (__eqtf2): Likewise.
4692 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
4693 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
4694 * soft-fp/fixdfti.c (__fixdfti): Likewise.
4695 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
4696 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
4697 * soft-fp/fixsfti.c (__fixsfti): Likewise.
4698 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
4699 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
4700 * soft-fp/fixtfti.c (__fixtfti): Likewise.
4701 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
4702 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
4703 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
4704 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
4705 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
4706 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
4707 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
4708 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
4709 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
4710 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
4711 * soft-fp/floatdisf.c (__floatdisf): Likewise.
4712 * soft-fp/floatsisf.c (__floatsisf): Likewise.
4713 * soft-fp/floattidf.c (__floattidf): Likewise.
4714 * soft-fp/floattisf.c (__floattisf): Likewise.
4715 * soft-fp/floattitf.c (__floattitf): Likewise.
4716 * soft-fp/floatundidf.c (__floatundidf): Likewise.
4717 * soft-fp/floatundisf.c (__floatundisf): Likewise.
4718 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
4719 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
4720 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
4721 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
4722 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
4723 * soft-fp/gesf2.c (__gesf2): Likewise.
4724 * soft-fp/getf2.c (__getf2): Likewise.
4725 * soft-fp/ledf2.c (__ledf2): Likewise.
4726 * soft-fp/lesf2.c (__lesf2): Likewise.
4727 * soft-fp/letf2.c (__letf2): Likewise.
4729 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
4730 Undefine and redefine.
4731 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
4732 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
4733 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
4734 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
4735 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4736 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
4737 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4738 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
4739 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4740 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
4741 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4742 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
4743 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4744 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
4745 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4748 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
4749 without decrementing exponent if mantissa >= that for the
4751 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
4752 denominator, not >. Decrement exponent in < case instead of
4753 incrementing in >= case.
4754 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
4755 without decrementing exponent if mantissa >= that for the
4758 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4759 computing saturated result for unsigned overflow.
4761 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4762 Jeff Law <law@redhat.com>
4764 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
4765 (atan2Mp): Add systemtap probe marker.
4766 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4767 (__ieee754_log): Add systemtap probe marker.
4768 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4769 (atanMp): Add systemtap probe marker.
4770 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4771 (tanMp): Add systemtap probe marker.
4772 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4773 (__slowexp): Add systemtap probe marker.
4774 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4775 (__slowpow): Add systemtap probe marker.
4776 * manual/probes.texi: Document probes.
4778 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
4781 * libio/fileops.c (_IO_new_file_write): Return count of bytes
4783 (_IO_new_file_xsputn): Don't return EOF if nothing has been
4785 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4786 written to buffer but not flushed.
4787 * libio/iofwrite_u.c: Likewise.
4788 * libio/iopadn.c: Return bytes returned even if EOF was
4790 * libio/iowpadn.c: Likewise.
4791 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4792 if _IO_padn does not write the whole buffer.
4793 [!COMPILE_WPRINTF] (PAD): Likewise.
4795 2013-10-10 David S. Miller <davem@davemloft.net>
4797 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4800 2013-10-10 Joseph Myers <joseph@codesourcery.com>
4802 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
4803 instead of FSF address.
4804 * soft-fp/fixdfti.c: Likewise.
4805 * soft-fp/fixsfti.c: Likewise.
4806 * soft-fp/fixtfti.c: Likewise.
4807 * soft-fp/fixunsdfti.c: Likewise.
4808 * soft-fp/fixunssfti.c: Likewise.
4809 * soft-fp/fixunstfti.c: Likewise.
4810 * soft-fp/floattidf.c: Likewise.
4811 * soft-fp/floattisf.c: Likewise.
4812 * soft-fp/floattitf.c: Likewise.
4813 * soft-fp/floatuntidf.c: Likewise.
4814 * soft-fp/floatuntisf.c: Likewise.
4815 * soft-fp/floatuntitf.c: Likewise.
4816 * soft-fp/trunctfxf2.c: Likewise.
4818 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
4819 * soft-fp/fixdfti.c: Likewise.
4820 * soft-fp/fixsfti.c: Likewise.
4821 * soft-fp/fixtfti.c: Likewise.
4822 * soft-fp/fixunsdfti.c: Likewise.
4823 * soft-fp/fixunssfti.c: Likewise.
4824 * soft-fp/fixunstfti.c: Likewise.
4825 * soft-fp/floattidf.c: Likewise.
4826 * soft-fp/floattisf.c: Likewise.
4827 * soft-fp/floattitf.c: Likewise.
4828 * soft-fp/floatuntidf.c: Likewise.
4829 * soft-fp/floatuntisf.c: Likewise.
4830 * soft-fp/floatuntitf.c: Likewise.
4831 * soft-fp/trunctfxf2.c: Likewise.
4833 2013-10-10 David S. Miller <davem@davemloft.net>
4835 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4837 2013-10-10 Joseph Myers <joseph@codsourcery.com>
4839 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4840 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4841 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4842 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4843 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4844 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4845 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4847 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4848 for NaNs before doing comparisons on argument.
4849 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4852 2013-10-10 Will Newton <will.newton@linaro.org>
4854 * malloc/hooks.c (memalign_check): Ensure the value of bytes
4855 passed to _int_memalign does not overflow.
4857 2013-10-10 Torvald Riegel <triegel@redhat.com>
4859 * scripts/bench.pl: Add include-sources directive.
4860 * benchtests/README: Update documentation.
4862 2013-10-10 Joseph Myers <joseph@codesourcery.com>
4864 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4865 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4866 instead of FP_INIT_ROUNDMODE.
4867 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4868 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4871 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
4872 copy class of input value.
4873 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
4874 not handle exceptions.
4875 * soft-fp/negsf2.c (__negsf2): Likewise.
4876 * soft-fp/negtf2.c (__negtf2): Likewise.
4877 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4879 2013-10-09 Joseph Myers <joseph@codesourcery.com>
4881 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4882 semicolon. From Linux kernel.
4884 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
4886 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4888 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
4891 * manual/socket.texi: Added statement about buffer
4892 for gethostbyname2_r.
4894 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
4896 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4897 Use .p2align directive instead, throughout.
4898 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4899 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4900 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4901 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4902 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4903 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4904 * sysdeps/x86_64/strchr.S: Likewise.
4905 * sysdeps/x86_64/strrchr.S: Likewise.
4907 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4909 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4911 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4913 * sysdeps/generic/math_private.h (__mpsin1): Remove
4915 (__mpcos1): Likewise.
4916 (__mpsin): New argument __range_reduce.
4917 (__mpcos): Likewise.
4918 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4919 (slow): Use __mpsin and __mpcos.
4926 (bsloww1): Likewise.
4927 (bsloww2): Likewise.
4930 (csloww1): Likewise.
4931 (csloww2): Likewise.
4932 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4933 range_reduce. Merge in __mpsin1.
4934 (__mpcos): Likewise.
4936 (__mpcos1): Likewise.
4938 2013-10-07 Joseph Myers <joseph@codesourcery.com>
4940 * locale/loadlocale.c (_nl_intern_locale_data): Use
4942 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4943 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4944 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4945 obstack data is appropriately aligned.
4946 (obstack_int32_grow_fast): Likewise.
4947 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4948 * locale/programs/locfile.c (add_locale_uint32): Likewise.
4949 (add_locale_uint32_array): Likewise.
4951 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4953 * benchtests/Makefile: Remove ARGLIST and RET variables.
4954 ($(objpfx)bench-%.c): Pass only function name to the script.
4955 * benchtests/README: Update documentation.
4956 * benchtests/acos-inputs: Add new directives.
4957 * benchtests/acosh-inputs: Likewise.
4958 * benchtests/asin-inputs: Likewise.
4959 * benchtests/asinh-inputs: Likewise.
4960 * benchtests/atan-inputs: Likewise.
4961 * benchtests/atanh-inputs: Likewise.
4962 * benchtests/cos-inputs: Likewise.
4963 * benchtests/cosh-inputs: Likewise.
4964 * benchtests/exp-inputs: Likewise.
4965 * benchtests/log-inputs: Likewise.
4966 * benchtests/pow-inputs: Likewise.
4967 * benchtests/rint-inputs: Likewise.
4968 * benchtests/sin-inputs: Likewise.
4969 * benchtests/sinh-inputs: Likewise.
4970 * benchtests/tan-inputs: Likewise.
4971 * benchtests/tanh-inputs: Likewise.
4972 * scripts/bench.pl: Add support for new directives.
4974 2013-10-07 Alan Modra <amodra@gmail.com>
4976 * README: Fix careless merge.
4978 2013-10-05 Alan Modra <amodra@gmail.com>
4980 * NEWS: Mention powerpc64le support and bugs fixed.
4981 * README: Both big-endian and little-endian powerpc64 supported.
4983 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4985 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4986 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4987 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4988 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4990 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
4992 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4995 2013-10-04 Joseph Myers <joseph@codesourcery.com>
4997 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4998 Move -mhard-float appending from
4999 ports/sysdeps/powerpc/powerpc32/Makefile.
5000 [$(with-fp) = yes] (ASFLAGS): Likewise.
5001 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
5002 * sysdeps/powerpc/nofpu: Move directory from
5003 ports/sysdeps/powerpc/nofpu.
5004 * sysdeps/powerpc/soft-fp: Move directory from
5005 ports/sysdeps/powerpc/soft-fp.
5006 * sysdeps/powerpc/powerpc32/405: Move directory from
5007 ports/sysdeps/powerpc/powerpc32/405.
5008 * sysdeps/powerpc/powerpc32/440: Move directory from
5009 ports/sysdeps/powerpc/powerpc32/440.
5010 * sysdeps/powerpc/powerpc32/464: Move directory from
5011 ports/sysdeps/powerpc/powerpc32/464.
5012 * sysdeps/powerpc/powerpc32/476: Move directory from
5013 ports/sysdeps/powerpc/powerpc32/476.
5014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
5015 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
5016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
5017 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
5018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
5019 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
5020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
5021 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
5022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
5023 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
5024 * README: Update for powerpc-*-linux-gnu software floating point
5027 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
5028 case to powerpc/powerpc32*.
5029 * sysdeps/unix/sysv/linux/configure: Regenerated.
5031 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
5032 (_FPU_MASK_OM): Define as 0x04.
5033 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
5034 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
5036 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
5038 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
5040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
5041 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
5043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
5044 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
5046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
5047 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
5048 and setcontext_e500.
5050 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
5052 * locale/iso-3166.def: Update iso-1366.def and related occurrences
5054 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5056 * manual/threads.texi (Default Thread Attributes): Fix typo.
5058 2013-10-04 Will Newton <will.newton@linaro.org>
5060 * malloc/Makefile: Add tst-memalign.
5061 * malloc/tst-memalign.c: New file.
5063 * malloc/tst-posix_memalign.c: Add comments.
5064 (do_test): Add comments and call free on all potentially
5065 allocated pointers. Add space after cast.
5067 * malloc/tst-pvalloc.c: Add comments.
5068 (do_test): Add comments and call free on all potentially
5069 allocated pointers. Remove duplicate check for NULL pointer.
5070 Add space after cast.
5072 * malloc/tst-valloc.c: Add comments.
5073 (do_test): Add comments and call free on all potentially
5074 allocated pointers. Remove duplicate check for NULL pointer.
5075 Add space after cast.
5077 2013-10-04 Alan Modra <amodra@gmail.com>
5079 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5080 Use stdint types in rather than __attribute__((mode())).
5081 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5083 2013-10-04 Alan Modra <amodra@gmail.com>
5085 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5086 Correct handling of unaligned relocs for little-endian.
5087 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5089 2013-10-04 Alan Modra <amodra@gmail.com>
5091 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
5092 * configure: Regenerate.
5093 * nptl/shlib-versions: Powerpc*le starts at 2.18.
5094 * shlib-versions: Likewise.
5096 2013-10-04 Alan Modra <amodra@gmail.com>
5098 * string/tester.c (test_memrchr): Increment reported test cycle.
5100 2013-10-04 Alan Modra <amodra@gmail.com>
5102 * string/test-memcpy.c (do_one_test): When reporting errors, print
5103 string address and don't overrun end of string.
5105 2013-10-04 Alan Modra <amodra@gmail.com>
5107 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
5108 insrdi. Make better use of reg selection to speed exit slightly.
5109 Schedule entry path a little better. Remove useless "are we done"
5110 checks on entry to main loop. Handle wrapping around zero address.
5111 Correct main loop count. Handle single left-over word from main
5112 loop inline rather than by using loop_small. Remove extra word
5113 case in loop_small caused by wrong loop count. Add little-endian
5115 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
5116 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
5118 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
5119 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
5120 support. Avoid rlwimi.
5121 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
5123 2013-10-04 Alan Modra <amodra@gmail.com>
5125 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
5127 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
5128 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5129 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5130 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
5131 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5132 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
5134 2013-10-04 Alan Modra <amodra@gmail.com>
5136 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
5137 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5138 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5139 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
5140 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5141 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5142 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5143 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
5144 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
5145 use of regs. Use power7 mtocrf. Tidy function tails.
5147 2013-10-04 Alan Modra <amodra@gmail.com>
5149 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
5150 Formatting. Consistently use rXXX register defines or rN defines.
5151 Use early exit labels that avoid restoring unused non-volatile regs.
5152 Make cr field use more consistent with rWORDn compares. Rename
5153 regs used as shift registers for unaligned loop, using rN defines
5154 for short lifetime/multiple use regs.
5155 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5156 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
5157 addi 1,1,64 to pop stack frame. Simplify return value code.
5158 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5160 2013-10-04 Alan Modra <amodra@gmail.com>
5162 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
5163 support. Correct typos, formatting. Optimize tail. Use insrdi
5165 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
5166 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
5167 little-endian support. Correct typos.
5168 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
5170 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
5171 in loop and entry code to keep "and." results.
5172 (strchr): Add little-endian support. Comment. Move cntlzd
5174 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
5176 2013-10-04 Alan Modra <amodra@gmail.com>
5178 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
5179 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
5180 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
5181 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
5183 2013-10-04 Alan Modra <amodra@gmail.com>
5185 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
5186 (rTMP): Define as r11.
5187 (strcmp): Add little-endian support. Optimise tail.
5188 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
5189 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5190 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
5191 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5192 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5193 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5194 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5196 2013-10-04 Alan Modra <amodra@gmail.com>
5198 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
5199 little-endian support. Remove unnecessary "are we done" tests.
5200 Handle "s" wrapping around zero and extremely large "size".
5201 Correct main loop count. Handle single left-over word from main
5202 loop inline rather than by using small_loop. Correct comments.
5203 Delete "zero" tail, use "end_max" instead.
5204 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
5206 2013-10-04 Alan Modra <amodra@gmail.com>
5208 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
5209 support. Don't branch over align.
5210 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
5211 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
5212 support. Rearrange tmp reg use to suit. Comment.
5213 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
5215 2013-10-04 Alan Modra <amodra@gmail.com>
5217 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
5219 2013-10-04 Alan Modra <amodra@gmail.com>
5221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
5222 conditional form of branch and link when obtaining pc.
5223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5225 2013-10-04 Alan Modra <amodra@gmail.com>
5227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
5229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
5230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
5232 2013-10-04 Alan Modra <amodra@gmail.com>
5234 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
5235 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
5236 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5237 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
5238 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5239 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5240 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
5241 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5242 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5243 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
5245 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5246 Alistair Popple <alistair@ozlabs.au.ibm.com>
5247 Alan Modra <amodra@gmail.com>
5250 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
5251 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
5252 _dl_hwcap access for little-endian.
5253 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
5254 destroy vmx regs when saving unaligned.
5255 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
5256 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
5257 destroy vmx regs when saving unaligned.
5259 2013-10-04 Alan Modra <amodra@gmail.com>
5261 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
5262 Don't use a union to pack hi/low value.
5264 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5266 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
5268 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5269 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
5270 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5271 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5272 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5274 2013-10-04 Alan Modra <amodra@gmail.com>
5276 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
5277 constants to usual value for .cst8 section, and remove redundant
5279 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
5280 constant for 0x1p52. Load little-endian words of double from
5281 correct stack offsets.
5283 2013-10-04 Alan Modra <amodra@gmail.com>
5285 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
5286 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
5287 words of double from correct stack offsets.
5288 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5289 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
5290 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5291 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5292 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5293 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5294 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5295 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5296 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5297 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5298 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5299 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5300 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5301 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5302 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5303 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
5304 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5306 2013-10-04 Alan Modra <amodra@gmail.com>
5308 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
5309 64-bit int/double union.
5310 (_FPU_SETCW): Likewise.
5311 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5312 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
5314 2013-10-04 Alan Modra <amodra@gmail.com>
5316 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
5317 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
5319 2013-10-04 Alan Modra <amodra@gmail.com>
5321 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
5322 use vector int constants.
5323 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
5325 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5327 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
5328 array with long long.
5329 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
5330 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
5331 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
5332 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
5333 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
5334 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
5335 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
5336 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
5337 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
5338 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
5339 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
5340 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
5341 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
5343 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5345 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
5346 (__signbit): Likewise. Correct for little-endian.
5347 (__signbitl): Call __signbit.
5348 (lrint): Correct for little-endian.
5349 (lrintf): Call lrint.
5351 2013-10-04 Alan Modra <amodra@gmail.com>
5353 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
5354 union 32-bit int array member with 64-bit int array.
5355 (t515, tm256): Double rather than long double.
5356 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
5358 2013-10-04 Alan Modra <amodra@gmail.com>
5360 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
5362 (IEEE854_LONG_DOUBLE_BIAS): Delete.
5363 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
5364 version of math_ldbl.h.
5366 2013-10-04 Alan Modra <amodra@gmail.com>
5368 [BZ #15734], [BZ #15735]
5369 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
5370 all uses of ieee875 long double macros and unions. Simplify test
5371 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
5372 ldbl_extract_mantissa value for ix,iy exponents. Properly
5373 normalize after ldbl_extract_mantissa, and don't add hidden bit
5374 already handled. Don't treat low word of ieee854 mantissa like
5375 low word of IBM long double and mask off bit when testing for
5377 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
5378 all uses of ieee875 long double macros and unions. Simplify tests
5379 for 0.0L and inf. Correct double adjustment of k. Delete dead code
5380 adjusting ha,hb. Simplify code setting kld. Delete two600 and
5381 two1022, instead use their values. Recognise that tests for large
5382 "a" and small "b" are mutually exclusive. Rename vars. Comment.
5383 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
5384 Rewrite all uses of ieee875 long double macros and unions. Simplify
5385 test for 0.0L and nan. Correct negation.
5386 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
5387 ieee875 long double macros and unions. Correct output for large
5388 magnitude x. Correct absolute value calculation.
5389 (__erfcl): Likewise.
5390 * math/libm-test.inc: Add tests for errors discovered in IBM long
5391 double versions of fmodl, remainderl, erfl and erfcl.
5393 2013-10-04 Alan Modra <amodra@gmail.com>
5395 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
5396 all uses of ieee854 long double macros and unions. Simplify tests
5397 for long doubles that are fully specified by the high double.
5398 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5400 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
5401 Remove dead code too.
5402 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5403 (__ieee754_ynl): Likewise.
5404 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5405 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
5406 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5407 Remove dead code too.
5408 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
5409 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
5410 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
5411 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
5413 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
5415 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
5416 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
5417 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
5418 Comment on variable precision.
5419 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
5420 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5422 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5423 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5424 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5425 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
5426 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
5428 2013-10-04 Alan Modra <amodra@gmail.com>
5430 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
5431 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
5432 all uses of ieee854 long double macros and unions.
5433 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
5434 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5435 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
5436 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
5437 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
5438 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5440 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
5441 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5442 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
5443 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5444 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
5445 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
5446 Simplify sign and nan test too.
5447 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
5448 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
5449 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
5450 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
5452 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5453 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
5455 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5456 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
5457 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
5458 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
5459 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
5460 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
5462 2013-10-04 Alan Modra <amodra@gmail.com>
5464 * stdio-common/printf_size.c (__printf_size): Don't use
5465 union ieee854_long_double in fpnum union.
5466 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
5467 signbit macro to retrieve sign from long double.
5468 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
5469 retrieve sign from long double.
5470 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
5471 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
5472 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
5473 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5474 * math/test-misc.c (main): Don't use union ieee854_long_double.
5476 2013-10-04 Alan Modra <amodra@gmail.com>
5479 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
5480 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
5481 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
5482 calculation. Remove unnecessary test for denormal exponent.
5483 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
5484 Correct handling of denormals. Avoid undefined shift behaviour.
5485 Correct normalisation of low mantissa when low double is denormal.
5486 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
5487 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
5488 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
5489 Correct normalisation of low mantissa. Test for overflow of high
5490 mantissa and normalise.
5491 (ldbl_nearbyint): Use more readable constant for two52.
5492 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
5493 (__mpn_construct_long_double): Fix test for overflow of high
5494 mantissa and correct normalisation. Avoid undefined shift.
5496 2013-10-04 Alan Modra <amodra@gmail.com>
5498 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5499 (union ibm_extended_long_double): Define as an array of ieee754_double.
5500 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
5501 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
5502 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
5503 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5504 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5505 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
5506 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5507 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5508 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5509 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
5510 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5512 2013-10-03 Joseph Myers <joseph@codesourcery.com>
5514 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
5515 page size instead of calling getpagesize.
5517 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
5518 (LOCFILE_ALIGN_MASK): Likewise.
5519 (LOCFILE_ALIGN_UP): Likewise.
5520 (LOCFILE_ALIGNED_P): Likewise.
5521 * locale/programs/ld-collate.c (collate_output): Use the new
5522 macros instead of __alignof__ (int32_t).
5523 * locale/weight.h (findidx): Likewise.
5525 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
5528 * manual/string.texi: Fix strncat and wcsncat.
5530 2013-10-03 Brooks Moses <bmoses@google.com>
5533 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
5534 * Makerules: ...here, and adjust associated comments.
5536 2013-10-02 Will Newton <will.newton@linaro.org>
5538 * malloc/Makefile: Add tst-pvalloc.
5539 * malloc/tst-pvalloc.c: New file.
5541 2013-10-02 Will Newton <will.newton@linaro.org>
5543 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
5544 improve test coverage.
5546 2013-10-02 Will Newton <will.newton@linaro.org>
5548 * malloc/Makefile: Add tst-posix_memalign.
5549 * malloc/tst-posix_memalign.c: New file.
5551 2013-10-01 Eric Blake <eblake@redhat.com>
5553 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
5554 Use __THROWNL rather than __THROW on static functions.
5556 2013-09-30 Petr Machata <pmachata@redhat.com>
5558 * elf/elf.h (R_AARCH64_ABS16): New macro.
5559 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
5560 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
5561 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
5562 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
5563 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
5564 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
5565 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
5566 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
5567 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
5568 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
5569 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
5570 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
5571 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
5572 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
5573 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
5574 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
5575 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
5576 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
5577 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
5578 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
5579 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
5580 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
5581 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
5582 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
5583 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
5584 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
5585 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
5586 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
5587 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
5588 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
5589 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
5590 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
5591 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
5592 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
5593 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
5594 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
5595 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
5596 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
5597 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
5598 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
5599 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
5600 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
5601 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
5602 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
5603 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
5604 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
5605 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
5606 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
5607 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
5608 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
5609 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
5610 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
5611 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
5612 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
5613 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
5614 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
5615 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
5616 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
5617 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
5618 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
5619 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
5620 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
5621 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
5622 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
5623 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
5624 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
5625 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
5626 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
5627 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
5628 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
5629 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
5630 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
5631 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
5632 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
5633 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
5634 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
5635 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
5636 (R_AARCH64_TLSDESC_LDR): Likewise.
5637 (R_AARCH64_TLSDESC_ADD): Likewise.
5638 (R_AARCH64_TLSDESC_CALL): Likewise.
5640 2013-09-30 Andreas Schwab <schwab@suse.de>
5643 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
5644 the nss database lookup.
5645 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5646 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5648 2013-09-28 Mike Frysinger <vapier@gentoo.org>
5650 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
5652 2013-09-28 P. J. McDermott <pj@pehjota.net>
5654 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
5655 ${Bash-specific parameter/pattern/string} parameter expansion.
5656 * sysdeps/unix/make-syscalls.sh: Likewise.
5658 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5660 * sysdeps/sh/stackguard-macros.h: New file.
5662 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
5664 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5665 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
5666 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
5667 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
5668 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5669 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
5671 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5673 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
5674 Fix thread ID register.
5676 2013-09-25 Joseph Myers <joseph@codesourcery.com>
5678 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
5679 [POSIX || UNIX98]: Require rather than permitting all symbols from
5681 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
5682 element of struct sched_param.
5683 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
5684 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
5685 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
5686 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
5689 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
5691 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
5692 argument calculation.
5694 2013-09-24 Joseph Myers <joseph@codesourcery.com>
5696 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
5698 [POSIX] (pthread_attr_t): Do not require type.
5699 [POSIX] (pthread_cond_t): Likewise.
5700 [POSIX] (pthread_condattr_t): Likewise.
5701 [POSIX] (pthread_key_t): Likewise.
5702 [POSIX] (pthread_mutex_t): Likewise.
5703 [POSIX] (pthread_mutexattr_t): Likewise.
5704 [POSIX] (pthread_once_t): Likewise.
5705 [POSIX] (pthread_t): Likewise.
5706 [POSIX-based standards] (pthread_atfork): Expect function.
5708 2013-09-24 Joseph Myers <joseph@codesourcery.com>
5709 Richard Sandiford <richard@codesourcery.com>
5711 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
5712 (swap_endianness_p): New extern variable.
5713 (set_big_endian): New inline function.
5714 (maybe_swap_uint32): Likewise.
5715 (maybe_swap_uint32_array): Likewise.
5716 (maybe_swap_uint32_obstack): Likewise.
5717 * locale/programs/locfile.c: Include <stdbool.h>.
5718 (swap_endianness_p): New variable.
5719 (add_locale_uint32): Call maybe_swap_uint32.
5720 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
5721 (write_locale_data): Call maybe_swap_uint32_array.
5722 * locale/programs/ld-collate.c (obstack_int32_grow): Call
5724 (obstack_int32_grow_fast): Likewise.
5725 (output_weightwc): Call maybe_swap_uint32_obstack.
5726 (collate_output): Likewise.
5727 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
5728 (OPT_LITTLE_ENDIAN): Likewise.
5729 (options): Add --little-endian and --big-endian options.
5730 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
5731 * locale/programs/locarchive.c: Include "locfile.h".
5735 (create_archive): Use the new macros to access fields of
5736 structures directly mapped from or written to locale archives.
5737 (oldlocrecentcmp): Likewise.
5738 (enlarge_archive): Likewise.
5739 (insert_name): Likewise.
5740 (add_alias): Likewise.
5741 (add_locale): Likewise.
5742 (delete_locales_from_archive): Likewise.
5743 (show_archive_content): Likewise.
5744 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
5747 2013-09-24 Roland McGrath <roland@hack.frob.com>
5749 * manual/freemanuals.texi: Updated from (newly) canonical copy at
5750 http://www.gnu.org/doc/freemanuals.texi.
5751 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
5753 2013-09-24 Will Newton <will.newton@linaro.org>
5755 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
5758 2013-09-23 Joseph Myers <joseph@codesourcery.com>
5760 * locale/hashval.h (compute_hashval): Interpret bytes of key as
5763 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
5765 * manual/threads.texi (POSIX Threads): Fix a typo.
5767 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5770 * string/tst-strcoll-overflow.c: New test case.
5771 * string/Makefile (xtests): Add tst-strcoll-overflow.
5772 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5773 cache if string sizes may cause integer overflow.
5776 * string/strcoll_l.c (coll_seq): New members rule, idx,
5777 save_idx and back_us.
5778 (get_next_seq_nocache): New function.
5779 (do_compare_nocache): New function.
5780 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5783 2013-09-23 Carlos O'Donell <carlos@redhat.com>
5786 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5787 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5788 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5791 * elf/Makefile (tests): Add tst-ptrguard1.
5792 (tests-static): Add tst-ptrguard1-static.
5793 (tst-ptrguard1-ARGS): Define.
5794 (tst-ptrguard1-static-ARGS): Define.
5795 * elf/tst-ptrguard1.c: New file.
5796 * elf/tst-ptrguard1-static.c: New file.
5797 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5798 * sysdeps/i386/stackguard-macros.h: Likewise.
5799 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5800 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5801 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5802 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5803 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5804 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5806 2013-09-23 Hector Marco <hecmargi@upv.es>
5807 Ismael Ripoll <iripoll@disca.upv.es>
5808 Carlos O'Donell <carlos@redhat.com>
5811 * sysdeps/generic/stackguard-macros.h: Define
5812 __pointer_chk_guard_local and POINTER_CHK_GUARD.
5813 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5814 Define __pointer_chk_guard_local.
5815 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5816 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5818 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
5821 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5823 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
5825 * include/string.h (__ffs): Declare as hidden.
5826 * string/ffs.c (__ffs): Define as hidden.
5827 * sysdeps/i386/ffs.c (__ffs): Likewise.
5828 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5829 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5830 * sysdeps/s390/ffs.c (__ffs): Likewise.
5831 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5833 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
5835 * NEWS: Mention malloc probes.
5837 * malloc/arena.c (new_heap): New memory_heap_new probe.
5838 (grow_heap): New memory_heap_more probe.
5839 (shrink_heap): New memory_heap_less probe.
5840 (heap_trim): New memory_heap_free probe.
5841 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5842 (systrim): New memory_sbrk_less probe.
5843 * manual/probes.texi: Document them.
5845 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5846 * manual/probes.texi: Document it.
5848 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5849 (__libc_realloc): Add memory_realloc_retry probe.
5850 (__libc_memalign): Add memory_memalign_retry probe.
5851 (__libc_valloc): Add memory_valloc_retry probe.
5852 (__libc_pvalloc): Add memory_pvalloc_retry probe.
5853 (__libc_calloc): Add memory_calloc_retry probe.
5854 * manual/probes.texi: Document them.
5856 * malloc/arena.c (get_free_list): Add probe
5857 memory_arena_reuse_free_list.
5858 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5859 and memory_arena_reuse.
5860 (arena_get2) [!PER_THREAD]: Likewise.
5861 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5862 memory_arena_reuse_realloc.
5863 * manual/probes.texi: Document them.
5865 * malloc/malloc.c (__libc_free): Add
5866 memory_mallopt_free_dyn_thresholds probe.
5867 (__libc_mallopt): Add multiple memory_mallopt probes.
5868 * manual/probes.texi: Document them.
5870 * malloc/malloc.c: Include stap-probe.h.
5871 (__libc_mallopt): Add memory_mallopt probe.
5872 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5873 * manual/probes.texi: New.
5874 * manual/Makefile (chapters): Add probes.
5875 * manual/threads.texi: Set next node.
5877 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
5880 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5881 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5882 Add `Chinese' to `nan' entry name.
5884 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5886 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5887 (POLYNOMIAL): Likewise.
5888 (TAYLOR_SINCOS): Likewise.
5889 (TAYLOR_SLOW): Likewise.
5890 (__sin): Use TAYLOR_SINCOS.
5892 (slow): Use TAYLOR_SLOW.
5897 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5899 * stdlib/strtod_l.c: Fix buffer overrun.
5901 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5903 * benchtests/Makefile (bench): Add sincos.
5904 * benchtests/bench-sincos.c: New file.
5906 * math/libm-test.inc (cos_test_data): New test inputs.
5907 (sin_test_data): Likewise.
5909 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5917 (bsloww1): Likewise.
5918 (bsloww2): Likewise.
5920 (csloww1): Likewise.
5921 (csloww2): Likewise.
5923 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5928 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5932 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
5934 * config.h.in (HAVE_MIPS_NAN2008): New macro.
5935 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5936 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5937 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5938 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5939 * elf/cache.c (print_entry): Handle the new cache flags.
5941 2013-09-18 Joseph Myers <joseph@codesourcery.com>
5942 Aldy Hernandez <aldyh@redhat.com>
5944 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5945 Change condition to [_SOFT_FLOAT].
5946 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5947 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5948 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5949 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5950 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5951 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5952 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5953 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5954 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5955 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5956 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5957 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5958 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5959 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5960 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5961 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5964 2013-09-18 Joseph Myers <joseph@codesourcery.com>
5966 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5967 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5968 (__longjmp): Use LOAD_GP to load saved GPRs.
5969 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5970 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5971 (__sigsetjmp): Use SAVE_GP to save GPRs.
5973 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5974 Do not append -msoft-float.
5975 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5977 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5979 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5981 2013-09-17 Joseph Myers <joseph@codesourcery.com>
5984 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5985 (_FPU_GETCW): Use initial "__" on variable and field names but not
5986 on macro parameter name.
5987 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
5988 parentheses around reference to macro parameter.
5990 2013-09-13 Richard Sandiford <richard@codesourcery.com>
5992 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5994 (ctype_startup): Use uint32_t in cast and sizeof for
5997 2013-09-11 Jia Liu <proljc@gmail.com>
5999 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
6001 [__FreeBSD__]: Likewise.
6003 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
6005 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6006 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
6007 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
6008 (strchr): Remove __strchr_sse42 ifunc selection.
6009 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
6010 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
6012 2013-09-11 Will Newton <will.newton@linaro.org>
6014 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
6015 parameter to RES. Remove hardcoded 1000 value.
6016 * benchtests/bench-skeleton.c (main): Pass RES parameter
6017 to TIMING_INIT and multiply result by 1000.
6019 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6021 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6023 2013-09-11 Andreas Schwab <schwab@suse.de>
6025 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
6027 (O_TMPFILE) [__USE_GNU]: Define.
6028 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
6031 2013-09-11 Will Newton <will.newton@linaro.org>
6034 * malloc/malloc.c (__libc_memalign): Check the value of bytes
6037 2013-09-11 Will Newton <will.newton@linaro.org>
6040 * malloc/malloc.c (__libc_valloc): Check the value of bytes
6043 2013-09-11 Will Newton <will.newton@linaro.org>
6046 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
6049 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
6051 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
6052 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6053 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6054 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6055 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6057 2013-09-10 Allan McRae <allan@archlinux.org>
6060 * manual/arith.texi (Parsing of Floats): Clarify
6064 * manual/install.texi (Running make install): Mention
6066 * INSTALL: Regenerated.
6068 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6070 * csu/init-first.c (_init): Remove the !SHARED condition around
6071 FPU control word initialization.
6072 * elf/dl-support.c (_dl_fpu_control): New variable.
6073 (_dl_aux_init) <AT_FPUCW>: Initialize it.
6074 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
6075 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
6076 * math/test-fpucw-static.c: New file.
6077 * math/test-fpucw-ieee.c: New file.
6078 * math/test-fpucw-ieee-static.c: New file.
6079 * math/Makefile (tests): Add `test-fpucw-ieee' and
6081 (tests-static): New variable.
6082 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
6084 [($(build-shared),yes)]
6085 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
6087 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
6090 2013-09-09 Allan McRae <allan@archlinux.org>
6093 * manual/string.texi (Collation Functions): Fix typo in
6095 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
6098 * stdlib/isomac.c (get_null_defines): Fix memory leak.
6101 * libio/memstream.c (open_memstream): Fix memory leak.
6102 * libio/wmemstream.c (open_wmemstream): Likewise.
6105 * nscd/netgroupcache.c: Fix nesting of ifdefs.
6107 2013-09-09 Will Newton <will.newton@linaro.org>
6109 * malloc/Makefile: Add tst-realloc to tests.
6110 * malloc/tst-realloc.c: New file.
6112 2013-09-09 Allan McRae <allan@archlinux.org>
6115 * COPYING: Update from GNU website to fix FSF address.
6116 * COPYING.LIB: Likewise.
6118 2013-09-06 David S. Miller <davem@davemloft.net>
6120 * po/zh_TW.po: Update Chinese (traditional) translation from
6121 translation project.
6123 2013-09-06 Richard Sandiford <richard@codesourcery.com>
6124 Joseph Myers <joseph@codesourcery.com>
6126 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
6128 (obstack_chunk_alloc): New macro.
6129 (obstack_chunk_free): Likewise.
6130 (record_offset): New function.
6131 (init_locale_data): Likewise.
6132 (align_locale_data): Likewise.
6133 (add_locale_empty): Likewise.
6134 (add_locale_raw_data): Likewise.
6135 (add_locale_raw_obstack): Likewise.
6136 (add_locale_string): Likewise.
6137 (add_locale_wstring): Likewise.
6138 (add_locale_uint32): Likewise.
6139 (add_locale_uint32_array): Likewise.
6140 (add_locale_char): Likewise.
6141 (start_locale_structure): Likewise.
6142 (end_locale_structure): Likewise.
6143 (start_locale_prelude): Likewise.
6144 (end_locale_prelude): Likewise.
6145 (write_locale_data): Take locale_file structure rather than an
6147 * locale/programs/locfile.h: Include "obstack.h".
6148 (struct locale_file): Change to store locale file contents instead
6150 (init_locale_data): New prototype.
6151 (align_locale_data): Likewise.
6152 (add_locale_empty): Likewise.
6153 (add_locale_raw_data): Likewise.
6154 (add_locale_raw_obstack): Likewise.
6155 (add_locale_string): Likewise.
6156 (add_locale_wstring): Likewise.
6157 (add_locale_uint32): Likewise.
6158 (add_locale_uint32_array): Likewise.
6159 (add_locale_char): Likewise.
6160 (start_locale_structure): Likewise.
6161 (end_locale_structure): Likewise.
6162 (start_locale_prelude): Likewise.
6163 (end_locale_prelude): Likewise.
6164 (write_locale_data): Update prototype.
6165 * locale/programs/3level.h (struct TABLE): Remove result field.
6166 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
6167 Use new locale_file interface.
6168 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
6169 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
6170 * locale/programs/ld-address.c (address_output): Use new
6171 locale_file interface.
6172 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
6174 (collate_finish): Don't call collseq_table_finalize.
6175 (collate_output): Use new locale_file interface.
6176 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
6178 (NO_FINALIZE): Change to NO_ADD_LOCALE.
6179 (TABLE): Move defines earlier in file.
6180 (ELEMENT): Likewise.
6181 (DEFAULT): Likewise.
6182 (wctrans_table_add): Move macro and inline function earlier in
6184 (struct wctype_table): Move type earlier in file.
6185 (add_locale_wctype_table): New static prototype.
6186 (struct locale_ctype_t): Use logical types instead of struct iovec
6187 pointers for members.
6188 (ctype_output): Use new locale_file interface.
6189 (wctype_table_finalize): Change to add_locale_wctype_table. Use
6190 new locale_file interface.
6191 (allocate_arrays): Update for use of new locale_file interface.
6192 * locale/programs/ld-identification.c (identification_output): Use
6193 new locale_file interface.
6194 * locale/programs/ld-measurement.c (measurement_output): Likewise.
6195 * locale/programs/ld-messages.c (messages_output): Likewise.
6196 * locale/programs/ld-monetary.c (monetary_output): Likewise.
6197 * locale/programs/ld-name.c (name_output): Likewise.
6198 * locale/programs/ld-numeric.c (numeric_output): Likewise.
6199 * locale/programs/ld-paper.c (paper_output): Likewise.
6200 * locale/programs/ld-telephone.c (telephone_output): Likewise.
6201 * locale/programs/ld-time.c (time_output): Likewise.
6203 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6205 * benchtests/Makefile: Add memrchr benchmark.
6206 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
6207 benchmark as memrchr.
6208 * benchtests/bench-memrchr-ifunc.c: New file.
6209 * benchtests/bench-memrchr.c: New file.
6211 2013-09-06 Will Newton <will.newton@linaro.org>
6213 * benchtests/Makefile (string-bench): Add memcpy.
6215 2013-09-05 Carlos O'Donell <carlos@redhat.com>
6216 Cong Wang <amwang@redhat.com>
6219 * sysdeps/unix/sysv/linux/bits/in.h
6220 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
6221 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
6222 before __USE_KERNEL_IPV6_DEFS uses.
6223 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
6225 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
6226 sockaddr_in6, or ipv6_mreq.
6228 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6230 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
6231 memory access for final bytes in some large inputs.
6232 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
6234 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6236 * string/test-memrchr.c: New file.
6237 * string/test-memrchr-ifunc.c: New file.
6238 * string/Makefile: Add new memrchr testcase.
6240 2013-09-05 Mike Frysinger <vapier@gentoo.org>
6242 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
6243 fanotify_init returns EPERM.
6245 2013-09-04 Joseph Myers <joseph@codesourcery.com>
6247 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
6249 (top level): Treat second token from macro or constant entries for
6250 allowed headers as allowed.
6251 * include/complex.h: Condition internal declarations on
6253 * include/fenv.h: Condition include of <stdbool.h> and internal
6254 declarations on [!_ISOMAC].
6256 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
6259 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
6261 2013-09-04 Joseph Myers <joseph@codesourcery.com>
6263 * configure.in (--enable-versioning): Remove configure option.
6264 (libc_cv_asm_symver_directive): Remove configure test.
6265 (libc_cv_ld_version_script_option): Likewise.
6266 (VERSIONING): Remove variable and AC_SUBST.
6267 (DO_VERSIONING): Remove AC_DEFINE.
6268 * configure: Regenerated.
6269 * config.h.in (DO_VERSIONING): Remove macro.
6270 * Makerules [$(versioning) = yes]: Change conditionals to
6271 [$(build-shared) = yes].
6272 * config.make.in (versioning): Remove variable.
6273 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
6274 [$(build-shared) = yes].
6275 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
6276 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
6277 * elf/Makefile [$(versioning) = yes]: Change conditionals to
6278 [$(build-shared) = yes].
6279 * extra-lib.mk [$(versioning) = yes]: Likewise.
6280 * hurd/Makefile [$(versioning) = yes]: Likewise.
6281 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
6283 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
6285 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6286 [SHARED && !NO_HIDDEN].
6287 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
6289 [SHARED && DO_VERSIONING]: Likewise..
6290 * libio/Makefile [$(versioning) = yes]: Change conditionals to
6291 [$(build-shared) = yes].
6292 * manual/install.texi (--disable-versioning): Remove
6294 * INSTALL: Regenerated.
6295 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
6297 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
6298 [$(build-shared) = yes].
6299 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
6300 * sysdeps/i386/i686/multiarch/strstr-c.c
6301 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6302 [SHARED && !NO_HIDDEN].
6303 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
6304 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
6305 * sysdeps/powerpc/powerpc32/dl-machine.c
6306 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
6307 * sysdeps/powerpc/powerpc32/sysdep.h
6308 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
6309 to [SHARED && PIC && !NO_HIDDEN].
6310 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
6311 conditional to [SHARED].
6313 2013-09-04 Will Newton <will.newton@linaro.org>
6315 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
6316 * benchtests/bench-string.h: Include bench-timing.h instead
6317 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
6318 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
6319 call to HP_TIMING_DIFF_INIT.
6320 * benchtests/bench-memccpy.c: Use bench-timing.h macros
6321 instead of hp-timing.h macros.
6322 * benchtests/bench-memchr.c: Likewise.
6323 * benchtests/bench-memcmp.c: Likewise.
6324 * benchtests/bench-memcpy.c: Likewise.
6325 * benchtests/bench-memmem.c: Likewise.
6326 * benchtests/bench-memmove.c: Likewise.
6327 * benchtests/bench-memset.c: Likewise.
6328 * benchtests/bench-rawmemchr.c: Likewise.
6329 * benchtests/bench-strcasecmp.c: Likewise.
6330 * benchtests/bench-strcasestr.c: Likewise.
6331 * benchtests/bench-strcat.c: Likewise.
6332 * benchtests/bench-strchr.c: Likewise.
6333 * benchtests/bench-strcmp.c: Likewise.
6334 * benchtests/bench-strcpy.c: Likewise.
6335 * benchtests/bench-strcpy_chk.c: Likewise.
6336 * benchtests/bench-strlen.c: Likewise.
6337 * benchtests/bench-strncasecmp.c: Likewise.
6338 * benchtests/bench-strncat.c: Likewise.
6339 * benchtests/bench-strncmp.c: Likewise.
6340 * benchtests/bench-strncpy.c: Likewise.
6341 * benchtests/bench-strnlen.c: Likewise.
6342 * benchtests/bench-strpbrk.c: Likewise.
6343 * benchtests/bench-strrchr.c: Likewise.
6344 * benchtests/bench-strspn.c: Likewise.
6345 * benchtests/bench-strstr.c: Likewise.
6347 2013-09-04 Will Newton <will.newton@linaro.org>
6349 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
6351 2013-09-03 Joseph Myers <joseph@codesourcery.com>
6354 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6355 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
6356 * math/libm-test.inc (lgamma_test_data): Add more tests.
6357 * sysdeps/i386/fpu/libm-test-ulps: Update.
6358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6360 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
6362 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
6363 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6365 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6366 Add strcmp-sse2-unaligned
6367 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
6369 2013-09-02 Mike Frysinger <vapier@gentoo.org>
6371 * Versions.def (libc): Add GLIBC_2.19.
6373 2013-09-02 Mike Frysinger <vapier@gentoo.org>
6375 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
6376 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
6378 2013-09-02 Joseph Myers <joseph@codesourcery.com>
6381 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
6382 intermediate calculations in recurrence.
6383 (__ieee754_ynf): Likewise.
6384 * math/libm-test.inc (jn_test_data): Do not allow spurious
6385 underflow exception. Add more tests.
6386 (yn_test_data): Add more tests.
6387 * sysdeps/i386/fpu/libm-test-ulps: Update.
6388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6390 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
6392 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
6394 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
6396 * csu/init-first.c: Fix then/than typos.
6397 * locale/programs/ld-collate.c: Likewise.
6398 * locale/programs/linereader.h: Likewise.
6399 * manual/charset.texi: Likewise.
6400 * manual/filesys.texi: Likewise.
6401 * manual/stdio.texi: Likewise.
6402 * manual/string.texi: Likewise.
6403 * stdlib/fmtmsg.c: Likewise.
6404 * sysdeps/i386/stpncpy.S: Likewise.
6405 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6406 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6407 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6408 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6410 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
6412 * elf/dl-open.c: Fix typos.
6413 * iconvdata/gbbig5.c: Likewise.
6414 * iconvdata/iso-2022-jp.c: Likewise.
6415 * iconv/gconv_int.h: Likewise.
6416 * iconv/loop.c: Likewise.
6417 * nis/rpcsvc/nis.h: Likewise.
6418 * resolv/ns_name.c: Likewise.
6419 * stdio-common/vfscanf.c: Likewise.
6420 * streams/stropts.h: Likewise.
6421 * sunrpc/rpc_thread.c: Likewise.
6422 * sysdeps/i386/strpbrk.S: Likewise.
6423 * sysdeps/ieee754/k_standard.c: Likewise.
6424 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6425 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6426 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
6427 * sysdeps/mach/hurd/profil.c: Likewise.
6428 * sysdeps/s390/dl-procinfo.h: Likewise.
6429 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6430 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6431 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
6432 * sysdeps/x86_64/dl-trampoline.S: Likewise.
6433 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6435 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
6437 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
6438 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
6440 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
6442 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
6444 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
6445 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
6446 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
6447 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
6448 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
6449 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
6450 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
6451 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
6453 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
6454 Roland McGrath <roland@hack.frob.com>
6456 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
6457 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6459 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
6461 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
6462 __executable_start symbol instead of _start.
6464 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
6466 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
6467 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
6469 * sysdeps/gnu/ldsodefs.h: ... this new file.
6471 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
6472 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
6473 instead of ELFOSABI_LINUX.
6475 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
6476 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
6477 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
6478 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
6480 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
6481 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
6482 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
6484 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6485 (ibm_extended_long_double): Add ieee_nan member.
6486 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
6487 (do_test): New function.
6489 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
6491 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
6492 functions, renamed from truncdfsf_test, trunctfsf_test,
6494 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
6496 (do_test): Run all these.
6498 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
6500 * argp/argp-help.c: Fix typos.
6501 * argp/argp-parse.c: Likewise.
6502 * debug/backtracesyms.c: Likewise.
6503 * elf/elf.h: Likewise.
6504 * malloc/malloc.c: Likewise.
6505 * nis/nis_print.c: Likewise.
6506 * resolv/res_comp.c: Likewise.
6507 * stdlib/stdlib.h: Likewise.
6508 * sunrpc/clnt_tcp.c: Likewise.
6509 * sunrpc/clnt_udp.c: Likewise.
6510 * sunrpc/clnt_unix.c: Likewise.
6511 * sysdeps/unix/bsd/ptsname.c: Likewise.
6512 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6513 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
6514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
6516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
6518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6520 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6522 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6524 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
6525 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6527 2013-08-27 Mike Frysinger <vapier@gentoo.org>
6530 * dlfcn/Makefile (tests): Add bug-dl-leaf.
6531 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
6532 ($(objpfx)bug-dl-leaf): New rule.
6533 ($(objpfx)bug-dl-leaf.so): Likewise.
6534 ($(objpfx)bug-dl-leaf.out): Likewise.
6535 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
6536 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
6537 * dlfcn/bug-dl-leaf.c: New test.
6538 * dlfcn/bug-dl-leaf-lib.c: Likewise.
6539 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
6540 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
6541 (dlclose): Likewise.
6542 (dlmopen): Likewise.
6544 2013-08-27 Roland McGrath <roland@hack.frob.com>
6546 * include/netdb.h [!_ISOMAC]:
6547 Don't include <tls.h>.
6548 (h_errno, __libc_h_errno): Move declaration and macros out of
6551 * include/resolv.h [_RESOLV_H_]:
6552 Don't include <tls.h>.
6553 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
6554 * resolv/res_libc.c: Don't include <tls.h>.
6555 (_res): Use __attribute__ ((nocommon)) in place of
6556 __attribute__ ((section (".bss"))).
6558 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
6559 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
6561 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
6563 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
6564 only under [SIOCGIFCONF && SIOCGIFNETMASK].
6566 * resolv/res_mkquery.c: Include <sys/time.h>.
6568 * inet/ifreq.c: Moved to ...
6569 * sysdeps/unix/ifreq.c: ... here.
6570 * inet/ifreq.c: New file, true stub version.
6572 * socket/sa_len.c: New file.
6573 * socket/Makefile (aux): Add it.
6574 * sysdeps/unix/sysv/linux/Makefile
6575 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
6576 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
6577 and #include <socket/sa_len.c>.
6578 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
6579 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
6581 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
6582 * bits/socket.h: ... here.
6584 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
6585 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
6586 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
6588 2013-08-27 Andreas Schwab <schwab@suse.de>
6591 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
6592 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
6593 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
6594 * string/test-strcasecmp.c (test_main): Run tests in several
6596 * string/test-strncasecmp.c (test_main): Likewise.
6598 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
6599 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
6600 to __strcasecmp_nonascii and __strncasecmp_nonascii.
6601 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
6602 (__strncasecmp_ssse3) [PIC]: Likewise.
6604 2013-08-26 Roland McGrath <roland@hack.frob.com>
6606 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
6608 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
6609 instead of explicitly declaring xdecrypt.
6610 * nis/nss_nis/nis-publickey.c: Likewise.
6612 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6615 * nscd/aicache.c: Include res_hconf.h.
6616 (addhstaiX): Initialize res_hconf.
6618 2013-08-26 Andreas Schwab <schwab@suse.de>
6620 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
6621 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
6623 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6625 * nscd/aicache.c (addhstaiX): Fix indentation.
6627 2013-08-25 Mike Frysinger <vapier@gentoo.org>
6629 * configure.ac: Quote $build_pt_chown test.
6630 * configure: Regenerated.
6632 2013-08-23 Joseph Myers <joseph@codesourcery.com>
6635 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
6636 * math/s_cexpf.c (__cexpf): Likewise.
6637 * math/s_cexpl.c (__cexpl): Likewise.
6638 * math/libm-test.inc (cexp_test_data): Correct expected return
6639 value for NaN + i0. Add another test.
6641 2013-08-22 David S. Miller <davem@davemloft.net>
6643 * po/ca.po: Update Catalan translation from translation project.
6644 * po/uk.po: Add Ukrainian translations from translation project.
6646 2013-08-21 Joseph Myers <joseph@codesourcery.com>
6649 * math/s_fdim.c (__fdim): Check for infinite arguments if result
6650 is infinite, not alongside NaN test.
6651 * math/s_fdimf.c (__fdimf): Likewise.
6652 * math/s_fdiml.c (__fdiml): Likewise.
6653 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
6656 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
6658 * argp/argp-help.c: Fix typos.
6659 * crypt/speeds.c: Likewise.
6660 * csu/check_fds.c: Likewise.
6661 * elf/dl-load.c: Likewise.
6662 * elf/dl-open.c: Likewise.
6663 * elf/reldep3.c: Likewise.
6664 * elf/reldep.c: Likewise.
6665 * elf/sprof.c: Likewise.
6666 * iconv/iconv_charmap.c: Likewise.
6667 * iconv/skeleton.c: Likewise.
6668 * iconv/strtab.c: Likewise.
6669 * io/lockf64.c: Likewise.
6670 * libio/libioP.h: Likewise.
6671 * resolv/gai_notify.c: Likewise.
6672 * resolv/ns_name.c: Likewise.
6673 * resolv/ns_samedomain.c: Likewise.
6674 * resolv/res_send.c: Likewise.
6675 * stdlib/random.c: Likewise.
6676 * sunrpc/rpc/xdr.h: Likewise.
6677 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
6678 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6679 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6680 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6681 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6682 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6683 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6684 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6685 * sysdeps/mach/hurd/check_fds.c: Likewise.
6686 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6687 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6688 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6689 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6690 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6691 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6692 * sysdeps/pthread/aio_notify.c: Likewise.
6693 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6694 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
6695 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
6696 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6697 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6699 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6701 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
6702 version if bit_Slow_SSE4_2 is set.
6703 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6704 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6706 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6709 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
6710 trampoline stack frame information.
6711 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
6712 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
6713 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
6714 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
6715 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
6716 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6717 (_libc_vdso_platform_setup): Initialize the signal trampolines.
6718 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
6720 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
6721 interrupting a syscall and set with option SA_SIGINFO.
6723 2013-08-20 Joseph Myers <joseph@codesourcery.com>
6726 * math/s_cproj.c (__cproj): Only return an infinity if one part of
6727 argument is infinite.
6728 * math/s_cprojf.c (__cprojf): Likewise.
6729 * math/s_cprojl.c (__cprojl): Likewise.
6730 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
6731 * math/libm-test.inc (cproj_test_data): Add more tests.
6733 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
6735 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
6736 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
6737 size. Use __ffs to determine corresponding shift.
6739 2013-08-20 Joseph Myers <joseph@codesourcery.com>
6740 Roland McGrath <roland@hack.frob.com>
6742 * Makefile (INSTALL): Remove trailing blank lines from output of
6745 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6747 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
6748 Align 32 bit compat elf_greg to 8 bytes.
6750 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6752 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
6754 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6756 * string/strcoll_l.c (coll_seq): New structure.
6757 (get_next_seq_cached): New function.
6758 (get_next_seq): New function.
6759 (do_compare): New function.
6760 (STRCOLL): Use GNU style definition. Simplify implementation
6761 by using get_next_seq, get_next_seq_cached and do_compare.
6763 2013-08-16 Florian Weimer <fweimer@redhat.com>
6767 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6769 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6771 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6772 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6773 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
6775 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6776 GETDENTS_64BIT_ALIGNED.
6777 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6778 * manual/filesys.texi (Reading/Closing Directory): Document
6779 ENAMETOOLONG return value of readdir_r. Recommend readdir more
6781 * manual/conf.texi (Limits for Files): Add portability note to
6783 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6785 2013-08-13 Andreas Schwab <schwab@suse.de>
6788 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6790 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6791 LDBL_MAX_EXP >= 16384]: Add tests for it.
6793 2013-08-12 David S. Miller <davem@davemloft.net>
6795 * version.h (RELEASE): Set to "development".
6796 (VERSION): Set to "2.18.90".
6797 * NEWS: Add 2.19 section.
6799 2013-08-03 David S. Miller <davem@davemloft.net>
6801 * po/ko.po: Update Korean translation from translation project.
6803 2013-08-01 David S. Miller <davem@davemloft.net>
6805 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
6806 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6809 2013-07-30 David S. Miller <davem@davemloft.net>
6811 * po/fr.po: Update French translation from translation project.
6813 2013-07-28 David S. Miller <davem@davemloft.net>
6815 * po/cs.po: Update Czech translation from translation project.
6817 * po/sv.po: Update Swedish translation from translation project.
6819 2013-07-27 David S. Miller <davem@davemloft.net>
6821 * po/eo.po: Update Esperanto translation from translation project.
6823 * po/vi.po: Update Vietnamese translation from translation project.
6825 * po/de.po: Update German translation from translation project.
6827 2013-07-26 David S. Miller <davem@davemloft.net>
6829 * po/bg.po: Update Bulgarian translation from translation project.
6831 * po/nl.po: Update Dutch translation from translation project.
6832 * po/pl.po: Update Polish translation from translation project.
6833 * po/ru.po: Update Russian translation from translation project.
6835 2013-07-24 David S. Miller <davem@davemloft.net>
6837 * po/libc.pot: Update.
6839 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6841 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6843 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6844 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6845 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6847 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6849 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6851 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6852 Andreas Schwab <schwab@suse.de>
6853 Roland McGrath <roland@hack.frob.com>
6854 Joseph Myers <joseph@codesourcery.com>
6855 Carlos O'Donell <carlos@redhat.com>
6858 * config.h.in: Define HAVE_PT_CHOWN.
6859 * config.make.in (build-pt-chown): New variable.
6860 * configure.in (--enable-pt_chown): New configure option.
6861 * configure: Regenerate.
6862 * login/Makefile: Include Makeconfig. Build pt_chown only if
6863 build-pt-chown is enabled.
6864 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6865 pt_chown to fix pty ownership.
6866 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6868 * manual/install.texi (Configuring and compiling): Mention
6869 --enable-pt_chown. Add @findex for grantpt.
6870 * INSTALL: Regenerate.
6872 2013-07-20 David S. Miller <davem@davemloft.net>
6874 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6875 difference between 32-bit and 64-bit.
6877 2013-07-15 Carlos O'Donell <carlos@redhat.com>
6880 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6881 Avoid system header dependency with -ffreestanding.
6882 ($(objpfx)bits/syscall%d): Likewise.
6884 2013-07-13 David S. Miller <davem@davemloft.net>
6886 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6887 underflows from atanl/atan2l due to bug 15319.
6888 (casinh_test_data): Likewise.
6890 2013-07-07 David S. Miller <davem@davemloft.net>
6892 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6894 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
6896 * sysdeps/i386/fpu/libm-test-ulps: Update.
6897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6899 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6901 * configure.in (--enable-lock-elision): Fix message text.
6902 * INSTALL: Regenerate.
6903 * configure: Regenerate.
6905 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6907 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6909 2013-07-03 Andreas Jaeger <aj@suse.de>
6911 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6913 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6914 (ptrace_peeksiginfo_args): Add.
6915 (__ptrace_peeksiginfo_flags): Add.
6916 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6917 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6918 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6920 2013-07-03 Allan McRae <allan@archlinux.org>
6922 * sysdeps/i386/fpu/libm-test-ulps: Update.
6924 2013-07-02 David S. Miller <davem@davemloft.net>
6926 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6928 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
6930 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6932 2013-07-02 Joseph Myers <joseph@codesourcery.com>
6934 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6937 2013-07-02 Andi Kleen <ak@linux.intel.com>
6939 * config.h.in (ENABLE_LOCK_ELISION): Add.
6940 * configure.in (--enable-lock-elision): Add option.
6941 * manual/install.texi: Document --enable lock elision.
6942 * configure: Regenerate
6943 * INSTALL: Regenerate.
6945 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
6947 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6948 SSE4.2 strcasecmp for libc.a.
6949 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6951 2013-07-02 Joseph Myers <joseph@codesourcery.com>
6954 * soft-fp/op-common.h (_FP_FMA): New macro.
6955 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6956 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
6957 (_FP_MUL_MEAT_1_imm): ... here.
6958 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
6959 (_FP_MUL_MEAT_1_wide): ... here.
6960 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
6961 (_FP_MUL_MEAT_1_hard): ... here.
6962 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6963 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
6964 (_FP_MUL_MEAT_2_wide): ... here.
6965 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
6966 (_FP_MUL_MEAT_2_wide_3mul): ... here.
6967 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
6968 (_FP_MUL_MEAT_2_gmp): ... here.
6969 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6970 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
6971 (_FP_MUL_MEAT_4_wide): ... here.
6972 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
6973 (_FP_MUL_MEAT_4_gmp): ... here.
6974 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6975 (_FP_WFRACBITS_DW_S): Likewise.
6976 (_FP_WFRACXBITS_DW_S): Likewise.
6977 (_FP_HIGHBIT_DW_S): Likewise.
6978 (FP_FMA_S): Likewise.
6979 (_FP_FRAC_HIGH_DW_S): Likewise.
6980 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6981 (_FP_WFRACBITS_DW_D): Likewise.
6982 (_FP_WFRACXBITS_DW_D): Likewise.
6983 (_FP_HIGHBIT_DW_D): Likewise.
6984 (FP_FMA_D): Likewise.
6985 (_FP_FRAC_HIGH_DW_D): Likewise.
6986 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6987 (_FP_WFRACBITS_DW_E): Likewise.
6988 (_FP_WFRACXBITS_DW_E): Likewise.
6989 (_FP_HIGHBIT_DW_E): Likewise.
6990 (FP_FMA_E): Likewise.
6991 (_FP_FRAC_HIGH_DW_E): Likewise.
6992 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6993 (_FP_WFRACBITS_DW_Q): Likewise.
6994 (_FP_WFRACXBITS_DW_Q): Likewise.
6995 (_FP_HIGHBIT_DW_Q): Likewise.
6996 (FP_FMA_Q): Likewise.
6997 (_FP_FRAC_HIGH_DW_Q): Likewise.
6998 * soft-fp/fmasf4.c: New file.
6999 * soft-fp/fmadf4.c: Likewise.
7000 * soft-fp/fmatf4.c: Likewise.
7002 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7004 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
7005 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
7007 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
7009 (index_Slow_SSE4_2): Likewise.
7010 (index_Prefer_PMINUB_for_stringop): Likewise.
7011 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
7012 bit_Slow_SSE4_2 is set.
7013 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7014 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7016 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7018 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
7019 rtld_global._dl_hwcap2.
7020 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
7022 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
7023 POWER8 feature descriptions defined in _dl_hwcap2.
7024 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
7025 string handling for POWER8 feature bits.
7026 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
7027 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
7028 _dl_powerpc_cap_flags.
7029 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
7030 * sysdeps/powerpc/rtld-global-offsets.sym
7031 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
7032 _dl_hwcap2 in the rtld_global_ro structure.
7034 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7036 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
7037 hardware capabilities in support of AT_HWCAP2.
7038 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
7039 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
7041 (_dl_show_auxv): Add support for calling _dl_procinfo to display
7042 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
7043 explicitly the unknown a_type display mechanism is used.
7044 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
7045 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
7047 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
7048 to macro prototype for AT_HWCAP2 support.
7049 * sysdeps/i386/dl-procinfo.h: Likewise.
7050 * sysdeps/s390/dl-procinfo.h: Likewise.
7051 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
7052 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
7053 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
7054 return -1 for unknown a_type display fallback.
7055 * sysdeps/sparc/dl-procinfo.h: Likewise.
7056 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
7057 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
7059 2013-06-28 Joseph Myers <joseph@codesourcery.com>
7061 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
7062 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
7064 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
7067 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
7068 mprotect making __stack_prot writable.
7070 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
7071 Joseph Myers <joseph@codesourcery.com>
7073 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
7074 as being properly aligned.
7076 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
7078 * dlfcn/modstatic5.c: New file.
7079 * dlfcn/tststatic5.c: New file.
7080 * dlfcn/Makefile (tests): Add tststatic5.
7081 (tests-static): Likewise.
7082 (modules-names): Add modstatic5.
7083 (tststatic5-ENV): New variable.
7084 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
7087 * elf/dl-support.c (_dl_main_map): New variable.
7088 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
7089 (_dl_nns, _dl_load_adds): Set to 1.
7090 (_dl_initial_searchlist): Refer to _dl_main_map.
7091 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
7092 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
7093 call to _dl_get_origin.
7094 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
7096 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
7097 * dlfcn/modstatic3.c: New file.
7098 * dlfcn/tststatic3.c: New file.
7099 * dlfcn/tststatic4.c: New file.
7100 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
7101 (tests-static): Likewise.
7102 (modules-names): Add modstatic3.
7103 (tststatic3-ENV, tststatic4-ENV): New variables.
7104 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
7105 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
7107 2013-06-26 Joseph Myers <joseph@codesourcery.com>
7109 * configure.in (CC): Require GCC version 4.4 or later.
7110 * configure: Regenerated.
7111 * manual/install.texi (Tools for Compilation): Update GCC version
7113 * INSTALL: Regenerated.
7115 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7118 * string/test-memcmp.c (check2): New.
7119 (main): Call check2.
7121 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
7123 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
7126 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
7128 (dl_open_worker) [!SHARED]: ... here.
7130 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7132 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
7134 2013-06-25 Richard Henderson <rth@redhat.com>
7136 * locale/programs/locarchive.c: Include <libc-internal.h>
7138 2013-06-25 Joseph Myers <joseph@codesourcery.com>
7140 * manual/texinfo.tex: Update to version 2013-06-21.17, with
7141 trailing whitespace removed.
7143 2013-06-24 Mike Frysinger <vapier@gentoo.org>
7146 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
7147 * locale/programs/locarchive.c: Include libc-mmap.h.
7148 (prepare_address_space): Take two new outputs (the mmap base and len).
7149 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
7151 (create_archive): Declare new mmap base and len values for
7152 prepare_address_space, and store the result in ah.
7153 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
7154 (enlarge_archive): If ah->mmap_base is not NULL, use that and
7155 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7156 Declare new mmap base and len values for
7157 prepare_address_space, and store the result in new_ah.
7158 (open_archive): Declare new mmap base and len values for
7159 prepare_address_space, and store the result in ah.
7160 (close_archive): If ah->mmap_base is not NULL, use that and
7161 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7162 * sysdeps/generic/libc-mmap.h: New file.
7164 2013-06-24 Mike Frysinger <vapier@gentoo.org>
7166 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
7167 (ALIGN_UP): Likewise.
7168 (PTR_ALIGN_DOWN): Likewise.
7169 (PTR_ALIGN_UP): Likewise.
7171 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7173 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
7174 entry mapped to PPC_PLATFORM_POWER8.
7175 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
7177 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
7178 (_dl_string_platform): Add case for exporting platform position for
7180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
7181 search path to sysdeps/powerpc/powerpc32/power8 directory.
7182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
7183 search path to sysdeps/powerpc/powerpc64/power8 directory.
7184 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
7186 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
7189 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7191 * INSTALL: Regenerate.
7193 * nscd/connections.c (nscd_init): Fix comment.
7195 2013-06-22 Joseph Myers <joseph@codesourcery.com>
7197 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
7200 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
7201 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
7203 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
7205 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
7207 (DL_DST_REQ_STATIC): Remove macro.
7209 2013-06-21 Joseph Myers <joseph@codesourcery.com>
7212 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
7213 with a shift of 0 bits.
7215 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
7217 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
7220 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7223 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
7225 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7227 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
7228 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
7229 accepts -fno-tree-loop-distribute-patterns.
7230 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
7231 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
7233 * string/memset.c (memset): Likewise.
7234 * string/test-memmove.c (simple_memmove): Disable loop transformation
7236 * string/test-memset.c (simple_memset): Likewise.
7237 * benchtests/bench-memmove.c (simple_memmove): Likewise.
7238 * benchtests/bench-memset.c (simple_memset): Likewise.
7239 * configure: Regenerated.
7241 2013-06-20 Joseph Myers <joseph@codesourcery.com>
7243 * math/test-misc.c (main): Ignore fesetround failure when failures
7244 of subsequent rounding tests would be ignored.
7247 * math/fedisblxcpt.c (fedisableexcept): Return 0.
7248 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
7249 * math/fegetenv.c (__fegetenv): Return 0.
7250 * math/fegetexcept.c (fegetexcept): Return 0.
7251 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
7253 * math/feholdexcpt.c (feholdexcept): Return 0.
7254 * math/fesetenv.c (__fesetenv): Return 0.
7255 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
7256 argument FE_TONEAREST.
7257 * math/feupdateenv.c (__feupdateenv): Return 0.
7258 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
7260 2013-06-18 Roland McGrath <roland@hack.frob.com>
7262 * elf/rtld-Rules (rtld-compile-command.S): New variable.
7263 (rtld-compile-command.s, rtld-compile-command.c): New variables.
7264 ($(objpfx)rtld-%.os rules): Use them.
7266 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7268 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
7271 2013-06-17 Roland McGrath <roland@hack.frob.com>
7273 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
7274 length of target pattern, then descending length of dependency pattern.
7275 * configure.in (AWK): Require gawk 3.1.2 or newer.
7276 * manual/install.texi (Tools for Compilation): Say that we do.
7277 * configure: Regenerated.
7279 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
7280 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
7281 * scripts/sysd-rules.awk: ... this new script.
7282 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
7283 than a glob-style pattern.
7285 2013-06-17 Joseph Myers <joseph@codesourcery.com>
7287 * math/test-misc.c (main): Do not treat incorrectly rounded
7288 conversions as failure unless ROUNDING_TESTS passes.
7290 2013-06-15 Joseph Myers <joseph@codesourcery.com>
7293 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
7294 restore exception state around main square root computation, then
7295 check for inexactness explicitly.
7297 * math/libm-test.inc (fma_test_data): Add another test.
7299 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7301 * manual/threads.texi (Non-POSIX Extensions): New document
7302 node. Document pthread_getattr_default_np and
7303 pthread_setattr_default_np.
7305 * Versions.def (libpthread): Add GLIBC_2.18.
7306 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
7307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7311 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7313 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7315 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
7317 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7319 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7321 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7323 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7326 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7328 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7329 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
7331 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7332 H.J. Lu <hjl.tools@gmail.com>
7335 * sysdeps/x86_64/rtld-memset.c: Remove file.
7336 * sysdeps/x86_64/rtld-memset.S: New file.
7338 2013-06-14 Joseph Myers <joseph@codesourcery.com>
7340 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
7341 (test_in_one_mode): Take arguments for whether the rounding mode
7342 is supported for each floating-point type.
7343 (do_test): Pass new arguments to test_in_one_mode using
7346 2013-06-13 Roland McGrath <roland@hack.frob.com>
7348 * posix/tst-waitid.c (do_test): Distinguish different instances of
7349 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
7350 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
7351 before entering the kernel for waitpid.
7353 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7355 * NEWS: Fix note on clock function precision. Text by Roland
7358 2013-06-13 Roland McGrath <roland@hack.frob.com>
7360 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
7361 it into place only when and if the sanity check passes.
7363 2013-06-13 Joseph Myers <joseph@codesourcery.com>
7365 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
7366 output for whether conversion result is exact. Take argument
7367 indicating whether type is IBM long double.
7368 (round_for_all): Change need_exact field to ibm_ld.
7369 * stdlib/tst-strtod-round.c (struct exactness): New type.
7370 (struct test): Change bool ld_ok field to struct exactness exact.
7371 (TEST): Update all definitions for change to field.
7372 (tests): Regenerate array contents.
7373 (test_in_one_mode): Take pointer to new field instead of old ld_ok
7374 field value. Check for IBM long double here.
7375 (do_test): Update calls to test_in_one_mode.
7377 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7380 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
7381 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
7383 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7386 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
7387 generated by the compiler on loop optimizations.
7388 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
7389 general definitions.
7391 2013-06-12 Joseph Myers <joseph@codesourcery.com>
7393 * math/bug-nextafter.c: Include <math-tests.h>.
7394 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7396 * math/bug-nexttoward.c: Include <math-tests.h>.
7397 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7399 * math/test-misc.c: Include <math-tests.h>.
7400 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7403 2013-06-12 Andreas Jaeger <aj@suse.de>
7405 * po/ia.po: Update Interlingua translation from translation
7408 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7410 * include/fenv.h: Include stdbool.h.
7411 (struct rm_ctx): New structure.
7412 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
7414 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
7415 (SET_RESTORE_ROUNDF): Likewise.
7416 (SET_RESTORE_ROUNDL): Likewise.
7417 (SET_RESTORE_ROUND_NOEX): Likewise.
7418 (SET_RESTORE_ROUND_NOEXF): Likewise.
7419 (SET_RESTORE_ROUND_NOEXL): Likewise.
7420 (SET_RESTORE_ROUND_53BIT): Likewise.
7421 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
7422 (libc_feresetround_noexf_ctx): Likewise.
7423 (libc_feresetround_noexl_ctx): Likewise.
7424 (libc_feholdsetround_53bit_ctx): Likewise.
7425 (libc_feresetround_53bit_ctx): Likewise.
7426 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
7427 (libc_feholdexcept_setround_sse_ctx): New function.
7428 (libc_fesetenv_sse_ctx): Likewise.
7429 (libc_feupdateenv_sse_ctx): Likewise.
7430 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
7431 (libc_feholdexcept_setround_387_ctx): Likewise.
7432 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
7433 (libc_feholdsetround_387_prec_ctx): Likewise.
7434 (libc_feholdsetround_387_ctx): Likewise.
7435 (libc_feholdsetround_387_53bit_ctx): Likewise.
7436 (libc_feholdsetround_sse_ctx): Likewise.
7437 (libc_feresetround_sse_ctx): Likewise.
7438 (libc_feresetround_387_ctx): Likewise.
7439 (libc_feupdateenv_387_ctx): Likewise.
7440 (libc_feholdexcept_setroundf_ctx): Define macro.
7441 (libc_fesetenvf_ctx): Likewise.
7442 (libc_feupdateenvf_ctx): Likewise.
7443 (libc_feholdsetroundf_ctx): Likewise.
7444 (libc_feresetroundf_ctx): Likewise.
7445 (libc_feholdexcept_setround_ctx): Likewise.
7446 (libc_fesetenv_ctx): Likewise.
7447 (libc_feupdateenv_ctx): Likewise.
7448 (libc_feholdsetround_ctx): Likewise.
7449 (libc_feresetround_ctx): Likewise.
7450 (libc_feholdexcept_setroundl_ctx): Likewise.
7451 (libc_feupdateenvl_ctx): Likewise.
7452 (libc_feholdsetroundl_ctx): Likewise.
7453 (libc_feresetroundl_ctx): Likewise.
7454 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
7455 (libc_feresetround_53bit_ctx): Likewise.
7457 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7459 * locale/iso-639.def: Convert to UTF-8.
7461 2013-06-11 Joseph Myers <joseph@codesourcery.com>
7463 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
7464 (EXCEPTION_TESTS_double): Likewise.
7465 (EXCEPTION_TESTS_long_double): Likewise.
7466 (EXCEPTION_TESTS): Likewise.
7467 * math/libm-test.inc (test_exceptions): Only test exceptions if
7468 EXCEPTION_TESTS (FLOAT).
7470 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7472 * benchtests/Makefile (string-bench): Add strcpy_chk and
7474 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
7475 * benchtests/bench-stpcpy_chk.c: New file.
7476 * benchtests/bench-strcpy_chk-ifunc.c: New file.
7477 * benchtests/bench-strcpy_chk.c: New file.
7478 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
7480 (do_test): Likewise.
7482 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7484 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
7485 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
7486 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
7487 with tabs where appropriate.
7488 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
7490 [PPC_PLATFORM_PPC440]: Likewise.
7491 [PPC_PLATFORM_PPC464]: Likewise.
7492 [PPC_PLATFORM_PPC476]: Likewise.
7493 (_dl_string_platform): Add support for detecting ppc405, ppc440,
7494 ppc464, and ppc476 platform strings merging from ports/
7497 2013-06-11 Andreas Schwab <schwab@suse.de>
7500 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
7501 (from_ucs4_idx): Regenerate.
7502 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
7503 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
7504 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
7505 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
7506 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
7507 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
7508 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
7509 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
7510 from FROM_LOOP and TO_LOOP specific macros.
7511 (BODY): Handle combining characters.
7512 * iconvdata/BIG5HKSCS.irreversible: Update.
7513 * iconvdata/BIG5HKSCS.precomposed: New file.
7514 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
7516 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
7518 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7520 * include/sys/time.h: Fix indentation and add copyright header.
7522 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
7523 (do_test): Likewise.
7524 * string/test-memchr.c (do_one_test): Likewise.
7525 (do_test): Likewise.
7526 * string/test-memcmp.c (do_one_test): Likewise.
7527 (do_test): Likewise.
7528 * string/test-memcpy.c (do_one_test): Likewise.
7529 (do_test): Likewise.
7530 * string/test-memmem.c (do_one_test): Likewise.
7531 (do_test): Likewise.
7532 (do_random_tests): Likewise.
7533 * string/test-memmove.c (do_one_test): Likewise.
7534 (do_test): Likewise.
7535 * string/test-memset.c (do_one_test): Likewise.
7536 (do_test): Likewise.
7537 * string/test-rawmemchr.c (do_one_test): Likewise.
7538 (do_test): Likewise.
7539 * string/test-strcasecmp.c (do_one_test): Likewise.
7540 (do_test): Likewise.
7541 * string/test-strcasestr.c (do_one_test): Likewise.
7542 (do_test): Likewise.
7543 * string/test-strcat.c (do_one_test): Likewise.
7544 (do_test): Likewise.
7545 * string/test-strchr.c (do_one_test): Likewise.
7546 (do_test): Likewise.
7547 * string/test-strcmp.c (do_one_test): Likewise.
7548 (do_test): Likewise.
7549 * string/test-strcpy.c (do_one_test): Likewise.
7550 (do_test): Likewise.
7551 * string/test-string.h: Likewise.
7552 (test_init): Likewise.
7553 * string/test-strlen.c (do_one_test): Likewise.
7554 (do_test): Likewise.
7555 * string/test-strncasecmp.c (do_one_test): Likewise.
7556 (do_test): Likewise.
7557 * string/test-strncat.c (do_one_test): Likewise.
7558 (do_test): Likewise.
7559 * string/test-strncmp.c (do_one_test): Likewise.
7560 (do_test_limit): Likewise.
7561 (do_test): Likewise.
7562 * string/test-strncpy.c (do_one_test): Likewise.
7563 (do_test): Likewise.
7564 * string/test-strnlen.c (do_one_test): Likewise.
7565 (do_test): Likewise.
7566 * string/test-strpbrk.c (do_one_test): Likewise.
7567 (do_test): Likewise.
7568 * string/test-strrchr.c (do_one_test): Likewise.
7569 (do_test): Likewise.
7570 * string/test-strspn.c (do_one_test): Likewise.
7571 (do_test): Likewise.
7572 * string/test-strstr.c (do_one_test): Likewise.
7573 (do_test): Likewise.
7575 * benchtests/Makefile (string-bench): Add string benchmarks.
7576 * benchtests/bench-bcopy-ifunc.c: New file.
7577 * benchtests/bench-bcopy.c: New file.
7578 * benchtests/bench-bzero-ifunc.c: New file.
7579 * benchtests/bench-bzero.c: New file.
7580 * benchtests/bench-memccpy-ifunc.c: New file.
7581 * benchtests/bench-memccpy.c: New file.
7582 * benchtests/bench-memchr-ifunc.c: New file.
7583 * benchtests/bench-memchr.c: New file.
7584 * benchtests/bench-memcmp-ifunc.c: New file.
7585 * benchtests/bench-memcmp.c: New file.
7586 * benchtests/bench-memmem-ifunc.c: New file.
7587 * benchtests/bench-memmem.c: New file.
7588 * benchtests/bench-memmove-ifunc.c: New file.
7589 * benchtests/bench-memmove.c: New file.
7590 * benchtests/bench-mempcpy-ifunc.c: New file.
7591 * benchtests/bench-mempcpy.c: New file.
7592 * benchtests/bench-memset-ifunc.c: New file.
7593 * benchtests/bench-memset.c: New file.
7594 * benchtests/bench-rawmemchr-ifunc.c: New file.
7595 * benchtests/bench-rawmemchr.c: New file.
7596 * benchtests/bench-stpcpy-ifunc.c: New file.
7597 * benchtests/bench-stpcpy.c: New file.
7598 * benchtests/bench-stpncpy-ifunc.c: New file.
7599 * benchtests/bench-stpncpy.c: New file.
7600 * benchtests/bench-strcasecmp-ifunc.c: New file.
7601 * benchtests/bench-strcasecmp.c: New file.
7602 * benchtests/bench-strcasestr-ifunc.c: New file.
7603 * benchtests/bench-strcasestr.c: New file.
7604 * benchtests/bench-strcat-ifunc.c: New file.
7605 * benchtests/bench-strcat.c: New file.
7606 * benchtests/bench-strchr-ifunc.c: New file.
7607 * benchtests/bench-strchr.c: New file.
7608 * benchtests/bench-strchrnul-ifunc.c: New file.
7609 * benchtests/bench-strchrnul.c: New file.
7610 * benchtests/bench-strcmp-ifunc.c: New file.
7611 * benchtests/bench-strcmp.c: New file.
7612 * benchtests/bench-strcpy-ifunc.c: New file.
7613 * benchtests/bench-strcpy.c: New file.
7614 * benchtests/bench-strcspn-ifunc.c: New file.
7615 * benchtests/bench-strcspn.c: New file.
7616 * benchtests/bench-strlen-ifunc.c: New file.
7617 * benchtests/bench-strlen.c: New file.
7618 * benchtests/bench-strncasecmp-ifunc.c: New file.
7619 * benchtests/bench-strncasecmp.c: New file.
7620 * benchtests/bench-strncat-ifunc.c: New file.
7621 * benchtests/bench-strncat.c: New file.
7622 * benchtests/bench-strncmp-ifunc.c: New file.
7623 * benchtests/bench-strncmp.c: New file.
7624 * benchtests/bench-strncpy-ifunc.c: New file.
7625 * benchtests/bench-strncpy.c: New file.
7626 * benchtests/bench-strnlen-ifunc.c: New file.
7627 * benchtests/bench-strnlen.c: New file.
7628 * benchtests/bench-strpbrk-ifunc.c: New file.
7629 * benchtests/bench-strpbrk.c: New file.
7630 * benchtests/bench-strrchr-ifunc.c: New file.
7631 * benchtests/bench-strrchr.c: New file.
7632 * benchtests/bench-strspn-ifunc.c: New file.
7633 * benchtests/bench-strspn.c: New file.
7634 * benchtests/bench-strstr-ifunc.c: New file.
7635 * benchtests/bench-strstr.c: New file.
7637 * benchtests/Makefile: Disable parallel execution of targets.
7638 (string-bench): Add memcpy.
7639 (benchset): New variable to store a list of benchmark sets.
7640 (bench-func): Renamed from bench.
7641 (bench-set): New target.
7642 (bench): Depend on bench-func and bench-set.
7643 * benchtests/README: Add section on benchmark sets.
7644 * benchtests/bench-memcpy-ifunc.c: New file.
7645 * benchtests/bench-memcpy.c: New file.
7646 * benchtests/bench-string.h: New file.
7648 2013-06-11 Andreas Schwab <schwab@suse.de>
7651 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
7652 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
7653 values in the triple.
7654 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
7655 terminator in the group key.
7657 2013-06-11 Andreas Jaeger <aj@suse.de>
7659 * po/zh_TW.po: Update Chinese (traditional) translation from
7660 translation project.
7662 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7664 * include/time.h (__clock_gettime): Add libc_hidden_proto.
7665 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
7666 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
7667 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7668 (clock_getcpuclockid): Likewise.
7669 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
7670 Add weak_alias and libc_hidden_def.
7671 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7672 * rt/clock_gettime.c (clock_gettime): Rename to
7673 __clock_gettime. Add weak_alias and libc_hidden_def.
7674 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
7675 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
7676 __clock_nanosleep. Add weak_alias and libc_hidden_def.
7677 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
7678 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
7680 * rt/clock_settime.c (clock_settime): Rename to
7681 __clock_settime. Add weak_alias and libc_hidden_def.
7682 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
7684 2013-06-10 Joseph Myers <joseph@codesourcery.com>
7686 * mach/err_boot.sub: Remove trailing whitespace.
7687 * mach/err_ipc.sub: Likewise.
7688 * mach/err_mach.sub: Likewise.
7690 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
7691 (ROUNDING_TESTS_double): Likewise.
7692 (ROUNDING_TESTS_long_double): Likewise.
7693 (ROUNDING_TESTS): Likewise.
7694 * math/libm-test.inc: Include <math-tests.h>.
7695 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
7696 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7697 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7698 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7700 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7702 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
7705 2013-06-08 Joseph Myers <joseph@codesourcery.com>
7707 * sysdeps/gnu/errlist.awk: Do not generate space at end of
7708 otherwise empty TRANS lines.
7709 * sysdeps/gnu/errlist.c: Regenerated.
7711 * catgets/gencat.c (error_print): Use (void) in function
7713 * crypt/crypt_util.c (__init_des): Likewise.
7714 * crypt/speeds.c (Stop): Likewise.
7716 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
7717 * inet/ruserpass.c (token): Likewise.
7718 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
7719 * intl/localealias.c (extend_alias_table): Likewise.
7720 * intl/plural-exp.c (init_germanic_plural): Likewise.
7721 * libio/fcloseall.c (__fcloseall): Likewise.
7722 * libio/genops.c (_IO_flush_all): Likewise.
7723 (_IO_flush_all_linebuffered): Likewise.
7724 (_IO_cleanup): Likewise.
7725 (_IO_iter_begin): Likewise.
7726 (_IO_iter_end): Likewise.
7727 (_IO_list_lock): Likewise.
7728 (_IO_list_unlock): Likewise.
7729 (_IO_list_resetlock): Likewise.
7730 * libio/getchar.c (getchar): Likewise.
7731 * libio/getchar_u.c (getchar_unlocked): Likewise.
7732 * libio/getwchar.c (getwchar): Likewise.
7733 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7734 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
7735 * login/getpt.c (__getpt): Likewise.
7736 * login/tst-utmp.c (main): Likewise.
7737 * malloc/hooks.c (__malloc_check_init): Likewise.
7738 * malloc/malloc.c (__malloc_stats): Likewise.
7739 * malloc/mtrace.c (tr_break): Likewise.
7741 (muntrace): Likewise.
7742 * misc/fstab.c (endfsent): Likewise.
7743 * misc/getclktck.c (__getclktck): Likewise.
7744 * misc/getdtsz.c (__getdtablesize): Likewise.
7745 * misc/gethostid.c (gethostid): Likewise.
7746 * misc/getpagesize.c (__getpagesize): Likewise.
7747 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
7748 (__get_nprocs): Likewise.
7749 (__get_phys_pages): Likewise.
7750 (__get_avphys_pages): Likewise.
7751 * misc/getttyent.c (getttyent): Likewise.
7752 (setttyent): Likewise.
7753 (endttyent): Likewise.
7754 * misc/getusershell.c (getusershell): Likewise.
7755 (endusershell): Likewise.
7756 (setusershell): Likewise.
7757 (initshells): Likewise.
7758 * misc/hsearch.c (__hdestroy): Likewise.
7759 * misc/sync.c (sync): Likewise.
7760 * misc/syslog.c (closelog_internal): Likewise.
7761 (closelog): Likewise.
7762 * misc/ttyslot.c (ttyslot): Likewise.
7763 * misc/vhangup.c (vhangup): Likewise.
7764 * posix/fork.c (__fork): Likewise.
7765 * posix/getegid.c (__getegid): Likewise.
7766 * posix/geteuid.c (__geteuid): Likewise.
7767 * posix/getgid.c (__getgid): Likewise.
7768 * posix/getpid.c (__getpid): Likewise.
7769 * posix/getppid.c (__getppid): Likewise.
7770 * posix/getuid.c (__getuid): Likewise.
7771 * posix/pause.c (pause): Likewise.
7772 * posix/setpgrp.c (setpgrp): Likewise.
7773 * posix/setsid.c (__setsid): Likewise.
7774 * posix/test-vfork.c (noop): Likewise.
7775 * resolv/gethnamaddr.c (_endhtent): Likewise.
7776 (_gethtent): Likewise.
7777 (ht_endhostent): Likewise.
7778 (gethostent): Likewise.
7779 (dns_service): Likewise.
7780 * stdlib/drand48.c (drand48): Likewise.
7781 * stdlib/lrand48.c (lrand48): Likewise.
7782 * stdlib/mrand48.c (mrand48): Likewise.
7783 * stdlib/rand.c (rand): Likewise.
7784 * stdlib/random.c (__random): Likewise.
7785 * stdlib/setenv.c (clearenv): Likewise.
7786 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7787 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7788 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7789 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7790 (__get_nprocs): Likewise.
7791 (__get_phys_pages): Likewise.
7792 (__get_avphys_pages): Likewise.
7793 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7794 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7795 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7796 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7797 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7798 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7799 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7800 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7801 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7802 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7803 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7804 * sysdeps/mach/hurd/sync.c (sync): Likewise.
7805 * sysdeps/posix/clock.c (clock): Likewise.
7806 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7807 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7808 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7809 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7810 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7811 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7812 (__get_nprocs_conf): Likewise.
7813 (__get_phys_pages): Likewise.
7814 (__get_avphys_pages): Likewise.
7815 * time/clock.c (clock): Likewise.
7816 * time/tzset.c (__tzname_max): Likewise.
7818 2013-06-07 Joseph Myers <joseph@codesourcery.com>
7820 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7821 (__bswap_32): Do not use "register".
7822 * crypt/crypt.c (_ufc_doit_r): Likewise.
7823 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7824 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7825 * gmon/gmon.c (__monstartup): Likewise.
7826 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7827 * hurd/hurdmalloc.c (more_memory): Likewise.
7830 (realloc): Likewise.
7831 (malloc_fork_prepare): Likewise.
7832 (malloc_fork_parent): Likewise.
7833 (malloc_fork_child): Likewise.
7834 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7835 (_svcauth_des): Likewise.
7836 * inet/inet_lnaof.c (inet_lnaof): Likewise.
7837 * inet/inet_net.c (inet_network): Likewise.
7838 * inet/inet_netof.c (inet_netof): Likewise.
7839 * inet/rcmd.c (__validuser2_sa): Likewise.
7840 * io/fts.c (fts_open): Likewise.
7841 (fts_load): Likewise.
7842 (fts_close): Likewise.
7843 (fts_read): Likewise.
7844 (fts_children): Likewise.
7845 (fts_build): Likewise.
7846 (fts_stat): Likewise.
7847 (fts_sort): Likewise.
7848 (fts_alloc): Likewise.
7849 (fts_lfree): Likewise.
7850 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7851 (_IO_file_xsgetn): Likewise.
7852 (_IO_file_xsgetn_mmap): Likewise.
7853 * libio/iofopncook.c (_IO_cookie_read): Likewise.
7854 (_IO_cookie_write): Likewise.
7855 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7856 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7857 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7858 * malloc/obstack.c (_obstack_begin): Likewise.
7859 (_obstack_begin_1): Likewise.
7860 (_obstack_newchunk): Likewise.
7861 (_obstack_allocated_p): Likewise.
7862 (obstack_free): Likewise.
7863 (_obstack_memory_used): Likewise.
7864 * misc/getttyent.c (getttynam): Likewise.
7865 (getttyent): Likewise.
7868 * misc/getusershell.c (initshells): Likewise.
7869 * misc/syslog.c (__vsyslog_chk): Likewise.
7870 * misc/ttyslot.c (ttyslot): Likewise.
7871 * nis/nis_hash.c (__nis_hash): Likewise.
7872 * posix/fnmatch_loop.c (FCT): Likewise.
7873 * posix/getconf.c (print_all): Likewise.
7875 * posix/getopt.c (exchange): Likewise.
7876 * posix/glob.c (globfree): Likewise.
7877 (prefix_array): Likewise.
7878 (__glob_pattern_type): Likewise.
7879 * resolv/arpa/nameser.h (NS_GET16): Likewise.
7880 (NS_GET32): Likewise.
7881 (NS_PUT16): Likewise.
7882 (NS_PUT32): Likewise.
7883 * resolv/gethnamaddr.c (getanswer): Likewise.
7884 (gethostbyname2): Likewise.
7885 (gethostbyaddr): Likewise.
7886 (_gethtent): Likewise.
7887 (_gethtbyname2): Likewise.
7888 (_gethtbyaddr): Likewise.
7889 * resolv/ns_print.c (dst_s_get_int16): Likewise.
7890 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7891 * resolv/res_init.c (__res_vinit): Likewise.
7892 (net_mask): Likewise.
7893 * resolv/res_mkquery.c (outchar): Likewise.
7895 * stdio-common/printf_fp.c (outchar): Likewise.
7897 * stdio-common/printf_fphex.c (outchar): Likewise.
7899 * stdio-common/printf_size.c (outchar): Likewise.
7901 * stdio-common/test_rdwr.c (main): Likewise.
7902 * stdio-common/tfformat.c (matches): Likewise.
7903 * stdio-common/vfprintf.c (outchar): Likewise.
7904 (printf_unknown): Likewise.
7905 (buffered_vfprintf): Likewise.
7906 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7907 * stdio-common/xbug.c (AppendToBuffer): Likewise.
7908 (ReadFile): Likewise.
7909 * stdlib/qsort.c (SWAP): Likewise.
7910 (_quicksort): Likewise.
7911 * stdlib/setenv.c (__add_to_environ): Likewise.
7912 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7913 * stdlib/strtol_l.c (__strtol_l): Likewise.
7914 * stdlib/tst-strtod.c (main): Likewise.
7915 * stdlib/tst-strtol.c (main): Likewise.
7916 * stdlib/tst-strtoll.c (main): Likewise.
7917 * string/bits/string2.h (__strcmp_cc): Likewise.
7918 (__strcmp_cg): Likewise.
7919 (__strcspn_c1): Likewise.
7920 (__strcspn_c2): Likewise.
7921 (__strcspn_c3): Likewise.
7922 (__strspn_c1): Likewise.
7923 (__strspn_c2): Likewise.
7924 (__strspn_c3): Likewise.
7925 (__strsep_1c): Likewise.
7926 (__strsep_2c): Likewise.
7927 (__strsep_3c): Likewise.
7928 * string/memccpy.c (__memccpy): Likewise.
7929 * string/stpcpy.c (__stpcpy): Likewise.
7930 * string/strcmp.c (strcmp): Likewise.
7931 * string/strrchr.c (strrchr): Likewise.
7932 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7934 * sysdeps/mach/hurd/getcwd.c
7935 (_hurd_canonicalize_directory_name_internal): Likewise.
7936 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7937 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7938 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7939 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7940 Likewise, in both definitions.
7941 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7943 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7944 64] (__bswap_64): Likewise.
7945 * time/test_time.c (main): Likewise.
7946 * time/tzfile.c (__tzfile_read): Likewise.
7947 (__tzfile_compute): Likewise.
7948 * time/tzset.c (__tzset_parse_tz): Likewise.
7949 (tzset_internal): Likewise.
7950 (compute_change): Likewise.
7951 * wcsmbs/wcscat.c (__wcscat): Likewise.
7952 * wcsmbs/wcschr.c (wcschr): Likewise.
7953 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7954 * wcsmbs/wcscspn.c (wcscspn): Likewise.
7955 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7956 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7957 * wcsmbs/wcsspn.c (wcsspn): Likewise.
7958 * wcsmbs/wcsstr.c (wcsstr): Likewise.
7959 * wcsmbs/wmemchr.c (wmemchr): Likewise.
7960 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7961 * wcsmbs/wmemset.c (wmemset): Likewise.
7963 2013-06-06 Joseph Myers <joseph@codesourcery.com>
7965 * scripts/config.guess: Update to version 2013-05-16.
7966 * scripts/config.sub: Update to version 2013-04-24.
7967 * scripts/install-sh: Update to version 2011-11-20.07.
7968 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7969 * scripts/move-if-change: Update to version 2012-01-06 07:23.
7971 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
7973 * debug/fgetws_u_chk.c: Fix leading whitespaces.
7974 * elf/sln.c: Likewise.
7975 * hurd/hurd/ioctl.h: Likewise.
7976 * hurd/hurdmalloc.c: Likewise.
7977 * hurd/xattr.c: Likewise.
7978 * include/shlib-compat.h: Likewise.
7979 * inet/ruserpass.c: Likewise.
7980 * libio/iofgets_u.c: Likewise.
7981 * libio/iofgetws_u.c: Likewise.
7982 * locale/programs/ld-identification.c: Likewise.
7983 * locale/programs/ld-time.c: Likewise.
7984 * mach/msg-destroy.c: Likewise.
7985 * nss/nss_files/files-netgrp.c: Likewise.
7986 * resolv/res_data.c: Likewise.
7987 * soft-fp/op-1.h: Likewise.
7988 * soft-fp/op-2.h: Likewise.
7989 * soft-fp/op-4.h: Likewise.
7990 * soft-fp/op-common.h: Likewise.
7991 * stdio-common/printf_fphex.c: Likewise.
7992 * stdlib/strtod_l.c: Likewise.
7993 * sunrpc/rpc/clnt.h: Likewise.
7994 * sysdeps/generic/framestate.c: Likewise.
7995 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7996 * sysdeps/i386/bsd-setjmp.S: Likewise.
7997 * sysdeps/i386/__longjmp.S: Likewise.
7998 * sysdeps/i386/setjmp.S: Likewise.
7999 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8000 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8001 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8002 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8003 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8004 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8005 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8006 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8007 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8008 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8009 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8010 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8011 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8012 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8013 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8014 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8015 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8016 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
8017 * sysdeps/ieee754/support.c: Likewise.
8018 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8019 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
8020 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
8021 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
8022 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
8023 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
8024 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
8025 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
8026 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
8027 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
8028 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
8029 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
8030 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
8031 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
8032 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
8033 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
8034 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8037 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
8039 * posix/transbug.c: Remove executable mode.
8041 2013-06-05 Joseph Myers <joseph@codesourcery.com>
8043 * crypt/speeds.c: Remove trailing whitespace.
8044 * dlfcn/default.c: Likewise.
8045 * elf/ifuncdep2.c: Likewise.
8046 * elf/ifuncmain1.c: Likewise.
8047 * elf/ifuncmain1vis.c: Likewise.
8048 * elf/testobj.h: Likewise.
8049 * elf/tst-stackguard1.c: Likewise.
8050 * gmon/sys/gmon.h: Likewise.
8051 * hurd/hurdmsg.c: Likewise.
8052 * hurd/new-fd.c: Likewise.
8053 * hurd/ports-get.c: Likewise.
8054 * iconvdata/ibm1008_420.c: Likewise.
8055 * inet/tst-getni1.c: Likewise.
8056 * inet/tst-getni2.c: Likewise.
8057 * libio/ioungetc.c: Likewise.
8058 * libio/wfiledoalloc.c: Likewise.
8059 * manual/libm-err-tab.pl: Likewise.
8060 * math/w_dremf.c: Likewise.
8061 * misc/ftruncate.c: Likewise.
8062 * posix/bug-glob2.c: Likewise.
8063 * posix/tst-pcre.c: Likewise.
8064 * posix/wait4.c: Likewise.
8065 * resolv/README: Likewise.
8066 * resolv/res_debug.h: Likewise.
8067 * resolv/tst-inet_ntop.c: Likewise.
8068 * setjmp/bug269-setjmp.c: Likewise.
8069 * soft-fp/extended.h: Likewise.
8070 * soft-fp/op-1.h: Likewise.
8071 * soft-fp/op-2.h: Likewise.
8072 * soft-fp/op-4.h: Likewise.
8073 * soft-fp/op-8.h: Likewise.
8074 * soft-fp/testit.c: Likewise.
8075 * stdio-common/bug16.c: Likewise.
8076 * stdlib/random.c: Likewise.
8077 * sunrpc/rpcsvc/rquota.x: Likewise.
8078 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
8079 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8080 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8081 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8082 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8083 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8084 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8085 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8086 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8087 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8088 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8089 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8090 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8091 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8092 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8093 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8094 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8095 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8096 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8097 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8098 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8099 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8100 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
8101 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8102 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8103 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8104 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8105 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8106 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8107 * sysdeps/ieee754/s_lib_version.c: Likewise.
8108 * sysdeps/mach/hurd/check_fds.c: Likewise.
8109 * sysdeps/mach/hurd/getsockname.c: Likewise.
8110 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
8111 * sysdeps/mach/hurd/recvfrom.c: Likewise.
8112 * sysdeps/powerpc/bits/link.h: Likewise.
8113 * sysdeps/powerpc/dl-procinfo.c: Likewise.
8114 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
8115 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
8116 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
8117 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8118 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8119 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
8120 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8121 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
8122 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8123 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
8124 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
8125 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
8126 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8127 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8128 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8129 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
8130 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
8131 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8132 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8133 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8134 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
8135 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8136 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8137 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
8138 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
8139 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
8140 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8141 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8142 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
8143 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
8144 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
8145 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8146 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8147 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
8148 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8149 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
8150 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
8151 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
8152 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
8153 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
8154 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
8155 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
8156 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
8157 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
8158 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
8159 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
8160 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
8161 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
8162 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
8163 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8164 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8165 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8166 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8167 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
8168 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
8169 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
8170 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8171 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
8172 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
8173 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
8174 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
8175 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
8176 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8177 * sysdeps/powerpc/sysdep.h: Likewise.
8178 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8179 * sysdeps/s390/s390-64/sub_n.S: Likewise.
8180 * sysdeps/sh/dl-trampoline.S: Likewise.
8181 * sysdeps/sh/memset.S: Likewise.
8182 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
8183 * sysdeps/sh/strlen.S: Likewise.
8184 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
8185 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
8186 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
8187 * sysdeps/sparc/sparc32/rem.S: Likewise.
8188 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
8189 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
8190 * sysdeps/sparc/sparc32/strchr.S: Likewise.
8191 * sysdeps/sparc/sparc32/udiv.S: Likewise.
8192 * sysdeps/sparc/sparc32/urem.S: Likewise.
8193 * sysdeps/sparc/sparc64/add_n.S: Likewise.
8194 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8195 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
8196 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
8197 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
8198 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
8199 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
8200 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
8201 * sysdeps/unix/bsd/times.c: Likewise.
8202 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
8203 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
8204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8207 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
8208 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8209 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
8210 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
8211 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
8212 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
8213 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8214 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
8215 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8216 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8217 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
8218 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8219 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
8220 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
8221 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
8222 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
8223 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
8224 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8225 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
8226 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
8227 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8228 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
8229 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8230 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
8231 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
8232 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
8233 * sysdeps/x86_64/strcspn.S: Likewise.
8235 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8237 * locale/C-translit.h: Revert #include <stdint.h> because this is a
8238 generated file. Regenerate properly from gen-translit.pl.
8239 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
8240 locale/C-translit.h.
8242 2013-06-05 Andreas Schwab <schwab@suse.de>
8245 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
8246 week as 6 instead of -1.
8247 * time/tst-strptime.c (day_tests): Add test case.
8249 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8251 * sysdeps/generic/math_private.h
8252 (libc_feholdexcept_setround_53bit): Replace with
8253 libc_feholdsetround_53bit.
8254 (libc_feupdateenv_53bit): Replace with
8255 libc_feresetround_53bit.
8256 (SET_RESTORE_ROUND_53BIT): Adjust.
8258 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8260 * string/test-strchrnul.c: Add copyright header.
8262 * posix/tst-getaddrinfo4.c: Increase test timeout.
8264 2013-06-03 Carlos O'Donell <carlos@redhat.com>
8267 * math/libm-test.inc (MAX_EXP): Remove
8269 (ulp): Use MIN_EXP - MANT_DIG.
8270 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
8272 2013-05-31 Carlos O'Donell <carlos@redhat.com>
8274 * po/be.po: Revert last change.
8275 * po/zh_CN.po: Likewise.
8276 * po/header.pot: Likewise.
8278 2013-05-31 Joseph Myers <joseph@codesourcery.com>
8280 * Makefile ($(common-objpfx)linkobj/libc.so): Define
8281 link-libc-deps to empty as target-specific variable.
8282 * Makerules (link-libc-args): New variable.
8283 (libc-for-link): Likewise.
8284 (link-libc-deps): Likewise.
8285 (lib%.so): Depend on $(link-libc-deps). Link with
8287 (build-module): Link with $(link-libc-args).
8288 (build-module-asneeded): Likewise.
8289 (build-module-helper-objlist): Filter out $(link-libc-deps) from
8291 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
8292 target-specific variable.
8293 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
8294 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
8295 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
8297 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
8299 ($(objpfx)libpcprofile.so): Likewise.
8300 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
8302 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
8303 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
8304 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
8306 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
8307 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
8308 * login/Makefile ($(objpfx)libutil.so): Likewise.
8309 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
8310 * math/Makefile ($(objpfx)libm.so): Likewise.
8311 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
8312 $(objpfx)libnsl.so): Define libc-for-link as target-specific
8313 variable instead of depending directly on libc.
8314 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
8315 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
8317 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
8319 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
8320 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
8321 ($(objpfx)libanl.so): Likewise.
8322 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
8324 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
8326 * sysdeps/i386/fpu/Makefile: Remove file.
8327 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
8328 ($(objpfx)libm.so): Remove dependency on ld.so.
8330 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
8333 * nis/yp_xdr.c (XDRMAXNAME): Define.
8334 (XDRMAXRECORD): Define.
8335 (xdr_domainname): Use XDRMAXNAME.
8336 (xdr_mapname): Likewise.
8337 (xdr_peername): Likewise.
8338 (xdr_keydat): Use XDRMAXRECORD.
8339 (xdr_valdat): Likewise.
8341 2013-05-30 Jeff Law <law@redhat.com>
8344 * manual/errno.texi (ESTALE): Update to account for more than
8345 just NFS file systems.
8346 * sysdeps/gnu/errlist.c: Regenerated.
8348 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8351 * elf/Makefile (tests): Add tst-null-argv.
8352 (modules-names): Add tst-null-argv-lib.
8353 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
8354 (tst-null-argv-ENV): Set environment for tst-null-argv.
8355 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
8356 (RTLD_PROGNAME): New macro.
8357 * elf/tst-null-argv.c: New test case.
8358 * elf/tst-null-argv-lib.c: Library for test case.
8359 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
8360 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8361 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
8362 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
8363 * elf/dl-init.c (call_init): Likewise.
8364 (_dl_init): Likewise.
8365 * elf/dl-load.c (print_search_path): Likewise.
8366 (_dl_map_object): Likewise.
8367 * elf/dl-lookup.c (do_lookup_x): Likewise.
8368 (add_dependency): Likewise.
8369 (_dl_lookup_symbol_x): Likewise.
8370 (_dl_debug_bindings): Likewise.
8371 * elf/dl-open.c (_dl_show_scope): Likewise.
8372 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8373 * elf/dl-version.c (match_symbol): Likewise.
8374 (_dl_check_map_versions): Likewise.
8375 * elf/rtld.c (dl_main): Likewise.
8376 (print_unresolved): Use RTLD_PROGNAME.
8377 (print_missing_version): Likewise.
8378 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
8379 (elf_machine_rela): Likewise.
8380 * sysdeps/powerpc/powerpc32/dl-machine.c
8381 (__process_machine_rela): Likewise.
8382 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8384 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8386 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8388 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8389 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
8391 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
8393 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8395 2013-05-28 Carlos O'Donell <carlos@redhat.com>
8397 * po/be.po: Add descriptive title.
8398 * po/zh_CN.po: Likewise.
8399 * po/header.pot: Likewise.
8401 2013-05-28 Mike Frysinger <vapier@gentoo.org>
8403 * locale/programs/locarchive.c (create_archive): Inlucde fname in
8405 (enlarge_archive): Likewise.
8407 2013-05-28 Ben North <ben@redfrontdoor.org>
8409 * manual/arith.texi (frexp): It is the magnitude of the return
8410 value which lies in [0.5, 1), not the return value itself.
8412 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8414 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8416 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
8418 * stdio-common/bug26.c (main): Correct fscanf template.
8420 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
8421 declare _dl_skip_args.
8423 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
8426 * manual/platform.texi: Add missing @end deftypefun.
8428 2013-05-24 Joseph Myers <joseph@codesourcery.com>
8431 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
8432 bit of mantissa of 2^16382.
8433 * math/libm-test.inc (hypot_test_data): Add more tests.
8435 * math/libm-test.inc: Add drem and pow10 to list of tested
8437 (pow10_test): New function.
8438 (drem_test): Likewise.
8439 (drem_test_tonearest): Likewise.
8440 (drem_test_towardzero): Likewise.
8441 (drem_test_downward): Likewise.
8442 (drem_test_upward): Likewise.
8443 (main): Call the new functions.
8445 * math/libm-test.inc (finite_test_data): Remove.
8446 (finite_test): Run tests from isfinite_test_data.
8447 (gamma_test_data): Remove.
8448 (gamma_test): Run tests from lgamma_test_data.
8449 * sysdeps/i386/fpu/libm-test-ulps: Update.
8450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8452 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8454 * manual/platform.texi: Add PowerPC PPR function set documentation.
8455 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
8458 2013-05-24 Carlos O'Donell <carlos@redhat.com>
8460 * math/libm-test.inc (MAX_EXP): Define.
8462 (ulp): New function.
8463 (check_float_internal): Use ULPDIFF.
8464 (cpow_test): Disable failing test.
8465 (check_ulp): Test ulp() implemetnation.
8466 (main): Call check_ulp before starting tests.
8468 2013-05-24 Joseph Myers <joseph@codesourcery.com>
8470 * math/gen-libm-test.pl (generate_testfile): Do not handle
8471 START_DATA and END_DATA.
8472 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
8474 (acos_tonearest_test_data): Likewise.
8475 (acos_towardzero_test_data): Likewise.
8476 (acos_downward_test_data): Likewise.
8477 (acos_upward_test_data): Likewise.
8478 (acosh_test_data): Likewise.
8479 (asin_test_data): Likewise.
8480 (asin_tonearest_test_data): Likewise.
8481 (asin_towardzero_test_data): Likewise.
8482 (asin_downward_test_data): Likewise.
8483 (asin_upward_test_data): Likewise.
8484 (asinh_test_data): Likewise.
8485 (atan_test_data): Likewise.
8486 (atanh_test_data): Likewise.
8487 (atan2_test_data): Likewise.
8488 (cabs_test_data): Likewise.
8489 (cacos_test_data): Likewise.
8490 (cacosh_test_data): Likewise.
8491 (carg_test_data): Likewise.
8492 (casin_test_data): Likewise.
8493 (casinh_test_data): Likewise.
8494 (catan_test_data): Likewise.
8495 (catanh_test_data): Likewise.
8496 (cbrt_test_data): Likewise.
8497 (ccos_test_data): Likewise.
8498 (ccosh_test_data): Likewise.
8499 (ceil_test_data): Likewise.
8500 (cexp_test_data): Likewise.
8501 (cimag_test_data): Likewise.
8502 (clog_test_data): Likewise.
8503 (clog10_test_data): Likewise.
8504 (conj_test_data): Likewise.
8505 (copysign_test_data): Likewise.
8506 (cos_test_data): Likewise.
8507 (cos_tonearest_test_data): Likewise.
8508 (cos_towardzero_test_data): Likewise.
8509 (cos_downward_test_data): Likewise.
8510 (cos_upward_test_data): Likewise.
8511 (cosh_test_data): Likewise.
8512 (cosh_tonearest_test_data): Likewise.
8513 (cosh_towardzero_test_data): Likewise.
8514 (cosh_downward_test_data): Likewise.
8515 (cosh_upward_test_data): Likewise.
8516 (cpow_test_data): Likewise.
8517 (cproj_test_data): Likewise.
8518 (creal_test_data): Likewise.
8519 (csin_test_data): Likewise.
8520 (csinh_test_data): Likewise.
8521 (csqrt_test_data): Likewise.
8522 (ctan_test_data): Likewise.
8523 (ctan_tonearest_test_data): Likewise.
8524 (ctan_towardzero_test_data): Likewise.
8525 (ctan_downward_test_data): Likewise.
8526 (ctan_upward_test_data): Likewise.
8527 (ctanh_test_data): Likewise.
8528 (ctanh_tonearest_test_data): Likewise.
8529 (ctanh_towardzero_test_data): Likewise.
8530 (ctanh_downward_test_data): Likewise.
8531 (ctanh_upward_test_data): Likewise.
8532 (erf_test_data): Likewise.
8533 (erfc_test_data): Likewise.
8534 (exp_test_data): Likewise.
8535 (exp_tonearest_test_data): Likewise.
8536 (exp_towardzero_test_data): Likewise.
8537 (exp_downward_test_data): Likewise.
8538 (exp_upward_test_data): Likewise.
8539 (exp10_test_data): Likewise.
8540 (exp2_test_data): Likewise.
8541 (expm1_test_data): Likewise.
8542 (fabs_test_data): Likewise.
8543 (fdim_test_data): Likewise.
8544 (finite_test_data): Likewise.
8545 (floor_test_data): Likewise.
8546 (fma_test_data): Likewise.
8547 (fma_towardzero_test_data): Likewise.
8548 (fma_downward_test_data): Likewise.
8549 (fma_upward_test_data): Likewise.
8550 (fmax_test_data): Likewise.
8551 (fmin_test_data): Likewise.
8552 (fmod_test_data): Likewise.
8553 (fpclassify_test_data): Likewise.
8554 (frexp_test_data): Likewise.
8555 (gamma_test_data): Likewise.
8556 (hypot_test_data): Likewise.
8557 (ilogb_test_data): Likewise.
8558 (isfinite_test_data): Likewise.
8559 (isgreater_test_data): Likewise.
8560 (isgreaterequal_test_data): Likewise.
8561 (isinf_test_data): Likewise.
8562 (isless_test_data): Likewise.
8563 (islessequal_test_data): Likewise.
8564 (islessgreater_test_data): Likewise.
8565 (isnan_test_data): Likewise.
8566 (isnormal_test_data): Likewise.
8567 (issignaling_test_data): Likewise.
8568 (isunordered_test_data): Likewise.
8569 (j0_test_data): Likewise.
8570 (j1_test_data): Likewise.
8571 (jn_test_data): Likewise.
8572 (ldexp_test_data): Likewise.
8573 (lgamma_test_data): Likewise.
8574 (lrint_test_data): Likewise.
8575 (lrint_tonearest_test_data): Likewise.
8576 (lrint_towardzero_test_data): Likewise.
8577 (lrint_downward_test_data): Likewise.
8578 (lrint_upward_test_data): Likewise.
8579 (llrint_test_data): Likewise.
8580 (llrint_tonearest_test_data): Likewise.
8581 (llrint_towardzero_test_data): Likewise.
8582 (llrint_downward_test_data): Likewise.
8583 (llrint_upward_test_data): Likewise.
8584 (log_test_data): Likewise.
8585 (log10_test_data): Likewise.
8586 (log1p_test_data): Likewise.
8587 (log2_test_data): Likewise.
8588 (logb_test_data): Likewise.
8589 (logb_downward_test_data): Likewise.
8590 (lround_test_data): Likewise.
8591 (llround_test_data): Likewise.
8592 (modf_test_data): Likewise.
8593 (nearbyint_test_data): Likewise.
8594 (nextafter_test_data): Likewise.
8595 (nexttoward_test_data): Likewise.
8596 (pow_test_data): Likewise.
8597 (pow_tonearest_test_data): Likewise.
8598 (pow_towardzero_test_data): Likewise.
8599 (pow_downward_test_data): Likewise.
8600 (pow_upward_test_data): Likewise.
8601 (remainder_test_data): Likewise.
8602 (remainder_tonearest_test_data): Likewise.
8603 (remainder_towardzero_test_data): Likewise.
8604 (remainder_downward_test_data): Likewise.
8605 (remainder_upward_test_data): Likewise.
8606 (remquo_test_data): Likewise.
8607 (rint_test_data): Likewise.
8608 (rint_tonearest_test_data): Likewise.
8609 (rint_towardzero_test_data): Likewise.
8610 (rint_downward_test_data): Likewise.
8611 (rint_upward_test_data): Likewise.
8612 (round_test_data): Likewise.
8613 (scalb_test_data): Likewise.
8614 (scalbn_test_data): Likewise.
8615 (scalbln_test_data): Likewise.
8616 (signbit_test_data): Likewise.
8617 (sin_test_data): Likewise.
8618 (sin_tonearest_test_data): Likewise.
8619 (sin_towardzero_test_data): Likewise.
8620 (sin_downward_test_data): Likewise.
8621 (sin_upward_test_data): Likewise.
8622 (sincos_test_data): Likewise.
8623 (sinh_test_data): Likewise.
8624 (sinh_tonearest_test_data): Likewise.
8625 (sinh_towardzero_test_data): Likewise.
8626 (sinh_downward_test_data): Likewise.
8627 (sinh_upward_test_data): Likewise.
8628 (sqrt_test_data): Likewise.
8629 (tan_test_data): Likewise.
8630 (tan_tonearest_test_data): Likewise.
8631 (tan_towardzero_test_data): Likewise.
8632 (tan_downward_test_data): Likewise.
8633 (tan_upward_test_data): Likewise.
8634 (tanh_test_data): Likewise.
8635 (tgamma_test_data): Likewise.
8636 (trunc_test_data): Likewise.
8637 (y0_test_data): Likewise.
8638 (y1_test_data): Likewise.
8639 (yn_test_data): Likewise.
8640 (significand_test_data): Likewise.
8642 * math/gen-libm-test.pl (@functions): Remove variable.
8643 (generate_testfile): Don't handle START and END lines.
8644 * math/libm-test.inc (START): New macro.
8646 (END_COMPLEX): Likewise.
8647 (acos_test): Use END macro without arguments.
8648 (acos_test_tonearest): Likewise.
8649 (acos_test_towardzero): Likewise.
8650 (acos_test_downward): Likewise.
8651 (acos_test_upward): Likewise.
8652 (acosh_test): Likewise.
8653 (asin_test): Likewise.
8654 (asin_test_tonearest): Likewise.
8655 (asin_test_towardzero): Likewise.
8656 (asin_test_downward): Likewise.
8657 (asin_test_upward): Likewise.
8658 (asinh_test): Likewise.
8659 (atan_test): Likewise.
8660 (atanh_test): Likewise.
8661 (atan2_test): Likewise.
8662 (cabs_test): Likewise.
8663 (cacos_test): Use END_COMPLEX macro without arguments.
8664 (cacosh_test): Likewise.
8665 (carg_test): Use END macro without arguments.
8666 (casin_test): Use END_COMPLEX macro without arguments.
8667 (casinh_test): Likewise.
8668 (catan_test): Likewise.
8669 (catanh_test): Likewise.
8670 (cbrt_test): Use END macro without arguments.
8671 (ccos_test): Use END_COMPLEX macro without arguments.
8672 (ccosh_test): Likewise.
8673 (ceil_test): Use END macro without arguments.
8674 (cexp_test): Use END_COMPLEX macro without arguments.
8675 (cimag_test): Use END macro without arguments.
8676 (clog_test): Use END_COMPLEX macro without arguments.
8677 (clog10_test): Likewise.
8678 (conj_test): Likewise.
8679 (copysign_test): Use END macro without arguments.
8680 (cos_test): Likewise.
8681 (cos_test_tonearest): Likewise.
8682 (cos_test_towardzero): Likewise.
8683 (cos_test_downward): Likewise.
8684 (cos_test_upward): Likewise.
8685 (cosh_test): Likewise.
8686 (cosh_test_tonearest): Likewise.
8687 (cosh_test_towardzero): Likewise.
8688 (cosh_test_downward): Likewise.
8689 (cosh_test_upward): Likewise.
8690 (cpow_test): Use END_COMPLEX macro without arguments.
8691 (cproj_test): Likewise.
8692 (creal_test): Use END macro without arguments.
8693 (csin_test): Use END_COMPLEX macro without arguments.
8694 (csinh_test): Likewise.
8695 (csqrt_test): Likewise.
8696 (ctan_test): Likewise.
8697 (ctan_test_tonearest): Likewise.
8698 (ctan_test_towardzero): Likewise.
8699 (ctan_test_downward): Likewise.
8700 (ctan_test_upward): Likewise.
8701 (ctanh_test): Likewise.
8702 (ctanh_test_tonearest): Likewise.
8703 (ctanh_test_towardzero): Likewise.
8704 (ctanh_test_downward): Likewise.
8705 (ctanh_test_upward): Likewise.
8706 (erf_test): Use END macro without arguments.
8707 (erfc_test): Likewise.
8708 (exp_test): Likewise.
8709 (exp_test_tonearest): Likewise.
8710 (exp_test_towardzero): Likewise.
8711 (exp_test_downward): Likewise.
8712 (exp_test_upward): Likewise.
8713 (exp10_test): Likewise.
8714 (exp2_test): Likewise.
8715 (expm1_test): Likewise.
8716 (fabs_test): Likewise.
8717 (fdim_test): Likewise.
8718 (finite_test): Likewise.
8719 (floor_test): Likewise.
8720 (fma_test): Likewise.
8721 (fma_test_towardzero): Likewise.
8722 (fma_test_downward): Likewise.
8723 (fma_test_upward): Likewise.
8724 (fmax_test): Likewise.
8725 (fmin_test): Likewise.
8726 (fmod_test): Likewise.
8727 (fpclassify_test): Likewise.
8728 (frexp_test): Likewise.
8729 (gamma_test): Likewise.
8730 (hypot_test): Likewise.
8731 (ilogb_test): Likewise.
8732 (isfinite_test): Likewise.
8733 (isgreater_test): Likewise.
8734 (isgreaterequal_test): Likewise.
8735 (isinf_test): Likewise.
8736 (isless_test): Likewise.
8737 (islessequal_test): Likewise.
8738 (islessgreater_test): Likewise.
8739 (isnan_test): Likewise.
8740 (isnormal_test): Likewise.
8741 (issignaling_test): Likewise.
8742 (isunordered_test): Likewise.
8743 (j0_test): Likewise.
8744 (j1_test): Likewise.
8745 (jn_test): Likewise.
8746 (ldexp_test): Likewise.
8747 (lgamma_test): Likewise.
8748 (lrint_test): Likewise.
8749 (lrint_test_tonearest): Likewise.
8750 (lrint_test_towardzero): Likewise.
8751 (lrint_test_downward): Likewise.
8752 (lrint_test_upward): Likewise.
8753 (llrint_test): Likewise.
8754 (llrint_test_tonearest): Likewise.
8755 (llrint_test_towardzero): Likewise.
8756 (llrint_test_downward): Likewise.
8757 (llrint_test_upward): Likewise.
8758 (log_test): Likewise.
8759 (log10_test): Likewise.
8760 (log1p_test): Likewise.
8761 (log2_test): Likewise.
8762 (logb_test): Likewise.
8763 (logb_test_downward): Likewise.
8764 (lround_test): Likewise.
8765 (llround_test): Likewise.
8766 (modf_test): Likewise.
8767 (nearbyint_test): Likewise.
8768 (nextafter_test): Likewise.
8769 (nexttoward_test): Likewise.
8770 (pow_test): Likewise.
8771 (pow_test_tonearest): Likewise.
8772 (pow_test_towardzero): Likewise.
8773 (pow_test_downward): Likewise.
8774 (pow_test_upward): Likewise.
8775 (remainder_test): Likewise.
8776 (remainder_test_tonearest): Likewise.
8777 (remainder_test_towardzero): Likewise.
8778 (remainder_test_downward): Likewise.
8779 (remainder_test_upward): Likewise.
8780 (remquo_test): Likewise.
8781 (rint_test): Likewise.
8782 (rint_test_tonearest): Likewise.
8783 (rint_test_towardzero): Likewise.
8784 (rint_test_downward): Likewise.
8785 (rint_test_upward): Likewise.
8786 (round_test): Likewise.
8787 (scalb_test): Likewise.
8788 (scalbn_test): Likewise.
8789 (scalbln_test): Likewise.
8790 (signbit_test): Likewise.
8791 (sin_test): Likewise.
8792 (sin_test_tonearest): Likewise.
8793 (sin_test_towardzero): Likewise.
8794 (sin_test_downward): Likewise.
8795 (sin_test_upward): Likewise.
8796 (sincos_test): Likewise.
8797 (sinh_test): Likewise.
8798 (sinh_test_tonearest): Likewise.
8799 (sinh_test_towardzero): Likewise.
8800 (sinh_test_downward): Likewise.
8801 (sinh_test_upward): Likewise.
8802 (sqrt_test): Likewise.
8803 (tan_test): Likewise.
8804 (tan_test_tonearest): Likewise.
8805 (tan_test_towardzero): Likewise.
8806 (tan_test_downward): Likewise.
8807 (tan_test_upward): Likewise.
8808 (tanh_test): Likewise.
8809 (tgamma_test): Likewise.
8810 (trunc_test): Likewise.
8811 (y0_test): Likewise.
8812 (y1_test): Likewise.
8813 (yn_test): Likewise.
8814 (significand_test): Likewise.
8816 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
8819 * libio/genops.c (_IO_no_init): Initialize wide struct info.
8821 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
8824 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8825 __ppc_mdoio and __ppc_mdoom.
8826 * manual/platform.texi: Document new functions __ppc_yield,
8827 __ppc_mdoio and __ppc_mdoom.
8829 2013-05-22 Carlos O'Donell <carlos@redhat.com>
8831 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8832 (main): Mention "tls" pseudo-hwcap is legacy.
8833 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8835 2013-05-22 Joseph Myers <joseph@codesourcery.com>
8837 * math/gen-libm-test.pl (parse_args): Output only string of
8838 arguments as text for test name, not full call or descriptions of
8839 tests for extra outputs.
8840 (generate_testfile): Do not pass function name to parse_args.
8841 Generate this_func variable from START.
8842 * math/libm-test.inc (struct test_f_f_data): Rename test_name
8844 (struct test_ff_f_data): Likewise.
8845 (test_ff_f_data_nexttoward): Likewise.
8846 (struct test_fi_f_data): Likewise.
8847 (struct test_fl_f_data): Likewise.
8848 (struct test_if_f_data): Likewise.
8849 (struct test_fff_f_data): Likewise.
8850 (struct test_c_f_data): Likewise.
8851 (struct test_f_f1_data): Likewise. Remove field extra_name.
8852 (struct test_fF_f1_data): Likewise.
8853 (struct test_ffI_f1_data): Likewise.
8854 (struct test_c_c_data): Rename test_name field to arg_str.
8855 (struct test_cc_c_data): Likewise.
8856 (struct test_f_i_data): Likewise.
8857 (struct test_ff_i_data): Likewise.
8858 (struct test_f_l_data): Likewise.
8859 (struct test_f_L_data): Likewise.
8860 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
8862 (COMMON_TEST_SETUP): New macro.
8863 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8864 (COMMON_TEST_CLEANUP): Likewise.
8865 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8866 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
8868 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8869 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
8871 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8872 (RUN_TEST_fff_f): Take argument string. Call new setup and
8874 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8875 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
8877 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8878 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
8880 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8881 (RUN_TEST_fF_f1): Take argument string. Call new setup and
8883 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8884 (RUN_TEST_fI_f1): Take argument string. Call new setup and
8886 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8887 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
8889 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8890 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
8892 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8893 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
8895 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8896 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
8898 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8899 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
8901 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8902 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
8904 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8905 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
8907 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8908 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
8910 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8911 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
8913 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8914 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
8916 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8917 (RUN_TEST_fFF_11): Take argument string. Call new setup and
8919 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8921 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8923 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8924 to _sifields.sigfault.
8925 (si_addr_lsb): Define new macro.
8926 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8927 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8928 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8930 2013-05-03 Carlos O'Donell <carlos at redhat.com>
8933 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8935 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8937 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8940 2013-05-22 Joseph Myers <joseph@codesourcery.com>
8942 * math/gen-libm-test.pl (parse_args): Do not include expected
8943 result in test name.
8944 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8945 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8946 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8947 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8948 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8951 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8953 * benchtests/Makefile: Sort function entries.
8955 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8956 tanh, asinh, acosh, atanh.
8957 * benchtests/acos-inputs: New file.
8958 * benchtests/acosh-inputs: New file.
8959 * benchtests/asin-inputs: New file.
8960 * benchtests/asinh-inputs: New file.
8961 * benchtests/atanh-inputs: New file.
8962 * benchtests/cosh-inputs: New file.
8963 * benchtests/log-inputs: New file.
8964 * benchtests/sinh-inputs: New file.
8965 * benchtests/tanh-inputs: New file.
8967 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
8970 * posix/tst-getaddrinfo4.c: New test.
8971 * posix/Makefile (tests): Add it.
8973 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8976 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8977 when no services were used.
8978 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8979 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8981 2013-05-21 Andreas Schwab <schwab@suse.de>
8984 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8985 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8987 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8988 redundant variable declarations and reallocation of buffer when
8989 parsing as IPv6 address. Always set NSS status when called from
8990 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
8991 buffer too small. Correct computation of needed size.
8992 * nss/Makefile (tests): Add test-digits-dots.
8993 * nss/test-digits-dots.c: New test.
8995 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8997 * benchtests/Makefile: Remove instructions for adding
8999 * benchtests/README: New file to explain how to execute and
9000 enhance the benchmark tests.
9002 2013-05-21 Andreas Schwab <schwab@suse.de>
9005 * setjmp/Makefile (tests): Add tst-sigsetjmp.
9006 * setjmp/tst-sigsetjmp.c: New test.
9008 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
9010 * sysdeps/x86_64/memset.S (memset): New implementation.
9011 (__bzero): Likewise.
9012 (__memset_tail): New function.
9014 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
9016 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
9017 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
9018 __memcpy_sse2_unaligned ifunc selection.
9019 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9020 Add memcpy-sse2-unaligned.S.
9021 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9022 Add: __memcpy_sse2_unaligned.
9024 2013-05-19 Joseph Myers <joseph@codesourcery.com>
9027 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9028 math_force_eval before restoring floating-point envrionment.
9029 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
9030 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
9032 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
9034 (__nearbyintl): Use math_force_eval before restoring
9035 floating-point environment.
9036 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
9038 * math/gen-libm-test.pl (special_functions): Remove.
9039 (parse_args): Don't handle TEST_extra. Handle functions with no
9041 * math/libm-test.inc (struct test_sincos_data): Replace with
9042 struct test_fFF_11_data.
9043 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
9044 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
9045 (sincos_test_data): Change element type to struct
9046 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
9047 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
9048 RUN_TEST_LOOP_sincos.
9049 * math/README.libm-test: Don't mention special handling of
9050 individual functions.
9051 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
9052 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9053 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9054 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9055 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9058 * math/gen-libm-test.pl (get_variable): Remove function.
9059 (parse_args): Don't show pointer parameters to call in test
9060 names. Use "extra output N" in test names for extra outputs
9061 rather than naming variables.
9063 2013-05-18 Joseph Myers <joseph@codesourcery.com>
9066 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
9067 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
9068 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
9070 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
9072 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
9075 * math/gen-libm-test.pl (@tests): Remove variable.
9077 (new_test): Remove function.
9078 (show_exceptions): New function.
9079 (special_functions): Use show_exceptions instead of new_test.
9080 (parse_args): Likewise.
9081 (generate_testfile): Pass only function name in generated call to
9082 print_max_error or print_complex_max_error.
9083 (get_ulps): Do not handle complex tests specially.
9084 (output_test): Rename to ...
9085 (get_all_ulps_for_test): ... this. Return a string rather than
9086 printing to a file. Require ulps to be present.
9087 (output_ulps): Generate arrays rather than #defines.
9088 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
9089 (struct ulp_data): New type.
9090 (BUILD_COMPLEX_ULP): Remove macro.
9091 (compare_ulp_data): New function.
9092 (find_ulps): Likewise.
9093 (find_test_ulps): Likewise.
9094 (find_function_ulps): Likewise.
9095 (find_complex_function_ulps): Likewise.
9096 (print_max_error): Determine allowed ulps using
9098 (print_complex_max_error): Determine allowed ulps using
9099 find_complex_function_ulps.
9100 (check_float_internal): Determine max ulps using find_test_ulps.
9101 (check_float): Do not take max_ulp parameter. Update call to
9102 check_float_internal.
9103 (check_complex): Likewise.
9104 (check_int): Do not take max_ulp parameter.
9105 (check_long): Likewise.
9106 (check_bool): Likewise.
9107 (check_longlong): Likewise.
9108 (struct test_f_f_data): Remove max_ulp field.
9109 (struct test_ff_f_data): Likewise.
9110 (struct test_ff_f_data_nexttoward): Likewise.
9111 (struct test_fi_f_data): Likewise.
9112 (struct test_fl_f_data): Likewise.
9113 (struct test_if_f_data): Likewise.
9114 (struct test_fff_f_data): Likewise.
9115 (struct test_c_f_data): Likewise.
9116 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
9117 (struct test_fF_f1_data): Likewise.
9118 (struct test_ffI_f1_data): Likewise.
9119 (struct test_c_c_data): Remove max_ulp field.
9120 (struct test_cc_c_data): Likewise.
9121 (struct test_f_i_data): Likewise.
9122 (struct test_ff_i_data): Likewise.
9123 (struct test_f_l_data): Likewise.
9124 (struct test_f_L_data): Likewise.
9125 (struct test_sincos_data): Likewise.
9126 (RUN_TEST_f_f): Do not handle ulps.
9127 (RUN_TEST_LOOP_f_f): Likewise.
9128 (RUN_TEST_2_f): Likewise.
9129 (RUN_TEST_LOOP_2_f): Likewise.
9130 (RUN_TEST_fff_f): Likewise.
9131 (RUN_TEST_LOOP_fff_f): Likewise.
9132 (RUN_TEST_c_f): Likewise.
9133 (RUN_TEST_LOOP_c_f): Likewise.
9134 (RUN_TEST_f_f1): Likewise.
9135 (RUN_TEST_LOOP_f_f1): Likewise.
9136 (RUN_TEST_fF_f1): Likewise.
9137 (RUN_TEST_LOOP_fF_f1): Likewise.
9138 (RUN_TEST_fI_f1): Likewise.
9139 (RUN_TEST_LOOP_fI_f1): Likewise.
9140 (RUN_TEST_ffI_f1): Likewise.
9141 (RUN_TEST_LOOP_ffI_f1): Likewise.
9142 (RUN_TEST_c_c): Likewise.
9143 (RUN_TEST_LOOP_c_c): Likewise.
9144 (RUN_TEST_cc_c): Likewise.
9145 (RUN_TEST_LOOP_cc_c): Likewise.
9146 (RUN_TEST_f_i): Likewise.
9147 (RUN_TEST_LOOP_f_i): Likewise.
9148 (RUN_TEST_f_i_tg): Likewise.
9149 (RUN_TEST_LOOP_f_i_tg): Likewise.
9150 (RUN_TEST_ff_i_tg): Likewise.
9151 (RUN_TEST_LOOP_ff_i_tg): Likewise.
9152 (RUN_TEST_f_b): Likewise.
9153 (RUN_TEST_LOOP_f_b): Likewise.
9154 (RUN_TEST_f_b_tg): Likewise.
9155 (RUN_TEST_LOOP_f_b_tg): Likewise.
9156 (RUN_TEST_f_l): Likewise.
9157 (RUN_TEST_LOOP_f_l): Likewise.
9158 (RUN_TEST_f_L): Likewise.
9159 (RUN_TEST_LOOP_f_L): Likewise.
9160 (RUN_TEST_sincos): Likewise.
9161 (RUN_TEST_LOOP_sincos): Likewise.
9163 2013-05-17 Joseph Myers <joseph@codesourcery.com>
9167 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
9168 main case of finite arguments, set rounding mode to FE_TONEAREST
9169 and discard exceptions.
9170 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
9172 (remainder_tonearest_test_data): New variable.
9173 (remainder_test_tonearest): New function.
9174 (remainder_towardzero_test_data): New variable.
9175 (remainder_test_towardzero): New function.
9176 (remainder_downward_test_data): New variable.
9177 (remainder_test_downward): New function.
9178 (remainder_upward_test_data): New variable.
9179 (remainder_test_upward): New function.
9180 (main): Call the new test functions.
9182 * math/libm-test.inc (struct test_f_f1_data): Remove field
9184 (struct test_fF_f1_data): Likewise.
9185 (struct test_ffI_f1_data): Likewise.
9186 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
9187 based on value of EXTRA_EXPECTED.
9188 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9189 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
9190 EXTRA_VAR based on value of EXTRA_EXPECTED.
9191 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9192 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
9193 EXTRA_VAR based on value of EXTRA_EXPECTED.
9194 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9195 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
9196 EXTRA_VAR based on value of EXTRA_EXPECTED.
9197 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9198 * math/gen-libm-test.pl (parse_args): Don't output initializers
9199 for extra output values.
9201 * math/libm-test.inc (check_int): Expect result to be exactly
9202 equal to expected value and do not handle ulps.
9203 (check_long): Likewise.
9204 (check_longlong): Likewise.
9206 * math/libm-test.inc (ceil_test_data): Test for "inexact"
9208 (cimag_test_data): Likewise.
9209 (conj_test_data): Likewise.
9210 (copysign_test_data): Likewise.
9211 (cproj_test_data): Likewise.
9212 (creal_test_data): Likewise.
9213 (fabs_test_data): Likewise.
9214 (fdim_test_data): Likewise.
9215 (finite_test_data): Likewise.
9216 (floor_test_data): Likewise.
9217 (fmax_test_data): Likewise.
9218 (fmin_test_data): Likewise.
9219 (fmod_test_data): Likewise.
9220 (fpclassify_test_data): Likewise.
9221 (frexp_test_data): Likewise.
9222 (ilogb_test_data): Likewise.
9223 (isfinite_test_data): Likewise.
9224 (isgreater_test_data): Likewise.
9225 (isgreaterequal_test_data): Likewise.
9226 (isinf_test_data): Likewise.
9227 (isless_test_data): Likewise.
9228 (islessequal_test_data): Likewise.
9229 (islessgreater_test_data): Likewise.
9230 (isnan_test_data): Likewise.
9231 (isnormal_test_data): Likewise.
9232 (issignaling_test_data): Likewise.
9233 (isunordered_test_data): Likewise.
9234 (ldexp_test_data): Likewise.
9235 (lrint_test_data): Likewise.
9236 (lrint_test_data) [TEST_FLOAT]: Disable one test.
9237 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
9238 (lrint_tonearest_test_data): Test for "inexact" exceptions.
9239 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9240 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
9241 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9243 (lrint_towardzero_test_data): Test for "inexact" exceptions.
9244 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9245 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
9246 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
9248 (lrint_downward_test_data): Test for "inexact" exceptions.
9249 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9250 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
9251 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9253 (lrint_upward_test_data): Test for "inexact" exceptions.
9254 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
9256 (llrint_test_data): Test for "inexact" exceptions.
9257 (llrint_test_data) [TEST_FLOAT]: Disable one test.
9258 (llrint_tonearest_test_data): Test for "inexact" exceptions.
9259 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9260 (llrint_towardzero_test_data): Test for "inexact" exceptions.
9261 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9262 (llrint_downward_test_data): Test for "inexact" exceptions.
9263 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9264 (llrint_upward_test_data): Test for "inexact" exceptions.
9265 (logb_test_data): Likewise.
9266 (logb_downward_test_data): Likewise.
9267 (nextafter_test_data): Likewise.
9268 (nexttoward_test_data): Likewise.
9269 (remainder_test_data): Likewise.
9270 (remquo_test_data): Likewise.
9271 (scalbn_test_data): Likewise.
9272 (scalbln_test_data): Likewise.
9273 (signbit_test_data): Likewise.
9274 (sqrt_test_data): Likewise.
9275 (significand_test_data): Likewise.
9277 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9280 * benchtests/bench-modf.c (struct args): Mark arg0 as
9282 * scripts/bench.pl: Mark members of struct args as volatile.
9284 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9287 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
9288 negative infinity on POWER6 or lower.
9289 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
9291 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
9294 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
9295 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
9296 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
9297 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
9298 (_FP_SETQNAN): New macro.
9299 (_FP_SETQNAN_SEMIRAW): Likewise.
9300 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
9301 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
9302 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
9303 (FP_EXTEND): Use _FP_FRAC_SNANP.
9304 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
9305 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
9307 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9309 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9312 2013-05-16 Joseph Myers <joseph@codesourcery.com>
9314 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
9315 with DIVIDE_BY_ZERO_EXCEPTION.
9316 (gamma_test_data): Likewise.
9317 (lgamma_test_data): Likewise.
9318 (log_test_data): Likewise.
9319 (log10_test_data): Likewise.
9320 (log2_test_data): Likewise.
9321 (tgamma_test_data): Likewise.
9323 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
9324 (acos_test_tonearest): Likewise.
9325 (acos_test_towardzero): Likewise.
9326 (acos_test_downward): Likewise.
9327 (acos_test_upward): Likewise.
9328 (acosh_test): Likewise.
9329 (asin_test): Likewise.
9330 (asin_test_tonearest): Likewise.
9331 (asin_test_towardzero): Likewise.
9332 (asin_test_downward): Likewise.
9333 (asin_test_upward): Likewise.
9334 (asinh_test): Likewise.
9335 (atan_test): Likewise.
9336 (atanh_test): Likewise.
9337 (atan2_test): Likewise.
9338 (cabs_test): Likewise.
9339 (cacos_test): Likewise.
9340 (cacosh_test): Likewise.
9341 (casin_test): Likewise.
9342 (casinh_test): Likewise.
9343 (catan_test): Likewise.
9344 (catanh_test): Likewise.
9345 (cbrt_test): Likewise.
9346 (ccos_test): Likewise.
9347 (ccosh_test): Likewise.
9348 (cexp_test): Likewise.
9349 (clog_test): Likewise.
9350 (clog10_test): Likewise.
9351 (cos_test): Likewise.
9352 (cos_test_tonearest): Likewise.
9353 (cos_test_towardzero): Likewise.
9354 (cos_test_downward): Likewise.
9355 (cos_test_upward): Likewise.
9356 (cosh_test): Likewise.
9357 (cosh_test_tonearest): Likewise.
9358 (cosh_test_towardzero): Likewise.
9359 (cosh_test_downward): Likewise.
9360 (cosh_test_upward): Likewise.
9361 (cpow_test): Likewise.
9362 (csin_test): Likewise.
9363 (csinh_test): Likewise.
9364 (csqrt_test): Likewise.
9365 (ctan_test): Likewise.
9366 (ctan_test_tonearest): Likewise.
9367 (ctan_test_towardzero): Likewise.
9368 (ctan_test_downward): Likewise.
9369 (ctan_test_upward): Likewise.
9370 (ctanh_test): Likewise.
9371 (ctanh_test_tonearest): Likewise.
9372 (ctanh_test_towardzero): Likewise.
9373 (ctanh_test_downward): Likewise.
9374 (ctanh_test_upward): Likewise.
9375 (erf_test): Likewise.
9376 (erfc_test): Likewise.
9377 (exp_test): Likewise.
9378 (exp_test_tonearest): Likewise.
9379 (exp_test_towardzero): Likewise.
9380 (exp_test_downward): Likewise.
9381 (exp_test_upward): Likewise.
9382 (exp10_test): Likewise.
9383 (exp2_test): Likewise.
9384 (expm1_test): Likewise.
9385 (fmod_test): Likewise.
9386 (gamma_test): Likewise.
9387 (hypot_test): Likewise.
9388 (j0_test): Likewise.
9389 (j1_test): Likewise.
9390 (jn_test): Likewise.
9391 (lgamma_test): Likewise.
9392 (log_test): Likewise.
9393 (log10_test): Likewise.
9394 (log1p_test): Likewise.
9395 (log2_test): Likewise.
9396 (logb_test_downward): Likewise.
9397 (pow_test): Likewise.
9398 (pow_test_tonearest): Likewise.
9399 (pow_test_towardzero): Likewise.
9400 (pow_test_downward): Likewise.
9401 (pow_test_upward): Likewise.
9402 (remainder_test): Likewise.
9403 (remquo_test): Likewise.
9404 (sin_test): Likewise.
9405 (sin_test_tonearest): Likewise.
9406 (sin_test_towardzero): Likewise.
9407 (sin_test_downward): Likewise.
9408 (sin_test_upward): Likewise.
9409 (sincos_test): Likewise.
9410 (sinh_test): Likewise.
9411 (sinh_test_tonearest): Likewise.
9412 (sinh_test_towardzero): Likewise.
9413 (sinh_test_downward): Likewise.
9414 (sinh_test_upward): Likewise.
9415 (sqrt_test): Likewise.
9416 (tan_test): Likewise.
9417 (tan_test_tonearest): Likewise.
9418 (tan_test_towardzero): Likewise.
9419 (tan_test_downward): Likewise.
9420 (tan_test_upward): Likewise.
9421 (tanh_test): Likewise.
9422 (tgamma_test): Likewise.
9423 (y0_test): Likewise.
9424 (y1_test): Likewise.
9425 (yn_test): Likewise.
9427 * math/gen-libm-test.pl (adjust_arg): Remove function.
9428 (special_function): Remove argument $in_func. Only handle
9429 generating output for tables of tests, not inside functions.
9430 (parse_args): Likewise.
9431 (generate_testfile): Remove variable $in_func. Update call to
9433 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
9434 (MINUS_ZERO_INIT): Rename macro to minus_zero.
9435 (PLUS_INFTY_INIT): Rename macro to plus_infty.
9436 (MINUS_INFTY_INIT): Rename macro to minus_infty.
9437 (QNAN_VALUE_INIT): Rename macro to qnan_value.
9438 (MAX_VALUE_INIT): Rename macro to max_value.
9439 (MIN_VALUE_INIT): Rename macro to min_value.
9440 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
9441 (plus_zero): Remove variable.
9442 (minus_zero): Likewise.
9443 (plus_infty): Likewise.
9444 (minus_infty): Likewise.
9445 (qnan_value): Likewise.
9446 (max_value): Likewise.
9447 (min_value): Likewise.
9448 (min_subnorm_value): Likewise.
9450 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9452 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
9453 uint64_t or uint32_t usage.
9454 * crypt/sha256-block.c: Likewise.
9455 * crypt/sha256-crypt.c: Likewise.
9456 * crypt/sha256.c: Likewise.
9457 * crypt/sha512-block.c: Likewise.
9458 * crypt/sha512-crypt.c: Likewise.
9459 * crypt/sha512.c: Likewise.
9460 * debug/backtrace-tst.c: Likewise.
9461 * debug/pcprofiledump.c: Likewise.
9462 * elf/cache.c: Likewise.
9463 * elf/dl-cache.c: Likewise.
9464 * elf/dl-misc.c: Likewise.
9465 * elf/dl-profile.c: Likewise.
9466 * elf/dl-support.c: Likewise.
9467 * elf/ldconfig.c: Likewise.
9468 * elf/sprof.c: Likewise.
9469 * iconv/dummy-repertoire.c: Likewise.
9470 * iconv/iconv_charmap.c: Likewise.
9471 * iconv/skeleton.c: Likewise.
9472 * iconvdata/8bit-generic.c: Likewise.
9473 * iconvdata/cp737.h: Likewise.
9474 * iconvdata/cp775.h: Likewise.
9475 * iconvdata/ibm1008.h: Likewise.
9476 * iconvdata/ibm1025.h: Likewise.
9477 * iconvdata/ibm1046.h: Likewise.
9478 * iconvdata/ibm1097.h: Likewise.
9479 * iconvdata/ibm1112.h: Likewise.
9480 * iconvdata/ibm1122.h: Likewise.
9481 * iconvdata/ibm1123.h: Likewise.
9482 * iconvdata/ibm1124.h: Likewise.
9483 * iconvdata/ibm1129.h: Likewise.
9484 * iconvdata/ibm1130.h: Likewise.
9485 * iconvdata/ibm1132.h: Likewise.
9486 * iconvdata/ibm1133.h: Likewise.
9487 * iconvdata/ibm1137.h: Likewise.
9488 * iconvdata/ibm1140.h: Likewise.
9489 * iconvdata/ibm1141.h: Likewise.
9490 * iconvdata/ibm1142.h: Likewise.
9491 * iconvdata/ibm1143.h: Likewise.
9492 * iconvdata/ibm1144.h: Likewise.
9493 * iconvdata/ibm1145.h: Likewise.
9494 * iconvdata/ibm1146.h: Likewise.
9495 * iconvdata/ibm1147.h: Likewise.
9496 * iconvdata/ibm1148.h: Likewise.
9497 * iconvdata/ibm1149.h: Likewise.
9498 * iconvdata/ibm1153.h: Likewise.
9499 * iconvdata/ibm1154.h: Likewise.
9500 * iconvdata/ibm1155.h: Likewise.
9501 * iconvdata/ibm1156.h: Likewise.
9502 * iconvdata/ibm1157.h: Likewise.
9503 * iconvdata/ibm1158.h: Likewise.
9504 * iconvdata/ibm1160.h: Likewise.
9505 * iconvdata/ibm1161.h: Likewise.
9506 * iconvdata/ibm1162.h: Likewise.
9507 * iconvdata/ibm1163.h: Likewise.
9508 * iconvdata/ibm1164.h: Likewise.
9509 * iconvdata/ibm1166.h: Likewise.
9510 * iconvdata/ibm1167.h: Likewise.
9511 * iconvdata/ibm12712.h: Likewise.
9512 * iconvdata/ibm1390.h: Likewise.
9513 * iconvdata/ibm1399.h: Likewise.
9514 * iconvdata/ibm16804.h: Likewise.
9515 * iconvdata/ibm4517.h: Likewise.
9516 * iconvdata/ibm4899.h: Likewise.
9517 * iconvdata/ibm4909.h: Likewise.
9518 * iconvdata/ibm4971.h: Likewise.
9519 * iconvdata/ibm5347.h: Likewise.
9520 * iconvdata/ibm803.h: Likewise.
9521 * iconvdata/ibm856.h: Likewise.
9522 * iconvdata/ibm901.h: Likewise.
9523 * iconvdata/ibm902.h: Likewise.
9524 * iconvdata/ibm9030.h: Likewise.
9525 * iconvdata/ibm9066.h: Likewise.
9526 * iconvdata/ibm921.h: Likewise.
9527 * iconvdata/ibm922.h: Likewise.
9528 * iconvdata/ibm9448.h: Likewise.
9529 * iconvdata/isiri-3342.h: Likewise.
9530 * iconvdata/jis0201.h: Likewise.
9531 * include/link.h: Likewise.
9532 * include/netdb.h: Likewise.
9533 * inet/check_native.c: Likewise.
9534 * inet/check_pf.c: Likewise.
9535 * inet/getipv4sourcefilter.c: Likewise.
9536 * inet/getnameinfo.c: Likewise.
9537 * inet/getsourcefilter.c: Likewise.
9538 * inet/htonl.c: Likewise.
9539 * inet/setipv4sourcefilter.c: Likewise.
9540 * inet/setsourcefilter.c: Likewise.
9541 * inet/test-inet6_opt.c: Likewise.
9542 * inet/tst-network.c: Likewise.
9543 * locale/C-collate.c: Likewise.
9544 * locale/C-ctype.c: Likewise.
9545 * locale/C-time.c: Likewise.
9546 * locale/C-translit.h: Likewise.
9547 * locale/loadarchive.c: Likewise.
9548 * locale/programs/3level.h: Likewise.
9549 * locale/programs/charmap.c: Likewise.
9550 * locale/programs/charmap.h: Likewise.
9551 * locale/programs/ld-address.c: Likewise.
9552 * locale/programs/ld-collate.c: Likewise.
9553 * locale/programs/ld-ctype.c: Likewise.
9554 * locale/programs/ld-identification.c: Likewise.
9555 * locale/programs/ld-measurement.c: Likewise.
9556 * locale/programs/ld-messages.c: Likewise.
9557 * locale/programs/ld-monetary.c: Likewise.
9558 * locale/programs/ld-name.c: Likewise.
9559 * locale/programs/ld-numeric.c: Likewise.
9560 * locale/programs/ld-paper.c: Likewise.
9561 * locale/programs/ld-telephone.c: Likewise.
9562 * locale/programs/ld-time.c: Likewise.
9563 * locale/programs/linereader.c: Likewise.
9564 * locale/programs/locale.c: Likewise.
9565 * locale/programs/locarchive.c: Likewise.
9566 * locale/programs/locfile.h: Likewise.
9567 * locale/programs/repertoire.c: Likewise.
9568 * locale/programs/simple-hash.c: Likewise.
9569 * locale/programs/simple-hash.h: Likewise.
9570 * malloc/memusage.c: Likewise.
9571 * malloc/memusagestat.c: Likewise.
9572 * nis/nis_defaults.c: Likewise.
9573 * nis/nis_hash.c: Likewise.
9574 * nis/nis_print.c: Likewise.
9575 * nis/nis_xdr.c: Likewise.
9576 * nscd/connections.c: Likewise.
9577 * nscd/hstcache.c: Likewise.
9578 * nscd/nscd_gethst_r.c: Likewise.
9579 * nscd/nscd_getserv_r.c: Likewise.
9580 * nscd/nscd_helper.c: Likewise.
9581 * nscd/servicescache.c: Likewise.
9582 * nss/makedb.c: Likewise.
9583 * nss/nss_db/db-XXX.c: Likewise.
9584 * nss/nss_db/db-initgroups.c: Likewise.
9585 * nss/nss_db/db-netgrp.c: Likewise.
9586 * nss/nss_files/files-network.c: Likewise.
9587 * nss/nss_files/files-parse.c: Likewise.
9588 * posix/bug-regex5.c: Likewise.
9589 * posix/fnmatch_loop.c: Likewise.
9590 * posix/regcomp.c: Likewise.
9591 * posix/regexec.c: Likewise.
9592 * posix/tst-rfc3484-2.c: Likewise.
9593 * posix/tst-rfc3484-3.c: Likewise.
9594 * posix/tst-rfc3484.c: Likewise.
9595 * resolv/nss_dns/dns-canon.c: Likewise.
9596 * resolv/nss_dns/dns-network.c: Likewise.
9597 * resolv/res_init.c: Likewise.
9598 * resolv/res_mkquery.c: Likewise.
9599 * resolv/tst-aton.c: Likewise.
9600 * stdlib/cxa_atexit.c: Likewise.
9601 * stdlib/cxa_finalize.c: Likewise.
9602 * stdlib/gen-fpioconst.c: Likewise.
9603 * stdlib/strtol_l.c: Likewise.
9604 * string/tst-endian.c: Likewise.
9605 * sunrpc/auth_des.c: Likewise.
9606 * sunrpc/clnt_udp.c: Likewise.
9607 * sunrpc/rtime.c: Likewise.
9608 * sunrpc/svcauth_des.c: Likewise.
9609 * sunrpc/xdr.c: Likewise.
9610 * sunrpc/xdr_intXX_t.c: Likewise.
9611 * sunrpc/xdr_rec.c: Likewise.
9612 * sysdeps/generic/ldconfig.h: Likewise.
9613 * sysdeps/generic/ldsodefs.h: Likewise.
9614 * sysdeps/generic/memusage.h: Likewise.
9615 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9616 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
9617 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
9618 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9619 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9620 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9621 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9622 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9623 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9624 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9625 * sysdeps/posix/getaddrinfo.c: Likewise.
9626 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9627 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9628 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9629 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9630 * sysdeps/powerpc/test-gettimebase.c: Likewise.
9631 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9632 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
9633 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
9634 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9635 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
9636 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9637 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9638 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
9639 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
9640 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
9641 * sysdeps/x86_64/dl-tls.h: Likewise.
9642 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
9643 * time/alt_digit.c: Likewise.
9644 * time/era.c: Likewise.
9645 * wcsmbs/tst-c16c32-1.c: Likewise.
9647 2013-05-16 Joseph Myers <joseph@codesourcery.com>
9649 * math/libm-test.inc (struct test_sincos_data): New type.
9650 (RUN_TEST_LOOP_sincos): New macro.
9651 (sincos_test_data): New variable.
9652 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
9654 2013-05-16 Richard Henderson <rth@redhat.com>
9656 * math/atest-exp2.c (LIMB64): New macro.
9657 (CONSTSZ): New macro.
9658 (mp_exp1, mp_exp_m1, mp_log2): New variables.
9660 (print_mpn_fp): ... to function scope.
9661 (read_mpn_hex): Remove.
9663 (exp2_mpn): Use mp_log2.
9664 (main): Use mp_exp1.
9666 2013-05-16 Joseph Myers <joseph@codesourcery.com>
9668 * math/libm-test.inc: Remove comment about not testing "inexact"
9670 (INEXACT_EXCEPTION): New macro.
9671 (NO_INEXACT_EXCEPTION): Likewise.
9672 (INVALID_EXCEPTION_OK): Update value.
9673 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9674 (OVERFLOW_EXCEPTION_OK): Likewise.
9675 (UNDERFLOW_EXCEPTION_OK): Likewise.
9676 (IGNORE_ZERO_INF_SIGN): Likewise.
9677 (ERRNO_UNCHANGED): Likewise.
9678 (ERRNO_EDOM): Likewise.
9679 (ERRNO_ERANGE): Likewise.
9680 (test_exceptions): Handle testing "inexact" exceptions.
9681 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
9682 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
9683 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
9684 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
9686 (rint_towardzero_test_data): Likewise.
9687 (rint_downward_test_data): Likewise.
9688 (rint_upward_test_data): Likewise.
9690 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
9691 with OVERFLOW_EXCEPTION.
9692 (exp10_test_data): Likewise.
9693 (exp2_test_data): Likewise.
9694 (expm1_test_data): Likewise.
9695 (lgamma_test_data): Likewise.
9696 (pow_test_data): Likewise.
9697 (tgamma_test_data): Likewise.
9698 (yn_test_data): Remove duplicate test of overflow.
9700 * math/libm-test.inc (struct test_cc_c_data): New type.
9701 (RUN_TEST_LOOP_cc_c): New macro.
9702 (cpow_test_data): New variable.
9703 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
9705 * math/libm-test.inc (struct test_f_L_data): New type.
9706 (RUN_TEST_LOOP_f_L): New macro.
9707 (llrint_test_data): New variable.
9708 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
9709 (llrint_tonearest_test_data): New variable.
9710 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
9711 (llrint_towardzero_test_data): New variable.
9712 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
9713 (llrint_downward_test_data): New variable.
9714 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
9715 (llrint_upward_test_data): New variable.
9716 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
9717 (llround_test_data): New variable.
9718 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
9720 2013-05-13 Peter Collingbourne <pcc@google.com>
9722 * math/atest-exp2.c (get_log2): Remove const attribute.
9724 2013-05-15 Joseph Myers <joseph@codesourcery.com>
9726 * math/libm-test.inc (struct test_f_l_data): New type.
9727 (RUN_TEST_LOOP_f_l): New macro.
9728 (lrint_test_data): New variable.
9729 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
9730 (lrint_tonearest_test_data): New variable.
9731 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
9732 (lrint_towardzero_test_data): New variable.
9733 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
9734 (lrint_downward_test_data): New variable.
9735 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
9736 (lrint_upward_test_data): New variable.
9737 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
9738 (lround_test_data): New variable.
9739 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
9741 2013-05-15 Peter Collingbourne <pcc@google.com>
9743 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
9744 (EXTRACT_WORDS64) Use where appropriate.
9745 (INSERT_WORDS64) Likewise.
9747 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
9748 constraints with x constraints.
9749 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
9751 * malloc/obstack.c (_obstack_compat): Add initializer.
9753 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
9755 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
9756 si_trapno and add si_addr_lsb to _sifields.sigfault.
9757 (si_trapno): Remove macro.
9758 (si_addr_lsb): Define new macro.
9759 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9761 2013-05-15 Joseph Myers <joseph@codesourcery.com>
9763 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
9764 instead of TEST_f_l.
9765 (llrint_test_tonearest): Likewise.
9766 (llrint_test_towardzero): Likewise.
9767 (llrint_test_downward): Likewise.
9768 (llrint_test_upward): Likewise.
9769 (llround_test): Likewise.
9771 * math/libm-test.inc (struct test_f_i_data): Add comment.
9772 (RUN_TEST_LOOP_f_b): New macro.
9773 (RUN_TEST_LOOP_f_b_tg): Likewise.
9774 (finite_test_data): New variable.
9775 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9776 (isfinite_test_data): New variable.
9777 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9778 (isinf_test_data): New variable.
9779 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9780 (isnan_test_data): New variable.
9781 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9782 (isnormal_test_data): New variable.
9783 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9784 (issignaling_test_data): New variable.
9785 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9786 (signbit_test_data): New variable.
9787 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9789 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9790 with INVALID_EXCEPTION.
9791 (acosh_test_data): Likewise.
9792 (asin_test_data): Likewise.
9793 (atanh_test_data): Likewise.
9794 (fmod_test_data): Likewise.
9795 (log_test_data): Likewise.
9796 (log10_test_data): Likewise.
9797 (log2_test_data): Likewise.
9798 (pow_test_data): Likewise.
9799 (sqrt_test_data): Likewise.
9800 (y0_test_data): Likewise.
9801 (y1_test_data): Likewise.
9802 (yn_test_data): Likewise.
9804 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9807 * math/libm-test.inc (struct test_ff_i_data): New type.
9808 (RUN_TEST_LOOP_ff_i_tg): New macro.
9809 (isgreater_test_data): New variable.
9810 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9811 (isgreaterequal_test_data): New variable.
9812 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9813 (isless_test_data): New variable.
9814 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9815 (islessequal_test_data): New variable.
9816 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9817 (islessgreater_test_data): New variable.
9818 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9819 (isunordered_test_data): New variable.
9820 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9822 2013-05-14 David S. Miller <davem@davemloft.net>
9824 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9826 2013-05-14 Joseph Myers <joseph@codesourcery.com>
9828 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9830 * math/libm-test.inc (struct test_fF_f1_data): Change type of
9832 (struct test_f_i_data): Change type of max_ulp to int.
9834 * math/libm-test.inc (test_ffI_f1_data): New type.
9835 (RUN_TEST_LOOP_ffI_f1): New macro.
9836 (remquo_test_data): New variable.
9837 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9839 * setjmp/tst-setjmp-fp.c: New file.
9840 * setjmp/Makefile (tests): Add tst-setjmp-fp.
9841 (link-libm): New variable.
9842 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9844 * math/libm-test.inc (struct test_f_i_data): New type.
9845 (RUN_TEST_LOOP_f_i): New macro.
9846 (RUN_TEST_LOOP_f_i_tg): Likewise.
9847 (fpclassify_test_data): New variable.
9848 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9849 (ilogb_test_data): New variable.
9850 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9852 * math/libm-test.inc (scalbln_test): Correct function name in END
9855 * math/libm-test.inc (struct test_f_f1_data): Add comment.
9856 (RUN_TEST_LOOP_fI_f1): New macro.
9857 (frexp_test_data): New variable.
9858 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9860 * math/libm-test.inc (struct test_fF_f1_data): New type.
9861 (RUN_TEST_LOOP_fF_f1): New macro.
9862 (modf_test_data): New variable.
9863 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9865 * math/libm-test.inc (struct test_f_f1_data): New type.
9866 (RUN_TEST_LOOP_f_f1): New macro.
9867 (gamma_test_data): New variable.
9868 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9869 (lgamma_test_data): New variable.
9870 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9872 2013-05-13 Carlos O'Donell <carlos@redhat.com>
9874 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9875 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9876 (main): Comment "tls" pseudo-hwcap.
9878 2013-05-13 Joseph Myers <joseph@codesourcery.com>
9880 * math/libm-test.inc (struct test_fl_f_data): New type.
9881 (RUN_TEST_LOOP_fl_f): New variable.
9882 (scalbln_test_data): New variable.
9883 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9885 * math/libm-test.inc (struct test_fi_f_data): New type.
9886 (RUN_TEST_LOOP_fi_f): New macro.
9887 (ldexp_test_data): New variable.
9888 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9889 (scalbn_test_data): New variable.
9890 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9892 * math/libm-test.inc (struct test_c_f_data): New type.
9893 (RUN_TEST_LOOP_c_f): New macro.
9894 (cabs_test_data): New variable.
9895 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9896 (carg_test_data): New variable.
9897 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9898 (cimag_test_data): New variable.
9899 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9900 (creal_test_data): New variable.
9901 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9903 * math/libm-test.inc (struct test_if_f_data): New type.
9904 (RUN_TEST_LOOP_if_f): New macro.
9905 (jn_test_data): New variable.
9906 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9907 (yn_test_data): New variable.
9908 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9910 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9912 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9914 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9915 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9917 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9919 * benchtests/Makefile (CPPFLAGS-nonlib): Add
9920 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9921 (bench-deps): Add bench-timing.h.
9922 * benchtests-bench-skeleton.c: Include bench-timing.h.
9923 (main): Use TIMING_* macros instead of clock_gettime.
9924 * benchtests/bench-timing.h: New file.
9927 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9928 Renamed from _LIB_VERSION.
9929 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9931 2013-05-12 Joseph Myers <joseph@codesourcery.com>
9933 * math/libm-test.inc (struct test_fff_f_data): New type.
9934 (RUN_TEST_LOOP_fff_f): New macro.
9935 (fma_test_data): New variable.
9936 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9937 (fma_towardzero_test_data): New variable.
9938 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9939 (fma_downward_test_data): New variable.
9940 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9941 (fma_upward_test_data): New variable.
9942 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9944 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9945 (struct test_c_c_data): New type.
9946 (RUN_TEST_LOOP_c_c): New macro.
9947 (cacos_test_data): New variable.
9948 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9949 (cacosh_test_data): New variable.
9950 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9951 (casin_test_data): New variable.
9952 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9953 (casinh_test_data): New variable.
9954 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9955 (catan_test_data): New variable.
9956 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9957 (catanh_test_data): New variable.
9958 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9959 (ccos_test_data): New variable.
9960 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9961 (ccosh_test_data): New variable.
9962 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9963 (cexp_test_data): New variable.
9964 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9965 (clog_test_data): New variable.
9966 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9967 (clog10_test_data): New variable.
9968 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9969 (conj_test_data): New variable.
9970 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9971 (cproj_test_data): New variable.
9972 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9973 (csin_test_data): New variable.
9974 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9975 (csinh_test_data): New variable.
9976 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9977 (csqrt_test_data): New variable.
9978 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9979 (ctan_test_data): New variable.
9980 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9981 (ctan_tonearest_test_data): New variable.
9982 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9983 (ctan_towardzero_test_data): New variable.
9984 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9985 (ctan_downward_test_data): New variable.
9986 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9987 (ctan_upward_test_data): New variable.
9988 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9989 (ctanh_test_data): New variable.
9990 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9991 (ctanh_tonearest_test_data): New variable.
9992 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9993 (ctanh_towardzero_test_data): New variable.
9994 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9995 (ctanh_downward_test_data): New variable.
9996 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9997 (ctanh_upward_test_data): New variable.
9998 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9999 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
10002 * math/libm-test.inc (struct test_ff_f_data): New type.
10003 (struct test_ff_f_data_nexttoward): Likewise.
10004 (RUN_TEST_LOOP_2_f): New macro.
10005 (RUN_TEST_LOOP_ff_f): Likewise.
10006 (atan2_test_data): New variable.
10007 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
10008 (copysign_test_data): New variable.
10009 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
10010 (fdim_test_data): New variable.
10011 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
10012 (fmax_test_data): New variable.
10013 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
10014 (fmin_test_data): New variable.
10015 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
10016 (fmod_test_data): New variable.
10017 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
10018 (hypot_test_data): New variable.
10019 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
10020 (nextafter_test_data): New variable.
10021 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
10022 (nexttoward_test_data): New variable.
10023 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
10024 (pow_test_data): New variable.
10025 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
10026 (pow_tonearest_test_data): New variable.
10027 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
10028 (pow_towardzero_test_data): New variable.
10029 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
10030 (pow_downward_test_data): New variable.
10031 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
10032 (pow_upward_test_data): New variable.
10033 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
10034 (remainder_test_data): New variable.
10035 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
10036 (scalb_test_data): New variable.
10037 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
10038 * sysdeps/i386/fpu/libm-test-ulps: Update.
10040 2013-05-11 Joseph Myers <joseph@codesourcery.com>
10042 * math/libm-test.inc (fma_test): Use max_value instead of local
10044 (nextafter_test): Likewise.
10046 * math/libm-test.inc (acos_towardzero_test_data): New variable.
10047 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10048 (acos_downward_test_data): New variable.
10049 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10050 (acos_upward_test_data): New variable.
10051 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10052 (acosh_test_data): New variable.
10053 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
10054 (asin_test_data): New variable.
10055 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
10056 (asin_tonearest_test_data): New variable.
10057 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10058 (asin_towardzero_test_data): New variable.
10059 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10060 (asin_downward_test_data): New variable.
10061 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10062 (asin_upward_test_data): New variable.
10063 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10064 (asinh_test_data): New variable.
10065 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
10066 (atan_test_data): New variable.
10067 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
10068 (atanh_test_data): New variable.
10069 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
10070 (cbrt_test_data): New variable.
10071 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
10072 (ceil_test_data): New variable.
10073 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
10074 (cos_test_data): New variable.
10075 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
10076 (cos_tonearest_test_data): New variable.
10077 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10078 (cos_towardzero_test_data): New variable.
10079 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10080 (cos_downward_test_data): New variable.
10081 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10082 (cos_upward_test_data): New variable.
10083 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10084 (cosh_test_data): New variable.
10085 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
10086 (cosh_tonearest_test_data): New variable.
10087 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10088 (cosh_towardzero_test_data): New variable.
10089 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10090 (cosh_downward_test_data): New variable.
10091 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10092 (cosh_upward_test_data): New variable.
10093 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10094 (erf_test_data): New variable.
10095 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
10096 (erfc_test_data): New variable.
10097 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
10098 (exp_test_data): New variable.
10099 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
10100 (exp_tonearest_test_data): New variable.
10101 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10102 (exp_towardzero_test_data): New variable.
10103 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10104 (exp_downward_test_data): New variable.
10105 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10106 (exp_upward_test_data): New variable.
10107 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10108 (exp10_test_data): New variable.
10109 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
10110 (exp2_test_data): New variable.
10111 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
10112 (expm1_test_data): New variable.
10113 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
10114 (fabs_test_data): New variable.
10115 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
10116 (floor_test_data): New variable.
10117 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
10118 (j0_test_data): New variable.
10119 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
10120 (j1_test_data): New variable.
10121 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
10122 (log_test_data): New variable.
10123 (log_test): Run tests with RUN_TEST_LOOP_f_f.
10124 (log10_test_data): New variable.
10125 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
10126 (log1p_test_data): New variable.
10127 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
10128 (log2_test_data): New variable.
10129 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
10130 (logb_test_data): New variable.
10131 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
10132 (logb_downward_test_data): New variable.
10133 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10134 (nearbyint_test_data): New variable.
10135 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
10136 (rint_test_data): New variable.
10137 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
10138 (rint_tonearest_test_data): New variable.
10139 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10140 (rint_towardzero_test_data): New variable.
10141 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10142 (rint_downward_test_data): New variable.
10143 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10144 (rint_upward_test_data): New variable.
10145 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10146 (round_test_data): New variable.
10147 (round_test): Run tests with RUN_TEST_LOOP_f_f.
10148 (sin_test_data): New variable.
10149 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
10150 (sin_tonearest_test_data): New variable.
10151 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10152 (sin_towardzero_test_data): New variable.
10153 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10154 (sin_downward_test_data): New variable.
10155 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10156 (sin_upward_test_data): New variable.
10157 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10158 (sinh_test_data): New variable.
10159 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
10160 (sinh_tonearest_test_data): New variable.
10161 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10162 (sinh_towardzero_test_data): New variable.
10163 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10164 (sinh_downward_test_data): New variable.
10165 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10166 (sinh_upward_test_data): New variable.
10167 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10168 (sqrt_test_data): New variable.
10169 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
10170 (tan_test_data): New variable.
10171 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
10172 (tan_tonearest_test_data): New variable.
10173 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10174 (tan_towardzero_test_data): New variable.
10175 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10176 (tan_downward_test_data): New variable.
10177 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10178 (tan_upward_test_data): New variable.
10179 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10180 (tanh_test_data): New variable.
10181 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
10182 (tgamma_test_data): New variable.
10183 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
10184 (trunc_test_data): New variable.
10185 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
10186 (y0_test_data): New variable.
10187 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
10188 (y1_test_data): New variable.
10189 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
10190 (significand_test_data): New variable.
10191 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
10193 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
10196 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
10198 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
10200 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
10202 2013-05-10 Andreas Jaeger <aj@suse.de>
10205 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
10206 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
10208 2013-05-10 Joseph Myers <joseph@codesourcery.com>
10210 * math/gen-libm-test.pl (adjust_arg): New function.
10211 (special_functions): Handle generating output in both functions
10213 (parse_args): Likewise.
10214 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
10215 $in_func argument to parse_args.
10216 * math/libm-test.inc (struct test_f_f_data): New type.
10217 (IF_ROUND_INIT_): New macro.
10218 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
10219 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10220 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10221 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10222 (ROUND_RESTORE_): Likewise.
10223 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
10224 (ROUND_RESTORE_FE_TONEAREST): Likewise.
10225 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
10226 (ROUND_RESTORE_FE_UPWARD): Likewise.
10227 (RUN_TEST_LOOP_f_f): New macro.
10228 (acos_test_data): New variable.
10229 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
10230 (acos_tonearest_test_data): New variable.
10231 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10233 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10235 * benchtests/bench-skeleton.c (startup): Fix coding style.
10237 2013-05-10 Joseph Myers <joseph@codesourcery.com>
10240 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
10241 negative infinity argument.
10242 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
10243 negative infinity argument.
10244 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
10245 negative infinity argument.
10246 * math/libm-test.inc (tgamma_test): Expect errno to be set for
10249 2013-05-10 Florian Weimer <fweimer@redhat.com>
10251 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
10252 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
10253 * iconv/iconv_prog.c (main): Likewise.
10254 * locale/programs/charmap-dir.c (charmap_readdir)
10255 (fopen_uncompressed): Likewise.
10256 * locale/programs/locfile.c (siblings_uncached)
10257 (write_locale_data): Use lstat64 instead of lstat.
10258 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
10261 2013-05-10 Andreas Jaeger <aj@suse.de>
10264 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
10266 Include <locale.h>.
10268 2013-05-09 Carlos O'Donell <carlos@redhat.com>
10270 * elf/dl-close.c (_dl_close_worker): Add comments.
10272 2013-05-09 Joseph Myers <joseph@codesourcery.com>
10275 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
10277 (__ieee754_rem_pio2l): Update comments.
10280 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
10282 (__ieee754_rem_pio2l): Update comments.
10284 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
10285 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
10287 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
10290 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
10291 (M_PI_34_LOG10El): Likewise.
10292 (M_PI2_LOG10El): Likewise.
10293 (M_PI4_LOG10El): Likewise.
10294 (M_PI_LOG10El): Likewise.
10296 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10298 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10300 2013-05-08 Joseph Myers <joseph@codesourcery.com>
10302 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
10303 (MINUS_ZERO_INIT): Likewise.
10304 (PLUS_INFTY_INIT): Likewise.
10305 (MINUS_INFTY_INIT): Likewise.
10306 (QNAN_VALUE_INIT): Likewise.
10307 (MAX_VALUE_INIT): Likewise.
10308 (MIN_VALUE_INIT): Likewise.
10309 (MIN_SUBNORM_VALUE_INIT): Likewise.
10310 (plus_zero): Initialize with PLUS_ZERO_INIT.
10311 (minus_zero): Initialize with MINUS_ZERO_INIT.
10312 (plus_infty): Initialize with PLUS_INFTY_INIT.
10313 (minus_infty): Initialize with MINUS_INFTY_INIT.
10314 (qnan_value): Initialize with QNAN_VALUE_INIT.
10315 (max_value): Initialize with MAX_VALUE_INIT.
10316 (min_value): Initialize with MIN_VALUE_INIT.
10317 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
10319 * math/libm-test.inc (RUN_TEST_if_f): New macro.
10320 (jn_test): Use TEST_if_f instead of TEST_ff_f.
10321 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
10322 (yn_test): Use TEST_if_f instead of TEST_ff_f.
10324 * math/libm-test.inc (RUN_TEST_f_f): New macro.
10325 (RUN_TEST_2_f): Likewise.
10326 (RUN_TEST_ff_f): Likewise.
10327 (RUN_TEST_fi_f): Likewise.
10328 (RUN_TEST_fl_f): Likewise.
10329 (RUN_TEST_fff_f): Likewise.
10330 (RUN_TEST_c_f): Likewise.
10331 (RUN_TEST_f_f1): Likewise.
10332 (RUN_TEST_fF_f1): Likewise.
10333 (RUN_TEST_fI_f1): Likewise.
10334 (RUN_TEST_ffI_f1): Likewise.
10335 (RUN_TEST_c_c): Likewise.
10336 (RUN_TEST_cc_c): Likewise.
10337 (RUN_TEST_f_i): Likewise.
10338 (RUN_TEST_f_i_tg): Likewise.
10339 (RUN_TEST_ff_i_tg): Likewise.
10340 (RUN_TEST_f_b): Likewise.
10341 (RUN_TEST_f_b_tg): Likewise.
10342 (RUN_TEST_f_l): Likewise.
10343 (RUN_TEST_f_L): Likewise.
10344 (RUN_TEST_sincos): Likewise.
10345 * math/gen-libm-test.pl (new_test): Take new argument to indicate
10346 whether to show exceptions. Do not include ");\n" in return
10348 (special_functions): Output call to RUN_TEST_sincos instead of
10349 check_float calls. Update calls to new_test.
10350 (parse_args): Output call to single RUN_TEST_* macro instead of
10351 check_* calls and other assignments. Update calls to new_test.
10357 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
10358 input to result for tgamma overflow.
10359 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
10360 (gamma_coeff): New variable.
10361 (NCOEFF): New macro.
10362 (gamma_positive): New function.
10363 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
10364 underflow here. Use gamma_positive instead of exp (lgamma) for
10366 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
10367 (gamma_coeff): New variable.
10368 (NCOEFF): New macro.
10369 (gammaf_positive): New function.
10370 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
10371 underflow here. Use gamma_positive instead of exp (lgamma) for
10373 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
10374 (gamma_coeff): New variable.
10375 (NCOEFF): New macro.
10376 (gammal_positive): New function.
10377 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
10378 underflow here. Use gamma_positive instead of exp (lgamma) for
10380 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
10381 (gamma_coeff): New variable.
10382 (NCOEFF): New macro.
10383 (gammal_positive): New function.
10384 (__ieee754_gammal_r): Handle positive infinity, overflow and
10385 underflow here. Handle NaN the same as positive infinity. Remove
10386 check x < 0xffffffff for negative integers. Use gamma_positive
10387 instead of exp (lgamma) for other arguments.
10388 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
10389 (gamma_coeff): New variable.
10390 (NCOEFF): New macro.
10391 (gammal_positive): New function.
10392 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
10393 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
10394 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10395 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
10396 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10397 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10398 * sysdeps/generic/math_private.h (__gamma_productf): New
10400 (__gamma_product): Likewise.
10401 (__gamma_productl): Likewise.
10402 * math/Makefile (libm-calls): Add gamma_product.
10403 * math/libm-test.inc (tgamma_test): Add more tests.
10404 * sysdeps/i386/fpu/libm-test-ulps: Update.
10405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10407 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
10409 * benchtests/bench-skeleton.c (main): Preheat CPU.
10411 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
10413 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
10415 2013-05-07 Roland McGrath <roland@hack.frob.com>
10417 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
10418 and _dl_skip_args_internal.
10420 2013-05-07 Carlos O'Donell <carlos@redhat.com>
10422 * manual/message.texi (Message Translation): Talk about users.
10423 Message to key mapping impacts design.
10425 2013-05-06 Roland McGrath <roland@hack.frob.com>
10427 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
10429 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
10431 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
10432 * sysdeps/wordsize-64/glob64.c: ... here.
10434 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
10435 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
10438 * debug/getlogin_r_chk.c: Moved to ...
10439 * login/getlogin_r_chk.c: ... here.
10440 * debug/Makefile (routines): Move getlogin_r_chk to ...
10441 * login/Makefile (routines): ... here.
10442 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
10443 * login/Versions (libc: GLIBC_2.4): ... here.
10445 * io/poll.c (__poll): Renamed from poll.
10446 Add libc_hidden_def.
10447 (poll): Define as weak alias.
10449 * debug/ptsname_r_chk.c: Moved to ...
10450 * login/ptsname_r_chk.c: ... here.
10451 * debug/Makefile (routines): Move ptsname_r_chk to ...
10452 * login/Makefile (routines): ... here.
10453 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
10454 * login/Versions (libc: GLIBC_2.4): ... here.
10456 * posix/getlogin.c: Moved to ...
10457 * login/getlogin.c: ... here.
10458 * posix/getlogin_r.c: Moved to ...
10459 * login/getlogin_r.c: ... here.
10460 * posix/getlogin_r.c: Moved to ...
10461 * login/getlogin_r.c: ... here.
10462 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
10463 * login/Makefile (routines): ... here.
10464 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
10465 * login/Versions (libc: GLIBC_2.0): ... here.
10467 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
10468 (setrlimit): Define as weak alias.
10470 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
10471 Call __ names for open, ftruncate, and close.
10472 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
10473 (truncate): Define as weak alias.
10475 2013-05-06 Joseph Myers <joseph@codesourcery.com>
10477 * math/gen-libm-test.pl (parse_args): Initialize x before each
10478 test of frexp, modf and remquo.
10480 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
10481 test signgam value.
10483 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10487 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
10489 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10491 2013-05-06 Roland McGrath <roland@hack.frob.com>
10493 * elf/dl-writev.h: New file.
10494 * elf/dl-misc.c: Include it.
10495 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
10496 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
10498 2013-05-04 Joseph Myers <joseph@codesourcery.com>
10500 * math/libm-test.inc (noXFails): Remove variable.
10501 (noXPasses): Likewise.
10502 (BUILD_COMPLEX_INT): Remove macro.
10503 (print_screen): Remove xfail argument.
10504 (print_screen_max_error): Likewise.
10505 (update_stats): Likewise.
10506 (print_max_error): Likewise. Update calls to other affected
10508 (print_complex_max_error): Likewise.
10509 (test_single_exception): Update calls to print_screen.
10510 (test_single_errno): Likewise.
10511 (check_float_internal): Remove xfail argument. Update calls to
10512 other affected functions.
10513 (check_float): Likewise.
10514 (check_complex): Likewise.
10515 (check_int): Likewise.
10516 (check_long): Likewise.
10517 (check_bool): Likewise.
10518 (check_longlong): Likewise.
10519 (main): Don't print noXFails and noXPasses.
10520 * math/gen-libm-test.pl (top level): Don't mention expected
10521 failure handling in comment.
10522 (new_test): Don't handle expected failures.
10523 (parse_args): Don't mention expected failure handling in comment.
10524 (generate_testfile): Don't handle expected failures.
10525 (parse_ulps): Likewise.
10526 (print_ulps_file): Likewise.
10527 (get_failure): Remove function.
10528 (output_test): Don't handle expected failures.
10529 * make/README.libm-test: Don't mention expected failure handling.
10531 * math/libm-test.inc (plus_zero): Make const. Add initializer.
10532 (minus_zero): Likewise.
10533 (plus_infty): Likewise.
10534 (minus_infty): Likewise.
10535 (qnan_value): Likewise.
10536 (max_value): Likewise.
10537 (min_value): Likewise.
10538 (min_subnorm_value): Likewise.
10539 (initialize): Do not initialize those variables dynamically.
10541 2013-05-03 Roland McGrath <roland@hack.frob.com>
10543 * io/open.c (__open_2): Moved to ...
10544 * io/open_2.c: ... this new file.
10545 * io/open64.c (__open64_2): Moved to ...
10546 * io/open64_2.c: ... this new file.
10547 * io/openat.c (__openat_2): Moved to ...
10548 * io/openat_2.c: ... this new file.
10549 * io/openat64.c (__openat64_2): Moved to ...
10550 * io/openat64_2.c: ... this new file.
10551 * io/Makefile (routines): Add them.
10552 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
10553 * sysdeps/unix/sysv/linux/open_2.c: File removed.
10554 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
10555 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
10556 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
10557 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
10558 (__openat64): Add hidden_ver.
10559 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
10560 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
10562 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
10563 Separately conditionalize setting of GLRO(dl_sysinfo) so
10564 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
10565 as well, but the actual setting is only under [NEED_DL_SYSINFO].
10567 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10569 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
10570 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
10572 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
10573 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10574 (_libc_vdso_platform_setup): Add __vdso_time initialization.
10575 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
10576 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
10578 2013-05-03 Joseph Myers <joseph@codesourcery.com>
10580 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
10581 test signgam value.
10583 * math/libm-test.inc (hypot_test): Do not use
10584 IGNORE_ZERO_INF_SIGN.
10586 2013-05-03 Andreas Jaeger <aj@suse.de>
10588 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
10590 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
10591 (PF_MAX): Adjust for VSOCK change.
10593 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10595 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10597 2013-05-02 Carlos O'Donell <carlos@redhat.com>
10600 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
10601 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
10602 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
10604 2013-05-02 David S. Miller <davem@davemloft.net>
10606 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10608 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
10610 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
10612 2013-05-01 Roland McGrath <roland@hack.frob.com>
10614 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
10616 2013-05-01 Richard Smith <richard@metafoo.co.uk>
10619 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
10620 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10621 Use __attribute__ ((__gnu_inline__)).
10622 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10623 Don't use __attribute__ ((__gnu_inline__)).
10625 2013-05-01 Joseph Myers <joseph@codesourcery.com>
10628 * math/s_catan.c (__catan): Handle small real or imaginary part of
10629 input specially to avoid spurious underflow.
10630 * math/s_catanf.c (__catanf): Likewise.
10631 * math/s_catanh.c (__catanh): Likewise.
10632 * math/s_catanhf.c (__catanhf): Likewise.
10633 * math/s_catanhl.c (__catanhl): Likewise.
10634 * math/s_catanl.c (__catanl): Likewise.
10635 * math/libm-test.inc (catan_test): Add more tests.
10636 (catanh_test): Likewise.
10637 * sysdeps/i386/fpu/libm-test-ulps: Update.
10638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10640 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10642 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10644 2013-04-30 Joseph Myers <joseph@codesourcery.com>
10647 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
10648 accurately for denominator in atan2.
10649 * math/s_catanf.c (__catanf): Likewise.
10650 * math/s_catanh.c (__catanh): Likewise.
10651 * math/s_catanhf.c (__catanhf): Likewise.
10652 * math/s_catanhl.c (__catanhl): Likewise.
10653 * math/s_catanl.c (__catanl): Likewise.
10654 * math/libm-test.inc (catan_test): Add more tests.
10655 (catanh_test): Likewise.
10656 * sysdeps/i386/fpu/libm-test-ulps: Update.
10657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10659 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10661 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
10663 * benchtests/Makefile (bench): Remove slow benchmarks.
10664 * benchtests/atan-inputs: Add slow benchmark inputs.
10665 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
10666 (BENCH_FUNC): Accept variant offset.
10668 * benchtests/bench-skeleton.c (main): Run benchmark for each
10670 * benchtests/cos-inputs: Add slow benchmark inputs.
10671 * benchtests/exp-inputs: Likewise.
10672 * benchtests/pow-inputs: Likewise.
10673 * benchtests/sin-inputs: Likewise.
10674 * benchtests/slowatan-inputs: Remove.
10675 * benchtests/slowatan.c: Remove.
10676 * benchtests/slowcos-inputs: Remove.
10677 * benchtests/slowcos.c: Remove.
10678 * benchtests/slowexp-inputs: Remove.
10679 * benchtests/slowexp.c: Remove.
10680 * benchtests/slowpow-inputs: Remove.
10681 * benchtests/slowpow.c: Remove.
10682 * benchtests/slowsin-inputs: Remove.
10683 * benchtests/slowsin.c: Remove.
10684 * benchtests/slowtan-inputs: Remove.
10685 * benchtests/slowtan.c: Remove.
10686 * benchtests/tan-inputs: Add slow benchmark inputs.
10687 * scripts/bench.pl: Parse comments and directives.
10689 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
10691 ($(objpfx)bench-%.c): Remove *-ITER.
10692 * benchtests/bench-modf.c: Remove definition of ITER.
10693 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
10694 (main): Loop for DURATION seconds instead of fixed number of
10696 * scripts/bench.pl: Don't expect iterations in parameters.
10698 2013-04-29 Roland McGrath <roland@hack.frob.com>
10700 * io/fchdir.c (__fchdir): Renamed from fchdir.
10701 (fchdir): Define as weak alias.
10703 2013-04-29 Joseph Myers <joseph@codesourcery.com>
10705 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
10706 (ERRNO_EDOM): Likewise.
10707 (ERRNO_ERANGE): Likewise.
10708 (noErrnoTests): New variable.
10709 (init_max_error): Set errno to 0.
10710 (test_single_errno): New function.
10711 (test_errno): Likewise.
10712 (check_float_internal): Call test_errno. Set errno to 0.
10713 (check_complex): Refer to errno tests in comment.
10714 (check_int): Call test_errno. Set errno to 0.
10715 (check_long): Likewise.
10716 (check_bool): Likewise.
10717 (check_longlong): Likewise.
10718 (cos_test): Use ERRNO_* flags for errno tests instead of
10720 (expm1_test): Likewise.
10721 (fmod_test): Likewise.
10722 (ilogb_test): Likewise.
10723 (lgamma_test): Likewise.
10724 (pow_test): Likewise.
10725 (remainder_test): Likewise.
10726 (sin_test): Likewise.
10727 (tan_test): Likewise.
10728 (yn_test): Likewise.
10729 (initialize): Set errno to 0.
10730 (main): Print number of errno tests.
10731 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
10733 2013-04-29 Andreas Jaeger <aj@suse.de>
10736 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
10740 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
10741 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
10745 * stdlib/random.c (__initstate): Return NULL if
10749 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
10750 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
10753 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10755 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10757 2013-04-29 Joseph Myers <joseph@codesourcery.com>
10759 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
10760 of individual tests.
10761 (casin_test): Likewise.
10762 (casinh_test): Likewise.
10764 2013-04-27 Joseph Myers <joseph@codesourcery.com>
10767 * math/s_catan.c (__catan): Handle arguments with large real or
10768 imaginary part separately without squaring.
10769 * math/s_catanf.c (__catanf): Likewise.
10770 * math/s_catanh.c (__catanh): Likewise.
10771 * math/s_catanhf.c (__catanhf): Likewise.
10772 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10774 (__catanhl): Handle arguments with large real or imaginary part
10775 separately without squaring.
10776 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10778 (__catanl): Handle arguments with large real or imaginary part
10779 separately without squaring.
10780 * math/libm-test.inc (catan_test): Add more tests.
10781 (catanh_test): Likewise.
10782 * sysdeps/i386/fpu/libm-test-ulps: Update.
10783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10785 2013-04-27 Andreas Jaeger <aj@suse.de>
10788 * stdlib/stdlib.h: Update guards for qecvt.
10789 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10792 2013-04-27 Allan McRae <allan@archlinux.org>
10794 * sysdeps/i386/fpu/libm-test-ulps: Update.
10796 2013-04-26 Joseph Myers <joseph@codesourcery.com>
10799 * math/s_catan.c: Include <float.h>.
10800 (__catan): Ensure underflow exception occurs for underflowed
10802 * math/s_catanf.c: Include <float.h>.
10803 (__catanf): Ensure underflow exception occurs for underflowed
10805 * math/s_catanh.c: Include <float.h>.
10806 (__catanh): Ensure underflow exception occurs for underflowed
10808 * math/s_catanhf.c: Include <float.h>.
10809 (__catanhf): Ensure underflow exception occurs for underflowed
10811 * math/s_catanhl.c: Include <float.h>.
10812 (__catanhl): Ensure underflow exception occurs for underflowed
10814 * math/s_catanl.c: Include <float.h>.
10815 (__catanl): Ensure underflow exception occurs for underflowed
10817 * math/libm-test.inc (catan_test): Add more tests.
10818 (catanh_test): Likewise.
10821 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10822 underflowed result.
10823 * math/s_ccoshf.c (__ccoshf): Likewise.
10824 * math/s_ccoshl.c (__ccoshl): Likewise.
10825 * math/s_csin.c (__csin): Likewise.
10826 * math/s_csinf.c (__csinf): Likewise.
10827 * math/s_csinh.c (__csinh): Likewise.
10828 * math/s_csinhf.c (__csinhf): Likewise.
10829 * math/s_csinhl.c (__csinhl): Likewise.
10830 * math/s_csinl.c (__csinl): Likewise.
10831 * math/libm-test.inc (ccos_test): Add more tests.
10832 (ccosh_test): Likewise.
10833 (csin_test): Likewise.
10834 (csinh_test): Likewise.
10836 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10838 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10839 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10840 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10841 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10842 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10843 powerpc/power5+/fpu folders.
10844 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10847 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10849 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10851 2013-04-25 Joseph Myers <joseph@codesourcery.com>
10853 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10854 additions to variable.
10855 [$(config-machine) = x86_64] (modules-names): Likewise.
10856 ($(objpfx)tst-audit3): Remove dependency.
10857 ($(objpfx)tst-audit3.out): Likewise.
10858 ($(objpfx)tst-audit4): Likewise.
10859 ($(objpfx)tst-audit4.out): Likewise.
10860 ($(objpfx)tst-audit5): Likewise.
10861 ($(objpfx)tst-audit5.out): Likewise.
10862 ($(objpfx)tst-audit6): Likewise.
10863 ($(objpfx)tst-audit6.out): Likewise.
10864 ($(objpfx)tst-audit7): Likewise.
10865 ($(objpfx)tst-audit7.out): Likewise.
10866 (tst-audit3-ENV): Remove variable.
10867 (tst-audit4-ENV): Likewise.
10868 (tst-audit5-ENV): Likewise.
10869 (tst-audit6-ENV): Likewise.
10870 (tst-audit7-ENV): Likewise.
10871 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10872 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10873 addition to variable.
10874 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10875 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10876 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10877 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10878 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10879 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10880 tst-audit3, tst-audit4 and tst-audit5.
10881 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10882 tst-audit6 and tst-audit7.
10883 [$(subdir) = elf] (modules-names): Add audit modules for those
10885 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10886 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10887 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10888 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10889 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10890 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10891 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10892 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10893 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10894 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10895 [$(subdir) = elf] (tst-audit3-ENV): New variable.
10896 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10897 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10898 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10899 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10900 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10902 [$(subdir) = elf && $(config-cflags-avx) = yes]
10903 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10904 [$(subdir) = elf && $(config-cflags-avx) = yes]
10905 (CFLAGS-tst-auditmod4a.c): Likewise.
10906 [$(subdir) = elf && $(config-cflags-avx) = yes]
10907 (CFLAGS-tst-auditmod4b.c): Likewise.
10908 [$(subdir) = elf && $(config-cflags-avx) = yes]
10909 (CFLAGS-tst-auditmod6b.c): Likewise.
10910 [$(subdir) = elf && $(config-cflags-avx) = yes]
10911 (CFLAGS-tst-auditmod6c.c): Likewise.
10912 [$(subdir) = elf && $(config-cflags-avx) = yes]
10913 (CFLAGS-tst-auditmod7b.c): Likewise.
10914 * elf/tst-audit3.c: Move to ...
10915 * sysdeps/x86_64/tst-audit3.c: ... here.
10916 * elf/tst-audit4.c: Move to ...
10917 * sysdeps/x86_64/tst-audit4.c: ... here.
10918 * elf/tst-audit5.c: Move to ...
10919 * sysdeps/x86_64/tst-audit5.c: ... here.
10920 * elf/tst-audit6.c: Move to ...
10921 * sysdeps/x86_64/tst-audit6.c: ... here.
10922 * elf/tst-audit7.c: Move to ...
10923 * sysdeps/x86_64/tst-audit7.c: ... here.
10924 * elf/tst-auditmod3a.c: Move to ...
10925 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10926 * elf/tst-auditmod3b.c: Move to ...
10927 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10928 * elf/tst-auditmod4a.c: Move to ...
10929 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10930 * elf/tst-auditmod4b.c: Move to ...
10931 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10932 * elf/tst-auditmod5a.c: Move to ...
10933 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10934 * elf/tst-auditmod5b.c: Move to ...
10935 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10936 * elf/tst-auditmod6a.c: Move to ...
10937 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10938 * elf/tst-auditmod6b.c: Move to ...
10939 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10940 * elf/tst-auditmod6c.c: Move to ...
10941 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10942 * elf/tst-auditmod7a.c: Move to ...
10943 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10944 * elf/tst-auditmod7b.c: Move to ...
10945 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10947 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
10950 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10951 define unconditionally.
10952 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10953 define unconditionally.
10954 (INT8_C, INT16_C, etc.): Likewise.
10956 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
10958 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10959 __ehdr_start with hidden visibility.
10961 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10963 2013-04-24 Carlos O'Donell <carlos@redhat.com>
10965 * math/libm-test.inc (cos_test): Use accurate hex constants.
10966 (sincost_test): Likewise.
10968 2013-04-24 Joseph Myers <joseph@codesourcery.com>
10970 * math/libm-test.inc (catan_test): Add more tests.
10971 (catanh_test): Likewise.
10973 * math/s_catanf.c (__catanf): Use suffixed floating-point
10975 * math/s_catanhf.c (__catanhf): Likewise.
10976 * math/s_catanhl.c (__catanhl): Likewise.
10977 * math/s_catanl.c (__catanl): Likewise.
10980 * math/s_catan.c (__catan): Calculate imaginary part of result
10981 with log1p not log unless computing log of number close to 0.
10982 * math/s_catanf.c (__catanf): Likewise.
10983 * math/s_catanl.c (__catanl): Likewise.
10984 * math/s_catanh.c (__catanh): Calculate real part of result with
10985 log1p not log unless computing log of number close to 0.
10986 * math/s_catanhf.c (__catanhf): Likewise.
10987 * math/s_catanhl.c (__catanhl): Likewise.
10988 * math/libm-test.inc (catan_test): Add more tests.
10989 (catanh_test): Likewise.
10990 * sysdeps/i386/fpu/libm-test-ulps: Update.
10991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10993 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10995 * benchtests/Makefile: Mention files in which fast and slow
10996 paths of math functions are implemented.
10998 2013-04-23 Roland McGrath <roland@hack.frob.com>
11000 * sysdeps/posix/timespec_get.c: New file.
11002 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11004 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
11006 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
11008 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
11009 powerpc/power5/fpu folders.
11010 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
11011 * benchtests/Makefile: Add modf testcase.
11012 * benchtests/bench-modf.c: New file: Benchmark test for mo
11014 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
11017 * time/Makefile (tests): Add tst-strptime-whitespace.
11018 * time/strptime_l.c (get_number): Use ISSPACE.
11019 (__strptime_internal): Likewise.
11020 * time/tst-strptime-whitespace.c: New test case.
11022 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
11024 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
11026 (_nss_files_init): Set it here.
11028 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
11030 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
11031 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
11034 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
11036 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
11038 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11040 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
11043 2013-04-21 David S. Miller <davem@davemloft.net>
11045 * po/ru.po: Update Russion translation from translation project.
11047 2013-04-17 Adam Conrad <adconrad@0c3.net>
11049 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
11052 2013-04-17 Carlos O'Donell <carlos@redhat.com>
11054 * configure.in: Remove i386 configure warning. Remove i386 case.
11055 * configure: Regenerate.
11056 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
11057 Add example to error message.
11058 * sysdeps/i386/configure: Regenerate.
11060 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11062 * benchtests/Makefile (bench): Add cos, tan, slowcos and
11064 * benchtests/cos-inputs: New file.
11065 * benchtests/slowcos-inputs: New file.
11066 * benchtests/slowcos.c: New file.
11067 * benchtests/slowtan-inputs: New file.
11068 * benchtests/slowtan.c: New file.
11069 * benchtests/tan-inputs: New file.
11071 2013-04-16 Roland McGrath <roland@hack.frob.com>
11073 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
11076 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11078 * benchtests/Makefile: Include cppflags-iterator.mk to add
11079 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
11081 * Makefile.in (bench-clean): New target.
11082 * benchtests/Makefile (bench-clean): Likewise.
11084 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
11086 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
11088 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
11090 * stdio-common/tstdiomisc.c: Fix coding-style violation.
11092 2013-04-15 Andreas Schwab <schwab@suse.de>
11094 * nscd/grpcache.c (cache_addgr): Properly check for short write.
11095 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11096 * nscd/pwdcache.c (cache_addpw): Likewise.
11097 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
11100 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11102 * benchtests/Makefile (bench): Write all output to
11103 bench-out.tmp together.
11105 2013-04-15 Andreas Schwab <schwab@suse.de>
11107 * nscd/nscd.c (main): Don't fork again after closing files.
11109 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11111 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
11113 * benchtests/Rules (bench-deps): Collect dependencies into a
11114 single variable. Add Makefile to dependencies.
11115 ($(objpfx)bench-%.c): Depend on bench-deps.
11117 2013-04-12 Roland McGrath <roland@hack.frob.com>
11118 Xavier Roche <roche+kml2@exalead.com>
11121 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
11122 just that it's a file descriptor.
11123 * manual/llio.texi (Synchronizing AIO Operations): Update description
11124 for EBADF error from aio_fsync.
11126 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11128 * Rules (bench): Move target definition...
11129 * benchtests/Makefile: ... here.
11131 2013-04-11 Carlos O'Donell <carlos@redhat.com>
11133 * math/libm-test.inc (cos_test): Fix PI/2 test.
11134 (sincos_test): Likewise.
11135 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11136 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
11138 2013-04-11 Andreas Schwab <schwab@suse.de>
11141 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
11142 accept exponent character only when digits were seen.
11143 * stdio-common/Makefile (tests): Add bug26.
11144 * stdio-common/bug26.c: New file.
11147 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
11150 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11152 * Makeconfig (rtld-prefix): Define built linker prefix.
11153 * Rules (run-bench): Use it.
11154 * math/Makefile (run-regen-ulps): Likewise.
11156 * Rules (bench): Remove eval.
11158 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11159 Roland McGrath <roland@hack.frob.com>
11160 Ondrej Bilka <neleai@seznam.cz>
11163 * time/getdate.c: Include ctype.h and alloca.h.
11164 (__getdate_r): Trim leading and trailing spaces of input.
11165 * time/tst-getdate.c (tests): Add tests with leading and
11168 2013-04-08 Roland McGrath <roland@hack.frob.com>
11171 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
11172 when computing value.
11174 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11176 * math/README.libm-test (How can I generate "libm-test-ulps"?):
11177 Use testrun.sh to run libm tests.
11180 * elf/dl-open.c (dl_open_worker): memset all of seen array.
11182 2013-04-06 Marko Myllynen <myllynen@redhat.com>
11185 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
11187 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11189 * Makefile.in (regen-ulps): New target.
11190 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
11191 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
11192 [ifneq (no,$(PERL)] (regen-ulps): New target.
11193 [ifeq (no,$(PERL)] (regen-ulps): New target.
11194 * math/libm-test.inc (ulps_file_name): Define.
11195 (output_dir): New variable.
11196 (options): Add "output-dir" option.
11197 (parse_opt): Handle 'o' case.
11198 (main): If output_dir is non-NULL use it as a prefix
11200 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
11202 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11204 [BZ #10060, #10062]
11205 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
11206 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
11207 fail configure if __sync_val_compare_and_swap is not inlined.
11208 * sysdeps/i386/configure: Regenerate.
11209 * configure.in: Build for i686 when configured for i386.
11210 * configure: Regenerate.
11211 * README: Remove i386 reference.
11213 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11215 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
11216 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11218 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
11220 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
11221 (lmsnanval): New variables.
11222 (F): Add conversion tests.
11223 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
11224 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
11226 * stdio-common/tstdiomisc.c (F): Properly collect individual
11229 [BZ #14686, #15336]
11230 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
11231 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11232 Instead, use input NaN values or generate a qNaN by arithmetic
11233 operation. Also fix bugs to comply with the standard.
11234 * math/libm-test.inc (remainder_test): Add more tests.
11236 [BZ #15335, #15342]
11237 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
11238 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
11239 input NaN values or generate a qNaN by arithmetic operation.
11241 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
11244 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
11247 2013-04-03 Joseph Myers <joseph@codesourcery.com>
11250 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
11251 underflowed result.
11252 * math/s_cexpf.c (__cexpf): Likewise.
11253 * math/s_cexpl.c (__cexpl): Likewise.
11254 * math/libm-test.inc (cexp_test): Add more tests.
11256 2013-04-03 Andreas Schwab <schwab@suse.de>
11259 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
11260 order arrays from heap if bigger than alloca cutoff.
11262 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
11264 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
11265 (SNAN_TESTS_double): Refer to GCC PR56831.
11266 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
11269 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11271 * Rules (bench): Move bench.out after the run is complete.
11273 * Rules (bench): Echo currently running benchmark.
11275 * benchtests/Makefile (bench): Add atan and slowatan.
11276 * benchtests/atan-inputs: New file.
11277 * benchtests/slowatan-inputs: New file.
11278 * benchtests/slowatan.c: New file.
11280 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
11281 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
11285 * sysdeps/unix/sysv/linux/kernel-features.h
11286 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
11287 __ASSUME_XFS_RESTRICTED_CHOWN.
11288 * sysdeps/unix/sysv/linux/pathconf.c
11289 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
11290 Save and restore errno.
11292 2013-04-02 Joseph Myers <joseph@codesourcery.com>
11295 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
11296 arguments using __kernel_casinh.
11297 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
11298 arguments using __kernel_casinhf.
11299 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
11300 arguments using __kernel_casinhl.
11301 * math/libm-test.inc (cacosh_test): Add more tests.
11302 * sysdeps/i386/fpu/libm-test-ulps: Update.
11303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11305 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11307 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
11308 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
11310 * bench/Makefile (bench): Add sin and slowsin.
11311 * benchtests/sin-inputs: New file.
11312 * benchtests/slowsin-inputs: New file.
11313 * benchtests/slowsin.c: New file.
11315 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
11316 (bench): Add slowexp and slowpow.
11317 (exp-ITER): Increase iterations.
11318 (pow-ITER): Likewise.
11319 * benchtests/exp-inputs: Change input.
11320 * benchtests/pow-inputs: Likewise.
11321 * benchtests/slowexp-inputs: New file.
11322 * benchtests/slowexp.c: New file.
11323 * benchtests/slowpow-inputs: New file.
11324 * benchtests/slowpow.c: New file.
11326 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11328 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
11330 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11331 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
11332 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11333 * benchtests/Makefile: Add rint benchtest.
11334 * benchtests/rint-inputs: Input for rint benchtest.
11336 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
11338 * Versions.def (libm): Add GLIBC_2.18.
11339 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
11340 hidden libm prototypes.
11341 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
11342 * math/Makefile (libm-calls): Add s_issignaling.
11343 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
11344 __issignalingf, __issignalingl. Adjust all libm.abilist files.
11345 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
11347 * math/math.h [__USE_GNU] (issignaling): New macro.
11348 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
11349 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
11350 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
11351 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
11352 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
11353 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
11354 * manual/arith.texi (issignaling): New section.
11355 * manual/libm-err-tab.pl (@all_functions): Update comment.
11356 * math/gen-libm-test.pl (parse_args): Apply special handling for
11358 * math/libm-test.inc (print_float, issignaling_test): New
11360 (check_float_internal): Add issignaling checks.
11361 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
11362 default definition.
11363 * sysdeps/powerpc/math-tests.h: New file.
11364 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
11366 * math/test-snan.c (TEST_FUNC): Likewise.
11368 2013-03-30 David S. Miller <davem@davemloft.net>
11370 * po/de.po: Update from translation team.
11372 2013-03-30 Joseph Myers <joseph@codesourcery.com>
11375 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11376 imaginary part less than 1.0 and real part less than 0.5
11378 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11379 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11380 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
11381 (cacos_test): Add more tests.
11382 (casin_test): Likewise.
11383 (casinh_test): Likewise.
11384 * sysdeps/i386/fpu/libm-test-ulps: Update.
11385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11387 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11389 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
11390 ONE with its value.
11392 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
11393 (__pow_mp): Replace ONE and MONE with their values.
11394 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11395 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
11396 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11397 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
11398 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11399 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11401 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
11403 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
11404 (__pow_mp): Replace ZERO and MZERO with their values.
11405 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11406 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11407 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11408 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11409 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11410 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
11413 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
11415 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
11417 2013-03-28 Roland McGrath <roland@hack.frob.com>
11419 * include/stdlib.h [!SHARED] (__call_tls_dtors):
11420 Declare with __attribute__ ((weak)).
11421 * stdlib/exit.c (__libc_atexit) [!SHARED]:
11422 Call __call_tls_dtors only if it's not NULL.
11424 2013-03-28 Roland McGrath <roland@hack.frob.com>
11426 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
11427 didn't do it already, then set _dl_phdr and _dl_phnum based on the
11428 magic __ehdr_start linker symbol if it's defined.
11429 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
11430 them up here if it was already done.
11432 * elf/dl-support.c (_dl_phdr): Make pointer to const.
11433 (_dl_aux_init): Use const in cast when setting it.
11434 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
11435 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
11436 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
11438 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
11440 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
11441 * csu/libc-tls.c: Nor here.
11442 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
11444 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
11445 (__libc_message): Never call vsyslog.
11447 2013-03-28 Alan Modra <amodra@gmail.com>
11449 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
11451 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
11454 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11457 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
11459 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11461 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11464 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11465 Don't add gid passed as argument.
11467 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
11469 2013-03-27 Joseph Myers <joseph@codesourcery.com>
11472 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11473 imaginary part between 1.0 and 1.5 and real part less than 0.5
11475 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11476 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11477 * math/libm-test.inc (cacos_test): Add more tests.
11478 (casin_test): Likewise.
11479 (casinh_test): Likewise.
11480 * sysdeps/i386/fpu/libm-test-ulps: Update.
11481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11483 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11485 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
11488 (denorm): Likewise.
11489 (__dbl_mp): Likewise.
11490 (add_magnitudes): Likewise.
11491 (sub_magnitudes): Likewise.
11499 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
11501 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
11502 (__dubcos): Likewise.
11503 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
11504 (__ieee754_acos): Likewise.
11505 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11506 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
11507 (__exp1): Likewise.
11508 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11509 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11511 (my_log2): Likewise.
11512 (checkint): Likewise.
11513 * sysdeps/ieee754/dbl-64/e_remainder.c
11514 (__ieee754_remainder): Likewise.
11515 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11516 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11517 (bsloww): Likewise.
11518 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11520 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11521 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
11522 MANTISSA_STORE_T to store computations on mantissa. Use
11523 macros for rounding and division.
11524 (denorm): Likewise.
11525 (__dbl_mp): Likewise.
11526 (add_magnitudes): Likewise.
11527 (sub_magnitudes): Likewise.
11530 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11531 powers of two in terms of TWOPOW macro.
11532 (mp_no): Make type of mantissa as MANTISSA_T.
11533 [!RADIXI]: Define RADIXI.
11534 [!TWO52]: Define TWO52.
11535 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11537 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11539 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
11540 llroundl symbol when building for PPC32.
11542 2013-03-24 Mark H Weaver <mhw@netris.org>
11544 * manual/arith.texi (Normalization Functions): Fix prototypes for
11545 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
11547 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11550 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
11551 high value to check if expl overflow.
11552 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
11553 to check for underflow and overflow.
11554 * math/libm-test.inc: Add exp test.
11556 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
11559 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
11562 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11564 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
11567 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
11569 * math/gen-libm-test.pl (parse_args, special_functions): Properly
11570 wrap blocks consisting of several statements.
11572 * sysdeps/generic/math-tests.h: New file.
11573 * sysdeps/i386/fpu/math-tests.h: Likewise.
11574 * math/test-snan.c: Include it.
11575 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
11577 2013-03-21 Joseph Myers <joseph@codesourcery.com>
11580 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
11581 (__ieee754_j0l): Do not improve calculations using cos of twice
11582 input for inputs above LDBL_MAX / 2.0L.
11583 (__ieee754_y0l): Likewise.
11584 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
11585 (__ieee754_j1l): Do not improve calculations using cos of twice
11586 input for inputs above LDBL_MAX / 2.0L.
11587 (__ieee754_y1l): Likewise.
11588 * math/libm-test.inc (j0_test): Add another test.
11589 (j1_test): Likewise.
11590 (y0_test): Likewise.
11591 (y1_test): Likewise.
11592 * sysdeps/i386/fpu/libm-test-ulps: Update.
11594 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11596 * Rules ($(objpfx)bench-%.c): Include code from a C source
11599 2013-03-21 Joseph Myers <joseph@codesourcery.com>
11602 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11603 imaginary part 1.0 and real part less than 0.5 specially.
11604 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11605 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11606 * math/libm-test.inc (cacos_test): Add more tests.
11607 (casin_test): Likewise.
11608 (casinh_test): Likewise.
11609 * sysdeps/i386/fpu/libm-test-ulps: Update.
11610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11612 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11614 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
11615 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
11617 2013-03-20 Joseph Myers <joseph@codesourcery.com>
11619 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
11620 * config.make.in (config-cflags-sse4): Remove variable.
11621 (config-cflags-avx): Likewise.
11622 (config-cflags-sse2avx): Likewise.
11623 (config-cflags-novzeroupper): Likewise.
11624 (config-asflags-i686): Likewise.
11625 (have-mfma4): Likewise.
11626 (have-as-vis3): Likewise.
11628 * configure.in (MIG): Do not AC_SUBST.
11629 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
11630 (libc_cv_cc_sse4): Do not AC_SUBST.
11631 (libc_cv_cc_avx): Likewise.
11632 (libc_cv_cc_sse2avx): Likewise.
11633 (libc_cv_cc_novzeroupper): Likewise.
11634 (libc_cv_cc_fma4): Likewise.
11635 (libc_cv_as_i686): Likewise.
11636 (libc_cv_sparc_as_vis3): Likewise.
11637 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
11639 (config-asflags-i686): Likewise.
11640 (config-cflags-avx): Likewise.
11641 (config-cflags-sse2avx): Likewise.
11642 (have-mfma4): Likewise.
11643 (config-cflags-novzeroupper): Likewise.
11644 * sysdeps/mach/configure.in (MIG): Likewise.
11645 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
11646 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
11648 (config-cflags-avx): Likewise.
11649 (config-cflags-sse2avx): Likewise.
11650 (have-mfma4): Likewise.
11651 (config-cflags-novzeroupper): Likewise.
11652 * configure: Regenerated.
11653 * sysdeps/i386/configure: Likewise.
11654 * sysdeps/mach/configure: Likewise.
11655 * sysdeps/sparc/configure: Likewise.
11656 * sysdeps/x86_64/configure: Likewise.
11658 2013-03-20 Roland McGrath <roland@hack.frob.com>
11661 * locale/programs/localedef.c (options): Put N_ translation marker
11662 on argument names, not just descriptions.
11664 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11666 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
11668 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
11671 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
11673 2013-03-19 Roland McGrath <roland@hack.frob.com>
11675 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
11676 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
11677 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
11678 [!BEFORE_ABORT] (before_abort): New function.
11679 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
11680 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
11681 (writev_for_fatal): New function.
11682 (WRITEV_FOR_FATAL): New macro; call that.
11683 (backtrace_and_maps): New function.
11684 (BEFORE_ABORT): New macro; call that.
11685 (struct str_list): Type removed.
11686 (__libc_message, __libc_fatal): Functions removed.
11687 Include <sysdeps/posix/libc_fatal.c> instead.
11689 2013-03-19 Joseph Myers <joseph@codesourcery.com>
11691 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
11693 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
11696 2013-03-19 Andreas Schwab <schwab@suse.de>
11698 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
11699 * sysdeps/gnu/configure: Regenerate.
11701 * configure.in: Substitute libc_cv_rtlddir.
11702 * configure: Regenerate.
11703 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
11704 * Makeconfig (rtlddir, inst_rtlddir): New variables.
11705 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
11706 * elf/Makefile (install-others, CFLAGS-interp.c)
11707 (ldso_install, common-ldd-rewrite): Likewise.
11708 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
11709 $(inst_slibdir)/$(rtld-installed-name).
11710 * scripts/rellns-sh: Add -p option.
11711 * Makerules (make-shlib-link): Use rellns-sh to get relative name
11714 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11716 * manual/nptl.texi: Renamed to ...
11717 * manual/threads.texi: ... this.
11718 * manual/Makefile (chapters): Update.
11720 2013-03-18 Roland McGrath <roland@hack.frob.com>
11723 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
11724 on argument names, not just descriptions.
11725 * malloc/memusagestat.c (options): Likewise.
11726 * nss/getent.c (options): Likewise.
11728 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
11731 * iconv/iconv_prog.c (options): Put N_ translation marker
11732 on argument names, not just descriptions.
11733 * iconv/iconvconfig.c (options): Likewise.
11735 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
11737 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
11738 implementation which is faster on all x86_64 architectures.
11739 Tested on AMD, Intel Nehalem, SNB, IVB.
11740 * sysdeps/x86_64/strnlen.S: Likewise.
11742 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11743 Remove all multiarch strlen and strnlen versions.
11744 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11745 Remove strlen and strnlen related parts.
11747 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
11748 Inline strlen part.
11749 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11751 * sysdeps/x86_64/multiarch/strlen.S: Remove.
11752 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
11753 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
11754 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
11755 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11756 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
11758 2013-03-17 Carlos O'Donell <carlos@redhat.com>
11760 * manual/memory.texi (Malloc Tunable Parameters):
11761 Sort parameters alphabetically. Add comments for missing entries.
11763 2013-03-17 David S. Miller <davem@davemloft.net>
11765 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11767 2013-03-16 Joseph Myers <joseph@codesourcery.com>
11770 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11771 for arguments at most half maximum finite value.
11772 * math/libm-test.inc (j0_test): Add more tests.
11773 (j1_test): Likewise.
11774 (y0_test): Likewise.
11775 (y1_test): Likewise.
11776 * sysdeps/i386/fpu/libm-test-ulps: Update.
11777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11780 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11781 1 / x and functions P and Q for arguments above 0x1p256L.
11782 (__ieee754_y0l): Likewise.
11783 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11784 (__ieee754_y1l): Likewise.
11785 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11786 (j1_test): Likewise.
11787 (y0_test): Likewise.
11788 (y1_test): Likewise.
11790 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
11792 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11795 2013-03-15 Roland McGrath <roland@hack.frob.com>
11797 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11798 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11799 zero since it's initialized to EXEC_PAGESIZE.
11801 * sysdeps/unix/sysv/linux/ldsodefs.h
11802 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11803 * sysdeps/generic/ldsodefs.h: ... here.
11805 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
11807 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11809 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11811 * math/test-snan.c: Renamed from
11812 sysdeps/powerpc/fpu/test-powerpc-snan.c.
11813 * math/Makefile (tests): Add test-snan.
11814 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11817 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11818 SUFFIX. Initialize qNaN_var with __builtin_nan family of
11820 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
11821 __builtin_nan family of functions.
11822 * math/libm-test.inc (initialize): Initialize qnan_value with
11823 __builtin_nan family of functions.
11824 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11826 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11828 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
11829 storage class. Initialize qNaN_var and sNaN_var with
11830 __builtin_nan and __builtin_nans families of functions,
11833 * math/libm-test.inc (acosh_test): Also test with qNaN input.
11834 (sqrt_test): Remove duplicate test with qNaN input.
11835 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11836 (round_test, signbit_test, significand_test): Note missing +/-Inf
11837 as well as qNaN tests.
11839 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11840 qNaN_var. Fix a few strings, too.
11841 * math/libm-test.inc (nan_value): Rename to qnan_value.
11842 * math/gen-libm-test.pl (%beautify): Adjust to that.
11843 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11844 * math/test-misc.c (main): Likewise.
11845 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11846 to __qnan_bytes, and __qnan_union, respectively.
11847 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11849 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11850 and lqnanval, respectively.
11851 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11852 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11853 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11854 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11856 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11857 * math/test-misc.c (main) [__x86_64__]: Enable test for long
11860 * math/test-misc.c (main): Fix copy'n'pastos.
11861 * misc/tst-efgcvt.c (special): Likewise.
11863 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11864 Remove declarations.
11866 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11868 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11869 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11870 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11871 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11873 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11875 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11876 macro to return vdso values correctly in IFUNC implementations.
11877 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11878 Optimization by using IFUNC.
11880 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11881 Richard Henderson <rth@redhat.com>
11882 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11884 * Makefile.in (bench): New target.
11885 * NEWS: Mention the benchmark framework.
11886 * Rules (bench): Likewise.
11887 (binaries-bench): Generate binaries for functions to
11889 * benchtests/Makefile: New makefile for benchmark tests.
11890 * benchtests/bench-skeleton.c: New skeleton file for benchmark
11892 * benchtests/exp-inputs: New input file for EXP function.
11893 * benchtests/pow-inputs: New input file for POW function.
11894 * scripts/bench.pl: New script to generate source files for
11895 benchmark programs.
11897 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11899 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11900 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11901 computations on mantissa. Use macros for rounding and
11903 (denorm): Likewise.
11904 (__dbl_mp): Likewise.
11905 (add_magnitudes): Likewise.
11906 (sub_magnitudes): Likewise.
11909 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11910 powers of two in terms of TWOPOW macro.
11911 (mp_no): Make type of mantissa as MANTISSA_T.
11912 [!RADIXI]: Define RADIXI.
11913 [!TWO52]: Define TWO52.
11914 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11916 * manual/nptl.texi (cindex): Modify threads to pthreads.
11918 2013-03-15 Joseph Myers <joseph@codesourcery.com>
11920 * sysdeps/x86_64/preconfigure: Regenerated.
11922 2013-03-14 Joseph Myers <joseph@codesourcery.com>
11925 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11927 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11928 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11930 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11931 * math/libm-test.inc (j0_test): Do not allow one spurious
11932 underflow exception.
11933 (y1_test): Likewise.
11935 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11937 * manual/Makefile (chapters): Add nptl.
11938 * manual/debug.texi (Debugging Support): Add link to Threads
11940 * manual/nptl.texi: New file.
11942 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11944 2013-03-14 Petr Baudis <pasky@ucw.cz>
11946 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11947 for non-NULL pointer before the memory validity test. Pointed
11948 out by Holger Brunck <holger.brunck@keymile.com>.
11950 2013-03-13 Andreas Schwab <schwab@suse.de>
11952 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11955 2013-03-13 Joseph Myers <joseph@codesourcery.com>
11957 * timezone/zic.c: Update from tzcode 2013b.
11959 2013-03-12 Carlos O'Donell <carlos@redhat.com>
11961 * manual/install.texi (Configuring and compiling):
11962 Mention i686 and i586.
11963 * INSTALL: Regenerate.
11965 2013-03-12 Roland McGrath <roland@hack.frob.com>
11967 * sysdeps/init_array/elf-init.c: New file.
11969 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11970 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11972 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11973 __gmon_start__ as global, but as static with a .preinit_array pointer.
11974 * sysdeps/init_array/gmon-start.c: New file. Use that.
11975 * sysdeps/init_array/crti.S: New file, empty except for comments.
11976 * sysdeps/init_array/crtn.S: Likewise.
11978 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
11980 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11982 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11983 Remove Prefer_SSE_for_memop.
11984 * sysdeps/x86_64/multiarch/init-arch.h: Remove
11985 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11986 HAS_PREFER_SSE_FOR_MEMOP.
11987 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11989 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11990 Remove bzero, memset ifunc support.
11991 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11992 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11993 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11994 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11996 2013-03-11 Andreas Schwab <schwab@suse.de>
11999 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
12001 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
12002 (GLIBC_2.16): Remove pthread_atfork.
12004 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
12006 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
12007 (ptestcases.h): Likewise.
12009 2013-03-08 Roland McGrath <roland@hack.frob.com>
12011 * Makeconfig ($(common-objpfx)config.status): Depend on
12012 sysdeps/*/preconfigure{,.in} too.
12014 2013-03-08 Joseph Myers <joseph@codesourcery.com>
12016 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
12017 (__free_hook): Use void * instead of __malloc_ptr_t.
12018 (__malloc_hook): Likewise.
12019 (__realloc_hook): Likewise.
12020 (__memalign_hook): Likewise.
12021 (__after_morecore_hook): Likewise.
12022 * malloc/arena.c (save_malloc_hook): Likewise.
12023 (save_free_hook): Likewise.
12024 * malloc/hooks.c (malloc_hook_ini): Likewise.
12025 (realloc_hook_ini): Likewise.
12026 (memalign_hook_ini): Likewise.
12027 * malloc/malloc.c (malloc_hook_ini): Likewise.
12028 (realloc_hook_ini): Likewise.
12029 (memalign_hook_ini): Likewise.
12030 (__free_hook): Likewise.
12031 (__malloc_hook): Likewise.
12032 (__realloc_hook): Likewise.
12033 (__memalign_hook): Likewise.
12034 (__libc_malloc): Likewise.
12035 (__libc_free): Likewise.
12036 (__libc_realloc): Likewise.
12037 (__libc_memalign): Likewise.
12038 (__libc_valloc): Likewise.
12039 (__libc_pvalloc): Likewise.
12040 (__libc_calloc): Likewise.
12041 (__posix_memalign): Likewise.
12042 * malloc/morecore.c (__sbrk): Likewise.
12043 (__default_morecore): Likewise.
12045 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
12047 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
12048 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
12049 __malloc_ptrdiff_t.
12051 * malloc/malloc.h (__malloc_size_t): Remove macro.
12052 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
12054 (old_memalign_hook): Likewise.
12055 (old_realloc_hook): Likewise.
12056 (struct hdr): Likewise.
12058 (mallochook): Likewise.
12059 (memalignhook): Likewise.
12060 (reallochook): Likewise.
12061 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
12062 (tr_old_realloc_hook): Likewise.
12063 (tr_old_memalign_hook): Likewise.
12064 (tr_mallochook): Likewise.
12065 (tr_reallochook): Likewise.
12066 (tr_memalignhook): Likewise.
12068 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12070 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
12071 default_ldbl_pack and using as default implementation.
12072 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
12074 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
12075 redundant definition.
12076 (ldbl_insert_mantissa): Likewise.
12077 (ldbl_canonicalize): Likewise.
12078 (ldbl_nearbyint): Likewise.
12079 (ldbl_pack): Rename to ldbl_pack_ppc.
12080 (ldbl_unpack): Rename to ldbl_unpack_ppc.
12081 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
12082 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
12084 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12086 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
12087 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
12088 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
12089 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
12090 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
12091 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
12092 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
12093 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
12095 2013-03-07 Andreas Jaeger <aj@suse.de>
12097 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12100 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12102 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
12103 Include mpa.h and declare __MPEXP.
12104 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
12105 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12106 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
12107 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
12108 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12109 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
12110 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
12112 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
12113 (__slowpow): Use long double EXPL and LOGL functions to
12115 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12116 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12117 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
12118 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12119 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12120 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
12122 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
12123 intermediate variable to calculate exponent.
12125 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12129 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
12130 [!NO__SQR]: Define __sqr.
12131 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
12132 and NO__SQR. Remove all code except __mul and __sqr. Include
12133 sysdeps/ieee754/dbl-64/mpa.c.
12134 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12137 * posix/Makefile (tests): Add tst-pathconf.
12138 * posix/tst-pathconf.c: New test case.
12139 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
12141 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
12143 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
12145 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
12147 2013-03-06 Andreas Jaeger <aj@suse.de>
12149 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
12150 definition via __MAP_ANONYMOUS.
12152 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
12153 it's not part of Linux headers.
12155 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
12156 (MAP_HUGE_MASK): Define.
12158 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12160 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12161 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12163 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12164 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12166 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12167 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
12169 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12171 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
12172 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
12173 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
12174 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
12175 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
12176 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
12178 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12181 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12182 Handle f2fs and efivarfs.
12184 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
12187 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
12188 (EFIVARFS_MAGIC): Add.
12189 (F2FS_LINK_MAX): Add.
12191 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12193 * stdio-common/vfprintf.c: Replace __builtin_expect with
12196 2013-03-06 Joseph Myers <joseph@codesourcery.com>
12199 * sysdeps/generic/bp-sym.h: Remove file.
12200 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
12201 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
12202 <bp-sym.h> and <bp-asm.h>.
12203 (__longjmp): Don't use BP_SYM.
12204 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
12206 (memcpy): Don't use BP_SYM.
12207 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
12208 <bp-sym.h> and <bp-asm.h>.
12209 (memcpy): Don't use BP_SYM.
12210 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
12212 (memcpy): Don't use BP_SYM.
12213 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
12215 (memset): Don't use BP_SYM.
12216 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12217 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12218 (__bzero): Don't use BP_SYM.
12219 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12220 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12221 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
12222 <bp-sym.h> and <bp-asm.h>.
12223 (memcmp): Don't use BP_SYM. Remove comment about bounded
12225 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
12226 <bp-sym.h> and <bp-asm.h>.
12227 (memcpy): Don't use BP_SYM.
12228 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
12229 <bp-sym.h> and <bp-asm.h>.
12230 (memset): Don't use BP_SYM.
12231 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12232 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12233 (__bzero): Don't use BP_SYM.
12234 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12235 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12236 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
12237 <bp-sym.h> and <bp-asm.h>.
12238 (strncmp): Don't use BP_SYM. Remove comment about bounded
12240 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
12241 <bp-sym.h> and <bp-asm.h>.
12242 (memcpy): Don't use BP_SYM.
12243 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
12244 <bp-sym.h> and <bp-asm.h>.
12245 (memset): Don't use BP_SYM.
12246 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12247 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12248 (__bzero): Don't use BP_SYM.
12249 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12250 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12251 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
12252 <bp-sym.h> and <bp-asm.h>.
12253 (__memchr): Don't use BP_SYM.
12254 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
12255 <bp-sym.h> and <bp-asm.h>.
12256 (memcmp): Don't use BP_SYM. Remove comment about bounded
12258 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
12259 <bp-sym.h> and <bp-asm.h>.
12260 (memcpy): Don't use BP_SYM.
12261 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
12262 <bp-sym.h> and <bp-asm.h>.
12263 (__mempcpy): Don't use BP_SYM.
12264 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
12265 <bp-sym.h> and <bp-asm.h>.
12266 (__memrchr): Don't use BP_SYM.
12267 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
12268 <bp-sym.h> and <bp-asm.h>.
12269 (memset): Don't use BP_SYM.
12270 (__bzero): Likewise.
12271 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
12272 <bp-sym.h> and <bp-asm.h>.
12273 (__rawmemchr): Don't use BP_SYM.
12274 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
12275 <bp-sym.h> and <bp-asm.h>.
12276 (__STRCMP): Don't use BP_SYM.
12277 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
12278 <bp-sym.h> and <bp-asm.h>.
12279 (strchr): Don't use BP_SYM.
12280 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
12281 <bp-sym.h> and <bp-asm.h>.
12282 (__strchrnul): Don't use BP_SYM.
12283 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
12284 <bp-sym.h> and <bp-asm.h>.
12285 (strlen): Don't use BP_SYM.
12286 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
12287 <bp-sym.h> and <bp-asm.h>.
12288 (strncmp): Don't use BP_SYM. Remove comment about bounded
12290 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
12291 <bp-sym.h> and <bp-asm.h>.
12292 (__strnlen): Don't use BP_SYM.
12293 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
12294 <bp-sym.h> and <bp-asm.h>.
12295 (__GI__setjmp): Don't use BP_SYM.
12296 (_setjmp): Likewise.
12297 (__sigsetjmp): Likewise.
12298 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
12299 (L(start_addresses)): Don't use BP_SYM.
12300 (_start): Likewise.
12301 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
12303 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
12304 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
12305 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12306 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12307 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
12309 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
12310 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
12311 about bounded pointers.
12312 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12313 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12314 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
12316 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
12317 about bounded pointers. Remove GKM FIXME comments.
12318 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12319 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
12321 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
12322 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
12323 Remove GKM FIXME comments.
12324 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12325 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12326 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
12328 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
12329 about bounded pointers. Remove GKM FIXME comment.
12330 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
12332 (strncmp): Don't use BP_SYM. Remove comment about bounded
12334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
12335 <bp-sym.h> and <bp-asm.h>.
12336 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
12338 <bp-sym.h> and <bp-asm.h>.
12339 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12342 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12344 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
12347 2013-03-05 David S. Miller <davem@davemloft.net>
12349 * po/es.po: Update from translation team.
12351 2013-03-05 Andreas Jaeger <aj@suse.de>
12353 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
12354 <bits/mman-linux.h>.
12355 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12357 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
12358 <bits/mman-linux.h> to end of file.
12359 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12361 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
12362 <bits/mman-linux.h> to end of file.
12363 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12365 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
12366 <bits/mman-linux.h> to end of file.
12368 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
12369 (MCL_CURRENT, MCL_FUTURE): Define here.
12371 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12374 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
12376 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12378 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12380 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
12381 fourth parameter needed for rt_sigprocmask syscall.
12382 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12383 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12384 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
12385 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12386 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12387 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
12389 2013-03-04 Joseph Myers <joseph@codesourcery.com>
12392 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
12393 comment about bounded pointers.
12394 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
12395 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
12397 2013-03-04 Andreas Jaeger <aj@suse.de>
12399 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
12400 common definitions.
12402 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
12403 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
12404 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
12405 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12406 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12407 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12409 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12412 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
12413 __ieee754_sqrl instead of __sqrl.
12415 2013-03-01 Joseph Myers <joseph@codesourcery.com>
12417 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
12418 * sysdeps/powerpc/fpu_control.h: ... here.
12419 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
12420 * sysdeps/powerpc/bits/fenvinline.h: ... here.
12421 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
12422 * sysdeps/powerpc/bits/mathinline.h: ... here.
12424 2013-03-01 Roland McGrath <roland@hack.frob.com>
12426 * elf/dl-hwcaps.c (_dl_important_hwcaps):
12427 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
12428 to just [NEED_DL_SYSINFO_DSO].
12429 * elf/dl-support.c: Likewise.
12430 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12431 * elf/rtld.c (dl_main): Likewise.
12432 * elf/setup-vdso.h (setup_vdso): Likewise.
12433 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
12434 * sysdeps/unix/sysv/linux/dl-sysdep.c
12435 (_dl_discover_osversion): Likewise.
12437 2013-03-01 Carlos O'Donell <carlos@redhat.com>
12439 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
12440 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12442 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
12444 * NEWS: Mention libm performance improvements and non-x86 PI
12447 * csu/libc-start.c (__pthread_initialize_minimal): Change
12448 function arguments.
12449 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12451 2013-02-28 Joseph Myers <joseph@codesourcery.com>
12454 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
12455 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
12456 <bp-sym.h> and <bp-asm.h>.
12457 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12458 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
12460 (memcpy): Don't use BP_SYM.
12461 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
12463 (__mpn_add_n): Don't use BP_SYM.
12464 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
12465 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
12467 (__mpn_addmul_1): Don't use BP_SYM.
12468 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12469 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
12471 (_setjmp): Don't use BP_SYM.
12472 (__novmx_setjmp): Likewise.
12473 (__GI__setjmp): Likewise.
12474 (__vmx_setjmp): Likewise.
12475 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
12477 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
12478 (__bzero): Don't use BP_SYM.
12479 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12480 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12481 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
12482 <bp-sym.h> and <bp-asm.h>.
12483 (memcpy): Don't use BP_SYM.
12484 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
12485 <bp-sym.h> and <bp-asm.h>.
12486 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12487 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
12488 <bp-sym.h> and <bp-asm.h>.
12489 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12490 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
12492 (__mpn_lshift): Don't use BP_SYM.
12493 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12494 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
12496 (memset): Don't use BP_SYM.
12497 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12498 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12499 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
12501 (__mpn_mul_1): Don't use BP_SYM.
12502 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12503 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
12504 <bp-sym.h> and <bp-asm.h>.
12505 (memcmp): Don't use BP_SYM.
12506 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
12507 <bp-sym.h> and <bp-asm.h>.
12508 (memcpy): Don't use BP_SYM.
12509 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
12510 <bp-sym.h> and <bp-asm.h>.
12511 (memset): Don't use BP_SYM.
12512 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
12513 <bp-sym.h> and <bp-asm.h>.
12514 (strncmp): Don't use BP_SYM.
12515 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
12516 <bp-sym.h> and <bp-asm.h>.
12517 (memcpy): Don't use BP_SYM.
12518 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
12519 <bp-sym.h> and <bp-asm.h>.
12520 (memset): Don't use BP_SYM.
12521 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
12522 <bp-sym.h> and <bp-asm.h>.
12523 (__memchr): Don't use BP_SYM.
12524 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
12525 <bp-sym.h> and <bp-asm.h>.
12526 (memcmp): Don't use BP_SYM.
12527 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
12528 <bp-sym.h> and <bp-asm.h>.
12529 (memcpy): Don't use BP_SYM.
12530 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
12531 <bp-sym.h> and <bp-asm.h>.
12532 (__mempcpy): Don't use BP_SYM.
12533 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
12534 <bp-sym.h> and <bp-asm.h>.
12535 (__memrchr): Don't use BP_SYM.
12536 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
12537 <bp-sym.h> and <bp-asm.h>.
12538 (memset): Don't use BP_SYM.
12539 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
12540 <bp-sym.h> and <bp-asm.h>.
12541 (__rawmemchr): Don't use BP_SYM.
12542 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
12543 <bp-sym.h> and <bp-asm.h>.
12544 (__STRCMP): Don't use BP_SYM.
12545 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
12546 <bp-sym.h> and <bp-asm.h>.
12547 (strchr): Don't use BP_SYM.
12548 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
12549 <bp-sym.h> and <bp-asm.h>.
12550 (__strchrnul): Don't use BP_SYM.
12551 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
12552 <bp-sym.h> and <bp-asm.h>.
12553 (strlen): Don't use BP_SYM.
12554 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
12555 <bp-sym.h> and <bp-asm.h>.
12556 (strncmp): Don't use BP_SYM.
12557 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
12558 <bp-sym.h> and <bp-asm.h>.
12559 (__strnlen): Don't use BP_SYM.
12560 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
12562 (__mpn_rshift): Don't use BP_SYM.
12563 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12564 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
12565 <bp-sym.h> and <bp-asm.h>.
12566 (__sigsetjmp): Don't use BP_SYM.
12567 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
12568 (L(start_addresses)): Don't use BP_SYM.
12569 (_start): Likewise.
12570 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
12572 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
12573 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12574 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12575 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
12577 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
12578 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12579 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12580 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
12582 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12584 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12585 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
12587 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
12589 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12590 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12591 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
12593 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12595 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
12597 (strncmp): Don't use BP_SYM,
12598 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
12600 (__mpn_sub_n): Don't use BP_SYM.
12601 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12602 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
12604 (__mpn_submul_1): Don't use BP_SYM.
12605 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
12607 <bp-sym.h> and <bp-asm.h>.
12608 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
12610 <bp-sym.h> and <bp-asm.h>.
12611 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12614 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12616 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
12617 Use ZK to minimize writes to Z.
12618 (sub_magnitudes): Simplify code a bit.
12619 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
12620 Use ZK to minimize writes to Z.
12621 (sub_magnitudes): Simplify code a bit.
12623 2013-02-27 Roland McGrath <roland@hack.frob.com>
12625 * csu/gmon-start.c: Add special exception to license text.
12627 2013-02-27 Richard Henderson <rth@redhat.com>
12629 * scripts/config.guess: Update from config.git.
12630 * scripts/config.sub: Likewise.
12632 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12634 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
12636 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
12638 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
12640 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
12642 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
12644 2013-02-26 Roland McGrath <roland@hack.frob.com>
12646 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
12647 [$(build-shared = yes].
12649 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12651 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
12652 (__mul): Reduce iterations for calculating mantissa.
12654 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
12656 (__mpranred): Likewise.
12659 * malloc/memusagestat.c (main): Draw graphs for heap and stack
12660 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
12662 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
12664 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
12665 Define __attribute__.
12667 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12669 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
12671 * posix/regex_internal.h (__attribute): Remove.
12672 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
12673 (re_string_context_at): Likewise.
12674 (bitset_not): Use __attribute__ and mark function as possibly
12676 (bitset_merge): Likewise.
12677 (bitset_mask): Likewise.
12678 (re_string_char_size_at): Likewise.
12679 (re_string_wchar_at): Likewise.
12680 (re_string_elem_size_at): Likewise.
12682 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12684 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
12688 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
12692 (denorm): Likewise.
12693 (__dbl_mp): Likewise.
12694 (add_magnitudes): Likewise.
12695 (sub_magnitudes): Likewise.
12699 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
12702 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
12705 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
12708 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
12709 up changes with default code.
12710 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
12713 2013-02-24 Allan McRae <allan@archlinux.org>
12715 * manual/socket.texi (The Internet Namespace): Order menu items
12716 to match that in the file.
12718 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
12719 node listing of the info page menu.
12721 2013-02-21 Joseph Myers <joseph@codesourcery.com>
12724 * sysdeps/i386/bp-asm.h: Remove file.
12725 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12726 (PARMS): Do not use macros from bp-asm.h.
12730 (__mpn_add_n): Do not use BP_SYM
12731 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
12733 (PARMS): Do not use macros from bp-asm.h.
12736 (__mpn_addmul_1): Do not use BP_SYM
12737 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
12739 (PARMS): Do not use macros from bp-asm.h.
12740 (SIGMSK): Likewise.
12741 (_setjmp): Likewise. Do not use BP_SYM.
12742 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
12744 (PARMS): Do not use macros from bp-asm.h.
12745 (SIGMSK): Likewise.
12746 (setjmp): Likewise. Do not use BP_SYM.
12747 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
12749 (PARMS): Do not use macros from bp-asm.h.
12750 (__frexp): Do not use BP_SYM.
12752 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
12754 (PARMS): Do not use macros from bp-asm.h.
12755 (__frexpf): Do not use BP_SYM.
12756 (frexpf): Likewise.
12757 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
12759 (PARMS): Do not use macros from bp-asm.h.
12760 (__frexpl): Do not use BP_SYM.
12761 (frexpl): Likewise.
12762 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
12764 (PARMS): Do not use macros from bp-asm.h.
12765 (__remquo): Do not use BP_SYM.
12766 (remquo): Likewise.
12767 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12769 (PARMS): Do not use macros from bp-asm.h.
12770 (__remquof): Do not use BP_SYM.
12771 (remquof): Likewise.
12772 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12774 (PARMS): Do not use macros from bp-asm.h.
12775 (__remquol): Do not use BP_SYM.
12776 (remquol): Likewise.
12777 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12779 (PARMS): Do not use macros from bp-asm.h.
12782 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
12783 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12785 (PARMS): Do not use macros from bp-asm.h.
12786 (strlen): Do not use BP_SYM.
12787 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12789 (PARMS): Do not use macros from bp-asm.h.
12793 (__mpn_add_n): Do not use BP_SYM.
12794 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12796 (PARMS): Do not use macros from bp-asm.h.
12799 (__mpn_addmul_1): Do not use BP_SYM.
12800 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12803 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12805 (PARMS): Do not use macros from bp-asm.h.
12808 (__mpn_lshift): Do not use BP_SYM.
12809 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12811 (PARMS): Do not use macros from bp-asm.h.
12815 (memcpy): Likewise. Do not use BP_SYM.
12816 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12817 libc_hidden_def and weak_alias.
12818 (mempcpy): Do not use BP_SYM in weak_alias.
12819 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12821 (PARMS): Do not use macros from bp-asm.h.
12824 [!BZERO_P] (CHR): Likewise.
12825 (memset): Likewise. Do not use BP_SYM.
12826 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12828 (PARMS): Do not use macros from bp-asm.h.
12831 (__mpn_mul_1): Do not use BP_SYM.
12832 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12834 (PARMS): Do not use macros from bp-asm.h.
12837 (__mpn_rshift): Do not use BP_SYM.
12838 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12840 (PARMS): Do not use macros from bp-asm.h.
12843 (strchr): Likewise. Do not use BP_SYM.
12844 (index): Do not use BP_SYM in weak_alias.
12845 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12847 (PARMS): Do not use macros from bp-asm.h.
12850 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
12851 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12853 (PARMS): Do not use macros from bp-asm.h.
12854 (strlen): Do not use BP_SYM.
12855 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12857 (PARMS): Do not use macros from bp-asm.h.
12861 (__mpn_sub_n): Do not use BP_SYM.
12862 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12864 (PARMS): Do not use macros from bp-asm.h.
12867 (__mpn_submul_1): Do not use BP_SYM.
12868 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12870 (PARMS): Do not use macros from bp-asm.h.
12874 (__mpn_add_n): Do not use BP_SYM.
12875 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12878 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12880 (PARMS): Do not use macros from bp-asm.h.
12883 (memcmp): Do not use BP_SYM.
12884 (bcmp): Do not use BP_SYM in weak_alias.
12885 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12887 (PARMS): Do not use macros from bp-asm.h.
12891 (memcpy): Likewise. Do not use BP_SYM.
12892 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12894 (PARMS): Do not use macros from bp-asm.h.
12898 (memmove): Likewise. Do not use BP_SYM.
12899 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12901 (PARMS): Do not use macros from bp-asm.h.
12905 (__mempcpy): Likewise. Do not use BP_SYM.
12906 (mempcpy): Do not use BP_SYM in weak_alias.
12907 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12909 (PARMS): Do not use macros from bp-asm.h.
12912 [!BZERO_P] (CHR): Likewise.
12913 (memset): Likewise. Do not use BP_SYM.
12914 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12916 (PARMS): Do not use macros from bp-asm.h.
12918 (strcmp): Do not use BP_SYM.
12919 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12921 (PARMS): Do not use macros from bp-asm.h.
12924 [USE_AS_STRTOK_R] (SAVE): Likewise.
12925 (FUNCTION): Likewise. Do not use BP_SYM.
12926 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12928 (strtok_r): Likewise.
12929 (__GI___strtok_r): Likewise.
12930 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12931 (PARMS): Do not use macros from bp-asm.h.
12934 (__mpn_lshift): Do not use BP_SYM.
12935 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12936 (PARMS): Do not use macros from bp-asm.h.
12939 (__memchr): Do not use BP_SYM.
12940 (memchr): Do not use BP_SYM in weak_alias.
12941 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12942 (PARMS): Do not use macros from bp-asm.h.
12945 (memcmp): Do not use BP_SYM.
12946 (bcmp): Do not use BP_SYM in weak_alias.
12947 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12948 (PARMS): Do not use macros from bp-asm.h.
12951 (__mpn_mul_1): Do not use BP_SYM.
12952 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12954 (PARMS): Do not use macros from bp-asm.h.
12957 (__rawmemchr): Do not use BP_SYM.
12958 (rawmemchr): Do not use BP_SYM in weak_alias.
12959 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12960 (PARMS): Do not use macros from bp-asm.h.
12963 (__mpn_rshift): Do not use BP_SYM.
12964 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12965 (PARMS): Do not use macros from bp-asm.h.
12966 (SIGMSK): Likewise.
12967 (__sigsetjmp): Likewise. Do not use BP_SYM.
12968 * sysdeps/i386/start.S: Do not include "bp-sym.h".
12969 (_start): Do not use BP_SYM.
12970 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12971 (PARMS): Do not use macros from bp-asm.h.
12974 (__stpcpy): Likewise. Do not use BP_SYM.
12975 (stpcpy): Do not use BP_SYM in weak_alias.
12976 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12978 (PARMS): Do not use macros from bp-asm.h.
12982 (__stpncpy): Likewise. Do not use BP_SYM.
12983 (stpncpy): Do not use BP_SYM in weak_alias.
12984 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12985 (PARMS): Do not use macros from bp-asm.h.
12988 (strchr): Likewise. Do not use BP_SYM.
12989 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12991 (PARMS): Do not use macros from bp-asm.h.
12994 (__strchrnul): Likewise. Do not use BP_SYM.
12995 (strchrnul): Do not use BP_SYM in weak_alias.
12996 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12998 (PARMS): Do not use macros from bp-asm.h.
13000 (strcspn): Do not use BP_SYM.
13001 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
13003 (PARMS): Do not use macros from bp-asm.h.
13006 (strpbrk): Likewise. Do not use BP_SYM.
13007 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
13009 (PARMS): Do not use macros from bp-asm.h.
13012 (strrchr): Likewise. Do not use BP_SYM.
13013 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
13014 (PARMS): Do not use macros from bp-asm.h.
13016 (strspn): Do not use BP_SYM.
13017 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
13018 (PARMS): Do not use macros from bp-asm.h.
13022 (FUNCTION): Likewise. Do not use BP_SYM.
13023 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
13025 (strtok_r): Likewise.
13026 (__GI___strtok_r): Likewise.
13027 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
13028 (PARMS): Do not use macros from bp-asm.h.
13032 (__mpn_sub_n): Do not use BP_SYM.
13033 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
13035 (PARMS): Do not use macros from bp-asm.h.
13038 (__mpn_submul_1): Do not use BP_SYM.
13039 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
13041 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
13043 (PARMS): Do not use macros from bp-asm.h.
13048 (__clone): Do not use BP_SYM.
13049 (clone): Do not use BP_SYM in weak_alias.
13050 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
13052 (PARMS): Do not use macros from bp-asm.h.
13054 (__mmap64): Do not use BP_SYM.
13055 (mmap64): Do not use BP_SYM in weak_alias.
13056 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13057 <bp-sym.h> and <bp-asm.h>.
13058 (PARMS): Do not use macros from bp-asm.h.
13059 (__posix_fadvise64_l64): Do not use BP_SYM.
13060 * sysdeps/unix/sysv/linux/i386/semtimedop.S
13061 (PARMS): Do not use macros from bp-asm.h.
13063 (semtimedop): Do not use BP_SYM.
13064 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
13067 2013-02-21 Allan McRae <allan@archlinux.org>
13069 * manual/message.texi (Charset conversion in gettext):
13070 Move @end statement to beginning of line.
13072 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13074 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
13076 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13079 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
13080 (denorm): Likewise.
13081 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
13082 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
13084 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13086 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
13087 tail-call to the resolved function if pltexit isn't needed.
13089 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13091 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
13092 or Y being zero as being unlikely.
13093 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
13096 2013-02-20 Carlos O'Donell <carlos@redhat.com>
13098 * manual/nss.texi (System Databases and Name Service Switch):
13099 Remove frobnicate @pxref.
13101 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
13103 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13104 __attribute__ ((unused)) to __attribute__ ((__unused__)).
13106 2013-02-20 Petr Machata <pmachata@redhat.com>
13108 * elf/elf.h (R_ARM_TARGET1): New macro.
13109 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
13110 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
13111 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
13112 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
13113 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
13114 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
13115 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
13116 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
13117 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
13118 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
13119 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
13120 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
13121 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
13122 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
13123 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
13124 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
13125 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
13126 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
13127 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
13128 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
13129 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
13130 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
13131 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
13132 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
13133 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
13134 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
13135 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
13136 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
13137 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
13138 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
13139 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
13140 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
13141 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
13142 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
13143 (R_ARM_THM_GOT_BREL12): Likewise.
13144 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
13145 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
13146 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
13147 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
13148 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
13149 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
13150 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
13151 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
13152 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
13154 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
13156 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13157 __attribute_used__ to __attribute__ ((unused)).
13159 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13161 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
13163 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
13164 comment formatting.
13165 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
13167 2013-02-19 Joseph Myers <joseph@codesourcery.com>
13170 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
13172 (ENTER): Remove both macro definitions.
13174 (CHECK_BOUNDS_LOW): Likewise.
13175 (CHECK_BOUNDS_HIGH): Likewise.
13176 (CHECK_BOUNDS_BOTH): Likewise.
13177 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
13178 (RETURN_BOUNDED_POINTER): Likewise.
13179 (RETURN_NULL_BOUNDED_POINTER): Likewise.
13180 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
13181 (POP_ERRNO_LOCATION_RETURN): Likewise.
13182 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
13183 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13184 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
13186 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13187 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
13188 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
13189 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
13190 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
13191 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
13192 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
13193 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
13194 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
13195 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
13196 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
13197 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
13198 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13199 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
13201 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13202 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
13204 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13205 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
13206 * sysdeps/i386/i586/memset.S (memset): Likewise.
13207 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
13208 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13209 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
13211 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13212 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
13213 Change uses of L(2) to L(out).
13214 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
13215 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
13216 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
13217 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13218 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
13220 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13221 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
13223 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13224 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
13225 (RETURN): Do not use macro LEAVE.
13226 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
13227 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
13228 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
13229 * sysdeps/i386/i686/memset.S (memset): Likewise.
13230 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
13231 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
13232 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13233 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
13235 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13236 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
13237 L(1_2) and L(1_3) into L(1).
13238 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13239 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
13240 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13241 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
13242 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13243 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
13244 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
13245 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13246 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
13248 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
13249 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13250 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
13251 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
13252 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
13253 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13254 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
13255 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
13256 * sysdeps/i386/strcspn.S (strcspn): Likewise.
13257 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
13258 * sysdeps/i386/strrchr.S (strrchr): Likewise.
13259 * sysdeps/i386/strspn.S (strspn): Likewise.
13260 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
13262 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13263 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
13264 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13265 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
13266 L(1_3) into L(1_1).
13267 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
13268 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13269 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
13271 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13273 2013-02-19 Jakub Jelinek <jakub@redhat.com>
13275 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
13278 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13280 * math/atest-exp.c (exp_mpn): Remove ROUND.
13281 * math/atest-exp2.c (exp_mpn): Likewise.
13282 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
13284 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
13285 * stdlib/tst-tls-atexit-lib.c: Likewise.
13286 * stdlib/tst-tls-atexit.c: Likewise.
13288 2013-02-18 Mike Frysinger <vapier@gentoo.org>
13290 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
13291 and __attribute_alloc_size__.
13293 2013-02-18 Mike Frysinger <vapier@gentoo.org>
13295 * include/programs/xmalloc.h: Change __attribute_alloc_size to
13296 __attribute_alloc_size__.
13297 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
13298 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
13300 2013-02-18 Mike Frysinger <vapier@gentoo.org>
13302 * include/programs/xmalloc.h: New file.
13303 * catgets/gencat.c: Include it.
13304 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
13305 * elf/pldd.c: Likewise.
13306 * iconv/iconv_charmap.c: Likewise.
13307 * iconv/iconvconfig.c: Likewise.
13308 * iconv/strtab.c: Likewise.
13309 * locale/programs/locale.c: Likewise.
13310 * locale/programs/localedef.h: Likewise.
13311 * locale/programs/simple-hash.c: Likewise.
13312 * nscd/nscd.h: Likewise.
13313 * nss/makedb.c: Likewise.
13314 * sysdeps/generic/ldconfig.h: Likewise.
13316 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13318 * Versions.def: Add GLIBC_2.18.
13319 * include/link.h (struct link_map): New member l_tls_dtor_count.
13320 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
13321 (__call_tls_dtors): Likewise.
13322 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
13323 __cxa_thread_atexit_impl.
13324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13328 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13330 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13332 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13333 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
13335 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
13337 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13338 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13340 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
13341 (tests): Add test case tst-tls-atexit.
13342 (modules-names): Add shared library for tst-tls-atexit.
13343 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
13344 (GLIBC_PRIVATE): Add __call_tls_dtors.
13345 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
13347 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
13348 * stdlib/tst-tls-atexit.c: New test case.
13349 * stdlib/tst-tls-atexit-lib.c: New test case.
13351 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
13353 * elf/Versions (ld): Add _dl_find_dso_for_object.
13354 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
13355 * elf/dl-open.c (_dl_find_dso_for_object): New function.
13356 (dl_open_worker): Use _dl_find_dso_for_object.
13357 * elf/dl-sym.c (do_sym): Likewise.
13358 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
13360 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13362 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
13363 Syntactic changes only.
13364 (_dl_runtime_profile): Do a tail-call to the resolved function.
13366 2013-02-17 Joseph Myers <joseph@codesourcery.com>
13369 * sysdeps/x86_64/bp-asm.h: Remove file.
13370 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
13371 <bp-sym.h> and <bp-asm.h>.
13372 (__clone): Do not use BP_SYM.
13373 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
13374 <bp-sym.h> and <bp-asm.h>.
13375 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13376 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
13378 (_setjmp): Do not use BP_SYM.
13379 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
13381 (setjmp): Do not use BP_SYM.
13382 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
13384 (mempcpy): Do not use BP_SYM in weak_alias.
13385 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
13387 (strchr): Do not use BP_SYM.
13388 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
13390 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
13391 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
13392 (_start): Do not use BP_SYM.
13393 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
13395 (strcat): Do not use BP_SYM.
13396 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
13398 (STRCMP): Do not use BP_SYM.
13399 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
13401 (STRCPY): Do not use BP_SYM.
13402 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
13404 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
13406 (FUNCTION): Do not use BP_SYM.
13407 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
13409 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
13411 2013-02-17 Andreas Jaeger <aj@suse.de>
13413 * time/Versions: Sort entries.
13414 * string/Versions: Likewise.
13415 * resolv/Versions: Likewise.
13416 * posix/Versions: Likewise.
13417 * iconv/Versions: Likewise.
13418 * elf/Versions: Likewise.
13419 * wcsmbs/Versions: Likewise.
13421 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13423 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
13424 loop termination condition.
13426 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
13427 variable to calculate EZ.
13430 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
13431 the lower precision input.
13433 2013-02-15 Joseph Myers <joseph@codesourcery.com>
13436 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
13437 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
13438 (run-via-rtld-prefix): Do not handle %-bp tests.
13439 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
13440 (all-object-suffixes): Remove .ob.
13441 (bppfx): Remove variable.
13442 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
13443 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
13444 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
13445 [$(build-bounded) = yes] (libtype.ob): Likewise.
13446 * Makerules (elide-routines.ob): Remove variable.
13447 (do-tests-clean): Do not handle *-bp.out.
13448 (common-mostlyclean): Do not handle *-bp and *-bp.out.
13449 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
13450 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
13451 (tests): Do not include $(tests-bp.out).
13452 (xtests): Do not include $(xtests-bp.out).
13453 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
13454 [$(build-bounded) = yes] ($(addprefix
13455 $(objpfx),$(binaries-bounded))): Remove rule.
13456 ($(objpfx)%-bp.out): Remove rule.
13457 * config.make.in (build-bounded): Remove variable.
13458 * crypt/Makefile [$(build-bounded) = yes]
13459 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
13460 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
13461 append to variable.
13462 [$(build-bounded) = yes] (install-lib): Likewise.
13463 [$(build-bounded) = yes] (generated): Likewise.
13464 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
13466 * intl/Makefile [$(build-bounded) = yes]
13467 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
13468 * math/Makefile [$(build-bounded) = yes]
13469 ($(tests:%=$(objpfx)%-bp): Likewise.
13470 * misc/Makefile [$(build-bounded) = yes]
13471 ($(objpfx)tst-tsearch-bp): Likewise.
13472 * nptl/Makeconfig (bounded-thread-library): Remove variable.
13473 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
13475 * string/Makefile (o-objects.ob): Remove variable.
13476 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
13477 (CFLAGS-.ob): Remove variable.
13478 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
13479 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
13480 both definitions of variable.
13481 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
13482 (ASFLAGS-.ob): Remove variable.
13484 2013-02-14 Joseph Myers <joseph@codesourcery.com>
13487 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
13488 Remove __BOUNDED_POINTERS__ from condition.
13489 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
13490 * string/bits/string2.h [!__NO_STRING_INLINES &&
13491 !__BOUNDED_POINTERS__]: Likewise.
13492 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
13494 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
13495 Remove conditional code.
13496 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
13497 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
13498 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
13502 * csu/libc-start.c: Do not include <bp-sym.h>.
13503 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
13504 * elf/dl-open.c: Do not include <bp-sym.h>.
13505 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
13506 * math/fegetenv.c: Do not include <bp-sym.h>.
13507 (fegetenv): Do not use BP_SYM in versioned symbols.
13508 * nptl/sysdeps/pthread/bits/libc-lockP.h
13509 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
13511 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13512 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
13513 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13514 (__pthread_mutex_destroy): Likewise.
13515 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13516 (__pthread_mutex_lock): Likewise.
13517 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13518 (__pthread_mutex_trylock): Likewise.
13519 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13520 (__pthread_mutex_unlock): Likewise.
13521 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13522 (__pthread_mutexattr_init): Likewise.
13523 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13524 (__pthread_mutexattr_destroy): Likewise.
13525 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13526 (__pthread_mutexattr_settype): Likewise.
13527 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13528 (__pthread_rwlock_init): Likewise.
13529 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13530 (__pthread_rwlock_destroy): Likewise.
13531 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13532 (__pthread_rwlock_rdlock): Likewise.
13533 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13534 (__pthread_rwlock_tryrdlock): Likewise.
13535 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13536 (__pthread_rwlock_wrlock): Likewise.
13537 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13538 (__pthread_rwlock_trywrlock): Likewise.
13539 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13540 (__pthread_rwlock_unlock): Likewise.
13541 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13542 (__pthread_key_create): Likewise.
13543 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13544 (__pthread_setspecific): Likewise.
13545 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13546 (__pthread_getspecific): Likewise.
13547 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
13549 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13550 (_pthread_cleanup_push_defer): Likewise.
13551 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13552 (_pthread_cleanup_pop_restore): Likewise.
13553 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13554 (pthread_setcancelstate): Likewise.
13555 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
13557 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
13558 (memchr): Do not use BP_SYM in weak_alias.
13559 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
13560 (fegetenv): Do not use BP_SYM in versioned symbols.
13561 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
13562 (fesetenv): Do not use BP_SYM in versioned symbols.
13563 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13564 (feupdateenv): Do not use BP_SYM in versioned symbols.
13565 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13566 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13567 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
13568 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
13569 (open64): Do not use BP_SYM in weak_alias.
13570 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
13571 (fegetenv): Do not use BP_SYM in versioned symbols.
13572 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
13573 (fesetenv): Do not use BP_SYM in versioned symbols.
13574 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13575 (feupdateenv): Do not use BP_SYM in versioned symbols.
13576 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
13577 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
13578 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
13579 (feraiseexcept): Do not use BP_SYM in versioned symbols.
13580 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13581 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13582 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
13584 (__libc_start_main): Do not use BP_SYM.
13586 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13588 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
13589 redundant return line.
13591 (denorm): Likewise.
13592 (dbl_mp): Likewise.
13593 (sub_magnitudes): Likewise.
13599 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
13601 (denorm): Likewise.
13602 (dbl_mp): Likewise.
13603 (sub_magnitudes): Likewise.
13610 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
13612 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13613 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
13616 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
13617 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
13618 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
13619 of __mul for squares.
13620 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
13622 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
13624 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
13625 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13627 2013-02-13 Joseph Myers <joseph@codesourcery.com>
13630 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
13632 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
13633 prototype or function definition. Rename ubp_* variables and
13634 parameters. Remove argv definitions conditional on
13635 [__BOUNDED_POINTERS__].
13636 * debug/backtrace.c (__backtrace): Do not use __unbounded.
13637 * elf/dl-runtime.c (_dl_fixup): Likewise.
13638 * include/set-hooks.h (RUN_HOOK): Likewise.
13639 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
13641 * string/strcpy.c (strcpy): Do not use __unbounded.
13642 * sysdeps/generic/frame.h (struct layout): Likewise.
13643 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
13644 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
13645 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
13646 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
13647 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
13648 (__backtrace): Likewise.
13649 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
13651 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13652 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13653 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13655 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
13656 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
13657 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13658 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13659 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
13660 Do not use __unbounded.
13661 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
13662 Rename __unboundedrlimits parameter to rlimits in prototype.
13663 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
13664 Do not use __unbounded.
13665 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
13666 not use __ptrvalue.
13667 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13668 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
13669 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13670 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
13671 __ptrvalue or __unbounded.
13672 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
13673 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
13675 (__new_msgctl): Do not use __ptrvalue.
13676 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
13678 (__libc_msgrcv): Do not use __ptrvalue.
13679 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
13680 startup_info): Do not use __unbounded.
13681 (__libc_start_main): Likewise. Rename ubp_* variables and
13682 parameters. Remove argv definitions conditional on
13683 [__BOUNDED_POINTERS__].
13684 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
13686 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
13688 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
13690 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
13692 (__new_shmctl): Do not use __ptrvalue.
13693 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13694 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13696 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13697 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
13698 (__libc_sigaction): Likewise.
13699 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
13700 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
13702 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13704 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
13706 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
13708 * string/mempcpy.c: Implement by calling memcpy.
13710 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13712 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
13714 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
13717 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
13718 values in the mantissa.
13720 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
13721 minimize writes to Z.
13722 (sub_magnitudes): Simplify code a bit.
13724 2013-02-12 Roland McGrath <roland@hack.frob.com>
13726 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
13727 from the message. The linker prefixes all warnings with that already.
13729 2013-02-12 Andreas Schwab <schwab@suse.de>
13732 * posix/regexec.c (extend_buffers): Add parameter min_len.
13733 (check_matching): Pass minimum needed length.
13734 (clean_state_log_if_needed): Likewise.
13735 (get_subexp): Likewise.
13736 * posix/Makefile (tests): Add bug-regex34.
13737 (bug-regex34-ENV): Define.
13738 * posix/bug-regex34.c: New file.
13741 * posix/regcomp.c (parse_bracket_exp): When looking up collating
13742 elements compare against the byte sequence of it, not its name.
13743 * posix/Makefile (tests): Add bug-regex35.
13744 (bug-regex35-ENV): Define.
13745 * posix/bug-regex35.c: New file.
13747 2013-02-11 Tom de Vries <tom@codesourcery.com>
13749 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
13751 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
13752 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
13753 (CHECK_EOL): Add undef.
13755 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
13757 * bits/stdlib-bsearch.h: New file.
13758 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
13759 * stdlib/stdlib.h: Likewise.
13761 2013-02-11 Roland McGrath <roland@hack.frob.com>
13763 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
13764 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
13766 * manual/search.texi (Array Search Function): Add missing const in
13768 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13769 declaration to use rlim_t.
13770 (Basic Scheduling Functions): Remove erroneous const from
13771 sched_getparam prototype. Remove erroneous * from
13772 sched_get_priority_max and sched_get_priority_min prototypes.
13773 (Resource Usage): Fix summary @comment on vtimes to refer to
13774 sys/vtimes.h rather than vtimes.h.
13775 Add missing *s in vtimes prototype.
13776 (Limits on Resources): Fix ulimit prototype to return long int.
13777 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13778 prototypes to use long int rather than double.
13779 (BSD Random): Fix initstate and setstate to use char *, not void *.
13780 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13781 prototype to make second argument 'struct aiocb64 *const[]'.
13782 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13783 (Status of AIO Operations): Remove erroneous const in aio_return and
13784 aio_return64 prototypes.
13785 (Synchronizing I/O): Fix sync prototype to return void.
13786 * manual/startup.texi (Suboptions): Remove an erroneous const in
13787 getsubopt prototype.
13788 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13789 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13790 use size_t rather than int.
13791 (Scanning All Users): Likewise for getpwent_r.
13792 (Setting Groups): Add missing const to setgroups prototype.
13793 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13794 * manual/socket.texi (Host Names): Fix gethostbyaddr and
13795 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13796 'const void *' rather than 'const char *'.
13797 (Host Address Functions): Likewise for inet_ntop.
13798 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13799 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13800 ssize_t for return value.
13801 (Sending Data): Likewise for send, sendto, sendmsg.
13802 (Socket Option Functions): Add a missing const in setsockopt prototype.
13803 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13804 use wchar_t for the argument.
13805 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13806 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13808 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13809 double/float/long double for second argument.
13810 Fix return types of significand, significandf, significandl.
13811 * manual/filesys.texi (Setting Permissions): Use mode_t for second
13812 argument in fchmod prototype.
13813 (File Owner): Use uid_t and gid_t in fchown prototype.
13814 (File Times): Add const to utimes, futimes, and lutimes prototypes.
13815 (Making Special Files): Use mode_t and dev_t in mknod prototype.
13816 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13817 use 'const struct dirent **' as argument types to CMP function pointer
13819 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13820 (File Times): Fix summary magic @comment for struct utimbuf and utime
13821 to refer to utime.h, not time.h.
13822 * manual/string.texi (Argz Functions): Add missing const in
13823 argz_extract and argz_next prototypes.
13824 (Finding Tokens in a String): Likewise for basename.
13825 (String/Array Comparison): Fix typo in wcscasecmp prototype.
13826 (Copying and Concatenation): Fix typo in wmemmove prototype.
13827 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13828 (Signal Stack): Remove erroneous const in sigstack prototype.
13829 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13831 (Simple Calendar Time): Likewise for stime.
13832 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13834 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13835 say sys/sysctl.h instead.
13836 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13837 and vsyslog prototypes.
13839 2013-02-11 Tom de Vries <tom@codesourcery.com>
13841 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13844 2013-02-11 Roland McGrath <roland@hack.frob.com>
13846 * misc/sys/mman.h: Fix typo in mremap comment.
13848 2013-02-08 Roland McGrath <roland@hack.frob.com>
13850 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13851 the '\0' terminator.
13853 2013-02-08 Joseph Myers <joseph@codesourcery.com>
13856 * debug/segfault.c: Don't include <bp-checks.h>.
13857 * sysdeps/generic/bp-checks.h: Remove file.
13858 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13859 (__GETDENTS): Don't use CHECK_N.
13860 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13861 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13862 (__getgroups): Don't use CHECK_N.
13863 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13864 (setgroups): Don't use CHECK_N.
13865 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13866 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13867 (__libc_msgrcv): Don't use CHECK_N.
13868 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13869 (__libc_msgsnd): Don't use CHECK_N.
13870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13872 (__libc_pread): Don't use CHECK_N.
13873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13874 include <bp-checks.h>.
13875 (__libc_pread64): Don't use CHECK_N.
13876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13877 include <bp-checks.h>.
13878 (__libc_pwrite): Don't use CHECK_N.
13879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13880 include <bp-checks.h>.
13881 (__libc_pwrite64): Don't use CHECK_N.
13882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13884 (__libc_pread): Don't use CHECK_N.
13885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13886 include <bp-checks.h>.
13887 (__libc_pread64): Don't use CHECK_N.
13888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13889 include <bp-checks.h>.
13890 (__libc_pwrite): Don't use CHECK_N.
13891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13892 include <bp-checks.h>.
13893 (__libc_pwrite64): Don't use CHECK_N.
13894 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13895 (do_pread): Don't use CHECK_N.
13896 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13897 (do_pread64): Don't use CHECK_N.
13898 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13899 (do_pwrite): Don't use CHECK_N.
13900 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13901 (do_pwrite64): Don't use CHECK_N.
13902 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13903 (__libc_readv): Don't use CHECK_N.
13904 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13905 (semop): Don't use CHECK_N.
13906 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13908 (semtimedop): Don't use CHECK_N.
13909 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13910 (__libc_pread): Don't use CHECK_N.
13911 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13913 (__libc_pread64): Don't use CHECK_N.
13914 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13916 (__libc_pwrite): Don't use CHECK_N.
13917 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13919 (__libc_pwrite64): Don't use CHECK_N.
13920 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13922 (__libc_msgrcv): Don't use CHECK_N.
13923 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13924 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
13925 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13926 (__libc_writev): Don't use CHECK_N.
13928 2013-02-08 Roland McGrath <roland@hack.frob.com>
13930 * string/strcpy.c: Removed unused variable.
13932 * Makeconfig (+sysdep-includes): Define with := rather than =.
13933 Use an existing include/ subdir of each sysdeps dir before it.
13935 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13937 * nscd/connection.c (register_traced_file): Comment function.
13938 [HAVE_INOTIFY] (union __inev): Define.
13939 [HAVE_INOTIFY] (inotify_check_files): New function.
13940 [HAVE_INOTIFY] (clear_db_cache): Likewise.
13941 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13943 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13945 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13947 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13948 loaded if not already and that a failure is permanent.
13950 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13953 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13954 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13956 2013-02-08 Joseph Myers <joseph@codesourcery.com>
13959 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13960 (CHECK_1_NULL_OK): Likewise.
13961 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13962 (__fxstat): Do not use CHECK_1.
13963 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13965 (___fxstat64): Do not use CHECK_1.
13966 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13968 (__fxstatat): Do not use CHECK_1.
13969 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13971 (__fxstatat64): Do not use CHECK_1.
13972 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13974 (__fxstat): Do not use CHECK_1.
13975 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13977 (__fxstatat): Do not use CHECK_1.
13978 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13980 (__getresgid): Do not use CHECK_1.
13981 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13983 (__getresuid): Do not use CHECK_1.
13984 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13986 (__lxstat): Do not use CHECK_1.
13987 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13989 (__old_msgctl): Do not use CHECK_1.
13990 (__new_msgctl): Likewise.
13991 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13993 (__new_setrlimit): Do not use CHECK_1.
13994 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13996 (__old_shmctl): Do not use CHECK_1.
13997 (__new_shmctl): Likewise.
13998 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
14000 (__xstat): Do not use CHECK_1.
14001 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
14002 (__lxstat): Do not use CHECK_1.
14003 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
14005 (___lxstat64): Do not use CHECK_1.
14006 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
14007 (__old_msgctl): Do not use CHECK_1.
14008 (__new_msgctl): Likewise.
14009 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
14011 (__gettimeofday): Do not use CHECK_1.
14012 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
14013 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
14014 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
14016 (__gettimeofday): Do not use CHECK_1.
14017 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
14018 (__old_shmctl): Do not use CHECK_1_NULL_OK.
14019 (__new_shmctl): Do not use CHECK_1.
14020 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
14022 (do_sigtimedwait): Do not use CHECK_1.
14023 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
14025 (do_sigwaitinfo): Do not use CHECK_1.
14026 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
14028 (msgctl): Do not use CHECK_1.
14029 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
14031 (shmctl): Do not use CHECK_1.
14032 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
14033 (ustat): Do not use CHECK_1.
14034 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
14036 (__fxstat): Do not use CHECK_1.
14037 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
14039 (__fxstatat): Do not use CHECK_1.
14040 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
14042 (__lxstat): Do not use CHECK_1.
14043 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
14045 (__xstat): Do not use CHECK_1.
14046 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
14047 (__xstat): Do not use CHECK_1.
14048 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
14049 (___xstat64): Do not use CHECK_1.
14052 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
14054 (CHECK_BOUNDS_HIGH): Likewise.
14055 * string/strcpy.c: Do not include <bp-checks.h>.
14056 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
14058 2013-02-07 Roland McGrath <roland@hack.frob.com>
14060 * nscd/nscd-client.h (__nscd_drop_map_ref):
14061 Add __attribute__ ((unused)).
14062 * nis/nss-nisplus.h (niserr2nss): Likewise.
14064 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
14065 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
14067 * csu/libc-tls.c (init_static_tls, init_slotinfo):
14068 Remove inline keyword.
14069 * include/rounding-mode.h (round_away): Likewise.
14070 * libio/wfileops.c (adjust_wide_data): Likewise.
14071 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
14072 (__m128i_strloadu_tolower): Likewise.
14073 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
14074 (__m128i_strloadu_tolower): Likewise.
14075 * time/mktime.c (ydhms_diff): Likewise.
14076 * locale/elem-hash.h (elem_hash): Likewise.
14077 * locale/setlocale.c (setdata): Likewise.
14078 * posix/regex_internal.h (re_string_char_size_at): Likewise.
14079 (re_string_wchar_at): Likewise.
14080 (bitset_not, bitset_merge, bitset_mask): Likewise.
14081 [!(__GNUC__ > 3)] (inline): Remove macro.
14082 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
14083 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
14084 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
14085 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
14086 * string/memcmp.c (memcmp_bytes): Likewise.
14087 * locale/programs/locarchive.c (compute_hashval): Likewise.
14088 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
14089 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
14090 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
14091 * nss/getent.c (print_rpc, print_protocols): Likewise.
14092 (print_passwd, print_group, print_aliases): Likewise.
14093 * nis/nss-nisplus.h (niserr2nss): Likewise.
14094 * nscd/connections.c (restart_p): Likewise.
14095 Change return type to bool.
14097 2013-02-05 Roland McGrath <roland@hack.frob.com>
14099 * Makeconfig (all-Depend-files): Add existing
14100 $(sorted-subdirs:=/Depend) files.
14101 (all-subdirs): Remove nss.
14102 * sysdeps/unix/inet/Subdirs: Add it here instead.
14103 * hesiod/Depend: New file.
14105 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
14106 instead of calling alloca.
14108 * io/lseek.c (__lseek): Rename to __libc_lseek.
14109 Define __lseek as an alias.
14111 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
14113 2013-02-04 Carlos O'Donell <carlos@redhat.com>
14115 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
14116 else clause and remove check for non-standard endianness.
14118 2013-02-04 David S. Miller <davem@davemloft.net>
14120 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14122 2013-02-04 Joseph Myers <joseph@codesourcery.com>
14125 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
14126 (__ubp_memchr): Remove prototype.
14127 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
14128 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14129 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
14130 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14131 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
14133 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
14134 (__ubp_memchr): Likewise.
14135 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
14136 (__ubp_memchr): Likewise.
14137 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
14138 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
14139 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
14140 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
14142 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14143 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
14144 (__getcwd): Do not use CHECK_STRING.
14145 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
14147 (__real_chown): Do not use CHECK_STRING.
14148 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
14150 (fchownat): Do not use CHECK_STRING.
14151 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
14153 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
14155 (__lchown): Do not use CHECK_STRING.
14156 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14157 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14158 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14159 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
14161 include <bp-checks.h>.
14162 (truncate64): Do not use CHECK_STRING.
14163 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
14165 (__real_chown): Do not use CHECK_STRING.
14166 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
14168 (__lchown): Do not use CHECK_STRING.
14169 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
14171 (__chown): Do not use CHECK_STRING.
14172 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
14174 (truncate64): Do not use CHECK_STRING.
14175 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
14177 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
14178 (__xmknod): Do not use CHECK_STRING.
14179 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
14181 (__xmknodat): Do not use CHECK_STRING.
14182 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14183 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
14185 2013-02-04 Andreas Schwab <schwab@suse.de>
14188 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
14189 * include/netdb.h: Likewise for h_errno.
14190 * elf/tst-stackguard1.c: Include <tls.h>.
14192 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14194 * elf/link.h (struct link_map): Extend the l_addr comment.
14195 * include/link.h (struct link_map): Likewise.
14197 2013-02-01 Joseph Myers <joseph@codesourcery.com>
14200 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
14201 (BOUNDED_1): Remove macro.
14202 * debug/backtrace.c: Don't include <bp-checks.h>.
14203 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
14204 (__backtrace): Likewise.
14205 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
14207 (__backtrace): Don't use BOUNDED_1.
14208 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
14210 (__backtrace): Don't use BOUNDED_1.
14211 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
14212 (__backtrace): Don't use BOUNDED_1.
14213 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
14214 (shmat): Don't use BOUNDED_N.
14216 2013-01-31 Joseph Myers <joseph@codesourcery.com>
14219 * sysdeps/generic/bp-start.h: Remove file.
14220 * csu/libc-start.c: Don't include <bp-start.h>.
14221 (LIBC_START_MAIN): Set up __environ directly instead of using
14222 INIT_ARGV_and_ENVIRON.
14223 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
14227 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
14229 (CHECK_FCNTL): Likewise.
14230 (CHECK_N_PAGES): Likewise.
14233 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
14235 (CHECK_SIGSET_NULL_OK): Likewise.
14236 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
14238 (sigpending): Don't use CHECK_SIGSET.
14239 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
14241 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14242 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
14244 (do_sigsuspend): Don't use CHECK_SIGSET.
14245 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
14247 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
14248 (do_sigwait): Don't use CHECK_SIGSET.
14249 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
14251 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
14252 include <bp-checks.h>.
14253 (sigpending): Don't use CHECK_SIGSET.
14254 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
14255 include <bp-checks.h>.
14256 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14257 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
14259 (sigpending): Don't use CHECK_SIGSET.
14260 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
14262 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14265 * sysdeps/generic/bp-semctl.h: Remove file.
14266 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
14267 <bp-checks.h> and <bp-semctl.h>.
14268 (__old_semctl): Don't use CHECK_SEMCTL.
14269 (__new_semctl): Likewise.
14270 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
14272 (__old_semctl): Don't use CHECK_SEMCTL.
14273 (__new_semctl): Likewise.
14274 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
14275 <bp-checks.h> and <bp-semctl.h>.
14276 (__old_semctl): Don't use CHECK_SEMCTL.
14277 (__new_semctl): Likewise.
14278 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
14279 <bp-checks.h> and <bp-semctl.h>.
14280 (semctl): Don't use CHECK_SEMCTL.
14283 * Makerules (elide-bp-thunks): Remove variable.
14284 (elide-routines.oS): Don't use $(elide-bp-thunks).
14285 (elide-routines.os): Likewise.
14286 (elide-routines.o): Likewise.
14287 (elide-routines.op): Likewise.
14288 (elide-routines.og): Likewise.
14289 (objects): Don't use $(bp-thunks).
14290 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
14292 (common-generated): Do not add s-proto-bp.d.
14293 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
14296 Do not generate makefile rules for bounded-pointer thunks.
14297 * sysdeps/generic/bp-thunks.h: Remove file.
14298 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
14299 * sysdeps/unix/s-proto-bp.S: Likewise.
14302 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
14303 parts of result separately when argument is not close to line from
14304 -i to i and one part of argument is small.
14305 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14306 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14307 * math/libm-test.inc (cacos_test): Add more tests.
14308 (casin_test): Likewise.
14309 (casinh_test): Likewise.
14310 * sysdeps/i386/fpu/libm-test-ulps: Update.
14311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14313 2013-01-31 David S. Miller <davem@davemloft.net>
14315 * po/de.po: Update from translation team.
14317 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
14319 * time/tzfile.c: Include stdint.h for SIZE_MAX.
14321 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
14323 * configure.in (_AC_PROG_CC_C89): New definition.
14324 * configure: Regenerate.
14326 * configure.in (AC_PROG_CPP): New definition.
14327 * configure: Regenerate.
14329 2013-01-23 Joseph Myers <joseph@codesourcery.com>
14331 * debug/tst-backtrace.h: New file.
14332 * debug/tst-backtrace2.c: Include tst-backtrace.h.
14333 (ret): Remove variable.
14335 (FAIL): Remove macro.
14336 (NO_INLINE): Likewise.
14337 (fn1): Use match function instead of strstr.
14338 * debug/tst-backtrace3.c: Include tst-backtrace.h.
14339 (ret): Remove variable.
14341 (FAIL): Remove macro.
14342 (NO_INLINE): Likewise.
14343 (fn): Use match function instead of strstr.
14344 * debug/tst-backtrace4.c: Include tst-backtrace.h.
14345 (ret): Remove variable.
14347 (FAIL): Remove macro.
14348 (NO_INLINE): Likewise.
14349 (handle_signal): Use match function instead of strstr.
14350 * debug/tst-backtrace5.c: Include tst-backtrace.h.
14351 (ret): Remove variable.
14353 (FAIL): Remove macro.
14354 (NO_INLINE): Likewise.
14355 (handle_signal): Use match function instead of strstr.
14357 2013-01-23 Roland McGrath <roland@hack.frob.com>
14359 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
14361 2013-01-23 David S. Miller <davem@davemloft.net>
14363 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
14364 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
14365 argument of CAS if possible.
14366 * sysdeps/sparc/sparc64/bits/atomic.h
14367 (__arch_compare_and_exchange_val_32_acq): Likewise.
14368 (__arch_compare_and_exchange_val_64_acq): Likewise.
14370 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
14372 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
14373 * sysdeps/posix/ulimit.c: ... this.
14374 Include <limits.h>.
14375 * sysdeps/unix/bsd/ulimit.c: Remove file.
14377 2013-01-23 Adam Conrad <adconrad@0c3.net>
14379 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
14380 (LDFLAGS-tst-array5): Likewise.
14382 2013-01-23 Joseph Myers <joseph@codesourcery.com>
14385 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
14386 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
14387 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
14388 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
14390 2013-01-21 David S. Miller <davem@davemloft.net>
14392 * sysdeps/sparc/backtrace.c: New file.
14393 * sysdeps/sparc/sparc32/backtrace.h: New file.
14394 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
14395 * sysdeps/sparc/sparc64/backtrace.h: New file.
14396 * sysdeps/sparc/sparc64/backtrace.c: Delete.
14397 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
14400 2013-01-21 Andreas Schwab <schwab@suse.de>
14403 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
14406 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
14408 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
14410 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14412 2013-01-18 Joseph Myers <joseph@codesourcery.com>
14413 Mark Mitchell <mark@codesourcery.com>
14414 Tom de Vries <tom@codesourcery.com>
14415 Paul Pluzhnikov <ppluzhnikov@google.com>
14417 * debug/tst-backtrace2.c: New file.
14418 * debug/tst-backtrace3.c: Likewise.
14419 * debug/tst-backtrace4.c: Likewise.
14420 * debug/tst-backtrace5.c: Likewise.
14421 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
14422 (CFLAGS-tst-backtrace3.c): Likewise.
14423 (CFLAGS-tst-backtrace4.c): Likewise.
14424 (CFLAGS-tst-backtrace5.c): Likewise.
14425 (LDFLAGS-tst-backtrace2): Likewise.
14426 (LDFLAGS-tst-backtrace3): Likewise.
14427 (LDFLAGS-tst-backtrace4): Likewise.
14428 (LDFLAGS-tst-backtrace5): Likewise.
14429 (tests): Add new tests tst-backtrace2, tst-backtrace3,
14430 tst-backtrace4 and tst-backtrace5.
14432 2013-01-18 Anton Blanchard <anton@samba.org>
14433 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14435 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
14436 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
14437 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
14438 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
14439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14440 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
14441 "+r" and remove output regs list as redundant. Add explicit inline
14442 asm to specify register of return val to work around compiler codegen
14443 bug. Remove (int) cast on return value. Add return type parameter to
14444 use in macro so that this macro does not truncate return value for
14446 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
14447 pass to INTERNAL_VSYSCALL_NCS.
14448 (INLINE_VSYSCALL): Add 'long int' as return type to
14449 INTERNAL_VSYSCALL_NCS macro invocation.
14450 (INTERNAL_VSYSCALL): Add 'long int' as return type to
14451 INTERNAL_VSYSCALL_NCS macro invocation.
14452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14454 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14457 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
14458 Fix application of SIMD FP exception mask.
14460 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
14461 mp_no from a power of two.
14462 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
14463 __mpexp_twomm1. Use __pow_mp.
14465 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
14468 2013-01-17 David S. Miller <davem@davemloft.net>
14470 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14472 2013-01-17 Joseph Myers <joseph@codesourcery.com>
14475 * include/complex.h: Condition contents on [!_COMPLEX_H].
14476 (__kernel_casinhf): New prototype.
14477 (__kernel_casinh): Likewise.
14478 (__kernel_casinhl): Likewise.
14479 * math/Makefile (libm_calls): Add k_casinh.
14480 * math/k_casinh.c: New file.
14481 * math/k_casinhf.c: Likewise.
14482 * math/k_casinhl.c: Likewise.
14483 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
14484 finite nonzero arguments.
14485 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
14486 finite nonzero arguments.
14487 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
14488 finite nonzero arguments.
14489 * math/s_casinh.c: Do not include <float.h>.
14490 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
14491 * math/s_casinhf.c: Do not include <float.h>.
14492 (__casinhf): Move code for finite nonzero arguments to
14494 * math/s_casinhl.c: Do not include <float.h>.
14495 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
14497 (__casinhl): Move code for finite nonzero arguments to
14499 * math/libm-test.inc (cacos_test): Add more tests.
14500 * sysdeps/i386/fpu/libm-test-ulps: Update.
14501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14503 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
14505 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
14506 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
14507 [!HAVE_MREMAP]: Remove [defined linux] case.
14508 * malloc/arena.c: Do not include <malloc-sysdep.h>.
14510 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14512 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
14514 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
14516 * elf/elf.h (R_386_SIZE32): New relocation.
14517 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
14519 (elf_machine_rela): Likewise.
14520 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14521 R_X86_64_SIZE64 and R_X86_64_SIZE32.
14523 2013-01-17 Joseph Myers <joseph@codesourcery.com>
14525 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
14526 (FP_FAST_FMA): Do not define.
14527 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
14528 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
14529 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
14530 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
14531 !_SOFT_FLOAT]: Likewise.
14532 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
14533 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
14535 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
14536 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
14537 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
14538 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
14539 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
14540 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
14543 2013-01-16 Andreas Schwab <schwab@suse.de>
14546 * include/stdlib.h (__mktemp): Add declaration.
14547 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
14548 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
14550 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14552 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
14554 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14555 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
14556 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
14558 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
14559 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
14561 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
14563 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
14564 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
14565 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
14567 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
14568 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
14570 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14572 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
14574 2013-01-15 David S. Miller <davem@davemloft.net>
14576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14577 trunc{,f} to libm-sysdep_routes.
14578 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
14581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
14582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
14584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
14586 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
14587 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
14588 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
14589 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
14590 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
14591 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
14592 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
14593 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
14595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14596 nearbyint{,f} to libm-sysdep_routes.
14597 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
14600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
14602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
14604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
14606 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
14607 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
14608 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
14610 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
14611 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
14613 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
14614 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
14615 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
14617 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14618 libc_feholdexcept and libc_fesetenv.
14620 2013-01-15 Mike Frysinger <vapier@gentoo.org>
14622 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
14624 2013-01-14 David S. Miller <davem@davemloft.net>
14626 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
14627 (SPARC_ASM_VIS2_IFUNC): Likewise.
14628 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
14629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
14630 use of 'siam' instruction.
14631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
14633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
14635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
14637 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14638 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14639 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14640 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
14643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
14645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
14647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
14649 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
14650 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
14651 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
14652 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
14653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
14655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14659 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14660 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14661 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14662 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
14664 routines to libm-sysdep_routines.
14665 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14668 fdim/fdimf to libm-sysdep_routines.
14669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
14671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
14672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
14674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
14675 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
14676 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
14677 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
14678 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
14679 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
14680 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
14682 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14684 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
14685 to optimize copies.
14687 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
14688 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14689 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14691 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
14692 local variable MPTWO.
14693 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14696 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14698 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
14701 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14703 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
14705 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14707 * manual/pattern.texi (glob_t): Document gl_flags.
14708 (glob64_t): Likewise.
14710 2013-01-11 David S. Miller <davem@davemloft.net>
14712 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
14713 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
14714 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
14715 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
14716 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
14717 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
14718 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
14719 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
14720 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
14721 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
14722 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
14723 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
14724 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
14726 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14727 sparc V9 rather than using V8 code.
14728 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14729 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14731 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14733 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
14736 2013-01-11 Roland McGrath <roland@hack.frob.com>
14738 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
14739 not in the main loop.
14740 * configure: Regenerated.
14742 2013-01-11 Joseph Myers <joseph@codesourcery.com>
14744 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
14745 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
14747 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
14748 [!__GLIBC_HAVE_LONG_LONG] case.
14749 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
14750 condition to just #else.
14751 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
14752 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
14753 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
14754 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
14756 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
14757 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14758 #elif condition to just #else.
14759 * sysdeps/unix/sysv/linux/sys/sysmacros.h
14760 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
14761 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14762 #elif condition to just #else.
14764 2013-01-11 Steve Ellcey <sellcey@mips.com>
14766 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14767 (EF_MIPS_ARCH_64): Fix value.
14768 (EF_MIPS_ARCH_32R2): New.
14769 (EF_MIPS_ARCH_64R2): New.
14771 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
14773 * Makeconfig (+link-pie-before-libc): New.
14774 (+link-pie-after-libc): Likewise.
14775 (+link-pie-tests): Likewise.
14776 (+link-pie): Rewritten.
14777 (link-before-libc): Remove $(config-LDFLAGS).
14778 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14779 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14780 (config-LDFLAGS): Renamed to ...
14781 (rtld-LDFLAGS): This.
14782 (rtld-tests-LDFLAGS): New macro.
14783 (link-libc-rpath-link): Likewise.
14784 (link-libc-tests-rpath-link): Likewise.
14785 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14786 (link-libc): Prepand $(link-libc-rpath-link).
14787 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14788 (test-program-prefix): New macro.
14789 (test-via-rtld-prefix): Likewise.
14790 (test-program-cmd): Likewise.
14791 (host-test-program-cmd): Likewise.
14792 * Makefile ($(common-objpfx)testrun.sh): Replace
14793 $(run-program-prefix) with $(test-program-prefix).
14794 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14796 ($(common-objpfx)shlib.lds): Likewise.
14797 (build-module-helper): Likewise.
14798 ($(common-objpfx)format.lds): Likewise.
14799 * Rules (binaries-pie-tests): New.
14800 (binaries-pie-notests): Likewise.
14801 (binaries-pie): Rewritten.
14802 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14803 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14804 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14805 (make-test-out): Replace $(host-built-program-cmd) with
14806 $(host-test-program-cmd).
14807 * config.make.in (build-hardcoded-path-in-tests): New variable.
14808 * configure.in (--enable-hardcoded-path-in-tests): New configure
14810 (hardcoded_path_in_tests): New AC_SUBST.
14811 * configure: Regenerated.
14812 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14813 $(built-program-cmd) with $(test-program-cmd).
14814 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14815 (test_program_cmd): This.
14816 * elf/Makefile ($(objpfx)order.out): Run test with
14817 $(test-program-prefix).
14818 ($(objpfx)order2.out): Likewise.
14819 ($(objpfx)tst-initorder.out): Likewise.
14820 ($(objpfx)tst-initorder2.out): Likewise.
14821 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14822 $(test-program-cmd).
14823 ($(objpfx)tst-array1-static.out): Likewise.
14824 ($(objpfx)tst-array2.out): Likewise.
14825 ($(objpfx)tst-array3.out): Likewise.
14826 ($(objpfx)tst-array4.out): Likewise.
14827 ($(objpfx)tst-array5.out): Likewise.
14828 ($(objpfx)tst-array5-static.out): Likewise.
14829 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14830 $(test-program-cmd).
14831 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14832 $(run-program-prefix) with $(test-program-prefix).
14833 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14834 (test_program_prefix): This.
14835 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14836 $(run-program-prefix) with $(test-program-prefix).
14837 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14838 (test_program_prefix): This.
14839 * iconvdata/tst-tables.sh: Likewise.
14840 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14841 $(run-program-prefix) with $(test-program-prefix).
14842 ($(objpfx)tst-translit.out): Likewise.
14843 ($(objpfx)tst-gettext2.out): Likewise.
14844 ($(objpfx)tst-gettext4.out): Likewise.
14845 ($(objpfx)tst-gettext6.out): Likewise.
14846 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14847 (test_program_prefix): This.
14848 * intl/tst-gettext2.sh: Likewise.
14849 * intl/tst-gettext4.sh Likewise.
14850 * intl/tst-gettext6.sh: Likewise.
14851 * intl/tst-translit.sh: Likewise.
14852 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14853 with $(test-program-cmd).
14854 * libio/Makefile ($(objpfx)test-freopen.out): Replace
14855 $(run-program-prefix) with $(test-program-prefix).
14856 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14857 (test_program_prefix): This.
14858 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14859 $(run-program-prefix) with $(test-program-prefix).
14860 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14861 (test_program_prefix): This.
14862 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14863 * posix/Makefile ($(objpfx)globtest.out): Replace
14864 $(run-via-rtld-prefix) and $(test-wrapper) with
14865 $(test-program-prefix) and $(test-via-rtld-prefix).
14866 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14867 $(test-program-prefix).
14868 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14869 $(host-test-program-cmd).
14870 (tst-spawn-ARGS): Likewise.
14871 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14872 $(test-program-prefix).
14873 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14874 (test_via_rtld_prefix): This.
14875 (test_wrapper): Renamed to ...
14876 (test_program_prefix): This.
14877 (run_program_prefix): Replaced by test_program_prefix.
14878 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14879 (test_program_prefix): This.
14880 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14881 with $(host-test-program-cmd).
14882 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14883 $(run-program-prefix) with $(test-program-prefix).
14884 ($(objpfx)tst-printf.out): Likewise.
14885 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14886 $(test-program-cmd).
14887 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14888 (test_program_prefix): This.
14889 * stdio-common/tst-unbputc.sh: Likewise.
14890 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14891 $(run-program-prefix) with $(test-program-prefix).
14892 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14893 (test_program_prefix): This.
14894 * string/Makefile ($(objpfx)tst-svc.out): Replace
14895 $(built-program-cmd) with $(test-program-cmd).
14897 2013-01-11 Andreas Jaeger <aj@suse.de>
14900 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14901 value. Sync with Linux 3.7.
14903 2013-01-10 David S. Miller <davem@davemloft.net>
14905 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14906 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14907 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14909 2013-01-10 Roland McGrath <roland@hack.frob.com>
14911 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14913 * configure: Regenerated.
14915 2013-01-10 David S. Miller <davem@davemloft.net>
14917 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14918 sparc V9 rather than using V8 code.
14919 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14920 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14922 2013-01-10 Roland McGrath <roland@hack.frob.com>
14924 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14925 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14926 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14927 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14928 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14929 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14930 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14931 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14932 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14933 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14934 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14935 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14936 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14937 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14938 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14939 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14940 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14941 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14942 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14943 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14944 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14945 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14946 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14947 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14948 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14949 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14950 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14952 2013-01-10 David S. Miller <davem@davemloft.net>
14954 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14956 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14958 * posix/Makefile (tests-static): New variable.
14959 (tests): Add $(tests-static).
14960 (tst-exec-static-ARGS): New variable.
14961 (tst-spawn-static-ARGS): Likewise.
14962 * posix/tst-exec-static.c: New file.
14963 * posix/tst-spawn-static.c: Likewise.
14964 * posix/tst-exec.c: Support run directly.
14965 * posix/tst-spawn.c: Likewise.
14967 2013-01-10 Joseph Myers <joseph@codesourcery.com>
14969 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14971 * math/bits/mathcalls.h (llrint): Likewise.
14972 (llround): Likewise.
14973 * stdlib/stdlib.h (struct drand48_data): Likewise.
14974 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14975 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14976 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14978 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14980 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14981 (elf_greg_t): Likewise.
14982 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14983 (__jmp_buf): Likewise.
14984 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14986 (llrint): Likewise, for all definitions.
14987 (llrintl): Likewise.
14989 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14990 Remove [__GNUC__] condition.
14991 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14992 condition to just [__USE_ISOC99].
14993 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14995 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14998 * sysdeps/unix/sysv/linux/x86/bits/environments.h
14999 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
15001 (_POSIX_V6_ILP32_OFF32): Likewise.
15002 (_XBS5_ILP32_OFF32): Likewise.
15003 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
15004 (__ILP32_OFFBIG_LDFLAGS): Likewise.
15006 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15008 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
15010 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
15011 doubles __mpexp_twomm1. Adjust usage.
15012 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
15015 2013-01-10 Andreas Schwab <schwab@suse.de>
15018 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
15019 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
15021 2013-01-09 David S. Miller <davem@davemloft.net>
15024 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
15025 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
15026 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
15027 TCP_FASTOPEN): Define.
15028 (tcp_repair_opt): New structure.
15029 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
15031 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
15032 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
15033 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
15034 (tcp_cookie_transactions): New structure.
15036 2013-01-09 Anton Blanchard <anton@samba.org>
15038 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
15039 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
15040 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
15041 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
15043 2013-01-09 Joseph Myers <joseph@codesourcery.com>
15045 * include/features.h (__USE_ANSI): Remove.
15047 2013-01-09 Roland McGrath <roland@hack.frob.com>
15049 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
15051 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
15053 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
15055 * sysdeps/s390/fpu/libm-test-ulps: Update.
15057 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15059 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
15063 (denorm): Likewise.
15064 (__mp_dbl): Likewise.
15065 (__dbl_mp): Likewise.
15066 (add_magnitudes): Likewise.
15067 (sub_magnitudes): Likewise.
15073 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
15077 (denorm): Likewise.
15078 (__mp_dbl): Likewise.
15079 (__dbl_mp): Likewise.
15080 (add_magnitudes): Likewise.
15081 (sub_magnitudes): Likewise.
15087 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
15091 (denorm): Likewise.
15092 (__mp_dbl): Likewise.
15093 (__dbl_mp): Likewise.
15094 (add_magnitudes): Likewise.
15095 (sub_magnitudes): Likewise.
15102 2013-01-08 Joseph Myers <joseph@codesourcery.com>
15104 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
15105 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
15106 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
15107 2 && __USE_EXTERN_INLINES]: Likewise.
15109 2013-01-08 Andreas Jaeger <aj@suse.de>
15112 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
15114 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15115 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15117 2013-01-07 Anton Blanchard <anton@samba.org>
15119 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
15120 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15121 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
15122 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15123 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15124 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15125 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
15126 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15127 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15128 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15129 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15130 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15131 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15132 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15133 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15134 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15135 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15136 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15137 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15138 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15139 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15140 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
15141 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15142 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15143 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
15144 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15145 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15146 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15147 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
15148 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15149 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15150 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15151 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15152 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15153 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15154 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15155 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15156 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15157 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
15158 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
15159 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
15160 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15161 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15163 2013-01-07 Joseph Myers <joseph@codesourcery.com>
15165 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
15166 (__MALLOC_PMT): Likewise.
15167 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
15168 [__GNUC__], only on [_LIBC].
15169 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15170 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
15171 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15172 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
15173 forward declaration.
15174 (realloc_hook_ini): Likewise.
15175 (memalign_hook_ini): Likewise.
15176 (__libc_memalign): Do not use __MALLOC_PMT in variable
15178 (__libc_valloc): Likewise.
15179 (__libc_pvalloc): Likewise.
15180 (__libc_calloc): Likewise.
15181 (__posix_memalign): Likewise.
15184 * math/s_casinh.c: Include <float.h>.
15185 (__casinh): Do not do computation with squaring and square root
15186 for large arguments.
15187 * math/s_casinhf.c: Include <float.h>.
15188 (__casinhf): Do not do computation with squaring and square root
15189 for large arguments.
15190 * math/s_casinhl.c: Include <float.h>.
15191 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
15192 (__casinhl): Do not do computation with squaring and square root
15193 for large arguments.
15194 * math/libm-test.inc (casin_test): Add more tests.
15195 (casinh_test): Likewise.
15196 * sysdeps/i386/fpu/libm-test-ulps: Update.
15197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15199 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
15201 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
15202 (__x86_64_raw_data_cache_size): Likewise.
15203 (__x86_64_data_cache_size_half): Likewise.
15204 (__x86_64_raw_data_cache_size_half): Likewise.
15205 (__x86_64_shared_cache_size): Likewise.
15206 (__x86_64_raw_shared_cache_size): Likewise.
15207 (__x86_64_shared_cache_size_half): Likewise.
15208 (__x86_64_raw_shared_cache_size_half): Likewise.
15209 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
15211 (__x86_data_cache_size): This.
15212 (__x86_64_raw_data_cache_size): Renamed to ...
15213 (__x86_raw_data_cache_size): This.
15214 (__x86_64_data_cache_size_half): Renamed to ...
15215 (__x86_data_cache_size_half): This.
15216 (__x86_64_raw_data_cache_size_half): Renamed to ...
15217 (__x86_raw_data_cache_size_half): This.
15218 (__x86_64_shared_cache_size): Renamed to ...
15219 (__x86_shared_cache_size): This.
15220 (__x86_64_raw_shared_cache_size): Renamed to ...
15221 (__x86_raw_shared_cache_size): This.
15222 (__x86_64_shared_cache_size_half): Renamed to ...
15223 (__x86_shared_cache_size_half): This.
15224 (__x86_64_raw_shared_cache_size_half): Renamed to ...
15225 (__x86_raw_shared_cache_size_half): This.
15226 * sysdeps/x86_64/memcpy.S: Updated.
15227 * sysdeps/x86_64/memset.S: Likewise.
15228 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15229 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15230 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15232 2013-01-04 David S. Miller <davem@davemloft.net>
15234 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15236 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
15238 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
15239 1 to avoid redefinition warning.
15240 (__USE_GNU): Don't define.
15241 (init_signaling_nan): Protoize.
15243 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15245 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15247 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
15248 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
15249 (__cpymn): Likewise.
15250 (norm): Remove commented code.
15251 (denorm): Likewise.
15252 (__mp_dbl): Likewise.
15254 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
15255 (__cpymn): Likewise.
15256 (norm): Remove commented code.
15257 (denorm): Likewise.
15258 (__mp_dbl): Likewise.
15261 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
15262 mp_no value for 1.0 and 2.0.
15263 (norm): Use RADIXI instead of radixi.d.
15264 (denorm): Likewise.
15265 (__mul): Use 0.0 instead of zero.d.
15266 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
15267 mp_no value for 1.0 and 2.0.
15268 (norm): Use RADIXI instead of radixi.d.
15269 (denorm): Likewise.
15270 (__mul): Use 0.0 instead of zero.d.
15272 2013-01-04 Joseph Myers <joseph@codesourcery.com>
15275 * math/s_casinh.c (__casinh): Reduce finite argument to first
15276 quadrant then set signs of results at the end.
15277 * math/s_casinhf.c (__casinhf): Likewise.
15278 * math/s_casinhl.c (__casinhl): Likewise.
15279 * math/libm-test.inc (casin_test): Add more tests.
15280 (casinh_test): Likewise.
15281 * sysdeps/i386/fpu/libm-test-ulps: Update.
15282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15284 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15286 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
15288 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
15290 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
15292 (denorm): Likewise.
15293 (__mp_dbl): Likewise.
15296 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
15297 and adjust the header comment.
15299 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
15300 variable name from declaration.
15302 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
15304 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15305 Initialize COMMON_CPUID_INDEX_7 element.
15306 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
15307 (CPUID_RTM): Likewise.
15308 (HAS_RTM): Likewise.
15309 (COMMON_CPUID_INDEX_7): New enum.
15311 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
15314 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
15315 size is zero, record memory as freed.
15317 2013-01-03 Andreas Jaeger <aj@suse.de>
15319 * po/ia.po: Add new Interlingua translation.
15321 2012-01-03 Allan McRae <allan@archlinux.org>
15323 * locale/programs/localedef.c: Fix description of '--posix' flag.
15325 2013-01-02 Joseph Myers <joseph@codesourcery.com>
15327 * NEWS: Update dates in second copyright notice.
15328 * README: Update copyright dates in example.
15329 * manual/libc.texinfo: Update copyright dates.
15330 * scripts/test-installation.pl: Update copyright date in --version
15333 * hurd/ctty-input.c: Fix copyright notice formatting.
15334 * hurd/ctty-output.c: Likewise.
15335 * hurd/dtable.c: Likewise.
15336 * hurd/hurd-raise.c: Likewise.
15337 * hurd/hurdprio.c: Likewise.
15338 * hurd/msgportdemux.c: Likewise.
15339 * misc/sys/file.h: Likewise.
15340 * misc/sys/ioctl.h: Likewise.
15341 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15342 * sysdeps/mach/hurd/chdir.c: Likewise.
15343 * sysdeps/mach/hurd/fchdir.c: Likewise.
15344 * sysdeps/mach/hurd/rename.c: Likewise.
15345 * sysdeps/mach/hurd/rmdir.c: Likewise.
15346 * sysdeps/mach/hurd/seekdir.c: Likewise.
15347 * sysdeps/mach/hurd/setsid.c: Likewise.
15348 * sysdeps/posix/wait3.c: Likewise.
15350 * All files with FSF copyright notices: Update copyright dates
15351 using scripts/update-copyrights.
15352 * intl/plural.c: Regenerated.
15353 * locale/programs/charmap-kw.h: Likewise.
15354 * locale/programs/locfile-kw.h: Likewise.
15356 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15358 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
15361 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
15362 calculation loop and add branch prediction.
15364 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
15365 check access beyond bounds of m1np.
15367 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15369 (__inv): Remove local variable MPTWO to use the global
15371 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
15372 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15374 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
15375 MP3HALFS static const.
15377 2013-01-01 David S. Miller <davem@davemloft.net>
15379 * po/ca.po: Update from translation team.
15381 2013-01-01 Joseph Myers <joseph@codesourcery.com>
15383 * scripts/update-copyrights: New file.
15384 * Makeconfig: Reformat copyright notice.
15385 * ctype/ctype.h: Likewise.
15386 * debug/swprintf_chk.c: Likewise.
15387 * elf/dl-cache.c: Likewise.
15388 * elf/dl-debug.c: Likewise.
15389 * elf/dl-object.c: Likewise.
15390 * grp/initgroups.c: Likewise.
15391 * hurd/Makefile: Likewise.
15392 * hurd/hurd/signal.h: Likewise.
15393 * hurd/hurdfault.c: Likewise.
15394 * hurd/hurdioctl.c: Likewise.
15395 * hurd/hurdlookup.c: Likewise.
15396 * hurd/intr-msg.c: Likewise.
15397 * iconv/gconv_open.c: Likewise.
15398 * libio/swprintf.c: Likewise.
15399 * locale/lc-ctype.c: Likewise.
15400 * locale/nl_langinfo.c: Likewise.
15401 * mach/Machrules: Likewise.
15402 * mach/Makefile: Likewise.
15403 * malloc/obstack.h: Likewise.
15404 * manual/Makefile: Likewise.
15405 * manual/tsort.awk: Likewise.
15406 * misc/bits/stab.def: Likewise.
15407 * nis/nis_print_group_entry.c: Likewise.
15408 * nis/nis_table.c: Likewise.
15409 * nis/nss_compat/compat-pwd.c: Likewise.
15410 * nis/nss_compat/compat-spwd.c: Likewise.
15411 * po/Makefile: Likewise.
15412 * posix/fnmatch.c: Likewise.
15413 * posix/regex.h: Likewise.
15414 * resolv/Makefile: Likewise.
15415 * resolv/nss_dns/dns-network.c: Likewise.
15416 * resolv/res_hconf.c: Likewise.
15417 * scripts/gen-sorted.awk: Likewise.
15418 * soft-fp/soft-fp.h: Likewise.
15419 * stdio-common/printf.h: Likewise.
15420 * stdlib/monetary.h: Likewise.
15421 * stdlib/random.c: Likewise.
15422 * stdlib/random_r.c: Likewise.
15423 * sysdeps/generic/Makefile: Likewise.
15424 * sysdeps/gnu/Makefile: Likewise.
15425 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15426 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15427 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15428 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15429 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15430 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15431 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15432 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15433 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15434 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15435 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15436 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15437 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15438 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15439 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15440 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15441 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15442 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15443 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15444 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15445 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15446 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15447 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15448 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15449 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
15450 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15451 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15452 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
15453 * sysdeps/mach/hurd/errnos.awk: Likewise.
15454 * sysdeps/mach/hurd/fork.c: Likewise.
15455 * sysdeps/mach/hurd/getcwd.c: Likewise.
15456 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
15457 * sysdeps/mach/hurd/mmap.c: Likewise.
15458 * sysdeps/mach/hurd/utimes.c: Likewise.
15459 * sysdeps/mach/hurd/xmknod.c: Likewise.
15460 * sysdeps/posix/profil.c: Likewise.
15461 * sysdeps/posix/readdir_r.c: Likewise.
15462 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15463 * sysdeps/powerpc/bits/setjmp.h: Likewise.
15464 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
15465 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15466 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15467 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15468 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15469 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15470 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15471 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15472 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15473 * sysdeps/pthread/lio_listio.c: Likewise.
15474 * sysdeps/sparc/dl-procinfo.h: Likewise.
15475 * sysdeps/unix/i386/sysdep.S: Likewise.
15476 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
15477 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
15478 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
15479 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
15480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15481 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
15482 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
15483 * sysdeps/unix/sysv/linux/speed.c: Likewise.
15484 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15485 * sysdeps/wordsize-32/divdi3.c: Likewise.
15486 * time/sys/time.h: Likewise.
15487 * wcsmbs/Makefile: Likewise.
15489 2013-01-01 David S. Miller <davem@davemloft.net>
15491 * po/fr.po: Update from translation team.
15493 * catgets/gencat.c: Update copyright year.
15494 * csu/version.c: Likewise.
15495 * debug/catchsegv.sh: Likewise.
15496 * debug/pcprofiledump.c: Likewise.
15497 * debug/xtrace.sh: Likewise.
15498 * elf/ldconfig.c: Likewise.
15499 * elf/ldd.bash.in: Likewise.
15500 * elf/pldd.c: Likewise.
15501 * elf/sotruss.ksh: Likewise.
15502 * elf/sprof.c: Likewise.
15503 * iconv/iconv_prog.c: Likewise.
15504 * iconv/iconvconfig.c: Likewise.
15505 * locale/programs/locale.c: Likewise.
15506 * locale/programs/localedef.c: Likewise.
15507 * login/programs/pt_chown.c: Likewise.
15508 * malloc/memusage.sh: Likewise.
15509 * malloc/memusagestat.c: Likewise.
15510 * malloc/mtrace.pl: Likewise.
15511 * nscd/nscd.c: Likewise.
15512 * nss/getent.c: Likewise.
15513 * nss/makedb.c: Likewise.
15514 * posix/getconf.c: Likewise.
15516 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15518 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
15521 2012-12-30 Mike Frysinger <vapier@gentoo.org>
15523 * math/bits/mathcalls.h (modf): Use __nonnull.
15525 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15527 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
15528 (split): Use macro CN instead of the bare value.
15529 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
15531 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
15532 instead of the bare value.
15533 (power1): Likewise.
15535 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15537 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
15539 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15541 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
15543 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15544 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15545 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
15546 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15548 2012-12-28 Andreas Jaeger <aj@suse.de>
15550 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
15551 values are from Linux 3.7.
15553 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
15554 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
15556 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15558 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
15561 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
15563 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
15564 variables with preprocessor constants.
15565 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15566 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15567 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15569 2012-12-27 Bruno Haible <bruno@clisp.org>
15572 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
15575 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15577 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
15578 and use variable directly.
15579 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
15581 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15583 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
15584 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15586 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15587 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15588 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
15589 include directive. Remove local variable MPONE.
15590 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
15591 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
15592 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15594 2012-12-25 David S. Miller <davem@davemloft.net>
15596 * version.h (RELEASE): Set to "development".
15597 (VERSION): Set to "2.17.90".
15598 * NEWS: Add 2.18 section.
15600 2012-12-21 David S. Miller <davem@davemloft.net>
15602 * po/hr.po: Update from translation team.
15604 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15606 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
15608 2012-12-19 Steve Ellcey <sellcey@mips.com>
15610 * NEWS: Mention new memcpy for MIPS.
15612 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15614 * manual/contrib.texi (Contributors): Spelling correction.
15616 2012-12-15 David S. Miller <davem@davemloft.net>
15618 * po/ru.po: Update from translation team.
15620 2012-12-13 David S. Miller <davem@davemloft.net>
15622 * NEWS: Mention IFUNC testsuite enhancements.
15624 * po/pl.po: Update from translation team.
15625 * po/bg.po: Likewise.
15627 * manual/contrib.texi (Contributors): Update entries for Hongjiu
15628 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
15630 2012-12-11 David S. Miller <davem@davemloft.net>
15632 * po/sv.po: Update from translation team.
15634 * po/vi.po: Update from translation team.
15636 * po/cs.po: Update from translation team.
15638 * po/de.po: Update from translation team.
15639 * po/eo.po: Likewise.
15640 * po/nl.po: Likewise.
15642 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15645 * manual/argp.texi (Argp Helper Functions): Move node to follow
15646 Argp Parsing State.
15649 * manual/conf.texi (Limits on File System Capacity): Mention if
15650 terminating null is included in the max size.
15652 2012-12-10 Andreas Jaeger <aj@suse.de>
15654 * po/cs.po: Update from translation team.
15656 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15658 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
15659 void pointer and cast to uintptr_t.
15660 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
15662 * sysdeps/s390/s390-64/memcpy.S: Likewise.
15663 * sysdeps/s390/s390-64/memset.S: Likewise.
15665 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
15668 * menual/message.texi (Message Translation): Fix typos.
15669 (Helper programs for gettext): Likewise.
15671 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
15674 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
15677 2012-12-07 David S. Miller <davem@davemloft.net>
15679 * po/libc.pot: Update.
15681 2012-12-07 Richard Henderson <rth@redhat.com>
15684 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
15685 normal/normal case to before the switch.
15686 (_FP_DIV): Likewise.
15688 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
15689 Mike Frysinger <vapier@gentoo.org>
15691 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
15692 check for __NR_fadvise64_64.
15694 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
15696 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
15697 0, not just to plain "0" as a statement.
15698 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
15701 2012-12-06 Joseph Myers <joseph@codesourcery.com>
15703 * NEWS: Use sourceware.org in Bugzilla URL.
15705 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15708 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15710 * stdio-common/tst-put-error.c (do_test): Add newline to the
15711 padded test to ensure flush.
15713 2012-12-05 Jeff Law <law@redhat.com>
15715 * sunrpc/etc.rpc (fedfs_admin): Add entry.
15717 2012-12-05 Joseph Myers <joseph@codesourcery.com>
15719 * README: Don't refer to ports add-on as distributed separately.
15720 Mention AArch64 in list of systems supported in the ports add-on.
15722 * LICENSES: Add more non-FSF copyright and license notices.
15724 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
15727 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
15729 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
15730 10000 as width of padded output.
15732 2012-12-04 Joseph Myers <joseph@codesourcery.com>
15734 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
15736 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
15737 variable LX with __attribute__ ((unused)).
15738 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15740 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15741 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15742 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
15743 with __attribute__ ((unused)).
15745 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
15747 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15749 2012-12-04 Joseph Myers <joseph@codesourcery.com>
15751 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
15752 (CFLAGS-nldbl-acos.c): New variable.
15753 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
15754 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
15755 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
15756 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
15757 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
15758 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15759 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
15760 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
15761 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
15762 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
15763 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
15764 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
15765 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
15766 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15767 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15768 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15769 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15770 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15771 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15772 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15773 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15774 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15775 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15776 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15777 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15778 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15779 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15780 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15781 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15782 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15783 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15784 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15785 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15786 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15787 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15788 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15789 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15790 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15791 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15792 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15793 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15794 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15795 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15796 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15797 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15798 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15799 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15800 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15801 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15802 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15803 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15804 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15805 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15806 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15807 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15808 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15809 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15810 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15811 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15812 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15813 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15814 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15815 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15816 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15817 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15818 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15819 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15820 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15821 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15822 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15823 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15824 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15825 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15826 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15827 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15828 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15829 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15830 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15831 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15832 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15833 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15834 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15835 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15836 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15837 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15838 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15839 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15840 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15841 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15842 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15843 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15844 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15845 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15846 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15847 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15848 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15849 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15852 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15855 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15856 whole low double instead of just low 47 bits when splitting values
15859 2012-12-03 Allan McRae <allan@archlinux.org>
15861 * manual/stdio.texi (Predefined Printf Handlers): Remove
15862 @hsep and @vsep usage.
15864 2012-12-03 Mike Frysinger <vapier@gentoo.org>
15866 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15867 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15869 2012-12-03 Jeff Law <law@redhat.com>
15871 * time/sys/time.h (settimeofday): Do not mark TV argument
15874 2012-12-01 Mike Frysinger <vapier@gentoo.org>
15876 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15877 when currently writing and seek to current position when not.
15878 * libio/Makefile (tests): Remove bug-fclose1.
15879 * libio/bug-fclose1.c: Delete.
15881 2012-12-01 Joseph Myers <joseph@codesourcery.com>
15883 * manual/arith.texi (feenableexcept): Fix typo.
15884 (fedisableexcept): Likewise.
15886 2012-11-30 Roland McGrath <roland@hack.frob.com>
15888 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15889 second, differently-typed declaration, rather than a cast.
15891 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15893 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15894 * include/rpc/svc.h: ... here.
15896 2012-11-30 Aurelien Jarno <aurel32@debian.org>
15899 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15900 depending n and resplen2 to catch cases where answer
15903 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
15905 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15906 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15908 2012-11-29 Mike Frysinger <vapier@gentoo.org>
15910 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15912 2012-11-29 Roland McGrath <roland@hack.frob.com>
15914 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15916 2012-11-28 Jeff Law <law@redhat.com>
15919 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15920 dataset_temporary. Track alloca usage into alloca_used.
15921 If dataset is large allocate and release it via malloc/free.
15923 2012-06-04 Florian Weimer <fweimer@redhat.com>
15926 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15928 2012-11-28 David S. Miller <davem@davemloft.net>
15930 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15932 2012-11-28 Joseph Myers <joseph@codesourcery.com>
15935 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15936 of pi/2 rounded to nearest to 64 bits.
15937 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15938 nearest to 64 bits.
15939 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15942 2012-11-28 Jeff Law <law@redhat.com>
15943 Martin Osvald <mosvald@redhat.com>
15946 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15947 * sunrpc/svc.c: Include time.h.
15948 (__svc_accept_failed): New function.
15949 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15950 any reason other than EINTR, call __svc_accept_failed.
15951 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15952 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15954 2012-11-28 Andreas Schwab <schwab@suse.de>
15956 * scripts/abilist.awk: Also handle indirect functions in .opd
15959 2012-11-28 Joseph Myers <joseph@codesourcery.com>
15962 * sysdeps/x86/fpu/powl_helper.c: New file.
15963 * sysdeps/x86/fpu/Makefile: Likewise.
15964 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15966 (__ieee754_powl): Use __powl_helper for finite arguments except
15967 integer exponents below 8.
15968 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15970 (__ieee754_powl): Use __powl_helper for finite arguments except
15971 integer exponents below 8.
15972 * math/libm-test.inc (pow_test): Add more tests and enable some
15973 previously disabled tests.
15974 * sysdeps/i386/fpu/libm-test-ulps: Update.
15975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15977 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15978 Carlos O'Donell <carlos_odonell@mentor.com>
15980 * nss/makedb.c (is_prime): Assert that input is odd and greater
15981 than 4. Note that fact in a comment too.
15982 (next_prime): Add 4 to input.
15984 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15987 * libio/Makefile (tests): Add test case tst-fwrite-error.
15988 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15989 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15990 * libio/tst-fwrite-error.c: New test case.
15992 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
15994 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15995 before casting to void *.
15996 * include/libc-internal.h (__pointer_type): New macro.
15997 (__integer_if_pointer_type_sub): Likewise.
15998 (__integer_if_pointer_type): Likewise.
15999 (cast_to_integer): Likewise.
16000 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
16001 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
16002 before casting to atomic64_t.
16003 (atomic_exchange_acq): Likewise.
16004 (__arch_exchange_and_add_body): Likewise.
16005 (__arch_add_body): Likewise.
16006 (atomic_add_negative): Likewise.
16007 (atomic_add_zero): Likewise.
16009 2012-11-26 Joseph Myers <joseph@codesourcery.com>
16011 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
16012 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
16013 (add_fdes): Likewise.
16014 (linear_search_fdes): Likewise.
16015 (binary_search_unencoded_fdes): Likewise.
16017 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
16019 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
16021 2012-11-24 Adam Conrad <adconrad@0c3.net>
16023 * configure.in: Autodetect C++ header directories.
16024 * configure: Regenerated.
16026 2012-11-23 Mike Frysinger <vapier@gentoo.org>
16028 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
16030 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
16032 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16034 2012-11-22 Joseph Myers <joseph@codesourcery.com>
16036 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
16037 LDBL_MANT_DIG == 106]: Disable some tests.
16038 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
16040 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
16044 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
16045 input for small inputs. Return +/- pi/2 for large inputs.
16046 * math/libm-test.inc (atan_test): Add more tests.
16048 * sysdeps/generic/unwind-dw2-fde-glibc.c
16049 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
16050 __attribute__ ((unused)).
16053 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
16054 x * y if x and y are nonzero and z is zero.
16057 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
16058 nonzero exponents with absolute value below 0x1p-117 to +/-
16062 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
16063 up arguments below 2**-450, not just those below 2**-500.
16064 * math/libm-test.inc (hypot_test): Add another test.
16067 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
16068 Return a+b for ratio over 2**120, not 2**60.
16069 * math/libm-test.inc (hypot_test): Add another test.
16071 * math/libm-test.inc (clog_test): Use
16072 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
16073 (clog10_test): Likewise.
16076 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
16078 2012-11-22 Andreas Schwab <schwab@suse.de>
16080 * sysdeps/i386/fpu/libm-test-ulps: Update.
16082 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
16084 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
16085 printf output with newline.
16087 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
16090 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
16091 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
16092 -z nodlopen, -z initfirst and -z execstack support.
16093 * configure: Regenerated.
16095 * elf/elf.h (DF_1_NODIRECT): New macro.
16096 (DF_1_IGNMULDEF): Likewise.
16097 (DF_1_NOKSYMS): Likewise.
16098 (DF_1_NOHDR): Likewise.
16099 (DF_1_EDITED): Likewise.
16100 (DF_1_NORELOC): Likewise.
16101 (DF_1_SYMINTPOSE): Likewise.
16102 (DF_1_GLOBAUDIT): Likewise.
16103 (DF_1_SINGLETON): Likewise.
16104 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
16105 DT_1_SUPPORTED_MASK bits.
16106 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
16108 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
16110 * sysdeps/unix/make-syscalls.sh: Document prefixes.
16112 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
16114 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
16117 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
16118 (sendmmsg): Move declarations...
16119 * socket/sys/socket.h: ... here.
16120 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
16121 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
16123 * socket/recvmmsg.c: ... this new file.
16124 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
16125 (sendmmsg): Rename to __sendmmsg, create weak alias and make
16126 definition of __sendmmsg hidden.
16127 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
16128 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
16129 Move ENOSYS stub into and include it from...
16130 * socket/sendmmsg.c: ... this new file.
16131 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
16132 (sysdep_routines): Move recvmmsg and sendmmsg...
16133 * socket/Makefile (routines): ... here.
16134 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
16135 (GLIBC_PRIVATE): Add __sendmmsg.
16136 * include/sys/socket.h (__sendmmsg): Add declarations.
16137 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
16140 2012-11-20 Joseph Myers <joseph@codesourcery.com>
16142 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
16143 variable I1 with __attribute__ ((unused)).
16144 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16146 2012-11-19 Joseph Myers <joseph@codesourcery.com>
16148 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
16149 DUMMY variables with __attribute__ ((unused)).
16151 * bits/byteswap.h: Include <bits/types.h>.
16152 (__bswap_64): Use __uint64_t instead of unsigned long long int.
16154 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
16156 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
16157 string_t. Do not manually set errno.
16158 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
16159 length with __strnlen. Make sure to both set errno and return it on
16162 2012-11-19 David S. Miller <davem@davemloft.net>
16164 With help from Joseph Myers.
16165 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
16166 very large arguments properly.
16167 * math/libm-test.inc (atan_test): New tests.
16168 (atan2_test): New tests.
16169 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16170 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16172 2012-11-19 Joseph Myers <joseph@codesourcery.com>
16175 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
16178 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
16179 [POSIX] (EADDRNOTAVAIL): Likewise.
16180 [POSIX] (EAFNOSUPPORT): Likewise.
16181 [POSIX] (EALREADY): Likewise.
16182 [POSIX] (ECONNABORTED): Likewise.
16183 [POSIX] (ECONNREFUSED): Likewise.
16184 [POSIX] (ECONNRESET): Likewise.
16185 [POSIX] (EDESTADDRREQ): Likewise.
16186 [POSIX] (EDQUOT): Likewise.
16187 [POSIX] (EHOSTUNREACH): Likewise.
16188 [POSIX] (EIDRM): Likewise.
16189 [POSIX] (EISCONN): Likewise.
16190 [POSIX] (ELOOP): Likewise.
16191 [POSIX] (EMULTIHOP): Likewise.
16192 [POSIX] (ENETDOWN): Likewise.
16193 [POSIX] (ENETUNREACH): Likewise.
16194 [POSIX] (ENOBUFS): Likewise.
16195 [POSIX] (ENODATA): Likewise.
16196 [POSIX] (ENOLINK): Likewise.
16197 [POSIX] (ENOMSG): Likewise.
16198 [POSIX] (ENOPROTOOPT): Likewise.
16199 [POSIX] (ENOSR): Likewise.
16200 [POSIX] (ENOSTR): Likewise.
16201 [POSIX] (ENOTCONN): Likewise.
16202 [POSIX] (ENOTSOCK): Likewise.
16203 [POSIX] (EOPNOTSUPP): Likewise.
16204 [POSIX] (EOVERFLOW): Likewise.
16205 [POSIX] (EPROTO): Likewise.
16206 [POSIX] (EPROTONOSUPPORT): Likewise.
16207 [POSIX] (EPROTOTYPE): Likewise.
16208 [POSIX] (ESTALE): Likewise.
16209 [POSIX] (ETIME): Likewise.
16210 [POSIX] (ETXTBSY): Likewise.
16211 [POSIX] (EWOULDBLOCK): Likewise.
16212 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
16213 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
16214 [POSIX] (SEEK_CUR): Likewise.
16215 [POSIX] (SEEK_END): Likewise.
16216 [POSIX || UNIX98] (mode_t): Do not require.
16217 [POSIX] (off_t): Likewise.
16218 [POSIX] (pid_t): Likewise.
16219 [POSIX] (sys/stat.h): Do not allow header.
16220 [POSIX] (unistd.h): Likewise.
16221 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
16222 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
16223 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
16224 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
16226 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
16227 sigevent): Specify elements.
16228 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
16230 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
16231 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
16233 * conform/data/cpio.h-data [POSIX]: Disable whole file.
16234 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
16235 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
16236 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
16237 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
16238 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
16239 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
16240 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
16241 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
16242 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
16243 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
16244 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
16245 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
16246 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
16248 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
16250 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
16252 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
16254 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
16255 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
16256 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
16257 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
16258 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
16259 Specify lower bound on value.
16260 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
16261 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
16262 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
16263 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
16264 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
16265 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
16266 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
16267 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
16269 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
16271 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
16272 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
16273 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
16274 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
16275 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
16276 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
16277 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
16278 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
16279 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
16280 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
16281 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
16282 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
16283 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
16284 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
16285 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
16286 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
16288 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
16290 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
16291 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
16292 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
16293 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
16294 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
16295 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
16297 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
16298 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
16299 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
16300 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
16301 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
16302 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
16303 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
16305 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
16306 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
16307 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
16308 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
16309 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
16310 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
16311 specify as optional.
16312 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
16313 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
16314 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
16315 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
16316 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
16317 [XPG3] (NL_LANGMAX): Likewise.
16318 [POSIX || XPG3] (NL_MSGMAX): Likewise.
16319 [POSIX || XPG3] (NL_NMAX): Likewise.
16320 [POSIX || XPG3] (NL_SETMAX): Likewise.
16321 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
16322 [XPG3] (NZERO): Likewise.
16323 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
16324 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
16325 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
16326 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
16327 (REG_ERANGE): Expect.
16328 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
16330 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
16331 Use (void) in prototype.
16332 [POSIX] (*_t): Allow.
16333 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
16334 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
16335 (WRDE_BADVAL): Expect.
16337 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
16339 [XPG3 || XPG4] (O_RSYNC): Likewise.
16340 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
16342 [XPG3 || XPG4] (pthread_sigmask): Likewise.
16343 [XPG3 || XPG4] (sigqueue): Likewise.
16344 [XPG3 || XPG4] (sigtimedwait): Likewise.
16345 [XPG3 || XPG4] (sigwaitinfo): Likewise.
16346 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
16347 [XPG3 || XPG4] (vsnprintf): Likewise.
16348 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
16350 [XPG3 || XPG4] (blksize_t): Likewise.
16351 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
16353 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
16354 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16355 [XPG3 || XPG4] (struct itimerspec): Likewise.
16356 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
16357 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
16358 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
16359 [XPG3 || XPG4] (clockid_t): Likewise.
16360 [XPG3 || XPG4] (timer_t): Likewise.
16361 [XPG3 || XPG4] (clock_getres): Likewise.
16362 [XPG3 || XPG4] (clock_gettime): Likewise.
16363 [XPG3 || XPG4] (clock_settime): Likewise.
16364 [XPG3 || XPG4] (nanosleep): Likewise.
16365 [XPG3 || XPG4] (timer_create): Likewise.
16366 [XPG3 || XPG4] (timer_delete): Likewise.
16367 [XPG3 || XPG4] (timer_gettime): Likewise.
16368 [XPG3 || XPG4] (timer_getoverrun): Likewise.
16369 [XPG3 || XPG4] (timer_settime): Likewise.
16370 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
16371 [XPG3 || XPG4] (getlogin_r): Likewise.
16372 [XPG3 || XPG4] (pread): Likewise.
16373 [XPG3 || XPG4] (pthread_atfork): Likewise.
16374 [XPG3 || XPG4] (pwrite): Likewise.
16377 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
16380 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
16382 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
16383 finalizing MALLSTREAM.
16385 * sysdeps/mach/hurd/syncfs.c: New file.
16387 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16390 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
16391 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
16392 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
16393 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
16394 (_nss_dns_gethostbyname4_r): Likewise.
16395 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
16396 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
16398 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
16401 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
16403 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
16405 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
16406 * elf/cache.c (print_entry): Print ",AArch64" for
16409 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
16410 * elf/cache.c (print_entry): Print ",hard-float" for
16413 2012-11-18 David S. Miller <davem@davemloft.net>
16415 With help from Joseph Myers.
16416 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
16418 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
16420 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
16421 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
16423 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
16424 * math/libm-test.inc (y0_test): New tests.
16425 (y1_test): New tests.
16426 * sysdeps/i386/fpu/libm-test-ulps: Update.
16427 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16428 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16430 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
16432 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
16434 * configure: Regenerated.
16436 2012-11-17 David S. Miller <davem@davemloft.net>
16439 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
16440 nonzero exponents with absolute value below 0x1p-128 to +/-
16443 2012-11-17 Joseph Myers <joseph@codesourcery.com>
16445 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
16447 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
16449 * posix/getconf-speclist.c: New file.
16450 * posix/posix-envs.def: Likewise.
16451 * posix/confstr.c (START_ENV_GROUP): New macro.
16452 (END_ENV_GROUP): Likewise.
16453 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16454 (KNOWN_PRESENT_ENV_STRING): Likewise.
16455 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16456 (UNKNOWN_ENVIRONMENT): Likewise.
16457 (confstr): Include posix-envs.def instead of handling
16458 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
16459 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
16460 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
16461 (END_ENV_GROUP): Likewise.
16462 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16463 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16464 (UNKNOWN_ENVIRONMENT): Likewise.
16465 (__sysconf): Include posix-envs.def instead of handling associated
16466 cases directly here.
16467 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
16468 preprocessing getconf-speclist.c rather than running getconf or
16469 generating empty file.
16471 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
16473 * scripts/check-local-headers.sh: Ignore 'mach' headers.
16475 2012-11-16 Andrej Lajovic <natrij@gmail.com>
16478 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
16480 2012-11-16 David S. Miller <davem@davemloft.net>
16482 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
16483 smaller than LDBL_EPSILON/2.0L, just return xm1.
16485 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
16487 * elf/tst-array1.c (init): Set constructor priority to 1000.
16488 (fini): Set destructor priority to 1000.
16489 * elf/tst-array2dep.c: Likewise.
16491 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16494 * libio/fileops.c (_IO_new_file_write): Correctly return error.
16495 (_IO_new_file_xsputn): Also return EOF if none of the input
16496 data was written when overflow failed.
16497 * libio/iopadn.c (_IO_padn): Likewise.
16498 * libio/iowpadn.c (_IO_wpadn): Likewise.
16499 * stdio-common/tst-put-error.c: Add copyright notice.
16500 (do_test): Add case for printing padded string.
16501 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
16502 _IO_padn returned error.
16503 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
16504 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
16507 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16509 * libio/libioP.h: Add comment note that the references to C++
16510 bits are now obsolete.
16512 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16514 * math/libm-test.inc (check_complex): Use asprintf.
16516 2012-11-14 Joseph Myers <joseph@codesourcery.com>
16518 * debug/pcprofiledump.c (print_version): Update copyright year.
16519 * malloc/memusagestat.c (print_version): Likewise.
16521 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
16524 * elf/Makefile (tests): Add tst-audit8.
16525 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
16526 ($(objpfx)tst-audit8.out): New target.
16527 (tst-audit8-ENV): New variable.
16528 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
16529 audit if l_reloc_result is NULL.
16530 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
16531 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
16532 * elf/tst-audit8.c: New file.
16534 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16536 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
16537 * misc/Makefile (CFLAGS-select.c): Define.
16538 * posix/Makefile (CFLAGS-pause.c): Define.
16540 2012-11-13 David S. Miller <davem@davemloft.net>
16542 * crypt/Makefile: Move test targets after toplevel Rules
16543 inclusion. Grab any necessary sysdep routines when linking.
16544 * crypt/md5.c (md5_process_block): Remove define, we will always
16545 name it __md5_process_block.
16546 (md5_finish_ctx): Update md5_process_block call.
16547 (md5_stream): Likewise.
16548 (md5_process_bytes): Likewise.
16549 (md5_process_block): Rename to __md5_process_block and move to ...
16550 * crypt/md5-block.c: ... here.
16551 * crypt/sha256.c (sha256_process_block): Move to ...
16552 * crypt/sha256-block.c: ... here.
16553 * crypt/sha512.c (sha512_process_block): Move to ...
16554 * crypt/sha512-block.c: ... here.
16555 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
16557 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
16558 * sysdeps/sparc/sparc64/multiarch/Makefile
16559 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
16561 (localedef-aux): Add md5 crypto assembler when in locale subdir.
16562 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
16564 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
16565 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
16566 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
16567 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
16568 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
16569 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
16570 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
16571 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
16572 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
16574 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
16575 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
16577 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
16579 2012-11-13 Joseph Myers <joseph@codesourcery.com>
16581 * timezone/tzselect.ksh: Update from tzcode git revision
16582 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
16583 * timezone/zdump.c: Likewise.
16584 * timezone/zic.c: Likewise.
16585 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
16586 in TZVERSION setting, not $(PKGVERSION).
16587 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
16588 REPORT_BUGS_TO settings.
16591 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
16594 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16596 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
16597 detection to immediately after _FP_ROUND().
16598 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
16601 2012-11-11 David S. Miller <davem@davemloft.net>
16603 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
16605 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
16606 __close rather than their public counterparts.
16608 2012-11-10 Joseph Myers <joseph@codesourcery.com>
16610 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
16612 [UNIX98] (sem_timedwait): Do not expect.
16613 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
16614 [XPG4 || UNIX98] (sockatmark): Do not expect.
16615 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
16616 (clock_getcpuclockid): Do not expect.
16617 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
16618 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
16620 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
16621 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
16622 [UNIX98] (vwscanf): Likewise.
16623 [UNIX98] (vswscanf): Likewise.
16625 2012-11-09 Joseph Myers <joseph@codesourcery.com>
16627 * timezone/version.h: Remove file.
16628 * timezone/README: Do not refer to version.h.
16629 * timezone/Makefile ($(objpfx)zic.o): New dependency on
16630 $(objpfx)version.h.
16631 ($(objpfx)zdump.o): Likewise.
16632 ($(objpfx)version.h): New target.
16634 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
16636 * timezone/README: Don't mention modification to tzselect.ksh.
16637 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
16638 work on unmodified tzselect.ksh. Substitute version numbers in
16641 * Makefile (format-me): Remove.
16642 (INSTALL): Adjust indentation. Use commands directly instead of
16643 using $(format-me).
16645 * aclocal.m4 (ACX_PKGVERSION): New macro.
16646 (ACX_BUGURL): Likewise.
16647 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
16648 (PKGVERSION): New AC_DEFINE_UNQUOTED.
16649 (REPORT_BUGS_TO): Likewise.
16650 * configure: Regenerated.
16651 * config.h.in (PKGVERSION): New macro.
16652 (REPORT_BUGS_TO): Likewise.
16653 * config.make.in (PKGVERSION): New variable.
16654 (PKGVERSION_TEXI): Likewise.
16655 (REPORT_BUGS_TO): Likewise.
16656 (REPORT_BUGS_TEXI): Likewise.
16657 * Makefile (format-me): Use -I$(common-objpfx)manual.
16658 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
16659 ($(common-objpfx)manual/%): New target.
16660 (manual/%): Remove target.
16661 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
16662 (print_version): Use PKGVERSION.
16663 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
16664 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
16665 and REPORT_BUGS_TO.
16666 ($(objpfx)xtrace): Likewise.
16667 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
16668 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
16669 (print_version): Use PKGVERSION.
16670 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
16671 (do_version): Use PKGVERSION.
16672 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
16674 (common-ldd-rewrite): Likewise.
16675 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
16676 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
16677 (print_version): Use PKGVERSION.
16678 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
16679 * elf/pldd.c (argp_program_bug_address): Remove variable.
16680 (more_help): New function.
16681 (argp): Use more_help.
16682 (print_version): Use PKGVERSION.
16683 * elf/sln.c (main): Use PKGVERSION.
16684 (usage): Use REPORT_BUGS_TO.
16685 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
16686 (top level): Use PKGVERSION.
16687 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
16688 (print_version): Use PKGVERSION.
16689 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
16690 (print_version): Use PKGVERSION.
16691 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
16692 (print_version): Use PKGVERSION.
16693 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
16694 (print_version): Use PKGVERSION.
16695 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
16696 (print_version): Use PKGVERSION.
16697 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
16698 (print_version): Use PKGVERSION.
16699 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
16701 ($(objpfx)memusage): Likewise.
16702 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
16703 (do_version): Use PKGVERSION.
16704 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
16705 (print_version): Use PKGVERSION.
16706 * malloc/mtrace.pl ($PACKAGE): Remove variable.
16707 ($PKGVERSION): New variable.
16708 ($REPORT_BUGS_TO): Likewise.
16709 (usage): Use $REPORT_BUGS_TO.
16710 (top level): Use $PKGVERSION.
16711 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
16712 ($(objpfx)pkgvers.texi): New rule.
16713 ($(objpfx)stamp-pkgvers): Likewise.
16714 * manual/install.texi: Include pkgvers.texi.
16715 (--with-pkgversion): Document new configure option.
16716 (--with-bugurl): Likewise.
16717 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
16718 than necessarily for this particular distribution. Use
16719 REPORT_BUGS_TO for where to report bugs.
16720 * INSTALL: Regenerated.
16721 * manual/libc.texinfo: Include pkgvers.texi.
16722 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
16723 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
16724 (print_version): Use PKGVERSION.
16725 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
16726 (print_version): Use PKGVERSION.
16727 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
16728 (print_version): Use PKGVERSION.
16729 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
16730 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
16732 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
16733 (print_version): Use PKGVERSION.
16734 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
16735 (print_version): Use PKGVERSION.
16736 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
16739 * timezone/checktab.awk: Update from tzcode 2012i.
16740 * timezone/ialloc.c: Likewise.
16741 * timezone/private.h: Likewise.
16742 * timezone/scheck.c: Likewise.
16743 * timezone/tzfile.h: Likewise.
16744 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
16745 (TZVERSION): Hardcode tzcode version number.
16746 * timezone/zdump.c: Update from tzcode 2012i.
16747 * timezone/zic.c: Likewise.
16748 * timezone/version.h: New file.
16749 * timezone/README: Describe version.h. Update upstream location.
16752 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
16753 (mktemp): Enable declaration.
16754 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
16755 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
16756 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
16757 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
16759 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
16761 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
16763 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
16765 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
16767 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16771 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16772 offset in buffer as u_int32_t not u_long. Consistently use memcpy
16773 for copies of such integer values.
16774 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16775 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16777 2012-11-09 Andreas Jaeger <aj@suse.de>
16779 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16780 definitions and declarations that are provided by
16781 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16783 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16785 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
16786 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16787 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16790 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16792 * elf/elf.h: Update comment before AArch64 relocations.
16794 2012-11-07 David S. Miller <davem@davemloft.net>
16796 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16797 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16798 (__start_context): Declare.
16799 (__makecontext_ret): Delete.
16800 (__makecontext): Hook up __start_context instead of
16802 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16803 (sysdep_routines): Add __start_context when in stdlib.
16805 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16807 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16808 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16809 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
16811 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
16812 (READELF): New variable. Use it instead of hardcoded "readelf".
16814 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
16816 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16817 * sysdeps/x86/Makefile: Here.
16818 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16819 * sysdeps/x86/tst-xmmymm.sh: This.
16821 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16823 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16825 [UNIX98] (pthread_barrier_t): Do not expect.
16826 [UNIX98] (pthread_barrierattr_t): Likewise.
16827 [UNIX98] (pthread_spinlock_t): Likewise.
16828 [UNIX98] (pthread_barrier_destroy): Likewise.
16829 [UNIX98] (pthread_barrier_init): Likewise.
16830 [UNIX98] (pthread_barrier_wait): Likewise.
16831 [UNIX98] (pthread_barrierattr_destroy): Likewise.
16832 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16833 [UNIX98] (pthread_barrierattr_init): Likewise.
16834 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16835 [UNIX98] (pthread_getcpuclockid): Likewise.
16836 [UNIX98] (pthread_mutex_timedlock): Likewise.
16837 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16838 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16839 [UNIX98] (pthread_sigmask): Likewise.
16840 [UNIX98] (pthread_spin_destroy): Likewise.
16841 [UNIX98] (pthread_spin_init): Likewise.
16842 [UNIX98] (pthread_spin_lock): Likewise.
16843 [UNIX98] (pthread_spin_trylock): Likewise.
16844 [UNIX98] (pthread_spin_unlock): Likewise.
16845 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16847 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16848 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16849 [XPG3 || XPG4] (pthread_cond_t): Likewise.
16850 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16851 [XPG3 || XPG4] (pthread_key_t): Likewise.
16852 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16853 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16854 [XPG3 || XPG4] (pthread_once_t): Likewise.
16855 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16856 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16857 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16858 [XPG3 || XPG4] (pthread_t): Likewise.
16860 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16862 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16864 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16865 Change function return type to int.
16867 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16868 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16869 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16870 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16871 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16872 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16873 [!POSIX] (posix_madvise): Likewise.
16874 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16876 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16877 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16878 (mode_t): Likewise.
16879 (posix_mem_offset): Likewise.
16880 (posix_typed_mem_get_info): Likewise.
16881 (posix_typed_mem_open): Likewise.
16883 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16884 Change condition to [XOPEN2K8].
16886 * conform/conformtest.pl: Preprocess allow-header data with -x c
16887 instead of from stdin.
16888 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16889 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16890 [C99-based standards] (cerfc): Likewise.
16891 [C99-based standards] (cexp2): Likewise.
16892 [C99-based standards] (cexpm1): Likewise.
16893 [C99-based standards] (clog10): Likewise.
16894 [C99-based standards] (clog1p): Likewise.
16895 [C99-based standards] (clog2): Likewise.
16896 [C99-based standards] (clgamma): Likewise.
16897 [C99-based standards] (ctgamma): Likewise.
16898 [C99-based standards] (cerff): Likewise.
16899 [C99-based standards] (cerfcf): Likewise.
16900 [C99-based standards] (cexp2f): Likewise.
16901 [C99-based standards] (cexpm1f): Likewise.
16902 [C99-based standards] (clog10f): Likewise.
16903 [C99-based standards] (clog1pf): Likewise.
16904 [C99-based standards] (clog2f): Likewise.
16905 [C99-based standards] (clgammaf): Likewise.
16906 [C99-based standards] (ctgammaf): Likewise.
16907 [C99-based standards] (cerfl): Likewise.
16908 [C99-based standards] (cerfcl): Likewise.
16909 [C99-based standards] (cexp2l): Likewise.
16910 [C99-based standards] (cexpm1l): Likewise.
16911 [C99-based standards] (clog10l): Likewise.
16912 [C99-based standards] (clog1pl): Likewise.
16913 [C99-based standards] (clog2l): Likewise.
16914 [C99-based standards] (clgammal): Likewise.
16915 [C99-based standards] (ctgammal): Likewise.
16916 * conform/data/inttypes.h-data [C99-based standards]: Include
16917 stdint.h-data. Remove all expectations for stdint.h contents.
16918 [C99-based standards] (PRI*): Do not allow.
16919 [C99-based standards] (SCN*): Likewise.
16920 [C99-based standards] (*_t): Likewise.
16921 [C99-based-standards] (PRId8): Expect macro.
16922 [C99-based-standards] (PRIi8): Likewise.
16923 [C99-based-standards] (PRIo8): Likewise.
16924 [C99-based-standards] (PRIu8): Likewise.
16925 [C99-based-standards] (PRIx8): Likewise.
16926 [C99-based-standards] (PRIX8): Likewise.
16927 [C99-based-standards] (SCNd8): Likewise.
16928 [C99-based-standards] (SCNi8): Likewise.
16929 [C99-based-standards] (SCNo8): Likewise.
16930 [C99-based-standards] (SCNu8): Likewise.
16931 [C99-based-standards] (SCNx8): Likewise.
16932 [C99-based-standards] (PRIdLEAST8): Likewise.
16933 [C99-based-standards] (PRIiLEAST8): Likewise.
16934 [C99-based-standards] (PRIoLEAST8): Likewise.
16935 [C99-based-standards] (PRIuLEAST8): Likewise.
16936 [C99-based-standards] (PRIxLEAST8): Likewise.
16937 [C99-based-standards] (PRIXLEAST8): Likewise.
16938 [C99-based-standards] (SCNdLEAST8): Likewise.
16939 [C99-based-standards] (SCNiLEAST8): Likewise.
16940 [C99-based-standards] (SCNoLEAST8): Likewise.
16941 [C99-based-standards] (SCNuLEAST8): Likewise.
16942 [C99-based-standards] (SCNxLEAST8): Likewise.
16943 [C99-based-standards] (PRIdFAST8): Likewise.
16944 [C99-based-standards] (PRIiFAST8): Likewise.
16945 [C99-based-standards] (PRIoFAST8): Likewise.
16946 [C99-based-standards] (PRIuFAST8): Likewise.
16947 [C99-based-standards] (PRIxFAST8): Likewise.
16948 [C99-based-standards] (PRIXFAST8): Likewise.
16949 [C99-based-standards] (SCNdFAST8): Likewise.
16950 [C99-based-standards] (SCNiFAST8): Likewise.
16951 [C99-based-standards] (SCNoFAST8): Likewise.
16952 [C99-based-standards] (SCNuFAST8): Likewise.
16953 [C99-based-standards] (SCNxFAST8): Likewise.
16954 [C99-based-standards] (PRId16): Likewise.
16955 [C99-based-standards] (PRIi16): Likewise.
16956 [C99-based-standards] (PRIo16): Likewise.
16957 [C99-based-standards] (PRIu16): Likewise.
16958 [C99-based-standards] (PRIx16): Likewise.
16959 [C99-based-standards] (PRIX16): Likewise.
16960 [C99-based-standards] (SCNd16): Likewise.
16961 [C99-based-standards] (SCNi16): Likewise.
16962 [C99-based-standards] (SCNo16): Likewise.
16963 [C99-based-standards] (SCNu16): Likewise.
16964 [C99-based-standards] (SCNx16): Likewise.
16965 [C99-based-standards] (PRIdLEAST16): Likewise.
16966 [C99-based-standards] (PRIiLEAST16): Likewise.
16967 [C99-based-standards] (PRIoLEAST16): Likewise.
16968 [C99-based-standards] (PRIuLEAST16): Likewise.
16969 [C99-based-standards] (PRIxLEAST16): Likewise.
16970 [C99-based-standards] (PRIXLEAST16): Likewise.
16971 [C99-based-standards] (SCNdLEAST16): Likewise.
16972 [C99-based-standards] (SCNiLEAST16): Likewise.
16973 [C99-based-standards] (SCNoLEAST16): Likewise.
16974 [C99-based-standards] (SCNuLEAST16): Likewise.
16975 [C99-based-standards] (SCNxLEAST16): Likewise.
16976 [C99-based-standards] (PRIdFAST16): Likewise.
16977 [C99-based-standards] (PRIiFAST16): Likewise.
16978 [C99-based-standards] (PRIoFAST16): Likewise.
16979 [C99-based-standards] (PRIuFAST16): Likewise.
16980 [C99-based-standards] (PRIxFAST16): Likewise.
16981 [C99-based-standards] (PRIXFAST16): Likewise.
16982 [C99-based-standards] (SCNdFAST16): Likewise.
16983 [C99-based-standards] (SCNiFAST16): Likewise.
16984 [C99-based-standards] (SCNoFAST16): Likewise.
16985 [C99-based-standards] (SCNuFAST16): Likewise.
16986 [C99-based-standards] (SCNxFAST16): Likewise.
16987 [C99-based-standards] (PRId32): Likewise.
16988 [C99-based-standards] (PRIi32): Likewise.
16989 [C99-based-standards] (PRIo32): Likewise.
16990 [C99-based-standards] (PRIu32): Likewise.
16991 [C99-based-standards] (PRIx32): Likewise.
16992 [C99-based-standards] (PRIX32): Likewise.
16993 [C99-based-standards] (SCNd32): Likewise.
16994 [C99-based-standards] (SCNi32): Likewise.
16995 [C99-based-standards] (SCNo32): Likewise.
16996 [C99-based-standards] (SCNu32): Likewise.
16997 [C99-based-standards] (SCNx32): Likewise.
16998 [C99-based-standards] (PRIdLEAST32): Likewise.
16999 [C99-based-standards] (PRIiLEAST32): Likewise.
17000 [C99-based-standards] (PRIoLEAST32): Likewise.
17001 [C99-based-standards] (PRIuLEAST32): Likewise.
17002 [C99-based-standards] (PRIxLEAST32): Likewise.
17003 [C99-based-standards] (PRIXLEAST32): Likewise.
17004 [C99-based-standards] (SCNdLEAST32): Likewise.
17005 [C99-based-standards] (SCNiLEAST32): Likewise.
17006 [C99-based-standards] (SCNoLEAST32): Likewise.
17007 [C99-based-standards] (SCNuLEAST32): Likewise.
17008 [C99-based-standards] (SCNxLEAST32): Likewise.
17009 [C99-based-standards] (PRIdFAST32): Likewise.
17010 [C99-based-standards] (PRIiFAST32): Likewise.
17011 [C99-based-standards] (PRIoFAST32): Likewise.
17012 [C99-based-standards] (PRIuFAST32): Likewise.
17013 [C99-based-standards] (PRIxFAST32): Likewise.
17014 [C99-based-standards] (PRIXFAST32): Likewise.
17015 [C99-based-standards] (SCNdFAST32): Likewise.
17016 [C99-based-standards] (SCNiFAST32): Likewise.
17017 [C99-based-standards] (SCNoFAST32): Likewise.
17018 [C99-based-standards] (SCNuFAST32): Likewise.
17019 [C99-based-standards] (SCNxFAST32): Likewise.
17020 [C99-based-standards] (PRId64): Likewise.
17021 [C99-based-standards] (PRIi64): Likewise.
17022 [C99-based-standards] (PRIo64): Likewise.
17023 [C99-based-standards] (PRIu64): Likewise.
17024 [C99-based-standards] (PRIx64): Likewise.
17025 [C99-based-standards] (PRIX64): Likewise.
17026 [C99-based-standards] (SCNd64): Likewise.
17027 [C99-based-standards] (SCNi64): Likewise.
17028 [C99-based-standards] (SCNo64): Likewise.
17029 [C99-based-standards] (SCNu64): Likewise.
17030 [C99-based-standards] (SCNx64): Likewise.
17031 [C99-based-standards] (PRIdLEAST64): Likewise.
17032 [C99-based-standards] (PRIiLEAST64): Likewise.
17033 [C99-based-standards] (PRIoLEAST64): Likewise.
17034 [C99-based-standards] (PRIuLEAST64): Likewise.
17035 [C99-based-standards] (PRIxLEAST64): Likewise.
17036 [C99-based-standards] (PRIXLEAST64): Likewise.
17037 [C99-based-standards] (SCNdLEAST64): Likewise.
17038 [C99-based-standards] (SCNiLEAST64): Likewise.
17039 [C99-based-standards] (SCNoLEAST64): Likewise.
17040 [C99-based-standards] (SCNuLEAST64): Likewise.
17041 [C99-based-standards] (SCNxLEAST64): Likewise.
17042 [C99-based-standards] (PRIdFAST64): Likewise.
17043 [C99-based-standards] (PRIiFAST64): Likewise.
17044 [C99-based-standards] (PRIoFAST64): Likewise.
17045 [C99-based-standards] (PRIuFAST64): Likewise.
17046 [C99-based-standards] (PRIxFAST64): Likewise.
17047 [C99-based-standards] (PRIXFAST64): Likewise.
17048 [C99-based-standards] (SCNdFAST64): Likewise.
17049 [C99-based-standards] (SCNiFAST64): Likewise.
17050 [C99-based-standards] (SCNoFAST64): Likewise.
17051 [C99-based-standards] (SCNuFAST64): Likewise.
17052 [C99-based-standards] (SCNxFAST64): Likewise.
17053 [C99-based-standards] (PRIdMAX): Likewise.
17054 [C99-based-standards] (PRIiMAX): Likewise.
17055 [C99-based-standards] (PRIoMAX): Likewise.
17056 [C99-based-standards] (PRIuMAX): Likewise.
17057 [C99-based-standards] (PRIxMAX): Likewise.
17058 [C99-based-standards] (PRIXMAX): Likewise.
17059 [C99-based-standards] (SCNdMAX): Likewise.
17060 [C99-based-standards] (SCNiMAX): Likewise.
17061 [C99-based-standards] (SCNoMAX): Likewise.
17062 [C99-based-standards] (SCNuMAX): Likewise.
17063 [C99-based-standards] (SCNxMAX): Likewise.
17064 [C99-based-standards] (PRIdPTR): Likewise.
17065 [C99-based-standards] (PRIiPTR): Likewise.
17066 [C99-based-standards] (PRIoPTR): Likewise.
17067 [C99-based-standards] (PRIuPTR): Likewise.
17068 [C99-based-standards] (PRIxPTR): Likewise.
17069 [C99-based-standards] (PRIXPTR): Likewise.
17070 [C99-based-standards] (SCNdPTR): Likewise.
17071 [C99-based-standards] (SCNiPTR): Likewise.
17072 [C99-based-standards] (SCNoPTR): Likewise.
17073 [C99-based-standards] (SCNuPTR): Likewise.
17074 [C99-based-standards] (SCNxPTR): Likewise.
17075 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
17077 * conform/data/stdint.h-data: Update comments to clarify
17079 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
17081 [C99-based standards] (INT8_MAX): Likewise.
17082 [C99-based standards] (INT16_MIN): Likewise.
17083 [C99-based standards] (INT16_MAX): Likewise.
17084 [C99-based standards] (INT32_MIN): Likewise.
17085 [C99-based standards] (INT32_MAX): Likewise.
17086 [C99-based standards] (INT64_MIN): Likewise.
17087 [C99-based standards] (INT64_MAX): Likewise.
17088 [C99-based standards] (UINT8_MAX): Likewise.
17089 [C99-based standards] (UINT16_MAX): Likewise.
17090 [C99-based standards] (UINT32_MAX): Likewise.
17091 [C99-based standards] (UINT64_MAX): Likewise.
17092 [C99-based standards] (INT_LEAST8_MIN): Likewise.
17093 [C99-based standards] (INT_LEAST8_MAX): Likewise.
17094 [C99-based standards] (INT_LEAST16_MIN): Likewise.
17095 [C99-based standards] (INT_LEAST16_MAX): Likewise.
17096 [C99-based standards] (INT_LEAST32_MIN): Likewise.
17097 [C99-based standards] (INT_LEAST32_MAX): Likewise.
17098 [C99-based standards] (INT_LEAST64_MIN): Likewise.
17099 [C99-based standards] (INT_LEAST64_MAX): Likewise.
17100 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
17101 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
17102 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
17103 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
17104 [C99-based standards] (INT_FAST8_MIN): Likewise.
17105 [C99-based standards] (INT_FAST8_MAX): Likewise.
17106 [C99-based standards] (INT_FAST16_MIN): Likewise.
17107 [C99-based standards] (INT_FAST16_MAX): Likewise.
17108 [C99-based standards] (INT_FAST32_MIN): Likewise.
17109 [C99-based standards] (INT_FAST32_MAX): Likewise.
17110 [C99-based standards] (INT_FAST64_MIN): Likewise.
17111 [C99-based standards] (INT_FAST64_MAX): Likewise.
17112 [C99-based standards] (UINT_FAST8_MAX): Likewise.
17113 [C99-based standards] (UINT_FAST16_MAX): Likewise.
17114 [C99-based standards] (UINT_FAST32_MAX): Likewise.
17115 [C99-based standards] (UINT_FAST64_MAX): Likewise.
17116 [C99-based standards] (INTPTR_MIN): Likewise.
17117 [C99-based standards] (INTPTR_MAX): Likewise.
17118 [C99-based standards] (UINTPTR_MAX): Likewise.
17119 [C99-based standards] (INTMAX_MIN): Likewise.
17120 [C99-based standards] (INTMAX_MAX): Likewise.
17121 [C99-based standards] (UINTMAX_MAX): Likewise.
17122 [C99-based standards] (PTRDIFF_MIN): Likewise.
17123 [C99-based standards] (PTRDIFF_MAX): Likewise.
17124 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
17125 [C99-based standards] (SIZE_MAX): Likewise.
17126 [C99-based standards] (WCHAR_MAX): Likewise.
17127 [C99-based standards] (WINT_MAX): Likewise.
17128 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
17129 constraint on value.
17130 [C99-based standards] (WCHAR_MIN): Likewise.
17131 [C99-based standards] (WINT_MIN): Likewise.
17132 [C99-based standards] (*_t): Allow.
17133 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
17134 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
17135 Include math.h-data and complex.h-data. Remove all expectations
17136 of math.h and complex.h contents.
17137 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
17139 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
17140 (struct tm): Expect tag.
17141 [C99-based-standards] (wcstof): Expect function.
17142 [C99-based-standards] (wcstold): Likewise.
17143 [C99-based-standards] (wcstoll): Likewise.
17144 [C99-based-standards] (wcstoull): Likewise.
17145 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
17146 macro-int-constant. Specify type.
17147 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
17148 constraint on value.
17149 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17151 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
17153 [ISO C standards]: Do not allow headers.
17154 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
17155 wcs[abcdefghijklmnopqrstuvwxyz]*.
17156 [ISO C standards] (*_t): Do not allow.
17157 * conform/data/wctype.h-data [C99-based standards] (iswblank):
17159 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
17160 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17162 [ISO C standards]: Do not allow headers.
17163 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
17164 is[abcdefghijklmnopqrstuvwxyz]*.
17165 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
17166 to[abcdefghijklmnopqrstuvwxyz]*.
17167 [ISO C standards] (*_t): Do not allow.
17168 * conform/data/stdalign.h-data: New file.
17169 * conform/data/stdbool.h-data: Likewise.
17170 * conform/data/stdnoreturn.h-data: Likewise.
17172 2012-11-07 Roland McGrath <roland@hack.frob.com>
17175 * manual/filesys.texi (Directory Entries): Typo fix.
17176 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
17178 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17180 * elf/elf.h (EM_AARCH64): New macro.
17181 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
17182 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
17183 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
17184 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
17185 (R_AARCH64_TLSDESC): Likewise.
17186 (NT_ARM_TLS): Likewise.
17187 (NT_ARM_HW_BREAK): Likewise.
17188 (NT_ARM_HW_WATCH): Likewise.
17190 2012-11-07 Joseph Myers <joseph@codesourcery.com>
17193 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
17194 (__ieee754_powl): Saturate nonzero exponents with absolute value
17195 below 0x1p-79 to +/- 0x1p-79.
17196 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
17197 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
17198 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
17199 nonzero exponents with absolute value below 0x1p-32 to +/-
17201 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
17202 (__ieee754_powl): Saturate nonzero exponents with absolute value
17203 below 0x1p-79 to +/- 0x1p-79.
17204 * math/libm-test.inc (pow_test): Add more tests.
17206 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17208 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
17209 _dl_s390_cap_flags with kernel. Increase string length.
17210 (_dl_s390_platforms): Add z196 and zEC12.
17212 2012-11-07 Joseph Myers <joseph@codesourcery.com>
17214 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
17215 Change XOPEN21K to XOPEN2K.
17217 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
17219 * string/memmove.c: Use memcpy when possible.
17221 2012-11-06 Andreas Jaeger <aj@suse.de>
17223 * po/eo.po: Update from translation team.
17225 2012-11-06 Joseph Myers <joseph@codesourcery.com>
17228 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
17229 exponent and small x and y exponents, scale x or y up. Increase
17230 by 2 the exponent used in scaling up.
17231 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17232 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17233 * math/libm-test.inc (fma_test): Add more tests.
17234 (fma_test_towardzero): Likewise.
17235 (fma_test_downward): Likewise.
17236 (fma_test_upward): Likewise.
17238 2012-11-05 Joseph Myers <joseph@codesourcery.com>
17241 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
17245 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
17246 namespace for names of struct fields.
17247 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
17249 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
17250 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
17252 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17255 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
17257 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
17259 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
17263 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
17266 2012-11-04 Joseph Myers <joseph@codesourcery.com>
17269 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
17270 definitely overflow as x * y not x * y + z.
17271 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17272 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17273 * math/libm-test.inc (fma_test): Add more tests.
17274 (fma_test_towardzero): Likewise.
17275 (fma_test_downward): Likewise.
17276 (fma_test_upward): Likewise.
17278 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
17282 * include/stub-tag.h: Remove file.
17283 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
17285 * manual/maint.texi (Porting): Don't reference it.
17286 * Makerules ($(objpfx)stubs): Likewise.
17287 * dirent/closedir.c: Don't include <stub-tag.h>.
17288 * dirent/dirfd.c: Likewise.
17289 * dirent/fdopendir.c: Likewise.
17290 * dirent/getdents.c: Likewise.
17291 * dirent/getdents64.c: Likewise.
17292 * dirent/opendir.c: Likewise.
17293 * dirent/readdir.c: Likewise.
17294 * dirent/readdir64.c: Likewise.
17295 * dirent/readdir64_r.c: Likewise.
17296 * dirent/readdir_r.c: Likewise.
17297 * dirent/rewinddir.c: Likewise.
17298 * dirent/seekdir.c: Likewise.
17299 * dirent/telldir.c: Likewise.
17300 * gmon/profil.c: Likewise.
17301 * grp/setgroups.c: Likewise.
17302 * inet/if_index.c: Likewise.
17303 * io/access.c: Likewise.
17304 * io/chdir.c: Likewise.
17305 * io/chmod.c: Likewise.
17306 * io/chown.c: Likewise.
17307 * io/close.c: Likewise.
17308 * io/dup.c: Likewise.
17309 * io/dup2.c: Likewise.
17310 * io/dup3.c: Likewise.
17311 * io/euidaccess.c: Likewise.
17312 * io/faccessat.c: Likewise.
17313 * io/fchdir.c: Likewise.
17314 * io/fchmod.c: Likewise.
17315 * io/fchmodat.c: Likewise.
17316 * io/fchown.c: Likewise.
17317 * io/fchownat.c: Likewise.
17318 * io/fcntl.c: Likewise.
17319 * io/flock.c: Likewise.
17320 * io/fstatfs.c: Likewise.
17321 * io/fstatfs64.c: Likewise.
17322 * io/fstatvfs.c: Likewise.
17323 * io/fstatvfs64.c: Likewise.
17324 * io/futimens.c: Likewise.
17325 * io/fxstat.c: Likewise.
17326 * io/fxstat64.c: Likewise.
17327 * io/fxstatat.c: Likewise.
17328 * io/fxstatat64.c: Likewise.
17329 * io/getcwd.c: Likewise.
17330 * io/isatty.c: Likewise.
17331 * io/lchmod.c: Likewise.
17332 * io/lchown.c: Likewise.
17333 * io/link.c: Likewise.
17334 * io/linkat.c: Likewise.
17335 * io/lseek.c: Likewise.
17336 * io/lseek64.c: Likewise.
17337 * io/lxstat64.c: Likewise.
17338 * io/mkdir.c: Likewise.
17339 * io/mkdirat.c: Likewise.
17340 * io/mkfifo.c: Likewise.
17341 * io/mkfifoat.c: Likewise.
17342 * io/open.c: Likewise.
17343 * io/open64.c: Likewise.
17344 * io/openat.c: Likewise.
17345 * io/openat64.c: Likewise.
17346 * io/pipe.c: Likewise.
17347 * io/pipe2.c: Likewise.
17348 * io/poll.c: Likewise.
17349 * io/posix_fadvise.c: Likewise.
17350 * io/posix_fadvise64.c: Likewise.
17351 * io/posix_fallocate.c: Likewise.
17352 * io/posix_fallocate64.c: Likewise.
17353 * io/read.c: Likewise.
17354 * io/readlink.c: Likewise.
17355 * io/readlinkat.c: Likewise.
17356 * io/rmdir.c: Likewise.
17357 * io/sendfile.c: Likewise.
17358 * io/sendfile64.c: Likewise.
17359 * io/statfs.c: Likewise.
17360 * io/statfs64.c: Likewise.
17361 * io/statvfs.c: Likewise.
17362 * io/statvfs64.c: Likewise.
17363 * io/symlink.c: Likewise.
17364 * io/symlinkat.c: Likewise.
17365 * io/ttyname.c: Likewise.
17366 * io/ttyname_r.c: Likewise.
17367 * io/umask.c: Likewise.
17368 * io/unlink.c: Likewise.
17369 * io/unlinkat.c: Likewise.
17370 * io/utime.c: Likewise.
17371 * io/utimensat.c: Likewise.
17372 * io/write.c: Likewise.
17373 * io/xmknod.c: Likewise.
17374 * io/xmknodat.c: Likewise.
17375 * io/xstat.c: Likewise.
17376 * io/xstat64.c: Likewise.
17377 * login/getpt.c: Likewise.
17378 * login/grantpt.c: Likewise.
17379 * login/unlockpt.c: Likewise.
17380 * math/e_acoshl.c: Likewise.
17381 * math/e_acosl.c: Likewise.
17382 * math/e_asinl.c: Likewise.
17383 * math/e_atan2l.c: Likewise.
17384 * math/e_atanhl.c: Likewise.
17385 * math/e_coshl.c: Likewise.
17386 * math/e_expl.c: Likewise.
17387 * math/e_fmodl.c: Likewise.
17388 * math/e_gammal_r.c: Likewise.
17389 * math/e_hypotl.c: Likewise.
17390 * math/e_j0l.c: Likewise.
17391 * math/e_j1l.c: Likewise.
17392 * math/e_jnl.c: Likewise.
17393 * math/e_lgammal_r.c: Likewise.
17394 * math/e_log10l.c: Likewise.
17395 * math/e_log2l.c: Likewise.
17396 * math/e_logl.c: Likewise.
17397 * math/e_powl.c: Likewise.
17398 * math/e_rem_pio2l.c: Likewise.
17399 * math/e_sinhl.c: Likewise.
17400 * math/e_sqrtl.c: Likewise.
17401 * math/fclrexcpt.c: Likewise.
17402 * math/fedisblxcpt.c: Likewise.
17403 * math/feenablxcpt.c: Likewise.
17404 * math/fegetenv.c: Likewise.
17405 * math/fegetexcept.c: Likewise.
17406 * math/fegetround.c: Likewise.
17407 * math/feholdexcpt.c: Likewise.
17408 * math/fesetenv.c: Likewise.
17409 * math/fesetround.c: Likewise.
17410 * math/feupdateenv.c: Likewise.
17411 * math/fgetexcptflg.c: Likewise.
17412 * math/fraiseexcpt.c: Likewise.
17413 * math/fsetexcptflg.c: Likewise.
17414 * math/ftestexcept.c: Likewise.
17415 * math/k_cosl.c: Likewise.
17416 * math/k_rem_pio2l.c: Likewise.
17417 * math/k_sinl.c: Likewise.
17418 * math/k_tanl.c: Likewise.
17419 * math/s_asinhl.c: Likewise.
17420 * math/s_atanl.c: Likewise.
17421 * math/s_cbrtl.c: Likewise.
17422 * math/s_erfl.c: Likewise.
17423 * math/s_expm1l.c: Likewise.
17424 * math/s_log1pl.c: Likewise.
17425 * math/s_tanhl.c: Likewise.
17426 * misc/acct.c: Likewise.
17427 * misc/brk.c: Likewise.
17428 * misc/chflags.c: Likewise.
17429 * misc/chroot.c: Likewise.
17430 * misc/fchflags.c: Likewise.
17431 * misc/fgetxattr.c: Likewise.
17432 * misc/flistxattr.c: Likewise.
17433 * misc/fremovexattr.c: Likewise.
17434 * misc/fsetxattr.c: Likewise.
17435 * misc/fsync.c: Likewise.
17436 * misc/ftruncate.c: Likewise.
17437 * misc/futimes.c: Likewise.
17438 * misc/futimesat.c: Likewise.
17439 * misc/getdomain.c: Likewise.
17440 * misc/getdtsz.c: Likewise.
17441 * misc/gethostid.c: Likewise.
17442 * misc/gethostname.c: Likewise.
17443 * misc/getloadavg.c: Likewise.
17444 * misc/getpagesize.c: Likewise.
17445 * misc/getsysstats.c: Likewise.
17446 * misc/getxattr.c: Likewise.
17447 * misc/gtty.c: Likewise.
17448 * misc/ioctl.c: Likewise.
17449 * misc/lgetxattr.c: Likewise.
17450 * misc/listxattr.c: Likewise.
17451 * misc/llistxattr.c: Likewise.
17452 * misc/lremovexattr.c: Likewise.
17453 * misc/lsetxattr.c: Likewise.
17454 * misc/lutimes.c: Likewise.
17455 * misc/madvise.c: Likewise.
17456 * misc/mincore.c: Likewise.
17457 * misc/mlock.c: Likewise.
17458 * misc/mlockall.c: Likewise.
17459 * misc/mmap.c: Likewise.
17460 * misc/mprotect.c: Likewise.
17461 * misc/msync.c: Likewise.
17462 * misc/munlock.c: Likewise.
17463 * misc/munlockall.c: Likewise.
17464 * misc/munmap.c: Likewise.
17465 * misc/preadv.c: Likewise.
17466 * misc/preadv64.c: Likewise.
17467 * misc/ptrace.c: Likewise.
17468 * misc/pwritev.c: Likewise.
17469 * misc/pwritev64.c: Likewise.
17470 * misc/readv.c: Likewise.
17471 * misc/reboot.c: Likewise.
17472 * misc/remap_file_pages.c: Likewise.
17473 * misc/removexattr.c: Likewise.
17474 * misc/revoke.c: Likewise.
17475 * misc/select.c: Likewise.
17476 * misc/setdomain.c: Likewise.
17477 * misc/setegid.c: Likewise.
17478 * misc/seteuid.c: Likewise.
17479 * misc/sethostid.c: Likewise.
17480 * misc/sethostname.c: Likewise.
17481 * misc/setregid.c: Likewise.
17482 * misc/setreuid.c: Likewise.
17483 * misc/setxattr.c: Likewise.
17484 * misc/sstk.c: Likewise.
17485 * misc/stty.c: Likewise.
17486 * misc/swapoff.c: Likewise.
17487 * misc/swapon.c: Likewise.
17488 * misc/sync.c: Likewise.
17489 * misc/syncfs.c: Likewise.
17490 * misc/syscall.c: Likewise.
17491 * misc/truncate.c: Likewise.
17492 * misc/ualarm.c: Likewise.
17493 * misc/usleep.c: Likewise.
17494 * misc/ustat.c: Likewise.
17495 * misc/utimes.c: Likewise.
17496 * misc/vhangup.c: Likewise.
17497 * misc/writev.c: Likewise.
17498 * posix/_exit.c: Likewise.
17499 * posix/alarm.c: Likewise.
17500 * posix/execve.c: Likewise.
17501 * posix/fexecve.c: Likewise.
17502 * posix/fork.c: Likewise.
17503 * posix/fpathconf.c: Likewise.
17504 * posix/getaddrinfo.c: Likewise.
17505 * posix/getegid.c: Likewise.
17506 * posix/geteuid.c: Likewise.
17507 * posix/getgid.c: Likewise.
17508 * posix/getgroups.c: Likewise.
17509 * posix/getlogin.c: Likewise.
17510 * posix/getlogin_r.c: Likewise.
17511 * posix/getpgid.c: Likewise.
17512 * posix/getpid.c: Likewise.
17513 * posix/getppid.c: Likewise.
17514 * posix/getresgid.c: Likewise.
17515 * posix/getresuid.c: Likewise.
17516 * posix/getsid.c: Likewise.
17517 * posix/getuid.c: Likewise.
17518 * posix/glob64.c: Likewise.
17519 * posix/nanosleep.c: Likewise.
17520 * posix/pathconf.c: Likewise.
17521 * posix/pause.c: Likewise.
17522 * posix/posix_madvise.c: Likewise.
17523 * posix/pread.c: Likewise.
17524 * posix/pread64.c: Likewise.
17525 * posix/pwrite.c: Likewise.
17526 * posix/pwrite64.c: Likewise.
17527 * posix/sched_getaffinity.c: Likewise.
17528 * posix/sched_getp.c: Likewise.
17529 * posix/sched_gets.c: Likewise.
17530 * posix/sched_primax.c: Likewise.
17531 * posix/sched_primin.c: Likewise.
17532 * posix/sched_rr_gi.c: Likewise.
17533 * posix/sched_setaffinity.c: Likewise.
17534 * posix/sched_setp.c: Likewise.
17535 * posix/sched_sets.c: Likewise.
17536 * posix/sched_yield.c: Likewise.
17537 * posix/setgid.c: Likewise.
17538 * posix/setlogin.c: Likewise.
17539 * posix/setpgid.c: Likewise.
17540 * posix/setresgid.c: Likewise.
17541 * posix/setresuid.c: Likewise.
17542 * posix/setsid.c: Likewise.
17543 * posix/setuid.c: Likewise.
17544 * posix/sleep.c: Likewise.
17545 * posix/spawni.c: Likewise.
17546 * posix/sysconf.c: Likewise.
17547 * posix/times.c: Likewise.
17548 * posix/wait.c: Likewise.
17549 * posix/wait3.c: Likewise.
17550 * posix/wait4.c: Likewise.
17551 * posix/waitpid.c: Likewise.
17552 * resolv/gai_sigqueue.c: Likewise.
17553 * resource/getpriority.c: Likewise.
17554 * resource/getrlimit.c: Likewise.
17555 * resource/getrusage.c: Likewise.
17556 * resource/nice.c: Likewise.
17557 * resource/setpriority.c: Likewise.
17558 * resource/setrlimit.c: Likewise.
17559 * resource/ulimit.c: Likewise.
17560 * rt/aio_cancel.c: Likewise.
17561 * rt/aio_fsync.c: Likewise.
17562 * rt/aio_read.c: Likewise.
17563 * rt/aio_sigqueue.c: Likewise.
17564 * rt/aio_suspend.c: Likewise.
17565 * rt/aio_write.c: Likewise.
17566 * rt/clock_getres.c: Likewise.
17567 * rt/clock_gettime.c: Likewise.
17568 * rt/clock_nanosleep.c: Likewise.
17569 * rt/clock_settime.c: Likewise.
17570 * rt/lio_listio.c: Likewise.
17571 * rt/mq_close.c: Likewise.
17572 * rt/mq_getattr.c: Likewise.
17573 * rt/mq_notify.c: Likewise.
17574 * rt/mq_open.c: Likewise.
17575 * rt/mq_receive.c: Likewise.
17576 * rt/mq_send.c: Likewise.
17577 * rt/mq_setattr.c: Likewise.
17578 * rt/mq_timedreceive.c: Likewise.
17579 * rt/mq_timedsend.c: Likewise.
17580 * rt/mq_unlink.c: Likewise.
17581 * rt/shm_open.c: Likewise.
17582 * rt/shm_unlink.c: Likewise.
17583 * rt/timer_create.c: Likewise.
17584 * rt/timer_delete.c: Likewise.
17585 * rt/timer_getoverr.c: Likewise.
17586 * rt/timer_gettime.c: Likewise.
17587 * rt/timer_settime.c: Likewise.
17588 * setjmp/__longjmp.c: Likewise.
17589 * setjmp/setjmp.c: Likewise.
17590 * signal/kill.c: Likewise.
17591 * signal/killpg.c: Likewise.
17592 * signal/raise.c: Likewise.
17593 * signal/sigaction.c: Likewise.
17594 * signal/sigaltstack.c: Likewise.
17595 * signal/sigblock.c: Likewise.
17596 * signal/sigignore.c: Likewise.
17597 * signal/sigintr.c: Likewise.
17598 * signal/signal.c: Likewise.
17599 * signal/sigpause.c: Likewise.
17600 * signal/sigpending.c: Likewise.
17601 * signal/sigqueue.c: Likewise.
17602 * signal/sigreturn.c: Likewise.
17603 * signal/sigset.c: Likewise.
17604 * signal/sigsetmask.c: Likewise.
17605 * signal/sigstack.c: Likewise.
17606 * signal/sigsuspend.c: Likewise.
17607 * signal/sigtimedwait.c: Likewise.
17608 * signal/sigvec.c: Likewise.
17609 * signal/sigwait.c: Likewise.
17610 * signal/sigwaitinfo.c: Likewise.
17611 * signal/sysv_signal.c: Likewise.
17612 * socket/accept.c: Likewise.
17613 * socket/accept4.c: Likewise.
17614 * socket/bind.c: Likewise.
17615 * socket/connect.c: Likewise.
17616 * socket/getpeername.c: Likewise.
17617 * socket/getsockname.c: Likewise.
17618 * socket/getsockopt.c: Likewise.
17619 * socket/isfdtype.c: Likewise.
17620 * socket/listen.c: Likewise.
17621 * socket/recv.c: Likewise.
17622 * socket/recvfrom.c: Likewise.
17623 * socket/recvmsg.c: Likewise.
17624 * socket/send.c: Likewise.
17625 * socket/sendmsg.c: Likewise.
17626 * socket/sendto.c: Likewise.
17627 * socket/setsockopt.c: Likewise.
17628 * socket/shutdown.c: Likewise.
17629 * socket/sockatmark.c: Likewise.
17630 * socket/socket.c: Likewise.
17631 * socket/socketpair.c: Likewise.
17632 * stdio-common/ctermid.c: Likewise.
17633 * stdio-common/cuserid.c: Likewise.
17634 * stdio-common/remove.c: Likewise.
17635 * stdio-common/rename.c: Likewise.
17636 * stdio-common/renameat.c: Likewise.
17637 * stdio-common/tempname.c: Likewise.
17638 * stdlib/getcontext.c: Likewise.
17639 * stdlib/makecontext.c: Likewise.
17640 * stdlib/setcontext.c: Likewise.
17641 * stdlib/swapcontext.c: Likewise.
17642 * stdlib/system.c: Likewise.
17643 * streams/fattach.c: Likewise.
17644 * streams/fdetach.c: Likewise.
17645 * streams/getmsg.c: Likewise.
17646 * streams/getpmsg.c: Likewise.
17647 * streams/putmsg.c: Likewise.
17648 * streams/putpmsg.c: Likewise.
17649 * sysdeps/unix/bsd/getpt.c: Likewise.
17650 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
17651 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
17652 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17655 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
17656 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17657 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17658 * sysvipc/msgctl.c: Likewise.
17659 * sysvipc/msgget.c: Likewise.
17660 * sysvipc/msgrcv.c: Likewise.
17661 * sysvipc/msgsnd.c: Likewise.
17662 * sysvipc/semctl.c: Likewise.
17663 * sysvipc/semget.c: Likewise.
17664 * sysvipc/semop.c: Likewise.
17665 * sysvipc/semtimedop.c: Likewise.
17666 * sysvipc/shmat.c: Likewise.
17667 * sysvipc/shmctl.c: Likewise.
17668 * sysvipc/shmdt.c: Likewise.
17669 * sysvipc/shmget.c: Likewise.
17670 * termios/tcdrain.c: Likewise.
17671 * termios/tcflow.c: Likewise.
17672 * termios/tcflush.c: Likewise.
17673 * termios/tcgetattr.c: Likewise.
17674 * termios/tcgetpgrp.c: Likewise.
17675 * termios/tcsendbrk.c: Likewise.
17676 * termios/tcsetattr.c: Likewise.
17677 * termios/tcsetpgrp.c: Likewise.
17678 * time/adjtime.c: Likewise.
17679 * time/clock.c: Likewise.
17680 * time/getitimer.c: Likewise.
17681 * time/gettimeofday.c: Likewise.
17682 * time/setitimer.c: Likewise.
17683 * time/settimeofday.c: Likewise.
17684 * time/stime.c: Likewise.
17685 * time/time.c: Likewise.
17687 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
17689 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
17692 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
17694 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
17696 2012-11-03 Joseph Myers <joseph@codesourcery.com>
17699 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
17700 FE_TONEAREST before applying Dekker multiplication and Knuth
17701 addition. Clear inexact exceptions and check for exact zero
17702 results afterwards.
17703 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17704 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17705 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17706 * math/libm-test.inc (fma_test): Add more tests.
17707 (fma_test_towardzero): Likewise.
17708 (fma_test_downward): Likewise.
17709 (fma_test_upward): Likewise.
17710 * sysdeps/generic/math_private.h (default_libc_fesetround): New
17712 (libc_fesetround): New macro.
17713 (libc_fesetroundf): Likewise.
17714 (libc_fesetroundl): Likewise.
17715 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
17717 (libc_fesetround_387): Likewise.
17718 (libc_fesetroundf): New macro.
17719 (libc_fesetround): Likewise.
17720 (libc_fesetroundl): Likewise.
17721 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
17723 (libc_fesetroundf): New macro.
17724 (libc_fesetround): Likewise.
17725 (libc_fesetroundl): Likewise.
17726 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
17727 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
17728 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
17730 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
17731 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
17733 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
17734 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
17736 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
17740 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
17741 integer constant usable in #if and use that to give value to enum
17743 (FE_DIVBYZERO): Likewise.
17744 (FE_UNDERFLOW): Likewise.
17745 (FE_OVERFLOW): Likewise.
17746 (FE_INVALID): Likewise.
17747 (FE_INVALID_SNAN): Likewise.
17748 (FE_INVALID_ISI): Likewise.
17749 (FE_INVALID_IDI): Likewise.
17750 (FE_INVALID_ZDZ): Likewise.
17751 (FE_INVALID_IMZ): Likewise.
17752 (FE_INVALID_COMPARE): Likewise.
17753 (FE_INVALID_SOFTWARE): Likewise.
17754 (FE_INVALID_SQRT): Likewise.
17755 (FE_INVALID_INTEGER_CONVERSION): Likewise.
17756 (FE_TONEAREST): Likewise.
17757 (FE_TOWARDZERO): Likewise.
17758 (FE_UPWARD): Likewise.
17759 (FE_DOWNWARD): Likewise.
17760 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
17761 (FE_DIVBYZERO): Likewise.
17762 (FE_OVERFLOW): Likewise.
17763 (FE_UNDERFLOW): Likewise.
17764 (FE_INEXACT): Likewise.
17765 (FE_TONEAREST): Likewise.
17766 (FE_DOWNWARD): Likewise.
17767 (FE_UPWARD): Likewise.
17768 (FE_TOWARDZERO): Likewise.
17769 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17770 (FE_UNDERFLOW): Likewise.
17771 (FE_OVERFLOW): Likewise.
17772 (FE_DIVBYZERO): Likewise.
17773 (FE_INVALID): Likewise.
17774 (FE_TONEAREST): Likewise.
17775 (FE_TOWARDZERO): Likewise.
17776 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17777 (FE_OVERFLOW): Likewise.
17778 (FE_UNDERFLOW): Likewise.
17779 (FE_DIVBYZERO): Likewise.
17780 (FE_INEXACT): Likewise.
17781 (FE_TONEAREST): Likewise.
17782 (FE_TOWARDZERO): Likewise.
17783 (FE_UPWARD): Likewise.
17784 (FE_DOWNWARD): Likewise.
17785 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17786 (FE_DIVBYZERO): Likewise.
17787 (FE_OVERFLOW): Likewise.
17788 (FE_UNDERFLOW): Likewise.
17789 (FE_INEXACT): Likewise.
17790 (FE_TONEAREST): Likewise.
17791 (FE_DOWNWARD): Likewise.
17792 (FE_UPWARD): Likewise.
17793 (FE_TOWARDZERO): Likewise.
17795 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
17797 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17799 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
17801 * scripts/cross-test-ssh.sh (command): Use newlines to separate
17802 commands. Quote $PWD.
17803 (blacklist_exports): Don't use remove_newlines. Replace "declare
17805 (remove_newlines): Remove.
17807 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
17809 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17810 * stdlib/stdlib.h (atof): Moved to ...
17811 * include/bits/stdlib-float.h: Here. New file.
17812 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17813 * stdlib/bits/stdlib-float.h: New file.
17814 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17816 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17819 2012-11-02 Joseph Myers <joseph@codesourcery.com>
17821 * conform/conformtest.pl (@headers): Add fenv.h.
17822 * conform/data/fenv.h-data: New file.
17823 * include/fenv.h [_ISOMAC]: Disable all contents of file except
17824 include of <math/fenv.h>.
17826 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17827 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17828 && !UNIX98]. Enables tests for XOPEN2K8.
17829 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17830 POSIX2008]: Likewise.
17832 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17833 (struct rusage): Do not expect type or its members.
17836 * math/math.h (FP_NAN): Define macro to integer constant usable in
17837 #if and use that to give value to enum constant.
17838 (FP_INFINITE): Likewise.
17839 (FP_ZERO): Likewise.
17840 (FP_SUBNORMAL): Likewise.
17841 (FP_NORMAL): Likewise.
17843 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
17845 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17846 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17849 2012-11-02 Roland McGrath <roland@hack.frob.com>
17851 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17852 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17853 autoconf-time if not.
17854 * configure.in: Remove AC_PREREQ.
17856 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17858 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17859 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17860 of the internal implementation.
17862 2012-11-02 Joseph Myers <joseph@codesourcery.com>
17864 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17865 except include of <misc/sys/syslog.h>.
17867 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17870 function returns with a NULL context exit with zero.
17872 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17874 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17876 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
17878 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17879 (run_program_cmd): This.
17880 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17881 (tst_langinfo): New variable. Use it.
17883 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
17885 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17886 floating point opcodes.
17888 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17890 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17893 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17895 * sysdeps/mach/hurd/powerpc: Remove directory.
17896 * sysdeps/mach/powerpc: Likewise.
17898 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17900 * scripts/check-local-headers.sh: Ignore c++ headers.
17902 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17904 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17905 __libc_cleanup_region_start argument.
17907 2012-11-01 Joseph Myers <joseph@codesourcery.com>
17911 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17912 x * y using scaling, not as x * y + z.
17913 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17914 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17915 * math/libm-test.inc (fma_test): Add more tests.
17916 (fma_test_towardzero): Likewise.
17917 (fma_test_downward): Likewise.
17918 (fma_test_upward): Likewise.
17920 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17922 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17924 2012-10-31 Joseph Myers <joseph@codesourcery.com>
17926 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17929 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
17931 * rt/tst-shm.c (worker): Correct checking for mmap failure.
17933 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17940 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17943 Fix the order of the list for glibc 2.17.
17944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17947 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17949 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17951 2012-10-31 Joseph Myers <joseph@codesourcery.com>
17954 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17955 for low part of x being zero before using __atanl (y).
17956 * math/libm-test.inc (atan2_test): Add another test.
17958 * manual/install.texi (Configuring and compiling): Document
17959 general use of test-wrapper and test-wrapper-env.
17960 * INSTALL: Regenerated.
17962 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17963 (__fma): Do not extract and scale down low bits on after-rounding
17964 systems when result rounded to normal precision would have normal
17966 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17967 (__fmal): Do not extract and scale down low bits on after-rounding
17968 systems when result rounded to normal precision would have normal
17970 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17971 (__fmal): Do not extract and scale down low bits on after-rounding
17972 systems when result rounded to normal precision would have normal
17974 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17976 (fma_test): Add more tests.
17977 (fma_test_towardzero): Likewise.
17978 (fma_test_downward): Likewise.
17979 (fma_test_upward): Likewise.
17981 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
17983 * sysdeps/i386/tininess.h: Renamed to ...
17984 * sysdeps/x86/tininess.h: This.
17985 * sysdeps/x86_64/tininess.h: Removed.
17987 2012-10-30 Joseph Myers <joseph@codesourcery.com>
17989 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17990 input. Use $(build-program-cmd).
17991 ($(objpfx)tst-array1-static.out): Likewise.
17992 ($(objpfx)tst-array2.out): Likewise.
17993 ($(objpfx)tst-array3.out): Likewise.
17994 ($(objpfx)tst-array4.out): Likewise.
17995 ($(objpfx)tst-array5.out): Likewise.
17996 ($(objpfx)tst-array5-static.out): Likewise.
17998 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
18000 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
18003 * nss/nsswitch.h (nss_interface_function): Provide new
18004 macro for use with NSS functions.
18005 * grp/initgroups.c: Use new macro.
18006 * nss/getXXbyYY.c: Likewise.
18007 * nss/getXXbyYY_r.c: Likewise.
18008 * nss/getXXent.c: Likewise.
18009 * nss/getXXent_r.c: Likewise.
18010 * sysdeps/posix/getaddrinfo.c: Likewise.
18012 2012-10-30 Andreas Jaeger <aj@suse.de>
18014 * po/ru.po: Update Russion translation from translation project.
18016 2012-10-30 Joseph Myers <joseph@codesourcery.com>
18020 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
18021 result and shift together with sticky bit instead of replicating
18022 round-to-nearest rounding.
18023 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18024 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18025 * math/libm-test.inc (fma_test): Add more tests. Do not permit
18026 missing underflow exceptions.
18027 (fma_test_towardzero): Add more tests.
18028 (fma_test_downward): Likewise.
18029 (fma_test_upward): Likewise.
18032 * sysdeps/generic/tininess.h: New file.
18033 * sysdeps/i386/tininess.h: Likewise.
18034 * sysdeps/sh/tininess.h: Likewise.
18035 * sysdeps/x86_64/tininess.h: Likewise.
18036 * stdlib/tst-strtod-underflow.c: Likewise.
18037 * stdlib/tst-tininess.c: Likewise.
18038 * stdlib/strtod_l.c: Include <tininess.h>.
18039 (round_and_return): Do not set errno for exact underflow cases.
18040 Force an underflow exception when setting errno for underflow.
18041 Determine underflow based on rounding to normal precision if
18042 TININESS_AFTER_ROUNDING.
18043 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
18044 ERANGE for exact underflow cases.
18045 * stdlib/Makefile (tests): Add tst-tininess and
18046 tst-strtod-underflow.
18047 ($(objpfx)tst-tininess): Use $(link-libm).
18048 ($(objpfx)tst-strtod-underflow): Likewise.
18050 2012-10-30 Andreas Jaeger <aj@suse.de>
18053 * elf/Makefile (tests): Remove conditional for have-initfini-array
18054 since this is now always required and the variable does not exist
18056 (tests-static): Likewise.
18057 (modules-names): Likewise.
18059 * po/eo.po: Add Esperanto translation from translation project.
18061 * elf/tst-array1.c (fini_array): Make writeable so that it can be
18062 merged with constructor/destructor.
18063 (init_array): Likewise.
18064 * elf/tst-array2dep.c (fini_array): Likewise.
18065 (init_array): Likewise.
18067 2012-10-29 Mike Frysinger <vapier@gentoo.org>
18069 * manual/message.texi: Delete @cartouche tags.
18071 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
18073 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
18075 * sysdeps/mach/hurd/fsync.c: Likewise.
18077 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
18078 [_POSIX_REALTIME_SIGNALS]: Change condition to
18079 [_POSIX_REALTIME_SIGNALS > 0].
18081 2012-10-27 Andreas Jaeger <aj@suse.de>
18083 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
18084 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
18085 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
18086 [__WORDSIZE != 64]: Likewise.
18088 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
18090 * iconvdata/tst-table.sh: Remove ${SHELL}.
18091 * iconvdata/tst-tables.sh: Likewise.
18093 2012-10-25 David S. Miller <davem@davemloft.net>
18095 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18096 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
18099 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
18101 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18102 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
18103 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
18106 2012-10-25 Roland McGrath <roland@hack.frob.com>
18108 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18109 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
18112 2012-10-25 Joseph Myers <joseph@codesourcery.com>
18113 Jim Blandy <jimb@codesourcery.com>
18115 * scripts/cross-test-ssh.sh: New file.
18116 * manual/install.texi (Configuring and compiling): Document use of
18118 * INSTALL: Regenerated.
18120 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
18122 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
18125 2012-10-25 Joseph Myers <joseph@codesourcery.com>
18127 * Makeconfig (run-program-prefix): Fix comment.
18129 2012-10-24 Joseph Myers <joseph@codesourcery.com>
18130 Jim Blandy <jimb@codesourcery.com>
18132 * Makeconfig (test-wrapper): New variable,
18133 (test-wrapper-env): Likewise.
18134 [$(cross-compiling) = yes && $(test-wrapper) != ""]
18135 (run-built-tests): Define to yes.
18136 (run-program-prefix): Use $(test-wrapper).
18137 (built-program-cmd): Likewise.
18138 * Rules (make-test-out): Use $(test-wrapper-env) and
18139 $(host-built-program-cmd).
18140 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
18141 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
18143 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
18144 $(test-wrapper-env) to tst-rtld-load-self.sh.
18145 ($(objpfx)order2.out): Use $(test-wrapper).
18146 ($(objpfx)tst-initorder.out): Likewise.
18147 ($(objpfx)tst-initorder2.out): Likewise.
18148 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
18149 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
18150 (test_wrapper_env): New variable. Use it to run ld.so.
18151 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
18152 Use it to run ld.so.
18153 (test_wrapper_env): Likewise.
18154 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
18155 $(test-wrapper) to run-iconv-test.sh.
18156 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
18157 (ICONV): Use $test_wrapper.
18158 * posix/Makefile ($(objpfx)globtest.out): Pass
18159 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
18160 globtest.sh, not $(run-program-prefix).
18161 * posix/globtest.sh (run_via_rtld_prefix): New variable.
18162 (test_wrapper): Likewise.
18163 (test_wrapper_env): Likewise. Use it to run globtest with HOME
18164 set together with run_via_rtld_prefix.
18165 (run_program_prefix): Define in terms of test_wrapper and
18166 run_via_rtld_prefix.
18168 2012-10-24 Roland McGrath <roland@hack.frob.com>
18170 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
18171 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
18175 * include/time.h: Remove librt_hidden_proto (clock_gettime).
18176 Declare __clock_getres, __clock_gettime, __clock_settime,
18177 __clock_nanosleep, and __clock_getcpuclockid.
18178 * rt/clock_gettime.c: Define __clock_gettime as an alias.
18179 Remove librt_hidden_def (clock_gettime).
18180 * sysdeps/unix/clock_gettime.c: Likewise.
18181 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
18182 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
18183 * rt/clock_getres.c: Define __clock_getres as an alias.
18184 * sysdeps/posix/clock_getres.c: Likewise.
18185 * rt/clock_settime.c: Define __clock_settime as an alias.
18186 * sysdeps/unix/clock_settime.c: Likewise.
18187 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
18188 * sysdeps/unix/clock_nanosleep.c: Likewise.
18189 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
18190 * rt/clock-compat.c: New file.
18191 * rt/Makefile (librt-routines): Add clock-compat and move
18192 $(clock-routines) to ...
18193 (routines): ... here, new variable.
18194 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
18195 Don't add get_clockfreq here.
18196 * rt/Versions (libc: GLIBC_2.17): New version set.
18197 Add clock_* symbols here.
18198 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
18199 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
18200 (GLIBC_2.17): Add clock_* symbols.
18201 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18202 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18203 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18208 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18209 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
18210 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18211 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18212 * NEWS: Mention the move.
18214 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18215 Use __open, __read, __close rather than their public counterparts.
18216 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18217 (__get_clockfreq_via_cpuinfo): Likewise.
18218 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
18219 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
18221 * config.h.in (HAVE_IFUNC): New #undef.
18222 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
18224 * configure: Regenerated.
18226 2012-10-24 Mike Frysinger <vapier@gentoo.org>
18228 * configure.in: Move READELF check to start of file.
18229 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
18230 libc_cv_asm_gnu_indirect_function in the process.
18231 * configure: Regenerated.
18233 2012-10-24 Mike Frysinger <vapier@gentoo.org>
18235 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
18236 send the output to /dev/null.
18237 (libc_cv_cc_with_libunwind): Likewise.
18238 (libc_cv_as_noexecstack): Likewise.
18239 * configure: Regenerate.
18241 2012-10-24 Joseph Myers <joseph@codesourcery.com>
18243 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
18245 * posix/globtest.sh (TMPDIR): Do not set.
18246 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
18247 (testout): Likewise.
18249 2012-10-24 Andreas Jaeger <aj@suse.de>
18251 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
18252 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
18253 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
18254 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
18255 posix_fadvise64, posix_fallocate64.
18257 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
18258 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
18259 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
18261 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
18263 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
18265 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
18266 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
18267 <bits/fcntl-linux.h>.
18268 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
18270 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
18271 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
18272 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
18273 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
18274 [__WORDSIZE != 64]: Likewise.
18276 2012-10-23 Joseph Myers <joseph@codesourcery.com>
18278 * Makeconfig (run-built-tests): New variable.
18279 * Rules [$(cross-compiling) = yes]: Change condition to
18280 [$(run-built-tests) = no].
18281 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
18282 to [$(run-built-tests) = yes].
18283 * elf/Makefile [$(cross-compiling) = no]: Likewise
18284 * grp/Makefile [$(cross-compiling) = no]: Likewise.
18285 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
18286 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
18287 * intl/Makefile [$(cross-compiling) = no]: Likewise.
18288 * io/Makefile [$(cross-compiling) = no]: Likewise.
18289 * libio/Makefile [$(cross-compiling) = no]: Likewise.
18290 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
18291 * misc/Makefile [$(cross-compiling) = no]: Likewise.
18292 * posix/Makefile [$(cross-compiling) = no]: Likewise.
18293 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
18294 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
18295 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
18296 * string/Makefile [$(cross-compiling) = no]: Likewise.
18298 * posix/Makefile ($(objpfx)globtest.out): Pass
18299 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
18300 $(rtld-installed-name).
18301 * posix/globtest.sh (elf_objpfx): Remove variable.
18302 (rtld_installed_name): Likewise.
18303 (library_path): Likewise.
18304 (run_program_prefix): New variable. Use for running globtest
18307 2012-10-23 Jim Blandy <jimb@codesourcery.com>
18308 Joseph Myers <joseph@codesourcery.com>
18310 * Makeconfig (host-built-program-cmd): New variable.
18311 * elf/Makefile (tst-stackguard1-ARGS): Use
18312 $(host-built-program-cmd).
18313 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
18314 (tst-spawn-ARGS): Likewise.
18315 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
18317 2012-10-23 Joseph Myers <joseph@codesourcery.com>
18318 Jim Blandy <jimb@codesourcery.com>
18320 * Makeconfig (run-via-rtld-prefix): New variable.
18321 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
18322 (built-program-cmd): Likewise.
18324 2012-10-22 Andreas Jaeger <aj@suse.de>
18326 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
18327 __O_RSYNC if it exists, otherwise to O_SYNC.
18329 2012-10-22 Jim Blandy <jimb@codesourcery.com>
18330 Joseph Myers <joseph@codesourcery.com>
18332 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
18334 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
18336 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
18339 2012-10-22 Andreas Jaeger <aj@suse.de>
18341 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
18343 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
18345 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18346 bits/fcntl-linux.h.
18348 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
18349 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
18351 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
18353 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
18356 2012-10-21 Jim Blandy <jimb@codesourcery.com>
18357 Joseph Myers <joseph@codesourcery.com>
18359 * config.make.in (NM): New variable.
18361 2012-10-21 Andreas Jaeger <aj@suse.de>
18363 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
18364 definitions and declarations that are provided by
18365 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18367 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18370 * elf/Makefile (tests-static): Add tst-leaks1-static.
18371 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
18372 ($(objpfx)tst-leaks1-static): New rule.
18373 ($(objpfx)tst-leaks1-static-mem): Likewise.
18374 (tst-leaks1-static-ENV): New macro.
18375 * elf/dl-open.c (dl_open_worker): Check the main application
18376 only if SHARED is defined.
18377 * elf/tst-leaks1-static.c: New file.
18379 2012-10-20 Andreas Jaeger <aj@suse.de>
18381 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
18382 generic values for Linux.
18383 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
18384 and declarations that are provided by <bits/fcntl-linux.h> and
18385 include <bits/fcntl-linux.h>.
18386 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18387 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18389 2012-10-20 Roland McGrath <roland@hack.frob.com>
18391 * io/fcntl.h: Move include of <bits/types.h> to the top and
18392 include it unconditionally.
18394 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18396 * wcsmbs/Makefile (tests-ifunc): New variable.
18397 (tests): Add $(tests-ifunc).
18398 * wcsmbs/test-wcschr-ifunc.c: New file.
18399 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18400 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
18401 * wcsmbs/test-wcslen-ifunc.c: Likewise.
18402 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
18403 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
18405 * string/Makefile (tests-ifunc): New variable.
18406 (tests): Add $(tests-ifunc).
18407 * string/test-memccpy.c (TEST_NAME): New macro.
18408 * string/test-memchr.c (TEST_NAME): Likewise.
18409 * string/test-memcmp.c (TEST_NAME): Likewise.
18410 * string/test-memcpy.c (TEST_NAME): Likewise.
18411 * string/test-memmem.c (TEST_NAME): Likewise.
18412 * string/test-memmove.c (TEST_NAME): Likewise.
18413 * string/test-memset.c (TEST_NAME): Likewise.
18414 * string/test-rawmemchr.c (TEST_NAME): Likewise.
18415 * string/test-stpcpy.c (TEST_NAME): Likewise.
18416 * string/test-stpncpy.c (TEST_NAME): Likewise.
18417 * string/test-strcasecmp.c (TEST_NAME): Likewise.
18418 * string/test-strcasestr.c (TEST_NAME): Likewise.
18419 * string/test-strcat.c (TEST_NAME): Likewise.
18420 * string/test-strchr.c (TEST_NAME): Likewise.
18421 * string/test-strcmp.c(TEST_NAME): Likewise.
18422 * string/test-strcpy.c (TEST_NAME): Likewise.
18423 * string/test-strcspn.c (TEST_NAME): Likewise.
18424 * string/test-strlen.c (TEST_NAME): Likewise.
18425 * string/test-strncasecmp.c (TEST_NAME): Likewise.
18426 * string/test-strncmp.c (TEST_NAME): Likewise.
18427 * string/test-strncpy.c (TEST_NAME): Likewise.
18428 * string/test-strnlen.c (TEST_NAME): Likewise.
18429 * string/test-strpbrk.c (TEST_NAME): Likewise.
18430 * string/test-strrchr.c (TEST_NAME): Likewise.
18431 * string/test-strspn.c (TEST_NAME): Likewise.
18432 * string/test-strstr.c (TEST_NAME): Likewise.
18433 * string/test-bcopy-ifunc.c: New file.
18434 * string/test-bzero-ifunc.c: Likewise.
18435 * string/test-memccpy-ifunc.c: Likewise.
18436 * string/test-memchr-ifunc.c: Likewise.
18437 * string/test-memcmp-ifunc.c: Likewise.
18438 * string/test-memcpy-ifunc.c: Likewise.
18439 * string/test-memmem-ifunc.c: Likewise.
18440 * string/test-memmove-ifunc.c: Likewise.
18441 * string/test-mempcpy-ifunc.c: Likewise.
18442 * string/test-memset-ifunc.c: Likewise.
18443 * string/test-rawmemchr-ifunc.c: Likewise.
18444 * string/test-stpcpy-ifunc.c: Likewise.
18445 * string/test-stpncpy-ifunc.c: Likewise.
18446 * string/test-strcasecmp-ifunc.c: Likewise.
18447 * string/test-strcasestr-ifunc.c: Likewise.
18448 * string/test-strcat-ifunc.c: Likewise.
18449 * string/test-strchr-ifunc.c: Likewise.
18450 * string/test-strchrnul-ifunc.c: Likewise.
18451 * string/test-strcmp-ifunc.c: Likewise.
18452 * string/test-strcpy-ifunc.c: Likewise.
18453 * string/test-strcspn-ifunc.c: Likewise.
18454 * string/test-strlen-ifunc.c: Likewise.
18455 * string/test-strncasecmp-ifunc.c: Likewise.
18456 * string/test-strncat-ifunc.c: Likewise.
18457 * string/test-strncmp-ifunc.c: Likewise.
18458 * string/test-strncpy-ifunc.c: Likewise.
18459 * string/test-strnlen-ifunc.c: Likewise.
18460 * string/test-strpbrk-ifunc.c: Likewise.
18461 * string/test-strrchr-ifunc.c: Likewise.
18462 * string/test-strspn-ifunc.c: Likewise.
18463 * string/test-strstr-ifunc.c: Likewise.
18465 * debug/Makefile (tests-ifunc): New variable.
18466 (tests): Add $(tests-ifunc).
18467 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
18468 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
18469 * debug/test-stpcpy_chk-ifunc.c: New file.
18470 * debug/test-strcpy_chk-ifunc.c: Likewise.
18472 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18475 * elf/dl-load.c (open_verify): Retry read if the entire ELF
18476 header is not read in.
18478 2012-10-19 Joseph Myers <joseph@codesourcery.com>
18480 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
18481 script to $(SHELL) as $<. Pass $(common-objpfx) to script
18482 directly. Pass built executable to script as
18483 $(built-program-cmd).
18484 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
18485 $testprogram without using LD_LIBRARY_PATH and $ldso.
18487 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
18488 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
18489 $(rtld-installed-name).
18490 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
18491 (rtld_installed_name): Likewise.
18492 (library_path): Likewise.
18493 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
18494 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
18495 $(run-program-prefix) to tst-tables.sh.
18496 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
18497 it to run tst-table-from and tst-table-to.
18498 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
18499 Pass it to tst-table.sh.
18500 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
18501 $(run-program-prefix) to tst-gettext.sh.
18502 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
18504 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
18506 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
18507 to run tst-gettext.
18508 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
18509 to run tst-gettext2.
18510 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
18511 to run tst-translit.
18512 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
18513 $(run-program-prefix) to tst-mtrace.sh.
18514 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
18516 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
18517 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
18518 $(rtld-installed-name).
18519 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
18520 (rtld_installed_name): Likewise.
18521 (run_program_prefix): New variable. Use it to run wordexp-test.
18523 * Makeconfig (ARCH): Remove all definitions.
18524 (machine): Likewise.
18525 [ARCH]: Remove conditional code.
18526 [!objdir]: Give error.
18527 [!objdir] (objpfx): Remove.
18528 [!objdir] (common-objpfx): Likewise.
18529 [!objdir] (common-objdir): Likewise.
18530 * configure.in (config_makefile): Remove. Hardcode Makefile in
18531 AC_CONFIG_FILES call.
18532 * configure: Regenerated.
18535 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
18537 (testout): Likewise.
18539 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
18540 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
18541 $(rtld-installed-name).
18542 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
18543 (rtld_installed_name): Likwise.
18544 (runit): Remove function.
18545 (run_getconf): New variable, Use it for running getconf binary.
18547 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
18550 * string/test-memmem.c (check_result): New function.
18551 (do_one_test): Use it.
18552 (check1): New function.
18553 (test_main): Use it.
18555 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
18557 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
18559 2012-10-18 Joseph Myers <joseph@codesourcery.com>
18561 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
18562 (_G_LSEEK64): Likewise.
18563 (_G_MMAP64): Likewise.
18564 (_G_FSTAT64): Likewise.
18565 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
18566 (_G_LSEEK64): Likewise.
18567 (_G_MMAP64): Likewise.
18568 (_G_FSTAT64): Likewise.
18569 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
18570 unconditional. Call __mmap64 directly.
18571 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
18572 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
18573 __lseek64 directly.
18574 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
18575 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
18577 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
18578 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
18579 __lseek64 directly.
18580 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
18581 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
18582 __lseek64 directly.
18583 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
18584 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
18585 __lseek64 directly.
18586 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
18587 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
18588 __fxstat64 directly.
18589 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
18590 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
18592 (freopen64) [!_G_OPEN64]: Remove conditional code.
18593 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
18595 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
18596 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
18598 (ftello64) [!_G_LSEEK64]: Remove conditional code.
18599 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
18601 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18602 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
18604 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
18605 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
18607 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18608 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
18610 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18611 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
18613 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18615 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18618 * manual/memory.texi (Malloc Tunable Parameters): Add note
18619 about free list pointers overwriting some perturb bytes.
18620 Wording suggested by Roland McGrath.
18622 2012-10-17 Joseph Myers <joseph@codesourcery.com>
18624 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
18625 (lgamma_test): Likewise.
18626 (tgamma_test): Likewise.
18628 2012-10-16 Florian Weimer <fweimer@redhat.com>
18631 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
18632 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
18634 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
18636 * NEWS: Mention BZ #14716.
18637 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
18638 when removing AVAILABLE1_USES_J macro.
18640 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
18642 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
18643 (__bswap_64): __uint64_t for unsigned 64-bit int.
18645 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
18647 * include/string.h (memmem): Declare libc hidden alias.
18648 * string/memmem.c (memmem): Define libc hidden alias.
18649 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
18650 __read, __close instead of open, read, close.
18652 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
18654 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
18655 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
18657 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
18658 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
18659 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
18661 (__rawmemchr_sse2): Likewise.
18662 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
18663 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
18664 (__strchr_sse2): Likewise.
18665 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
18666 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
18667 (__strcasecmp_sse2): Likewise.
18668 (__strncasecmp_sse2): Likewise.
18669 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
18670 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
18671 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
18672 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
18673 (__strrchr_sse2): Likewise.
18674 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
18676 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18677 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18678 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18679 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18680 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18681 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18682 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18683 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18684 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
18685 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
18686 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
18687 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
18688 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
18689 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18690 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18691 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18692 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18693 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18694 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
18695 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
18696 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
18697 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
18698 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
18699 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18700 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
18701 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18702 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18703 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18704 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18705 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18707 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
18709 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
18710 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
18711 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
18712 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
18714 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
18716 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
18717 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
18718 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
18719 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
18721 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18722 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18723 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18724 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18725 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18726 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18727 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18728 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18729 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18730 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18731 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18732 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18733 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18734 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18735 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18736 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18737 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18738 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
18739 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18740 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18741 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18742 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18743 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18744 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18745 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18746 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18747 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18748 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18749 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18750 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18751 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18752 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18753 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18754 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
18755 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18756 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18757 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18758 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18759 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18760 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18761 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
18763 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
18764 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
18765 * include/ifunc-impl-list.h: New file.
18766 * misc/ifunc-impl-list.c: Likewise.
18767 * misc/Makefile (routines): Add ifunc-impl-list.
18768 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18769 * string/test-string.h: Include <ifunc-impl-list.h>.
18770 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18771 impl_array): New variables.
18772 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18774 (test_init): Call __libc_ifunc_impl_list to initialize
18775 func_list if TEST_IFUNC and TEST_NAME are defined.
18777 * string/Makefile (strop-tests): Add bcopy and bzero.
18778 * string/test-bcopy.c: New file.
18779 * string/test-bzero.c: Likewise.
18780 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18782 * string/test-memset.c: Support bzero test if TEST_BZERO is
18784 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18786 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18788 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18791 2012-10-10 Joseph Myers <joseph@codesourcery.com>
18793 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18794 * configure: Regenerated.
18796 * Makeconfig (+link-static-before-libc): Don't include
18797 $(link-static-libc).
18799 * libio/libio.h (_IO_pos_t): Remove.
18801 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18803 * NEWS: Add note about FIPS mode. Wording suggested by Roland
18806 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18808 * crypt/crypt-entry.c: Include fips-private.h.
18809 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18810 * crypt/md5c-test.c (main): Tolerate disabled MD5.
18811 * sysdeps/unix/sysv/linux/fips-private.h: New file.
18812 * sysdeps/generic/fips-private.h: New file, dummy fallback.
18814 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18816 * crypt/crypt-private.h: Include stdbool.h.
18817 (_ufc_setup_salt_r): Return bool.
18818 * crypt/crypt-entry.c: Include errno.h.
18819 (__crypt_r): Return NULL with EINVAL for bad salt.
18820 * crypt/crypt_util.c (bad_for_salt): New.
18821 (_ufc_setup_salt_r): Check that salt is long enough and within
18822 the specified alphabet.
18823 * crypt/badsalttest.c: New file.
18824 * crypt/Makefile (tests): Add it.
18825 ($(objpfx)badsalttest): New.
18827 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
18829 * NEWS: Add entry for BZ #14602.
18831 2012-10-09 Joseph Myers <joseph@codesourcery.com>
18833 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18835 * math/libm-test.inc: Update comment listing what functions and
18837 (isgreater_test): New function.
18838 (isgreaterequal_test): Likewise.
18839 (isless_test): Likewise.
18840 (islessequal_test): Likewise.
18841 (islessgreater_test): Likewise.
18842 (isunordered_test): Likewise.
18843 (main): Call the new functions.
18845 2012-10-09 Roland McGrath <roland@hack.frob.com>
18847 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18848 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18849 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18850 * sysdeps/i386/configure: Regenerated.
18851 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18852 * sysdeps/mach/configure: Regenerated.
18853 * sysdeps/mach/hurd/configure: Regenerated.
18854 * sysdeps/powerpc/configure: Regenerated.
18855 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18856 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18857 * sysdeps/s390/s390-32/configure: Regenerated.
18858 * sysdeps/s390/s390-64/configure: Regenerated.
18859 * sysdeps/sh/configure: Regenerated.
18860 * sysdeps/sparc/configure: Regenerated.
18861 * sysdeps/unix/sysv/linux/configure: Regenerated.
18862 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18863 * sysdeps/x86_64/configure: Regenerated.
18865 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18866 defined. Don't check if MAP is NULL.
18868 2012-10-09 Joseph Myers <joseph@codesourcery.com>
18870 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18871 (_G_stat64): Likewise.
18872 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18873 (_G_stat64): Likewise.
18874 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18875 instead of struct _G_stat64.
18876 * libio/fileops.c (mmap_remap_check): Likewise.
18877 (decide_maybe_mmap): Likewise.
18878 (_IO_new_file_seekoff): Likewise.
18879 (_IO_file_stat): Likewise.
18880 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18882 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18883 instead of struct _G_stat64.
18884 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18886 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
18889 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18891 (CHECK_EOL): New macro.
18892 (two_way_short_needle): Check beginning of haystack for EOL. Use
18894 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18895 Replace with CHECK_EOL.
18896 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18897 Replace with CHECK_EOL.
18899 2012-10-08 Joseph Myers <joseph@codesourcery.com>
18901 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18903 * math/libm-test.inc: Update comment listing what functions and
18905 (finite_test): New function.
18906 (isinf_test): Likewise.
18907 (isnan_test): Likewise.
18908 (fpclassify_test): Test subnormal input.
18909 (isfinite_test): Likewise.
18910 (isnormal_test): Likewise.
18911 (main): Call the new functions.
18913 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
18916 * Makerules (%.dynsym): Force C locale when running
18917 $(OBJDUMP) --dynamic-syms.
18919 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
18921 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18924 2012-10-06 David S. Miller <davem@davemloft.net>
18926 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18927 upper 32-bits of the length value in %o2 since we use branch-on-register
18928 tests which consider the entire 64-bit register.
18930 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
18932 * string/test-strstr.c (check2): Add a test for page boundary.
18934 2012-10-05 David S. Miller <davem@davemloft.net>
18936 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18937 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18939 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18941 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18942 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18943 and bzero when HWCAP_SPARC_CRYPTO is present.
18945 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
18948 * string/test-strstr.c (check2): New function.
18949 (test_main): Call check2.
18951 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18953 * string/bug-strcasestr1.c (do_test): Moved to ...
18954 * string/test-strcasestr.c (check1): Here. New function.
18955 (do_one_test): Break out result checking code into ...
18956 (check_result): This. New function.
18957 (do_one_test): Call check_result.
18958 (test_main): Call check1.
18959 * string/bug-strchr1.c (do_test): Moved to ...
18960 * string/test-strchr.c (check1): Here. New function.
18961 (do_one_test): Break out result checking code into ...
18962 (check_result): This. New function.
18963 (do_one_test): Call check_result.
18964 (test_main): Call check1.
18965 * string/bug-strstr1.c (main): Moved to ...
18966 * string/test-strstr.c (check1): Here. New function.
18967 (do_one_test): Break out result checking code into ...
18968 (check_result): This. New function.
18969 (do_one_test): Call check_result.
18970 (test_main): Call check1.
18971 * string/bug-strcasestr1.c: Removed.
18972 * string/bug-strchr1.c: Likewise.
18973 * string/bug-strstr1.c: Likewise.
18975 * elf/Makefile (dl-routines): Add hwcaps.
18976 * elf/dl-support.c (_dl_important_hwcaps): Removed.
18977 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18978 (_dl_important_hwcaps): Moved to ...
18979 * elf/dl-hwcaps.c: Here. New file.
18980 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18983 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18984 if IS_IN_rtld isn't defined.
18986 * elf/dl-support.c (_dl_sysinfo_map): New.
18987 Include "get-dynamic-info.h" and "setup-vdso.h".
18988 (_dl_non_dynamic_init): Call setup_vdso.
18989 * elf/dynamic-link.h: Don't include <assert.h>.
18990 (elf_get_dynamic_info): Moved to ...
18991 * elf/get-dynamic-info.h: Here. New file.
18992 * elf/dynamic-link.h: Include "get-dynamic-info.h".
18993 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18994 * elf/setup-vdso.h: Here. New file.
18995 * elf/rtld.c: Include "setup-vdso.h".
18996 (dl_main): Call setup_vdso.
18998 2012-10-05 Joseph Myers <joseph@codesourcery.com>
19000 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
19001 creal in comment listing functions tested. List finite, isinf,
19002 isnan, isless, islessequal, isgreater, isgreaterequal,
19003 islessgreater, isunordered, lgamma_r and pow10 as functions and
19004 macros not tested. Mention which functions not tested are aliases
19005 for other functions. Fix typo. Note that signs of NaNs are not
19008 * scripts/config.guess: Update from config.git.
19009 * scripts/config.sub: Likewise.
19011 2012-10-04 Roland McGrath <roland@hack.frob.com>
19013 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
19014 * misc/madvise.c (madvise): Renamed to __madvise.
19015 Make madvise a weak alias.
19016 * include/sys/mman.h: Declare __madvise.
19017 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
19018 * sysdeps/unix/syscalls.list
19019 (madvise): Make __madvise the strong name, and madvise a weak alias.
19020 * sysdeps/unix/sysv/linux/syscalls.list
19021 (madvise, mmap): Remove redundant entries.
19022 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
19023 * malloc/malloc.c (mtrim): Likewise.
19024 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
19026 2012-10-03 Roland McGrath <roland@hack.frob.com>
19028 * sysdeps/mach/hurd/dl-cache.c: File removed.
19029 * config.h.in (USE_LDCONFIG): New #undef.
19030 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
19031 * configure: Regenerated.
19032 * elf/Makefile (dl-routines): Add dl-cache only under
19033 [$(use-ldconfig) = yes].
19034 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
19035 cache on [USE_LDCONFIG].
19036 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
19038 * elf/rtld.c (dl_main): Likewise.
19040 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
19042 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
19043 _SC_LEVEL4_CACHE_LINESIZE.
19045 2012-10-03 Roland McGrath <roland@hack.frob.com>
19047 * sysdeps/unix/bsd/confstr.h: File removed.
19049 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
19051 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
19054 2012-10-02 Roland McGrath <roland@hack.frob.com>
19056 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
19057 Make 'mapoff' field ElfW(Off) rather than off_t.
19059 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
19061 * nscd/Makefile: Remove nscd-cflags and all its users.
19062 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
19063 (CFLAGS-nonlib): Add compiler flags for nscd modules.
19066 * malloc.c (malloc_printerr): Clarify error message.
19068 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
19071 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19072 Set bit_FMA_Usable if FMA is supported.
19073 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
19075 (bit_FMA4_Usable): Updated.
19076 (index_FMA_Usable): New macro.
19077 (CPUID_FMA): Likewise
19078 (HAS_FMA): Defined with bit_FMA_Usable.
19080 2012-10-01 Roland McGrath <roland@hack.frob.com>
19082 * bits/types.h (__swblk_t): Type removed.
19083 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
19084 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
19085 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19086 (__SWBLK_T_TYPE): Likewise.
19087 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19088 (__SWBLK_T_TYPE): Likewise.
19089 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19090 (__SWBLK_T_TYPE): Likewise.
19091 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19092 (__SWBLK_T_TYPE): Likewise.
19094 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
19095 Honza Horak <hhorak@redhat.com>
19097 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
19098 (xdr_mapname): Use YPMAXMAP as maxsize.
19099 (xdr_peername): Use YPMAXPEER as maxsize.
19100 (xdr_keydat): Use YPAXRECORD as maxsize.
19101 (xdr_valdat): Use YPMAXRECORD as maxsize.
19103 2012-10-01 Roland McGrath <roland@hack.frob.com>
19105 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
19107 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
19108 * csu/init-first.c: ... here.
19109 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
19110 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
19111 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
19112 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19113 * sysdeps/i386/init-first.c: File removed.
19114 * sysdeps/sh/init-first.c: File removed.
19116 2012-10-01 Joseph Myers <joseph@codesourcery.com>
19119 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
19120 if x * y might underflow to zero and z is zero.
19121 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19122 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19123 * math/libm-test.inc (min_subnorm_value): New variable.
19124 (fma_test): Add more tests.
19125 (fma_test_towardzero): Likewise.
19126 (fma_test_downward): Likewise
19127 (fma_test_upward): Likewise.
19128 (initialize): Set min_subnorm_value.
19130 2012-09-29 Joseph Myers <joseph@codesourcery.com>
19133 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
19135 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
19136 mode for addition resulting in exact zero.
19137 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
19138 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
19140 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19141 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19142 * math/libm-test.inc (fma_test): Add more tests.
19143 (fma_test_towardzero): New function.
19144 (fma_test_downward): Likewise.
19145 (fma_test_upward): Likewise.
19146 (main): Call the new functions.
19148 2012-09-28 David S. Miller <davem@davemloft.net>
19150 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
19152 2012-09-28 Roland McGrath <roland@hack.frob.com>
19154 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
19155 instead of SIGALRM.
19157 * sysdeps/gnu/_G_config.h: Moved to ...
19158 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
19159 * sysdeps/mach/hurd/_G_config.h: Moved to ...
19160 * sysdeps/generic/_G_config.h: ... here.
19162 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
19164 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
19166 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
19167 Conditionalize target on [libnss_test1.so-version].
19169 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
19171 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
19172 (elfobjdir): Move out of conditionals.
19174 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
19175 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
19176 (__nss_lookup_function): Conditionalize label remove_from_tree on
19177 [!DO_STATIC_NSS || SHARED], matching its only use.
19179 2012-09-28 David S. Miller <davem@davemloft.net>
19181 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
19182 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
19184 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19186 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19187 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
19188 when HWCAP_SPARC_CRYPTO is present.
19190 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19192 * io/tst-mknodat.c: Create a FIFO instead of a socket.
19194 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
19197 * stdio-common/vfprintf.c (process_string_arg): Revert
19200 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
19202 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
19204 * stdio-common/tst-sprintf.c: Include <locale.h>
19205 (main): Test sprintf's handling of incomplete multibyte
19208 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
19210 * elf/dl-runtime.c (VERSYMIDX): Removed.
19211 * elf/dl-version.c (VERSYMIDX): Likewise.
19212 * elf/do-rel.h (VERSYMIDX): Likewise.
19213 (VALIDX): Likewise.
19214 * elf/dynamic-link.h (VERSYMIDX): Likewise.
19215 * elf/rtld.c (VALIDX): Likewise.
19216 (ADDRIDX): Likewise.
19217 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
19218 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
19219 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
19220 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
19221 (VALIDX): Likewise.
19222 (ADDRIDX): Likewise.
19224 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19226 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
19228 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
19231 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
19233 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
19234 addresses are in the same scope as 192.0.2/24.
19235 * posix/gai.conf: Document new scope table defaults.
19237 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19240 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
19241 for ftell. Compute offsets from write pointers instead.
19242 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19244 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19247 * libio/Makefile (tests): New test case tst-fseek.
19248 * libio/tst-fseek.c: New test case to verify that fseek/ftell
19249 combination works in wide mode.
19250 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
19251 state when the external buffer state changes.
19253 2012-09-27 David S. Miller <davem@davemloft.net>
19256 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
19257 pass reloc->r_addend in as the 'high' argument to
19258 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
19260 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19262 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19264 * rt/tst-aio2.c: Include <pthread.h>.
19265 * rt/tst-aio3.c: Likewise.
19267 2012-09-27 Steve Ellcey <sellcey@mips.com>
19269 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
19271 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
19273 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
19274 contents on [SHARED].
19276 2012-09-26 Marek Polacek <polacek@redhat.com>
19280 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
19281 for C++ and GCC <4.3 as well as for non GCC compilers.
19283 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
19285 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19287 2012-09-25 Roland McGrath <roland@hack.frob.com>
19289 * Makefile.in (all, install): Declare with .PHONY.
19290 Reported by Michael Hope <michael.hope@linaro.org>.
19292 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19294 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
19295 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
19297 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
19299 (sydep_routines): Add the new and the internal functions.
19300 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
19301 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
19302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
19303 (GLIBC_2.17): Add the new function.
19304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19305 (GLIBC_2.17): Likewise.
19306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
19307 (GLIBC_2.17): Likewise.
19308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
19309 (GLIBC_2.17): Likewise.
19310 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
19312 2012-09-25 Alan Modra <amodra@gmail.com>
19314 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
19315 Add release barrier before setting once_control to say
19316 initialisation is done. Add hints on lwarx. Use macro in
19318 (clear_once_control): Add release barrier.
19320 2012-09-25 Joseph Myers <joseph@codesourcery.com>
19323 * math/s_clog.c (__clog): Handle more values close to |z| = 1
19325 * math/s_clog10.c (__clog10): Likewise.
19326 * math/s_clog10f.c (__clog10f): Likewise.
19327 * math/s_clog10l.c (__clog10l): Likewise.
19328 * math/s_clogf.c (__clogf): Likewise.
19329 * math/s_clogl.c (__clogl): Likewise.
19330 * math/Makefile (libm-calls): Add x2y2m1.
19331 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
19332 (__x2y2m1): Likewise.
19333 (__x2y2m1l): Likewise.
19334 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
19335 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
19336 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
19337 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19338 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
19339 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
19340 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
19341 * sysdeps/i386/fpu/libm-test-ulps: Update.
19342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19345 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
19346 int as type of variable DEPTH.
19347 (glob): Use size_t instead of int as type of variables NEWCOUNT
19350 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19352 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19353 Add s_sincosf-sse2.
19354 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
19355 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
19356 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
19357 macros for using routine as __sincosf_ia32.
19358 Use macro for function declaration and weak_alias.
19359 * sysdeps/i386/fpu/libm-test-ulps: Update.
19361 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
19362 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19364 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
19365 subnormal argument.
19366 * math/s_cexpf.c (__cexpf): Likewise.
19367 * math/s_csinf.c (__csinf): Likewise.
19368 * math/s_csinhf.c (__csinhf): Likewise.
19369 * math/s_ctanf.c (__ctanf): Likewise.
19370 * math/s_ctanhf.c (__ctanhf): Likewise.
19371 * math/s_ccosh.c (__ccoshf): Likewise.
19372 * math/s_cexp.c (__cexpl): Likewise.
19373 * math/s_csin.c (__csin): Likewise.
19374 * math/s_csinh.c (__csinh): Likewise.
19375 * math/s_ctan.c (__ctan): Likewise.
19376 * math/s_ctanh.c (ctanh): Likewise.
19377 * math/s_ccoshl.c (__ccoshl): Likewise.
19378 * math/s_cexpl.c (__cexpl): Likewise.
19379 * math/s_csinl.c (__csinl): Likewise.
19380 * math/s_csinhl.c (__csinhl): Likewise.
19381 * math/s_ctanl.c (__ctanl): Likewise.
19382 * math/s_ctanhl.c (__ctanhl): Likewise.
19384 2012-09-25 Joseph Myers <joseph@codesourcery.com>
19386 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
19387 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
19388 (_IO_off_t): Define to __off_t, not _G_off_t.
19389 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
19390 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
19391 (_IO_wint_t): Define to wint_t, not _G_wint_t.
19392 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
19393 type of __dummy and __dummy2 fields.
19394 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
19395 (_G_ssize_t): Likewise.
19396 (_G_off_t): Likewise.
19397 (_G_pid_t): Likewise.
19398 (_G_uid_t): Likewise.
19399 (_G_wchar_t): Likewise.
19400 (_G_wint_t): Likewise.
19401 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
19402 (_G_ssize_t): Likewise.
19403 (_G_off_t): Likewise.
19404 (_G_pid_t): Likewise.
19405 (_G_uid_t): Likewise.
19406 (_G_wchar_t): Likewise.
19407 (_G_wint_t): Likewise.
19408 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
19409 (_G_ssize_t): Likewise.
19410 (_G_off_t): Likewise.
19411 (_G_pid_t): Likewise.
19412 (_G_uid_t): Likewise.
19413 (_G_wchar_t): Likewise.
19414 (_G_wint_t): Likewise.
19416 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19418 * malloc/arena.c: Include malloc-sysdep.h.
19419 (shrink_heap): Use check_may_shrink_heap to decide if madvise
19420 is sufficient to shrink the heap or an unmap is needed.
19421 * sysdeps/generic/malloc-sysdep.h: New file. Define
19422 new function check_may_shrink_heap.
19423 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
19424 new function check_may_shrink_heap.
19426 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19428 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
19431 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
19433 * catgets/test-gencat.sh: Add "set -e".
19434 * elf/tst-pathopt.sh: Likewise.
19435 * grp/tst_fgetgrent.sh: Likewise.
19436 * iconvdata/run-iconv-test.sh: Likewise.
19437 * intl/tst-gettext.sh: Likewise.
19438 * intl/tst-gettext2.sh: Likewise.
19439 * intl/tst-gettext4.sh: Likewise.
19440 * intl/tst-gettext6.sh: Likewise.
19441 * intl/tst-translit.sh: Likewise.
19442 * io/ftwtest-sh: Likewise.
19443 * libio/test-freopen.sh: Likewise.
19444 * malloc/tst-mtrace.sh: Likewise.
19445 * posix/globtest.sh: Likewise.
19446 * posix/tst-getconf.sh: Likewise.
19447 * posix/wordexp-tst.sh: Likewise.
19448 * stdio-common/tst-printf.sh: Likewise.
19449 * stdio-common/tst-unbputc.sh: Likewise.
19450 * stdlib/tst-fmtmsg.sh: Likewise.
19451 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19452 * catgets/Makefile: Do not specify -e option when running
19453 testsuite shell scripts.
19454 * elf/Makefile: Likewise.
19455 * grp/Makefile: Likewise.
19456 * iconvdata/Makefile: Likewise.
19457 * intl/Makefile: Likewise.
19458 * io/Makefile: Likewise.
19459 * libio/Makefile: Likewise.
19460 * malloc/Makefile: Likewise.
19461 * posix/Makefile: Likewise.
19462 * stdio-common/Makefile: Likewise.
19463 * stdlib/Makefile: Likewise.
19464 * sysdeps/x86_64/Makefile: Likewise.
19466 * io/ftwtest-sh: Add copyright header.
19467 * posix/globtest.sh: Likewise.
19468 * posix/tst-getconf.sh: Likewise.
19469 * posix/wordexp-tst.sh: Likewise.
19470 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19472 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
19475 * Makeconfig (+link): Defined as $(+link-static) if
19476 $(build-shared) isn't yes.
19477 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
19479 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
19481 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
19484 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
19485 new chunk size with MALLOC_ALIGN_MASK.
19487 2012-09-24 Joseph Myers <joseph@codesourcery.com>
19490 * stdio-common/printf_fphex.c: Include <stdbool.h> and
19492 (__printf_fphex): Determine rounding using get_rounding_mode and
19494 * stdio-common/tst-printf-round.c (struct hex_test): New
19496 (hex_tests): New variable.
19497 (test_hex_in_one_mode): New function.
19498 (do_test): Also run tests for hex float output.
19500 2012-09-21 Joseph Myers <joseph@codesourcery.com>
19502 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19503 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19504 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
19505 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19506 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19507 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
19508 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19509 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19511 2012-09-20 Joseph Myers <joseph@codesourcery.com>
19513 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
19514 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
19515 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
19516 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
19518 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
19521 * elf/rtld.c (dl_main): Limit the check for self loading to normal
19523 * elf/tst-rtld-load-self.sh: New test.
19524 * elf/Makefile: Run it.
19526 2012-09-18 Joseph Myers <joseph@codesourcery.com>
19528 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
19529 (tst-writev-ENV): Remove.
19530 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
19532 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
19534 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
19536 2012-09-17 Joseph Myers <joseph@codesourcery.com>
19538 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
19540 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
19542 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
19543 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
19544 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
19547 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
19550 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
19551 * config.make.in (have-cpp-asm-debuginfo): Removed.
19552 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
19553 * configure: Regenerated.
19555 2012-09-14 Joseph Myers <joseph@codesourcery.com>
19558 * stdio-common/printf_fp.c: Include <stdbool.h> and
19560 (___printf_fp): Determine rounding using get_rounding_mode and
19562 * stdio-common/tst-printf-round.c: New file.
19563 * stdio-common/Makefile (tests): Add tst-printf-round.
19564 (link-libm): New variable.
19565 ($(objpfx)tst-printf-round): Depend in $(link-libm).
19567 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
19570 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
19571 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
19573 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
19576 2012-09-13 Joseph Myers <joseph@codesourcery.com>
19578 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
19579 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19580 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19581 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19583 2012-09-12 Joseph Myers <joseph@codesourcery.com>
19586 * include/rounding-mode.h: New file.
19587 * sysdeps/generic/get-rounding-mode.h: Likewise.
19588 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
19589 * stdlib/strtod_l.c: Include <rounding-mode.h>.
19590 (MAX_VALUE): New macro.
19591 (MIN_VALUE): Likewise.
19592 (overflow_value): New function.
19593 (underflow_value): Likewise.
19594 (round_and_return): Use overflow_value and underflow_value to
19595 determine return values in overflow and underflow cases. Use
19596 round_away to determine rounding depending on rounding mode.
19597 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
19598 determine return values in overflow and underflow cases.
19599 * stdlib/tst-strtod-round.c: Include <fenv.h>.
19600 (struct test_results): New structure.
19601 (struct test): Use struct test_results to store expected results
19602 for all rounding modes.
19603 (TEST): Include expected results for all rounding modes.
19604 (test_in_one_mode): New function.
19605 (do_test): Use test_in_one_mode to compute and check results.
19606 Check results for all rounding modes.
19607 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
19610 2012-12-09 Allan McRae <allan@archlinux.org>
19612 * sysdeps/i386/fpu/libm-test-ulps: Update
19614 2012-09-11 Joseph Myers <joseph@codesourcery.com>
19616 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
19617 (_G_int32_t): Likewise.
19618 (_G_uint16_t): Likewise.
19619 (_G_uint32_t): Likewise.
19620 (_G_HAVE_BOOL): Likewise.
19621 (_G_HAVE_ATEXIT): Likewise.
19622 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19623 (_G_HAVE_IO_FILE_OPEN): Likewise.
19624 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
19625 (_G_int32_t): Likewise.
19626 (_G_uint16_t): Likewise.
19627 (_G_uint32_t): Likewise.
19628 (_G_HAVE_BOOL): Likewise.
19629 (_G_HAVE_ATEXIT): Likewise.
19630 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19631 (_G_HAVE_IO_FILE_OPEN): Likewise.
19632 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
19633 (_G_int32_t): Likewise.
19634 (_G_uint16_t): Likewise.
19635 (_G_uint32_t): Likewise.
19636 (_G_HAVE_BOOL): Likewise.
19637 (_G_HAVE_ATEXIT): Likewise.
19638 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19639 (_G_HAVE_IO_FILE_OPEN): Likewise.
19641 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
19643 * csu/libc-tls.c: Update copyright years.
19645 2012-09-10 Joseph Myers <joseph@codesourcery.com>
19647 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
19648 [!_G_USING_THUNKS]: Remove conditional code.
19649 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
19650 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
19652 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
19653 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
19654 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19655 (_G_VTABLE_LABEL_PREFIX): Likewise.
19656 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19657 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19658 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19659 (_G_VTABLE_LABEL_PREFIX): Likewise.
19660 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19661 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19662 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19663 (_G_VTABLE_LABEL_PREFIX): Likewise.
19664 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19666 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
19668 * libio/Makefile: Include ../Makeconfig before tests.
19669 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
19670 only if $(build-shared) is yes.
19672 * iconv/gconv_db.c: Update copyright years.
19674 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19676 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
19677 unwind info if defined PIC. Fix special cases description.
19678 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
19680 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
19682 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
19684 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
19686 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
19688 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
19691 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
19692 (LDLIBS-tst-chk4): This.
19693 (LDFLAGS-tst-chk5): Renamed to ...
19694 (LDLIBS-tst-chk5): This.
19695 (LDFLAGS-tst-chk6): Renamed to ...
19696 (LDLIBS-tst-chk6): This.
19697 (LDFLAGS-tst-lfschk4): Renamed to ...
19698 (LDLIBS-tst-lfschk4): This.
19699 (LDFLAGS-tst-lfschk5): Renamed to ...
19700 (LDLIBS-tst-lfschk5): This.
19701 (LDFLAGS-tst-lfschk6): Renamed to ...
19702 (LDLIBS-tst-lfschk6): This.
19704 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
19705 on $(common-objpfx)soversions.mk.
19707 2012-09-07 Joseph Myers <joseph@codesourcery.com>
19710 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
19713 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19715 * malloc/arena.c (arena_get_retry): New function that gets
19716 another arena for the caller to try its request on.
19717 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
19718 current arena cannot fulfill the request.
19719 (__libc_memalign): Likewise.
19720 (__libc_memalign): Likewise.
19721 (__libc_pvalloc): Likewise.
19722 (__libc_calloc): Likewise.
19724 2012-09-05 John Tobey <john.tobey@gmail.com>
19727 * manual/arith.texi (Operations on Complex): Fix description
19728 of carg branch cut.
19730 2012-09-06 Joseph Myers <joseph@codesourcery.com>
19733 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
19737 * manual/memory.texi (Memory): Make order of menu items match
19740 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19742 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
19743 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
19744 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
19746 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19748 * csu/libc-tls.c (static_dtv): Renamed to ...
19749 (_dl_static_dtv): This. Make it global.
19750 (_dl_initial_dtv): Removed.
19751 (__libc_setup_tls): Updated.
19752 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
19753 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
19756 2012-09-06 Petr Machata <pmachata@redhat.com>
19758 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
19759 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
19760 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
19761 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
19763 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19766 * csu/libc-tls.c (_dl_initial_dtv): New variable.
19767 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19770 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19773 * Makeconfig (link-static-before-libc): Replace $(+prector)
19775 (link-static-after-libc): Replace $(+postctor) with
19777 (link-bounded): Replace $(+prector)/$(+postctor) with
19778 $(+prectorT)/$(+postctorT).
19779 (+prectorT): New macro.
19780 (+postctorT): Likewise.
19782 2012-09-06 Joseph Myers <joseph@codesourcery.com>
19784 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19785 (round_str): Handle values above the maximum for IBM long double
19787 * stdlib/tst-strtod-round.c (tests): Regenerated.
19789 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19791 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19793 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19794 zarch_nohighgprs around the zarch optimized routines.
19795 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19796 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19797 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19800 2012-09-05 David S. Miller <davem@davemloft.net>
19802 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19804 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19805 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19806 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19807 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19810 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19812 * malloc/arena.c: Fold copyright years.
19813 * malloc/mcheck.c, malloc/memusage.c: Likewise.
19815 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19817 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19819 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19821 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
19823 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19825 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19826 change internal state upon failure.
19828 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19830 * malloc/mcheck.c (mcheck_check_all): Fix typo.
19831 * malloc/memusage.c (mmap): Likewise.
19832 (mmap64, mremap): Likewise. Adjust name in comment.
19834 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19836 * libio/fileops.c: Fix typos in comments.
19837 * libio/oldfileops.c: Likewise.
19838 * libio/wfileops.c: Likewise.
19840 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19843 * malloc/Makefile (tests): Add tst-malloc-usable test case.
19844 (tst-malloc-usable-ENV): Set environment for test case.
19845 * malloc/hooks.c (malloc_check_get_size): New function to get
19847 * malloc/malloc.c (musable): Use malloc_check_get_size.
19848 * malloc/tst-malloc-usable.c: New test case.
19850 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19852 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19854 2012-09-05 Allan McRae <allan@archlinux.org>
19857 * configure.in (CXX_SYSINCLUDES): Use compiler output to
19858 determine header location.
19859 * configure: Regenerated.
19861 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19863 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19865 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
19866 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19868 (test): Regenerate.
19870 2012-09-04 David S. Miller <davem@davemloft.net>
19872 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19873 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19874 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19876 2012-09-04 Florian Weimer <fweimer@redhat.com>
19878 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19881 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19883 2012-09-04 Joseph Myers <joseph@codesourcery.com>
19886 * libio/iogetdelim.c: Include <limits.h>.
19887 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19888 + len + 1 would overflow.
19890 2012-09-03 Andreas Jaeger <aj@suse.de>
19892 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19893 * sysdeps/i386/fpu/libm-test-ulps: Update.
19895 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19897 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19898 Add s_sinf-sse2, s_conf-sse2.
19900 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19901 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19902 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19903 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19905 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19906 for using routine as __sinf_ia32.
19907 Use macro for function declaration and weak_alias.
19908 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19909 for using routine as __cosf_ia32.
19910 Use macro for function declaration and weak_alias.
19912 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19913 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19915 * sysdeps/x86_64/fpu/s_sinf.S: New file.
19916 * sysdeps/x86_64/fpu/s_cosf.S: New file.
19917 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19919 * math/libm-test.inc (cos_test): Add more test cases.
19920 (sin_test): Likewise.
19921 (sincos_test): Likewise.
19923 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19925 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19926 (IFUNC_RESOLVE): Make pointers to the specialized implementations
19928 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19930 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
19933 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19934 first element of the GOT.
19935 (elf_machine_load_address): Return the difference between
19936 the runtime address of _DYNAMIC and elf_machine_dynamic ().
19938 2012-09-01 Allan McRae <allan@archlinux.org>
19941 * configure.in (AWK): Require gawk version 3.0 or later.
19942 * configure: Regenerated.
19944 2012-09-01 Joseph Myers <joseph@codesourcery.com>
19946 * sysdeps/unix/sysv/linux/kernel-features.h
19947 (__ASSUME_POSIX_CPU_TIMERS): Remove.
19948 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19949 [__NR_clock_getres]: Make code unconditional.
19950 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19951 (clock_getcpuclockid): Remove code left unreachable by removal of
19953 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19954 code unconditional.
19955 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19956 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19957 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19958 Make code unconditional.
19959 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19960 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19961 * sysdeps/unix/sysv/linux/clock_settime.c
19962 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19964 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19965 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19967 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
19970 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19971 scripts/test-installation.pl.
19973 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19974 and $ld_so_version if it is set.
19976 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19979 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19980 failure if reading from procfs failed.
19981 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19983 2012-08-27 Joseph Myers <joseph@codesourcery.com>
19985 * sysdeps/unix/sysv/linux/kernel-features.h
19986 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19987 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19988 Remove conditional code.
19989 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19990 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19991 Remove conditional code.
19992 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19993 * sysdeps/unix/sysv/linux/i386/fxstat.c
19994 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19995 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19996 * sysdeps/unix/sysv/linux/i386/fxstatat.c
19997 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19998 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19999 * sysdeps/unix/sysv/linux/i386/lxstat.c
20000 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20001 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20002 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
20003 Remove conditional code.
20004 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20005 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
20006 Remove conditional code.
20007 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20008 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
20009 <kernel-features.h>.
20010 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
20012 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
20013 Remove conditional code.
20014 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20015 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
20016 Remove conditional.
20018 2012-08-27 Mike Frysinger <vapier@gentoo.org>
20021 * NEWS: Add fixed bug number.
20023 2012-08-27 Joseph Myers <joseph@codesourcery.com>
20026 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
20027 underflowing exponent in case of negative sign.
20028 * stdlib/tst-strtod-round-data: Add more tests.
20029 * stdlib/tst-strtod-round.c (tests): Regenerated.
20032 * stdlib/strtod_l.c (NDIG): Remove.
20033 (HEXNDIG): Likewise.
20034 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
20035 smallest representable value.
20036 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
20037 lie within an exact representation of 1/2 ulp of the result.
20038 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
20040 (TENS_P9_IDX): Define unconditionally.
20041 (TENS_P9_SIZE): Likewise.
20042 (TENS_P10_IDX): Likewise.
20043 (TENS_P10_SIZE): Likewise.
20044 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
20045 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
20046 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
20047 entries for 10^2^13 and 10^2^14.
20048 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
20049 (TENS_P13_IDX): Define.
20050 (TENS_P13_SIZE): Likewise.
20051 (TENS_P14_IDX): Likewise.
20052 (TENS_P14_SIZE): Likewise.
20053 (_fpioconst_pow10): Change array size to
20054 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
20056 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
20057 1024]: Add entries for 10^2^13 and 10^2^14.
20058 [LAST_POW10 > _LAST_POW10]: Remove #error.
20059 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
20060 (_fpioconst_pow10): Change array size to
20061 FPIOCONST_POW10_ARRAY_SIZE.
20062 * stdlib/gen-fpioconst.c: New file.
20063 * stdlib/gen-tst-strtod-round.c: Likewise.
20064 * stdlib/tst-strtod-round-data: Likewise.
20065 * stdlib/tst-strtod-round.c: Likewise.
20066 * stdlib/Makefile (tests): Add tst-strtod-round.
20069 * stdlib/strtod_l.c: Include <stdint.h>.
20070 (NDEBUG): Do not define.
20071 (round_and_return): Change EXPONENT parameter to type intmax_t.
20072 Rearrange calculations to avoid internal overflow possibilities.
20073 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
20074 Rearrange calculations to avoid internal overflow possibilities.
20075 Assert that number fits inside MPNSIZE limbs.
20076 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
20077 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
20078 calculations and add assertions to avoid internal overflow
20079 possibilities. Add casts to avoid signed/unsigned operations.
20080 * stdlib/tst-strtod-overflow.c: New file.
20081 * stdlib/Makefile (tests): Add tst-strtod-overflow.
20083 2012-08-25 Marek Polacek <polacek@redhat.com>
20085 * time/time.h: Fix some typos in comments.
20087 2012-08-23 Roland McGrath <roland@hack.frob.com>
20089 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
20090 * posix/tst-rfc3484-2.c: Likewise.
20091 * posix/tst-rfc3484-3.c: Likewise.
20093 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
20095 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
20096 (EF_ARM_ABI_FLOAT_HARD): Likewise.
20098 2012-08-23 Joseph Myers <joseph@codesourcery.com>
20100 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
20101 #include of fxstatat64.c.
20103 2012-08-22 Roland McGrath <roland@hack.frob.com>
20105 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
20106 * shadow/getspent_r.c: Likewise.
20107 * shadow/getspnam.c: Likewise.
20108 * shadow/getspnam_r.c: Likewise.
20109 * gshadow/getsgent.c: Likewise.
20110 * gshadow/getsgent_r.c: Likewise.
20111 * gshadow/getsgnam.c: Likewise.
20112 * gshadow/getsgnam_r.c: Likewise.
20113 * inet/getnetbyad.c: Likewise.
20114 * inet/getnetbyad_r.c: Likewise.
20115 * inet/getnetbynm.c: Likewise.
20116 * inet/getnetbynm_r.c: Likewise.
20117 * inet/getnetent.c: Likewise.
20118 * inet/getnetent_r.c: Likewise.
20119 * inet/getproto.c: Likewise.
20120 * inet/getproto_r.c: Likewise.
20121 * inet/getprtent.c: Likewise.
20122 * inet/getprtent_r.c: Likewise.
20123 * inet/getprtname.c: Likewise.
20124 * inet/getprtname_r.c: Likewise.
20125 * inet/getrpcbyname.c: Likewise.
20126 * inet/getrpcbyname_r.c: Likewise.
20127 * inet/getrpcbynumber.c: Likewise.
20128 * inet/getrpcbynumber_r.c: Likewise.
20129 * inet/getrpcent.c: Likewise.
20130 * inet/getrpcent_r.c: Likewise.
20131 * inet/getaliasent.c: Likewise.
20132 * inet/getaliasent_r.c: Likewise.
20133 * inet/getaliasname.c: Likewise.
20134 * inet/getaliasname_r.c: Likewise.
20135 * nscd/getgrgid_r.c: Likewise.
20136 * nscd/getgrnam_r.c: Likewise.
20137 * nscd/gethstbyad_r.c: Likewise.
20138 * nscd/gethstbynm3_r.c: Likewise.
20139 * nscd/getpwnam_r.c: Likewise.
20140 * nscd/getpwuid_r.c: Likewise.
20141 * nscd/getsrvbynm_r.c: Likewise.
20142 * nscd/getsrvbypt_r.c: Likewise.
20143 * nscd/gai.c: Likewise.
20145 * configure.in (build_nscd): New substituted variable, set
20146 by --disable-build-nscd and defaults to $use_nscd.
20147 * configure: Regenerated.
20148 * config.make.in (build-nscd): New substituted variable.
20149 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
20150 Change conditional to require [$(build-nscd) = yes] as well.
20151 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
20154 * configure.in (use_nscd): New substituted variable, set by
20155 --disable-nscd. If enabled, define USE_NSCD.
20156 * configure: Regenerated.
20157 * config.h.in: Add USE_NSCD.
20158 * config.make.in (use-nscd): New substituted variable.
20159 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
20160 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
20161 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
20162 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
20163 (CFLAGS-getgrnam_r.c): Likewise.
20164 (CFLAGS-initgroups.c): Likewise.
20165 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
20166 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
20168 * inet/getnetgrent_r.c
20169 (nscd_setnetgrent): New function, broken out of ...
20170 (setnetgrent): ... here. Call it.
20171 (innetgr): Conditionalize nscd bits on [USE_NSCD].
20172 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
20173 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
20174 * nscd/Makefile (routines, aux): Move definitions after include of
20175 Makeconfig. Conditionalize on [$(use-nscd) != no].
20176 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
20177 Conditionalize on [USE_NSCD].
20178 (is_nscd, nscd_init_cb): Likewise.
20179 (nss_load_library): Conditionalize init callback on [USE_NSCD].
20180 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
20181 * nss/nss_db/db-init.c: Likewise.
20182 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
20184 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
20185 (make_request): Use it.
20186 (cache_valid_p): New function.
20187 (__check_pf): Use it.
20188 * NEWS: Add item for --disable-nscd.
20190 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
20192 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
20193 to support sed >= 4.2.1-20-ga9bf076.
20194 * configure: Regenerated.
20196 2012-08-22 Roland McGrath <roland@hack.frob.com>
20198 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
20199 Conditionalize whole body on [IREL].
20201 2012-08-22 Jeff Law <law@redhat.com>
20204 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
20205 if the family is PF_UNSPEC.
20207 2012-08-22 Mike Frysinger <vapier@gentoo.org>
20209 * Makerules (lib-version): Rename from V.
20210 (install-lib-nosubdir): Change V to lib-version.
20212 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
20215 * powerpc32/power6/wcschr.c: New file.
20216 * powerpc32/power6/wcscpy.c: New file.
20217 * powerpc32/power6/wcsrchr.c: New file.
20218 * powerpc64/power6/wcschr.c: New file.
20219 * powerpc64/power6/wcscpy.c: New file.
20220 * powerpc64/power6/wcsrchr.c: New file.
20222 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
20224 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
20225 (two_way_short_needle): Use it.
20226 * string/strstr.c (AVAILABLE1_USES_J): Define.
20227 * string/strcasestr.c: Likewise.
20229 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
20231 * string/strcasestr.c (TOLOWER): Make side-effect safe.
20234 * NEWS: Add an entry.
20235 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
20236 define their defaults.
20237 (two_way_short_needle): Detect end-of-string on-the-fly.
20238 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
20239 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
20240 * string/bug-strcasestr1.c: New test.
20241 * string/Makefile: Run it.
20243 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
20246 * string/str-two-way.h (two_way_short_needle): Optimize matching of
20247 the first character.
20249 2012-08-21 Roland McGrath <roland@hack.frob.com>
20251 * csu/elf-init.c (__libc_csu_irel): Function removed.
20252 * csu/libc-start.c (apply_irel): New function.
20253 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
20255 2012-08-21 Joseph Myers <joseph@codesourcery.com>
20257 * sysdeps/unix/sysv/linux/kernel-features.h
20258 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
20259 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20260 <kernel-features.h>.
20261 [__NR_fadvise64_64]: Make code unconditional.
20262 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
20263 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20264 !__NR_fadvise64_64)]: Likewise.
20265 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20266 !__NR_fadvise64_64))]: Likewise.
20267 [__NR_fadvise64]: Make code unconditional.
20268 [!__NR_fadvise64]: Remove conditional code.
20269 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
20270 <kernel-features.h>.
20271 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20273 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
20276 not include <kernel-features.h>.
20277 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20279 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20281 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
20282 include <kernel-features.h>.
20283 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20285 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20288 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
20290 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
20291 slight instruction rearrangements per scrollpipe analysis.
20292 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20294 2012-08-20 Roland McGrath <roland@hack.frob.com>
20296 * manual/syslog.texi (syslog; vsyslog, closelog):
20297 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
20298 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
20300 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
20301 DSOCAPS to match condition on defining it.
20303 2012-08-20 Joseph Myers <joseph@codesourcery.com>
20305 * sysdeps/unix/sysv/linux/kernel-features.h
20306 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
20307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
20308 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20309 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
20311 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20312 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
20314 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20315 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20317 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
20318 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
20320 * sysdeps/unix/sysv/linux/kernel-features.h
20321 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
20322 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
20324 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20325 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
20326 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20327 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20328 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
20329 Make code unconditional.
20330 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20331 (__mmap64) [!__NR_mmap2]: Likewise.
20332 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
20333 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20334 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20335 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
20336 [__NR_mmap2]: Make code unconditional.
20337 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20338 (__mmap64) [!__NR_mmap2]: Likewise.
20340 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20342 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
20344 2012-08-18 Andreas Jaeger <aj@suse.de>
20346 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
20348 2012-08-18 Mike Frysinger <vapier@gentoo.org>
20350 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
20351 * include/unistd.h (__have_sock_cloexec): Likewise.
20352 (__have_pipe2): Likewise.
20353 (__have_dup3): Likewise.
20355 2012-08-18 Mike Frysinger <vapier@gentoo.org>
20358 * include/unistd.h (__have_pipe2): Change define into an extern int.
20359 (__have_dup3): Likewise.
20360 * socket/have_sock_cloexec.c: Include fcntl.h.
20361 (__have_pipe2): New variable.
20362 (__have_dup3): Likewise.
20364 2012-08-17 Mike Frysinger <vapier@gentoo.org>
20366 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
20368 2012-08-17 Marek Polacek <polacek@redhat.com>
20370 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
20371 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
20373 2012-08-17 Roland McGrath <roland@hack.frob.com>
20375 * configure.in: Add AC_SUBST for sysheaders.
20376 * configure: Regenerated.
20377 * config.make.in (sysheaders): New substituted variable.
20379 * sysdeps/unix/mkfifo.c: Moved ...
20380 * sysdeps/posix/mkfifo.c: ... here.
20381 * sysdeps/unix/mkfifoat.c: Moved ...
20382 * sysdeps/posix/mkfifoat.c: ... here.
20384 * sysdeps/unix/utime.c: Moved ...
20385 * sysdeps/posix/utime.c: ... here.
20387 * sysdeps/unix/time.c: Moved ...
20388 * sysdeps/posix/time.c: ... here.
20389 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
20390 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
20392 * sysdeps/unix/nice.c: Moved ...
20393 * sysdeps/posix/nice.c: ... here.
20395 * sysdeps/unix/alarm.c: Moved ...
20396 * sysdeps/posix/alarm.c: ... here.
20398 * intl/Makefile ($(codeset_mo)): Depend on the input file.
20400 2012-08-17 Jeff Law <law@redhat.com>
20402 * intl/Makefile (codeset_mo): New variable.
20403 ($(codeset_mo)): New target.
20404 (tst-codeset.out): Depend on that. Remove explicit rule.
20405 (tst-gettext3.out, tst-gettext5.out): Likewise.
20406 (LOCPATH-ENV, tst-codeset-ENV): New variables.
20407 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
20408 * intl/tst-codeset.sh: Remove.
20409 * intl/tst-gettext3.sh: Likewise.
20410 * intl/tst-gettext5.sh: Likewise.
20412 2012-08-17 Roland McGrath <roland@hack.frob.com>
20414 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
20415 * sysdeps/unix/syscalls.list: ... here.
20417 * sysdeps/posix/getaddrinfo.c
20418 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
20419 (gaiconf_init, gaiconf_reload): Use them.
20420 [!_STATBUF_ST_NSEC]
20421 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
20422 Define using time_t rather than struct timespec.
20424 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
20425 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
20427 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
20429 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
20430 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
20433 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
20434 __libc_cleanup_push argument.
20436 * bits/param.h: New file.
20437 * misc/sys/param.h: New file.
20438 * include/sys/param.h: New file.
20439 * misc/Makefile (headers): Add bits/param.h.
20440 * sysdeps/generic/sys/param.h: File removed.
20441 * sysdeps/unix/sysv/linux/bits/param.h: New file.
20442 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
20443 * sysdeps/mach/hurd/bits/param.h: New file.
20444 * sysdeps/mach/hurd/sys/param.h: File removed.
20446 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
20449 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
20451 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
20452 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
20455 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
20456 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
20457 rather than -D_IO_MTSAFE_IO conditionally.
20458 * stdio-common/Makefile (CPPFLAGS): Likewise.
20459 * wcsmbs/Makefile (CPPFLAGS): Likewise.
20460 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
20461 Use $(libio-mtsafe).
20462 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
20463 of -D_IO_MTSAFE_IO.
20464 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
20465 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
20466 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
20467 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
20468 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
20469 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
20470 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
20471 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
20472 (CFLAGS-fread_u_chk.c): Likewise.
20473 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
20474 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
20475 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
20476 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
20477 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
20478 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
20479 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
20480 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
20481 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
20483 * libio/Makefile: Test [$(libc-reentrant) = yes]
20484 instead of [$(filter %REENTRANT, $(defines)) nonempty].
20487 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
20488 * sysdeps/pthread/configure: File removed.
20489 * sysdeps/pthread/Makeconfig: New file.
20490 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
20491 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
20493 2012-08-16 Gary Benson <gbenson@redhat.com>
20495 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
20496 unmapping the first object in a namespace.
20498 2012-08-16 Roland McGrath <roland@hack.frob.com>
20500 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
20501 (__internal_setnetgrent): ... this. Add internal_function to
20502 definition. Add libc_hidden_def.
20503 (setnetgrent): Update caller.
20504 (internal_endnetgrent): Renamed to ...
20505 (__internal_endnetgrent): ... this. Add internal_function to
20506 definition. Add libc_hidden_def.
20507 (endnetgrent): Update caller.
20508 (internal_getnetgrent_r): Renamed to ...
20509 (__internal_getnetgrent_r): ... this. Add internal_function to
20510 definition. Add libc_hidden_def.
20511 (__getnetgrent_r): Update caller.
20512 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
20514 2012-08-16 Joseph Myers <joseph@codesourcery.com>
20516 * stdlib/longlong.h: Update from GCC.
20518 2012-08-16 Roland McGrath <roland@hack.frob.com>
20520 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
20521 on _QL, which is set by umul_ppmm but never used.
20522 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
20523 variables, which are set by GMP macros but never used.
20524 * stdio-common/_itowa.c (_itowa): Likewise.
20525 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
20526 * stdlib/mod_1.c (mpn_mod_1): Likewise.
20528 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
20530 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
20531 struct La_sh_regs is not constant.
20532 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
20533 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
20534 and struct La_sparc64_regs are not constant.
20536 2012-08-16 Joseph Myers <joseph@codesourcery.com>
20538 * sysdeps/unix/sysv/linux/kernel-features.h
20539 (__ASSUME_POSIX_TIMERS): Remove.
20540 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20541 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20542 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
20543 Make code unconditional.
20544 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20545 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
20546 Make code unconditional.
20547 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20548 * sysdeps/unix/sysv/linux/clock_nanosleep.c
20549 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
20550 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20551 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
20552 Make code unconditional.
20553 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20554 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
20555 (__libc_missing_posix_timers): Remove.
20557 2012-08-15 Roland McGrath <roland@hack.frob.com>
20559 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
20560 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
20562 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
20564 * elf/dl-sym.c: Include <stdlib.h>.
20566 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
20567 constants, which avoids warnings in 32-bit builds.
20569 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
20570 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
20572 * misc/lseek.c: File moved to ...
20573 * io/lseek.c: ... here.
20575 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
20577 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
20578 shifting LEN more than 31 bits at once.
20580 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20583 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
20584 segmentation fault for a case of two empty input strings.
20585 * string/test-strncasecmp.c (check1): Renamed to...
20586 (bz12205): ...this.
20587 (bz14195): Add new testcase for two empty input strings and N > 0.
20588 (test_main): Call new testcase, adapt for renamed function.
20590 2012-08-15 Andreas Jaeger <aj@suse.de>
20593 * crypt/md5test2.c: New test, based on test supplied by Serge
20594 Belyshev <belyshev@depni.sinp.msu.ru>.
20595 * crypt/Makefile (xtests): Add md5test-giant..
20596 * crypt/Makefile ($(objpfx)md5test-giant): Add.
20598 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
20601 * crypt/md5.c (md5_process_block): Don't assume the buffer
20602 length is less than 2**32.
20603 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
20604 length is less than 2**64.
20606 2012-08-15 Roland McGrath <roland@hack.frob.com>
20608 * string/str-two-way.h: Include <sys/param.h>.
20609 (MAX): Macro removed.
20611 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
20612 Move #define and #undef of memmove to just before and after
20613 including <string.h>.
20615 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
20616 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
20617 and after including <string.h>. Move declarations of
20618 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
20619 to before #include "string/memmove.c".
20621 * include/dirent.h: Declare __getdirentries.
20623 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
20624 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
20626 2012-08-14 Mike Frysinger <vapier@gentoo.org>
20628 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
20629 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
20630 * sysdeps/i386/configure: Regenerated.
20631 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
20632 STABS_CURRENT_FILE, and STABS_FUN.
20633 (END): Remove call to STABS_FUN_END.
20634 (STABS_CURRENT_FILE1): Delete.
20635 (STABS_CURRENT_FILE): Likewise.
20636 (STABS_FUN): Likewise.
20637 (STABS_FUN_END): Likewise.
20638 (STABS_FUN2): Likewise.
20639 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
20640 * sysdeps/x86_64/configure: Regenerated.
20642 2012-08-14 Roland McGrath <roland@hack.frob.com>
20644 * elf/dl-open.c: Include <atomic.h>.
20645 * elf/dl-lookup.c: Likewise.
20647 2012-08-14 Joseph Myers <joseph@codesourcery.com>
20649 * sysdeps/unix/sysv/linux/kernel-features.h
20650 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
20651 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
20653 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
20655 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
20656 condition on __ASSUME_CLONE_THREAD_FLAGS.
20658 2012-08-14 Andreas Jaeger <aj@suse.de>
20660 * sysdeps/i386/fpu/libm-test-ulps: Update.
20662 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
20664 * include/atomic.h (atomic_exchange_and_add): Split into ...
20665 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
20668 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
20670 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20672 2012-08-13 Jeff Law <law@redhat.com>
20674 * manual/stdio.texi (snprintf): Clarify handling of the trailing
20675 null byte in the output string.
20677 2012-08-10 Joseph Myers <joseph@codesourcery.com>
20679 * sysdeps/unix/sysv/linux/kernel-features.h
20680 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20681 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
20682 (__ASSUME_ARG_MAX_STACK_BASED): Define.
20683 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20684 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
20685 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
20686 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
20688 2012-08-09 Jeff Law <law@redhat.com>
20691 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
20692 When avoid_arena is set, don't retry in the that arena. Pick the
20693 next one, whatever it might be.
20694 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
20695 (arena_lock): Pass in new parameter to arena_get2.
20696 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
20698 (__libc_malloc): Unify retrying after main arena failure with
20699 __libc_memalign version.
20700 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
20702 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
20705 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
20706 to __redirect_strstr.
20707 (__strstr_sse42): Use typeof __redirect_strstr.
20708 (__strstr_ia32): Likewise.
20709 (__libc_strstr): New prototype.
20710 (strstr): Renamed to ...
20711 (__libc_strstr): This.
20712 (strstr): New strong alias of __libc_strstr.
20713 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20714 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
20717 (__libc_time): New prototype.
20718 (time_ifunc): Replace time with __libc_time.
20719 (time): New strong alias and hidden definition of __libc_time.
20720 (__GI_time): Remove strong alias.
20721 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
20722 Include <stddef.h>.
20723 (memmove): Redefined to __redirect_memmove.
20724 (__memmove_sse2): Use typeof __redirect_memmove.
20725 (__memmove_ssse3): Likewise.
20726 (__memmove_ssse3_back): Likewise.
20727 (__libc_memmove): New prototype.
20728 (memmove): Renamed to ...
20729 (__libc_memmove): This.
20730 (memmove): New strong alias of __libc_memmove.
20732 2012-08-08 Mark Salter <msalter@redhat.com>
20735 (R_MN10300_TLS_GD): Define.
20736 (R_MN10300_TLS_LD): Likewise.
20737 (R_MN10300_TLS_LDO): Likewise.
20738 (R_MN10300_TLS_GOTIE): Likewise.
20739 (R_MN10300_TLS_IE): Likewise.
20740 (R_MN10300_TLS_LE): Likewise.
20741 (R_MN10300_TLS_DTPMOD): Likewise.
20742 (R_MN10300_TLS_DTPOFF): Likewise.
20743 (R_MN10300_TLS_TPOFF): Likewise.
20744 (R_MN10300_SYM_DIFF): Likewise.
20745 (R_MN10300_ALIGN): Likewise.
20746 (R_MN10300_NUM): Update.
20748 2012-08-08 Joseph Myers <joseph@codesourcery.com>
20750 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
20753 2012-08-08 Roland McGrath <roland@hack.frob.com>
20755 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
20757 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
20758 sysdeps/unix -> sysdeps/posix move.
20759 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20761 2012-08-07 Allan McRae <allan@archlinux.org>
20764 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
20765 (SUNOS_CPP): Likewise.
20766 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20768 (open_input): Call CPP using execvp.
20770 2012-08-07 Joseph Myers <joseph@codesourcery.com>
20772 * sysdeps/unix/sysv/linux/kernel-features.h
20773 (__ASSUME_PROT_GROWSUPDOWN): Remove.
20774 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20775 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20776 (__ASSUME_WAITID_SYSCALL): Likewise.
20777 * sysdeps/unix/sysv/linux/dl-execstack.c
20778 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20779 code unconditional.
20780 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20782 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20783 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20784 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20786 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20788 [__ASSUME_WAITID_SYSCALL]: Likewise.
20789 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20791 2012-08-07 Roland McGrath <roland@hack.frob.com>
20793 * sysdeps/unix/closedir.c: Renamed to ...
20794 * sysdeps/posix/closedir.c: ... here.
20795 * sysdeps/unix/dirfd.c: Renamed to ...
20796 * sysdeps/posix/dirfd.c: ... here.
20797 * sysdeps/unix/dirstream.h: Renamed to ...
20798 * sysdeps/posix/dirstream.h: ... here.
20799 * sysdeps/unix/fdopendir.c: Renamed to ...
20800 * sysdeps/posix/fdopendir.c: ... here.
20801 * sysdeps/unix/opendir.c: Renamed to ...
20802 * sysdeps/posix/opendir.c: ... here.
20803 * sysdeps/unix/readdir.c: Renamed to ...
20804 * sysdeps/posix/readdir.c: ... here.
20805 * sysdeps/unix/readdir_r.c: Renamed to ...
20806 * sysdeps/posix/readdir_r.c: ... here.
20807 * sysdeps/unix/rewinddir.c: Renamed to ...
20808 * sysdeps/posix/rewinddir.c: ... here.
20809 * sysdeps/unix/seekdir.c: Renamed to ...
20810 * sysdeps/posix/seekdir.c: ... here.
20811 * sysdeps/unix/telldir.c: Renamed to ...
20812 * sysdeps/posix/telldir.c: ... here.
20813 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20814 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20815 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20816 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20818 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20819 * bits/fcntl.h: ... here.
20821 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20823 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20824 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20825 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20826 (struct flock): Move l_start, l_len to the beginning.
20827 Use __pid_t for l_pid.
20828 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20829 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20830 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20831 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20832 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20833 [__USE_LARGEFILE64] (struct flock64): New type.
20834 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20836 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20837 * bits/dirent.h: ... here.
20839 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20840 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20842 2012-08-07 Joseph Myers <joseph@codesourcery.com>
20844 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20845 Change from 2.6.0 to 2.6.16.
20846 * sysdeps/unix/sysv/linux/configure: Regenerated.
20847 * sysdeps/unix/sysv/linux/kernel-features.h
20848 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20849 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20851 (__ASSUME_UTIMES): Likewise.
20852 (__ASSUME_CLONE_STOPPED): Remove.
20853 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20854 architectures, not kernel version.
20855 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20856 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20857 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20858 (__ASSUME_WAITID_SYSCALL): Likewise.
20859 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20860 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20861 * README: State 2.6.16 as minimum Linux kernel version. Do not
20862 refer to older versions.
20864 2012-08-06 Roland McGrath <roland@hack.frob.com>
20866 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20867 Define alphasort64 as an alias.
20868 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20869 Define versionsort64 as an alias.
20870 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20871 Define scandir64 as an alias.
20872 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20873 Define scandirat64 as an alias.
20874 * dirent/alphasort64.c (alphasort64):
20875 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20876 * dirent/versionsort64.c: Likewise.
20877 * dirent/scandir64.c: Likewise.
20878 * dirent/scandirat64.c: Likewise.
20879 * sysdeps/wordsize-64/alphasort.c: File removed.
20880 * sysdeps/wordsize-64/alphasort64.c: File removed.
20881 * sysdeps/wordsize-64/scandir.c: File removed.
20882 * sysdeps/wordsize-64/scandir64.c: File removed.
20883 * sysdeps/wordsize-64/scandirat.c: File removed.
20884 * sysdeps/wordsize-64/scandirat64.c: File removed.
20885 * sysdeps/wordsize-64/versionsort.c: File removed.
20886 * sysdeps/wordsize-64/versionsort64.c: File removed.
20887 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20888 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20889 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20890 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20891 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20892 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20893 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20894 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20896 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20897 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20898 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20899 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20900 [defined __arch64__ || defined __sparcv9]
20901 (__INO_T_MATCHES_INO64_T): New macro.
20902 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20903 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20904 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20905 * sysdeps/unix/sysv/linux/bits/dirent.h
20906 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20907 (_DIRENT_MATCHES_DIRENT64): New macro.
20909 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20910 Define lockf64 as an alias.
20911 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20912 Define fseeko64 as an alias.
20913 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20914 Define ftello64 as an alias.
20915 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20916 Define _IO_fgetpos64 and fgetpos64 as aliases.
20917 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20918 Define _IO_fsetpos64 and fsetpos64 as aliases.
20919 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20920 Conditionalize body on this.
20921 * libio/fseeko64.c: Likewise.
20922 * libio/ftello64.c: Likewise.
20923 * libio/iofgetpos64.c: Likewise.
20924 * libio/iofsetpos64.c: Likewise.
20925 * sysdeps/wordsize-64/lockf.c: File removed.
20926 * sysdeps/wordsize-64/lockf64.c: File removed.
20927 * sysdeps/wordsize-64/fseeko.c: File removed.
20928 * sysdeps/wordsize-64/fseeko64.c: File removed.
20929 * sysdeps/wordsize-64/ftello.c: File removed.
20930 * sysdeps/wordsize-64/ftello64.c: File removed.
20931 * sysdeps/wordsize-64/iofgetpos.c: File removed.
20932 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20933 * sysdeps/wordsize-64/iofsetpos.c: File removed.
20934 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20935 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20936 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20937 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20938 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20939 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20940 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20941 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20942 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20943 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20944 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20946 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20947 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20948 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20949 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20950 [defined __arch64__ || defined __sparcv9]
20951 (__OFF_T_MATCHES_OFF64_T): New macro.
20952 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20953 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20954 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20955 (__OFF_T_MATCHES_OFF64_T): New macro.
20957 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20959 * stdlib/secure-getenv.c (__secure_getenv): Replace
20960 GLIBC_2_16 with GLIBC_2_17.
20962 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20964 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20965 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20967 2012-08-03 David S. Miller <davem@davemloft.net>
20969 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20971 2012-08-03 Joseph Myers <joseph@codesourcery.com>
20973 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20975 (__ASSUME_CORRECT_SI_PID): Likewise.
20976 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20977 (__ASSUME_TMPFS_NAME): Likewise.
20978 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20979 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20980 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20981 (HAVE_AUX_SECURE): Make definition unconditional.
20982 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20983 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20985 2012-08-03 Roland McGrath <roland@hack.frob.com>
20987 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20988 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20989 * sysdeps/mach/hurd/eloop-threshold.h: New file.
20990 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20991 __eloop_threshold instead of SYMLOOP_MAX.
20993 * sysdeps/generic/eloop-threshold.h: New file.
20994 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20996 * elf/chroot_canon.c (chroot_canon): Likewise.
20998 2012-08-03 Joseph Myers <joseph@codesourcery.com>
21001 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21002 Change to 2.6.0 everywhere.
21003 * sysdeps/unix/sysv/linux/configure: Regenerated.
21004 * sysdeps/unix/sysv/linux/kernel-features.h
21005 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
21006 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
21008 (__ASSUME_POSIX_TIMERS): Define unconditionally.
21009 (__ASSUME_FUTEX_REQUEUE): Remove.
21010 (__ASSUME_STATFS64): Define unconditionally.
21011 (__ASSUME_AT_SECURE): Likewise.
21012 (__ASSUME_CORRECT_SI_PID): Likewise.
21013 (__ASSUME_TGKILL): Define without depending on kernel version for
21015 (__ASSUME_UTIMES): Likewise.
21016 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
21018 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
21019 (__ASSUME_TMPFS_NAME): Likewise.
21020 * README: Update reference to Linux kernel versions.
21022 2012-08-02 Marek Polacek <polacek@redhat.com>
21025 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
21026 libc_cv_asm_type_prefix with %.
21027 * configure: Regenerated.
21028 * include/libc-symbols.h: Remove comment about
21029 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
21030 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
21031 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
21032 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
21033 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
21034 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
21035 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
21036 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
21037 * elf/tst-unique2mod1.c: Likewise.
21038 * elf/tst-unique1mod2.c: Likewise.
21039 * elf/tst-unique1mod1.c: Likewise.
21040 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
21041 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
21042 Replace ASM_TYPE_DIRECTIVE with .type.
21043 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21044 * sysdeps/i386/sysdep.h: Likewise.
21045 * sysdeps/x86_64/sysdep.h: Likewise.
21046 * sysdeps/sh/sysdep.h: Likewise.
21047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21048 Do not define ASM_TYPE_DIRECTIVE.
21049 * sysdeps/powerpc/sysdep.h: Likewise.
21050 * sysdeps/powerpc/powerpc32/sysdep.h:
21051 Replace ASM_TYPE_DIRECTIVE with .type.
21052 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21053 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21054 * sysdeps/i386/fpu/e_powf.S: Likewise.
21055 * sysdeps/i386/fpu/e_expl.S: Likewise.
21056 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21057 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21058 * sysdeps/i386/fpu/e_pow.S: Likewise.
21059 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
21060 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21061 * sysdeps/i386/fpu/s_expm1.S: Likewise.
21062 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
21063 * sysdeps/i386/fpu/e_log2.S: Likewise.
21064 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21065 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21066 * sysdeps/i386/fpu/e_powl.S: Likewise.
21067 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21068 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
21069 * sysdeps/i386/fpu/e_logl.S: Likewise.
21070 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
21071 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
21072 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
21073 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21074 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21075 * sysdeps/i386/fpu/e_log.S: Likewise.
21076 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21077 * sysdeps/i386/fpu/e_logf.S: Likewise.
21078 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21079 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21080 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
21081 * sysdeps/i386/fpu/e_log10.S: Likewise.
21082 * sysdeps/i386/fpu/s_frexp.S: Likewise.
21083 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21084 * sysdeps/i386/fpu/s_asinh.S: Likewise.
21085 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
21086 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21087 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
21088 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
21089 * sysdeps/i386/i686/strtok.S: Likewise.
21090 * sysdeps/i386/i386-mcount.S: Likewise.
21091 * sysdeps/i386/strtok.S: Likewise.
21092 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
21093 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21094 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21095 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21096 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
21097 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21098 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
21099 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
21100 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21101 * sysdeps/x86_64/_mcount.S: Likewise.
21102 * sysdeps/x86_64/strtok.S: Likewise.
21103 * sysdeps/sh/_mcount.S: Likewise.
21105 2012-08-01 Roland McGrath <roland@hack.frob.com>
21107 * libio/iofopen.c: Include <fcntl.h>.
21108 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
21109 (_IO_fopen64, fopen64): Define as aliases.
21110 * libio/iofopen64.c: Include <fcntl.h>.
21111 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
21112 Conditionalize body on this.
21113 * sysdeps/wordsize-64/iofopen.c: File removed.
21114 * sysdeps/wordsize-64/iofopen64.c: File removed.
21116 2012-08-01 Marek Polacek <polacek@redhat.com>
21118 * libc/Makeconfig: Use elf in place of binfmt-subdir.
21119 Use dlfcn directly instead of a variable.
21120 (binfmt-subdir): Do not define.
21123 2012-08-01 Joseph Myers <joseph@codesourcery.com>
21125 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
21126 Remove all definitions.
21127 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
21128 <kernel-features.h>.
21129 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21130 (miss_F_GETOWN_EX): Remove all definitions.
21131 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
21133 [!__ASSUME_FCNTL64]: Remove conditional code.
21134 [__ASSUME_FCNTL64]: Make code unconditional.
21135 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
21136 <kernel-features.h>.
21137 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21138 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
21139 (lockf64) [__NR_fcntl64]: Make code unconditional.
21140 (lockf64) [__ASSUME_FCNTL64]: Likewise.
21142 * sysdeps/unix/sysv/linux/kernel-features.h
21143 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
21144 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
21145 Make code unconditional.
21146 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21147 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
21149 [__NR_vfork]: Make code unconditional.
21150 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21151 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
21153 [__NR_vfork]: Make code unconditional.
21154 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21155 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21157 2012-08-01 Roland McGrath <roland@hack.frob.com>
21159 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
21160 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
21162 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21163 Define mkstemp64 as an alias.
21164 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21165 Define mkstemps64 as an alias.
21166 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21167 Define mkostemp64 as an alias.
21168 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21169 Define mkostemps64 as an alias.
21170 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
21171 Conditionalize body on this.
21172 * misc/mkostemp64.c: Likewise.
21173 * misc/mkostemps64.c: Likewise.
21174 * misc/mkstemps64.c: Likewise.
21175 * sysdeps/wordsize-64/mkstemp64.c: File removed.
21176 * sysdeps/wordsize-64/mkostemp64.c: File removed.
21177 * sysdeps/wordsize-64/mkostemp.c: File removed.
21178 * sysdeps/wordsize-64/mkstemp.c: File removed.
21179 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
21180 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
21181 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
21182 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
21185 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
21186 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
21187 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
21188 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
21190 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
21191 compat_symbol macros from <shlib-compat.h> rather than the underlying
21192 default_symbol_version and symbol_version macros, so that DEFAULT
21193 lines in shlib-versions are respected.
21194 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
21196 2012-08-01 Florian Weimer <fweimer@redhat.com>
21198 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
21199 Declare with warn_unused_result.
21200 (setgid, setregid, setegid, setresgid): Likewise.
21201 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
21203 * WUR-REPORT: Remove set*id functions.
21205 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
21207 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
21209 2012-07-31 Roland McGrath <roland@hack.frob.com>
21212 * include/sys/socket.h (__libc_accept, __libc_accept4):
21213 Add attribute_hidden.
21214 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
21216 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
21218 * inet/getnetgrent_r.c (setup): Likewise.
21220 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
21222 2012-07-31 David S. Miller <davem@davemloft.net>
21224 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21226 2012-07-31 Joseph Myers <joseph@codesourcery.com>
21229 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
21230 value between 1.0 and 2.0 and smaller part has absolute value less
21232 * math/s_clog10.c (__clog10): Likewise.
21233 * math/s_clog10f.c (__clog10f): Likewise.
21234 * math/s_clog10l.c (__clog10l): Likewise.
21235 * math/s_clogf.c (__clogf): Likewise.
21236 * math/s_clogl.c (__clogl): Likewise.
21237 * math/libm-test.inc (clog_test): Add more tests.
21238 (clog10_test): Likewise.
21239 * sysdeps/i386/fpu/libm-test-ulps: Update.
21240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21242 2012-07-31 Florian Weimer <fweimer@redhat.com>
21244 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
21245 Exit with zero in case no suitable GID is found, and write a
21246 message to standard error.
21248 2012-07-30 Roland McGrath <roland@hack.frob.com>
21250 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
21252 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
21253 (MAXPATHLEN): Removed.
21254 (NOGROUP, NODEV): New macros.
21255 (setbit, clrbit, isset, isclr): New macros.
21256 (howmany, roundup, powerof2): New macros.
21257 (DEV_BSIZE): New macro.
21259 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
21260 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
21262 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
21263 definition on [!__NO_LONG_DOUBLE_MATH].
21265 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
21266 PTR_MANGLE and PTR_DEMANGLE.
21268 * socket/accept4.c (accept4): Rename to __libc_accept4.
21269 Define accept4 as a weak alias.
21271 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
21272 on [_DIRENT_HAVE_D_TYPE].
21273 * io/ftw.c (ftw_dir): Likewise.
21275 * io/xmknod.c (__xmknod): Don't check PATH for being null.
21277 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
21279 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
21280 Use the BSD numbers rather than the arbitrary ones we had.
21281 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
21282 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
21283 (SIGXCPU, SIGXFSZ): New macros.
21286 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
21287 initializer on [_LIBC_REENTRANT].
21289 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
21290 definitions inside [_POSIX_MAPPED_FILES].
21292 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
21294 * dirent/opendir.c: Include <fcntl.h>.
21296 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
21297 (__libc_getspecific): Likewise.
21298 (__libc_key_create): Likewise.
21300 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
21301 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
21302 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
21303 (tmpfile64): Define as alias.
21304 * sysdeps/wordsize-64/tmpfile.c: File removed.
21305 * sysdeps/wordsize-64/tmpfile64.c: File removed.
21306 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
21307 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
21309 * stdio-common/vfscanf.c: Include <stdbool.h>.
21310 * nss/makedb.c: Likewise.
21311 * stdio-common/_i18n_number.h: Likewise.
21312 * argp/argp-help.c: Likewise.
21313 * posix/wordexp.c: Likewise.
21314 * sysdeps/posix/spawni.c: Likewise.
21315 * nss/nss_files/files-initgroups.c: Likewise.
21316 * stdio-common/reg-modifier.c: Include <stdlib.h>.
21317 * nss/nss_files/files-initgroups.c: Likewise.
21318 * nss/nss_db/db-netgrp.c: Likewise.
21319 * nss/nss_db/db-initgroups.c: Likewise.
21320 * io/fchmodat.c: Include <sys/stat.h>.
21322 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
21323 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
21325 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
21328 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
21329 Add multiple inclusion protection.
21331 2012-07-27 David S. Miller <davem@davemloft.net>
21333 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21335 2012-07-27 Gary Benson <gbenson@redhat.com>
21338 * elf/rtld.c: Include <stap-probe.h>.
21339 (dl_main): Added static probes "init_start" and "init_complete".
21340 * elf/dl-load.c: Include <stap-probe.h>.
21341 (lose): Take new parameter "nsid".
21342 Added static probe "map_failed".
21343 (_dl_map_object_from_fd): Pass namespace id to lose.
21344 Added static probe "map_start".
21345 (open_verify): Pass namespace id to lose.
21346 * elf/dl-open.c: Include <stap-probe.h>.
21347 (dl_open_worker) Added static probes "map_complete", "reloc_start"
21348 and "reloc_complete".
21349 * elf/dl-close.c: Include <stap-probe.h>.
21350 (_dl_close_worker): Added static probes "unmap_start" and
21352 * elf/rtld-debugger-interface.txt: New file documenting the above.
21354 2012-07-26 Roland McGrath <roland@hack.frob.com>
21356 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
21357 rather than a string variable.
21358 * sunrpc/rpc_main.c (h_output): Likewise.
21359 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
21361 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
21363 * inet/check_native.c: New file.
21365 2012-07-26 Joseph Myers <joseph@codesourcery.com>
21368 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
21369 if larger part has absolute value 1.0.
21370 * math/s_clog10.c (__clog10): Likewise.
21371 * math/s_clog10f.c (__clog10f): Likewise.
21372 * math/s_clog10l.c (__clog10l): Likewise.
21373 * math/s_clogf.c (__clogf): Likewise.
21374 * math/s_clogl.c (__clogl): Likewise.
21375 * math/libm-test.inc (clog_test): Add more tests.
21376 (clog10_test): Likewise.
21377 * sysdeps/i386/fpu/libm-test-ulps: Update.
21378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21380 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
21381 (pltexit): Likewise.
21382 (La_regs): Likewise.
21383 (La_retval): Likewise.
21384 (int_retval): Likewise.
21385 Update #error for removed macros to refer only to definitions in
21387 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
21389 (pltexit): Likewise.
21390 (La_regs): Likewise.
21391 (La_retval): Likewise.
21392 (int_retval): Likewise.
21393 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
21395 (pltexit): Likewise.
21396 (La_regs): Likewise.
21397 (La_retval): Likewise.
21398 (int_retval): Likewise.
21399 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
21401 (pltexit): Likewise.
21402 (La_regs): Likewise.
21403 (La_retval): Likewise.
21404 (int_retval): Likewise.
21405 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
21407 (pltexit): Likewise.
21408 (La_regs): Likewise.
21409 (La_retval): Likewise.
21410 (int_retval): Likewise.
21411 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
21413 (pltexit): Likewise.
21414 (La_regs): Likewise.
21415 (La_retval): Likewise.
21416 (int_retval): Likewise.
21417 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
21419 (pltexit): Likewise.
21420 (La_regs): Likewise.
21421 (La_retval): Likewise.
21422 (int_retval): Likewise.
21423 * sysdeps/generic/tst-audit.h: Update comment to refer only to
21424 macro definitions in tst-audit.h.
21425 * sysdeps/i386/tst-audit.h: New file.
21426 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
21427 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
21428 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
21429 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
21430 * sysdeps/sh/tst-audit.h: Likewise.
21431 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
21432 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
21433 * sysdeps/x86_64/tst-audit.h: Likewise.
21435 2012-07-26 Andreas Jaeger <aj@suse.de>
21437 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
21440 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
21441 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
21442 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
21444 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
21445 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
21446 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
21448 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
21451 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
21453 (si_call_addr, si_syscall, si_arch): Define new macro.
21454 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
21456 (si_call_addr, si_syscall, si_arch): Define new marcro.
21457 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
21459 (si_call_addr, si_syscall, si_arch): Define new macro.
21460 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
21462 (si_call_addr, si_syscall, si_arch): Define new macro.
21464 2012-07-25 Joseph Myers <joseph@codesourcery.com>
21467 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21468 Change to 2.4.21 where previously 2.4.1.
21469 * sysdeps/unix/sysv/linux/configure: Regenerated.
21470 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
21471 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
21472 Linux kernel version.
21473 (__ASSUME_STD_AUXV): Remove.
21474 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
21476 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
21477 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
21478 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
21479 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
21480 (__ASSUME_NETLINK_SUPPORT): Likewise.
21481 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
21482 (__no_netlink_support): Remove conditional definition.
21483 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
21485 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21486 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
21487 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
21488 (if_nameindex_ioctl): Remove.
21489 (if_nameindex_netlink): Do not handle __no_netlink_support.
21490 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21492 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
21493 Remove conditional code.
21494 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21496 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
21498 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21499 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
21500 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
21502 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
21503 [!__ASSUME_STD_AUXV]: Remove conditional code.
21504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
21505 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
21506 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
21507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
21508 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
21509 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21511 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21513 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
21514 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21516 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21518 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21521 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
21524 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21525 code unconditional.
21526 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21528 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21530 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21533 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21535 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21538 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21539 code unconditional.
21540 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21542 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21544 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21547 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21548 code unconditional.
21549 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21551 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21553 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21556 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
21558 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
21559 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
21560 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21561 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
21562 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
21563 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
21564 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21565 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
21566 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
21567 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21568 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
21569 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
21570 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
21571 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
21572 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
21573 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
21574 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
21575 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
21576 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
21577 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
21578 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
21579 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
21580 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21582 2012-07-25 Florian Weimer <fweimer@redhat.com>
21584 * Versions.def: Add GLIBC_2.17.
21585 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
21586 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
21587 Introduce __libc_secure_getenv.
21588 * stdlib/Versions (2.17): Add secure_getenv
21589 (GLIBC_PRIVATE): Add __libc_secure_getenv.
21590 * stdlib/secure-getenv.c: Rename __secure_getenv to
21591 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
21592 symbol __secure_getenv for GLIBC_2.0.
21593 * stdlib/tst-secure-getenv.c: New.
21594 * stdlib/Makefile (tests): Add testcase.
21595 * manual/startup.texi (Environment Access): Document
21597 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
21598 __libc_secure_getenv.
21599 * inet/ruserpass.c (ruserpass): Likewise.
21600 * malloc/mtrace.c (mtrace): Likewise.
21601 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
21602 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
21603 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
21604 * sysdeps/posix/tempname.c: Likewise. Evaluate
21605 HAVE_SECURE_GETENV.
21606 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
21607 __secure_getenv to __libc_secure_getenv.
21608 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
21609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21613 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21614 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21615 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21616 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21617 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21618 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21619 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21621 2012-07-25 Joseph Myers <joseph@codesourcery.com>
21623 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
21624 (struct La_i86_retval): Likewise.
21625 (struct La_x86_64_regs): Likewise.
21626 (struct La_x86_64_retval): Likewise.
21627 (struct La_x32_regs): Likewise.
21628 (struct La_x32_retval): Likewise.
21629 (struct La_ppc32_regs): Likewise.
21630 (struct La_ppc32_retval): Likewise.
21631 (struct La_ppc64_regs): Likewise.
21632 (struct La_ppc64_retval): Likewise.
21633 (struct La_sh_regs): Likewise.
21634 (struct La_sh_retval): Likewise.
21635 (struct La_s390_32_regs): Likewise.
21636 (struct La_s390_32_retval): Likewise.
21637 (struct La_s390_64_regs): Likewise.
21638 (struct La_s390_64_retval): Likewise.
21639 (struct La_sparc32_regs): Likewise.
21640 (struct La_sparc32_retval): Likewise.
21641 (struct La_sparc64_regs): Likewise.
21642 (struct La_sparc64_retval): Likewise.
21643 (struct audit_ifaces): Remove architecture-specific pltenter and
21645 * sysdeps/i386/ldsodefs.h: New file.
21646 * sysdeps/powerpc/ldsodefs.h: Likewise.
21647 * sysdeps/s390/ldsodefs.h: Likewise.
21648 * sysdeps/sh/ldsodefs.h: Likewise.
21649 * sysdeps/sparc/ldsodefs.h: Likewise.
21650 * sysdeps/x86_64/ldsodefs.h: Likewise.
21652 2012-07-25 Marek Polacek <polacek@redhat.com>
21655 * math/libm-test.inc (yn_test): Add another test.
21656 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
21657 to ERANGE when the result is +-Inf.
21658 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21659 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
21660 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
21661 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
21663 2012-07-24 Joseph Myers <joseph@codesourcery.com>
21665 * conform/data/time.h-data (NULL): Use macro-constant. Require
21667 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
21669 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
21671 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
21673 * configure.in <sysdeps resolving>: Correct printing
21675 * configure: Regenerate.
21677 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
21679 * math/w_ilogb.c: Include <limits.h>.
21680 * math/w_ilogbl.c: Likewise.
21682 2012-07-20 Joseph Myers <joseph@codesourcery.com>
21684 * manual/lang.texi (__va_copy): Document primarily as ISO C99
21685 va_copy. Document allowing for unavailable va_copy only as
21686 pre-C99 compatibility.
21687 * manual/string.texi (Copying and Concatenation): Use va_copy
21688 instead of __va_copy in concat example.
21690 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
21692 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
21693 (__sendto): Use create_address_port. Initialize APORT and deallocate
21696 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
21697 with O_NOLINK passed to __file_name_lookup.
21699 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
21700 with O_NOLINK passed to __file_name_lookup.
21702 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
21703 negative N or less than NGIDS.
21705 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
21706 type to string_t. Set ERANGE as errno and return it if NAME is not big
21707 enough. Use memcpy instead of strncpy.
21709 2012-07-20 Joseph Myers <joseph@codesourcery.com>
21711 * elf/Makefile (check-data): Remove.
21712 (localplt.data): New vpath directive.
21713 ($(objpfx)check-localplt.out): Use localplt.data from vpath
21714 instead of $(check-data).
21715 * scripts/data/localplt-generic.data: Move to ...
21716 * sysdeps/generic/localplt.data: ... here.
21717 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
21718 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
21719 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
21720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21722 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
21723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21725 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
21726 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
21728 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
21729 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21731 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
21732 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
21734 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
21735 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
21738 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21740 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
21741 PPC32 and PPC64 files.
21742 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
21743 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
21745 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21747 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
21748 __makecontext_ret to ...
21749 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21750 ... here and call exit if uc_link is NULL. New file.
21751 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
21752 __makecontext_ret.S.
21753 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
21754 __makecontext_ret to ...
21755 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21756 ... here and call exit if uc_link is NULL. New file.
21757 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
21758 __makecontext_ret.S.
21760 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21762 * elf/elf.h (R_390_IRELATIVE): New definition.
21763 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
21764 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
21765 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
21766 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21767 (elf_machine_lazy_rel): Likewise.
21768 * sysdeps/s390/dl-irel.h: New file.
21769 * sysdeps/s390/s390-64/memcpy.S: New asm code.
21770 * sysdeps/s390/s390-64/memset.S: New asm code.
21771 * sysdeps/s390/s390-64/memcmp.S: New asm code.
21772 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21773 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21774 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21775 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21776 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21777 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21778 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21779 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21780 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21781 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21782 * sysdeps/s390/s390-32/memcpy.S: New asm code.
21783 * sysdeps/s390/s390-32/memset.S: New asm code.
21784 * sysdeps/s390/s390-32/memcmp.S: New asm code.
21786 2012-07-17 Marek Polacek <polacek@redhat.com>
21789 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21790 * sysdeps/s390/s390-64/configure.in: Likewise.
21791 * sysdeps/sparc/configure.in: Likewise.
21792 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21793 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21794 * sysdeps/i386/configure.in: Likewise.
21795 * sysdeps/x86_64/configure.in: Likewise.
21796 * sysdeps/sh/configure.in: Likewise.
21797 * sysdeps/s390/s390-32/configure: Regenerated.
21798 * sysdeps/s390/s390-64/configure: Likewise.
21799 * sysdeps/x86_64/configure: Likewise.
21800 * sysdeps/sh/configure: Likewise.
21801 * sysdeps/powerpc/powerpc64/configure: Likewise.
21802 * sysdeps/powerpc/powerpc32/configure: Likewise.
21803 * sysdeps/sparc/configure: Likwise.
21804 * sysdeps/i386/configure: Likewise.
21806 * elf/dl-open.c: Comment fixes.
21808 2012-07-17 Joseph Myers <joseph@codesourcery.com>
21810 * Makefile [CXX] (check-data): Remove.
21811 [CXX] (c++-types.data): New vpath directive.
21812 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21813 vpath. Do not allow for C++ type data being missing.
21814 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21815 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21816 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21817 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21818 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21819 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21820 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21823 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21826 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21827 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21829 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21830 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21832 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21833 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21835 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21836 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21838 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21839 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21841 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21842 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21844 * elf/tls-macros.h (TLS_LE): Move architecture-specific
21845 definitions to architecture-specific files.
21846 (TLS_IE): Likewise.
21847 (TLS_LD): Likewise.
21848 (TLS_GD): Likewise.
21849 * sysdeps/i386/tls-macros.h: New file.
21850 * sysdeps/powerpc/tls-macros.h: Likewise.
21851 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21852 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21853 * sysdeps/sh/tls-macros.h: Likewise.
21854 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21855 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21856 * sysdeps/x86_64/tls-macros.h: Likewise.
21858 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21860 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21861 zero value for regular exit case.
21863 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21864 (__start_context): Preserve zero value for regular exit case.
21866 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21867 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21869 * manual/setjmp.texi (setcontext): Clarify normal process
21870 termination when uc_link is the null pointer.
21871 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21874 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
21876 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21877 preprocessor. Test for each exception mask separately.
21879 2012-07-16 Andreas Jaeger <aj@suse.de>
21881 * po/ru.po: Update from translation team.
21883 2012-07-15 Joseph Myers <joseph@codesourcery.com>
21885 * conform/data/string.h-data (NULL): Use macro-constant. Require
21887 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21888 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21889 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21890 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21891 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21893 2012-07-13 Andreas Jaeger <aj@suse.de>
21895 * po/fr.po: Update from translation team.
21897 2012-07-12 Marek Polacek <polacek@redhat.com>
21900 * math/libm-test.inc (yn_test): Add test for BZ #14173.
21901 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21904 2012-07-12 Joseph Myers <joseph@codesourcery.com>
21907 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21908 Change to 2.4.1 where previously 2.4.0.
21909 * sysdeps/unix/sysv/linux/configure: Regenerated.
21910 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21911 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21913 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21914 (__ASSUME_AT_CLKTCK): Remove.
21915 (__ASSUME_AT_PAGESIZE): Likewise.
21916 (__ASSUME_AT_XID): Likewise.
21917 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21918 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21919 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21921 (HAVE_AUX_PAGESIZE): Likewise.
21922 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21923 [__ASSUME_AT_CLKTCK]: Make code unconditional.
21924 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21926 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
21929 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21930 the temporary buffer used to invoke __gethostbyname2_r,
21931 __gethostbyaddr_r and gethostbyname4_r to make room for struct
21932 host_data / struct gaih_addrtuple.
21933 * resolv/nss_dns/dns-host.c (global scope): Move definition of
21934 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21935 header file nss/nsswitch.h.
21936 * nss/nsswitch.h (global scope): Add definition of implementation
21937 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21938 resolv/nss_dns/dns-host.c).
21940 2012-07-11 Andreas Jaeger <aj@suse.de>
21942 * po/fr.po: Update from translation team.
21944 * po/sv.po: Update from translation team
21945 * po/fr.po: Another update from translation team.
21947 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21949 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21950 for subnormals or multiply small sinh result by itself.
21951 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21952 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21954 2012-07-11 David S. Miller <davem@davemloft.net>
21956 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21958 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
21961 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21962 (INTERNAL_MARK): Shift it here.
21964 2012-07-10 Marek Polacek <polacek@redhat.com>
21967 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
21968 libc_cv_asm_global_directive with .globl.
21969 * configure: Regenerated.
21970 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21972 * sysdeps/i386/configure: Regenerated.
21973 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21975 * sysdeps/x86_64/configure: Regenerated.
21976 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21977 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21978 * elf/tst-unique2mod2.c: Likewise.
21979 * elf/tst-unique2mod1.c: Likewise.
21980 * elf/tst-unique1mod2.c: Likewise.
21981 * elf/tst-unique1mod1.c: Likewise.
21982 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21983 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21984 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21985 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21986 * sysdeps/mach/sysdep.h: Likewise.
21987 * sysdeps/i386/sysdep.h: Likewise.
21988 * sysdeps/i386/i386-mcount.S: Likewise.
21989 * sysdeps/x86_64/_mcount.S: Likewise.
21990 * sysdeps/x86_64/sysdep.h: Likewise.
21991 * sysdeps/sh/_mcount.S: Likewise.
21992 * sysdeps/sh/sysdep.h: Likewise.
21993 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21994 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21995 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21996 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21997 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21998 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21999 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
22000 * locale/localeinfo.h: Likewise.
22001 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
22002 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
22004 2012-07-09 Roland McGrath <roland@hack.frob.com>
22007 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
22009 * manual/message.texi (The Uniforum approach): Likewise.
22010 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
22011 (glibc iconv Implementation): Likewise.
22013 2012-07-09 Joseph Myers <joseph@codesourcery.com>
22016 * math/s_clog.c (__clog): Avoid scaling a value down where that
22017 could result in underflow.
22018 * math/s_clog10.c (__clog10): Likewise.
22019 * math/s_clog10f.c (__clog10f): Likewise.
22020 * math/s_clog10l.c (__clog10l): Likewise.
22021 * math/s_clogf.c (__clogf): Likewise.
22022 * math/s_clogl.c (__clogl): Likewise.
22023 * math/libm-test.inc (clog_test): Add more tests.
22024 (clog10_test): Likewise.
22025 * sysdeps/i386/fpu/libm-test-ulps: Update.
22026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22028 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
22031 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
22032 by 7 not 8 to examine high bit of fractional part.
22035 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
22036 for call to __mcount_internal.
22037 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
22038 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
22039 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
22041 2012-07-06 Joseph Myers <joseph@codesourcery.com>
22044 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
22045 approximation for values within 0x1p-13f of an odd multiple of
22047 * math/libm-test.inc (tan_test): Do not allow spurious underflow
22048 exception. Add more tests.
22049 * sysdeps/i386/fpu/libm-test-ulps: Update.
22052 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
22053 inputs and return -1 for them. Do not check for +Inf in case not
22054 reachable for +Inf.
22055 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
22056 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
22057 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
22058 and return -1 for them. Do not check for +Inf in case not
22059 reachable for +Inf.
22060 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
22062 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
22063 and return -1 for them. Do not check for +Inf in case not
22064 reachable for +Inf.
22065 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
22066 spurious underflow.
22067 * sysdeps/i386/fpu/libm-test-ulps: Update.
22068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22070 2012-07-06 Mike Frysinger <vapier@gentoo.org>
22072 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
22074 2012-07-05 Joseph Myers <joseph@codesourcery.com>
22078 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
22079 could result in spurious underflow. Scale down values above
22080 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
22081 * math/s_csqrtf.c (__csqrtf): Likewise.
22082 * math/s_csqrtl.c (__csqrtl): Likewise.
22083 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
22084 spurious underflow.
22085 * sysdeps/i386/fpu/libm-test-ulps: Update.
22086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22088 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
22090 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
22092 * catgets/xopen-msg.awk: New file.
22093 * catgets/xopen-msg.sed: Removed.
22095 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
22097 * intl/po2test.awk: New file.
22098 * intl/po2test.sed: Removed.
22100 2012-07-04 Joseph Myers <joseph@codesourcery.com>
22103 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
22104 or multiply small sinh result by itself.
22105 * math/s_ctanf.c (__ctanf): Likewise.
22106 * math/s_ctanh.c (__ctanh): Likewise.
22107 * math/s_ctanhf.c (__ctanhf): Likewise.
22108 * math/s_ctanhl.c (__ctanhl): Likewise.
22109 * math/s_ctanl.c (__ctanl): Likewise.
22110 * math/libm-test.inc (ctan_test_tonearest): New function.
22111 (ctan_test_towardzero): Likewise.
22112 (ctan_test_downward): Likewise.
22113 (ctan_test_upward): Likewise.
22114 (ctanh_test_tonearest): Likewise.
22115 (ctanh_test_towardzero): Likewise.
22116 (ctanh_test_downward): Likewise.
22117 (ctanh_test_upward): Likewise.
22118 (main): Call these new functions.
22119 * sysdeps/i386/fpu/libm-test-ulps: Update.
22120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22122 2012-07-03 Mike Frysinger <vapier@gentoo.org>
22124 * .gitignore: Delete /ports entry.
22126 2012-07-03 Andreas Jaeger <aj@suse.de>
22128 * po/bg.po: Update from translation team.
22129 * po/cs.po: Likewise.
22130 * po/de.po: Likewise.
22131 * po/hr.po: Likewise.
22132 * po/nl.pl: Likewise.
22133 * po/pl.po: Likewise.
22134 * po/vi.po: Likewise.
22136 2012-07-03 Joseph Myers <joseph@codesourcery.com>
22138 * Makeconfig [!+link] (+link-before-libc): New variable.
22139 [!+link] (+link-after-libc): Likewise.
22140 [!+link] (+link-tests): Likewise.
22141 [!+link] (+link): Define in terms of $(+link-before-libc) and
22142 $(+link-after-libc).
22143 [!+link-static] (+link-static-before-libc): New variable.
22144 [!+link-static] (+link-static-after-libc): Likewise.
22145 [!+link-static] (+link-static-tests): Likewise.
22146 [!+link-static] (+link-static): Define in terms of
22147 $(+link-static-before-libc) and $(+link-static-after-libc).
22148 [build-shared] (link-libc-before-gnulib): New variable.
22149 [build-shared] (link-libc-tests): Likewise.
22150 [build-shared] (link-libc): Define in terms of
22151 $(link-libc-before-gnulib).
22152 [!build-shared] (link-libc-tests): New variable.
22153 (link-libc-static-tests): New variable.
22154 [!gnulib] (gnulib-arch): New variable.
22155 [!gnulib] (gnulib-tests): Likewise.
22156 [!gnulib] (static-gnulib-arch): Likewise.
22157 [!gnulib] (static-gnulib-tests): Likewise.
22158 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
22159 Define with "=" instead of ":=".
22160 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
22161 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
22162 * Rules (binaries-all-notests): New variable.
22163 (binaries-all-tests): Likewise.
22164 (binaries-static-notests): Likewise.
22165 (binaries-static-tests): Likewise.
22166 (binaries-all): Define using $(binaries-all-notests) and
22167 $(binaries-all-tests).
22168 (binaries-static): Define using $(binaries-static-notests) and
22169 $(binaries-static-tests).
22170 (binaries-shared-tests): New variable.
22171 (binaries-shared-notests): Likewise.
22172 (binaries-shared): Remove variable.
22173 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
22174 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
22175 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
22176 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
22177 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
22178 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
22179 * elf/Makefile (sln-modules): New variable.
22180 (extra-objs): Add $(sln-modules:=.o).
22181 (ldconfig-modules): Add static-stubs.
22182 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
22183 * elf/static-stubs.c: New file.
22186 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
22187 by 7 not 8 to examine high bit of fractional part. Use volatile
22188 variables when splitting into final array of floats if
22189 __FLT_EVAL_METHOD__ != 0.
22190 * math/libm-test.inc (cos_test): Add another test.
22191 (sin_test): Likewise.
22192 * sysdeps/i386/fpu/libm-test-ulps: Update.
22195 * math/libm-test.inc (cosh_test): Add more tests.
22197 * version.h (RELEASE): Set to "development".
22198 (VERSION): Set to "2.16.90".
22200 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
22202 * NEWS: Update copyright. Remove last-updated date.
22203 Mention math library bug fixes and timezone data changes.
22204 * README: Mention GNU/Hurd, x32, and HPPA support status.
22206 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
22208 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
22210 2012-06-27 Andreas Jaeger <aj@suse.de>
22212 * manual/contrib.texi (Contributors): Add Samuel Thibault.
22214 2012-06-25 Andreas Jaeger <aj@suse.de>
22216 * sysdeps/s390/fpu/libm-test-ulps: Update.
22218 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
22219 Thomas Schwinge <thomas@codesourcery.com>
22221 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
22222 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
22223 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
22226 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
22228 * sysdeps/mach/start.c: Remove file.
22229 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
22230 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
22231 * sysdeps/sh/init-first.c: Likewise.
22233 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
22234 registers for frame unwinding purposes, add CFI directives.
22235 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22236 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
22237 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
22240 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
22241 __fortify_fail returning.
22242 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22244 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
22245 sysdeps/sh/____longjmp_chk.S.
22246 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
22247 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
22248 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
22249 (gen-as-const-headers): Append sigaltstack-offsets.sym.
22251 * sysdeps/sh/abort-instr.h: New file.
22252 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
22253 process in case exit returns.
22255 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
22256 initialize the GOT register before use.
22258 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
22259 calculation of ARGC > 4.
22261 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
22262 meaningful names to some local labels.
22264 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22265 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22267 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
22268 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
22269 (__arch_compare_and_exchange_val_16_acq): Likewise.
22270 (__arch_compare_and_exchange_val_32_acq): Likewise.
22271 (atomic_exchange_and_add): Fix gUSA sequence.
22272 (atomic_add): Likewise.
22273 (atomic_add_negative): Likewise.
22274 (atomic_add_zero): Likewise.
22275 (atomic_bit_test_set): Likewise.
22277 2012-06-22 Andreas Schwab <schwab@redhat.com>
22280 * include/link.h (struct link_map): Add l_free_initfini.
22281 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
22283 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
22284 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
22285 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
22288 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
22290 * configure.in: Use AC_LANG_SOURCE.
22291 * configure: Regenerate.
22293 2012-06-22 Roland McGrath <roland@hack.frob.com>
22295 * configure.in (libc_cv_localstatedir): New substituted variable.
22296 * configure: Regenerated.
22297 * config.make.in (localstatedir): New variable, substituted from
22298 libc_cv_localstatedir.
22299 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
22300 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
22301 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
22302 * sysdeps/gnu/configure: Regenerated.
22304 2012-06-21 Jeff Law <law@redhat.com>
22307 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
22308 free. Simplify list management for _LIBC case.
22310 2012-06-21 Joseph Myers <joseph@codesourcery.com>
22313 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22314 Clear sign bit of 64-bit integer value before comparing against
22317 * sysdeps/mach/configure: Regenerated.
22319 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
22322 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
22324 2012-06-21 Jeff Law <law@redhat.com>
22327 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
22328 uint16_t for elements in the "seen" array to avoid char overflows.
22329 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22330 * elf/dl-open.c (dl_open_worker): Likewise.
22332 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
22334 * scripts/list-sources.sh: Scan PORTS for translations.
22335 * po/libc.pot: Regenerated.
22337 2012-06-21 Andreas Jaeger <aj@suse.de>
22340 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
22342 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
22343 * bits/byteswap-16.h (__bswap_16): Likewise.
22344 * bits/byteswap.h (__bswap_constant_16): Likewise.
22346 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
22349 * sysdeps/i386/fpu_control.h: Removed.
22350 * sysdeps/x86_64/fpu_control.h: Moved to ...
22351 * sysdeps/x86/fpu_control.h: Here.
22353 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
22354 (_FPU_SETCW): Likewise.
22356 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
22359 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
22360 * sysdeps/x86/fpu/bits/mathinline.h: This.
22361 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
22365 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
22366 functions if __x86_64__ is defined.
22368 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
22370 * string/endian.h: Add !__ASSEMBLER__ condition for including
22371 conversion interfaces.
22373 2012-06-15 Joseph Myers <joseph@codesourcery.com>
22376 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
22377 of ABS(x) in calculating zero to negative powers other than odd
22379 * math/libm-test.inc (pow_test): Add more tests.
22381 2012-06-15 Andreas Jaeger <aj@suse.de>
22383 * manual/contrib.texi (Contributors): Update entry of Liubov
22384 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
22387 2012-06-15 Cyril Hrubis <metan@ucw.cz>
22389 * string/string.h: Add __wur to GNU version of strerror_r.
22391 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
22394 * string/Makefile (tests): Add tst-strtok_r.
22395 * string/tst-strtok_r.c: New file.
22396 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
22397 RAX_LP/RDX_LP on SAVE_PTR.
22399 2012-06-14 Roland McGrath <roland@hack.frob.com>
22401 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
22403 2012-06-14 Joseph Myers <joseph@codesourcery.com>
22405 * libm_test.inc (csqrt_test): Allow more spurious underflow
22407 (j0_test): Likewise.
22408 (j1_test): Likewise.
22409 (y0_test): Likewise.
22410 (y1_test): Likewise.
22412 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
22414 * po/Makefile (libc.pot): Use UTF-8 charset.
22416 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
22419 Suppress sign-conversion warning from FD_SET.
22420 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
22421 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
22422 not unsigned long int.
22423 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
22425 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
22429 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
22430 __extern_always_inline instead of __extern_inline.
22431 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
22432 (__signbit): Likewise.
22433 (__signbitl): Support C++ namespace.
22434 (lrintf): New inline function.
22436 (llrintf): Likewise.
22437 (llrint): Likewise.
22447 (floorf): Likewise.
22448 (nearbyint): Likewise.
22449 (nearbyintf): Likewise.
22451 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
22453 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
22454 non-default versions.
22456 2012-06-11 Roland McGrath <roland@hack.frob.com>
22459 * manual/argp.texi (Argp): Reword argp_parse description slightly.
22461 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
22463 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
22464 (FE_UPWARD, FE_DOWNWARD): Don't define.
22465 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
22466 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22468 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
22470 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22471 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22473 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22475 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22476 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
22477 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
22478 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
22480 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
22483 * sysdeps/i386/fpu/bits/fenv.h: Removed.
22484 * sysdeps/i386/fpu/Implies: New file.
22485 * sysdeps/x86_64/fpu/Implies: Likewise.
22486 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
22487 * sysdeps/x86/fpu/bits/fenv.h: This.
22489 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
22492 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22495 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
22496 character 0xffff that matches the last element of the
22499 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22501 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
22504 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22506 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
22507 values higher than 25.6283.
22509 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22511 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
22512 subnormal exponent extraction and add some __builtin_expect.
22513 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
22514 Fix for subnormal mantissa calculation.
22516 2012-06-04 Mike Frysinger <vapier@gentoo.org>
22518 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
22519 cpu2 is -1 and errno is not ENOSYS.
22521 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
22524 * sysdeps/i386/i486/bits/string.h: Renamed to ...
22525 * sysdeps/x86/bits/string.h: This.
22526 * sysdeps/x86_64/bits/string.h: Removed.
22528 * sysdeps/i386/i486/bits/string.h: Define inline functions only
22529 if not compiling for x86-64, but compiling for >= i486.
22531 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
22532 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
22534 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
22535 New macro from Linux kernel 3.4.0.
22536 (FP_XSTATE_MAGIC2): Likewise.
22537 (FP_XSTATE_MAGIC2_SIZE): Likewise.
22538 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
22539 (struct _fpx_sw_bytes): New struct.
22540 (struct _xsave_hdr): Likewise.
22541 (struct _ymmh_state): Likewise.
22542 (struct _xstate): Likewise.
22544 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
22545 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
22546 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
22547 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
22548 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
22549 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
22551 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
22552 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
22553 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
22554 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
22555 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
22556 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
22558 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22561 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
22562 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
22563 (sysdep_headers): Include sys/platform/ppc.h.
22564 * sysdeps/powerpc/test-gettimebase.c: Test for
22565 __ppc_get_timebase() to catch future ISA opcode/insn changes.
22566 * manual/Makefile (appendices): Include platform.texi.
22567 * manual/contrib.texi (Contributors): Update @node pointers.
22568 * manual/maint.texi (Maintenance): Likewise.
22569 (Platform): New node.
22570 * manual/platform.texi: New file. Document the new features.
22572 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22573 Jakub Jelinek <jakub@redhat.com>
22576 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
22577 where __builtin_expect is unavailable.
22579 2012-06-03 David S. Miller <davem@davemloft.net>
22581 * stdlib/longlong.h: Updated from GCC.
22583 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
22586 * sysdeps/powerpc/powerpc32/mcount.c: New file.
22587 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
22589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22590 (GLIBC_2.16): Likewise.
22592 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22594 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
22596 2012-06-01 Joseph Myers <joseph@codesourcery.com>
22598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
22599 (default-abi): New variable.
22600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
22601 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
22603 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
22605 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
22607 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
22610 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
22611 definition. Document in comment.
22613 2012-06-01 David S. Miller <davem@davemloft.net>
22615 * stdlib/longlong.h: Updated from GCC.
22617 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22620 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
22621 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
22622 sys/debugreg.h sys/io.h here.
22623 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
22624 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
22626 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
22627 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
22628 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
22629 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
22630 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
22631 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
22633 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
22634 Define only if __x86_64__ is defined.
22636 2012-06-01 Joseph Myers <joseph@codesourcery.com>
22639 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
22640 Use int64_t for variable i.
22641 * math/libm-test.inc (fmod_test): Add more tests.
22643 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
22644 z computation is not scheduled after fetestexcept.
22645 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
22646 Use math_force_eval instead of asm to ensure calculation scheduled
22647 before exception test.
22648 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
22649 Ensure a1 + u.d computation is not scheduled after fetestexcept.
22651 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
22653 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
22654 computation is not scheduled after fetestexcept.
22656 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22659 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
22660 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
22662 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22664 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
22665 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22667 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22670 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
22672 (__WCHAR_MIN): Support __WORDSIZE == 64.
22673 (__WCHAR_MAX): Likewise.
22675 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
22676 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
22679 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
22680 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
22683 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
22684 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
22686 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
22687 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
22689 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
22690 Defined to 1 if __x86_64__ isn't defined.
22691 (_STAT_VER_LINUX_OLD): New.
22692 (st_atime): Remove duplicate.
22693 (st_mtime): Likewise.
22694 (st_ctime): Likewise.
22696 2012-05-31 David S. Miller <davem@davemloft.net>
22698 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
22701 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
22703 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
22707 * elf/dl-reloc.c: Include <_itoa.h>.
22708 (_dl_reloc_bad_type): Remove use of INTUSE.
22709 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
22710 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
22711 * stdio-common/psiginfo.c (psiginfo): Likewise.
22712 * stdio-common/psignal.c (psignal): Likewise.
22713 * string/strsignal.c (strsignal): Likewise.
22714 * include/signal.h (_sys_siglist): Declare hidden proto.
22715 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
22716 INTVARDEF with libc_hidden_data_def.
22717 * stdio-common/itoa-udigits.c: Likewise.
22718 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
22719 (_itoa_lower_digits_internal): Remove declaration.
22720 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
22721 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
22722 (_sys_sigabbrev_internal): Remove aliases.
22723 (_sys_siglist): Define hidden alias.
22725 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
22727 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22730 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22733 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
22734 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
22736 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
22737 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
22738 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
22739 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
22740 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
22741 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
22743 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
22744 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
22745 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22747 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
22755 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
22756 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
22757 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
22759 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
22760 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
22761 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
22762 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
22763 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
22764 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22766 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22767 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22769 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22770 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22772 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22773 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22774 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22776 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22777 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22779 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22781 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22782 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22783 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22785 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22787 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22789 2012-05-31 Joseph Myers <joseph@codesourcery.com>
22791 * math/math.h (M_El): Use two more decimal places.
22792 (M_LOG2El): Likewise.
22793 (M_LOG10El): Likewise.
22794 (M_LN2l): Likewise.
22795 (M_LN10l): Likewise.
22797 (M_PI_2l): Likewise.
22798 (M_PI_4l): Likewise.
22799 (M_1_PIl): Likewise.
22800 (M_2_PIl): Likewise.
22801 (M_2_SQRTPIl): Likewise.
22802 (M_SQRT2l): Likewise.
22803 (M_SQRT1_2l): Likewise.
22805 2012-05-31 David S. Miller <davem@davemloft.net>
22807 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22808 values between float registers.
22809 * sysdeps/sparc/sparc64/memset.S: Likewise.
22810 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22812 2012-05-31 Mike Frysinger <vapier@gentoo.org>
22814 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22815 -D_FORTIFY_SOURCE=1.
22816 (CPPFLAGS-tst-longjmp_chk.c): Define.
22817 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22818 (CPPFLAGS-tst-longjmp_chk2.c): Define.
22819 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22820 CFLAGS-tst-wchar-h.c.
22822 2012-05-31 Marek Polacek <polacek@redhat.com>
22825 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22826 __endmntent_internal): Remove declaration.
22827 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22828 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22829 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22831 2012-05-30 David S. Miller <davem@davemloft.net>
22833 * sysdeps/sparc/sparc32/soft-fp/q_util.c
22834 (___Q_simulate_exceptions): Use real FP ops rather than writing
22836 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22839 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22842 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22843 * sysdeps/x86/bits/xtitypes.h: This.
22845 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22846 * sysdeps/x86/bits/wordsize.h: This.
22848 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22849 * sysdeps/x86/bits/huge_vall.h: This.
22851 * sysdeps/i386/bits/select.h: Removed.
22852 * sysdeps/x86_64/bits/select.h: Renamed to ...
22853 * sysdeps/x86/bits/select.h: This.
22855 * sysdeps/i386/bits/setjmp.h: Removed.
22856 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22857 * sysdeps/x86/bits/setjmp.h: This.
22859 * sysdeps/i386/bits/mathdef.h: Removed.
22860 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22861 * sysdeps/x86/bits/mathdef.h: This.
22863 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
22866 * include/sys/socket.h (__connect_internal)
22867 (__libc_sa_len_internal): Remove declaration.
22868 (__connect, __libc_sa_len): Declare hidden_proto.
22869 (SA_LEN): Remove use of INTUSE.
22870 * socket/connect.c: Add libc_hidden_def.
22871 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22872 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22873 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22875 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22876 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22877 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22878 of adding _internal alias.
22880 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22883 * sysdeps/i386/bits/link.h: Removed.
22884 * sysdeps/i386/bits/linkmap.h: Likewise.
22885 * sysdeps/x86_64/bits/link.h: Renamed to ...
22886 * sysdeps/x86/bits/link.h: This.
22887 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22888 * sysdeps/x86/bits/linkmap.h: This.
22890 * sysdeps/i386/bits/endian.h: Removed.
22891 * sysdeps/x86_64/bits/endian.h: Renamed to ...
22892 * sysdeps/x86/bits/endian.h: This.
22894 * sysdeps/i386/bits/byteswap.h: Removed.
22895 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22896 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22897 * sysdeps/x86/bits/byteswap.h: This.
22898 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22899 * sysdeps/x86/bits/byteswap-16.h: This.
22900 * sysdeps/i386/Implies: Add x86.
22901 * sysdeps/x86_64/Implies: Likewise.
22903 2012-05-30 David S. Miller <davem@davemloft.net>
22905 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22906 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22907 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22908 (FP_TRAPPING_EXCEPTIONS): Define.
22909 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22910 (FP_TRAPPING_EXCEPTIONS): Define.
22911 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22912 subnormals only when inexact has been signalled or underflow
22913 exceptions are enabled.
22914 (_FP_PACK_CANONICAL): Likewise.
22916 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22919 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22920 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22922 2012-05-30 Richard Henderson <rth@twiddle.net>
22924 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22925 with #ifndef NOT_IN_libc.
22927 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
22928 marked to avoid plt entry.
22930 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22933 * Makeconfig (default-abi): New macro.
22934 (abi-includes): Likewise.
22935 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
22936 $(abi-$(default-abi)-lib-soname) for soname if defined.
22937 ($(common-objpfx)gnu/lib-names.stmp): Generate from
22939 * Makefile (installed-stubs): Likewise.
22940 * include/stubs-biarch.h: Removed.
22941 * scripts/lib-names.awk: Only handle one library at a time.
22942 * scripts/soversions.awk: Remove WORDSIZE support.
22943 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22945 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22947 (syscall-list-default-condition): Likewise.
22948 (syscall-list-default-condition): Likewise.
22949 (syscall-list-includes): Likewise.
22950 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22951 syscall-list-* with abi-*. Handle undefined abi-variants.
22952 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22953 * sysdeps/unix/sysv/linux/i386/Implies: New file.
22954 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22955 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22956 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22957 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22959 (syscall-list-32-options): Likewise.
22960 (syscall-list-32-condition): Likewise.
22961 (syscall-list-64-options): Likewise.
22962 (syscall-list-64-condition): Likewise.
22963 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22965 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22968 (abi-64-ld-soname): New macro.
22969 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22970 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22973 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22974 * sysdeps/x86_64/x32/shlib-versions: Likewise.
22976 2012-05-30 Joseph Myers <joseph@codesourcery.com>
22978 * sysdeps/unix/sysv/linux/kernel-features.h
22979 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22980 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22981 include <kernel-features.h>.
22982 [!__NR_ftruncate64]: Remove conditional code.
22983 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22984 [__NR_ftruncate64]: Make code unconditional.
22985 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22986 * sysdeps/unix/sysv/linux/truncate64.c: Do not
22987 include <kernel-features.h>.
22988 [!__NR_ftruncate64]: Remove conditional code.
22989 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22990 [__NR_ftruncate64]: Make code unconditional.
22991 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22993 include <kernel-features.h>.
22994 [!__NR_ftruncate64]: Remove conditional code.
22995 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22996 [__NR_ftruncate64]: Make code unconditional.
22997 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22999 include <kernel-features.h>.
23000 [!__NR_ftruncate64]: Remove conditional code.
23001 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23002 [__NR_ftruncate64]: Make code unconditional.
23003 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23005 * configure.in (libc_cv_fpie): Weaken to a compile test using
23006 LIBC_TRY_CC_OPTION.
23007 * configure: Regenerated.
23009 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23011 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
23012 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
23013 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
23014 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23016 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
23017 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
23018 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
23019 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
23020 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
23021 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23024 2012-05-27 David S. Miller <davem@davemloft.net>
23026 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
23028 (__Q_simulate_exceptions): Return void. Change to simulate
23029 exceptions by writing into the %fsr.
23030 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
23031 (__Qp_handle_exceptions): Likewise.
23033 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
23034 __Qp_handle_exceptions.
23035 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
23036 __Qp_handle_exceptions.
23037 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
23038 as unused and give dummy FP_RND_NEAREST initializer.
23039 (FP_INHIBIT_RESULTS): Define.
23040 (___Q_simulate_exceptions): Update declaration.
23041 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
23043 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
23044 as unused and give dummy FP_RND_NEAREST initializer.
23045 (__Qp_handle_exceptions): Update declaration.
23046 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
23049 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
23051 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
23052 the temporary FPU control word.
23053 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
23054 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
23055 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
23056 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23057 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
23058 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
23059 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
23060 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23061 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23062 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
23063 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23065 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23067 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
23070 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
23072 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
23073 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
23074 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
23075 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
23077 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
23078 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
23081 2012-05-27 Ulrich Drepper <drepper@gmail.com>
23083 * po/h.po: Update from translation team.
23085 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
23087 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
23089 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
23090 handling of denormals.
23091 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23092 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
23093 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
23094 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
23095 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23096 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
23097 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
23100 2012-05-26 Marek Polacek <polacek@redhat.com>
23103 * math/libm-test.inc (fma_test): Don't always expect underflow
23106 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23109 * elf/tst-execstack.c: Include stackinfo.h.
23110 (do_test): Adjust test case to ensure that pthread_getattr_np
23111 behaviour remains the same after marking stack executable.
23113 2012-05-25 Joseph Myers <joseph@codesourcery.com>
23115 * sysdeps/unix/sysv/linux/kernel-features.h
23116 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
23117 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
23119 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23120 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23121 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
23123 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23124 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23126 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
23128 * configure.in: Define the default includes to being none.
23129 * configure: Regenerated.
23131 2012-05-25 Roland McGrath <roland@hack.frob.com>
23133 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
23134 * sysdeps/x86_64/setjmp.S: Likewise.
23135 * sysdeps/i386/bsd-setjmp.S: Likewise.
23136 * sysdeps/i386/bsd-_setjmp.S: Likewise.
23137 * sysdeps/i386/setjmp.S: Likewise.
23138 * sysdeps/i386/__longjmp.S: Likewise.
23139 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23140 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
23142 * include/stap-probe.h: New file.
23143 * configure.in: Handle --enable-systemtap.
23144 * configure: Regenerated.
23145 * config.h.in (USE_STAP_PROBE): New #undef.
23146 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
23147 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
23148 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
23150 2012-05-25 Joseph Myers <joseph@codesourcery.com>
23153 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23154 to 2.4.0 where earlier.
23155 * sysdeps/unix/sysv/linux/configure: Regenerated.
23156 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23157 <kernel-features.h>.
23158 [__ASSUME_32BITUIDS]: Make code unconditional.
23159 [!__ASSUME_32BITUIDS]: Remove conditional code.
23160 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
23161 <kernel-features.h>.
23162 [__ASSUME_32BITUIDS]: Make code unconditional.
23163 [!__ASSUME_32BITUIDS]: Remove conditional code.
23164 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
23165 [__ASSUME_32BITUIDS]: Make code unconditional.
23166 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
23167 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
23168 <kernel-features.h>.
23169 [__ASSUME_32BITUIDS]: Make code unconditional.
23170 [!__ASSUME_32BITUIDS]: Remove conditional code.
23171 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
23172 <kernel-features.h>.
23173 [__ASSUME_32BITUIDS]: Make code unconditional.
23174 [!__ASSUME_32BITUIDS]: Remove conditional code.
23175 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
23176 <kernel-features.h>.
23177 [__ASSUME_32BITUIDS]: Make code unconditional.
23178 [!__ASSUME_32BITUIDS]: Remove conditional code.
23179 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
23180 <kernel-features.h>.
23181 [__ASSUME_32BITUIDS]: Make code unconditional.
23182 [!__ASSUME_32BITUIDS]: Remove conditional code.
23183 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23184 <kernel-features.h>.
23185 [__ASSUME_32BITUIDS]: Make code unconditional.
23186 [!__ASSUME_32BITUIDS]: Remove conditional code.
23187 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23188 <kernel-features.h>.
23189 [__ASSUME_32BITUIDS]: Make code unconditional.
23190 [!__ASSUME_32BITUIDS]: Remove conditional code.
23191 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
23192 <kernel-features.h>.
23193 [__ASSUME_32BITUIDS]: Make code unconditional.
23194 [!__ASSUME_32BITUIDS]: Remove conditional code.
23195 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23196 <kernel-features.h>.
23197 [__ASSUME_32BITUIDS]: Make code unconditional.
23198 [!__ASSUME_32BITUIDS]: Remove conditional code.
23199 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23200 <kernel-features.h>.
23201 [__ASSUME_32BITUIDS]: Make code unconditional.
23202 [!__ASSUME_32BITUIDS]: Remove conditional code.
23203 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
23204 <kernel-features.h>.
23205 [__ASSUME_32BITUIDS]: Make code unconditional.
23206 [!__ASSUME_32BITUIDS]: Remove conditional code.
23207 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
23208 <kernel-features.h>.
23209 [__NR_setresgid] (__setresgid): Do not declare.
23210 [__ASSUME_32BITUIDS]: Make code unconditional.
23211 [!__ASSUME_32BITUIDS]: Remove conditional code.
23212 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
23213 <kernel-features.h>.
23214 [__NR_setresuid] (__setresuid): Do not declare.
23215 [__ASSUME_32BITUIDS]: Make code unconditional.
23216 [!__ASSUME_32BITUIDS]: Remove conditional code.
23217 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
23218 <kernel-features.h>.
23219 [__ASSUME_32BITUIDS]: Make code unconditional.
23220 [!__ASSUME_32BITUIDS]: Remove conditional code.
23221 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
23222 <kernel-features.h>.
23223 [__ASSUME_32BITUIDS]: Make code unconditional.
23224 [!__ASSUME_32BITUIDS]: Remove conditional code.
23225 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
23226 <kernel-features.h>.
23227 [__ASSUME_32BITUIDS]: Make code unconditional.
23228 [!__ASSUME_32BITUIDS]: Remove conditional code.
23229 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
23230 <kernel-features.h>.
23231 [__ASSUME_32BITUIDS]: Make code unconditional.
23232 [!__ASSUME_32BITUIDS]: Remove conditional code.
23233 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
23234 <kernel-features.h>.
23235 [__ASSUME_32BITUIDS]: Make code unconditional.
23236 [!__ASSUME_32BITUIDS]: Remove conditional code.
23237 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
23238 <kernel-features.h>.
23239 [__ASSUME_32BITUIDS]: Make code unconditional.
23240 [!__ASSUME_32BITUIDS]: Remove conditional code.
23241 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
23242 <kernel-features.h>.
23243 [__ASSUME_32BITUIDS]: Make code unconditional.
23244 [!__ASSUME_32BITUIDS]: Remove conditional code.
23245 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
23246 <kernel-features.h>.
23247 [__ASSUME_32BITUIDS]: Make code unconditional.
23248 [!__ASSUME_32BITUIDS]: Remove conditional code.
23249 * sysdeps/unix/sysv/linux/i386/setuid.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/i386/shmctl.c: Do not include
23254 <kernel-features.h>.
23255 [__ASSUME_32BITUIDS]: Make code unconditional.
23256 [!__ASSUME_32BITUIDS]: Remove conditional code.
23257 * sysdeps/unix/sysv/linux/kernel-features.h
23258 (__ASSUME_SETRESUID_SYSCALL): Remove.
23259 (__ASSUME_SETRESGID_SYSCALL): Likewise.
23260 (__ASSUME_32BITUIDS): Likewise.
23261 (__ASSUME_LDT_WORKS): Likewise.
23262 (__ASSUME_O_DIRECTORY): Likewise.
23263 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
23264 architecture but not kernel version.
23265 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
23266 (__ASSUME_MMAP2_SYSCALL): Likewise.
23267 (__ASSUME_STAT64_SYSCALL): Likewise.
23268 (__ASSUME_IPC64): Likewise.
23269 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
23270 <kernel-features.h>.
23271 [__ASSUME_32BITUIDS]: Make code unconditional.
23272 [!__ASSUME_32BITUIDS]: Remove conditional code.
23273 * sysdeps/unix/sysv/linux/opendir.c: Do not include
23274 <kernel-features.h>.
23275 [__ASSUME_O_DIRECTORY]: Make code unconditional.
23276 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
23277 132096]: Remove conditional code.
23278 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
23279 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23280 <kernel-features.h>.
23281 [__ASSUME_32BITUIDS]: Make code unconditional.
23282 [!__ASSUME_32BITUIDS]: Remove conditional code.
23283 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23284 <kernel-features.h>.
23285 [__ASSUME_32BITUIDS]: Make code unconditional.
23286 [!__ASSUME_32BITUIDS]: Remove conditional code.
23287 * sysdeps/unix/sysv/linux/setegid.c: Do not include
23288 <kernel-features.h>.
23289 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
23291 (__setresgid): Do not declare.
23292 [__ASSUME_32BITUIDS]: Make code unconditional.
23293 [!__ASSUME_32BITUIDS]: Remove conditional code.
23294 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
23295 <kernel-features.h>.
23296 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
23298 (__setresuid): Do not declare.
23299 [__ASSUME_32BITUIDS]: Make code unconditional.
23300 [!__ASSUME_32BITUIDS]: Remove conditional code.
23301 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23302 <kernel-features.h>.
23303 [__ASSUME_32BITUIDS]: Make code unconditional.
23304 [!__ASSUME_32BITUIDS]: Remove conditional code.
23305 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
23306 <kernel-features.h>.
23307 [__ASSUME_32BITUIDS]: Make code unconditional.
23308 [!__ASSUME_32BITUIDS]: Remove conditional code.
23310 2012-05-25 Richard Henderson <rth@twiddle.net>
23312 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
23313 dl_hwcap to ifunc resolver.
23314 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
23316 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
23317 dl_hwcap to ifunc resolver.
23318 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
23320 2012-05-24 Joseph Myers <joseph@codesourcery.com>
23323 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
23324 for |x| <= 2**-26, not 2**-57.
23325 * math/libm-test.inc (acos_test): Do not allow spurious underflow
23328 2012-05-24 Jeff Law <law@redhat.com>
23330 * stdio-common/Makefile (tests): Add bug25.
23331 * stdio-common/bug25.c: New test.
23333 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23336 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
23337 multiple of MALLOC_ALIGNMENT in size.
23338 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
23340 2012-05-24 Joseph Myers <joseph@codesourcery.com>
23342 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
23344 (FILENAME_MAX): Use macro-int-constant.
23345 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
23346 (_IOFBF): Use macro-int-constant.
23347 (_IOLBF): Likewise.
23348 (_IONBF): Likewise.
23349 (SEEK_CUR): Likewise.
23350 (SEEK_END): Likewise.
23351 (SEEK_SET): Likewise.
23352 (TMP_MAX): Likewise.
23353 (EOF): Use macro-int-constant. Require < 0.
23354 (NULL): Use macro-constant. Require == 0.
23355 (stdin): Require type to be FILE *.
23356 (stdout): Likewise.
23357 (stderr): Likewise.
23358 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
23359 macro-int-constant.
23360 (EXIT_SUCCESS): Likewise.
23361 (NULL): Use macro-constant. Require == 0.
23362 (RAND_MAX): Use macro-int-constant.
23363 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
23364 [C99-based standards] (strtof): Require function.
23365 [C99-based standards] (strtold): Likewise.
23366 [C99-based standards] (strtoll): Likewise.
23367 [C99-based standards] (strtoull): Likewise.
23368 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23369 [ISO || ISO99 || ISO11] (limits.h): Likewise.
23370 [ISO || ISO99 || ISO11] (math.h): Likewise.
23371 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
23372 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23373 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23375 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
23378 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
23379 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
23380 * intl/dgettext.c (DCGETTEXT): Likewise.
23381 * intl/gettext.c (DCGETTEXT): Likewise.
23382 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
23383 * posix/regex_internal.h (gettext): Likewise.
23384 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
23385 Remove declaration.
23386 * include/argz.h (__argz_count_internal)
23387 (__argz_stringify_internal): Remove declaration.
23388 (__argz_count, __argz_stringify): Declare hidden proto.
23389 * intl/dcgettext.c: Remove use of INTDEF.
23390 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
23391 * string/argz-stringify.c: Likewise.
23392 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23393 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23394 Declare hidden proto.
23395 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23396 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23397 Declare hidden proto.
23398 * include/stdio.h (__asprintf_internal): Don't declare.
23399 (__asprintf): Don't define as macro. Declare hidden proto.
23400 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
23401 (__fsetlocking): Declare hidden proto.
23402 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
23403 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
23405 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
23406 (_IO_setlinebuf): Remove use of INTUSE.
23407 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
23408 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
23409 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
23410 Remove declaration.
23411 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
23412 (_IO_do_flush): Remove use of INTUSE.
23413 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
23414 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
23415 (_IO_adjust_column, _IO_least_wmarker)
23416 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
23417 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
23418 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
23419 (_IO_default_doallocate, _IO_wdefault_doallocate)
23420 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
23421 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
23422 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
23423 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
23424 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
23425 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
23426 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
23427 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
23428 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
23429 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
23430 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
23431 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
23432 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
23434 (_IO_flush_all_internal, _IO_adjust_column_internal)
23435 (_IO_default_uflow_internal, _IO_default_finish_internal)
23436 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
23437 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
23438 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
23439 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
23440 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
23441 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
23442 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
23443 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
23444 (_IO_file_close_internal, _IO_file_close_it_internal)
23445 (_IO_file_underflow_internal, _IO_file_overflow_internal)
23446 (_IO_file_init_internal, _IO_file_attach_internal)
23447 (_IO_file_fopen_internal, _IO_file_read_internal)
23448 (_IO_file_sync_internal, _IO_file_seek_internal)
23449 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
23450 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
23451 (_IO_str_underflow_internal, _IO_str_overflow_internal)
23452 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
23453 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
23454 (_IO_list_all_internal, _IO_link_in_internal)
23455 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
23456 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
23457 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
23458 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
23459 (_IO_do_write_internal, _IO_padn_internal)
23460 (_IO_getline_info_internal, _IO_getline_internal)
23461 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
23462 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
23463 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
23464 (_IO_vfscanf_internal, _IO_vfprintf_internal)
23465 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
23466 (_IO_init_internal, _IO_un_link_internal): Don't declare.
23467 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
23468 with libc_hidden_ver, remove use of INTUSE.
23469 * libio/genops.c: Likewise.
23470 * libio/freopen.c: Likewise.
23471 * libio/freopen64.c: Likewise.
23472 * libio/iofclose.c: Likewise.
23473 * libio/iofdopen.c: Likewise.
23474 * libio/iofflush.c: Likewise.
23475 * libio/iofflush_u.c: Likewise.
23476 * libio/iofgets.c: Likewise.
23477 * libio/iofgets_u.c: Likewise.
23478 * libio/iofopen.c: Likewise.
23479 * libio/iofopncook.c: Likewise.
23480 * libio/iofread.c: Likewise.
23481 * libio/iofread_u.c: Likewise.
23482 * libio/ioftell.c: Likewise.
23483 * libio/iofwrite.c: Likewise.
23484 * libio/iogetline.c: Likewise.
23485 * libio/iogets.c: Likewise.
23486 * libio/iogetwline.c: Likewise.
23487 * libio/iopadn.c: Likewise.
23488 * libio/iopopen.c: Likewise.
23489 * libio/ioseekoff.c: Likewise.
23490 * libio/ioseekpos.c: Likewise.
23491 * libio/iosetbuffer.c: Likewise.
23492 * libio/iosetvbuf.c: Likewise.
23493 * libio/ioungetc.c: Likewise.
23494 * libio/ioungetwc.c: Likewise.
23495 * libio/iovdprintf.c: Likewise.
23496 * libio/iovsprintf.c: Likewise.
23497 * libio/iovsscanf.c: Likewise.
23498 * libio/memstream.c: Likewise.
23499 * libio/obprintf.c: Likewise.
23500 * libio/oldfileops.c: Likewise.
23501 * libio/oldiofclose.c: Likewise.
23502 * libio/oldiofdopen.c: Likewise.
23503 * libio/oldiofopen.c: Likewise.
23504 * libio/oldiopopen.c: Likewise.
23505 * libio/oldstdfiles.c: Likewise.
23506 * libio/putc.c: Likewise.
23507 * libio/setbuf.c: Likewise.
23508 * libio/setlinebuf.c: Likewise.
23509 * libio/stdfiles.c: Likewise.
23510 * libio/strops.c: Likewise.
23511 * libio/vasprintf.c: Likewise.
23512 * libio/vscanf.c: Likewise.
23513 * libio/vsnprintf.c: Likewise.
23514 * libio/vswprintf.c: Likewise.
23515 * libio/wfiledoalloc.c: Likewise.
23516 * libio/wfileops.c: Likewise.
23517 * libio/wgenops.c: Likewise.
23518 * libio/wmemstream.c: Likewise.
23519 * libio/wstrops.c: Likewise.
23520 * libio/__fpurge.c: Likewise.
23521 * libio/__fsetlocking.c: Likewise.
23522 * assert/assert.c: Likewise.
23523 * debug/fgets_chk.c: Likewise.
23524 * debug/fgets_u_chk.c: Likewise.
23525 * debug/fread_chk.c: Likewise.
23526 * debug/fread_u_chk.c: Likewise.
23527 * debug/gets_chk.c: Likewise.
23528 * debug/obprintf_chk.c: Likewise.
23529 * debug/vasprintf_chk.c: Likewise.
23530 * debug/vdprintf_chk.c: Likewise.
23531 * debug/vsnprintf_chk.c: Likewise.
23532 * debug/vsprintf_chk.c: Likewise.
23533 * malloc/mtrace.c: Likewise.
23534 * misc/error.c: Likewise.
23535 * misc/syslog.c: Likewise.
23536 * stdio-common/asprintf.c: Likewise.
23537 * stdio-common/fxprintf.c: Likewise.
23538 * stdio-common/getw.c: Likewise.
23539 * stdio-common/isoc99_fscanf.c: Likewise.
23540 * stdio-common/isoc99_scanf.c: Likewise.
23541 * stdio-common/isoc99_vfscanf.c: Likewise.
23542 * stdio-common/isoc99_vscanf.c: Likewise.
23543 * stdio-common/isoc99_vsscanf.c: Likewise.
23544 * stdio-common/printf-prs.c: Likewise.
23545 * stdio-common/printf_fp.c: Likewise.
23546 * stdio-common/printf_fphex.c: Likewise.
23547 * stdio-common/printf_size.c: Likewise.
23548 * stdio-common/putw.c: Likewise.
23549 * stdio-common/scanf.c: Likewise.
23550 * stdio-common/sprintf.c: Likewise.
23551 * stdio-common/tmpfile.c: Likewise.
23552 * stdio-common/vfprintf.c: Likewise.
23553 * stdio-common/vfscanf.c: Likewise.
23554 * stdlib/strfmon_l.c: Likewise.
23555 * sunrpc/openchild.c: Likewise.
23556 * sunrpc/xdr_stdio.c: Likewise.
23557 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
23558 * sysdeps/mach/hurd/tmpfile.c: Likewise.
23560 2012-05-24 Roland McGrath <roland@hack.frob.com>
23562 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23564 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
23565 in the third column, to generate for the shared library an IFUNC
23566 that uses _dl_vdso_vsym.
23567 * Makerules (COMPILE.c, compile-stdin.c): New variables.
23568 * Makeconfig (object-suffixes-noshared): New variable.
23570 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
23571 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
23572 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
23573 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
23576 * include/sys/time.h (__gettimeofday): Remove macro.
23577 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
23578 * time/gettimeofday.c (__gettimeofday): Remove #undef.
23580 (__gettimeofday): Add libc_hidden_def.
23581 (gettimeofday): Add libc_hidden_weak.
23582 * sysdeps/mach/gettimeofday.c: Likewise.
23583 * sysdeps/posix/gettimeofday.c: Likewise.
23584 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
23585 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23586 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
23587 (__gettimeofday_internal): Remove strong_alias.
23588 (__gettimeofday): Add libc_hidden_def.
23589 (gettimeofday): Add libc_hidden_weak.
23590 * sysdeps/unix/syscalls.list (gettimeofday):
23591 Remove __gettimeofday_internal alias.
23593 2012-05-24 Daniel Jacobowitz <drow@false.org>
23594 H.J. Lu <hongjiu.lu@intel.com>
23597 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
23598 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
23599 (largebin_index_32_big): New.
23600 (largebin_index): Use it for 16-byte alignment.
23601 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
23602 correction with front_misalign.
23604 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23606 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
23607 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
23609 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
23611 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23613 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
23615 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
23617 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
23619 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
23621 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23623 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
23625 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
23627 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
23629 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
23632 * scripts/data/c++-types-x32-linux-gnu.data: New file.
23633 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
23635 2012-05-24 Joseph Myers <joseph@codesourcery.com>
23639 * math/libm-test.inc (exp_test): Add test from bug 14036.
23640 (pow_test): Add test from bug 10846.
23642 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
23644 (special_function): Do not include flags in test name.
23645 (parse_args): Likewise.
23646 * sysdeps/i386/fpu/libm-test-ulps: Update.
23647 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23648 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23649 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23652 * math/gen-libm-test.pl (%beautify): Add entries for underflow
23654 * math/libm-test.inc ("Philosophy"): Update comment about
23656 (UNDERFLOW_EXCEPTION): New macro.
23657 (UNDERFLOW_EXCEPTION_OK): Likewise.
23658 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
23659 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
23660 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
23661 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
23662 (INVALID_EXCEPTION_OK): Update value.
23663 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23664 (OVERFLOW_EXCEPTION_OK): Likewise.
23665 (IGNORE_ZERO_INF_SIGN): Likewise.
23666 (test_exceptions): Handle underflow exceptions.
23667 (acos_test): Update for underflow exception expectations.
23668 (cexp_test): Likewise.
23669 (clog_test): Likewise.
23670 (clog10_test): Likewise.
23671 (csqrt_test): Likewise.
23672 (ctan_test): Likewise.
23673 (ctanh_test): Likewise.
23674 (exp_test): Likewise.
23675 (exp10_test): Likewise.
23676 (exp2_test): Likewise.
23677 (expm1_test): Likewise.
23678 (fma_test): Likewise.
23679 (j0_test): Likewise.
23680 (jn_test): Likewise.
23681 (nexttoward_test): Likewise.
23682 (pow_test): Likewise.
23683 (scalbn_test): Likewise.
23684 (scalbln_test): Likewise.
23685 (tan_test): Likewise.
23686 (y1_test): Likewise.
23687 * sysdeps/i386/fpu/libm-test-ulps: Update.
23688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23690 2012-05-23 David S. Miller <davem@davemloft.net>
23692 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23693 (__libc_sigaction): Remove unused local variables.
23695 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23697 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
23699 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
23701 mktime: avoid signed integer overflow
23702 * time/mktime.c (__mktime_internal): Do not mishandle the case
23703 where diff == INT_MIN.
23705 mktime: simplify computation of average
23706 * time/mktime.c (ranged_convert): Use new time_t_avg function
23707 instead of rolling our own (probably-slower) code.
23709 mktime: do not assume signed right shift propagates sign bit
23710 * time/mktime.c (isdst_differ): New static function.
23711 (__mktime_internal): No need to normalize tm_isdst now.
23712 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
23715 mktime: merge another wrapv change from gnulib
23716 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
23717 from some compilers.
23719 mktime: remove incorrect attempt at unusual arithmetics
23720 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
23721 The code didn't really work on such machines anyway.
23722 (TYPE_MINIMUM): Assume two's complement.
23723 (twos_complement_arithmetic): Verify that long_int and time_t
23724 are two's complement (or unsigned, in the latter case).
23726 mktime: check signed shifts on long_int and time_t, too
23727 * time/mktime.c (SHR): Check that shifts work as desired
23728 on the types long_int and time_t too, as SHR is used on
23731 mktime: do not assume 'long' is wide enough
23732 * time/mktime.c (verify): Move decl up.
23733 (long_int): New type.
23734 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
23735 to remove assumption in the code that 'long' is wide enough to
23736 store year values. This assumption is not true on x32 and on
23737 some non-glibc platforms.
23739 mktime: merge wrapv change from gnulib
23740 * time/mktime.c (WRAPV): New macro.
23741 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
23742 (guess_time_tm, __mktime_internal): Do not assume that signed
23743 integer overflow wraps around; modern compilers generate code
23744 where this assumption is no longer valid.
23746 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23748 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23749 Replace "jmp L(pseudo_end)" with "ret".
23750 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
23753 2012-05-23 Andreas Jaeger <aj@suse.de>
23755 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
23756 * sysdeps/unix/sysv/linux/poll.c: Remove file.
23758 2012-05-23 Andreas Jaeger <aj@suse.de>
23759 Maximilian Attems <max@stro.at>
23761 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
23764 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23766 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23767 code so that pseudo_end is just ret and the stack pointer is
23768 correct also for static library in error case.
23770 2012-05-23 Joseph Myers <joseph@codesourcery.com>
23772 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23773 move to syscalls.list.
23774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23779 * manual/install.texi (Running make install): Do not mention Linux
23780 kernel version for which pt_chown is not needed.
23781 (Linux): Do not mention problems with nscd with 2.0 kernels.
23782 * INSTALL: Regenerated.
23784 2012-05-23 Andreas Jaeger <aj@suse.de>
23786 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23787 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23789 * sysdeps/unix/sysv/linux/s390/bits/mman.h
23790 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23791 * sysdeps/unix/sysv/linux/sh/bits/mman.h
23792 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23793 * sysdeps/unix/sysv/linux/i386/bits/mman.h
23794 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23795 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23796 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23797 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23798 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23799 * sysdeps/unix/sysv/linux/bits/in.h
23800 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23802 2012-05-22 Roland McGrath <roland@hack.frob.com>
23804 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23805 (PREPARE_VERSION): Just use assert instead, it will be elided
23806 under [NDEBUG] anyway.
23808 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23810 * sysdeps/unix/sysv/linux/Makefile: Include
23811 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
23812 (sysdep_routines): Remove sysctl.
23813 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23814 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23815 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23816 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23817 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23819 2012-05-22 Andreas Jaeger <aj@suse.de>
23821 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23822 that pseudo_end is just ret and the stack pointer is correct also
23823 for static library in error case.
23825 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
23828 * nss/nsswitch.c (defconfig_entries): New variable.
23829 (__nss_database_lookup): Don't leak defconfig entries.
23830 (nss_parse_service_list): Don't leak on error paths.
23831 (free_database_entries): New function.
23832 (free_defconfig): New function.
23833 (free_mem): Move common code to free_database_entries.
23835 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23837 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23839 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23841 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23842 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23843 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23845 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23846 (INTERNAL_SYSCALL_TYPES): Likewise.
23847 (LOAD_ARGS_TYPES_[1-6]): Likewise.
23848 (LOAD_REGS_TYPES_[1-6]): Likewise.
23849 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23850 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23852 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23854 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23855 copysignl for GLIBC_2_0.
23856 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23857 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23858 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23859 logbl for GLIBC_2_0.
23860 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23861 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23863 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23865 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23866 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23868 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23871 * time/mktime.c: Update copyright years.
23873 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
23875 mktime: merge comment-quoting-style change from gnulib
23876 * time/mktime.c: Quote 'like this' in comments.
23877 The GNU coding standards suggest that we no longer quote `like this',
23878 as "`" and "'" are typically rendered asymmetrically nowadays.
23879 The typical gnulib style is to quote 'like this' when quoting
23880 code, and "like this" when quoting English.
23882 * time/mktime.c (compile-command): Add "-I.".
23884 mktime: merge mktime-internal.h change from gnulib
23885 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23887 mktime: merge time_r change from gnulib
23888 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23890 mktime: merge DEBUG change from gnulib
23891 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23892 case system <time.h> has a #define.
23894 mktime: merge <sys/types.h> change from gnulib
23895 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23896 since <time.t> is now guaranteed to define time_t.
23898 mktime: merge HAVE_CONFIG_H change from gnulib
23899 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23901 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23903 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23906 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23908 (struct rusage): Use anonymous union to pad each field to
23911 2012-05-21 David S. Miller <davem@davemloft.net>
23913 * Makefules (o-iterator): Remove .s cases.
23914 (compile-command.s): Delete.
23915 (COMPILE.s): Delete.
23916 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23918 2012-05-21 Joseph Myers <joseph@codesourcery.com>
23920 * configure.in (libc_cv_predef_stack_protector): Only consider
23921 "foobar" and "__stack_chk_fail" lines in libc_undefs.
23922 * configure: Regenerated.
23924 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23926 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23927 New macro. Use R*LP on int and pointer.
23928 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
23929 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23930 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
23931 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23933 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23934 [__WORDSIZE_TIME64_COMPAT32] instead of
23935 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23936 (struct utmp): Likewise.
23937 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23938 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23940 (__WORDSIZE_TIME64_COMPAT32): This.
23941 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23942 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23943 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23944 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23945 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23946 (__WORDSIZE_TIME64_COMPAT32): New macro.
23948 2012-05-21 Andreas Jaeger <aj@suse.de>
23950 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23951 only if [SHARED]. Add prototype for __wcschr_ia32.
23953 2012-05-21 Roland McGrath <roland@hack.frob.com>
23955 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23956 of %rbp unmolested in the jmp_buf while mangling the low bits.
23957 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23958 unmolested high bits of %rbp while demangling the low bits.
23959 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23961 2012-05-21 Andreas Jaeger <aj@suse.de>
23963 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23964 * sunrpc/svc_simple.c: Use it for registerrpc.
23965 * sunrpc/xcrypt.c: Use it for passwd2des.
23967 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23969 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23971 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23972 Don't define if [__SYSCALL_WORDSIZE != 32].
23973 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23976 2012-05-21 Bruno Haible <bruno@clisp.org>
23977 Andreas Jaeger <aj@suse.de>
23979 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23980 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23981 inptr and inend for must_buffer_ch.
23982 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23983 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23984 * stdio-common/Makefile (tests): Remove bug15.
23985 (bug15-ENV): Remove macro.
23986 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23989 2012-05-19 Andreas Jaeger <aj@suse.de>
23990 Roland McGrath <roland@hack.frob.com>
23992 * manual/contrib.texi: Completely rewritten. It contains now an
23993 alphabetical list of contributors and their contributions.
23995 2012-05-21 Richard Henderson <rth@twiddle.net>
23997 * misc/getauxval.c (__getauxval): Use unsigned long int.
23998 * misc/sys/auxv.h: Include <sys/cdefs.h>.
23999 (getauxval): Use unsigned long int.
24001 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
24003 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24005 2012-05-21 Roland McGrath <roland@hack.frob.com>
24007 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
24008 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
24009 __alignof__ (long double).
24011 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24013 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24015 2012-05-20 Richard Henderson <rth@twiddle.net>
24017 * misc/getauxval.c: New file.
24018 * misc/sys/auxv.h: New file.
24019 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
24020 (routines): Add getauxval.
24021 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
24022 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
24023 * elf/dl-sysdep.c (_dl_auxv): Remove.
24024 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
24025 * elf/dl-support.c (_dl_auxv): New variable.
24026 (_dl_aux_init): Initialize it.
24027 * manual/startup.texi (Auxiliary Vector): New node.
24028 * sysdeps/generic/bits/hwcap.h: New file.
24029 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
24030 * sysdeps/powerpc/sysdep.h: ... here. Include it.
24031 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
24032 * sysdeps/sparc/sysdep.h: ... here. Include it.
24033 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
24034 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
24035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
24038 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
24039 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
24040 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
24041 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
24042 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
24043 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
24044 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
24046 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24048 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24050 2012-05-19 David S. Miller <davem@davemloft.net>
24052 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24054 2012-05-19 Joseph Myers <joseph@codesourcery.com>
24057 * math/s_ccosh.c: Include <float.h>
24058 (__ccosh): Avoid internal overflow calculating sinh and cosh
24059 values before multiplying by sin and cos values.
24060 * math/s_ccoshf.c: Likewise.
24061 * math/s_ccoshl.c: Likewise.
24062 * math/s_csin.c: Likewise.
24063 * math/s_csinf.c: Likewise.
24064 * math/s_csinl.c: Likewise.
24065 * math/s_csinh.c: Likewise.
24066 * math/s_csinhf.c: Likewise.
24067 * math/s_csinhl.c: Likewise.
24068 * math/libm-test.inc (ccos_test): Add more tests.
24069 (ccosh_test): Likewise.
24070 (csin_test): Likewise.
24071 (csinh_test): Likewise.
24072 * sysdeps/i386/fpu/libm-test-ulps: Update.
24073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24075 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
24077 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
24078 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
24080 * sysdeps/x86_64/x32/_itoa.h: Add comment.
24082 2012-05-19 Joseph Myers <joseph@codesourcery.com>
24084 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
24085 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
24086 * sysdeps/powerpc/soft-fp/Versions: Likewise.
24087 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
24088 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
24089 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
24090 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
24091 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
24092 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
24093 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
24094 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
24095 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
24096 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
24097 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
24098 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
24099 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
24100 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
24101 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
24102 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
24103 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
24104 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
24105 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
24106 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
24107 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
24108 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
24109 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
24110 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
24111 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
24112 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
24113 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
24114 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
24116 2012-05-18 Andreas Jaeger <aj@suse.de>
24118 * csu/.gitignore: Delete.
24120 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
24122 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
24123 (timex): Use __syscall_slong_t.
24125 2012-05-18 Andreas Jaeger <aj@suse.de>
24126 Carlos O'Donell <carlos_odonell@mentor.com>
24128 * manual/install.texi (Configuring and compiling): Update
24129 description about files modified in the source directory.
24130 * INSTALL: Regenerated.
24132 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
24134 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
24135 value. Use "or" to set return value to -1.
24136 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
24137 negate return value.
24139 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24141 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
24142 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
24143 failure if the compiler has Graphite support disabled.
24144 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
24146 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
24147 CFLAGS-memmove.c): Likewise.
24148 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
24151 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
24153 * sysdeps/x86_64/x32/_itoa.h: New file.
24155 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
24156 getdents system call only if kernel and user dirents have the
24157 same d_ino and d_off.
24159 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24160 LLONG_MAX != LONG_MAX.
24161 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24162 (_fitoa_word): Likewise.
24164 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
24166 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
24167 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
24168 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
24170 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
24171 include <bits/wordsize.h>. Check __x86_64__ instead of
24173 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
24174 if __x86_64__ is defined. Use anonymous union on fpstate.
24176 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
24179 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
24181 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
24182 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
24183 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
24184 Refer to _rtld_local_ro instead of _rtld_global_ro.
24185 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
24187 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
24189 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
24191 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
24192 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
24193 of _rtld_global, and rtld_progname instead of _dl_argv[0].
24195 * sysdeps/powerpc/powerpc32/dl-machine.c
24196 (__elf_machine_runtime_setup) [PROF]: Don't reference
24199 2012-05-18 Andreas Jaeger <aj@suse.de>
24201 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
24202 function only available for GCCs before 3.4 since GCC 3.4
24203 introduced a builtin.
24205 (llrintf): Likewise.
24206 (llrint): Likewise.
24213 (nearbyint): Likewise.
24214 (nearbyintf): Likewise.
24218 (floorf): Likewise.
24220 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24222 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
24223 on both fields and cast pointer to __syscall_ulong_t.
24225 * bits/types.h (__fsword_t): New type.
24226 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
24227 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
24228 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24229 (__FSWORD_T_TYPE): Likewise.
24230 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24231 (__FSWORD_T_TYPE): Likewise.
24232 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24233 (__FSWORD_T_TYPE): Likewise.
24234 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
24235 (__FSWORD_T_TYPE): Likewise.
24236 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
24237 __SWORD_TYPE with __fsword_t.
24238 (statfs64): Likewise.
24240 2012-05-17 David S. Miller <davem@davemloft.net>
24242 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
24244 2012-05-17 Andreas Jaeger <aj@suse.de>
24246 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
24249 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24251 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
24253 2012-05-17 Andreas Jaeger <aj@suse.de>
24255 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
24258 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
24260 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
24262 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24264 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
24265 * sysdeps/x86_64/tst-mallocalign1.c: New file.
24267 2012-05-17 Andreas Jaeger <aj@suse.de>
24268 Carlos O'Donell <carlos_odonell@mentor.com>
24271 * sysdeps/x86_64/multiarch/init-arch.h
24272 (bit_YMM_Usable): Rename to...
24273 (bit_AVX_Usable): ... this.
24274 (bit_FMA4_Usable): New macro.
24275 (bit_XMM_state): New macro.
24276 (bit_YMM_state): New macro.
24277 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
24278 [__ASSEMBLER__] (index_AVX_Usable): ... this.
24279 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
24280 (CPUID_OSXSAVE): New macro.
24281 (CPUID_AVX): New macro.
24282 (CPUID_FMA4): New macro.
24283 (index_YMM_Usable): Rename to...
24284 (index_AVX_Usable): ... this.
24285 (HAS_AVX): Use HAS_ARCH_FEATURE.
24286 (HAS_FMA4): Likewise.
24287 (HAS_YMM_USABLE): Remove.
24288 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24289 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
24291 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
24292 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
24293 * sysdeps/x86_64/multiarch/Makefile: Likewise.
24294 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
24295 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
24297 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
24299 * math/libm-test.c: Support platforms without multiple rounding modes.
24300 * math/bug-nextafter.c: Support platforms without FP exceptions.
24301 * math/bug-nexttoward.c: Likewise.
24302 * math/test-fenv.c: Likewise.
24303 * math/test-misc.c: Likewise.
24304 * stdlib/bug-getcontext.c: Likewise.
24306 2012-05-17 Andreas Jaeger <aj@suse.de>
24308 * manual/examples/search.c (critter_cmp): Change signature to
24310 * manual/string.texi (Collation Functions): Likewise.
24312 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24314 * bits/types.h: Fold copyright years.
24315 * bits/typesizes.h: Likewise.
24316 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
24317 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24318 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
24319 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
24320 * time/time.h: Likewise.
24322 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
24325 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
24326 in instead of returning them. Return void.
24327 (__libc_mallinfo): Accumulate over all arenas.
24328 (__malloc_stats): Adjust for change in int_mallinfo interface.
24330 2012-05-16 Roland McGrath <roland@hack.frob.com>
24333 * configure.in (NM): Add AC_CHECK_TOOL for it.
24334 (libc_extra_cflags): New substituted variable.
24335 Check for -fstack-protector being used implicitly.
24336 * configure: Regenerated.
24337 * config.make.in (config-extra-cflags): New variable,
24338 gets @libc_extra_cflags@.
24339 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
24342 * configure.in: Check for _FORTIFY_SOURCE being predefined.
24343 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
24344 * configure: Regenerated.
24345 * config.make.in (CPPUNDEFS): New substituted variable.
24346 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
24347 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
24348 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
24350 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24352 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
24353 (mq_attr): Use __syscall_slong_t.
24355 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24357 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
24358 Check __x86_64__ instead of __WORDSIZE.
24359 (_STAT_VER_LINUX): Likewise.
24360 (stat): Check __x86_64__ instead of __WORDSIZE. Use
24361 __syscall_ulong_t and __syscall_slong_t.
24362 (stat64): Likewise.
24364 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24366 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
24368 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24370 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
24372 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24374 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
24377 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
24378 include <bits/wordsize.h>. Check __x86_64__ instead of
24380 (greg_t): Use "__extension__ long long int" if __x86_64__ is
24382 (mcontext_t): Replace "unsigned long" with "unsigned long long".
24384 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
24385 include <bits/wordsize.h>. Check __x86_64__ instead of
24387 (user_regs_struct): Use "__extension__ unsigned long long"
24388 instead of "unsigned long" if __x86_64__ is defined.
24389 (user): Likewise. Pad after pointer field if __ILP32__ is
24392 2012-05-16 Joseph Myers <joseph@codesourcery.com>
24394 * configure.in (makeinfo): Require version 4.5 or later. Allow
24396 * configure: Regenerated.
24397 * manual/install.texi (texinfo): Increase version requirement to
24399 * INSTALL: Regenerated.
24401 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
24403 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24405 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
24407 * sysdeps/x86_64/x32/ffs.c: New file.
24409 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
24411 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
24412 defined. Use __syscall_ulong_t.
24413 (shminfo): Use __syscall_ulong_t.
24414 (shm_info): Likewise.
24416 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
24419 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
24421 (msgqnum_t): Use __syscall_ulong_t.
24422 (msglen_t): Likewise.
24423 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
24426 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
24427 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24429 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
24431 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
24432 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
24434 * sysvipc/sys/msg.h (msgbuf): Replace long int with
24437 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
24438 include <bits/wordsize.h>. Check __x86_64__ instead of
24441 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
24442 "unsigned long long int" if __x86_64__ is defined.
24443 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
24445 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
24446 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24447 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
24449 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
24451 (GET_PC): Cast to uintptr_t first.
24452 (GET_FRAME): Likewise.
24453 (GET_STACK): Likewise.
24455 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
24456 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
24457 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
24458 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
24459 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
24460 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
24461 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
24462 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
24463 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
24464 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
24465 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
24466 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
24467 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24468 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
24469 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
24470 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
24471 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
24472 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
24473 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
24474 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
24475 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
24476 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
24477 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
24478 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
24479 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
24480 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
24481 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
24482 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
24483 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
24485 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
24487 * Makerules (+depfiles): Also collect depfiles from .oS in
24489 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
24490 .oS, $(libnldbl-routines)).
24492 * Makerules (native-compile-mkdep-flags): Define.
24493 * sunrpc/Makefile (extra-objs): Add $(addprefix
24494 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
24495 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
24496 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
24497 calling $(make-target-directory).
24499 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24501 * bits/types.h (__snseconds_t): Removed.
24502 * time/time.h (struct timespec): Replace __snseconds_t with
24504 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
24505 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
24507 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24508 (__SNSECONDS_T_TYPE): Likewise.
24509 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24510 (__SNSECONDS_T_TYPE): Likewise.
24511 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24512 (__SNSECONDS_T_TYPE): Likewise.
24514 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24516 * sysdeps/mach/hurd/bits/typesizes.h
24517 (__SYSCALL_SLONG_TYPE): New macro.
24518 (__SYSCALL_ULONG_TYPE): Likewise.
24520 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24522 * bits/types.h (__syscall_slong_t): New type.
24523 (__syscall_ulong_t): Likewise.
24525 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
24526 (__SYSCALL_ULONG_TYPE): Likewise.
24527 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24528 (__SYSCALL_SLONG_TYPE): Likewise.
24529 (__SYSCALL_ULONG_TYPE): Likewise.
24530 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24531 (__SYSCALL_SLONG_TYPE): Likewise.
24532 (__SYSCALL_ULONG_TYPE): Likewise.
24533 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24534 (__SYSCALL_SLONG_TYPE): Likewise.
24535 (__SYSCALL_ULONG_TYPE): Likewise.
24537 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24539 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
24540 Add sigaltstack-offsets.sym.
24541 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
24542 <sigaltstack-offsets.h>.
24543 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
24544 longjmp_msg pointer.
24545 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
24546 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
24548 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
24550 2012-05-15 Joseph Myers <joseph@codesourcery.com>
24552 * elf/stackguard-macros.h: Remove file.
24553 * sysdeps/generic/stackguard-macros.h: New file.
24554 * sysdeps/i386/stackguard-macros.h: Likewise.
24555 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24556 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24557 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24558 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24559 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24560 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24561 * sysdeps/x86_64/stackguard-macros.h: Likewise.
24562 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
24563 <elf/stackguard-macros.h>.
24566 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
24567 __aligned__ in attribute.
24568 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
24569 (gregset_t): Likewise.
24571 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24573 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
24574 * sysdeps/x86_64/64/Implies-after: Here. New file.
24575 * sysdeps/x86_64/x32/Implies-after: New file.
24577 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24579 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
24580 and access return value for _dl_profile_fixup. Use R10_LP to
24583 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24585 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
24587 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24589 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
24590 * sysdeps/x86_64/x32/sysdep.h: New file.
24592 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24594 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
24595 * sysdeps/x86_64/setjmp.S: Likewise.
24597 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24599 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
24600 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
24601 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
24602 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
24603 remove unused global constant.
24605 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
24607 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
24608 include of <not-cancel.h>.
24610 2012-05-15 Roland McGrath <roland@hack.frob.com>
24612 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
24614 2012-05-15 Jeff Law <law@redhat.com>
24615 Andreas Jaeger <aj@suse.de>
24618 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
24620 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
24621 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
24622 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
24623 code changing __hst_map_handle.map.
24625 2012-05-15 Roland McGrath <roland@hack.frob.com>
24627 * configure.in (sysnames): Look for Implies-before and Implies-after
24629 * configure: Regenerated.
24631 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24633 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
24634 8-byte data alignment with LP_SIZE alignment.
24636 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24638 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
24641 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24643 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
24645 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24647 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
24648 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
24649 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
24651 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24653 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24655 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
24656 (stackinfo_sub_sp): Likewise.
24658 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24660 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
24663 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24665 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
24668 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24670 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
24673 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24675 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
24677 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24679 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
24680 into R11_LP and load __x86_64_shared_cache_size_half into
24683 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24685 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
24688 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24690 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
24692 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
24694 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
24696 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
24697 powerpc32/power7/fpu/s_logb.c via #include.
24698 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
24699 powerpc32/power7/fpu/s_logbf.c via #include.
24700 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
24701 powerpc32/power7/fpu/s_logbl.c via #include.
24703 2012-05-15 Joseph Myers <joseph@codesourcery.com>
24705 * README.libm: Remove file.
24707 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24709 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
24710 count for x32. Use R*_LP and omit operand-size suffix.
24712 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24714 * shlib-versions: Move x86_64-.*-linux.* entries to ...
24715 * sysdeps/x86_64/64/shlib-versions: Here. New file.
24716 * sysdeps/x86_64/x32/shlib-versions: New file.
24718 2012-05-14 Roland McGrath <roland@hack.frob.com>
24720 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
24721 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
24722 Use _dl_fatal_printf instead.
24724 2012-05-14 Joseph Myers <joseph@codesourcery.com>
24726 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
24727 set if not set by the user. Do not allow for being unset.
24728 * sysdeps/unix/sysv/linux/configure: Regenerated.
24730 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24732 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
24733 the `q' suffix from lea and replace .quad with ASM_ADDR.
24735 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24737 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
24738 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
24740 (PTR_DEMANGLE): Likewise.
24742 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24744 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
24746 (ASM_ADDR): Likewise.
24747 (RAX_LP): Likewise.
24748 (RBP_LP): Likewise.
24749 (RBX_LP): Likewise.
24750 (RCX_LP): Likewise.
24751 (RDI_LP): Likewise.
24752 (RSI_LP): Likewise.
24753 (RSP_LP): Likewise.
24756 (R10_LP): Likewise.
24757 (R10_LP): Likewise.
24758 (R11_LP): Likewise.
24759 (R12_LP): Likewise.
24760 (R13_LP): Likewise.
24761 (R14_LP): Likewise.
24762 (R15_LP): Likewise.
24764 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24766 * sysdeps/x86_64/x32/dl-machine.h: New file.
24768 2012-05-14 Andreas Jaeger <aj@suse.de>
24770 * manual/Makefile (subdir): Remove export of subdir.
24771 (all): Remove target.
24772 (.PHONY): Remove all from list.
24773 (mkinstalldirs): Remove.
24774 (.PHONY): Remove installdirs from list.
24775 ($(inst_infodir)/libc.info): Use make-target-directory.
24776 (installdirs): Remove.
24777 (subdir_%): Remove.
24778 (glibc-targets): Remove.
24781 ($(objpfx)stubs ../po/manual.pot): Remove.
24782 ($(objpfx)stamp%): Remove.
24783 (make-target-directory): Remove.
24784 (subdir_install): Remove.
24785 (routines): Remove.
24792 * manual/.gitignore: Remove, it's not needed anymore.
24793 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24795 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24797 (texis): Renamed to $(objpfx)texis.
24798 (texis-path): New, contains path to generated files.
24799 (chapters.%): Use texis-path for complete path, add extra argument
24801 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24802 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24803 (summary,texi, stamp-summary): Use complete path of
24804 files. Generate files in build dir.
24805 (dir-add.texi): Build in build dir.
24806 (libm-err.texi,stamp-libm-err): Likewise.
24807 (version.texi, stamp-version): Likewise.
24808 (.%c.texi): Likewise.
24809 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24810 (mostlyclean): Remove target.
24811 (realclean): Remove target.
24812 (generated): Add new variable with contents from mostlyclean and
24813 realclean, remove entries duplicated in common-mostlyclean, add
24814 stamp-libm-err and stamp-version.
24815 (generated-dirs): Add libc directory.
24816 ($(inst_infodir)/libc.info): Install files from build dir.
24818 * manual/install.texi (Configuring and compiling): Adjust since
24819 the info files are not part of the tar ball anymore.
24821 2012-05-14 Andreas Jaeger <aj@suse.de>
24823 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24826 2012-05-14 Joseph Myers <joseph@codesourcery.com>
24829 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24830 to 2.2.0 where earlier.
24831 * sysdeps/unix/sysv/linux/configure: Regenerated.
24832 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24833 Remove conditional code.
24834 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24835 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24836 Remove conditional code.
24837 [!__NR_lchown]: Likewise.
24838 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24839 [__NR_lchown]: Likewise.
24840 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24841 comment referencing __ASSUME_LCHOWN_SYSCALL.
24842 * sysdeps/unix/sysv/linux/i386/sigaction.c
24843 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24844 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24845 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24846 Remove conditional code.
24847 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24848 (__protocol_available): Remove #if 0 code.
24849 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24851 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24852 * sysdeps/unix/sysv/linux/kernel-features.h
24853 (__ASSUME_GETCWD_SYSCALL): Don't define.
24854 (__ASSUME_REALTIME_SIGNALS): Likewise.
24855 (__ASSUME_PREAD_SYSCALL): Likewise.
24856 (__ASSUME_PWRITE_SYSCALL): Likewise.
24857 (__ASSUME_POLL_SYSCALL): Likewise.
24858 (__ASSUME_LCHOWN_SYSCALL): Likewise.
24859 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24861 (__ASSUME_SIOCGIFNAME): Don't define.
24862 (__ASSUME_MSG_NOSIGNAL): Likewise.
24863 (__ASSUME_SENDFILE): Define unconditionally.
24864 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24865 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24867 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24868 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24869 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24870 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24871 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24872 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24873 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24875 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24876 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24878 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24879 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24881 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24882 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24884 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24885 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24887 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24888 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24890 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24891 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24893 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24894 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24896 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24897 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24898 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24899 Remove conditional code.
24900 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24901 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24902 Remove conditional code.
24903 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24904 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24905 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24906 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24907 Remove conditional code.
24908 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24909 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24910 Remove conditional code.
24911 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24912 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24913 Remove conditional code.
24914 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24915 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24916 Remove conditional code.
24917 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24918 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24919 Remove conditional code.
24920 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24921 * sysdeps/unix/sysv/linux/sh/pwrite64.c
24922 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24923 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24924 * sysdeps/unix/sysv/linux/sigaction.c
24925 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24926 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24927 * sysdeps/unix/sysv/linux/sigpending.c
24928 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24929 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24930 * sysdeps/unix/sysv/linux/sigprocmask.c
24931 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24932 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24933 * sysdeps/unix/sysv/linux/sigsuspend.c
24934 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24935 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24936 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24937 (__libc_missing_rt_sigs): Remove.
24938 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24939 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24940 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24941 Remove conditional code.
24942 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24943 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24945 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24946 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24947 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24948 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24950 2012-05-14 Andreas Jaeger <aj@suse.de>
24952 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24953 it's not used in glibc.
24954 (__coshm1): Likewise.
24955 (__acosh1p): Likewise.
24958 * manual/string.texi (Copying and Concatenation): Add missing
24959 variable in concat example.
24960 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24962 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24965 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24966 __builtin_clzl with __builtin_clzll.
24968 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24971 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24974 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24976 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24977 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24978 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24979 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24981 2012-05-14 Mike Frysinger <vapier@gentoo.org>
24983 * NEWS: Update ia64 info.
24985 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
24987 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24990 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
24992 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24993 * sysdeps/unix/syscalls.list (dup3): Likewise.
24994 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24995 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24997 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24999 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
25000 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
25002 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
25004 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
25006 (TLS_IE): Use mov/add instead of movq/addq to load thread
25008 (TLS_GD_PREFIX): New.
25011 2012-05-11 David S. Miller <davem@davemloft.net>
25013 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
25014 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
25015 (_FPU_SETCW): Likewise.
25017 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25019 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
25020 is 32-byte aligned.
25022 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
25025 * iconvdata/gb18030.c: Update tables.
25026 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
25027 characters specially.
25028 (BODY for TO_LOOP): Add encoding of missing ranges.
25030 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
25033 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
25034 * sysdeps/mach/hurd/dup3.c: Likewise.
25035 * sysdeps/mach/hurd/readlinkat.c: Likewise.
25036 * sysdeps/powerpc/memmove.c:: Likewise.
25038 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25040 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
25041 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
25043 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25045 * elf/elf.h (R_X86_64_RELATIVE64): New.
25046 (R_X86_64_NUM): Updated.
25047 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25048 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
25049 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
25050 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
25051 tst-quad1pie tst-quad2pie
25052 (modules-names): Add tst-quadmod1 tst-quadmod2.
25053 ($(objpfx)tst-quad1): New dependency.
25054 ($(objpfx)tst-quad2): Likewise.
25055 ($(objpfx)tst-quad1pie): Likewise.
25056 ($(objpfx)tst-quad2pie): Likewise.
25057 * sysdeps/x86_64/tst-quad1.c: New file.
25058 * sysdeps/x86_64/tst-quad1pie.c: New file.
25059 * sysdeps/x86_64/tst-quad2.c: Likewise.
25060 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
25061 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
25062 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
25063 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
25064 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
25066 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25068 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
25069 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
25070 * streams/stropts.h (t_scalar_t): Define type.
25072 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
25073 (_PATH_PRESERVE): Set to "/var/lib".
25074 (_PATH_RWHODIR): Set to "/var/spool/rwho".
25076 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
25079 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
25080 if __dir_mkfile succeeded.
25082 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
25083 checking for _hurd_dtablesize. Unlock it right after having
25084 finished _hurd_dtable allocation.
25086 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25088 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
25089 * sysdeps/mach/hurd/configure: Regenerated.
25090 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
25091 special-casing to...
25092 * sysdeps/gnu/configure.in: ... this new file.
25093 * sysdeps/unix/sysv/linux/configure: Regenerated.
25094 * sysdeps/gnu/configure: New generated file.
25096 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
25097 for Linux: use nsec instead of usec, as well as:
25098 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
25099 members of type struct timespec.
25100 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
25102 (struct stat64): Likewise.
25103 (_STATBUF_ST_NSEC): New macro.
25104 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
25106 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25107 __strtoul_internal rather than strtoul.
25109 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25111 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
25114 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25116 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
25117 which preserves existing values.
25118 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
25120 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25122 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
25123 TIMEOUT values. Return EINVAL for NFDS values either negative or
25124 greater than FD_SETSIZE.
25126 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25128 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
25129 allocated, call __vm_protect to finish enabling the existing space, and
25130 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
25131 allocate the remainder.
25133 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25135 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
25136 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
25138 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25140 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
25141 sysdeps/mach/hurd/readlink.c.
25143 * posix/tst-sysconf.c (posix_options): Only use
25144 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
25145 _POSIX_SYNCHRONIZED_IO when they are defined
25146 * sysdeps/mach/hurd/bits/posix_opt.h:
25147 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
25148 (_XOPEN_REALTIME): Undefine macro.
25149 (_XOPEN_REALTIME_THREADS): Undefine macro.
25150 (_XOPEN_SHM): Undefine macro.
25151 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
25153 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
25155 (_POSIX_ASYNC_IO): Undefine macro.
25156 (_POSIX_PRIORITIZED_IO): Undefine macro.
25157 (_POSIX_SPIN_LOCKS): Define macro to -1.
25159 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
25160 SA_NODEFER, SA_RESETHAND.
25161 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
25162 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
25165 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25167 * elf/Makefile (pldd-modules): Define unconditionally.
25169 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25171 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
25173 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25175 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
25176 Return ENOENT when name is empty.
25177 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
25179 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25181 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
25183 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
25185 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25187 Fix mlock in all cases except non-readable pages.
25188 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
25189 instead of VM_PROT_ALL as parameter to __vm_wire function.
25191 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
25192 (__mkdir): When path is `/', just fail with EEXIST.
25193 * sysdeps/mach/hurd/mkdirat.c: Likewise.
25195 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25197 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
25198 <sys/uio.h> (for writev).
25199 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
25200 and <sys/param.h> (for MIN).
25202 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25204 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
25205 REQUESTED_TIME. Properly set the remaining time and return EINTR
25208 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25210 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
25211 Depend on against $(link-rpcuserlibs).
25213 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25215 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
25216 (__libc_stack_end): Do not use attribute_relro.
25217 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
25218 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
25219 to libthread-provided value.
25220 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
25223 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25226 * bits/libc-lock.h (__libc_once_get): New macro.
25227 * sysdeps/mach/bits/libc-lock.h: Likewise.
25228 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
25229 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
25230 instead of using implementation details.
25232 * libio/fileops.c: Unconditionally include <kernel-features.h>.
25233 * libio/freopen.c: Likewise.
25234 * libio/freopen64.c: Likewise.
25235 * misc/syslog.c: Likewise.
25236 * nscd/connections.c: Likewise.
25237 * nscd/netgroupcache.c: Likewise.
25238 * sysdeps/posix/getcwd.c: Likewise.
25240 2012-05-10 Roland McGrath <roland@hack.frob.com>
25242 * math/w_ilogbf.c: Add #include <limits.h>.
25244 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25246 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
25247 path instead of returning without unlocking.
25249 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
25250 immediate-write ioctls.
25251 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
25253 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25255 * sysdeps/mach/hurd/i386/init-first.c (init): Use
25256 __builtin_frame_address instead of making assumptions about the
25257 location of the return address relative to DATA. Force early load of
25258 the return address.
25259 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
25260 __builtin_frame_address.
25263 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
25264 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
25265 implement dup3 and do some further code clean-ups.
25266 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
25267 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
25269 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25271 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
25273 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
25274 HURD_CRITICAL_END around holding _hurd_dtable_lock.
25275 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
25276 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
25277 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
25280 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
25281 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
25282 when handler == SIG_ERR, not when handler != SIG_ERR.
25284 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25286 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
25287 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
25290 accept4 for GNU Hurd.
25291 * include/sys/socket.h (__libc_accept4): New prototype.
25292 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
25293 to implement __libc_accept4.
25294 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
25296 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
25298 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
25299 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
25300 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
25301 signal-defines.sym.
25303 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25305 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
25307 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25309 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
25310 assertion on O_CLOEXEC flag.
25311 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
25312 * hurd/intern-fd.c: Likewise.
25313 * hurd/port2fd.c: Likewise.
25315 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25318 * bits/in.h (IPV6_PKTINFO): Define new macro.
25319 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
25321 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25326 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
25327 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25328 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
25329 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
25330 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25331 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
25332 * math/libm-test.inc (logb_test) : Additional logb tests.
25334 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
25335 Andreas Jaeger <aj@suse.de>
25337 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
25338 * configure: Regenerated.
25339 * config.h.in (LINK_OBSOLETE_RPC): New macro.
25340 * config.make.in (link-obsolete-rpc): New substituted variable.
25341 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
25342 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
25343 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25344 (shared-only-routines): Don't set it under [link-obsolete-rpc],
25345 so that libc.a contains the symbols.
25346 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25347 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
25348 * sunrpc/auth_none.c: Likewise.
25349 * sunrpc/auth_unix.c: Likewise.
25350 * sunrpc/authdes_prot.c: Likewise.
25351 * sunrpc/authuxprot.c: Likewise.
25352 * sunrpc/clnt_gen.c: Likewise.
25353 * sunrpc/clnt_perr.c: Likewise.
25354 * sunrpc/clnt_raw.c: Likewise.
25355 * sunrpc/clnt_simp.c: Likewise.
25356 * sunrpc/clnt_tcp.c: Likewise.
25357 * sunrpc/clnt_udp.c: Likewise.
25358 * sunrpc/clnt_unix.c: Likewise.
25359 * sunrpc/des_crypt.c: Likewise.
25360 * sunrpc/des_soft.c: Likewise.
25361 * sunrpc/get_myaddr.c: Likewise.
25362 * sunrpc/key_call.c: Likewise.
25363 * sunrpc/key_prot.c: Likewise.
25364 * sunrpc/netname.c: Likewise.
25365 * sunrpc/pm_getmaps.c: Likewise.
25366 * sunrpc/pm_getport.c: Likewise.
25367 * sunrpc/pmap_clnt.c: Likewise.
25368 * sunrpc/pmap_prot.c: Likewise.
25369 * sunrpc/pmap_prot2.c: Likewise.
25370 * sunrpc/pmap_rmt.c: Likewise.
25371 * sunrpc/publickey.c: Likewise.
25372 * sunrpc/rpc_cmsg.c: Likewise.
25373 * sunrpc/rpc_common.c: Likewise.
25374 * sunrpc/rpc_dtable.c: Likewise.
25375 * sunrpc/rpc_prot.c: Likewise.
25376 * sunrpc/rpc_thread.c: Likewise.
25377 * sunrpc/rtime.c: Likewise.
25378 * sunrpc/svc.c: Likewise.
25379 * sunrpc/svc_auth.c: Likewise.
25380 * sunrpc/svc_raw.c: Likewise.
25381 * sunrpc/svc_run.c: Likewise.
25382 * sunrpc/svc_tcp.c: Likewise.
25383 * sunrpc/svc_udp.c: Likewise.
25384 * sunrpc/svc_unix.c: Likewise.
25385 * sunrpc/svcauth_des.c: Likewise.
25386 * sunrpc/xcrypt.c: Likewise.
25387 * sunrpc/xdr.c: Likewise.
25388 * sunrpc/xdr_array.c: Likewise.
25389 * sunrpc/xdr_float.c: Likewise.
25390 * sunrpc/xdr_intXX_t.c: Likewise.
25391 * sunrpc/xdr_mem.c: Likewise.
25392 * sunrpc/xdr_rec.c: Likewise.
25393 * sunrpc/xdr_ref.c: Likewise.
25394 * sunrpc/xdr_sizeof.c: Likewise.
25395 * sunrpc/xdr_stdio.c: Likewise.
25397 2012-05-10 Roland McGrath <roland@hack.frob.com>
25399 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
25400 change. Update copyright years.
25402 2012-05-10 Joseph Myers <joseph@codesourcery.com>
25404 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
25406 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
25407 Joseph Myers <joseph@codesourcery.com>
25408 Paul Pluzhnikov <ppluzhnikov@google.com>
25411 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
25413 [cross-compiling] (extra-libs): Likewise.
25414 [cross-compiling] (extra-libs-others): Likewise.
25415 [cross-compiling] (librpcsvc-routines): Likewise.
25416 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
25417 [cross-compiling] (omit-deps): Likewise.
25418 (sunrpc-CPPFLAGS): New variable.
25419 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
25420 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
25421 (cross-rpcgen-objs): New variable.
25422 (extra-objs): Append $(cross-rpcgen-objs).
25423 ($(cross-rpcgen-objs)): New rule.
25424 ($(objpfx)cross-rpcgen): Likewise.
25425 (rpcgen-cmd): Define to use $(built-program-file). Expand
25427 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
25428 ($(objpfx)x%.stmp): Likewise.
25429 * sunrpc/proto.h [IS_IN_build] (_): Define.
25430 [IS_IN_build] (_libc_intl_domainname): Likewise.
25432 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25434 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
25435 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
25436 and R_X86_64_TPOFF64.
25438 2012-05-10 Joseph Myers <joseph@codesourcery.com>
25440 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
25441 sysdeps/unix/sysv/syscalls.list.
25444 * sysdeps/unix/sysv/syscalls.list: Remove file.
25446 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
25449 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
25450 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
25451 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
25452 (__LC_IDENTIFICATION): Make these macros useful in #if
25453 expressions, as required by C99.
25455 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
25457 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
25458 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
25461 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
25463 * stdlib/longlong.h: Updated from GCC.
25465 2012-05-09 Andreas Jaeger <aj@suse.de>
25467 * nscd/nscd.c (run_modes): Make named enum, reorder so that
25468 default is first entry.
25469 (run_mode): Set type.
25470 (main): Remove informal message about syslog.
25471 (options): Fix typo.
25474 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
25477 (llrintf): Likewise.
25478 (llrint): Likewise.
25481 (nearbyint): Likewise.
25482 (nearbyintf): Likewise.
25484 2012-05-09 Andreas Jaeger <aj@suse.de>
25485 Pedro Alves <palves@redhat.com>
25487 * nscd/nscd.c (run_mode): Use enum.
25488 (main): Cleanup coding style issue.
25490 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
25491 Andreas Jaeger <aj@suse.de>
25493 * nscd/nscd.c (go_background): Replaced with...
25494 (run_mode): ... this.
25495 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
25496 (options): Add -F --foreground.
25497 (main): Implement it.
25498 (parse_opt): Parse it.
25500 2012-05-09 Andreas Jaeger <aj@suse.de>
25503 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
25504 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
25505 -Wconversion warning.
25506 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
25509 2012-05-09 Joseph Myers <joseph@codesourcery.com>
25511 * conform/data/locale.h-data (NULL): Use macro-constant. Require
25513 (LC_ALL): Use macro-int-constant.
25514 (LC_COLLATE): Likewise.
25515 (LC_CTYPE): Likewise.
25516 (LC_MESSAGES): Likewise.
25517 (LC_MONETARY): Likewise.
25518 (LC_NUMERIC): Likewise.
25519 (LC_TIME): Likewise.
25520 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
25521 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25522 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25523 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
25525 [C99-based standards] (float_t): Expect type.
25526 [C99-based standards] (double_t): Expect type.
25527 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
25529 [C99-based standards] (HUGE_VALL): Likewise.
25530 [C99-based standards] (INFINITY): Likewise.
25531 [C99-based standards] (NAN): Likewise.
25532 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
25533 [C99-based standards] (FP_NAN): Likewise.
25534 [C99-based standards] (FP_NORMAL): Likewise.
25535 [C99-based standards] (FP_SUBNORMAL): Likewise.
25536 [C99-based standards] (FP_ZERO): Likewise.
25537 [C99-based standards] (FP_FAST_FMA): Use
25538 optional-macro-int-constant. Specify type. Require == 1.
25539 [C99-based standards] (FP_FAST_FMAF): Likewise.
25540 [C99-based standards] (FP_FAST_FMAL): Likewise.
25541 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
25542 [C99-based standards] (FP_ILOGBNAN): Likewise.
25543 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
25545 [C99-based standards] (MATH_ERREXCEPT): Likewise.
25546 [C99-based standards] (math_errhandling): Specify type.
25547 [ISO99 || ISO11] (signgam): Do not allow.
25548 [non-C99-based standards] (copysignf): Do not allow.
25549 [non-C99-based standards] (exp2f): Likewise.
25550 [non-C99-based standards] (log2f): Likewise.
25551 [non-C99-based standards] (modff): Allow.
25552 [non-C99-based standards] (erff): Do not allow.
25553 [non-C99-based standards] (erfcf): Likewise.
25554 [non-C99-based standards] (gammaf): Likewise.
25555 [non-C99-based standards] (hypotf): Likewise.
25556 [non-C99-based standards] (j0f): Likewise.
25557 [non-C99-based standards] (j1f): Likewise.
25558 [non-C99-based standards] (jnf): Likewise.
25559 [non-C99-based standards] (lgammaf): Likewise.
25560 [non-C99-based standards] (tgammaf): Likewise.
25561 [non-C99-based standards] (y0f): Likewise.
25562 [non-C99-based standards] (y1f): Likewise.
25563 [non-C99-based standards] (ynf): Likewise.
25564 [non-C99-based standards] (isnanf): Likewise.
25565 [non-C99-based standards] (acoshf): Likewise.
25566 [non-C99-based standards] (asinhf): Likewise.
25567 [non-C99-based standards] (atanhf): Likewise.
25568 [non-C99-based standards] (cbrtf): Likewise.
25569 [non-C99-based standards] (expm1f): Likewise.
25570 [non-C99-based standards] (ilogbf): Likewise.
25571 [non-C99-based standards] (log1pf): Likewise.
25572 [non-C99-based standards] (logbf): Likewise.
25573 [non-C99-based standards] (nextafterf): Likewise.
25574 [non-C99-based standards] (remainderf): Likewise.
25575 [non-C99-based standards] (rintf): Likewise.
25576 [non-C99-based standards] (scalbf): Likewise.
25577 [non-C99-based standards] (copysignl): Likewise.
25578 [non-C99-based standards] (exp2l): Likewise.
25579 [non-C99-based standards] (log2l): Likewise.
25580 [non-C99-based standards] (modfl): Allow.
25581 [non-C99-based standards] (erfl): Do not allow.
25582 [non-C99-based standards] (erfcl): Likewise.
25583 [non-C99-based standards] (gammal): Likewise.
25584 [non-C99-based standards] (hypotl): Likewise.
25585 [non-C99-based standards] (j0l): Likewise.
25586 [non-C99-based standards] (j1l): Likewise.
25587 [non-C99-based standards] (jnl): Likewise.
25588 [non-C99-based standards] (lgammal): Likewise.
25589 [non-C99-based standards] (tgammal): Likewise.
25590 [non-C99-based standards] (y0l): Likewise.
25591 [non-C99-based standards] (y1l): Likewise.
25592 [non-C99-based standards] (ynl): Likewise.
25593 [non-C99-based standards] (isnanl): Likewise.
25594 [non-C99-based standards] (acoshl): Likewise.
25595 [non-C99-based standards] (asinhl): Likewise.
25596 [non-C99-based standards] (atanhl): Likewise.
25597 [non-C99-based standards] (cbrtl): Likewise.
25598 [non-C99-based standards] (expm1l): Likewise.
25599 [non-C99-based standards] (ilogbl): Likewise.
25600 [non-C99-based standards] (log1pl): Likewise.
25601 [non-C99-based standards] (logbl): Likewise.
25602 [non-C99-based standards] (nextafterl): Likewise.
25603 [non-C99-based standards] (remainderl): Likewise.
25604 [non-C99-based standards] (rintl): Likewise.
25605 [non-C99-based standards] (scalbl): Likewise.
25606 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25607 [non-C99-based standards] (FP_*): Do not allow.
25608 [C99-based standards] (FP_*): Change to
25609 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25610 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25612 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
25613 (SIG_ERR): Likewise.
25614 [X/Open-based standards] (SIG_HOLD): Likewise.
25615 (SIG_IGN): Likewise.
25616 (SIGABRT): Use macro-int-constant. Specify type. Require
25618 (SIGFPE): Likewise.
25619 (SIGILL): Likewise.
25620 (SIGINT): Likewise.
25621 (SIGSEGV): Likewise.
25622 (SIGTER): Likewise.
25623 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
25624 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
25625 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
25626 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
25627 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
25628 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
25629 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
25630 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
25631 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
25632 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
25633 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
25634 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
25635 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
25636 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
25637 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
25638 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
25639 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
25640 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
25641 [X/Open-based standards] (SIGTRAP): Likewise.
25642 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
25643 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
25644 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
25645 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
25646 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25649 2012-05-08 Ian Wienand <ianw@vmware.com>
25652 * time/tzset.c (__tzset_parse_tz): Update default rules for
25653 daylight time changes in the Energy Policy Act of 2005.
25655 2012-05-09 Andreas Jaeger <aj@suse.de>
25658 * elf/ldconfig.c (parse_conf): Change string to make clear that
25659 ldconfig only issued a warning if ld.so.conf does not exist.
25661 2012-05-08 David S. Miller <davem@davemloft.net>
25663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
25664 movxtod instead of popping the value on the stack.
25666 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25668 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
25670 * config.h.in: Add HAVE_ARM_PCS_VFP.
25672 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
25675 * include/features.h: Warn if user requests __FORTIFY_SOURCE
25676 checking but the checks are disabled for any reason.
25678 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
25680 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
25681 and ELF64_R_TYPE with ELFW(R_TYPE).
25683 2012-05-08 Joseph Myers <joseph@codesourcery.com>
25685 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
25686 (ulimit): Likewise.
25688 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
25689 (settimeofday): Likewise.
25691 2012-05-08 Mike Frysinger <vapier@gentoo.org>
25693 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
25694 a struct th_u2 inside the union, and move tu_block/tu_code into
25695 a new th_u3 union of tu_block/tu_code inside of that. Move
25696 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
25697 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
25698 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
25699 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
25700 (th_stuff): Change to th_u1.tu_stuff.
25702 (th_msg): Change to th_u1.th_u2.tu_data.
25704 2012-05-07 David S. Miller <davem@davemloft.net>
25706 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25709 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
25710 (SETUP_PIC_REG): Use it.
25711 (SETUP_PIC_REG_LEAF): Use it.
25713 2012-05-07 Joseph Myers <joseph@codesourcery.com>
25717 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25719 (EXPL_FINITE): Likewise.
25720 (FLDLOG): Likewise.
25721 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25722 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25724 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25726 (EXPL_FINITE): Likewise.
25727 (FLDLOG): Likewise.
25728 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25729 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25731 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
25732 test of -max_value argument for long double.
25733 * sysdeps/i386/fpu/libm-test-ulps: Update.
25734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25736 2012-05-06 David S. Miller <davem@davemloft.net>
25738 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
25739 quad soft-float symbols whose references which are compiler
25741 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25743 2012-05-06 Joseph Myers <joseph@codesourcery.com>
25747 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25749 (EXPL_FINITE): Likewise.
25750 (FLDLOG): Likewise.
25753 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25754 Adjust comments for base varying.
25755 (__expl_finite): Change alias to EXPL_FINITE.
25756 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
25758 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
25759 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25760 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25761 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
25762 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25764 (EXPL_FINITE): Likewise.
25765 (FLDLOG): Likewise.
25768 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25769 Adjust comments for base varying.
25770 (__expl_finite): Change alias to EXPL_FINITE.
25771 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
25773 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25776 * math/libm-test.inc (check_float_internal): Correct ulp
25777 calculation for subnormal expected results.
25779 2012-05-06 Andreas Jaeger <aj@suse.de>
25781 * Makeconfig (+math-flags): New, set to -frounding-math.
25782 (+cflags): Add +math-flags so that all of glibc gets compiled with
25785 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25787 2012-05-05 Joseph Myers <joseph@codesourcery.com>
25789 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25795 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25796 (__ieee754_expl): Allow for and saturate large arguments.
25797 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25798 (u_threshold): Likewise.
25799 (__exp): Call __ieee754_exp before checking for overflow and
25801 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25802 (u_threshold): Likewise.
25803 (__expf): Call __ieee754_expf before checking for overflow and
25805 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25806 (u_threshold): Likewise.
25807 (__expl): Call __ieee754_expl before checking for overflow and
25809 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25810 (__ieee754_expl): Allow for and saturate large arguments.
25811 * math/libm-test.inc (exp_test): Add another test. Do not allow
25812 missing overflow exception on overflow.
25813 (expm1_test): Do not allow missing overflow exception on overflow.
25815 * sysdeps/i386/fpu/e_expl.c: Move to ...
25816 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
25817 rather than using inline asm.
25818 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25819 * sysdeps/x86_64/fpu/e_expl.S: Copy from
25820 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25822 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25825 (signal): Likewise.
25829 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25831 * sysdeps/unix/syscalls.list (adjtime): Add entry from
25832 sysdeps/unix/common/syscalls.list.
25833 (fchmod): Likewise.
25834 (fchown): Likewise.
25835 (ftruncate): Likewise.
25836 (getrusage): Likewise.
25837 (gettimeofday): Likewise.
25838 (setpgid): Likewise.
25839 (setregid): Likewise.
25840 (setreuid): Likewise.
25841 (sigaction): Likewise.
25842 (truncate): Likewise.
25843 (vhangup): Likewise.
25844 * sysdeps/unix/common/syscalls.list: Remove file.
25845 * sysdeps/unix/bsd/Implies: Don't include unix/common.
25846 * sysdeps/unix/sysv/linux/Implies: Likewise.
25848 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
25850 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25851 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25852 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25854 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25856 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25858 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25859 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25861 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25862 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25864 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25865 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25867 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25868 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25870 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25871 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25873 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25874 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25876 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25878 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25880 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25882 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25884 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25885 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25887 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25889 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25891 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25893 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25895 * sysdeps/unix/common/bits/dirent.h: Remove file.
25896 * sysdeps/unix/common/bits/fcntl.h: Likewise.
25898 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25899 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25900 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25901 * sysdeps/unix/bsd/isatty.c: Likewise.
25902 * sysdeps/unix/bsd/tcdrain.c: Likewise.
25903 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25904 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25906 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25909 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25910 long double comparison inaccuracies.
25911 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25912 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25914 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
25916 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25917 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25919 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25922 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25923 nonzero digits before rounding a hex value.
25924 * stdlib/tst-strtod.c (tests): Add another test.
25926 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25928 * sysdeps/s390/fpu/libm-test-ulps: Update.
25930 2012-05-03 Andreas Jaeger <aj@suse.de>
25932 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25933 does not get optimized out.
25934 (malloc_opt_barrier): New.
25936 2012-05-03 Andreas Jaeger <aj@suse.de>
25937 Roland McGrath <roland@hack.frob.com>
25939 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
25940 intermediate file deletion.
25941 (generated): Add .symlist files.
25943 2012-05-03 Joseph Myers <joseph@codesourcery.com>
25946 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25947 Redirect under this condition.
25948 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25949 [__USE_GNU] (__dprintf_chk): Not under this condition.
25950 [__USE_GNU] (__vdprintf_chk): Likewise.
25951 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25952 under this condition.
25953 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25954 [__USE_XOPEN2K8] (dprintf): Define under this condition.
25955 [__USE_XOPEN2K8] (vdprintf): Likewise.
25956 [__USE_GNU] (__dprintf_chk): Not under this condition.
25957 [__USE_GNU] (__vdprintf_chk): Likewise.
25958 [__USE_GNU] (dprintf): Likewise.
25959 [__USE_GNU] (vdprintf): Likewise.
25961 2012-05-03 Roland McGrath <roland@hack.frob.com>
25963 * elf/Makefile (common-generated): Set this instead of generated for
25964 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
25965 $(all-built-dso)-derived lists.
25967 2012-05-03 Andreas Jaeger <aj@suse.de>
25969 * sysdeps/i386/fpu/libm-test-ulps: Update.
25972 * FAQ.in: Likewise.
25973 * scripts/gen-FAQ.pl: Likewise.
25974 * manual/install.texi (Installation): Point to online location of
25976 * Makefile (files-for-dist): Remove FAQ.
25979 2012-05-02 Allan McRae <allan@archlinux.org>
25981 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25982 (LDFLAGS-reldepmod5.so): Likewise.
25983 (LDFLAGS-reldep6mod1.so): Likewise.
25984 (LDFLAGS-reldep6mod4.so): Likewise.
25985 (LDFLAGS-reldep8mod3.so): Likewise.
25986 (LDFLAGS-unload4mod1.so): Likewise.
25987 (LDFLAGS-unload4mod2.so): Likewise.
25988 (LDFLAGS-tst-initorder): Likewise.
25989 (LDFLAGS-tst-initordera2.so): Likewise.
25990 (LDFLAGS-tst-initordera3.so): Likewise.
25991 (LDFLAGS-tst-initordera4.so): Likewise.
25992 (LDFLAGS-tst-initorderb2.so): Likewise.
25993 (LDFLAGS-noload): Likewise.
25994 (LDFLAGS-next): Likewise.
25995 (LDFLAGS-order2mod1.so): Likewise.
25996 (LDFLAGS-order2mod2.so): Likewise.
25997 (LDFLAGS-tst-initorder2): Likewise.
25998 (LDFLAGS-tst-initorder2a.so): Likewise.
25999 (LDFLAGS-tst-initorder2b.so): Likewise.
26000 (LDFLAGS-tst-initorder2c.so): Likewise.
26001 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
26003 2012-05-02 David S. Miller <davem@davemloft.net>
26005 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26007 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
26010 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
26012 2012-05-02 Andreas Jaeger <aj@suse.de>
26014 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
26015 since we manipulate rounding mode.
26016 (CPPFLAGS-test-idouble.c): Likewise.
26017 (CPPFLAGS-test-ifloat.c): Likewise.
26018 (CFLAGS-test-ldouble.c): Likewise.
26019 (CFLAGS-test-double.c): Likewise.
26020 (CFLAGS-test-float.c): Likewise.
26021 (CFLAGS-test-misc.c): Likewise.
26022 (CFLAGS-test-test-fenv.c): Likewise.
26024 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26028 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
26029 comparisons to determine direction to adjust input.
26031 2012-05-01 Roland McGrath <roland@hack.frob.com>
26033 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
26034 output to the target.
26036 * scripts/localplt.awk: New file.
26037 * elf/Makefile ($(objpfx)check-localplt): Target removed.
26038 (check-localplt-CFLAGS): Variable removed.
26039 ($(all-built-dso:=.jmprel)): New static pattern rule.
26040 (generated): Add those targets.
26041 (localplt-built-dso): New variable.
26042 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
26044 * elf/check-localplt.c: File removed.
26046 * scripts/check-execstack.awk: New file.
26047 * elf/Makefile ($(objpfx)check-execstack): Target removed.
26048 (check-execstack-CFLAGS): Variable removed.
26049 ($(objpfx)check-execstack.h): Target removed.
26050 ($(objpfx)execstack-default): New target.
26051 (generated): Add that instead of check-execstack.h.
26052 ($(all-built-dso:=.phdr)): New static pattern rule.
26053 (generated): Add those targets.
26054 * elf/check-execstack.c: File removed.
26056 * scripts/check-textrel.awk: New file.
26057 * elf/Makefile ($(objpfx)check-textrel): Target removed.
26058 (check-textrel-CFLAGS): Variable removed.
26059 (all-built-dso): Use := to define.o
26060 ($(all-built-dso:=.dyn)): New static pattern rule.
26061 (generated): Add those targets.
26062 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
26063 * config.make.in (READELF): New substituted variable.
26064 * elf/check-textrel.c: File removed.
26066 2012-05-01 Joseph Myers <joseph@codesourcery.com>
26068 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26070 * conform/data/ctype.h-data [C99-based standards] (isblank):
26072 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
26073 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
26074 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26075 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
26076 Specify type. Require positive value.
26077 (EILSEQ): Likewise.
26078 (ERANGE): Likewise.
26079 [ISO || POSIX] (EILSEQ): Do not expect.
26080 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
26081 Specify type. Require positive value.
26082 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
26083 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
26084 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
26085 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
26086 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
26087 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
26088 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
26089 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
26090 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
26091 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
26092 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
26093 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
26094 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
26095 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
26096 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
26097 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
26098 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
26099 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
26100 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
26101 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
26102 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
26103 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
26104 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
26105 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
26106 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
26107 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
26108 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
26109 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
26110 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
26111 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
26112 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
26113 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
26114 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
26115 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
26116 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
26117 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
26118 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
26119 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
26120 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
26121 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
26122 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
26123 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
26124 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
26125 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
26126 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
26127 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
26128 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
26129 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
26130 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
26131 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
26132 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
26133 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
26134 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
26135 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
26136 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
26137 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
26138 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
26139 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
26140 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
26141 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
26142 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
26143 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
26144 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
26145 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
26146 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
26147 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
26148 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
26149 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
26150 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
26151 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
26152 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
26153 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
26154 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
26155 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
26156 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
26157 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
26158 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
26160 (FLT_ROUNDS): Expect as macro, not constant.
26161 (FLT_MANT_DIG): Use macro-int-constant.
26162 (DBL_MANT_DIG): Likewise.
26163 (LDBL_MANT_DIG): Likewise.
26164 (FLT_DIG): Likewise.
26165 (DBL_DIG): Likewise.
26166 (LDBL_DIG): Likewise.
26167 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
26168 (DBL_MIN_EXP): Likewise.
26169 (LDBL_MIN_EXP): Likewise.
26170 (FLT_MAX_EXP): Use macro-int-constant.
26171 (DBL_MAX_EXP): Likewise.
26172 (LDBL_MAX_EXP): Likewise.
26173 (FLT_MAX_10_EXP): Likewise.
26174 (DBL_MAX_10_EXP): Likewise.
26175 (LDBL_MAX_10_EXP): Likewise.
26176 (FLT_MAX): Use macro-constant.
26177 (DBL_MAX): Likewise.
26178 (LDBL_MAX): Likewise.
26179 (FLT_EPSILON): Use macro-constant. Give upper bound.
26180 (DBL_EPSILON): Likewise.
26181 (LDBL_EPSILON): Likewise.
26182 (FLT_MIN): Likewise.
26183 (DBL_MIN): Likewise.
26184 (LDBL_MIN): Likewise.
26185 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
26186 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
26187 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
26188 [ISO11] (FLT_HAS_SUBNORM): Likewise.
26189 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
26190 [ISO11] (DBL_DECIMAL_DIG): Likewise.
26191 [ISO11] (FLT_DECIMAL_DIG): Likewise.
26192 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
26193 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
26194 [ISO11] (FLT_TRUE_MIN): Likewise.
26195 [ISO11] (LDBL_TRUE_MIN): Likewise.
26196 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26197 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
26198 (SCHAR_MIN): Use macro-int-constant. Specify type.
26199 (SCHAR_MAX): Likewise.
26200 (UCHAR_MAX): Likewise.
26201 (CHAR_MIN): Likewise.
26202 (CHAR_MAX): Likewise.
26203 (MB_LEN_MAX): Use macro-int-constant.
26204 (SHRT_MIN): Use macro-int-constant. Specify type.
26205 (SHRT_MAX): Likewise.
26206 (USHRT_MAX): Likewise.
26207 (INT_MAX): Likewise.
26208 (INT_MIN): Use macro-int-constant. Specify type. Make upper
26210 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
26212 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
26214 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
26215 bound negative. Suffix upper bound with "L".
26216 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
26218 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
26220 [C99-based standards] (LLONG_MAX): Likewise.
26221 [C99-based standards] (ULLONG_MAX): Likewise.
26222 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
26224 [ISO11] (max_align_t): Require type.
26225 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26227 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
26228 from $CFLAGS, without defining away __attribute__ calls.
26229 (checknamespace): Use $CFLAGS_namespace.
26231 * conform/conformtest.pl (@keywords): Only include C99 keywords
26232 for standards based on C99 or C11.
26234 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
26236 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
26239 * conform/conformtest.pl: Handle "macro-int-constant" and test for
26240 usability of symbols in #if.
26242 * conform/conformtest.pl: If macro or constant types start
26243 "promoted:", expect the symbol to be of the following type
26244 promoted by the integer promotions.
26246 * conform/conformtest.pl: Parse all "constant" and "macro" lines
26247 in one place. Also handle "macro-constant".
26249 * conform/conformtest.pl: Only accept expected macro values with
26250 "==". Parse all "macro" lines in one place.
26251 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
26253 * conform/conformtest.pl: Handle braced types on "constant" lines
26254 instead of handling "typed-constant".
26255 * conform/data/signal.h-data: Use "constant" instead of
26258 * conform/conformtest.pl: Handle "optional-" at start of lines in
26259 one place rather than duplicating several cases. Handle each
26260 format of "macro" line with initial "optional-".
26262 * conform/conformtest.pl: Only accept expected constant or
26263 optional-constant values with "==". Parse all "constant" lines in
26264 one place. Parse all "optional-constant" lines in one place.
26265 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
26266 * conform/data/fmtmsg.h-data: Likewise.
26267 * conform/data/netinet/in.h-data: Likewise.
26268 * conform/data/tar.h-data: Likewise.
26269 * conform/data/limits.h-data: Use "==" form on "constant" and
26270 "optional-constant" lines.
26272 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
26273 Use -std=c99 for XOPEN2K.
26274 (@knownproblems): Remove.
26275 (newtoken): Don't check %isknown.
26277 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
26278 Do not expect macro.
26279 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
26280 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
26281 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
26282 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
26283 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
26284 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
26285 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
26286 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
26287 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
26288 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
26289 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
26290 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
26291 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
26292 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
26293 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
26294 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
26295 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
26296 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
26297 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
26298 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
26299 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
26300 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
26301 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
26302 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
26303 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
26304 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
26305 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
26306 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
26307 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
26308 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
26309 [XPG3] (acosh): Likewise.
26310 [XPG3] (asinh): Likewise.
26311 [XPG3] (atanh): Likewise.
26312 [XPG3] (cbrt): Likewise.
26313 [XPG3] (expm1): Likewise.
26314 [XPG3] (ilogb): Likewise.
26315 [XPG3] (log1p): Likewise.
26316 [XPG3] (logb): Likewise.
26317 [XPG3] (nextafter): Likewise.
26318 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
26319 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
26320 [XPG3] (remainder): Likewise.
26321 [XPG3] (rint): Likewise.
26322 [XPG3 || XPG4 || UNIX98] (round): Likewise.
26323 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
26324 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
26325 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
26326 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
26327 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
26328 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
26329 [UNIX98 || XOPEN2K] (scalb): Expect.
26330 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
26331 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
26332 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
26333 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
26334 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
26335 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
26336 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
26337 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
26338 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
26339 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
26340 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
26341 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
26342 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
26343 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
26344 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
26345 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
26346 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
26347 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
26348 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
26349 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
26350 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
26351 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
26352 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
26353 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
26354 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
26355 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
26356 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
26357 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
26358 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
26359 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
26360 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
26361 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
26362 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
26363 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
26364 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
26365 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
26366 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
26367 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
26368 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
26369 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
26370 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
26371 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
26372 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
26373 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
26374 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
26375 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
26376 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
26377 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
26378 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
26379 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
26380 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
26381 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
26382 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
26383 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
26384 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
26385 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
26386 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
26387 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
26388 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
26389 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
26390 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
26391 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
26392 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
26393 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
26394 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
26395 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
26396 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
26397 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
26398 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
26399 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
26400 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
26401 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
26402 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
26403 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
26404 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
26405 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
26406 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
26407 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
26408 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
26409 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
26410 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
26411 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
26412 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
26413 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
26414 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
26415 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
26416 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
26417 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
26418 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
26419 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
26420 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
26421 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
26422 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
26423 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
26424 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
26425 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
26426 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
26427 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
26428 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
26429 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
26430 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
26431 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
26432 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
26433 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
26434 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
26435 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
26436 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
26437 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
26438 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
26439 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
26440 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
26441 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
26442 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
26443 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
26444 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
26445 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
26446 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
26447 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
26448 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
26449 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
26450 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
26451 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
26452 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
26453 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
26454 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
26455 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
26456 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
26457 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
26458 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
26459 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
26460 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
26461 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
26462 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
26463 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
26464 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
26465 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
26466 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
26468 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
26469 _XOPEN_SOURCE_EXTENDED for XPG4.
26471 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
26473 * Makeconfig (localtime): Remove variable.
26474 (inst_localtime-file): Likewise.
26476 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
26480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
26484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
26488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
26490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
26494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26497 2012-05-01 Joseph Myers <joseph@codesourcery.com>
26501 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
26502 comparisons to determine direction to adjust input.
26503 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26504 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
26505 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
26507 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
26509 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26511 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
26512 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26514 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26516 * math/libm-test.inc (nexttoward_test): Add more tests.
26518 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26521 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
26522 in version GLIBC_2.1, not GLIBC_2.0.
26523 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
26526 2012-04-30 Joseph Myers <joseph@codesourcery.com>
26529 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
26531 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26532 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
26533 * math/libm-test.inc (acos_test): Add more tests.
26534 (asin_test): Likewise.
26535 * sysdeps/i386/fpu/libm-test-ulps: Update.
26536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26539 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
26541 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
26542 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26543 * math/libm-test.inc (acos_test_tonearest): New function.
26544 (acos_test_towardzero): Likewise.
26545 (acos_test_downward): Likewise.
26546 (acos_test_upward): Likewise.
26547 (asin_test_tonearest): Likewise.
26548 (asin_test_towardzero): Likewise.
26549 (asin_test_downward): Likewise.
26550 (asin_test_upward): Likewise.
26551 (main): Call the new functions.
26552 * sysdeps/i386/fpu/libm-test-ulps: Update.
26553 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26557 * math/e_exp10.c: Include <float.h>.
26558 (__ieee754_exp10): Handle underflow here rather than multiplying
26559 large negative argument by M_LN10.
26560 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
26562 * math/e_exp10l.c: Include <float.h>.
26563 (__ieee754_exp10l): Handle underflow here rather than multiplying
26564 large negative argument by M_LN10l.
26565 * math/libm-test.inc (exp10_test): Add another test. Do not allow
26566 spurious overflow exception on underflow.
26568 2012-04-29 Marek Polacek <polacek@redhat.com>
26570 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
26571 (__fortify_function): New macro.
26572 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
26573 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
26574 __extern_always_inline.
26575 * libio/bits/stdio2.h: Likewise.
26576 * libio/bits/stdio.h: Likewise.
26577 * string/string.h: Likewise.
26578 * string/bits/string3.h: Likewise.
26579 * include/stdio.h: Likewise.
26580 * stdlib/bits/stdlib.h: Likewise.
26581 * stdlib/stdlib.h: Likewise.
26582 * rt/bits/mqueue2.h: Likewise.
26583 * rt/mqueue.h: Likewise.
26584 * posix/bits/unistd.h: Likewise.
26585 * posix/unistd.h: Likewise.
26586 * io/bits/poll2.h: Likewise.
26587 * io/bits/fcntl2.h: Likewise.
26588 * io/fcntl.h: Likewise.
26589 * io/sys/poll.h: Likewise.
26590 * misc/bits/syslog.h: Likewise.
26591 * misc/bits/syslog-ldbl.h: Likewise.
26592 * misc/sys/syslog.h: Likewise.
26593 * socket/bits/socket2.h: Likewise.
26594 * socket/sys/socket.h: Likewise.
26595 * debug/tst-chk1.c: Likewise.
26596 * wcsmbs/bits/wchar2.h: Likewise.
26597 * wcsmbs/bits/wchar-ldbl.h: Likewise.
26598 * wcsmbs/wchar.h: Likewise.
26600 2012-04-29 Andreas Jaeger <aj@suse.de>
26602 * Makerules (tests): Remove enable-check-abi protection.
26603 (check-abi-warn): Remove.
26604 (check-abi-%): Remove check-abi-warn usage.
26606 * configure.in: Remove check-abi configure option.
26607 * configure: Regenerated.
26608 * config.make.in (enable-check-abi): Remove.
26610 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
26613 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
26614 double functions to double *_finite functions.
26617 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
26618 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
26620 * stdio-common/Makefile (tests): Add tst-sprintf3.
26621 * stdio-common/tst-sprintf3.c: New file.
26623 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
26624 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
26626 2012-04-28 Joseph Myers <joseph@codesourcery.com>
26628 * conform/conformtest.pl: Remove duplicate typed-constant
26631 2012-04-28 David S. Miller <davem@davemloft.net>
26633 * Makerules (%.abilist): Add vpath on sysdep_dirs.
26634 (check-abi-%): Remove AWK script prerequisite and explicit
26636 (check-abi): Rewrite to just diff the symlist with the abilist.
26637 (config-tls, config-abi-config): Delete, no longer used.
26638 (update-abi-%): Remove AWK script and explicit abilist directory.
26639 (update-abi): Rewrite to simply compare and conditionally copy the
26640 symlist and the sysdep abilist file. Remove update-abi-config
26642 * abilist/ld.abilist: Remove.
26643 * abilist/libBrokenLocale.abilist: Remove.
26644 * abilist/libanl.abilist: Remove.
26645 * abilist/libcrypt.abilist: Remove.
26646 * abilist/libdl.abilist: Remove.
26647 * abilist/librt.abilist: Remove.
26648 * abilist/libthread_db.abilist: Remove.
26649 * abilist/libutil.abilist: Remove.
26650 * scripts/extract-abilist.awk: Remove.
26651 * scripts/merge-abilist.awk: Remove.
26652 * sysdeps/generic/libcidn.abilist: New file.
26653 * sysdeps/generic/libnss_compat.abilist: New file.
26654 * sysdeps/generic/libnss_db.abilist: New file.
26655 * sysdeps/generic/libnss_dns.abilist: New file.
26656 * sysdeps/generic/libnss_files.abilist: New file.
26657 * sysdeps/generic/libnss_hesiod.abilist: New file.
26658 * sysdeps/generic/libnss_nis.abilist: New file.
26659 * sysdeps/generic/libnss_nisplus.abilist: New file.
26660 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
26661 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
26662 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
26664 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
26665 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
26666 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
26667 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
26668 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
26669 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
26670 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
26671 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
26672 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
26674 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
26675 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
26676 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
26677 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
26679 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
26680 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
26681 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
26682 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
26683 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
26684 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
26686 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
26687 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
26688 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
26690 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
26691 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
26693 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
26695 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
26697 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
26699 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
26701 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
26703 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
26705 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
26707 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
26709 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
26711 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
26713 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
26715 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
26717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
26719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
26725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
26731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26743 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
26744 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
26746 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26748 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
26750 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
26752 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
26754 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
26756 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
26758 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26760 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
26762 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
26764 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26766 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26768 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26769 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26771 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26773 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26775 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26777 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26779 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26781 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26783 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26785 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26787 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26789 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26791 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26793 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26794 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26795 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26797 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26798 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26799 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26800 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26801 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26802 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26803 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26804 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26805 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26806 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26807 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26808 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26810 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26812 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26814 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26816 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26818 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26820 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26822 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26824 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26826 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26828 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26830 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26832 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26833 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26835 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26837 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26839 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26841 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26843 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26845 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26847 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26849 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26851 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26853 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26855 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26858 2012-04-28 Joseph Myers <joseph@codesourcery.com>
26860 * conform/conformtest.pl: Fix typo in handling typed-constant from
26863 2012-04-27 Joseph Myers <joseph@codesourcery.com>
26865 * README: Cut down references to pre-2.6 Linux kernels and
26866 Linuxthreads. Update lists of configurations in libc and ports
26867 and sort alphabetically. Say "or newer" with Linux kernel version
26870 * config.h.in [IS_IN_build]: Allow compiling without optimization.
26872 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26875 * math/libm-test.inc (logb_test_downward): New test to expose
26876 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26879 2012-04-27 Joseph Myers <joseph@codesourcery.com>
26882 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26884 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26885 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26887 2012-04-26 Joseph Myers <joseph@codesourcery.com>
26889 * sysdeps/unix/i386/brk.S: Remove file.
26890 * sysdeps/unix/i386/dl-brk.S: Likewise.
26891 * sysdeps/unix/i386/pipe.S: Likewise.
26892 * sysdeps/unix/i386/sigreturn.S: Likewise.
26893 * sysdeps/unix/i386/syscall.S: Likewise.
26894 * sysdeps/unix/i386/vfork.S: Likewise.
26895 * sysdeps/unix/i386/wait.S: Likewise.
26897 * sysdeps/unix/common/tcsendbrk.c: Move to ...
26898 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26900 * configure.in (arm*-none*): Do not allow without
26901 --enable-hacker-mode.
26902 (netbsd*): Remove case setting base_os.
26903 (386bsd*): Likewise.
26904 (freebsd*): Likewise.
26907 (sunos*): Likewise.
26908 (ultrix*): Likewise.
26909 (newsos*): Likewise.
26910 (dynix*): Likewise.
26916 (minix*): Likewise.
26917 (irix4*): Likewise.
26918 (irix6*): Likewise.
26919 (solaris[2-9]*): Likewise.
26921 * configure: Regenerated.
26923 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26926 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26927 overflow or cancellation in calculating denominator.
26928 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26929 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26930 down expression to avoid unexpected rounding in newer GCCs.
26931 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26933 2012-04-26 David S. Miller <davem@davemloft.net>
26935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26936 long-double compat symbols.
26937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26942 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26943 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26944 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26945 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26946 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26947 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26948 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26949 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26951 2012-04-25 David S. Miller <davem@davemloft.net>
26953 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26954 HWCAP_* values only after the memory barriers have been defined.
26955 (atomic_full_barrier): Define.
26956 (atomic_read_barrier): Define.
26957 (atomic_write_barrier): Define.
26959 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26961 * shlib-versions: Add libgcc_s version information.
26962 * sysdeps/generic/libgcc_s.h: Remove.
26963 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26965 * sysdeps/gnu/unwind-resume.c: Likewise.
26966 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26968 2012-04-25 David S. Miller <davem@davemloft.net>
26970 * sysdeps/unix/sparc/brk.S: Delete.
26971 * sysdeps/unix/sparc/dl-brk.S: Delete.
26972 * sysdeps/unix/sparc/pipe.S: Delete.
26973 * sysdeps/unix/sparc/sysdep.S: Delete.
26974 * sysdeps/unix/sparc/sysdep.h: Delete.
26975 * sysdeps/unix/sparc/vfork.S: Delete.
26976 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26977 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26978 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26979 ret_ERRVAL, r0, r1, MOVE): Define.
26980 (JUMPTARGET): Remove.
26981 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26982 sysdeps/unix/sparc/sysdep.h
26983 (ENTRY, END): Remove.
26984 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26986 2012-04-25 Joseph Myers <joseph@codesourcery.com>
26988 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26989 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26992 * timezone/README: Update upstream location and email address for
26994 * timezone/zdump.c: Update from tzcode 2012b.
26995 * timezone/zic.c: Likewise.
26997 * configure.in (libc_cv_as_needed): Remove test.
26998 * configure: Regenerated.
26999 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
27000 conditional definition.
27001 [$(have-as-needed) != yes] (no-as-needed): Likewise.
27002 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
27003 * config.make.in (have-as-needed): Remove variable.
27005 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27006 Paul Pluzhnikov <ppluzhnikov@google.com>
27008 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
27011 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
27013 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
27014 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
27015 * sysdeps/sh/strlen.S: Likewise.
27017 2012-04-24 Joseph Myers <joseph@codesourcery.com>
27019 * sysdeps/unix/fork.S: Remove file.
27020 * sysdeps/unix/i386/fork.S: Likewise.
27021 * sysdeps/unix/sparc/fork.S: Likewise.
27023 * sysdeps/unix/system.c: Remove file.
27024 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
27026 * sysdeps/unix/getegid.S: Remove file.
27027 * sysdeps/unix/geteuid.S: Likewise.
27029 2012-04-24 Roland McGrath <roland@hack.frob.com>
27031 * scripts/check-localplt.awk: New file.
27032 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
27034 * scripts/data/localplt-generic.data: Add a comment.
27036 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
27037 NODE when __dir_mkfile failed.
27038 * sysdeps/mach/hurd/symlinkat.c: Likewise.
27039 Reported by Ludovic Courtès <ludo@gnu.org>.
27041 2012-04-24 Andreas Jaeger <aj@suse.de>
27043 * Makerules (common-clean): Also remove gen-as-const-headers
27046 2012-04-24 Joseph Myers <joseph@codesourcery.com>
27048 * Makerules (native-compile): Do not change working directory for
27049 build. Use $(OUTPUT_OPTION) in command.
27050 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
27052 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27055 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
27056 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
27057 * math/libm-test.inc (floor_test): Add more tests.
27058 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
27060 2012-04-24 Joseph Myers <joseph@codesourcery.com>
27062 * sysdeps/unix/getdents.c: Remove file.
27063 * sysdeps/unix/sysv/getdents.c: Likewise.
27064 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
27066 * sysdeps/unix/syscalls.list (madvise): Add syscall from
27067 sysdeps/unix/mman/syscalls.list.
27069 (mprotect): Likewise.
27071 (munmap): Likewise.
27072 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
27073 * sysdeps/unix/mman/syscalls.list: Remove.
27074 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
27076 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
27077 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
27078 * configure: Regenerated.
27079 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
27080 $(libgcc_s_suffix).
27081 * config.make.in (libgcc_s_suffix): Remove variable.
27083 2012-04-23 Joseph Myers <joseph@codesourcery.com>
27085 * sysdeps/unix/sysv/gethostname.c: Move to ...
27086 * sysdeps/posix/gethostname.c: ... here.
27088 * sysdeps/unix/execve.S: Remove file.
27090 * sysdeps/unix/_exit.S: Remove file.
27092 2012-04-23 Andreas Jaeger <aj@suse.de>
27095 * manual/Makefile: Remove make dist support, there's no
27096 need for a stand-alone documentation tar ball.
27097 (TEXI2DVI): Define always, it's not in Makeconfig.
27100 (edition): Removed.
27101 (glibc-doc-$(edition).tar): Removed
27105 (ETAGS): Remove, it's in Makeconfig.
27106 (move-if-change): Remove, it's in Makeconfig.
27108 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
27111 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
27112 (strtod, strtof, strtold, strtol, strtoul, strtoq)
27113 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
27114 (strtod_l, strtof_l, strtold_l): Remove __wur.
27115 It is not necessarily an error to ignore strtol's return value.
27116 One can reliably look at the stored endptr to decide whether
27117 the number had valid syntax.
27119 2012-04-21 Andreas Jaeger <aj@suse.de>
27122 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
27124 2012-04-21 Joseph Myers <joseph@codesourcery.com>
27126 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
27127 * sysdeps/unix/sysv/Versions: Remove file.
27129 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
27132 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27134 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
27137 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
27138 version from __vm86.
27140 2012-04-20 Joseph Myers <joseph@codesourcery.com>
27142 * sysdeps/unix/common/lxstat.c: Remove file.
27143 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
27145 * sysdeps/unix/sysv/Makefile: Remove file.
27147 * sysdeps/unix/sysv/direct.h: Remove file.
27149 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
27150 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
27151 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
27152 * sysdeps/unix/sysv/bits/signum.h: Likewise.
27153 * sysdeps/unix/sysv/bits/stat.h: Likewise.
27154 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
27155 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
27157 * sysdeps/unix/sysv/setrlimit.c: Remove file.
27159 * sysdeps/unix/xmknod.c: Remove file.
27160 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
27162 * sysdeps/unix/sysv/settimeofday.c: Remove file.
27164 * sysdeps/unix/sysv/i386/time.S: Remove file.
27166 * sysdeps/unix/fxstat.c: Remove file.
27167 * sysdeps/unix/xstat.c: Likewise.
27168 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
27170 * sysdeps/unix/sysv/sigaction.c: Remove file.
27172 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
27173 (sysdep_headers): Remove variable.
27174 [termio.h not in sysdep_headers] (generated): Likewise.
27175 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
27176 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
27177 * sysdeps/unix/sysv/tcdrain.c: Likewise.
27178 * sysdeps/unix/sysv/tcflow.c: Likewise.
27179 * sysdeps/unix/sysv/tcflush.c: Likewise.
27180 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
27181 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
27182 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
27183 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
27184 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
27186 * sysdeps/unix/siglist.c: Remove file.
27188 * sysdeps/unix/getppid.S: Remove file.
27190 * sysdeps/unix/mkdir.c: Remove file.
27191 * sysdeps/unix/rmdir.c: Likewise.
27193 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
27195 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
27197 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
27198 errlist-compat value.
27200 2012-04-18 David S. Miller <davem@davemloft.net>
27202 * sysdeps/generic/memcopy.h (reg_char): Delete.
27203 * debug/strcat_chk.c: Use char, not reg_char.
27204 * debug/strcpy_chk.c: Likewise.
27205 * debug/strncat_chk.c: Likewise.
27206 * debug/strncpy_chk.c: Likewise.
27207 * string/memchr.c: Likewise.
27208 * string/memrchr.c: Likewise.
27209 * string/rawmemchr.c: Likewise.
27210 * string/strcat.c: Likewise.
27211 * string/strchr.c: Likewise.
27212 * string/strchrnul.c: Likewise.
27213 * string/strcmp.c: Likewise.
27214 * string/strcpy.c: Likewise.
27215 * string/strncat.c: Likewise.
27216 * string/strncmp.c: Likewise.
27217 * string/strncpy.c: Likewise.
27219 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27221 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
27222 __builtin_memcopy is called when src and dest ranges are known to not
27225 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27227 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
27228 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
27229 fwd_align_merge macro call.
27230 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
27231 bwd_align_merge macro call.
27232 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27234 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27236 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
27237 bwd_align_merge macros.
27238 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
27239 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
27240 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27242 2012-04-18 David S. Miller <davem@davemloft.net>
27244 * sysdeps/sparc/sparc64/memcopy.h: Delete.
27246 2012-04-18 Andreas Jaeger <aj@suse.de>
27249 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
27250 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
27251 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27253 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
27254 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
27255 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27257 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
27258 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
27259 Adjust for changed ldbl-128 files.
27261 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
27262 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
27263 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27265 2012-04-17 David S. Miller <davem@davemloft.net>
27267 * sysdeps/sparc/sparc32/memcopy.h: Delete.
27269 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
27271 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
27272 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
27273 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
27274 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
27275 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27276 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
27278 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27281 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
27282 * math/libm-test.inc: Add ilogb errno and exception tests.
27283 * math/w_ilogb.c: New file: ilogb wrapper.
27284 * math/w_ilogbf.c: New file: ilogbf wrapper.
27285 * math/w_ilogbl.c: New file: ilogbl wrapper.
27286 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
27287 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
27288 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
27289 exception being thrown with 0.0 as argument.
27290 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
27291 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
27292 exception being thrown with 0.0 as argument.
27293 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
27294 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27295 exception being thrown with 0.0 as argument.
27296 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
27297 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27298 exception being thrown with 0.0 as argument.
27299 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
27300 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
27301 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
27302 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
27303 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
27304 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
27305 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
27306 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
27307 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
27309 2012-04-17 Petr Baudis <pasky@ucw.cz>
27311 * include/sys/uio.h: Change __vector to __iovec to avoid clash
27314 2012-04-16 Marek Polacek <polacek@redhat.com>
27316 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
27318 2012-04-16 Marek Polacek <polacek@redhat.com>
27320 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
27321 operands of fdivp instruction.
27323 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
27325 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
27326 * elf/tst-auditmod3b.c: Likewise.
27327 * elf/tst-auditmod4b.c: Likewise.
27328 * elf/tst-auditmod5b.c: Likewise.
27329 * elf/tst-auditmod6b.c: Likewise.
27330 * elf/tst-auditmod6c.c: Likewise.
27331 * elf/tst-auditmod7b.c: Likewise.
27332 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
27333 * sysdeps/x86_64/preconfigure.in: Likewise.
27334 * sysdeps/x86_64/preconfigure: Regenerated.
27336 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
27338 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
27341 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
27343 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27344 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
27346 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
27349 * locale/iso-639.def: Fix gl language name. Spotted by
27352 2012-04-12 Roland McGrath <roland@hack.frob.com>
27355 * libio/libio.h (__io_write_fn): Update comment.
27357 2012-04-12 Petr Baudis <pasky@ucw.cz>
27360 * stdio.texi (Hook Functions): The user provided writer function
27361 is not allowed to return -1.
27363 2012-04-11 David S. Miller <davem@davemloft.net>
27365 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27367 2012-04-11 Mike Frysinger <vapier@gentoo.org>
27369 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
27370 Add a leading slash to rtkaio.
27372 2012-04-11 Jim Meyering <meyering@redhat.com>
27375 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
27376 It is not necessarily an error to ignore fwrite's return
27377 value. One can reliably use ferror to test for errors after
27380 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27382 * bits/types.h (__snseconds_t): New type.
27383 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
27385 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
27386 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27387 (__SNSECONDS_T_TYPE): Likewise.
27388 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27389 (__SNSECONDS_T_TYPE): Likewise.
27390 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27391 (__SNSECONDS_T_TYPE): Likewise.
27393 2012-04-10 Andreas Jaeger <aj@suse.de>
27396 * manual/time.texi (Processor Time): Return type of times is
27397 elapsed real time since an arbitrary point in the past.
27398 (CPU Time): Move CLK_TCK from here...
27399 (Processor Time): ...to here. Correct description.
27400 * manual/conf.texi (Constants for Sysconf): Correct description of
27403 2012-04-10 David S. Miller <davem@davemloft.net>
27406 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
27407 where the is a gap between DT_REL(A) and DT_JMPREL.
27409 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27411 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
27412 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27413 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27415 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27417 * elf/dl-support.c (_dl_inhibit_cache): New variable.
27418 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
27419 (dl_main): Handle --inhibit-cache.
27420 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
27422 * elf/dl-load.c (_dl_map_object): Use it.
27423 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
27425 2012-04-09 Joseph Myers <joseph@codesourcery.com>
27428 * sysdeps/i386/fpu/e_powl.S (p78): New object.
27429 (__ieee754_powl): Saturate large exponents rather than testing for
27430 overflow of y*log2(x).
27431 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27432 * math/libm-test.inc (pow_test): Do not permit spurious overflow
27436 * math/s_ctan.c: Include <float.h>.
27437 (__ctan): Avoid internal overflow or cancellation in calculating
27439 * math/s_ctanf.c: Likewise.
27440 * math/s_ctanl.c: Likewise.
27441 * math/s_ctanh.c: Likewise.
27442 * math/s_ctanhf.c: Likewise.
27443 * math/s_ctanhl.c: Likewise.
27444 * math/libm-test.inc (ctan_test): Add more tests.
27445 (ctanh_test): Likewise.
27446 * sysdeps/i386/fpu/libm-test-ulps: Update.
27447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27449 2012-04-09 Andreas Jaeger <aj@suse.de>
27452 * manual/filesys.texi (Directory Entries): Mention that d_namlen
27453 is an optional BSD extension.
27456 * manual/stdio.texi (Opening Streams): Document additional fopen
27459 2012-04-09 Roland McGrath <roland@hack.frob.com>
27461 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
27462 %eax without telling the compiler.
27464 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
27467 * manual/install.texi: Use sourceware.org.
27469 2012-04-09 Joseph Myers <joseph@codesourcery.com>
27472 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
27473 (__ieee754_pow): Generate overflow and underflow using huge*huge
27474 and tiny*tiny rather than just returning constant infinity or zero
27475 for large exponents.
27476 * math/libm-test.inc (pow_test): Require overflow exceptions for
27477 applicable cases of large exponents.
27480 * sysdeps/i386/fpu/e_pow.S (p10): New object.
27481 (__ieee754_pow): Use iterative multiplication algorithm only for
27482 integer exponents with absolute value below 1024. Check for odd
27483 integer exponents when using algorithm for real exponents.
27484 * math/libm-test.inc (pow_test): Add more tests.
27485 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27487 2012-04-08 Joseph Myers <joseph@codesourcery.com>
27490 * math/libm-test.inc (exp_test): Do not allow overflow exception
27493 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
27496 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
27497 instead of __kernel_standard_f.
27499 2012-04-08 Mike Frysinger <vapier@gentoo.org>
27501 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
27502 * sysdeps/x86_64/memset_chk.S: Likewise.
27504 2012-04-08 Andreas Jaeger <aj@suse.de>
27507 * manual/startup.texi (Environment Access): Describe return value
27508 for putenv and setenv.
27511 * manual/filesys.texi (Directory Entries): Add description for
27515 * manual/filesys.texi (Directory Entries): Clarify that it's file
27516 system not operating system in the description of DT_UNKNOWN.
27519 * manual/syslog.texi (closelog): Fix reference, it's openlog.
27521 2012-04-08 Stephen Compall <s11@member.fsf.org>
27524 * manual/llio.texi (Opening and Closing Files): Add cross
27525 reference to explain mode argument.
27527 2012-04-07 Mike Frysinger <vapier@gentoo.org>
27529 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
27530 * sysdeps/x86_64/memset_chk.S: Likewise.
27532 2012-04-07 David S. Miller <davem@davemloft.net>
27534 * elf/elf.h (R_SPARC_WDISP10): Define.
27535 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
27537 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
27538 R_SPARC_SIZE64 and R_SPARC_H34.
27540 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
27542 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
27543 conditions and remove no longer applicable assertion.
27545 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27547 * bits/byteswap.h: Include <features.h>.
27548 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27549 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27551 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27553 * bits/byteswap.h (__bswap_16): Removed.
27554 Include <bits/byteswap-16.h> to get __bswap_16.
27555 * sysdeps/i386/bits/byteswap.h: Likewise.
27556 * sysdeps/s390/bits/byteswap.h: Likewise.
27557 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27558 * bits/byteswap-16.h: New file.
27559 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27560 * sysdeps/s390/bits/byteswap-16.h: Likewise.
27561 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
27562 * string/Makefile (headers): Add bits/byteswap-16.h.
27564 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27567 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
27569 * nss/Makefile (tests-static, tests): Add tst-nss-static.
27570 * nss/tst-nss-static.c: New.
27572 2012-04-06 Robert Millan <rmh@gnu.org>
27575 * manual/llio.texi (File Position Primitive): lseek
27576 refers to WHENCE when it really means OFFSET.
27578 2012-04-06 Andreas Jaeger <aj@suse.de>
27580 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
27581 strncmp declarations.
27583 * abilist/libc.abilist: Add __poll and __ppoll.
27585 2012-04-05 David S. Miller <davem@davemloft.net>
27587 * scripts/check-local-headers.sh: Accept a host triplet in the
27588 path matched by the exclude regexp.
27590 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
27592 * sysdeps/powerpc/powerpc32/dl-machine.h
27593 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
27594 * sysdeps/s390/s390-32/dl-machine.h
27595 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27596 * sysdeps/sparc/sparc32/dl-machine.h
27597 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27598 * sysdeps/sparc/sparc64/dl-machine.h
27599 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27601 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
27603 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
27604 undefined symbol errors.
27606 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
27609 2012-04-05 Michael Matz <matz@suse.de>
27612 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
27614 2012-04-05 Andreas Jaeger <aj@suse.de>
27617 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
27620 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27622 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
27623 which ROUND is no valid rounding mode.
27625 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27627 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
27629 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
27631 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27633 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
27634 an exception using FPU order intentionally.
27636 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27638 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
27639 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
27640 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
27641 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
27643 2012-04-05 Simon Josefsson <simon@josefsson.org>
27646 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
27647 EINVAL when BUFLEN is too smal.
27649 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
27652 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
27653 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
27655 2012-04-03 Andreas Jaeger <aj@suse.de>
27658 * manual/setjmp.texi (System V contexts): Fix sentence.
27661 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
27662 New macro for this case.
27663 [!__GNUC__] (__bswap_64): New inline function for this case.
27664 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27665 * bits/byteswap.h: Likewise.
27666 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
27667 ull, guard with __GLIBC_HAVE_LONG_LONG.
27669 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
27670 __GLIBC_HAVE_LONG_LONG.
27672 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
27673 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
27675 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27678 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
27679 inptr and inend, rather than using last_ch.
27681 2012-04-02 David S. Miller <davem@davemloft.net>
27683 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
27684 * stdio-common/printf-parse.h (read_int): Change return type to
27685 'int', return -1 on INT_MAX overflow.
27686 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
27687 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
27688 overflows INT_MAX. Check for overflow of in-format-string precision
27689 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
27690 SIZE_MAX not INT_MAX for integer overflow test.
27691 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
27692 skip the construct in the format string but do not record anything.
27693 * stdio-common/bug22.c: Adjust to test both width/prevision
27694 INT_MAX overflow as well as total length INT_MAX overflow. Check
27695 explicitly for proper errno values.
27697 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
27699 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
27701 * string/test-strcmp.c [! WIDE]: Likewise.
27702 * time/tst-mktime2.c: Likewise for INT_MAX.
27703 * string/test-string.h: #include <sys/param.h> for MIN.
27705 * csu/init-first.c (__libc_init_first): Call __ctype_init.
27706 * sysdeps/i386/init-first.c (init): Likewise.
27707 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
27708 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
27709 * sysdeps/sh/init-first.c (init): Likewise.
27711 2012-04-01 Ulrich Drepper <drepper@gmail.com>
27713 * po/ru.po: Update from translation team.
27714 * po/vi.po: Likewise.
27716 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27718 * resolv/nss_dns/dns-host.c: Merge copyright years.
27720 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27722 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27723 Optimize memcpy with prefetch if
27724 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
27725 src, dst pointers have unequal 16 byte alignments.
27727 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27730 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
27731 from a CNAME entry and return the minimum ttl for the query.
27732 (gaih_getanswer_slice): Likewise.
27734 2012-03-30 Jeff Law <law@redhat.com>
27736 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
27738 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27739 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27741 * resolv/nss_dns/dns-host.c: Update copyright year.
27743 2012-03-30 Ulrich Drepper <drepper@gmail.com>
27745 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
27746 requests to save a system call. Fix check that all bytes are sent.
27748 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
27749 comments for sendmmsg.
27751 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27754 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
27755 with only 1 character between 0x0041 and 0x01b0.
27756 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
27757 * wcsmbs/tst-mbsnrtowcs.c: New file.
27759 2012-03-29 David S. Miller <davem@davemloft.net>
27761 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27762 small copies by hand.
27764 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27767 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27768 _nss_compat_initgroups_dyn): Fall back to malloc/free
27769 for large group memberships.
27771 2012-03-28 David S. Miller <davem@davemloft.net>
27773 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27774 that branches into memcpy.
27775 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27776 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27777 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27778 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27779 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27781 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27782 implementation too.
27783 * sysdeps/sparc/mempcpy.S: New file.
27785 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27786 the IFUNC routine in the libc case.
27787 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27789 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27790 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27791 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27792 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27793 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27794 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27795 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27796 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27798 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27799 loop to 256 bytes instead of 64 bytes and fix test signedness.
27801 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27802 * sysdeps/sparc/sparc32/Makefile: rather than here...
27803 * sysdeps/sparc/sparc64/Makefile: and here.
27805 2012-03-28 Ulrich Drepper <drepper@gmail.com>
27807 * malloc/mallocbug.c: Avoid warnings about unused variables.
27809 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27812 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27813 in the right place. Discard and retry query if response is
27814 larger than input buffer size.
27816 2012-03-28 Joseph Myers <joseph@codesourcery.com>
27821 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27822 x for large integer exponent.
27823 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27824 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
27825 sign of result as needed afterwards.
27826 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27827 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27828 result for underflowing pow the same as for overflow.
27829 (__kernel_standard_l): Handle powl overflow and underflow here
27830 rather than calling __kernel_standard.
27831 * math/libm-test.inc (pow_test): Add more tests.
27846 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27847 * sysdeps/ieee754/k_standard.c: Include <float.h>.
27848 (__kernel_standard_l): New function.
27849 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27851 * math/w_acosl.c (__acosl): Likewise.
27852 * math/w_asinl.c (__asinl): Likewise.
27853 * math/w_atan2l.c (__atan2l): Likewise.
27854 * math/w_atanhl.c (__atanhl): Likewise.
27855 * math/w_coshl.c (__coshl): Likewise.
27856 * math/w_exp10l.c (__exp10l): Likewise.
27857 * math/w_exp2l.c (__exp2l): Likewise.
27858 * math/w_fmodl.c (__fmodl): Likewise.
27859 * math/w_hypotl.c (__hypotl): Likewise.
27860 * math/w_j0l.c (__j0l, __y0l): Likewise.
27861 * math/w_j1l.c (__j1l, __y1l): Likewise.
27862 * math/w_jnl.c (__jnl, __ynl): Likewise.
27863 * math/w_lgammal.c (__lgammal): Likewise.
27864 * math/w_log10l.c (__log10l): Likewise.
27865 * math/w_log2l.c (__log2l): Likewise.
27866 * math/w_logl.c (__logl): Likewise.
27867 * math/w_powl.c (__powl): Likewise.
27868 * math/w_remainderl.c (__remainderl): Likewise.
27869 * math/w_scalbl.c (sysv_scalbl): Likewise.
27870 * math/w_sinhl.c (__sinhl): Likewise.
27871 * math/w_sqrtl.c (__sqrtl): Likewise.
27872 * math/w_tgammal.c (__tgammal): Likewise.
27873 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27874 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27875 * math/libm-test.inc (acos_test): Add more tests.
27876 (acosh_test): Likewise.
27877 (asin_test): Likewise.
27878 (atanh_test): Likewise.
27879 (exp_test): Likewise.
27880 (exp10_test): Likewise.
27881 (exp2_test): Likewise.
27882 (expm1_test): Likewise.
27883 (lgamma_test): Likewise.
27884 (log_test): Likewise.
27885 (log10_test): Likewise.
27886 (log1p_test): Likewise.
27887 (log2_test): Likewise.
27888 (pow_test): Do not allow some spurious overflow exceptions.
27889 (sqrt_test): Add more tests.
27890 (tgamma_test): Likewise.
27891 (y0_test): Likewise.
27892 (y1_test): Likewise.
27893 (yn_test): Likewise.
27895 2012-03-27 Anton Blanchard <anton@samba.org>
27897 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27899 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27900 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27901 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27903 2012-03-27 David S. Miller <davem@davemloft.net>
27905 * conform/Makefile: Run run-conformtest.sh using $(BASH).
27907 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27908 have-as-vis3 check.
27910 2012-03-27 Andreas Jaeger <aj@suse.de>
27912 * sysdeps/x86_64/elf/configure.in: Moved to ...
27913 * sysdeps/x86_64/configure.in: ... here.
27914 * sysdeps/x86_64/elf/start.S: Moved to ...
27915 * sysdeps/x86_64/start.S: ... here.
27916 * sysdeps/x86_64/elf/configure: Delete.
27918 * sysdeps/x86_64/configure.in: Merge contents from
27919 sysdeps/i386/configure.in (without i686 check).
27921 * sysdeps/i386/elf/Versions: Merge into ...
27922 * sysdeps/i386/Versions: ... this.
27923 * sysdeps/i386/elf/Versions: Delete file.
27924 * sysdeps/i386/elf/start.S: Moved to ...
27925 * sysdeps/i386/start.S: ...here.
27926 * sysdeps/i386/elf/configure.in: Merge into...
27927 * sysdeps/i386/configure.in: ...here.
27928 * sysdeps/i386/elf/configure.in: Delete file.
27929 * sysdeps/i386/elf/configure: Delete file.
27931 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27932 * debug/backtracesyms.c: ... here.
27933 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27934 * debug/backtracesymsfd.c: ... here.
27935 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27936 * sysdeps/generic/ifunc-sel.h: ... here.
27938 * sysdeps/unix/i386/start.c: Delete file.
27939 * sysdeps/unix/sparc/start.c: Delete file.
27940 * sysdeps/unix/start.c: Delete file.
27942 * sysdeps/sh/elf/configure.in: Moved to ...
27943 * sysdeps/sh/configure.in: ... here.
27944 * sysdeps/sh/elf/start.S: Moved to ...
27945 * sysdeps/sh/start.S: ... here.
27946 * sysdeps/sh/elf/configure: Delete file.
27948 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27949 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27950 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27951 * sysdeps/powerpc/powerpc64/entry.h: ... here.
27952 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27953 * sysdeps/powerpc/powerpc64/start.S: here.
27954 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27955 * sysdeps/powerpc/powerpc64/Makefile: ... this.
27956 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27957 * sysdeps/powerpc/powerpc64/configure.in: ... this.
27958 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27960 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27961 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27962 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27963 * sysdeps/powerpc/powerpc32/start.S: ... here.
27964 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27965 * sysdeps/powerpc/powerpc32/configure.in: ... this.
27966 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27968 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27969 * sysdeps/powerpc/ifunc-sel.h: ... here.
27970 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27971 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27973 * sysdeps/sparc/elf/configure.in: Moved to ...
27974 * sysdeps/sparc/configure.in: ... here.
27975 * sysdeps/sparc/elf/configure: Delete file.
27976 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27977 * sysdeps/sparc/sparc32/start.S: ... here.
27978 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27979 * sysdeps/sparc/sparc64/start.S: ... here.
27980 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27981 * sysdeps/sparc/sparc32/Makefile: ... this.
27982 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27983 * sysdeps/sparc/sparc64/Makefile: ... this.
27985 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27986 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27987 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27988 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27989 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27990 * sysdeps/s390/s390-32/setjmp.S: ... here.
27991 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27992 * sysdeps/s390/s390-32/configure.in: ... here.
27993 * sysdeps/s390/s390-32/elf/configure: Delete file.
27994 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27995 * sysdeps/s390/s390-32/start.S: ... here.
27997 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27998 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27999 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
28000 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
28001 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
28002 * sysdeps/s390/s390-64/setjmp.S: ... here.
28003 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
28004 * sysdeps/s390/s390-64/configure.in: ... here
28005 * sysdeps/s390/s390-64/elf/configure: Delete file.
28006 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
28007 * sysdeps/s390/s390-64/start.S: ... here.
28008 * sysdeps/s390/s390-64/elf/configure: Delete.
28010 * configure.in: Remove support for elf directories in sysdeps.
28012 * configure: Regenerated.
28013 * sysdeps/i386/configure: Regenerated.
28014 * sysdeps/powerpc/powerpc32/configure: Regenerated.
28015 * sysdeps/powerpc/powerpc64/configure: Regenerated.
28016 * sysdeps/s390/s390-32/configure: Regenerated.
28017 * sysdeps/s390/s390-64/configure: Regenerated.
28018 * sysdeps/sh/configure: Regenerated.
28019 * sysdeps/sparc/configure: Regenerated.
28020 * sysdeps/x86_64/configure: Regenerated.
28022 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
28024 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28026 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
28027 denormal result into account.
28029 2012-03-25 Roland McGrath <roland@hack.frob.com>
28031 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
28032 Reported by Allan McRae <allan@archlinux.org>.
28034 2012-03-23 Jeff Law <law@redhat.com>
28036 * nss/getnssent.c (__nss_getent): Fix typo.
28038 2012-03-23 David S. Miller <davem@davemloft.net>
28040 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28042 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
28044 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
28045 to pad to uint64_t for each field.
28046 (dl_tls_index): Replace unsigned long with uint64_t.
28048 2012-03-23 Daniel Jacobowitz <dmj@google.com>
28049 Paul Pluzhnikov <ppluzhnikov@google.com>
28052 * grp/Makefile (otherlibs): Don't set it.
28053 * inet/Makefile (otherlibs): Likewise.
28054 * login/Makefile (otherlibs): Likewise.
28055 * nscd/Makefile (otherlibs): Likewise.
28056 * posix/Makefile (otherlibs): Likewise.
28057 * pwd/Makefile (otherlibs): Likewise.
28058 * rt/Makefile (otherlibs): Likewise.
28059 * sunrpc/Makefile (otherlibs): Likewise.
28060 * nss/Makefile (otherlibs): Likewise.
28061 Add libnss_files to routines and static-only-routines.
28062 ($(objpfx)getent): Remove rule.
28063 * resolv/Makefile: Add libnss_dns and libresolv to routines and
28064 static-only-routines.
28066 2012-03-22 Joseph Myers <joseph@codesourcery.com>
28069 * math/s_cexp.c: Include <float.h>.
28070 (__cexp): Handle exp result overflowing not necessarily
28071 overflowing both real and imaginary parts of result.
28072 * math/s_cexpf.c: Likewise.
28073 * math/s_cexpl.c: Likewise.
28074 * math/libm-test.inc (cexp_test): Add more tests.
28075 * sysdeps/i386/fpu/libm-test-ulps: Update.
28076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28078 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28080 * include/link.h (ELFW): New macro.
28081 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
28082 Replace ELF64_R_TYPE with ELFW(R_TYPE).
28084 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28086 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
28089 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28091 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
28093 (struct La_x32_retval): Likewise.
28095 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28097 * sysdeps/x86_64/preconfigure.in: New file.
28098 * sysdeps/x86_64/preconfigure: New generated file.
28100 2012-03-22 Joseph Myers <joseph@codesourcery.com>
28103 * math/e_exp2l.c: Include <float.h>.
28104 (__ieee754_exp2l): Handle overflow and underflow cases
28105 separately. Only pass fractional part of argument to
28107 * math/libm-test.inc (exp2_test): Add more tests.
28109 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
28110 negating x to take absolute value.
28111 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
28113 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28114 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
28116 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
28117 computing low part if x was negated.
28118 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28120 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28122 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
28123 la_x32_gnu_pltexit.
28124 (pltexit): Cast int_retval to ptrdiff_t.
28125 * elf/tst-auditmod3b.c: Likewise.
28126 * elf/tst-auditmod4b.c: Likewise.
28127 * elf/tst-auditmod5b.c: Likewise.
28128 * elf/tst-auditmod6b.c: Likewise.
28129 * elf/tst-auditmod6c.c: Likewise.
28130 * elf/tst-auditmod7b.c: Likewise.
28132 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
28133 and x32_gnu_pltexit.
28135 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
28136 __ELF_NATIVE_CLASS.
28137 (La_x32_regs): New macro.
28138 (La_x32_retval): Likewise.
28139 (la_x32_gnu_pltenter): New function prototype.
28140 (la_x32_gnu_pltexit): Likewise.
28142 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
28144 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
28147 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28149 * configure.in (libc_cv_cc_nofma): Check for option to disable
28150 generation of FMA instructions.
28151 * configure: Regenerate.
28152 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
28153 * sysdeps/ieee754/dbl-64/Makefile: New file.
28154 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28155 Remove brandred-fma4.
28156 (CFLAGS-brandred-fma4.c): Remove.
28157 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
28158 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
28160 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
28163 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28165 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28166 LLONG_MAX != LONG_MAX.
28167 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28168 (_fitoa_word): Likewise.
28169 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
28170 LLONG_MAX != LONG_MAX.
28171 * stdio-common/_itowa.h: Include <_itoa.h>.
28172 (_itowa_word): Use _ITOA_WORD_TYPE on value.
28173 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
28174 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
28175 only if not defined.
28176 (_ITOA_WORD_TYPE): Likewise.
28177 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28178 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
28180 2012-03-21 David S. Miller <davem@davemloft.net>
28182 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28184 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28186 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
28187 of x86_64 when setting libc_cv_slibdir, libdir and
28189 * sysdeps/unix/sysv/linux/configure: Regenerated.
28191 2012-03-21 Joseph Myers <joseph@codesourcery.com>
28193 * manual/lang.texi (Old Varargs): Remove section.
28194 (How Variadic): Update menu.
28195 (va_start): Do not mention varargs.h.
28197 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
28198 Joseph Myers <joseph@codesourcery.com>
28200 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
28202 * configure: Regenerated.
28204 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
28206 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
28207 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
28210 2012-03-21 Joseph Myers <joseph@codesourcery.com>
28213 * Makefile (files-for-dist): Remove NOTES.
28214 (NOTES): Remove rule.
28215 * README: Don't refer to NOTES.
28216 * manual/creature.texi: Don't include macros.texi.
28217 * manual/intro.texi (creature.texi): Remove comment referring to
28220 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
28221 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
28222 * configure: Regenerated.
28223 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
28224 LIBC_TRY_CC_OPTION.
28225 (libc_cv_as_i686): Likewise.
28226 (libc_cv_cc_avx): Likewise.
28227 (libc_cv_cc_sse2avx): Likewise.
28228 (libc_cv_cc_fma4): Likewise.
28229 (libc_cv_cc_novzeroupper): Likewise.
28230 * sysdeps/i386/configure: Regenerated.
28233 * sysdeps/i386/fpu/s_cexp.S: Remove.
28234 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28235 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28236 * math/libm-test.inc (cexp_test): Add more tests.
28237 * sysdeps/i386/fpu/libm-test-ulps: Update.
28238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28240 2012-03-21 Allan McRae <allan@archlinux.org>
28242 * timezone/Makefile: Do not install iso3166.tab and zone.tab
28244 2012-03-21 Joseph Myers <joseph@codesourcery.com>
28247 * math/w_exp2.c: Do not include <float.h>.
28248 (o_threshold, u_threshold): Remove.
28249 (__exp2): Calculate result before checking finiteness and calling
28251 * math/w_exp2f.c: Likewise.
28252 * math/w_exp2l.c: Likewise.
28253 * math/libm-test.inc (exp2_test): Require overflow exception for
28257 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
28258 range of signed 64-bit integers before using fistpll. Remove
28259 checks for whether integers fit in mantissa bits.
28260 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
28261 the range of signed 32-bit integers before using fistpl. Remove
28262 checks for whether integers fit in mantissa bits.
28263 * sysdeps/i386/fpu/e_powl.S (p64): New object.
28264 (__ieee754_powl): Test for y outside the range of signed 64-bit
28265 integers before using fistpll. Reduce 64-bit values to 63-bit
28267 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
28268 divide-by-zero is raised for zero to large negative powers.
28269 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
28270 (__ieee754_powl): Test for y outside the range of signed 64-bit
28271 integers before using fistpll. Reduce 64-bit values to 63-bit
28273 * math/libm-test.inc (pow_test): Add more tests.
28275 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28277 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
28278 <stdio-common/_itoa.h>.
28279 * debug/segfault.c: Likewise.
28280 * elf/dl-cache.c: Likewise.
28281 * elf/dl-minimal.c: Likewise.
28282 * elf/dl-misc.c: Likewise.
28283 * elf/dl-sysdep.c: Likewise.
28284 * elf/dl-version.c: Likewise.
28285 * elf/rtld.c: Likewise.
28286 * hurd/hurdsock.c: Likewise.
28287 * hurd/lookup-retry.c: Likewise.
28288 * malloc/malloc.c: Likewise.
28289 * malloc/mtrace.c: Likewise.
28290 * nscd/nscd_getgr_r.c: Likewise.
28291 * nscd/nscd_getpw_r.c: Likewise.
28292 * nscd/nscd_getserv_r.c: Likewise.
28293 * posix/getopt_init.c: Likewise.
28294 * posix/wordexp.c: Likewise.
28295 * stdio-common/_itoa.c: Likewise.
28296 * stdio-common/printf_fphex.c: Likewise.
28297 * stdio-common/vfprintf.c: Likewise.
28298 * string/_strerror.c: Likewise.
28299 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
28300 * sysdeps/i386/i686/hp-timing.h: Likewise.
28301 * sysdeps/mach/_strerror.c: Likewise.
28302 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
28303 * sysdeps/mach/hurd/sethostid.c: Likewise.
28304 * sysdeps/mach/hurd/xmknodat.c: Likewise.
28305 * sysdeps/mach/xpg-strerror.c: Likewise.
28306 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28307 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28308 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
28309 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
28310 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28311 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
28312 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28313 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28314 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
28315 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
28316 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
28317 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28318 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
28319 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28320 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
28321 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
28322 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
28323 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
28324 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28325 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28326 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
28328 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
28330 * stdio-common/_itoa.h: Moved to ...
28331 * sysdeps/generic/_itoa.h: Here.
28333 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
28335 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
28336 instead of "_itoa.h" and "_itowa.h".
28337 * stdio-common/vfprintf.: Likewise.
28339 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28341 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
28343 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
28344 (__signbit): Likwise.
28345 (llrintf): Likwise.
28348 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28350 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
28353 2012-03-20 Joseph Myers <joseph@codesourcery.com>
28355 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
28356 OVERFLOW_EXCEPTION_OK.
28357 * math/libm-test.inc ("Philosophy"): Update comment about
28359 (OVERFLOW_EXCEPTION): Define.
28360 (OVERFLOW_EXCEPTION_OK): Likewise.
28361 (INVALID_EXCEPTION_OK): Renumber.
28362 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28363 (IGNORE_ZERO_INF_SIGN): Likewise.
28364 (test_exceptions): Handle FE_OVERFLOW.
28365 (exp10_test): Expect overflow exceptions.
28366 (exp2_test): Likewise.
28367 (expm1_test): Likewise.
28368 (nextafter_test): Likewise.
28369 (pow_test): Likewise.
28370 (scalbn_test): Likewise.
28371 (scalbln_test): Likewise.
28373 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28375 * sysdeps/x86_64/bits/atomic.h
28376 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
28378 (atomic_exchange_acq): Likewise.
28379 (__arch_exchange_and_add_body): Likewise.
28380 (__arch_add_body): Likewise.
28381 (atomic_add_negative): Likewise.
28382 (atomic_add_zero): Likewise.
28384 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28386 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
28387 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
28389 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28391 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
28392 Check __x86_64__ instead of __WORDSIZE.
28394 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28396 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
28398 2012-03-19 David S. Miller <davem@davemloft.net>
28400 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28402 * sysdeps/sparc/fpu/fenv_private.h: New file.
28403 * sysdeps/sparc/fpu/math_private.h: Use it.
28404 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
28406 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
28407 (libc_feholdexcept_setroundl): Remove.
28408 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
28410 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
28411 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
28413 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28415 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
28416 int64_t instead of long int.
28417 (INSERT_WORDS64): Likwise.
28419 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28421 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
28422 _Unwind_GetCFA return to _Unwind_Ptr first.
28424 2012-03-19 Joseph Myers <joseph@codesourcery.com>
28427 * math/s_clog.c: Include <float.h>.
28428 (__clog): Scale large or subnormal inputs.
28429 * math/s_clogf.c: Likewise.
28430 * math/s_clogl.c: Likewise.
28431 * math/s_clog10.c: Include <float.h>.
28432 (M_LOG10_2): Define.
28433 (__clog10): Scale large or subnormal inputs.
28434 * math/s_clog10f.c: Likewise.
28435 * math/s_clog10l.c: Likewise.
28436 * math/libm-test.inc (clog_test): Add more tests.
28437 (clog10_test): Likewise.
28438 * sysdeps/i386/fpu/libm-test-ulps: Update.
28439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28442 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
28444 * math/libm-test.inc (atan2_test): Add another test.
28446 * Makerules (common-objdir-compile): Remove.
28447 * sysdeps/unix/Makefile (config-generated): Do not add
28448 $(unix-generated) to variable.
28449 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
28450 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
28452 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
28454 [generic bits/local_lim.h] (before-compile): Do not append to
28456 [generic bits/local_lim.h] (common-generated): Likewise.
28457 [generic sys/param.h] (before-compile): Do not append to variable.
28458 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
28459 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
28460 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
28461 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
28463 [generic sys/param.h] (sys/param.h-includes): Remove variable.
28464 [generic sys/param.h] (sys/param.h-includes): Remove rule.
28465 [generic sys/param.h] ($(addprefix
28466 $(common-objpfx),$(sys/param.h-includes))): Likewise.
28467 [generic sys/param.h] (common-generated): Do not append to
28469 [generic sys/param.h] (sysdep_headers): Likewise.
28470 [generic bits/errno.h] (before-compile): Do not append to
28472 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
28474 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
28475 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
28476 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
28477 [generic bits/errno.h] (common-generated): Do not append to
28479 [generic bits/ioctls.h] (before-compile): Do not append to
28481 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
28483 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
28484 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
28485 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
28487 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
28488 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
28489 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
28490 [generic bits/ioctls.h] (common-generated): Do not append to
28492 [generic sys/syscall.h] (syscall.h): Remove variable.
28493 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
28495 [generic sys/syscall.h] (before-compile): Do not append to
28497 [generic sys/syscall.h] (common-generated): Likewise.
28498 * sysdeps/unix/errnos-tmpl.c: Remove file.
28499 * sysdeps/unix/errnos.awk: Likewise.
28500 * sysdeps/unix/ioctls-tmpl.c: Likewise.
28501 * sysdeps/unix/ioctls.awk: Likewise.
28502 * sysdeps/unix/mk-local_lim.c: Likewise.
28503 * sysdeps/unix/snarf-ioctls: Likewise.
28505 2012-03-19 Richard Henderson <rth@twiddle.net>
28507 * sysdeps/i386/fpu/fenv_private.h: New file.
28508 * sysdeps/i386/fpu/math_private.h: Use it.
28509 (math_opt_barrier, math_force_eval): Remove.
28510 (libc_feholdexcept_setround_53bit): Remove.
28511 (libc_feupdateenv_53bit): Remove.
28512 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28513 (math_opt_barrier, math_force_eval): Remove.
28514 (libc_feholdexcept): Remove.
28515 (libc_feholdexcept_setround): Remove.
28516 (libc_fetestexcept, libc_fesetenv): Remove.
28517 (libc_feupdateenv_test): Remove.
28518 (libc_feupdateenv, libc_feholdsetround): Remove.
28519 (libc_feresetround): Remove.
28521 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
28522 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28524 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
28525 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
28526 (libc_feupdateenv_testl): New.
28527 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
28528 (libc_feupdateenv_testf): New.
28529 (libc_feupdateenv): Use libc_feupdateenv_test.
28530 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
28531 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
28533 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
28534 (libc_feholdsetroundf, libc_feholdsetroundl): New.
28535 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
28536 (libc_feresetround_noex): New.
28537 (libc_feresetround_noexf): New.
28538 (libc_feresetround_noexl): New.
28539 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
28540 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
28541 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
28542 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
28544 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28545 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
28547 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
28548 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
28549 SET_RESTORE_ROUND_NOEX.
28550 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
28551 SET_RESTORE_ROUND_NOEXF.
28552 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
28553 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
28554 (libc_feholdsetroundf): New.
28555 (libc_feresetround, libc_feresetroundf): New.
28557 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
28558 (libc_feholdexcept_setround_53bit): Convert from macro to function.
28559 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
28561 * sysdeps/generic/math_private.h: Include <fenv.h>.
28562 (default_libc_feholdexcept): New.
28563 (default_libc_feholdexcept_setround): New.
28564 (default_libc_fesetenv, default_libc_feupdateenv): New.
28565 (libc_feholdexcept): Only define if undefined.
28566 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
28567 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
28568 (libc_feholdexcept_setroundl): Likewise.
28569 (libc_feholdexcept_setround_53bit): Likewise.
28570 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
28571 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
28572 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
28573 (libc_feupdateenv_53bit): Likewise.
28574 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
28575 (libc_feholdexcept): Convert from macro to inline function.
28576 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
28577 (libc_fesetenv, libc_feupdateenv): Likewise.
28579 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
28580 not previously defined.
28581 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
28582 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
28583 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
28584 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
28585 * sysdeps/ieee754/flt-32/math_private.h: New file.
28586 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
28587 math_private.h below SET_FLOAT_WORD.
28588 (__isnan, __isinf_ns, __finite): Remove.
28589 (__isnanf, __isinf_nsf, __finitef): Remove.
28591 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
28593 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28595 2012-03-17 David S. Miller <davem@davemloft.net>
28598 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
28601 2012-03-16 David S. Miller <davem@davemloft.net>
28603 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
28607 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
28609 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
28610 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
28611 sysdep_routines when subdir is sysvipc.
28612 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
28613 __getshmlba helper.
28615 * sysdeps/sparc/fpu/libm-test/ulps: Update.
28617 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28619 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
28622 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28624 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
28625 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
28626 (__lround): Renamed to ...
28627 (__llround): This. Replace long int with long long int.
28628 Define lround functions as aliases of llround functions.
28629 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
28631 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28633 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
28634 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
28635 adresses to uintptr_t. Replace "long int" and "unsigned long
28636 int" with "greg_t" on va_arg.
28638 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28640 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
28641 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
28643 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
28644 Move e_machine check before EI_CLASS check. Handle x32
28645 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
28646 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
28647 SKIP_EM_IA_64 and include
28648 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
28650 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
28651 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
28652 (add_system_dir): New macro.
28654 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
28655 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
28657 2012-03-16 Joseph Myers <joseph@codesourcery.com>
28668 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
28670 * math/w_j0f.c (j0f): Likewise.
28672 * math/w_j0l.c (__j0l): Likewise.
28674 * math/w_j1.c (j1): Likewise.
28676 * math/w_j1f.c (j1f): Likewise.
28678 * math/w_j1l.c (__j1l): Likewise.
28680 * math/w_jn.c (jn): Likewise.
28682 * math/w_jnf.c (jnf): Likewise.
28684 * math/w_jnl.c (__jnl): Likewise.
28686 * math/libm-test.inc (j0_test): Add more tests.
28687 (j1_test): Likewise.
28688 (jn_test): Likewise. Add trailing semicolon to existing test.
28689 (y0_test): Likewise.
28690 (y1_test): Likewise.
28691 * sysdeps/i386/fpu/libm-test-ulps: Update.
28692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28696 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28697 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
28698 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
28699 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
28700 (__tanl): Set errno for infinite argument.
28701 * sysdeps/i386/fpu/mptan.c: Remove.
28702 * sysdeps/i386/fpu/s_tan.S: Likewise.
28703 * sysdeps/i386/fpu/s_tanl.S: Likewise.
28704 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
28705 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
28706 * math/libm-test.inc (tan_test): Add more tests and enable more
28707 tests for double and long double.
28708 * sysdeps/i386/fpu/libm-test-ulps: Update.
28709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28711 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
28713 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
28714 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
28716 2012-03-16 Roland McGrath <roland@hack.frob.com>
28718 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
28719 * configure.in: Use it for both main tree and add-ons.
28720 * configure: Regenerated.
28722 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28724 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
28726 2012-03-16 Joseph Myers <joseph@codesourcery.com>
28728 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
28732 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
28733 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
28734 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
28735 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
28736 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
28738 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
28739 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
28740 != 0 for prec == 2.
28741 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
28742 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
28743 * sysdeps/i386/fpu/s_cosl.S: Likewise.
28744 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
28745 * sysdeps/i386/fpu/s_sinl.S: Likewise.
28746 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
28747 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
28748 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
28749 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
28750 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
28751 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
28752 * math/libm-test.inc (cos_test): Add more tests and enable more
28753 tests for long double.
28754 (sin_test): Likewise.
28755 (sincos_test): Likewise.
28756 * sysdeps/i386/fpu/libm-test-ulps: Update.
28757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28759 2012-03-16 David S. Miller <davem@davemloft.net>
28761 * sysdeps/sparc/fpu/math_private.h: New file.
28763 2012-03-15 David S. Miller <davem@davemloft.net>
28765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
28767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
28768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28771 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28772 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28773 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28774 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28775 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28779 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28780 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28782 * sysdeps/sparc/sparc-ifunc.h: New file.
28783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
28799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28807 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28808 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28809 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28810 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28811 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28812 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28813 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28814 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28815 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28816 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28817 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28818 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28819 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28820 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28821 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28822 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28823 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28824 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28825 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28826 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28828 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28830 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28832 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28834 2012-03-15 Andreas Jaeger <aj@suse.de>
28837 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28838 ieee754/flt-32 implementation for sin, cos and sincos.
28839 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28840 * sysdeps/i386/fpu/s_cosf.S: Likewise.
28841 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28842 * sysdeps/i386/fpu/s_sinf.S: Likewise.
28843 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28844 ieee754/flt-32 implementation for tan.
28846 * math/libm-test.inc (cos_test): Enable some large input tests for
28848 (sin_test): Likewise.
28849 (sincos_test): Likewise.
28850 (tan_test): Add tests for large input.
28852 * sysdeps/i386/fpu/libm-test-ulps: Update.
28854 2012-03-15 Andreas Jaeger <aj@suse.de>
28857 * math/libm-test.inc (cos_test): Add more test cases.
28858 (sin_test): Likewise.
28859 (sincos_test): Likewise.
28861 2012-03-15 Andreas Jaeger <aj@suse.de>
28864 * math/libm-test.inc (cos_test): Add a test case for large input
28866 (sin_test): Likewise.
28867 (sincos_test): Likewise.
28869 2012-03-15 Andreas Jaeger <aj@suse.de>,
28870 Joseph Myers <joseph@codesourcery.com>
28873 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
28874 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28875 * sysdeps/i386/fpu/branred.c: Likewise.
28876 * sysdeps/i386/fpu/dosincos.c: Likewise.
28877 * sysdeps/i386/fpu/mpa.c: Likewise.
28878 * sysdeps/i386/fpu/s_cos.S: Likewise.
28879 * sysdeps/i386/fpu/s_sin.S: Likewise.
28880 * sysdeps/i386/fpu/s_sincos.S: Likewise.
28881 * sysdeps/i386/fpu/sincos32.c: Likewise.
28883 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28885 (libc_feupdateenv_53bit): Define.
28886 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28888 (libc_feupdateenv_53bit): Define.
28890 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28891 53 bit (without extend i386 double precision).
28893 * math/libm-test.inc (sincos_test): Add tests for large input.
28897 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28899 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28901 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28903 2012-03-15 David S. Miller <davem@davemloft.net>
28905 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28906 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28907 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28908 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28909 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28910 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28911 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28913 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28914 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28915 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28916 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28917 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28918 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28919 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
28920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
28923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
28926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
28929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28932 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28933 fmin/fmax sysdep routines.
28934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28936 2012-03-14 David S. Miller <davem@davemloft.net>
28938 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28939 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28940 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28941 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28942 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28943 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28944 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28945 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28946 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28947 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28948 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28949 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28950 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28951 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28952 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28953 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28954 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28955 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28956 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28957 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28958 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28959 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28960 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28961 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28962 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28963 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28964 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28965 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
28966 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
28971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
28974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
28977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
28980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
28983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
28998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
29000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
29001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
29003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
29004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
29006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
29007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
29010 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
29013 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29015 * sysdeps/sparc/configure.in: New file.
29016 * sysdeps/sparc/configure: Generate.
29017 * configure.in (libc_cv_sparc_as_vis3): Substitute.
29018 * configure: Regenerate.
29019 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
29020 * config.make.in (have-as-vis3): New.
29021 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
29022 available use -Av9d instead of -Av9a.
29023 * sysdeps/sparc/sparc64/Makefile: Likewise.
29024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
29025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
29027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
29029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
29031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
29033 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
29034 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
29035 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
29036 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
29037 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
29039 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
29040 fzeros/fnegs to load 0x80000000 into a float register instead of
29042 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
29044 2012-03-14 Joseph Myers <joseph@codesourcery.com>
29046 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29048 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
29049 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
29050 ($(inst_includedir)/bits/syscall.h): Remove rule.
29051 ($(objpfx)bits/syscall.d): Include instead of
29052 $(objpfx)syscall-list.d.
29053 (generated): Change syscall-list.h and syscall-list.d to
29054 bits/syscall.h and bits/syscall.d.
29056 2012-03-14 Roland McGrath <roland@hack.frob.com>
29059 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
29061 2012-03-14 Joseph Myers <joseph@codesourcery.com>
29064 * math/s_csqrt.c: Include <float.h>.
29065 (__csqrt): Scale large or subnormal inputs.
29066 * math/s_csqrtf.c: Likewise.
29067 * math/s_csqrtl.c: Likewise.
29068 * math/libm-test.inc (csqrt_test): Add more tests.
29069 * sysdeps/i386/fpu/libm-test-ulps: Update.
29070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29073 * math/libm-test.inc (hypot_test): Add more tests.
29075 2012-03-13 David S. Miller <davem@davemloft.net>
29078 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
29079 double-precision for the calculation instead of scaling.
29081 2012-03-13 Joseph Myers <joseph@codesourcery.com>
29083 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
29084 manipulate bits before adding and subtracting TWO52[sx].
29085 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
29086 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
29088 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
29090 2012-03-13 David S. Miller <davem@davemloft.net>
29092 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
29093 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
29094 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
29095 rtld-global-offsets.h
29096 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29098 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
29101 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
29103 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
29104 'err' in the ifdef scope in which it is actually used.
29106 * nss/nss_db/db-init.c: Include string.h
29108 2012-03-12 David S. Miller <davem@davemloft.net>
29110 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29111 masking out of the most significant byte of random value used.
29112 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29113 Fix coding style in previous change.
29115 * sysdeps/unix/sysv/linux/kernel-features.h
29116 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
29117 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
29119 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
29122 2012-03-11 David S. Miller <davem@davemloft.net>
29124 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
29125 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
29126 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
29127 for 'resultvar' otherwise things get truncated on 64-bit.
29129 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29130 Fix masking out of the most significant byte of random value used.
29132 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29134 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
29136 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29138 2012-03-09 David S. Miller <davem@davemloft.net>
29140 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
29141 variables with appropriate CPP guards.
29142 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
29143 frame pointer, not the stack pointer. Correct layout comments. Fix test
29144 on resulting framesize and the management of the outregs buffer for pltexit.
29145 Preserve floating point return values across _dl_call_pltexit call.
29146 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
29147 framesize and the management of the outregs buffer for pltexit.
29148 Preserve floating point return values across _dl_call_pltexit
29150 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
29151 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
29152 (print_exit): Fix format string for return register value.
29154 2012-03-10 Joseph Myers <joseph@codesourcery.com>
29156 * sunrpc/Makefile (others): Add rpcgen.
29157 ($(objpfx)rpcgen): Remove special build rule and dependency on
29159 * sunrpc/rpcgen.c: New file.
29161 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
29164 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
29165 * stdio-common/bug-vfprintf-nargs.c: Likewise.
29166 * sysdeps/i386/crti.S: Likewise.
29167 * sysdeps/i386/crtn.S: Likewise.
29168 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
29169 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
29170 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
29171 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
29172 * sysdeps/sh/crti.S: Likewise.
29173 * sysdeps/sh/crtn.S: Likewise.
29174 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29177 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
29179 * locale/programs/locfile-kw.gperf: Likewise.
29180 * locale/programs/charmap-kw.h: Regenerated.
29181 * locale/programs/locfile-kw.h: Likewise.
29184 * intl/plural.y: Replace FSF snail mail address with URL.
29185 * intl/plural.c: Regenerated.
29187 2012-03-09 Richard Henderson <rth@twiddle.net>
29189 * include/math_private.h: Remove file.
29190 * math/math_private.h: Move file ...
29191 * sysdeps/generic/math_private.h: ... here.
29193 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
29194 * sysdeps/powerpc/fpu/math_private.h: Likewise.
29195 * sysdeps/x86_64/fpu/math_private.h: Likewise.
29197 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
29198 and <math_private.h>.
29199 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29200 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29201 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29202 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29203 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29204 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
29205 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29206 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29207 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29208 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29209 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29210 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29211 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29212 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29213 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29214 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29215 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29216 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29217 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29218 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29219 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29220 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29221 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29222 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29223 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29224 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29225 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29226 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29227 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29228 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29229 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29230 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29231 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29232 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29233 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29234 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29235 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29236 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29237 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29238 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29239 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
29240 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29241 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29242 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29243 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29244 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29245 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
29246 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29247 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29248 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29249 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29250 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
29251 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29252 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29253 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29254 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29255 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29256 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29257 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29258 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
29259 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29260 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29261 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29262 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29263 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
29264 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29265 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29266 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29267 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
29268 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
29269 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29270 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29271 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29272 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29273 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
29274 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
29275 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
29276 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29277 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
29278 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
29279 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29280 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
29281 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29282 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29283 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29284 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
29285 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
29286 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
29287 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29288 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29289 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29290 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29291 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29292 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29293 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29294 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29295 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29296 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29297 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29298 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29299 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29300 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29301 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29302 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29303 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29304 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29305 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29306 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29307 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29308 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29309 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29310 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29311 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29312 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29313 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
29314 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29315 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29316 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29317 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29318 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29319 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29320 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29321 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29322 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
29323 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29324 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29325 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29326 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
29327 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29328 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
29329 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
29330 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29331 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29332 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
29333 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
29334 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29335 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29336 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29337 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
29338 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29339 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29340 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29341 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29342 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
29343 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
29344 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29345 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29346 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29347 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
29348 * sysdeps/ieee754/k_standard.c: Likewise.
29349 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29350 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29351 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29352 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29353 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29354 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29355 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29356 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29357 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29358 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29359 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29360 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29361 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29362 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29363 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29364 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29365 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29366 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29367 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29368 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
29369 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
29370 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
29371 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29372 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29373 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29374 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
29375 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29376 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29377 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29378 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29379 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29380 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29381 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29382 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29383 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29384 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29385 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29386 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
29387 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
29388 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29389 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29390 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29391 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29392 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29393 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29394 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29395 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29396 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29397 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29398 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29399 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29400 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29401 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29402 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
29403 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29404 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29405 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
29406 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
29407 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29408 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29409 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29410 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29411 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29412 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29413 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29414 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29415 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29416 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29417 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29418 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29419 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29420 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29421 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29422 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29423 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29424 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29425 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
29426 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29427 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29428 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29429 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29430 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29431 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29432 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29433 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
29434 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29435 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29436 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29437 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29438 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29439 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
29440 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29441 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
29442 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29443 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29444 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29445 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
29446 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
29447 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
29448 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
29449 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29450 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29451 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29452 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29453 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
29454 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29455 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29456 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
29457 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
29458 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29459 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29460 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29461 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29462 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29463 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29464 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29465 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29466 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29467 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29468 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29469 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29470 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29471 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29472 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29473 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29474 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
29475 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29476 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29477 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29478 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29479 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29480 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29481 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29482 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
29483 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29484 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29485 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
29486 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29487 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29488 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
29489 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
29490 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29491 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
29492 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
29493 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29494 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29495 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29496 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29497 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29498 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
29499 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29500 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29501 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29502 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29503 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
29504 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
29505 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29506 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29507 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29508 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29509 * sysdeps/ieee754/s_lib_version.c: Likewise.
29510 * sysdeps/ieee754/s_matherr.c: Likewise.
29511 * sysdeps/ieee754/s_signgam.c: Likewise.
29512 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29513 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29514 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
29515 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
29516 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
29517 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29518 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
29519 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
29520 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
29521 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
29522 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29523 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
29524 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29525 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29526 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
29527 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29528 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29529 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29530 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29531 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29532 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29534 2012-03-09 Joseph Myers <joseph@codesourcery.com>
29536 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
29537 * sunrpc/rpc_main.c: Likewise.
29538 * sunrpc/rpc_svcout.c: Likewise.
29540 2012-03-09 David S. Miller <davem@davemloft.net>
29542 * include/math_private.h: New file.
29544 2012-03-09 Joseph Myers <joseph@codesourcery.com>
29546 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
29547 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
29548 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
29549 from <bits/socket_type.h>.
29550 (enum __socket_type): Don't define here.
29551 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
29552 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29553 bits/socket_type.h.
29556 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
29557 checking __USE_GNU.
29559 * Makerules ($(inst_includedir)/%.h): New rule.
29560 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
29561 (install-others): Remove variable setting.
29562 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
29564 2012-03-08 Richard Henderson <rth@twiddle.net>
29566 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
29567 from macro to inline function; merge with the
29568 !__LIBC_INTERNAL_MATH_INLINES version.
29569 (__ieee754_sqrtf): Likewise.
29571 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
29572 to inline function.
29573 (__rintf, __floor, __floorf): Likewise.
29575 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
29576 macro to inline function.
29577 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
29579 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
29580 not <math/math_private.h>.
29582 2012-03-08 David S. Miller <davem@davemloft.net>
29584 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
29586 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29588 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
29590 * resolv/gai_misc.c (handle_requests): Fix struct timespec
29592 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
29593 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29595 2012-03-08 Ulrich Drepper <drepper@gmail.com>
29597 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
29598 be defined individually, they must be defined as a block. Define
29599 S for printing a string instead of hidint the different by using a
29600 macro for adding the 'l'.
29601 * stdio-common/tst-fphex-wide.c: Adjust.
29603 2012-03-07 Marek Polacek <polacek@redhat.com>
29605 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
29607 2012-03-08 Marek Polacek <polacek@redhat.com>
29610 * stdio-common/Makefile (tests): Add tst-fphex-wide.
29611 * stdio-common/tst-fphex.c: Define a few macros to make the
29612 test reusable. Use them.
29613 * stdio-common/tst-fphex-wide.c: New file.
29615 2012-03-08 Joseph Myers <joseph@codesourcery.com>
29618 * manual/macros.texi (gnusystems): New macro.
29619 (nongnusystems): Likewise.
29620 (gnulinuxhurdsystems): Likewise.
29621 (gnuhurdsystems): Likewise..
29622 (gnulinuxsystems): Likewise.
29623 * manual/charset.texi: Use new macros or @theglibc{} to refer to
29624 variants of the GNU system, not "GNU system".
29625 * manual/conf.texi: Likewise.
29626 * manual/errno.texi: Likewise. Update example of errno macro
29628 * manual/filesys.texi: Likewise.
29629 (getumask): Document as specific to GNU/Hurd.
29630 * manual/install.texi: Likewise. Reword some references to
29632 * manual/intro.texi: Likewise.
29633 * manual/io.texi: Likewise.
29634 (File Name Portability): Detail which constraints are inapplicable
29635 to all GNU systems and which are only inapplicable to GNU/Hurd.
29636 * manual/job.texi: Likewise.
29637 * manual/llio.texi: Likewise.
29638 (O_NOCTTY): Document as present on GNU/Linux.
29639 * manual/maint.texi: Likewise.
29640 * manual/memory.texi: Likewise.
29641 * manual/pattern.texi: Likewise.
29642 * manual/pipe.texi: Likewise.
29643 * manual/process.texi: Likewise.
29644 * manual/resource.texi: Likewise.
29645 (RUSAGE_CHILDREN): Remove statement about specifying a particular
29647 * manual/setjmp.texi: Likewise.
29648 * manual/signal.texi: Likewise.
29649 * manual/startup.texi: Likewise.
29650 * manual/stdio.texi: Likewise.
29651 * manual/terminal.texi: Likewise.
29652 (ONLCR): Document as POSIX.
29653 (OXTABS): Document availability on GNU/Linux as XTABS.
29654 (ONOEOT): Document availability separately from other bits.
29655 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
29656 * manual/time.texi: Likewise.
29657 * manual/users.texi: Likewise.
29658 * INSTALL: Regenerated.
29659 * sysdeps/gnu/errlist.c: Regenerated.
29661 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
29662 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
29663 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
29665 * configure: Regenerated.
29667 2012-03-07 Joseph Myers <joseph@codesourcery.com>
29669 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
29670 default includes instead of AC_HEADER_CHECK.
29671 * sysdeps/i386/configure: Regenerated.
29674 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
29675 * math/s_cacoshf.c (__cacoshf): Likewise.
29676 * math/s_cacoshl.c (__cacoshl): Likewise.
29677 * math/s_casinh.c (__casinh): Set signs of result from argument.
29678 * math/s_casinhf.c (__casinhf): Likewise.
29679 * math/s_casinhl.c (__casinhl): Likewise.
29680 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
29681 (casinh_test): Add more tests.
29682 * sysdeps/i386/fpu/libm-test-ulps: Update.
29683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29685 2012-03-07 Ulrich Drepper <drepper@gmail.com>
29687 * po/zh_TW.po: Update from translation team.
29689 * login/Makefile (distribute): Remove variable.
29690 * catgets/Makefile: Likewise.
29691 * mach/Makefile: Likewise.
29692 * malloc/Makefile: Likewise.
29693 * misc/Makefile: Likewise.
29694 * iconv/Makefile: Likewise.
29695 * nscd/Makefile: Likewise.
29696 * hurd/Makefile: Likewise.
29697 * manual/Makefile: Likewise.
29698 * locale/Makefile: Likewise.
29699 * intl/Makefile: Likewise.
29700 * conform/Makefile: Likewise.
29701 * nss/Makefile: Likewise.
29702 * time/Makefile: Likewise.
29703 * soft-fp/Makefile: Likewise.
29704 * dirent/Makefile: Likewise.
29705 * gmon/Makefile: Likewise.
29706 * po/Makefile: Likewise.
29707 * rt/Makefile: Likewise.
29708 * socket/Makefile: Likewise.
29709 * math/Makefile: Likewise.
29710 * signal/Makefile: Likewise.
29711 * debug/Makefile: Likewise.
29712 * elf/Makefile: Likewise.
29713 * timezone/Makefile: Likewise.
29714 * stdlib/Makefile: Likewise.
29715 * iconvdata/Makefile: Likewise.
29716 * sunrpc/Makefile: Likewise.
29717 * io/Makefile: Likewise.
29718 * argp/Makefile: Likewise.
29719 * inet/Makefile: Likewise.
29720 * hesiod/Makefile: Likewise.
29721 * grp/Makefile: Likewise.
29722 * csu/Makefile: Likewise.
29723 * wctype/Makefile: Likewise.
29724 * crypt/Makefile: Likewise.
29725 * libio/Makefile: Likewise.
29726 * string/Makefile: Likewise.
29727 * nis/Makefile: Likewise.
29728 * resolv/Makefile: Likewise.
29729 * stdio-common/Makefile: Likewise.
29730 * wcsmbs/Makefile: Likewise.
29731 * dlfcn/Makefile: Likewise.
29732 * posix/Makefile: Likewise.
29735 * timezone/Makefile: Don't install timezone files, just the programs
29738 2012-03-06 Ulrich Drepper <drepper@gmail.com>
29740 * nss/databases.def: Add missing gshadow entry.
29742 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
29744 2012-03-06 Marek Polacek <polacek@redhat.com>
29747 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
29748 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29749 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
29750 * stdio-common/tst-long-dbl-fphex.c: New file.
29752 2012-03-06 David S. Miller <davem@davemloft.net>
29754 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29755 (set_obp_int): New function.
29756 (get_obp_int): New function.
29757 (__get_clockfreq_via_dev_openprom): Likewise.
29758 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
29759 Avoid unused variable warnings on 'val' and use builtin_expect.
29760 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
29762 (INLINE_CLONE_SYSCALL): Likewise.
29764 2012-03-05 David S. Miller <davem@davemloft.net>
29766 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29768 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
29770 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29772 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29773 only for |x| >= 40.
29774 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29776 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
29778 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29779 Replace gettimeofday with __vdso_gettimeofday.
29781 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29782 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29783 __vdso_clock_gettime and __vdso_getcpu.
29785 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29786 time with __vdso_time.
29788 2012-03-05 Joseph Myers <joseph@codesourcery.com>
29790 * manual/lang.texi (size_t): Note types to which size_t may be
29791 equivalent with the GNU C Library, but do not describe when
29792 differences between them are significant.
29794 2012-03-05 Andreas Jaeger <aj@suse.de>
29796 * sysdeps/i386/fpu/libm-test-ulps: Update.
29798 2012-03-05 Joseph Myers <joseph@codesourcery.com>
29801 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29802 (__ieee754_pow): Save and restore rounding mode and use
29803 round-to-nearest for main computations.
29804 * math/libm-test.inc (pow_test_tonearest): New function.
29805 (pow_test_towardzero): Likewise.
29806 (pow_test_downward): Likewise.
29807 (pow_test_upward): Likewise.
29808 (main): Call the new functions.
29809 * sysdeps/i386/fpu/libm-test-ulps: Update.
29810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29813 * math/libm-test.inc (cosh_test_tonearest): New function.
29814 (cosh_test_towardzero): Likewise.
29815 (cosh_test_downward): Likewise.
29816 (cosh_test_upward): Likewise.
29817 (sinh_test_tonearest): Likewise.
29818 (sinh_test_towardzero): Likewise.
29819 (sinh_test_downward): Likewise.
29820 (sinh_test_upward): Likewise.
29821 (main): Call the new functions.
29822 * sysdeps/i386/fpu/libm-test-ulps: Update.
29823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29825 2012-03-05 Tom de Vries <tom@codesourcery.com>
29827 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29828 default stack guard is set in last bytes.
29829 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29831 2012-03-05 Kees Cook <keescook@chromium.org>
29833 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
29836 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29837 possibly allocate from heap instead of stack.
29838 * stdio-common/bug-vfprintf-nargs.c: New file.
29839 * stdio-common/Makefile (tests): Add nargs overflow test.
29841 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
29843 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29845 2012-03-03 Marek Polacek <polacek@redhat.com>
29847 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29848 * math/math_private.h: Likewise.
29849 * stdlib/tst-strtod.c: Likewise.
29850 * sysdeps/i386/i486/bits/atomic.h: Likewise.
29851 * sysdeps/x86_64/bits/atomic.h: Likewise.
29853 2012-03-02 David S. Miller <davem@davemloft.net>
29855 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29856 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29857 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29858 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29859 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29860 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29861 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29862 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29864 2012-03-02 Roland McGrath <roland@hack.frob.com>
29867 * manual/examples/README: New file, says the example source files
29868 can be used under GPL>=2.
29869 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29870 line containing just "*/".
29871 * manual/examples/add.c: Add copyright header (GPL>=2).
29872 * manual/examples/argp-ex1.c: Likewise.
29873 * manual/examples/argp-ex2.c: Likewise.
29874 * manual/examples/argp-ex3.c: Likewise.
29875 * manual/examples/argp-ex4.c: Likewise.
29876 * manual/examples/atexit.c: Likewise.
29877 * manual/examples/db.c: Likewise.
29878 * manual/examples/dir.c: Likewise.
29879 * manual/examples/dir2.c: Likewise.
29880 * manual/examples/execinfo.c: Likewise.
29881 * manual/examples/filecli.c: Likewise.
29882 * manual/examples/filesrv.c: Likewise.
29883 * manual/examples/fmtmsgexpl.c: Likewise.
29884 * manual/examples/genpass.c: Likewise.
29885 * manual/examples/inetcli.c: Likewise.
29886 * manual/examples/inetsrv.c: Likewise.
29887 * manual/examples/isockad.c: Likewise.
29888 * manual/examples/longopt.c: Likewise.
29889 * manual/examples/memopen.c: Likewise.
29890 * manual/examples/memstrm.c: Likewise.
29891 * manual/examples/mkfsock.c: Likewise.
29892 * manual/examples/mkisock.c: Likewise.
29893 * manual/examples/mygetpass.c: Likewise.
29894 * manual/examples/pipe.c: Likewise.
29895 * manual/examples/popen.c: Likewise.
29896 * manual/examples/rprintf.c: Likewise.
29897 * manual/examples/search.c: Likewise.
29898 * manual/examples/select.c: Likewise.
29899 * manual/examples/setjmp.c: Likewise.
29900 * manual/examples/sigh1.c: Likewise.
29901 * manual/examples/sigusr.c: Likewise.
29902 * manual/examples/stpcpy.c: Likewise.
29903 * manual/examples/strdupa.c: Likewise.
29904 * manual/examples/strftim.c: Likewise.
29905 * manual/examples/strncat.c: Likewise.
29906 * manual/examples/subopt.c: Likewise.
29907 * manual/examples/swapcontext.c: Likewise.
29908 * manual/examples/termios.c: Likewise.
29909 * manual/examples/testopt.c: Likewise.
29910 * manual/examples/testpass.c: Likewise.
29911 * manual/examples/timeval_subtract.c: Likewise.
29914 * manual/time.texi (Elapsed Time): Move timeval_subtract example
29916 * manual/timeval_subtract.c.texi: ... here, new file.
29918 2012-03-02 David S. Miller <davem@davemloft.net>
29920 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29922 2012-03-02 Joseph Myers <joseph@codesourcery.com>
29925 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29926 (__sin): Save and restore rounding mode and use round-to-nearest
29927 for all computations.
29928 (__cos): Save and restore rounding mode and use round-to-nearest
29929 for all computations.
29930 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29932 (tan): Save and restore rounding mode and use round-to-nearest for
29934 * math/libm-test.inc (cos_test_tonearest): New function.
29935 (cos_test_towardzero): Likewise.
29936 (cos_test_downward): Likewise.
29937 (cos_test_upward): Likewise.
29938 (sin_test_tonearest): Likewise.
29939 (sin_test_towardzero): Likewise.
29940 (sin_test_downward): Likewise.
29941 (sin_test_upward): Likewise.
29942 (tan_test_tonearest): Likewise.
29943 (tan_test_towardzero): Likewise.
29944 (tan_test_downward): Likewise.
29945 (tan_test_upward): Likewise.
29946 (main): Call the new functions.
29947 * sysdeps/i386/fpu/libm-test-ulps: Update.
29948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29951 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29952 small n, then large n, before computing and testing k+n.
29953 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29954 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29956 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29958 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29959 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29960 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29961 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29962 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29963 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29964 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29965 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29966 * math/libm-test.inc (scalbn_test): Add more tests.
29967 (scalbln_test): Likewise.
29969 * manual/filesys.texi (mode_t): Describe constraints on size and
29970 signedness, not exact equivalence to a particular type.
29972 (ino64_t): Likewise.
29974 (nlink_t): Likewise.
29975 (blkcnt_t): Likewise.
29976 (blkcnt64_t): Likewise.
29977 * manual/llio.texi (off_t): Likewise.
29980 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29981 (__ieee754_exp): Save and restore rounding mode and use
29982 round-to-nearest for all computations.
29983 * math/libm-test.inc (exp_test_tonearest): New function.
29984 (exp_test_towardzero): Likewise.
29985 (exp_test_downward): Likewise.
29986 (exp_test_upward): Likewise.
29987 (main): Call the new functions.
29988 * sysdeps/i386/fpu/libm-test-ulps: Update.
29989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29991 2012-03-01 Chris Demetriou <cgd@google.com>
29993 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29994 have predictable order.
29996 2012-03-01 David S. Miller <davem@davemloft.net>
29998 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
30000 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
30001 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
30002 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
30003 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
30005 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
30006 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
30007 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
30008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
30009 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
30010 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
30011 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
30012 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
30013 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
30015 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30017 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
30018 * sysdeps/sparc/fpu/libm-test-ulps: to here.
30019 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
30021 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
30022 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30023 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30024 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
30025 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
30026 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
30027 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
30028 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30029 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30030 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
30031 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
30032 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30033 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30034 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30035 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30036 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30037 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
30038 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
30039 * sysdeps/sparc/elf/configure: Regenerated.
30041 2012-03-01 Joseph Myers <joseph@codesourcery.com>
30043 * configure.in (AS, LD): Require binutils 2.20 or later.
30044 * configure: Regenerated.
30045 * manual/install.texi (Tools for Compilation): Give binutils 2.20
30046 as required minimum version.
30047 * INSTALL: Regenerated.
30051 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
30052 before squaring exponent.
30053 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
30054 bottom long double and 27 bits of top long double before squaring
30056 * math/libm-test.inc (erfc_test): Add more tests.
30057 * sysdeps/i386/fpu/libm-test-ulps: Update.
30058 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30061 2012-03-01 Kai Tietz <ktietz@redhat.com>
30063 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
30064 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
30065 containing bit-fields.
30066 * soft-fp/extended.h (_FP_UNION_E): Likewise.
30067 * soft-fp/single.h (_FP_UNION_S): Likewise.
30068 * soft-fp/double.h (_FP_UNION_D): Likewise.
30070 2012-02-29 Joseph Myers <joseph@codesourcery.com>
30073 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
30074 not include ../strcmp.S.
30075 [USE_AS_STRNCASECMP_L]: Likewise.
30076 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
30077 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
30078 * sysdeps/i386/i686/multiarch/strncase_l-c.c
30079 (__strncasecmp_l_ia32): Define as alias to
30080 __strncasecmp_l_nonascii.
30083 * math/libm-test.inc (expm1_test): Add test for bug 5794.
30084 * sysdeps/i386/fpu/libm-test-ulps: Update.
30085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30087 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
30088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30090 2012-02-29 Jeff Law <law@redhat.com>
30092 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
30093 out of bounds read.
30095 2012-02-29 Marek Polacek <polacek@redhat.com>
30098 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
30099 * elf/Makefile: Add rules to run tst-unused-dep.out.
30101 2012-02-28 David S. Miller <davem@davemloft.net>
30103 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
30104 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
30105 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
30106 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
30107 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
30108 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
30110 2012-02-29 Joseph Myers <joseph@codesourcery.com>
30112 * math/libm-test.inc (llround_test): Move one test from
30113 lround_test. Use TEST_f_L in moved test.
30114 (lround_test): Move misplaced test to llround_test. Add testcase
30117 2012-02-28 Ulrich Drepper <drepper@gmail.com>
30119 * sysdeps/x86_64/fpu/e_expf.S: New file.
30120 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
30122 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
30125 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
30126 of remain_len that may cause incomplete multi-byte character and
30128 * posix/bug-regex33.c: New file.
30129 * posix/Makefile (tests): Add bug-regex33.
30131 2012-02-28 Joseph Myers <joseph@codesourcery.com>
30133 * manual/macros.texi: New file.
30134 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
30135 * manual/libc.texinfo: Include macros.texi.
30136 * manual/creatute.texi: Likewise.
30137 * manual/install.texi: Likewise.
30138 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
30139 @glibcadj{} in references to the GNU C Library.
30140 * manual/charset.texi: Likewise.
30141 * manual/conf.texi: Likewise.
30142 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
30143 when not using those macros.
30144 * manual/creature.texi: Likewise.
30145 * manual/crypt.texi: Likewise.
30146 * manual/errno.texi: Likewise.
30147 * manual/filesys.texi: Likewise.
30148 * manual/header.texi: Likewise.
30149 * manual/install.texi: Likewise.
30150 * manual/intro.texi: Likewise.
30151 * manual/io.texi: Likewise.
30152 * manual/job.texi: Likewise.
30153 * manual/lang.texi: Likewise.
30154 * manual/libc.texiinfo: Likewise.
30155 * manual/llio.texi: Likewise.
30156 * manual/locale.texi: Likewise.
30157 * manual/maint.texi: Likewise.
30158 * manual/math.texi: Likewise.
30159 * manual/memory.texi: Likewise.
30160 * manual/message.texi: Likewise.
30161 * manual/nss.texi: Likewise.
30162 * manual/pattern.texi: Likewise.
30163 * manual/process.texi: Likewise.
30164 * manual/resource.texi: Likewise.
30165 * manual/search.texi: Likewise.
30166 * manual/setjmp.texi: Likewise.
30167 * manual/signal.texi: Likewise.
30168 * manual/socket.texi: Likewise.
30169 * manual/startup.texi: Likewise.
30170 * manual/stdio.texi: Likewise.
30171 * manual/string.texi: Likewise.
30172 * manual/sysinfo.texi: Likewise.
30173 * manual/syslog.texi: Likewise.
30174 * manual/terminal.texi: Likewise.
30175 * manual/time.texi: Likewise.
30176 * manual/users.texi: Likewise.
30177 * INSTALL: Regenerated.
30178 * NOTES: Regenerated.
30179 * sysdeps/gnu/errlist.c: Regenerated.
30181 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
30183 * include/dirent.h: Include <dirstream.h> before
30186 2012-02-28 David S. Miller <davem@davemloft.net>
30188 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
30189 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
30190 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
30191 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
30193 2012-02-27 David S. Miller <davem@davemloft.net>
30195 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
30196 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
30197 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
30198 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
30200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
30201 frame pointer instead of stack pointer relative arg slot.
30202 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30203 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30204 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30206 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
30209 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
30211 2012-02-27 David S. Miller <davem@davemloft.net>
30213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
30214 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30215 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
30217 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30218 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30219 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
30220 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
30222 2012-02-27 Joseph Myers <joseph@codesourcery.com>
30224 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
30225 later. Allow versions 5-9.
30226 * configure: Regenerated.
30227 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
30228 required minimum version and 4.6 as recommended version. Do not
30229 mention bugs in GCC 2.7 and 2.8.
30230 * INSTALL: Regenerated.
30232 2012-02-27 David S. Miller <davem@davemloft.net>
30234 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
30235 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
30236 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
30237 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
30238 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
30239 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
30240 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
30241 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
30243 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
30244 manipulate bits before adding and subtracting TWO112[sx].
30245 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30247 2012-02-27 Roland McGrath <roland@hack.frob.com>
30250 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
30251 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
30252 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
30253 being in POSIX, because they are in 1003.1-2008.
30255 * rt/tst-aio.c: Include <fcntl.h>.
30256 * rt/tst-aio7.c: Likewise.
30257 * rt/tst-aio64.c: Likewise.
30259 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
30261 2012-02-27 Joseph Myers <joseph@codesourcery.com>
30263 * manual/install.texi (--with-headers): Describe headers as
30264 interface headers, not private headers.
30265 (Specific advice for GNU/Linux systems): Describe use of headers
30266 from "make headers_install", not private headers from older
30268 * INSTALL: Regenerated.
30269 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
30271 * sysdeps/unix/sysv/linux/configure: Regenerated.
30273 * manual/llio.texi (fclean): Remove documentation.
30275 * manual/Makefile (libc-texi-generated): New variable. Include
30277 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
30278 $(libc-texi-generated), not duplicated list of files.
30279 (version.texi, stamp-version): New rules.
30280 (realclean): Remove $(libc-texi-generated), not individual files
30281 from that list. Do not remove dir-add.texinfo.
30282 * manual/libc.texinfo: Comment out uses of edition numbers and
30283 references to printed manual. Remove last-updated dates.
30284 (EDITION): Comment out.
30286 (VERSION, UPDATED): Remove.
30287 (version.texi): Include.
30289 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
30291 * sysdeps/posix/spawni.c: Include <signal.h>.
30292 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
30293 * sysdeps/pthread/aio_fsync.c: Likewise.
30295 2012-02-26 Ulrich Drepper <drepper@gmail.com>
30297 * conform/Makefile (tests): Run only when not cross-compiling and
30298 when fast-check is not defined.
30300 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
30301 * conform/data/limits.h-data: Fixes for POSIX2008.
30302 * conform/run-conformtest.sh: Run all tests.
30303 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
30305 * include/bits/dlfcn.h: Likewise.
30306 * include/langinfo.h: Likewise.
30307 * include/monetary.h: Likewise.
30308 * include/sys/poll.h: Likewise.
30310 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
30312 * posix/spawn.h: Define __need_sigset_t.
30313 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
30314 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
30315 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
30316 to get sigevent_t only.
30317 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
30318 only for __USE_GNU.
30319 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30320 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30321 process_vm_writev only for __USE_GNU.
30322 * termios/termios.h: Declare tcgetsid also for POSIX2008.
30324 * conform/Makefile: For now ignore errors from run-conformtest.
30325 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
30326 POSIX to avoid namespace pollution. Don't prepend headers.
30327 * conform/data/aio.h-data: Fixes for POSIX testing.
30328 * conform/data/fcntl.h-data: Likewise.
30329 * conform/data/glob.h-data: Likewise.
30330 * conform/data/grp.h-data: Likewise.
30331 * conform/data/pthread.h-data: Likewise.
30332 * conform/data/pwd.h-data: Likewise.
30333 * conform/data/signal.h-data: Likewise.
30334 * conform/data/spawn.h-data: Likewise.
30335 * conform/data/stdio.h-data: Likewise.
30336 * conform/data/stdlib.h-data: Likewise.
30337 * conform/data/stropts.h-data: Likewise.
30338 * conform/data/sys/mman.h-data: Likewise.
30339 * conform/data/sys/stat.h-data: Likewise.
30340 * conform/data/sys/types.h-data: Likewise.
30341 * conform/data/sys/wait.h-data: Likewise.
30342 * conform/data/time.h-data: Likewise.
30343 * conform/data/unistd.h-data: Likewise.
30344 * conform/data/utime.h-data: Likewise.
30346 * io/sys/stat.h: fchmod was always in POSIX.
30347 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
30348 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
30349 * rt/aio.h: Define __need_timespec before including <time.h>.
30350 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
30351 struct. Add forward declaration of pthread_attr_t and use it in
30353 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30354 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30355 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
30356 always remove CLK_TCK definition.
30358 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
30360 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
30362 2012-02-25 Ulrich Drepper <drepper@gmail.com>
30364 * conform/run-conformtest.sh: New file.
30365 * conform/Makefile: Run run-conformtest for tests.
30366 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
30369 * conform/data/uchar.h-data: New file.
30370 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
30371 * conform/data/arpa/inet.h-data: Likewise.
30372 * conform/data/assert.h-data: Likewise.
30373 * conform/data/complex.h-data: Likewise.
30374 * conform/data/cpio.h-data: Likewise.
30375 * conform/data/ctype.h-data: Likewise.
30376 * conform/data/dirent.h-data: Likewise.
30377 * conform/data/dlfcn.h-data: Likewise.
30378 * conform/data/errno.h-data: Likewise.
30379 * conform/data/fcntl.h-data: Likewise.
30380 * conform/data/float.h-data: Likewise.
30381 * conform/data/fmtmsg.h-data: Likewise.
30382 * conform/data/fnmatch.h-data: Likewise.
30383 * conform/data/ftw.h-data: Likewise.
30384 * conform/data/glob.h-data: Likewise.
30385 * conform/data/grp.h-data: Likewise.
30386 * conform/data/iconv.h-data: Likewise.
30387 * conform/data/inttypes.h-data: Likewise.
30388 * conform/data/langinfo.h-data: Likewise.
30389 * conform/data/libgen.h-data: Likewise.
30390 * conform/data/limits.h-data: Likewise.
30391 * conform/data/locale.h-data: Likewise.
30392 * conform/data/math.h-data: Likewise.
30393 * conform/data/monetary.h-data: Likewise.
30394 * conform/data/mqueue.h-data: Likewise.
30395 * conform/data/ndbm.h-data: Likewise.
30396 * conform/data/net/if.h-data: Likewise.
30397 * conform/data/netdb.h-data: Likewise.
30398 * conform/data/netinet/in.h-data: Likewise.
30399 * conform/data/nl_types.h-data: Likewise.
30400 * conform/data/poll.h-data: Likewise.
30401 * conform/data/pthread.h-data: Likewise.
30402 * conform/data/pwd.h-data: Likewise.
30403 * conform/data/regex.h-data: Likewise.
30404 * conform/data/sched.h-data: Likewise.
30405 * conform/data/search.h-data: Likewise.
30406 * conform/data/semaphore.h-data: Likewise.
30407 * conform/data/setjmp.h-data: Likewise.
30408 * conform/data/signal.h-data: Likewise.
30409 * conform/data/spawn.h-data: Likewise.
30410 * conform/data/stdarg.h-data: Likewise.
30411 * conform/data/stdio.h-data: Likewise.
30412 * conform/data/stdlib.h-data: Likewise.
30413 * conform/data/string.h-data: Likewise.
30414 * conform/data/strings.h-data: Likewise.
30415 * conform/data/stropts.h-data: Likewise.
30416 * conform/data/sys/ipc.h-data: Likewise.
30417 * conform/data/sys/mman.h-data: Likewise.
30418 * conform/data/sys/msg.h-data: Likewise.
30419 * conform/data/sys/resource.h-data: Likewise.
30420 * conform/data/sys/select.h-data: Likewise.
30421 * conform/data/sys/sem.h-data: Likewise.
30422 * conform/data/sys/shm.h-data: Likewise.
30423 * conform/data/sys/socket.h-data: Likewise.
30424 * conform/data/sys/stat.h-data: Likewise.
30425 * conform/data/sys/statvfs.h-data: Likewise.
30426 * conform/data/sys/time.h-data: Likewise.
30427 * conform/data/sys/timeb.h-data: Likewise.
30428 * conform/data/sys/times.h-data: Likewise.
30429 * conform/data/sys/types.h-data: Likewise.
30430 * conform/data/sys/uio.h-data: Likewise.
30431 * conform/data/sys/un.h-data: Likewise.
30432 * conform/data/sys/utsname.h-data: Likewise.
30433 * conform/data/sys/wait.h-data: Likewise.
30434 * conform/data/syslog.h-data: Likewise.
30435 * conform/data/tar.h-data: Likewise.
30436 * conform/data/termios.h-data: Likewise.
30437 * conform/data/utime.h-data: Likewise.
30438 * conform/data/utmpx.h-data: Likewise.
30439 * conform/data/varargs.h-data: Likewise.
30440 * conform/data/wchar.h-data: Likewise.
30441 * conform/data/wctype.h-data: Likewise.
30442 * conform/data/wordexp.h-data: Likewise.
30444 * include/stropts.h: New file.
30445 * include/uchar.h: New file.
30446 * include/aio.h: Changes to allow conformtest.pl to use the headers.
30447 * include/assert.h: Likewise.
30448 * include/ctype.h: Likewise.
30449 * include/dirent.h: Likewise.
30450 * include/dlfcn.h: Likewise.
30451 * include/fcntl.h: Likewise.
30452 * include/fnmatch.h: Likewise.
30453 * include/glob.h: Likewise.
30454 * include/grp.h: Likewise.
30455 * include/libio.h: Likewise.
30456 * include/locale.h: Likewise.
30457 * include/math.h: Likewise.
30458 * include/net/if.h: Likewise.
30459 * include/netdb.h: Likewise.
30460 * include/netinet/in.h: Likewise.
30461 * include/pthread.h: Likewise.
30462 * include/pwd.h: Likewise.
30463 * include/regex.h: Likewise.
30464 * include/sched.h: Likewise.
30465 * include/search.h: Likewise.
30466 * include/setjmp.h: Likewise.
30467 * include/signal.h: Likewise.
30468 * include/stdio.h: Likewise.
30469 * include/stdlib.h: Likewise.
30470 * include/string.h: Likewise.
30471 * include/sys/cdefs.h: Likewise.
30472 * include/sys/mman.h: Likewise.
30473 * include/sys/msg.h: Likewise.
30474 * include/sys/resource.h: Likewise.
30475 * include/sys/select.h: Likewise.
30476 * include/sys/socket.h: Likewise.
30477 * include/sys/stat.h: Likewise.
30478 * include/sys/statvfs.h: Likewise.
30479 * include/sys/time.h: Likewise.
30480 * include/sys/times.h: Likewise.
30481 * include/sys/uio.h: Likewise.
30482 * include/sys/utsname.h: Likewise.
30483 * include/sys/wait.h: Likewise.
30484 * include/termios.h: Likewise.
30485 * include/time.h: Likewise.
30486 * include/ulimit.h: Likewise.
30487 * include/unistd.h: Likewise.
30488 * include/utime.h: Likewise.
30489 * include/wchar.h: Likewise.
30490 * include/wctype.h: Likewise.
30491 * include/wordexp.h: Likewise.
30493 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
30495 * time/time.h: TIME_UTC must be a macro.
30496 Make timespec_get available for ISO C11 only as well.
30498 2012-02-24 Ulrich Drepper <drepper@gmail.com>
30500 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
30501 Reported by Peng Haitao <penght@cn.fujitsu.com>.
30503 2012-02-24 Joseph Myers <joseph@codesourcery.com>
30505 * configure.in: Use -o not -a in test for unsupported multi-arch.
30507 2012-02-24 Joseph Myers <joseph@codesourcery.com>
30509 * manual/texinfo.tex: Update to version 2012-01-19.16.
30511 2012-02-24 Joseph Myers <joseph@codesourcery.com>
30513 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
30515 2012-02-24 Roland McGrath <roland@hack.frob.com>
30518 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
30519 * manual/fdl-1.3.texi: New file.
30520 * manual/fdl-1.1.texi: File removed.
30523 * manual/libc.texinfo (FDL_VERSION): New @set.
30524 Use it for mention of FDL in cover text.
30525 (Documentation License): Use it in @include file name.
30527 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30528 Roland McGrath <roland@hack.frob.com>
30531 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
30532 not LONG_LONG_MAX and LONG_LONG_MIN.
30533 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
30534 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
30536 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
30538 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30542 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
30543 manipulate bits before adding and subtracting TWO23[sx].
30544 * math/libm-test.inc (nearbyint_test): Add more tests.
30546 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30549 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
30550 bits before adding and subtracting TWO23[sx].
30551 * math/libm-test.inc (rint_test): Add more tests.
30552 (rint_test_tonearest): Likewise.
30553 (rint_test_towardzero): Likewise.
30554 (rint_test_downward): Likewise.
30555 (rint_test_upward: Likewise.
30557 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30560 * include/stdc-predef.h: New file. Extracted from features.h.
30561 * include/features.h: Include stdc-predef.h.
30562 * Makefile (headers): Add stdc-predef.h.
30563 * CONFORMANCE (Compiler limitations): Update.
30565 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30567 * manual/libc.texinfo (VERSION, UPDATED): Revert.
30569 2012-02-21 David S. Miller <davem@davemloft.net>
30571 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
30572 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30574 2012-02-20 David S. Miller <davem@davemloft.net>
30576 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
30577 using a normal save/restore sequence, rather than allocating a
30578 dummy stack frame just to store a frame pointer and restore.
30579 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30581 2012-02-21 Joseph Myers <joseph@codesourcery.com>
30583 * manual/install.texi: Fix stray word in line-wrapped comment.
30585 2012-02-20 David S. Miller <davem@davemloft.net>
30587 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
30588 both binutils and gcc support GOTDATA.
30590 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
30591 "rd %pc" in the PIC register setup sequences.
30593 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
30594 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30595 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30596 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
30597 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30598 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30599 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30600 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30601 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
30602 (SYSCALL_ERROR_HANDLER): Likewise.
30603 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30604 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30605 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
30606 (SYSCALL_ERROR_HANDLER): Likewise.
30608 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
30609 (HAVE_GCC_GOTDATA): New.
30610 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
30611 relocation support in both binutils and gcc.
30612 * sysdeps/sparc/elf/configure: Regenerate.
30614 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
30615 * sysdeps/sparc/sparc32/elf/configure: Delete.
30616 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
30617 * sysdeps/sparc/sparc64/elf/configure: Delete.
30618 * sysdeps/sparc/elf/configure.in: New file.
30619 * sysdeps/sparc/elf/configure: Generate.
30621 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
30622 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
30623 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30624 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
30625 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
30627 2012-02-21 Joseph Myers <joseph@codesourcery.com>
30629 * manual/install.texi: Do not mention specific glibc version
30631 * manual/libc.texinfo (VERSION, UPDATED): Update.
30632 (@copying): Use @copyright{} and range of years.
30634 2012-02-21 Joseph Myers <joseph@codesourcery.com>
30637 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
30638 [crti.S not in sysdirs] (generated): Do not append.
30639 [crti.S not in sysdirs] (omit-deps): Likewise.
30640 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
30641 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
30642 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
30643 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
30644 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
30646 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
30647 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
30648 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
30649 * csu/defs.awk: Remove file.
30650 * sysdeps/generic/initfini.c: Likewise.
30651 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
30653 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
30656 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30658 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
30659 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
30660 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
30661 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
30662 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30663 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
30665 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
30666 (__EPOLL_PACKED): Define to empty if not defined by
30668 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
30669 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30672 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30674 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
30675 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
30676 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
30677 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
30679 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
30680 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30683 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30685 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
30687 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30688 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30689 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
30690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30692 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
30694 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30695 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30697 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
30699 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
30700 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
30702 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
30704 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
30707 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
30709 * math/w_acos.c: Use non-signaling floating-point comparisons.
30710 * math/w_acosf.c: Likewise.
30711 * math/w_acosh.c: Likewise.
30712 * math/w_acoshf.c: Likewise.
30713 * math/w_acoshl.c: Likewise.
30714 * math/w_acosl.c: Likewise.
30715 * math/w_asin.c: Likewise.
30716 * math/w_asinf.c: Likewise.
30717 * math/w_asinl.c: Likewise.
30718 * math/w_atanh.c: Likewise.
30719 * math/w_atanhf.c: Likewise.
30720 * math/w_atanhl.c: Likewise.
30721 * math/w_exp2.c: Likewise.
30722 * math/w_exp2f.c: Likewise.
30723 * math/w_exp2l.c: Likewise.
30724 * math/w_j0.c: Likewise.
30725 * math/w_j0f.c: Likewise.
30726 * math/w_j0l.c: Likewise.
30727 * math/w_j1.c: Likewise.
30728 * math/w_j1f.c: Likewise.
30729 * math/w_j1l.c: Likewise.
30730 * math/w_jn.c: Likewise.
30731 * math/w_jnf.c: Likewise.
30732 * math/w_log.c: Likewise.
30733 * math/w_log10.c: Likewise.
30734 * math/w_log10f.c: Likewise.
30735 * math/w_log10l.c: Likewise.
30736 * math/w_log2.c: Likewise.
30737 * math/w_log2f.c: Likewise.
30738 * math/w_log2l.c: Likewise.
30739 * math/w_logf.c: Likewise.
30740 * math/w_logl.c: Likewise.
30741 * math/w_sqrt.c: Likewise.
30742 * math/w_sqrtf.c: Likewise.
30743 * math/w_sqrtl.c: Likewise.
30744 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30745 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30746 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30747 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30748 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30750 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30753 * manual/string.texi (strnlen): Use correct parameter name in
30754 equivalent expression.
30756 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30759 * manual/users.texi (seteuid): Consistently use neweuid for
30762 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30765 * manual/nss.texi (Services in the NSS configuration): Correct
30766 list of services in example configuration file.
30768 2012-02-19 Nick Bowler <nbowler@draconx.ca>
30771 * manual/arith.texi: Remove statements about negative zero
30772 behaving identically to zero.
30774 2012-02-18 Joseph Myers <joseph@codesourcery.com>
30777 * manual/install.texi: Do not document upgrading from libc5.
30779 2012-02-18 Joseph Myers <joseph@codesourcery.com>
30782 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30784 2012-02-18 David S. Miller <davem@davemloft.net>
30786 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30787 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30788 %o7 across the call.
30789 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30791 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30792 SETUP_PIC_REG_LEAF.
30793 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30794 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30795 * sysdeps/sparc/crtn.S: Likewise.
30797 2012-02-17 Ulrich Drepper <drepper@gmail.com>
30799 * aout/Makefile: Remove.
30801 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
30804 * manual/examples/argp-ex1.c (main): Format definition in GNU
30806 * manual/examples/argp-ex2.c (main): Likewise.
30807 * manual/examples/argp-ex3.c (main): Likewise.
30808 * manual/examples/argp-ex4.c (main): Likewise.
30809 * manual/examples/longopt.c (main): Use new-style prototype
30811 * manual/examples/strncat.c (main): Specify return type and use
30812 (void) for arguments.
30813 * manual/examples/subopt.c (main): Use char **argv argument.
30815 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30818 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30821 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
30824 * manual/string.texi (strchr): Change when strchrnul is
30827 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
30830 * manual/locale.texi (setlocale): Document LOCPATH.
30832 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30835 * manual/process.texi (execle): Move @dots{} before last argument.
30837 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
30840 * manual/charset.texi (Generic Charset Conversion): Fix typo
30841 (LC_TYPE -> LC_CTYPE).
30843 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
30846 * manual/arith.texi (scalbn): Use @var{} on parameter names.
30847 (scalbnf): Likewise.
30848 (scalbnl): Likewise.
30849 (scalbln): Likewise.
30850 (scalblnf): Likewise.
30851 (scalblnl): Likewise.
30852 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30853 (vwarnx): Likewise.
30856 * manual/filesys.texi (telldir): Use braces around return type.
30857 * manual/llio.texi (mmap): Add space after comma.
30858 (mmap64): Likewise.
30859 * manual/math.texi (jn): Use @var{} on parameter names.
30865 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30867 * manual/resource.texi (ulimit): Use @dots{} instead of literal
30869 (sched_get_priority_min): Remove semicolon on @deftypefun line.
30870 (sched_get_priority_max): Likewise.
30871 * manual/signal.texi (sigvec): Add space after comma.
30872 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30874 (if_indextoname): Likewise.
30875 (if_freenameindex): Likewise.
30876 (sendto): Use ',' instead of '.' in prototype.
30877 * manual/startup.texi (syscall): Use @dots{} instead of literal
30879 * manual/stdio.texi (__fpending): Separate initial words of
30880 paragraph from @deftypefun line.
30881 * manual/syslog.texi (syslog): Use @dots{} instead of literal
30883 (vsyslog): Use @var{} on parameter names.
30884 * manual/terminal.texi (stty): Use @var{} on parameter names.
30885 * manual/users.texi (getutmp): Use @var{} on parameter names.
30886 (getutmpx): Likewise.
30888 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30891 * manual/stdio.texi (fopen): Fix typos in description of
30894 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
30897 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30898 get clock_id definition.
30900 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
30903 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30904 (madvise): Cast every argument to void on its own.
30906 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30909 * manual/startup.texi (Exit Status): Fix typo.
30911 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30914 * manual/examples/argp-ex1.c: Include <stdlib.h>.
30915 * manual/examples/argp-ex2.c: Likewise.
30916 * manual/examples/argp-ex3.c: Likewise.
30918 2012-02-16 Richard Henderson <rth@redhat.com>
30920 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30921 * sysdeps/s390/s390-32/initfini.c: Remove.
30922 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30923 * sysdeps/s390/s390-64/initfini.c: Remove.
30925 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30927 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30928 compiler output for sysdeps/generic/initfini.c.
30929 * sysdeps/sh/elf/initfini.c: Remove file.
30931 2012-02-16 David S. Miller <davem@davemloft.net>
30934 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30936 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30937 * sysdeps/sparc/crti.S: New file.
30938 * sysdeps/sparc/crtn.S: New file.
30939 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30940 * sysdeps/sparc/sparc64/Makefile: Likewise.
30942 2012-02-15 Mike Frysinger <vapier@gentoo.org>
30945 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30947 2012-02-15 Roland McGrath <roland@hack.frob.com>
30950 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30952 * mach/devstream.c (cookie_io_functions_t): Macro removed.
30953 (write, read, close): Likewise.
30954 Patch by Aurelien Jarno <aurelien@aurel32.net>.
30956 2012-02-15 Joseph Myers <joseph@codesourcery.com>
30958 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30959 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30960 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30961 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30963 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30964 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30967 2012-02-14 Marek Polacek <polacek@redhat.com>
30969 * sysdeps/x86_64/crti.S: New file.
30970 * sysdeps/x86_64/crtn.S: New file.
30971 * sysdeps/x86_64/elf/initfini.c: Remove file.
30973 2012-02-13 Joseph Myers <joseph@codesourcery.com>
30975 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30976 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30977 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30978 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30980 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30981 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30984 2012-02-13 Joseph Myers <joseph@codesourcery.com>
30986 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30987 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30988 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30989 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30991 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30992 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30995 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
30997 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30998 __feraiseexcept instead of feraiseexcept.
31000 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
31001 nanosleep invocations.
31002 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
31003 strings, and add error checking for a nanosleep invocations.
31005 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
31007 Replace FSF snail mail address with URLs, as per GNU coding standards.
31008 Most of the snail mail addresses were wrong anyway, and omitting
31009 them makes the source code easier to maintain. Almost all of the
31010 changes are to license notices and to locale LC_IDENTIFICATION
31011 addresses, except for this one:
31012 * manual/libc.texinfo: In "Published by", give the FSF's URL,
31013 not its snail mail address.
31015 2012-02-09 Richard Henderson <rth@twiddle.net>
31017 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
31018 of kernel-features.h.
31020 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
31022 2012-02-08 Marek Polacek <polacek@redhat.com>
31024 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
31025 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
31026 * sysdeps/gnu/_G_config.h: Likewise.
31027 * sysdeps/generic/_G_config.h: Likewise.
31029 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
31031 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
31033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31035 * sysdeps/powerpc/powerpc32/crti.S: New file.
31036 * sysdeps/powerpc/powerpc32/crtn.S: New file.
31037 * sysdeps/powerpc/powerpc64/crti.S: New file.
31038 * sysdeps/powerpc/powerpc64/crtn.S: New file.
31040 * Makeconfig (have-initfini): Don't set.
31041 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
31042 * configure.in (nopic_initfini): Don't substitute.
31043 * config.h.in (HAVE_INITFINI): Don't #undef.
31044 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
31045 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
31047 2012-02-08 Joseph Myers <joseph@codesourcery.com>
31049 Support crti.S and crtn.S provided directly by architectures.
31050 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
31051 [crti.S in sysdirs] (omit-deps): Likewise.
31052 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
31053 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
31054 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
31055 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
31056 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
31057 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
31058 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
31059 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
31060 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
31061 compiler output for sysdeps/generic/initfini.c.
31062 * sysdeps/i386/elf/Makefile: Remove file.
31063 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
31065 2012-02-07 Marek Polacek <polacek@redhat.com>
31067 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
31068 * sysdeps/gnu/_G_config.h: Likewise.
31069 * sysdeps/mach/hurd/_G_config.h: Likewise.
31071 2012-02-07 Marek Polacek <polacek@redhat.com>
31073 * math/Makefile (tests): Add tst-CMPLX2.
31074 * math/tst-CMPLX2.c: New file.
31076 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
31078 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31080 * math/libm-test.inc (jn_test): Add missing L suffix.
31082 2012-02-06 Marek Polacek <polacek@redhat.com>
31084 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
31085 * sysdeps/i386/fpu/e_powf.S: Likewise.
31086 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31087 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
31088 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31089 * sysdeps/i386/fpu/e_pow.S: Likewise.
31090 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31091 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31092 * sysdeps/i386/fpu/s_expm1.S: Likewise.
31093 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31094 * sysdeps/i386/fpu/e_log2.S: Likewise.
31095 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31096 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31097 * sysdeps/i386/fpu/e_powl.S: Likewise.
31098 * sysdeps/i386/fpu/s_log1p.S: Likewise.
31099 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31100 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31101 * sysdeps/i386/fpu/e_logl.S: Likewise.
31102 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31103 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
31104 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31105 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31106 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31107 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31108 * sysdeps/i386/fpu/e_log.S: Likewise.
31109 * sysdeps/i386/fpu/s_cexp.S: Likewise.
31110 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31111 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
31112 * sysdeps/i386/fpu/e_logf.S: Likewise.
31113 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31114 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31115 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
31116 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31117 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
31118 * sysdeps/i386/fpu/e_log10.S: Likewise.
31119 * sysdeps/i386/fpu/s_frexp.S: Likewise.
31120 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31121 * sysdeps/i386/fpu/s_asinh.S: Likewise.
31122 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31123 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31124 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31125 * sysdeps/i386/asm-syntax.h: Likewise.
31126 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31127 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31128 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31129 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
31130 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
31131 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31132 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31133 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31134 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31135 * sysdeps/powerpc/sysdep.h: Likewise.
31136 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
31137 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31139 2012-02-06 Joseph Myers <joseph@codesourcery.com>
31142 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
31144 2012-02-06 Joseph Myers <joseph@codesourcery.com>
31146 * sysdeps/i386/sysdep.h: Include <features.h>.
31147 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
31150 2012-02-05 Joseph Myers <joseph@codesourcery.com>
31152 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
31154 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
31157 2012-02-03 Joseph Myers <joseph@codesourcery.com>
31159 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
31160 (SETUP_PIC_REG): Use GET_PC_THUNK.
31161 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
31164 2012-02-03 Joseph Myers <joseph@codesourcery.com>
31166 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
31167 for non-PIC compilation.
31168 (SETUP_PIC_REG): Add .p2align directive.
31169 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
31170 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
31171 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31172 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31173 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31174 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31175 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
31176 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31177 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31178 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31179 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31180 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31181 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31182 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31183 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31184 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31185 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31186 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31187 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31188 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31189 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31190 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31191 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31192 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31193 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31194 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31195 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31196 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31197 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31198 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31199 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31200 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31201 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31202 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31203 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31204 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31205 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31206 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31207 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31208 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31209 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31211 2012-02-03 Joseph Myers <joseph@codesourcery.com>
31213 * math/tst-CMPLX.c: Include <stdio.h>.
31215 2012-01-31 Joseph Myers <joseph@codesourcery.com>
31217 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
31219 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31220 * sysdeps/sparc/bits/mathdef.h: Likewise.
31222 2012-01-31 Marek Polacek <polacek@redhat.com>
31224 * libio/libio.h: Don't define _PARAMS.
31225 * locale/programs/config.h: Don't define PARAMS.
31226 * stdlib/strtol_l.c: Likewise.
31227 (__strtol_l): Remove PARAMS from the prototype.
31229 2012-01-31 Ulrich Drepper <drepper@gmail.com>
31231 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
31232 names. Just use the correct names. Remove unnecessary wrapper
31234 * malloc/arena.c: Likewise.
31235 * malloc/hooks.c: Likewise.
31237 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
31238 ARENA_TEST says not to. Simplify test for creation of a new arena.
31239 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
31241 2012-01-30 Ulrich Drepper <drepper@gmail.com>
31243 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
31245 (update_get_addr): New function.
31246 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
31247 GET_ADDR_MODULE parameter.
31249 2012-01-30 Joseph Myers <joseph@codesourcery.com>
31251 * crypt/cert.c: Remove __STDC__ conditionals.
31252 * crypt/crypt-entry.c: Likewise.
31253 * crypt/crypt_util.c: Likewise.
31254 * libio/filedoalloc.c: Likewise.
31255 * libio/fileops.c: Likewise.
31256 * libio/genops.c: Likewise.
31257 * libio/iofclose.c: Likewise.
31258 * libio/iofdopen.c: Likewise.
31259 * libio/iofopen.c: Likewise.
31260 * libio/iofopen64.c: Likewise.
31261 * libio/iogetdelim.c: Likewise.
31262 * libio/iopopen.c: Likewise.
31263 * libio/obprintf.c: Likewise.
31264 * libio/oldfileops.c: Likewise.
31265 * libio/oldiofclose.c: Likewise.
31266 * libio/oldiofdopen.c: Likewise.
31267 * libio/oldiofopen.c: Likewise.
31268 * libio/oldiopopen.c: Likewise.
31269 * libio/wfiledoalloc.c: Likewise.
31270 * libio/wgenops.c: Likewise.
31271 * locale/programs/xmalloc.c: Likewise.
31272 * misc/syslog.c: Likewise.
31273 * stdio-common/xbug.c: Likewise.
31274 * string/memchr.c: Likewise.
31275 * string/memcmp.c: Likewise.
31276 * string/memrchr.c: Likewise.
31277 * string/rawmemchr.c: Likewise.
31278 * sysdeps/posix/getcwd.c: Likewise.
31279 * time/strftime_l.c: Likewise.
31281 2012-01-30 Joseph Myers <joseph@codesourcery.com>
31283 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
31284 * config.make.in (config-cflags-sse2avx): Define.
31285 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
31288 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
31290 * scripts/config.guess: Update from upstream config git repository.
31291 * scripts/config.sub: Likewise.
31293 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
31295 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
31297 (R_TILEPRO_*, R_TILEGX_*): New macros.
31299 * scripts/firstversions.awk: Fix bug in version range handling.
31301 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
31303 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
31305 * include/sys/epoll.h: New file.
31306 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
31309 2012-01-28 Ulrich Drepper <drepper@gmail.com>
31311 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
31312 Avoid unnecessary __WORDSIZE == 64 test.
31313 (fmaxf): Use VEX format if possible.
31318 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
31319 * math/math_private.h: Remove libc_fegetround* and
31321 * sysdeps/i386/configure.in: Check for -msse2avx.
31322 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
31323 also if SSE2AVX is defined.
31324 Remove libc_fegetround* and libc_fesetround*.
31325 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
31326 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
31327 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
31329 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31330 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31331 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31332 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31333 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31335 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
31337 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31339 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
31341 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31343 2012-01-27 Ulrich Drepper <drepper@gmail.com>
31346 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
31348 * Makeconfig (libm): Define.
31349 * elf/Makefile: Add rules to build and run tst-relsort1.
31350 * elf/tst-relsort1.c: New file.
31351 * elf/tst-relsort1mod1.c: New file.
31352 * elf/tst-relsort1mod2.c: New file.
31354 2012-01-27 Joseph Myers <joseph@codesourcery.com>
31356 * math/s_ldexp.c: Remove __STDC__ conditionals.
31357 * math/s_ldexpf.c: Likewise.
31358 * math/s_ldexpl.c: Likewise.
31359 * math/s_nextafter.c: Likewise.
31360 * math/s_nexttowardf.c: Likewise.
31361 * math/s_significand.c: Likewise.
31362 * math/s_significandf.c: Likewise.
31363 * math/s_significandl.c: Likewise.
31364 * math/w_jnl.c: Likewise.
31365 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
31366 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
31367 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
31368 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
31369 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
31370 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31371 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
31372 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31373 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31374 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31375 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31376 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31377 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31378 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
31379 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31380 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31381 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31382 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31383 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31384 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31385 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31386 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31387 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31388 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31389 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31390 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31391 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31392 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31393 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
31394 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31395 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31396 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
31397 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31398 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
31399 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
31400 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31401 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
31402 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
31403 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
31404 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
31405 * sysdeps/ieee754/k_standard.c: Likewise.
31406 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31407 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31408 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
31409 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
31410 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
31411 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
31412 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31413 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
31414 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
31415 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
31416 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
31417 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
31418 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
31419 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
31420 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
31421 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
31422 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
31423 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31424 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31425 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
31426 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31427 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31428 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
31429 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
31430 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31431 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31432 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31433 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31434 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31435 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
31436 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
31437 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
31438 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31439 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
31440 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
31441 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
31442 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
31443 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31444 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
31445 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
31446 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
31447 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
31448 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
31449 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
31450 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
31451 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31452 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31453 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31454 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
31455 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
31456 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
31457 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31458 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31459 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
31460 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
31461 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
31462 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
31463 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31464 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31465 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31466 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31467 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
31468 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
31469 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31470 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31471 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31472 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31473 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
31474 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
31475 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31476 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31477 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31478 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31479 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
31480 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
31481 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31482 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
31483 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
31484 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
31485 * sysdeps/ieee754/s_matherr.c: Likewise.
31486 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
31487 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31488 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31489 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31491 2012-01-26 Joseph Myers <joseph@codesourcery.com>
31493 * crypt/md5.h: Remove __STDC__ conditionals.
31494 * libio/libioP.h: Likewise.
31495 * locale/programs/config.h: Likewise.
31496 * sysdeps/generic/sysdep.h: Likewise.
31497 * sysdeps/i386/asm-syntax.h: Likewise.
31498 * sysdeps/s390/asm-syntax.h: Likewise.
31499 * sysdeps/unix/sysdep.h: Likewise.
31500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31503 2012-01-26 Joseph Myers <joseph@codesourcery.com>
31505 * libio/libio.h: Remove __STDC__ conditionals.
31506 * malloc/obstack.h: Likewise.
31507 * math/complex.h: Likewise.
31508 * math/math.h: Likewise.
31509 * sysdeps/generic/_G_config.h: Likewise.
31510 * sysdeps/gnu/_G_config.h: Likewise.
31511 * sysdeps/mach/hurd/_G_config.h: Likewise.
31512 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31513 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31514 * sysdeps/sparc/bits/mathdef.h: Likewise.
31516 2012-01-26 Ulrich Drepper <drepper@gmail.com>
31519 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
31520 Clean up HAS_* macros.
31521 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
31522 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
31524 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
31526 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31527 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31528 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31529 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31530 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31532 2012-01-25 Joseph Myers <joseph@codesourcery.com>
31534 * elf/tst-unique3.cc (gets): Remove declaration.
31535 * elf/tst-unique3lib.cc (gets): Likewise.
31536 * elf/tst-unique3lib2.cc (gets): Likewise.
31537 * elf/tst-unique4.cc (gets): Likewise.
31539 2012-01-24 Ulrich Drepper <drepper@gmail.com>
31541 * include/stdio.h: Add C++ protection. Add gets declarations and
31543 * debug/tst-chk1.c: Don't declare gets here.
31544 * stdio-common/tst-gets.c: Likewise.
31546 2012-01-24 Joseph Myers <joseph@codesourcery.com>
31548 * posix/glob: Remove directory.
31550 2012-01-24 Joseph Myers <joseph@codesourcery.com>
31552 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
31554 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
31556 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
31557 of the non-standard EPFNOSUPPORT.
31559 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
31561 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
31562 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
31563 ANYWHERE set to 1 only on KERN_NO_SPACE error.
31565 2012-01-21 Ulrich Drepper <drepper@gmail.com>
31567 * wcsmbs/uchar.h: Test __STDC_VERSION__.
31569 2012-01-20 Ulrich Drepper <drepper@gmail.com>
31571 * nscd/aicache.c (addhstaiX): Do not cache negative results of
31573 * nscd/grpcache.c (cache_addgr): Likewise.
31574 * nscd/hstcache.c (cache_addhst): Likewise.
31575 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31576 * nscd/pwdcache.c (cache_addpw): Likewise.
31577 * nscd/servicescache.c (cache_addserv): Likewise.
31579 2012-01-16 Ulrich Drepper <drepper@gmail.com>
31581 * malloc/malloc.c: Various cleanups.
31582 * malloc/hooks.c: Likewise.
31584 * stdlib/Makefile (tests): Add bug-fmtmsg1.
31585 * stdlib/bug-fmtmsg1.c: New file.
31587 * stdlib/fmtmsg.c (init): Add missing unlock.
31588 Patch by Peng Haitao <penght@cn.fujitsu.com>.
31590 2012-01-12 Marek Polacek <polacek@redhat.com>
31592 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
31595 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
31597 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
31598 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
31599 macro to ensure uniqueness of label name.
31600 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31601 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31603 2012-01-11 Ulrich Drepper <drepper@gmail.com>
31605 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
31607 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
31608 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
31609 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31610 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
31612 2012-01-10 Ulrich Drepper <drepper@gmail.com>
31614 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
31616 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
31617 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
31618 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31620 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
31622 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
31623 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
31624 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
31625 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
31627 * math/bits/math-finite.h: Add ldexp support.
31629 2012-01-10 Marek Polacek <polacek@redhat.com>
31631 * locale/programs/localedef.h (show_archive_content): Add noreturn
31634 2012-01-09 Ulrich Drepper <drepper@gmail.com>
31636 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
31638 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31640 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
31642 * io/Makefile (headers): Add bits/poll2.h.
31644 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
31646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
31647 typo #include statement.
31649 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31651 * include/sys/cdefs.h: Define __attribute_alloc_size.
31652 * catgets/gencat.c: Add alloc_size attribute and apply consistently
31653 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
31654 * elf/pldd.c: Likewise.
31655 * iconv/iconv_charmap.c: Likewise.
31656 * iconv/iconvconfig.c: Likewise.
31657 * iconv/strtab.c: Likewise.
31658 * locale/programs/locale.c: Likewise.
31659 * locale/programs/localedef.h: Likewise.
31660 * locale/programs/simple-hash.c: Likewise.
31661 * nscd/nscd.h: Likewise.
31662 * nss/makedb.c: Likewise.
31663 * sysdeps/generic/ldconfig.h: Likewise.
31664 * locale/programs/localedef.c: Remove xmalloc prototype.
31665 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
31667 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31669 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
31672 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31674 * math/Makefile (tests): Add tst-CMPLX.
31675 * math/tst-CMPLX.c: New file.
31677 * math/complex.h (CMPLXL): Fix typo.
31679 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
31680 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
31682 * debug/tst-chk1.c: Add poll and ppoll tests.
31683 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
31684 * include/sys/poll.h: Add hidden proto for ppoll.
31685 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
31686 * sysdeps/mach/hurd/ppoll.c: Likewise.
31687 * io/ppoll.c: Likewise.
31688 * debug/poll_chk.c: New file.
31689 * debug/ppoll_chk.c: New file.
31690 * include/bits/poll2.h: New file.
31691 * io/bits/poll2.h: New file.
31694 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
31696 * configure.in: static is always set to yes. Remove.
31697 * config.make.in: Don't set build-static.
31698 * Makeconfig: Remove use of build-static.
31699 * dlfcn/Makefile: Likewise.
31700 * elf/Makefile: Likewise.
31701 * math/Makefile: Likewise.
31702 * misc/Makefile: Likewise.
31703 * nptl/Makefile: Likewise.
31704 * sysdeps/mach/hurd/Makefile: Likewise.
31706 * configure.in: PWD_P is not used anymore.
31707 * config.make.in: Remove PWD_P entry.
31709 * configure.in: Remove last remnants of RANLIB.
31710 No need to check for signed size_t anymore.
31711 Don't set libc_commonpagesize and libc_relro_required here for Alpha
31713 Remove __builtin_expect test because we require at least gcc 3.4.
31714 * aclocal.m4: Likewise.
31716 * wcsmbs/mbrtoc16.c: Implement using towc function.
31717 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
31718 * wcsmbs/wcsmbsload.c: Likewise.
31719 * iconv/gconv_simple.c: Likewise.
31720 * iconv/gconv_int.h: Likewise.
31721 * iconv/gconv_builtin.h: Likewise.
31722 * iconv/iconv_prog.c: Remove CHAR16 handling.
31724 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
31726 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
31728 * configure.in: Remove --with-elf and --enable-bounded options.
31729 Dont set base_machine for ia64. More non-ELF conditions removed.
31730 Remove testing and setting of leading underscore information.
31731 * config.make.in (build-bounded): Set to no.
31732 * config.h.in: Remove NO_UNDERSCORES entry.
31733 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
31735 * csu/start.c: Remove !NO_UNDERSCORE code.
31736 * locale/localeinfo.h: Likewise.
31737 * sysdeps/generic/machine-gmon.h: Likewise.
31738 * sysdeps/generic/sysdep.h: Likewise.
31739 * sysdeps/i386/sysdep.h: Likewise.
31740 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31741 * sysdeps/mach/sysdep.h: Likewise.
31742 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31743 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31744 * sysdeps/sh/sysdep.h: Likewise.
31745 * sysdeps/sparc/sparc32/alloca.S: Likewise.
31746 * sysdeps/unix/i386/sysdep.S: Likewise.
31747 * sysdeps/unix/sparc/start.c: Likewise.
31748 * sysdeps/unix/sparc/sysdep.S: Likewise.
31749 * sysdeps/unix/sparc/sysdep.h: Likewise.
31750 * sysdeps/unix/start.c: Likewise.
31751 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31752 * sysdeps/x86_64/sysdep.h: Likewise.
31754 2012-01-07 Ulrich Drepper <drepper@gmail.com>
31757 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
31759 * argp/argp-fmtstream.h: Use const instead __const.
31760 * argp/argp.h: Likewise.
31761 * assert/assert.h: Likewise.
31762 * bits/fenv.h: Likewise.
31763 * bits/sched.h: Likewise.
31764 * bits/sigset.h: Likewise.
31765 * bits/sigthread.h: Likewise.
31766 * catgets/nl_types.h: Likewise.
31767 * conform/data/pthread.h-data: Likewise.
31768 * crypt/crypt-private.h: Likewise.
31769 * crypt/crypt.h: Likewise.
31770 * crypt/crypt_util.c: Likewise.
31771 * ctype/ctype.h: Likewise.
31772 * debug/execinfo.h: Likewise.
31773 * debug/mbsnrtowcs_chk.c: Likewise.
31774 * debug/mbsrtowcs_chk.c: Likewise.
31775 * debug/wcsnrtombs_chk.c: Likewise.
31776 * debug/wcsrtombs_chk.c: Likewise.
31777 * debug/wcstombs_chk.c: Likewise.
31778 * dirent/dirent.h: Likewise.
31779 * dlfcn/dlfcn.h: Likewise.
31780 * elf/neededtest4.c: Likewise.
31781 * grp/grp.h: Likewise.
31782 * gshadow/gshadow.h: Likewise.
31783 * iconv/gconv.h: Likewise.
31784 * iconv/gconv_int.h: Likewise.
31785 * iconv/gconv_simple.c: Likewise.
31786 * iconv/iconv.h: Likewise.
31787 * iconv/loop.c: Likewise.
31788 * iconv/skeleton.c: Likewise.
31789 * include/aio.h: Likewise.
31790 * include/aliases.h: Likewise.
31791 * include/argz.h: Likewise.
31792 * include/arpa/inet.h: Likewise.
31793 * include/assert.h: Likewise.
31794 * include/dirent.h: Likewise.
31795 * include/dlfcn.h: Likewise.
31796 * include/execinfo.h: Likewise.
31797 * include/fcntl.h: Likewise.
31798 * include/fenv.h: Likewise.
31799 * include/glob.h: Likewise.
31800 * include/grp.h: Likewise.
31801 * include/libintl.h: Likewise.
31802 * include/mntent.h: Likewise.
31803 * include/netdb.h: Likewise.
31804 * include/pwd.h: Likewise.
31805 * include/rpc/netdb.h: Likewise.
31806 * include/sched.h: Likewise.
31807 * include/search.h: Likewise.
31808 * include/shadow.h: Likewise.
31809 * include/signal.h: Likewise.
31810 * include/stdio.h: Likewise.
31811 * include/stdlib.h: Likewise.
31812 * include/string.h: Likewise.
31813 * include/sys/socket.h: Likewise.
31814 * include/sys/stat.h: Likewise.
31815 * include/sys/statfs.h: Likewise.
31816 * include/sys/statvfs.h: Likewise.
31817 * include/sys/syslog.h: Likewise.
31818 * include/sys/time.h: Likewise.
31819 * include/sys/uio.h: Likewise.
31820 * include/time.h: Likewise.
31821 * include/unistd.h: Likewise.
31822 * include/utmp.h: Likewise.
31823 * include/wchar.h: Likewise.
31824 * include/wctype.h: Likewise.
31825 * inet/aliases.h: Likewise.
31826 * inet/arpa/inet.h: Likewise.
31827 * inet/netinet/ether.h: Likewise.
31828 * inet/netinet/in.h: Likewise.
31829 * intl/libintl.h: Likewise.
31830 * io/bits/fcntl2.h: Likewise.
31831 * io/fcntl.h: Likewise.
31832 * io/ftw.h: Likewise.
31833 * io/sys/poll.h: Likewise.
31834 * io/sys/stat.h: Likewise.
31835 * io/sys/statfs.h: Likewise.
31836 * io/sys/statvfs.h: Likewise.
31837 * io/utime.h: Likewise.
31838 * libio/bits/stdio.h: Likewise.
31839 * libio/bits/stdio2.h: Likewise.
31840 * libio/libio.h: Likewise.
31841 * libio/libioP.h: Likewise.
31842 * libio/stdio.h: Likewise.
31843 * locale/lc-ctype.c: Likewise.
31844 * locale/locale.h: Likewise.
31845 * login/utmp.h: Likewise.
31846 * malloc/arena.c: Likewise.
31847 * malloc/malloc.c: Likewise.
31848 * malloc/malloc.h: Likewise.
31849 * malloc/mcheck.c: Likewise.
31850 * malloc/mtrace.c: Likewise.
31851 * math/bits/mathcalls.h: Likewise.
31852 * math/fenv.h: Likewise.
31853 * math/math_private.h: Likewise.
31854 * misc/bits/error.h: Likewise.
31855 * misc/bits/syslog.h: Likewise.
31856 * misc/err.h: Likewise.
31857 * misc/error.h: Likewise.
31858 * misc/fstab.h: Likewise.
31859 * misc/mntent.h: Likewise.
31860 * misc/regexp.h: Likewise.
31861 * misc/search.h: Likewise.
31862 * misc/sgtty.h: Likewise.
31863 * misc/sys/mman.h: Likewise.
31864 * misc/sys/syslog.h: Likewise.
31865 * misc/sys/uio.h: Likewise.
31866 * misc/sys/xattr.h: Likewise.
31867 * misc/ttyent.h: Likewise.
31868 * nis/rpcsvc/ypclnt.h: Likewise.
31869 * nss/nss.h: Likewise.
31870 * posix/bits/unistd.h: Likewise.
31871 * posix/fnmatch.h: Likewise.
31872 * posix/glob.h: Likewise.
31873 * posix/sched.h: Likewise.
31874 * posix/spawn.h: Likewise.
31875 * posix/sys/wait.h: Likewise.
31876 * posix/unistd.h: Likewise.
31877 * posix/wordexp.h: Likewise.
31878 * pwd/pwd.h: Likewise.
31879 * resolv/netdb.h: Likewise.
31880 * resource/sys/resource.h: Likewise.
31881 * rt/aio.h: Likewise.
31882 * rt/bits/mqueue2.h: Likewise.
31883 * rt/mqueue.h: Likewise.
31884 * shadow/shadow.h: Likewise.
31885 * signal/signal.h: Likewise.
31886 * socket/send.c: Likewise.
31887 * socket/sendto.c: Likewise.
31888 * socket/sys/socket.h: Likewise.
31889 * stdio-common/printf.h: Likewise.
31890 * stdlib/bits/stdlib.h: Likewise.
31891 * stdlib/fmtmsg.h: Likewise.
31892 * stdlib/monetary.h: Likewise.
31893 * stdlib/stdlib.h: Likewise.
31894 * stdlib/ucontext.h: Likewise.
31895 * streams/stropts.h: Likewise.
31896 * string/argz.h: Likewise.
31897 * string/bits/string2.h: Likewise.
31898 * string/string.h: Likewise.
31899 * string/strings.h: Likewise.
31900 * sunrpc/rpc/auth.h: Likewise.
31901 * sunrpc/rpc/auth_des.h: Likewise.
31902 * sunrpc/rpc/clnt.h: Likewise.
31903 * sunrpc/rpc/netdb.h: Likewise.
31904 * sunrpc/rpc/pmap_clnt.h: Likewise.
31905 * sunrpc/rpc/xdr.h: Likewise.
31906 * sysdeps/generic/inttypes.h: Likewise.
31907 * sysdeps/generic/net/if.h: Likewise.
31908 * sysdeps/generic/sys/swap.h: Likewise.
31909 * sysdeps/gnu/net/if.h: Likewise.
31910 * sysdeps/gnu/utmpx.h: Likewise.
31911 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31912 * sysdeps/i386/i486/bits/string.h: Likewise.
31913 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31914 * sysdeps/s390/bits/string.h: Likewise.
31915 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31916 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31917 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31918 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31919 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31920 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31921 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31922 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31923 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31924 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31925 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31926 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31927 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31928 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31929 * sysdeps/unix/sysv/linux/readv.c: Likewise.
31930 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31931 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31932 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31933 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31934 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31935 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31936 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31937 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31938 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31939 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31940 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31941 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31942 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31943 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31944 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31945 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31946 * sysvipc/sys/ipc.h: Likewise.
31947 * sysvipc/sys/msg.h: Likewise.
31948 * sysvipc/sys/sem.h: Likewise.
31949 * sysvipc/sys/shm.h: Likewise.
31950 * termios/termios.h: Likewise.
31951 * time/sys/time.h: Likewise.
31952 * time/time.h: Likewise.
31953 * wcsmbs/bits/wchar2.h: Likewise.
31954 * wcsmbs/uchar.h: Likewise.
31955 * wcsmbs/wchar.h: Likewise.
31956 * wctype/wctype.h: Likewise.
31959 * Makeconfig: Remove all but ELF support including AIX support.
31960 * Makerules: Likewise.
31961 * config.h.in: Likewise.
31962 * config.make.in: Likewise.
31963 * configure: Likewise.
31964 * configure.in: Likewise.
31965 * csu/Makefile: Likewise.
31966 * csu/version.c: Likewise.
31967 * debug/Makefile: Likewise.
31968 * dlfcn/Makefile: Likewise.
31969 * elf/Makefile: Likewise.
31970 * extra-lib.mk: Likewise.
31971 * iconv/Makefile: Likewise.
31972 * include/libc-symbols.h: Likewise.
31973 * include/shlib-compat.h: Likewise.
31974 * resolv/Makefile: Likewise.
31975 * resolv/res_libc.c: Likewise.
31976 * rt/Makefile: Likewise.
31977 * sysdeps/i386/asm-syntax.h: Likewise.
31978 * sysdeps/i386/sysdep.h: Likewise.
31979 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31980 * sysdeps/mach/sysdep.h: Likewise.
31981 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31982 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31983 * sysdeps/s390/asm-syntax.h: Likewise.
31984 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31985 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31986 * sysdeps/sh/sysdep.h: Likewise.
31987 * sysdeps/unix/sparc/sysdep.h: Likewise.
31988 * sysdeps/wordsize-32/divdi3.c: Likewise.
31989 * sysdeps/x86_64/sysdep.h: Likewise.
31991 * argp/Versions: Remove _argp_unlock_xxx.
31994 * abilist/ld.abilist: Update. Adjust for removal of tls option.
31995 * abilist/libBrokenLocale.abilist: Likewise.
31996 * abilist/libanl.abilist: Likewise.
31997 * abilist/libc.abilist: Likewise.
31998 * abilist/libcrypt.abilist: Likewise.
31999 * abilist/libdl.abilist: Likewise.
32000 * abilist/libm.abilist: Likewise.
32001 * abilist/libnsl.abilist: Likewise.
32002 * abilist/libpthread.abilist: Likewise.
32003 * abilist/libresolv.abilist: Likewise.
32004 * abilist/librt.abilist: Likewise.
32005 * abilist/libthread_db.abilist: Likewise.
32006 * abilist/libutil.abilist: Likewise.
32007 * abilist/libnss_db.abilist: New file.
32009 * scripts/abilist.awk: Add support for indirect functions.
32011 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
32013 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
32015 * shlib-versions: Remove entries for ports architectures.
32017 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
32019 * elf/stackguard-macros.h: Remove support for IA-64.
32020 * elf/tst-auditmod1.c: Likewise.
32021 * sysdeps/generic/ldsodefs.h: Likewise.
32023 * sysdeps/unix/sysv/linux/configure.in: Ports should define
32024 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
32028 * configure.in: Remove --enable-omitfp support.
32030 * config.make.in: Likewise.
32031 * Makeconfig: Likewise.
32032 * manual/install.texi: Likewise.
32034 In case anyone cares, the IA-64 architecture could move to ports.
32035 * sysdeps/ia64/*: Removed.
32036 * sysdeps/unix/sysv/linux/ia64/*: Removed.
32037 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
32040 * configure.in: Remove entries for unsupported architectures.
32043 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
32044 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
32046 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
32047 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
32048 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
32049 fall back to using wcrtomb.
32050 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
32051 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
32053 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
32054 * wcsmbs/tst-c16c32-1.c: New file.
32056 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
32059 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
32061 * elf/tst-unique3.cc: Add explicit declaration of gets.
32062 * elf/tst-unique3lib.cc: Likewise.
32063 * elf/tst-unique3lib2.cc: Likewise.
32064 * elf/tst-unique4.cc: Likewise.
32066 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
32068 2012-01-06 Joseph Myers <joseph@codesourcery.com>
32071 * assert/assert.h (static_assert): Don't define for C++.
32072 * libio/stdio.h (gets): Do declare for C++ <= C++11.
32073 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
32075 2012-01-03 Ulrich Drepper <drepper@gmail.com>
32077 * iconv/loop.c (single loop): Fix assertion in storing of
32080 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
32082 2012-01-01 Ulrich Drepper <drepper@gmail.com>
32084 * posix/getconf.c: Update copyright year.
32085 * nss/getent.c: Likewise.
32086 * nss/makedb.c: Likewise.
32087 * iconv/iconvconfig.c: Likewise.
32088 * iconv/iconv_prog.c: Likewise.
32089 * elf/ldconfig.c: Likewise.
32090 * elf/pldd.c: Likewise.
32091 * elf/sotruss.ksh: Likewise.
32092 * catgets/gencat.c: Likewise.
32093 * csu/version.c: Likewise.
32094 * elf/ldd.bash.in: Likewise.
32095 * elf/sprof.c (print_version): Likewise.
32096 * locale/programs/locale.c: Likewise.
32097 * locale/programs/localedef.c: Likewise.
32098 * login/programs/pt_chown.c: Likewise.
32099 * nscd/nscd.c (print_version): Likewise.
32100 * debug/xtrace.sh: Likewise.
32101 * malloc/memusage.sh: Likewise.
32102 * malloc/mtrace.pl: Likewise.
32103 * debug/catchsegv.sh: Likewise.
32105 2011-12-30 Jakub Jelinek <jakub@redhat.com>
32107 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
32110 2011-12-24 Ulrich Drepper <drepper@gmail.com>
32113 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
32114 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
32116 * iconv/gconv_int.h: Likewise.
32117 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
32118 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
32119 from libc for GLIBC_2.16.
32120 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
32121 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
32122 * wcsmbs/uchar.h: Really define mbstate_t.
32123 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
32124 * wcsmbs/c16rtomb.c: New file.
32125 * wcsmbs/mbrtoc16.c: New file.
32126 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
32127 for C/POSIX locale.
32128 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
32129 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
32131 * wcsmbs/wchar.h: Add missing __restrict.
32133 2011-12-23 Ulrich Drepper <drepper@gmail.com>
32136 * time/Makefile (routines): Add timespec_get.
32137 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
32138 * time/time.h: Define TIME_UTC and declare timespec_get. Define
32139 timespec for ISO C11.
32140 * time/timespec_get.c: New file.
32141 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
32142 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
32145 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
32146 * stdlib/stdlib.h: Declare aligned_alloc.
32147 * Versions.def: Add GLIBC_2.16 for libc.
32148 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
32151 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
32154 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
32158 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
32161 * assert/assert.h (static_assert): Define.
32163 * version.h: Update for 2.16 development version.
32166 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
32169 * version.h (RELEASE): Bump for 2.15 release.
32170 * include/features.h (__GLIBC_MINOR__): Bump to 15.
32172 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
32173 Patch by Marek Polacek <mpolacek@redhat.com>.
32175 * bits/byteswap.h: Protect long long constants with __extension__.
32176 * sysdeps/i386/bits/byteswap.h: Likewise.
32177 * sysdeps/ia64/bits/byteswap.h: Likewise.
32178 * sysdeps/s390/bits/byteswap.h: Likewise.
32179 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32181 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32184 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
32185 destination buffer.
32186 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
32188 2011-12-23 Marek Polacek <polacek@redhat.com>
32190 * elf/dl-addr.c (determine_info): Add inline keyword.
32191 * elf/tst-auditmod4b.c (check_avx): Likewise.
32192 * elf/tst-auditmod6b.c (check_avx): Likewise.
32193 * elf/tst-auditmod6c.c (check_avx): Likewise.
32194 * elf/tst-auditmod7b.c (check_avx): Likewise.
32196 2011-12-23 Ulrich Drepper <drepper@gmail.com>
32198 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
32201 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32204 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
32205 processing for last bytes.
32207 2011-08-06 Bruno Haible <bruno@clisp.org>
32210 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
32211 U+0385, not to U+1FEE.
32214 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
32215 entry for U+00A5 U+0301.
32217 2011-12-22 Ulrich Drepper <drepper@gmail.com>
32220 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
32221 buffer for the output is too small.
32223 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
32227 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
32228 SSE flags if possible.
32230 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32233 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
32234 processing for last bytes.
32236 2011-12-22 Joseph Myers <joseph@codesourcery.com>
32238 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
32239 (syscall-list-default-options, syscall-list-default-condition)
32240 (syscall-list-includes): Define.
32241 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
32242 list of ABIs and options and #if conditions for each ABI. Do not
32243 handle common syscalls between ABIs specially.
32244 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
32246 (syscall-list-variants, syscall-list-32bit-options)
32247 (syscall-list-32bit-condition, syscall-list-64bit-options)
32248 (syscall-list-64bit-condition): Define.
32249 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
32250 (syscall-list-variants, syscall-list-32bit-options)
32251 (syscall-list-32bit-condition, syscall-list-64bit-options)
32252 (syscall-list-64bit-condition): Define.
32253 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
32255 (syscall-list-variants, syscall-list-32bit-options)
32256 (syscall-list-32bit-condition, syscall-list-64bit-options)
32257 (syscall-list-64bit-condition): Define.
32258 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
32260 (syscall-list-variants, syscall-list-32bit-options)
32261 (syscall-list-32bit-condition, syscall-list-64bit-options)
32262 (syscall-list-64bit-condition): Define.
32264 2011-12-22 Ulrich Drepper <drepper@gmail.com>
32266 * locale/iso-639.def: Add brx entry.
32269 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
32270 Proposed by Mariusz_Cukr <marcukr@op.pl>.
32272 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
32273 __feraiseexcept_renamed.
32275 2011-12-21 Ulrich Drepper <drepper@gmail.com>
32278 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
32279 EPOLLET with unsigned values.
32280 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32281 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32283 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
32284 to large cancellation.
32285 * math/s_cacoshf.c: Likewise.
32286 * math/s_cacoshl.c: Likewise.
32288 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
32292 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
32293 * math/s_cacoshf.c: Likewise.
32294 * math/s_cacoshl.c: Likewise.
32296 2011-12-21 Ulrich Drepper <drepper@gmail.com>
32299 * iconv/gconv.h: Define __GCONV_SWAP.
32300 * iconvdata/unicode.c: The swap bit must be stored in __flags.
32301 * iconvdata/utf-16.c: Likewise.
32302 * iconvdata/utf-32.c: Likewise.
32304 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
32307 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
32308 numerator after shifting it by one limb.
32310 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
32312 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
32313 under [__USE_EXTERN_INLINES].
32315 2011-12-17 Ulrich Drepper <drepper@gmail.com>
32318 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
32320 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32322 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
32323 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
32325 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
32326 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
32327 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
32328 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
32329 for strncasecmp/strncasecmp_l compilation.
32330 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
32331 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
32333 2011-12-08 Marek Polacek <mpolacek@redhat.com>
32336 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
32339 2011-12-17 Ulrich Drepper <drepper@gmail.com>
32342 * time/tzfile.c (__tzfile_read): Check values from file header.
32344 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
32346 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
32347 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
32348 * powerpc/powerpc32/dl-start.S: Likewise.
32349 * powerpc/powerpc32/elf/start.S: Likewise.
32350 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32351 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
32352 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
32353 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
32354 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32355 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
32356 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
32357 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32358 * powerpc/powerpc32/fpu/s_round.S: Likewise.
32359 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32360 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32361 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32362 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32363 * powerpc/powerpc32/memset.S: Likewise.
32364 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32365 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32366 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32367 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32368 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32369 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32370 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32371 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32372 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
32373 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
32374 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
32375 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32376 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32378 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32380 * math/libm-test.inc: Added more nearbyint tests.
32381 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
32382 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
32383 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
32384 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
32386 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
32388 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
32391 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32393 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
32394 Add wcscpy-ssse3 wcscpy-c.
32395 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
32396 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
32397 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
32398 * sysdeps/x86_64/wcschr.S: New file.
32399 * sysdeps/x86_64/wcsrchr.S: New file.
32400 * string/test-strcmp.c: Remove checking of wcscmp function for
32402 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
32403 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
32404 wcsrchr-sse2 wcsrchr-c.
32405 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
32406 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
32407 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
32408 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
32409 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
32410 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
32411 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
32412 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
32413 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
32414 * wcsmbc/wcschr.c (WCSCHR): New macro.
32416 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32418 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
32419 * wcsmbs/test-wcsrchr.c: New file.
32420 * string/test-strrchr.c: Add wcsrchr support.
32422 * wcsmbs/test-wcscpy.c: New file.
32423 * string/test-strcpy.c: Add wcscpy support.
32426 2011-12-10 Ulrich Drepper <drepper@gmail.com>
32428 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
32431 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
32434 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
32436 2011-12-04 Ulrich Drepper <drepper@gmail.com>
32438 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
32439 Minor optimizations.
32441 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
32442 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
32443 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32445 2011-12-03 Ulrich Drepper <drepper@gmail.com>
32447 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
32448 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
32449 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
32450 for gcc to avoid warnings.
32451 * inet/Makefile (tests): Add tst-checks.
32452 * inet/tst-checks.c: New file.
32454 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
32457 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
32460 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
32461 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
32463 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
32465 2011-12-02 Ulrich Drepper <drepper@gmail.com>
32467 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
32470 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
32472 2011-11-29 Joseph Myers <joseph@codesourcery.com>
32474 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
32475 conditional on GCC version.
32476 (__arch_compare_and_exchange_val_8_acq)
32477 (__arch_compare_and_exchange_val_16_acq)
32478 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
32479 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
32480 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
32482 2011-12-02 Joseph Myers <joseph@codesourcery.com>
32484 * sysdeps/sh/backtrace.c: New file.
32486 2011-12-02 Andreas Schwab <schwab@redhat.com>
32488 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
32491 2011-12-01 Andreas Schwab <schwab@redhat.com>
32493 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
32494 falling back to utime.
32496 2011-11-30 Andreas Schwab <schwab@redhat.com>
32498 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
32499 expectations for float.
32501 2011-11-29 Andreas Schwab <schwab@redhat.com>
32503 * locale/weight.h (findidx): Add parameter len.
32504 * locale/weightwc.h (findidx): Likewise.
32505 * posix/fnmatch_loop.c (FCT): Adjust caller.
32506 * posix/regcomp.c (build_equiv_class): Likewise.
32507 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
32508 * posix/regexec.c (check_node_accept_bytes): Likewise.
32509 * string/strcoll_l.c (STRCOLL): Likewise.
32510 * string/strxfrm_l.c (STRXFRM): Likewise.
32512 2011-11-17 Ulrich Drepper <drepper@gmail.com>
32514 * Makefile.in: Remove CVSOPT handling.
32515 * configure.in: Remove use of AC_REVISION.
32516 * iconvdata/Makefile (distribute): No need to filter out CVS.
32517 * scripts/list-sources.sh: Remove CVS, subversion and monotone
32520 2011-11-16 Andreas Schwab <schwab@redhat.com>
32522 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
32523 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
32524 [USE_AS_STRNCASECMP_L]: Likewise.
32525 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
32526 NO_TLS_DIRECT_SEG_REFS.
32527 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
32528 Fix argument offsets for non-PIC.
32529 [USE_AS_STRNCASECMP_L]: Likewise.
32530 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
32531 NO_TLS_DIRECT_SEG_REFS.
32533 2011-11-15 Ulrich Drepper <drepper@gmail.com>
32535 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
32537 * locale/loadlocale.c (_nl_load_locale): Likewise.
32539 2011-11-15 Andreas Schwab <schwab@redhat.com>
32541 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
32542 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
32543 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
32544 (SYSCALL_GETTIME): Set errno on error.
32546 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
32547 count references to noai6ai_cached.
32549 2011-11-15 Ulrich Drepper <drepper@gmail.com>
32551 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
32553 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
32554 FD_CLOEXEC for /proc/self/maps.
32556 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
32557 FD_CLOEXEC for /proc/meminfo.
32559 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
32562 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
32563 FD_CLOEXEC for given file.
32565 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
32567 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
32568 FD_CLOEXEC for /etc/hosts.
32569 (_gethtent): Likewise.
32571 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
32573 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
32574 cancellation and set FD_CLOEXEC for /etc/netgroup.
32576 * nss/nss_files/files-key.c (search): Don't allow cancellation when
32577 reading /etc/publickey.
32579 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
32580 allow cancellation when reading /etc/group.
32582 * nss/nss_files/files-alias.c (internal_setent): Don't allow
32584 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
32586 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
32587 when using data file.
32589 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
32591 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
32592 (write_nis_obj): Use "c" and "e" in fopen.
32594 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
32596 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
32598 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
32600 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
32602 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
32605 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
32607 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
32609 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
32611 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
32612 file parsing and set FD_CLOEXEC.
32614 2011-11-14 Ulrich Drepper <drepper@gmail.com>
32616 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
32618 2011-11-14 Andreas Schwab <schwab@redhat.com>
32620 * malloc/arena.c (arena_get2): Don't call reused_arena when
32621 _int_new_arena failed.
32623 2011-11-14 Ulrich Drepper <drepper@gmail.com>
32625 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
32626 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
32627 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
32628 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32629 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32630 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
32631 to compile strcasecmp and strncasecmp.
32632 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
32633 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
32635 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
32637 2011-11-13 Ulrich Drepper <drepper@gmail.com>
32639 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
32640 locale-defines.sym to gen-as-const-headers.
32641 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
32642 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
32643 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
32644 to compile strcasecmp and strncasecmp.
32645 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
32646 strcasecmp_l and strncasecmp_l.
32647 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
32648 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
32649 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
32650 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
32651 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
32652 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
32653 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
32654 * sysdeps/i386/i686/multiarch/strncase.S: New file.
32655 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
32656 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
32657 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
32659 2011-11-12 Ulrich Drepper <drepper@gmail.com>
32661 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
32662 result of SYSDEP_GETTIME_CPU to retval.
32663 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
32664 parameter list to macro. Remove trailing semicolon. Adjust users.
32666 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
32669 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
32671 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32673 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
32674 from unused variable.
32676 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
32678 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
32681 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
32684 * sunrpc/rpc_prot.c (rejected): Fix case value.
32686 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
32687 unsigned long long int to avoid warnings in shift.
32689 * posix/regex_internal.c (re_string_reconstruct): Actually use result
32691 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
32694 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
32695 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32696 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32698 * nis/nis_table.c (nis_list): Use variable of correct type for
32699 result of __follow_path call.
32701 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32703 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
32704 of math functions ceil, trunc, floor, round, and sqrt, when
32705 avaliable on the platform.
32706 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
32708 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32709 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32710 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32712 2011-10-30 Marek Polacek <mpolacek@redhat.com>
32714 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
32715 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32717 2011-11-11 Roland McGrath <roland@hack.frob.com>
32719 * include/unistd.h: Fix __readlink return type.
32720 Reported by Chris Metcalf <cmetcalf@tilera.com>.
32722 2011-11-11 Ulrich Drepper <drepper@gmail.com>
32724 * stdlib/ucontext.h: Undo last change for makecontext.
32726 2011-11-11 Andreas Schwab <schwab@redhat.com>
32728 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
32730 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
32731 * setjmp/setjmp.h: Mark functions as non-leaf.
32732 * setjmp/bits/setjmp2.h: Likewise.
32733 * stdlib/ucontext.h: Likewise.
32735 2011-11-10 Andreas Schwab <schwab@redhat.com>
32737 * malloc/arena.c (_int_new_arena): Don't increment narenas.
32738 (reused_arena): Don't check arena limit.
32739 (arena_get2): Atomically check arena limit.
32741 2011-11-08 Ulrich Drepper <drepper@gmail.com>
32743 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
32744 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
32746 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
32749 2011-11-07 Andreas Schwab <schwab@redhat.com>
32751 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
32752 handler when locking.
32754 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32755 Fix size of allocated buffer.
32757 2011-11-04 Andreas Schwab <schwab@redhat.com>
32760 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
32761 declarations for long double functions.
32762 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
32764 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
32766 2011-11-03 Andreas Schwab <schwab@redhat.com>
32768 * nscd/nscd.c (main): Don't start AVC thread until credentials are
32771 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32774 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32776 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32778 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
32780 * include/alloca.h (stackinfo_alloca_round): Define.
32781 (extend_alloca): Use it.
32782 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32783 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32786 * scripts/check-local-headers.sh: Ignore libaudit.h.
32788 * nscd/Makefile (extra-objs): Make recursively expanded.
32790 2011-11-01 Ulrich Drepper <drepper@gmail.com>
32792 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32793 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32795 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32796 * posix/tst-rfc3484-2.c: Likewise.
32797 * posix/tst-rfc3484-3.c: Likewise.
32799 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32801 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32803 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32804 process_vm_writev from libc using GLIBC_2.15 version.
32806 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32808 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
32810 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32813 2011-10-31 Ulrich Drepper <drepper@gmail.com>
32816 * nss/getent.c (initgroups_keys): Show error message in case no group
32819 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32820 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32821 __bump_nl_timestamp.
32822 * nscd/connections (nscd_init): When host database is served open
32823 netlink socket and request notification about configuration changes.
32824 (main_loop_poll): Track netlink file descriptor and bump timestamp
32825 in case data becomes available.
32826 (main_loop_epoll): Likewise.
32827 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32828 (database_pers_head): Add extra_data fileds.
32829 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32830 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32831 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32833 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32834 in6ai data, call __free_in6ai.
32835 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32836 Add -DHAVE_NETLINK.
32837 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
32838 interface information. Reuse previous data if netlink timestamp
32840 (__bump_nl_timestamp): New function.
32841 (__free_in6ai): New function.
32843 2011-10-30 Ulrich Drepper <drepper@gmail.com>
32845 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32846 close_not_cancel_no_status here.
32847 (__check_pf): Reorganize code a bit to not call close twice if OOM.
32849 2011-10-29 Ulrich Drepper <drepper@gmail.com>
32852 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32855 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
32856 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32857 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32859 2011-07-03 Andreas Jaeger <aj@suse.de>
32862 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32863 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32864 * math/libm-test.inc (sin_test): Add test case.
32866 2011-10-29 Ulrich Drepper <drepper@gmail.com>
32869 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32870 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32872 * elf/chroot_canon.c (chroot_canon): Cleanups.
32874 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32877 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32878 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32880 * string/test-strchr.c: Make usable for strchrnul testing.
32881 * string/test-strchrnul.c: New file.
32882 * string/Makefile (strop-tests): Add strchrnul.
32884 * po/it.po: Update from translation team.
32885 * po/es.po: Likewise.
32887 2011-10-28 Ulrich Drepper <drepper@gmail.com>
32889 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32890 the three constants needed as parameters. Drop the others.
32891 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32892 __m128i_strloadu_tolower.
32893 Create and initialize variable zero and use it in all the places
32894 where _mm_setzero_si128 was used.
32896 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32897 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32898 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32899 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32901 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32902 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32903 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32904 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32905 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32906 __mpranred, __mptan.
32907 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32908 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32909 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32910 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32911 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32912 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32913 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32914 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32915 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32917 2011-10-28 Andreas Schwab <schwab@redhat.com>
32919 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32920 redefine if SHARED.
32921 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32923 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32924 wide char related routines to wcsmbs subdir.
32926 2011-10-27 Andreas Schwab <schwab@redhat.com>
32929 * misc/sys/cdefs.h (__THROWNL): Define.
32930 * posix/unistd.h: Use __THREADNL instead of __THREAD
32931 for memory synchronization functions.
32933 2011-10-26 Roland McGrath <roland@hack.frob.com>
32936 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32938 * manual/stdio.texi (Obstack Streams): Node removed.
32940 2011-10-26 Andreas Schwab <schwab@redhat.com>
32942 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32943 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32944 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32946 * math/math_private.h (math_force_eval): Allow non-addressable
32948 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32950 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32952 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32953 file is not needed.
32955 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32956 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32957 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32958 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32959 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32960 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32961 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32962 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32964 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32965 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32966 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32967 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32968 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32969 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32970 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32971 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32972 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32973 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32974 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32975 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32976 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32977 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32978 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32979 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32980 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32981 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32982 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32984 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32985 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
32987 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32988 place. Use VEX encoding when compiling for AVX.
32990 2011-10-25 Andreas Schwab <schwab@redhat.com>
32992 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32993 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32995 * string/test-strchr.c (do_test): Don't generate NUL bytes.
32997 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32999 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
33000 useless if() expression.
33001 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33002 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33003 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33004 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33005 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33006 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33007 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33008 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33009 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33010 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33011 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33012 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33013 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33014 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33015 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33016 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33017 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33018 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33019 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33021 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
33023 2011-10-25 Andreas Schwab <schwab@redhat.com>
33025 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
33027 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33029 2011-10-25 Ulrich Drepper <drepper@gmail.com>
33031 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
33032 .text section. Avoid duplicate constants.
33033 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33034 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33035 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33036 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33037 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33038 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33039 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33040 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33041 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33042 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
33043 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33044 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33045 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33046 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33047 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33048 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33049 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33050 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33051 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33052 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33053 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33054 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33055 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33056 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
33057 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
33058 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
33059 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
33060 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
33061 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
33062 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
33063 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
33064 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
33065 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33066 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
33067 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
33068 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
33069 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
33070 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
33071 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
33072 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
33073 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
33074 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
33075 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
33076 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
33077 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
33079 2011-10-24 Ulrich Drepper <drepper@gmail.com>
33081 * sysdeps/x86_64/dla.h: Move to ...
33082 * sysdeps/x86_64/fpu/dla.h: ...here.
33083 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
33084 situations. Use __builtin_fma only for gcc 4.6 and up.
33086 * config.make.in: Add have-mfma4 entry.
33087 * configure.in: Substitute libc_cv_cc_fma4.
33088 * math/Makefile (dbl-only-routines): Add sincostab.
33089 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
33090 Use __sincostab not sincos.
33091 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
33093 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33094 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33095 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33096 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
33098 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
33099 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
33100 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
33101 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
33103 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
33104 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
33106 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
33107 define aliases when function name is a macro.
33108 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
33109 sysdeps/ieee754/dbl-64/sincos.tbl.
33110 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
33111 fma4-enabled routines.
33112 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
33113 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
33114 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
33115 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
33116 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
33117 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
33118 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
33119 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
33120 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
33121 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
33122 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
33123 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
33124 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
33125 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
33126 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
33127 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
33128 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
33129 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
33130 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
33131 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
33132 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
33133 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
33134 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
33135 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
33136 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
33137 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
33138 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
33139 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
33140 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
33141 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
33143 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
33145 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33146 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33147 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33148 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33149 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33150 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33151 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33152 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33154 2011-10-24 Andreas Schwab <schwab@redhat.com>
33156 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
33158 2011-10-23 Ulrich Drepper <drepper@gmail.com>
33160 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
33162 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
33164 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
33166 * string/strnlen.c: Don't define STRNLEN, reverse logic.
33167 Remove unused variable magic_bits.
33168 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
33170 * string/strnlen.c: Define and use STRNLEN macro.
33171 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
33172 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
33173 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
33174 * wcsmbs/wcslen.c: Define and use WCSLEN.
33175 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
33176 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
33177 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
33178 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
33179 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
33180 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
33181 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33183 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33185 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33186 strnlen-sse2-no-bsf.
33187 Rename strlen-no-bsf to strlen-sse2-no-bsf.
33188 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
33189 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
33190 Add strnlen support.
33191 (USE_AS_STRNLEN): New macro.
33192 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
33193 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
33194 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
33195 * sysdeps/x86_64/wcslen.S: New file.
33197 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
33199 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33200 XMM-moves are used for copying on small sizes.
33202 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33204 * wcsmbs/Makefile (strop-tests): Add wcschr.
33205 * wcsmbs/test-wcschr.c: New file.
33206 * string/test-strchr.c: Update.
33207 Add wcschr support.
33210 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33212 * wcsmbs/Makefile (strop-tests): Add wcslen.
33213 * wcsmbs/test-wcslen.c: New file.
33214 * string/test-strlen.c: Update.
33215 Add wcslen support.
33218 2011-10-23 Ulrich Drepper <drepper@gmail.com>
33220 * po/it.po: Update from translation team.
33222 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33224 * sysdeps/x86_64/wcscmp.S: Update.
33225 Fix wrong comparison semantics.
33226 wcscmp shall use signed comparison not unsigned.
33227 Don't use substraction to avoid overflow bug.
33228 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
33229 * wcsmbc/wcscmp.c: Likewise.
33230 * string/test-strcmp.c: Likewise.
33231 Add new tests to check cases with negative values.
33233 2011-10-23 Ulrich Drepper <drepper@gmail.com>
33235 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
33236 * sysdeps/x86_64/dla.h: ...here. New file.
33237 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
33238 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33239 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33240 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33241 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33242 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33243 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33244 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33245 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33247 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
33249 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
33250 __ynl_finite aliases.
33252 2011-10-22 Ulrich Drepper <drepper@gmail.com>
33254 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33256 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
33258 [DLA_FMA] (EMULV): Use DLA_FMA.
33259 [DLA_FMA] (MUL12): Use EMULV.
33260 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
33261 that are not needed.
33262 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33263 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33264 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33265 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33266 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33267 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33268 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33270 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
33272 * math/s_nan.c: Undef __nan.
33273 * math/s_nanf.c: Undef __nanf.
33274 * math/s_nanl.c: Undef __nanl.
33275 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
33278 2011-10-22 Ulrich Drepper <drepper@gmail.com>
33280 * math/s_catan.c: Add branch predictions.
33281 * math/s_catanf.c: Likewise.
33282 * math/s_catanh.c: Likewise.
33283 * math/s_catanhf.c: Likewise.
33284 * math/s_catanhl.c: Likewise.
33285 * math/s_catanl.c: Likewise.
33286 * math/s_cexp.c: Likewise.
33287 * math/s_cexpf.c: Likewise.
33288 * math/s_cexpl.c: Likewise.
33289 * math/s_clog.c: Likewise.
33290 * math/s_clog10.c: Likewise.
33291 * math/s_clog10f.c: Likewise.
33292 * math/s_clog10l.c: Likewise.
33293 * math/s_clogf.c: Likewise.
33294 * math/s_clogl.c: Likewise.
33295 * math/s_csqrt.c: Likewise.
33296 * math/s_csqrtf.c: Likewise.
33297 * math/s_csqrtl.c: Likewise.
33298 * math/s_ctanf.c: Likewise.
33299 * math/s_ctanh.c: Likewise.
33300 * math/s_ctanhf.c: Likewise.
33301 * math/s_ctanhl.c: Likewise.
33302 * math/s_ctanl.c: Likewise.
33304 * math/math_private.h: Define __nan, __nanf, __nanl.
33305 * math/s_cacosh.c: Include <math_private.h>.
33306 * math/s_cacoshl.c: Likewise.
33307 * math/s_casinh.c: Likewise.
33308 * math/s_casinhf.c: Likewise.
33309 * math/s_casinhl.c: Likewise.
33310 * math/s_ccos.c: Rely entire on ccosh.
33311 * math/s_ccosf.c: Rely entire on ccoshf.
33312 * math/s_ccosl.c: Rely entirely on ccoshl.
33313 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
33314 Remove tests for FE_INVALID.
33315 * math/s_ccoshf.c: Likewise.
33316 * math/s_ccoshl.c: Likewise.
33317 * math/s_csin.c: Likewise.
33318 * math/s_csinf.c: Likewise.
33319 * math/s_csinh.c Likewise.
33320 * math/s_csinhf.c: Likewise.
33321 * math/s_csinhl.c: Likewise.
33322 * math/s_csinl.c: Likewise.
33323 * math/s_ctan.c: Likewise.
33324 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
33325 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
33326 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
33328 2011-10-21 Ulrich Drepper <drepper@gmail.com>
33330 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
33331 compilation problems.
33333 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
33336 2011-10-20 Ulrich Drepper <drepper@gmail.com>
33338 * sysdeps/i386/configure.in: Test for -mfma4 option.
33339 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
33340 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
33341 COMMON_CPUID_INDEX_80000001.
33342 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
33343 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
33344 use it if FMA3 is not supported.
33345 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33347 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
33348 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33350 2011-10-20 Andreas Schwab <schwab@redhat.com>
33353 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
33354 it would create a cycle with a link time dependency.
33356 2011-10-19 Ulrich Drepper <drepper@gmail.com>
33358 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
33360 * string/Makefile (strop-tests): Add rawmemchr.
33361 * string/test-rawmemchr.c: New file.
33363 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
33364 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
33365 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
33366 when compiling str{,n}casecmp and when AVX is available. Hook up
33367 new optimized code in initializers.
33369 2011-10-19 Andreas Schwab <schwab@redhat.com>
33371 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
33372 __feraiseexcept instead of feraiseexcept.
33374 2011-10-18 Ulrich Drepper <drepper@gmail.com>
33376 * math/math_private.h: Define defaults for libc_fetestexcept and
33378 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
33379 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
33380 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33381 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33382 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33383 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33384 libc_fetestexcept and libc_feupdateenv.
33386 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
33387 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
33388 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
33389 * sysdeps/x86_64/fpu/math_private.h: Define special version of
33390 libc_feholdexcept_setround.
33392 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
33393 Add s_nearbyint-c and s_nearbyintf-c.
33394 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
33395 nearbyintf inlines.
33396 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
33397 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
33398 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
33399 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
33401 * math/math_private.h: Define defaults for libc_fegetround,
33402 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
33403 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
33404 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
33405 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
33406 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
33407 standard functions.
33408 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33409 Remove comments and hacks for old compiler versions.
33410 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33411 libc_fegetround, libc_fesetround, libc_feholdexcept, and
33412 libc_feholdexceptl.
33414 2011-10-18 Andreas Schwab <schwab@redhat.com>
33416 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
33417 (__feraiseexcept_renamed): Add __NTH.
33418 (feraiseexcept): Add __NTH. Rename local variables to fix
33419 namespace violations.
33421 2011-10-17 Ulrich Drepper <drepper@gmail.com>
33423 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
33425 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
33427 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
33428 recently added interfaces.
33429 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
33431 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
33432 about macro parameter expansion.
33434 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
33435 __NO_MATH_INLINES is defined. Cleanups.
33437 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
33438 and __floorf is target has SSE4.1.
33439 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
33440 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
33441 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
33442 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
33444 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
33446 (floorf): Likewise.
33448 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
33450 2011-10-17 Andreas Schwab <schwab@redhat.com>
33452 * misc/sys/cdefs.h: Fix last change.
33454 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
33457 2011-10-16 Ulrich Drepper <drepper@gmail.com>
33459 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
33461 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
33462 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33463 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33464 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33465 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33466 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33467 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33468 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33469 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33470 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
33471 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
33472 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
33473 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
33474 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
33475 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
33476 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
33477 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
33478 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
33479 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
33480 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
33481 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
33482 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
33484 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
33485 ceil, ceilf, floor, floorf.
33487 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
33488 Perform IRELATIVE relocations last.
33490 * elf/do-rel.h: Add another parameter nrelative, replacing the
33491 local variable with the same name. Change name of the function
33492 to end in Rel or Rela (uppercase).
33493 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
33494 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
33495 elf_dynamic_do_##reloc function.
33497 2011-10-15 Ulrich Drepper <drepper@gmail.com>
33499 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
33500 is sufficient, at least on modern CPUs.
33502 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
33504 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
33505 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
33507 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
33509 * math/bits/math-finite.h: Add entries for exp.
33510 * math/e_expl.c: Add __*_finite alias.
33511 * sysdeps/i386/fpu/e_exp.S: Likewise.
33512 * sysdeps/i386/fpu/e_expf.S: Likewise.
33513 * sysdeps/i386/fpu/e_expl.c: Likewise.
33514 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33515 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33516 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33517 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33518 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
33519 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33520 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33522 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
33523 is sufficient, at least on modern CPUs.
33525 * ctype/ctype-info.c (__ctype_init): Define.
33526 * include/ctype.h (__ctype_init): Declare.
33527 (__ctype_b_loc): The variable is always initialized.
33528 (__ctype_toupper_loc): Likewise.
33529 (__ctype_tolower_loc): Likewise.
33530 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
33531 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
33533 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
33535 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
33537 * configure.in: Also look in $cxxmachine/include for C++ system
33540 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33542 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
33543 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
33544 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
33545 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
33546 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
33547 (USE_AS_WMEMCMP): New macro.
33549 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
33550 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
33551 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
33552 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
33553 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33554 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
33555 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
33556 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
33557 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
33558 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
33559 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
33560 (USE_AS_WMEMCMP): New macro.
33561 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
33562 * sysdeps/string/test-memcmp.c: Update.
33563 Fix simple_wmemcmp.
33565 * wcsmbs/wmemcmp.c: Update.
33566 (WMEMCMP): New macro.
33569 2011-10-12 Andreas Jaeger <aj@suse.de>
33572 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
33574 2011-10-15 Ulrich Drepper <drepper@gmail.com>
33576 * libio/iofwide.c (do_length): Avoid warning.
33578 * ctype/ctype.h (__isctype_f): Add missing __THROW.
33580 2011-10-14 Ulrich Drepper <drepper@gmail.com>
33582 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
33584 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
33585 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
33586 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
33587 * sysdeps/i386/i686/fpu/e_log.S: New file.
33588 * sysdeps/i386/i686/fpu/e_logf.S: New file.
33589 * sysdeps/i386/i686/fpu/e_logl.S: New file.
33591 * ctype/ctype.h: Add support for inlined isXXX functions when
33592 compiling C++ code.
33594 2011-10-14 Andreas Schwab <schwab@redhat.com>
33596 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33598 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
33600 2011-10-13 Roland McGrath <roland@hack.frob.com>
33603 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
33605 2011-10-13 Andreas Schwab <schwab@redhat.com>
33607 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
33608 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
33611 * sysdeps/x86_64/memrchr.S: Check for zero size.
33613 * string/stratcliff.c: Add memrchr tests.
33615 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33617 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33618 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
33619 rawmemchr-sse2 rawmemchr-sse2-bsf.
33620 * sysdeps/i386/i686/multiarch/memchr.S: New file.
33621 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
33622 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
33623 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
33624 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
33625 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
33626 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
33627 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
33628 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
33629 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
33630 * string/memrchr.c (MEMRCHR): New macro.
33632 2011-10-12 Ulrich Drepper <drepper@gmail.com>
33634 Add integration with gcc's -ffinite-math-only and optimize wrapper
33636 * Versions.def: Define GLIBC_2.15 version for libm.
33637 * math/Makefile (headers): Add bits/math-finite.h.
33638 * math/bits/math-finite.h: New file.
33639 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
33640 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
33641 * math/e_acoshl.c: Add __*_finite alias.
33642 * math/e_acosl.c: Likewise.
33643 * math/e_asinl.c: Likewise.
33644 * math/e_atan2l.c: Likewise.
33645 * math/e_atanhl.c: Likewise.
33646 * math/e_coshl.c: Likewise.
33647 * math/e_exp10.c: Likewise.
33648 * math/e_exp10f.c: Likewise.
33649 * math/e_exp10l.c: Likewise.
33650 * math/e_exp2l.c: Likewise.
33651 * math/e_fmodl.c: Likewise.
33652 * math/e_gammal_r.c: Likewise.
33653 * math/e_hypotl.c: Likewise.
33654 * math/e_j0l.c: Likewise.
33655 * math/e_j1l.c: Likewise.
33656 * math/e_jnl.c: Likewise.
33657 * math/e_lgammal_r.c: Likewise.
33658 * math/e_log10l.c: Likewise.
33659 * math/e_log2l.c: Likewise.
33660 * math/e_logl.c: Likewise.
33661 * math/e_powl.c: Likewise.
33662 * math/e_sinhl.c: Likewise.
33663 * math/e_sqrtl.c: Likewise.
33664 * math/e_scalb.c: Completely rewritten and optimized.
33665 * math/e_scalbf.c: Likewise.
33666 * math/e_scalbl.c: Likewise.
33667 * math/w_acos.c: Likewise.
33668 * math/w_acosf.c: Likewise.
33669 * math/w_acosl.c: Likewise.
33670 * math/w_acosh.c: Likewise.
33671 * math/w_acoshf.c: Likewise.
33672 * math/w_acoshl.c: Likewise.
33673 * math/w_asin.c: Likewise.
33674 * math/w_asinf.c: Likewise.
33675 * math/w_asinl.c: Likewise.
33676 * math/w_atan2.c: Likewise.
33677 * math/w_atan2f.c: Likewise.
33678 * math/w_atan2l.c: Likewise.
33679 * math/w_atanh.c: Likewise.
33680 * math/w_atanhf.c: Likewise.
33681 * math/w_atanhl.c: Likewise.
33682 * math/w_exp10.c: Likewise.
33683 * math/w_exp10f.c: Likewise.
33684 * math/w_exp10l.c: Likewise.
33685 * math/w_fmod.c: Likewise.
33686 * math/w_fmodf.c: Likewise.
33687 * math/w_fmodl.c: Likewise.
33688 * math/w_j0.c: Likewise.
33689 * math/w_j0f.c: Likewise.
33690 * math/w_j0l.c: Likewise.
33691 * math/w_j1.c: Likewise.
33692 * math/w_j1f.c: Likewise.
33693 * math/w_j1l.c: Likewise.
33694 * math/w_jn.c: Likewise.
33695 * math/w_jnf.c: Likewise.
33696 * math/w_log.c: Likewise.
33697 * math/w_logf.c: Likewise.
33698 * math/w_logl.c: Likewise.
33699 * math/w_log10.c: Likewise.
33700 * math/w_log10f.c: Likewise.
33701 * math/w_log10l.c: Likewise.
33702 * math/w_log2.c: Likewise.
33703 * math/w_log2f.c: Likewise.
33704 * math/w_log2l.c: Likewise.
33705 * math/w_pow.c: Likewise.
33706 * math/w_powf.c: Likewise.
33707 * math/w_powl.c: Likewise.
33708 * math/w_remainder.c: Likewise.
33709 * math/w_remainderf.c: Likewise.
33710 * math/w_remainderl.c: Likewise.
33711 * math/w_scalb.c: Likewise.
33712 * math/w_scalbf.c: Likewise.
33713 * math/w_scalbl.c: Likewise.
33714 * math/w_sqrt.c: Likewise.
33715 * math/w_sqrtf.c: Likewise.
33716 * math/w_sqrtl.c: Likewise.
33717 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
33718 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
33720 * math/math_private.h: Declare __kernel_standard_f.
33721 * math/w_cosh.c: Remove cruft and optimize a bit.
33722 * math/w_coshf.c: Likewise.
33723 * math/w_coshl.c: Likewise.
33724 * math/w_exp2.c: Likewise.
33725 * math/w_exp2f.c: Likewise.
33726 * math/w_exp2l.c: Likewise.
33727 * math/w_hypot.c: Likewise.
33728 * math/w_hypotf.c: Likewise.
33729 * math/w_hypotl.c: Likewise.
33730 * math/w_lgamma.c: Likewise.
33731 * math/w_lgamma_r.c: Likewise.
33732 * math/w_lgammaf.c: Likewise.
33733 * math/w_lgammaf_r.c: Likewise.
33734 * math/w_lgammal.c: Likewise.
33735 * math/w_lgammal_r.c: Likewise.
33736 * math/w_sinh.c: Likewise.
33737 * math/w_sinhf.c: Likewise.
33738 * math/w_sinhl.c: Likewise.
33739 * math/w_tgamma.c: Likewise.
33740 * math/w_tgammaf.c: Likewise.
33741 * math/w_tgammal.c: Likewise.
33742 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33743 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33744 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
33745 Minor optimizations. Pretty printing. Remove cruft.
33746 * sysdeps/i386/fpu/e_acosf.S: Likewise.
33747 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33748 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33749 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33750 * sysdeps/i386/fpu/e_acosl.c: Likewise.
33751 * sysdeps/i386/fpu/e_asin.S: Likewise.
33752 * sysdeps/i386/fpu/e_asinf.S: Likewise.
33753 * sysdeps/i386/fpu/e_atan2.S: Likewise.
33754 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
33755 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
33756 * sysdeps/i386/fpu/e_atanh.S: Likewise.
33757 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33758 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33759 * sysdeps/i386/fpu/e_exp10.S: Likewise.
33760 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
33761 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
33762 * sysdeps/i386/fpu/e_exp2.S: Likewise.
33763 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
33764 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
33765 * sysdeps/i386/fpu/e_fmod.S: Likewise.
33766 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33767 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33768 * sysdeps/i386/fpu/e_hypot.S: Likewise.
33769 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33770 * sysdeps/i386/fpu/e_log.S: Likewise.
33771 * sysdeps/i386/fpu/e_log10.S: Likewise.
33772 * sysdeps/i386/fpu/e_log10f.S: Likewise.
33773 * sysdeps/i386/fpu/e_log10l.S: Likewise.
33774 * sysdeps/i386/fpu/e_log2.S: Likewise.
33775 * sysdeps/i386/fpu/e_log2f.S: Likewise.
33776 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33777 * sysdeps/i386/fpu/e_logf.S: Likewise.
33778 * sysdeps/i386/fpu/e_logl.S: Likewise.
33779 * sysdeps/i386/fpu/e_pow.S: Likewise.
33780 * sysdeps/i386/fpu/e_powf.S: Likewise.
33781 * sysdeps/i386/fpu/e_powl.S: Likewise.
33782 * sysdeps/i386/fpu/e_remainder.S: Likewise.
33783 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33784 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33785 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33786 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33787 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33788 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33789 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33790 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33791 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33792 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33793 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33794 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33795 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33796 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33797 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33798 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33799 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33800 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33801 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33802 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33803 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33804 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33805 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33806 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33807 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33808 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33809 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33810 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33811 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33812 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33813 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33814 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33815 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33816 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33817 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33818 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33819 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33820 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33821 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33822 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33823 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33824 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33825 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33826 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33827 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33828 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33829 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33830 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33831 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33832 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33833 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33834 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33835 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33836 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33837 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33838 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33839 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33840 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33841 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33842 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33843 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33844 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33845 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33846 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33847 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33848 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33849 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33850 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33851 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33852 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33853 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33854 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33855 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33856 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33857 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33858 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33859 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33860 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33861 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33862 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33863 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33864 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33865 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33866 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33867 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33868 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33869 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33870 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33871 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33872 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33873 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33874 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33875 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33876 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33877 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33878 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33879 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33880 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33881 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33882 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33883 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33884 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33885 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33886 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33887 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33888 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33889 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33890 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33891 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33892 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33893 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33894 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33895 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33896 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33897 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33898 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33899 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33900 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33901 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
33902 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33903 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33904 (__isnanf): Likewise.
33905 (__isinf_ns): Likewise.
33906 (__isinf_nsf): Likewise.
33907 (__finite): Likewise.
33908 (__finitef): Likewise.
33909 (__ieee754_sqrt): Define as macro.
33910 (__ieee754_sqrtf): Define as macro.
33911 (__ieee754_sqrtl): Define as macro.
33912 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33914 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33915 __FINITE_MATH_ONLY__ consistent.
33916 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33918 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
33920 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33923 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33925 2011-10-09 Ulrich Drepper <drepper@gmail.com>
33927 * po/ja.po: Update from translation team.
33929 2011-10-08 Roland McGrath <roland@hack.frob.com>
33931 * locale/programs/locarchive.c (prepare_address_space): New function.
33932 (create_archive, enlarge_archive, open_archive): Use it.
33934 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33935 inside [SHARED], where it is used.
33937 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33939 * nss/getent.c (netgroup_keys): Remove unused variable.
33940 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33942 2011-10-08 Ulrich Drepper <drepper@gmail.com>
33944 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33945 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33946 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33947 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33948 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33949 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33950 * math/Makefile (libm-calls): Add s_isinf_ns.
33951 * math/divtc3.c: Use __isinf_nsl instead of isinf.
33952 * math/multc3.c: Likewise.
33953 * math/s_casin.c: Likewise.
33954 * math/s_casinf.c: Likewise.
33955 * math/s_casinl.c: Likewise.
33956 * math/s_ccos.c: Likewise.
33957 * math/s_ccosf.c: Likewise.
33958 * math/s_ccosl.c: Likewise.
33959 * math/s_ctan.c: Likewise.
33960 * math/s_ctanf.c: Likewise.
33961 * math/s_ctanh.c: Likewise.
33962 * math/s_ctanhf.c: Likewise.
33963 * math/s_ctanhl.c: Likewise.
33964 * math/s_ctanl.c: Likewise.
33965 * math/w_fmod.c: Likewise.
33966 * math/w_fmodf.c: Likewise.
33967 * math/w_fmodl.c: Likewise.
33968 * math/w_remainder.c: Likewise.
33969 * math/w_remainderf.c: Likewise.
33970 * math/w_remainderl.c: Likewise.
33971 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33972 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33973 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33974 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33975 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33976 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33977 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33978 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33980 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33982 * stdio-common/printf_fphex.c: Likewise.
33983 * stdio-common/printf_size.c: Likewise.
33985 * math/e_exp10.c: Include math_private.h using <...> not "...".
33986 * math/e_exp10f.c: Likewise.
33987 * math/e_exp10l.c: Likewise.
33988 * math/e_exp2l.c: Likewise.
33989 * math/e_j0l.c: Likewise.
33990 * math/e_j1l.c: Likewise.
33991 * math/e_jnl.c: Likewise.
33992 * math/e_lgammal_r.c: Likewise.
33993 * math/e_rem_pio2l.c: Likewise.
33994 * math/e_scalb.c: Likewise.
33995 * math/e_scalbf.c: Likewise.
33996 * math/e_scalbl.c: Likewise.
33997 * math/k_cosl.c: Likewise.
33998 * math/k_sinl.c: Likewise.
33999 * math/k_tanl.c: Likewise.
34000 * math/s_cacoshf.c: Likewise.
34001 * math/s_catan.c: Likewise.
34002 * math/s_catanf.c: Likewise.
34003 * math/s_catanh.c: Likewise.
34004 * math/s_catanhf.c: Likewise.
34005 * math/s_catanhl.c: Likewise.
34006 * math/s_catanl.c: Likewise.
34007 * math/s_ccosh.c: Likewise.
34008 * math/s_ccoshf.c: Likewise.
34009 * math/s_ccoshl.c: Likewise.
34010 * math/s_cexp.c: Likewise.
34011 * math/s_cexpf.c: Likewise.
34012 * math/s_cexpl.c: Likewise.
34013 * math/s_clog.c: Likewise.
34014 * math/s_clog10.c: Likewise.
34015 * math/s_clog10f.c: Likewise.
34016 * math/s_clog10l.c: Likewise.
34017 * math/s_clogf.c: Likewise.
34018 * math/s_clogl.c: Likewise.
34019 * math/s_csin.c: Likewise.
34020 * math/s_csinf.c: Likewise.
34021 * math/s_csinh.c: Likewise.
34022 * math/s_csinhf.c: Likewise.
34023 * math/s_csinhl.c: Likewise.
34024 * math/s_csinl.c: Likewise.
34025 * math/s_csqrt.c: Likewise.
34026 * math/s_csqrtf.c: Likewise.
34027 * math/s_csqrtl.c: Likewise.
34028 * math/s_ctan.c: Likewise.
34029 * math/s_ctanf.c: Likewise.
34030 * math/s_ctanh.c: Likewise.
34031 * math/s_ctanhf.c: Likewise.
34032 * math/s_ctanhl.c: Likewise.
34033 * math/s_ctanl.c: Likewise.
34034 * math/s_ldexp.c: Likewise.
34035 * math/s_ldexpf.c: Likewise.
34036 * math/s_ldexpl.c: Likewise.
34037 * math/s_significand.c: Likewise.
34038 * math/s_significandf.c: Likewise.
34039 * math/s_significandl.c: Likewise.
34040 * math/w_acos.c: Likewise.
34041 * math/w_acosf.c: Likewise.
34042 * math/w_acosh.c: Likewise.
34043 * math/w_acoshf.c: Likewise.
34044 * math/w_acoshl.c: Likewise.
34045 * math/w_acosl.c: Likewise.
34046 * math/w_asin.c: Likewise.
34047 * math/w_asinf.c: Likewise.
34048 * math/w_asinl.c: Likewise.
34049 * math/w_atan2.c: Likewise.
34050 * math/w_atan2f.c: Likewise.
34051 * math/w_atan2l.c: Likewise.
34052 * math/w_atanh.c: Likewise.
34053 * math/w_atanhf.c: Likewise.
34054 * math/w_atanhl.c: Likewise.
34055 * math/w_cosh.c: Likewise.
34056 * math/w_coshf.c: Likewise.
34057 * math/w_coshl.c: Likewise.
34058 * math/w_dremf.c: Likewise.
34059 * math/w_exp10.c: Likewise.
34060 * math/w_exp10f.c: Likewise.
34061 * math/w_exp10l.c: Likewise.
34062 * math/w_exp2.c: Likewise.
34063 * math/w_exp2f.c: Likewise.
34064 * math/w_fmod.c: Likewise.
34065 * math/w_fmodf.c: Likewise.
34066 * math/w_fmodl.c: Likewise.
34067 * math/w_hypot.c: Likewise.
34068 * math/w_hypotf.c: Likewise.
34069 * math/w_hypotl.c: Likewise.
34070 * math/w_j0.c: Likewise.
34071 * math/w_j0f.c: Likewise.
34072 * math/w_j0l.c: Likewise.
34073 * math/w_j1.c: Likewise.
34074 * math/w_j1f.c: Likewise.
34075 * math/w_j1l.c: Likewise.
34076 * math/w_jn.c: Likewise.
34077 * math/w_jnf.c: Likewise.
34078 * math/w_jnl.c: Likewise.
34079 * math/w_lgamma.c: Likewise.
34080 * math/w_lgamma_r.c: Likewise.
34081 * math/w_lgammaf.c: Likewise.
34082 * math/w_lgammaf_r.c: Likewise.
34083 * math/w_lgammal.c: Likewise.
34084 * math/w_lgammal_r.c: Likewise.
34085 * math/w_log.c: Likewise.
34086 * math/w_log10.c: Likewise.
34087 * math/w_log10f.c: Likewise.
34088 * math/w_log10l.c: Likewise.
34089 * math/w_log2.c: Likewise.
34090 * math/w_log2f.c: Likewise.
34091 * math/w_log2l.c: Likewise.
34092 * math/w_logf.c: Likewise.
34093 * math/w_logl.c: Likewise.
34094 * math/w_pow.c: Likewise.
34095 * math/w_powf.c: Likewise.
34096 * math/w_powl.c: Likewise.
34097 * math/w_remainder.c: Likewise.
34098 * math/w_remainderf.c: Likewise.
34099 * math/w_remainderl.c: Likewise.
34100 * math/w_scalb.c: Likewise.
34101 * math/w_scalbf.c: Likewise.
34102 * math/w_scalbl.c: Likewise.
34103 * math/w_sinh.c: Likewise.
34104 * math/w_sinhf.c: Likewise.
34105 * math/w_sinhl.c: Likewise.
34106 * math/w_sqrt.c: Likewise.
34107 * math/w_sqrtf.c: Likewise.
34108 * math/w_sqrtl.c: Likewise.
34109 * math/w_tgamma.c: Likewise.
34110 * math/w_tgammaf.c: Likewise.
34111 * math/w_tgammal.c: Likewise.
34113 * po/ja.po: Update from translation team.
34115 2011-09-29 Andreas Jaeger <aj@suse.de>
34118 * sunrpc/netname.c (netname2host): Fix logic.
34122 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
34124 * math/w_remainder.c (__remainder): Likewise.
34125 * math/w_remainderf.c (__remainderf): Likewise.
34126 * math/libm-test.inc (remainder_test): Add test cases.
34128 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34130 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
34133 2011-10-07 Ulrich Drepper <drepper@gmail.com>
34135 * string/test-memcmp.c: Avoid unncessary #defines.
34136 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34138 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34140 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
34141 Use new sse2 version for core i3 - i7 as it's faster
34142 than sse42 version.
34143 (bit_Prefer_PMINUB_for_stringop): New.
34144 * sysdeps/x86_64/rawmemchr.S: Update.
34145 Replace with faster SSE2 version.
34146 * sysdeps/x86_64/memrchr.S: New file.
34147 * sysdeps/x86_64/memchr.S: Update.
34148 Replace with faster SSE2 version.
34150 2011-09-12 Marek Polacek <mpolacek@redhat.com>
34152 * elf/dl-load.c (lose): Add cast to avoid warning.
34154 2011-10-07 Ulrich Drepper <drepper@gmail.com>
34156 * po/ca.po: Update from translation team.
34158 * inet/getnetgrent_r.c: Hook up nscd.
34159 * nscd/Makefile (routines): Add nscd_netgroup.
34160 (nscd-modules): Add netgroupcache.
34161 (CFLAGS-netgroupcache.c): Define.
34162 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
34163 (cache_search): Add const to second parameter.
34164 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
34166 (dbs): Add netgrdb entry.
34167 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
34168 (verify_persistent_db): Handle netgrdb.
34169 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
34170 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
34172 (netgroup_response_header): Define.
34173 (innetgroup_response_header): Define.
34174 (datahead): Add netgroup_response_header and innetgroup_response_header
34176 * nscd/nscd.conf: Add entries for netgroup cache.
34177 * nscd/nscd.h (dbtype): Add netgrdb.
34178 (_PATH_NSCD_NETGROUP_DB): Define.
34179 (netgroup_iov_disabled): Declare.
34180 (xmalloc, xcalloc, xrealloc): Move declarations here.
34181 (cache_search): Adjust prototype.
34182 Add netgroup-related prototypes.
34183 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
34184 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
34185 (__nscd_innetgr): Declare.
34186 * nscd/selinux.c (perms): Use access_vector_t as element type and
34187 add netgroup-related initializers.
34188 * nscd/netgroupcache.c: New file.
34189 * nscd/nscd_netgroup.c: New file.
34190 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
34191 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
34192 For four parameters use innetgr.
34193 * nss/nss_files/files-init.c: Add definition and callback for netgr.
34194 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
34195 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
34196 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
34198 * nscd/connections.c (register_traced_file): Don't register file
34199 for disabled databases.
34201 2011-10-06 Ulrich Drepper <drepper@gmail.com>
34203 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
34205 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
34206 from tree and freeing node.
34208 2011-09-25 Jiri Olsa <jolsa@redhat.com>
34210 * nss/nsswitch.c (__nss_database_lookup): Handle
34211 nss_parse_service_list out of memory case.
34213 2011-09-15 Jiri Olsa <jolsa@redhat.com>
34215 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
34216 out of memory case.
34218 2011-10-04 Andreas Schwab <schwab@redhat.com>
34220 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
34221 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
34223 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
34224 elf_machine_rela, elf_machine_lazy_rel.
34225 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
34226 (ELF_DYNAMIC_DO_REL): Likewise.
34227 (ELF_DYNAMIC_DO_RELA): Likewise.
34228 (ELF_DYNAMIC_RELOCATE): Likewise.
34229 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
34230 to ELF_DYNAMIC_DO_REL.
34231 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
34232 (dl_main): In trace mode always set __RTLD_NOIFUNC.
34233 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
34235 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
34236 skip_ifunc, don't call ifunc function if non-zero.
34237 (elf_machine_rela): Likewise.
34238 (elf_machine_lazy_rel): Likewise.
34239 (elf_machine_lazy_rela): Likewise.
34240 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
34241 (elf_machine_lazy_rel): Likewise.
34242 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
34244 (elf_machine_lazy_rel): Likewise.
34245 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34247 (elf_machine_lazy_rel): Likewise.
34248 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
34249 (elf_machine_lazy_rel): Likewise.
34250 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
34251 (elf_machine_lazy_rel): Likewise.
34252 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34253 (elf_machine_lazy_rel): Likewise.
34254 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
34255 (elf_machine_lazy_rel): Likewise.
34256 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
34257 (elf_machine_lazy_rel): Likewise.
34258 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34259 (elf_machine_lazy_rel): Likewise.
34261 2011-09-28 Ulrich Drepper <drepper@gmail.com>
34263 * nss/nss_files/files-init.c (_nss_files_init): Use static
34264 initialization for all the *_traced_file variables.
34266 2011-09-28 Andreas Schwab <schwab@redhat.com>
34268 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34270 2011-09-27 Roland McGrath <roland@hack.frob.com>
34273 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
34275 2011-09-27 Andreas Schwab <schwab@redhat.com>
34277 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34278 Reread the line before reparsing it.
34280 2011-09-26 Andreas Schwab <schwab@redhat.com>
34282 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
34284 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
34285 Maxim Kuvyrkov <maxim@codesourcery.com>
34286 Joseph Myers <joseph@codesourcery.com>
34288 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
34289 if needed for __stack_chk_guard.
34291 2011-09-19 Roland McGrath <roland@hack.frob.com>
34293 * sysdeps/posix/spawni.c (script_execute): Always define it.
34294 It will be optimized away if unused.
34295 (maybe_script_execute): New function.
34296 (__spawni): Call it.
34298 * Makerules: Don't include tls.make.
34299 (config-tls): Always set to thread.
34300 * tls.make.c: File removed.
34302 2011-09-19 Mike Frysinger <vapier@gentoo.org>
34304 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
34305 * config.make.in (CPPFLAGS-config): New substituted variable.
34307 2011-09-15 Ulrich Drepper <drepper@gmail.com>
34309 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
34312 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
34313 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
34315 2011-09-15 Roland McGrath <roland@hack.frob.com>
34317 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
34318 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
34319 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34320 (CALL_FAIL): Likewise.
34321 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
34322 (CALL_FAIL): Macro removed.
34323 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
34325 2011-09-15 Ulrich Drepper <drepper@gmail.com>
34327 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
34328 for __FINITE_MATH_ONLY__ == 1.
34330 2011-09-15 Andreas Schwab <schwab@redhat.com>
34332 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
34333 __ieee754_sqrt instead of sqrt.
34334 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
34335 __ieee754_sqrtf instead of sqrtf.
34336 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
34337 __floorf instead of floorf.
34338 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
34339 __floorf, __truncf instead of floorf, truncf.
34341 2011-09-14 Ulrich Drepper <drepper@gmail.com>
34343 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
34345 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
34346 __extern_always_inline.
34347 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
34350 2011-09-14 Andreas Schwab <schwab@redhat.com>
34352 * elf/rtld.c (dl_main): Also relocate in dependency order when
34353 doing symbol dependency testing.
34355 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
34357 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34358 Always define `refsym'.
34360 2011-09-13 Andreas Schwab <schwab@redhat.com>
34362 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
34363 (__FD_ELT): Renamed from __FDELT.
34364 * misc/bits/select2.h (__FD_ELT): Likewise.
34365 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
34366 __FD_MASK instead of __FDELT, __FDMASK.
34367 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34369 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34372 * elf/Makefile (gen-ldd): Fix pattern.
34374 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
34375 (init_tls): Likewise.
34377 2011-09-12 Ulrich Drepper <drepper@gmail.com>
34379 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
34381 2011-09-12 Andreas Schwab <schwab@redhat.com>
34383 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
34384 `struct cmsghdr *' instead of `void *'.
34385 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
34388 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
34390 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
34392 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
34393 ldd_rewrite_script.
34395 2011-09-11 Ulrich Drepper <drepper@gmail.com>
34397 * configure.in: Remove --with-tls option.
34398 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
34399 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
34400 out in case it is missing.
34401 * sysdeps/ia64/elf/configure.in: Likewise.
34402 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
34403 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
34404 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
34405 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
34406 * sysdeps/sh/elf/configure.in: Likewise.
34407 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
34408 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34409 * sysdeps/x86_64/elf/configure.in: Likewise.
34410 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
34411 * sysdeps/mach/hurd/tls.h: Likewise.
34414 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
34417 * configure.in: Fix use of AC_INIT.
34419 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
34421 2011-09-10 Ulrich Drepper <drepper@gmail.com>
34423 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
34425 * malloc/hooks.c: Likewise.
34428 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
34429 variables statically.
34430 (narenas): Initialize.
34431 (list_lock): Initialize.
34432 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
34433 initializtion of main_arena and list_lock. Small cleanups.
34434 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
34435 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
34436 Add initializers to main_arena and mp_.
34437 (malloc_state): Remove pagesize member. Change all users to use
34440 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
34441 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
34442 is always initialized.
34444 * malloc/malloc.c: Removed unused configurations and dead code.
34445 * malloc/arena.c: Likewise.
34446 * malloc/hooks.c: Likewise.
34447 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
34449 * include/tls.h: Removed. USE___THREAD must always be defined.
34450 * bits/libc-tsd.h: Don't handle !USE___THREAD.
34451 * elf/dl-libc.c: Likewise.
34452 * elf/dl-tsd.c: Likewise.
34453 * include/errno.h: Likewise.
34454 * include/netdb.h: Likewise.
34455 * include/resolv.h: Likewise.
34456 * inet/herrno-loc.c: Likewise.
34457 * inet/herrno.c: Likewise.
34458 * malloc/arena.c: Likewise.
34459 * malloc/hooks.c: Likewise.
34460 * malloc/malloc.c: Likewise.
34461 * resolv/res-state.c: Likewise.
34462 * resolv/res_libc.c: Likewise.
34463 * sysdeps/i386/dl-machine.h: Likewise.
34464 * sysdeps/ia64/dl-machine.h: Likewise.
34465 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
34466 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34467 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
34468 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
34469 * sysdeps/sh/dl-machine.h: Likewise.
34470 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34471 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34472 * sysdeps/unix/i386/sysdep.S: Likewise.
34473 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34474 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
34475 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
34476 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34477 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
34478 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34479 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34480 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34481 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34482 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34483 * sysdeps/unix/x86_64/sysdep.S: Likewise.
34484 * sysdeps/x86_64/dl-machine.h: Likewise.
34485 * tls.make.c: Likewise.
34487 * configure.in: Remove --with-__thread option. Make tests for
34488 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
34489 tls_model attribute fail if no support is available. Remove
34491 * Makeconfig: Adjust for dropped configure option. All features are
34493 * Makerules: Likewise.
34494 * Versions.def: Likewise.
34495 * argp/argp-fmtstream.c: Likewise.
34496 * argp/argp-fmtstream.h: Likewise.
34497 * argp/argp-help.c: Likewise.
34498 * assert/assert.c: Likewise.
34499 * config.h.in: Likewise.
34500 * config.make.in: Likewise.
34501 * configure: Likewise.
34502 * configure.in: Likewise.
34503 * csu/Versions: Likewise.
34504 * csu/init.c: Likewise.
34505 * elf/tst-audit2.c: Likewise.
34506 * elf/tst-tls10.c: Likewise.
34507 * elf/tst-tls10.h: Likewise.
34508 * elf/tst-tls11.c: Likewise.
34509 * elf/tst-tls12.c: Likewise.
34510 * elf/tst-tls14.c: Likewise.
34511 * elf/tst-tlsmod11.c: Likewise.
34512 * elf/tst-tlsmod12.c: Likewise.
34513 * elf/tst-tlsmod13.c: Likewise.
34514 * elf/tst-tlsmod13a.c: Likewise.
34515 * elf/tst-tlsmod14a.c: Likewise.
34516 * elf/tst-tlsmod15b.c: Likewise.
34517 * elf/tst-tlsmod16a.c: Likewise.
34518 * elf/tst-tlsmod16b.c: Likewise.
34519 * elf/tst-tlsmod7.c: Likewise.
34520 * elf/tst-tlsmod8.c: Likewise.
34521 * elf/tst-tlsmod9.c: Likewise.
34522 * gmon/gmon.c: Likewise.
34523 * grp/fgetgrent_r.c: Likewise.
34524 * grp/putgrent.c: Likewise.
34525 * hurd/fopenport.c: Likewise.
34526 * include/libc-symbols.h: Likewise.
34527 * include/tls.h: Likewise.
34528 * intl/gettextP.h: Likewise.
34529 * intl/loadinfo.h: Likewise.
34530 * locale/global-locale.c: Likewise.
34531 * locale/localeinfo.h: Likewise.
34532 * mach/devstream.c: Likewise.
34533 * malloc/arena.c: Likewise.
34534 * malloc/set-freeres.c: Likewise.
34535 * misc/err.c: Likewise.
34536 * misc/getttyent.c: Likewise.
34537 * misc/mntent_r.c: Likewise.
34538 * posix/getopt.c: Likewise.
34539 * posix/wordexp.c: Likewise.
34540 * pwd/fgetpwent_r.c: Likewise.
34541 * resolv/Versions: Likewise.
34542 * resolv/res_hconf.c: Likewise.
34543 * shadow/fgetspent_r.c: Likewise.
34544 * shadow/putspent.c: Likewise.
34545 * stdio-common/printf_fphex.c: Likewise.
34546 * stdio-common/tmpfile.c: Likewise.
34547 * stdlib/abort.c: Likewise.
34548 * stdlib/fmtmsg.c: Likewise.
34549 * sunrpc/auth_unix.c: Likewise.
34550 * sunrpc/clnt_perr.c: Likewise.
34551 * sunrpc/clnt_tcp.c: Likewise.
34552 * sunrpc/clnt_udp.c: Likewise.
34553 * sunrpc/clnt_unix.c: Likewise.
34554 * sunrpc/openchild.c: Likewise.
34555 * sunrpc/svc_simple.c: Likewise.
34556 * sunrpc/svc_tcp.c: Likewise.
34557 * sunrpc/svc_udp.c: Likewise.
34558 * sunrpc/svc_unix.c: Likewise.
34559 * sunrpc/xdr.c: Likewise.
34560 * sunrpc/xdr_array.c: Likewise.
34561 * sunrpc/xdr_rec.c: Likewise.
34562 * sunrpc/xdr_ref.c: Likewise.
34563 * sunrpc/xdr_stdio.c: Likewise.
34565 2011-09-09 Ulrich Drepper <drepper@gmail.com>
34567 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34569 2011-07-03 Andreas Jaeger <aj@suse.de>
34571 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
34572 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
34573 regenerate with gen-libm-tests.pl.
34575 2010-05-12 Petr Baudis <pasky@suse.cz>
34578 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
34579 around j0() zero points by switching to j1().
34580 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34581 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34582 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34583 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34585 2011-09-09 Ulrich Drepper <drepper@gmail.com>
34587 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
34589 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
34591 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34592 Patch in part by Pavel Roskin <proski@gnu.org>.
34595 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
34597 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
34598 Free memory block if necessary.
34601 * libio/genops.c (INTDEF): For string streams the _lock pointer can
34602 be NULL. Don't lock in this case.
34604 2011-09-09 Roland McGrath <roland@hack.frob.com>
34606 * elf/elf.h (ELFOSABI_GNU): New macro.
34607 (ELFOSABI_LINUX): Define to that.
34609 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
34611 * string/strncat.c (strncat): Undef the symbol in case it has been
34612 defined in bits/string.h.
34614 2011-09-09 Ulrich Drepper <drepper@gmail.com>
34616 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
34618 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
34621 2011-08-17 Andreas Jaeger <aj@suse.de>
34623 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
34625 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
34626 Ian Lance Taylor <iant@google.com>
34628 * math/libm-test.inc (lround_test): New testcase.
34629 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
34631 2011-09-08 Ulrich Drepper <drepper@gmail.com>
34633 * Makefile: Remove support for automatic cvs check-ins.
34634 * Makerules: Likewise.
34635 * config.make.in: Likewise.
34636 * configure.in: Likewise.
34637 * intl/Makefile: Likewise.
34638 * locale/Makefile: Likewise.
34639 * po/Makefile: Likewise.
34640 * posix/Makefile: Likewise.
34641 * sysdeps/gnu/Makefile: Likewise.
34642 * sysdeps/mach/hurd/Makefile: Likewise.
34643 * sysdeps/sparc/sparc32/Makefile: Likewise.
34646 * posix/Makefile (bug-regex32-ENV): Define.
34647 Patch by John Stanley <jpsinthemix@verizon.net>.
34649 * misc/Makefile (headers): Add bits/select2.h.
34650 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
34651 * misc/bits/select2.h: New file.
34652 * include/bits/select2.h: New file.
34653 * debug/Makefile (routines): Add fdelt_chk.
34654 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
34655 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
34657 * debug/fdelt_chk.c: New file.
34659 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
34660 * wcsmbs/test-wmemcmp.c: Likewise.
34661 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
34662 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
34664 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34666 * string/Makefile (strop-tests): Add memcmp.
34667 * string/test-wmemcmp.c: New file.
34668 * string/test-memcmp.c: Add wmemcmp support.
34670 2011-09-08 Roland McGrath <roland@hack.frob.com>
34673 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
34676 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
34677 garbage value in a __mach_port_mod_refs call in the cases of the
34678 task-self and thread-self ports.
34680 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34682 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
34684 2011-09-08 Andreas Schwab <schwab@redhat.com>
34686 * elf/dl-load.c (lose): Check for non-null L.
34688 2011-09-07 Ulrich Drepper <drepper@gmail.com>
34690 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
34692 * elf/dl-libc.c (dlerror_run): Pass back error code from
34696 * elf/dl-load.c (lose): Free l_origin if it is valid.
34698 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
34700 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34701 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34702 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34703 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34704 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34705 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
34707 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34709 * sysdeps/powerpc/fpu/e_hypot.c: New file.
34710 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
34711 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
34712 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
34713 * sysdeps/powerpc/fpu/k_cosf.c: New file.
34714 * sysdeps/powerpc/fpu/k_sinf.c: New file.
34715 * sysdeps/powerpc/fpu/s_cosf.c: New file.
34716 * sysdeps/powerpc/fpu/s_sinf.c: New file.
34717 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
34718 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
34720 2011-08-15 Alan Modra <amodra@gmail.com>
34723 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
34724 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
34725 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
34726 ppc_mcount to static-only-routines.
34727 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
34729 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
34730 __mcount_internal with usual JUMPTARGET. Remove useless nop.
34732 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
34734 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
34735 for finite and infinity parameters.
34737 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
34739 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
34740 and add nop instructions for throughput optimization.
34741 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34743 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
34745 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
34746 aligned copy for power7 with vector-scalar instructions.
34747 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34749 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
34751 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
34754 2011-09-07 Andreas Schwab <schwab@redhat.com>
34757 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
34760 2011-09-07 Ulrich Drepper <drepper@gmail.com>
34762 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34763 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
34764 syscall wrapper around clock_gettime in __vdso_clock_gettime.
34765 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
34768 2011-09-06 Ulrich Drepper <drepper@gmail.com>
34770 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34771 Forgot to demangle the pointer.
34773 * sysdeps/i386/sysdep.h: Define atom_text_section.
34774 * sysdeps/x86_64/sysdep.h: Likewise.
34775 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34776 section with atom_text_section.
34777 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34778 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34779 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34780 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34781 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34783 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34784 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34785 already be defined. Change to take two parameters and don't assign
34786 result to variable. Adjust all users.
34787 Define INTERNAL_GETTIME if not already defined.
34788 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34790 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34791 HAVE_CLOCK_GETTIME_VSYSCALL.
34792 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34794 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34795 gettimeofday vsyscall, just use time.
34797 2011-09-06 Andreas Schwab <schwab@redhat.com>
34799 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34802 2011-09-06 Ulrich Drepper <drepper@gmail.com>
34804 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34806 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34808 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34809 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34810 syscall if possible.
34812 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34814 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34815 e_ident. Don't pass to find_mapsXX.
34816 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34818 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34820 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34821 strchr-sse2-no-bsf strrchr-sse2-no-bsf
34822 * sysdeps/x86_64/multiarch/strchr.S: Update.
34823 Check bit_slow_BSF bit.
34824 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34825 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34826 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34828 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34831 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34833 (tryshell): Define.
34834 (__spawni): Change last parameter to be flag. Test
34835 SPAWN_XFLAGS_USE_PATH flag to use path or not.
34836 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34837 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34838 * posix/spawni.c: Likewise.
34839 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34840 * posix/spawnp.c: Likewise. Change normal version to use
34841 SPAWN_XFLAGS_USE_PATH.
34842 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34843 SPAWN_XFLAGS_TRY_SHELL.
34846 * posix/glob.h: Remove gcc 1.x support.
34849 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34851 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34853 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34854 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34856 * sysdeps/i386/i686/multiarch/strchr.S: New file.
34857 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34858 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34859 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34860 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34861 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34863 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34865 * sysdeps/x86_64/wcscmp.S: New file.
34867 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34868 wcscmp-c wcscmp-sse2
34869 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34870 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34871 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34872 * wcsmbs/wcscmp.c: Allow renaming.
34874 2011-09-05 David S. Miller <davem@davemloft.net>
34876 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34877 stack slot, rather than the struct return pointer slot.
34878 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34879 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34880 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34881 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34883 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34885 * po/ja.po: Update from translation team.
34888 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34889 kernel in 64-bit binaries.
34891 2011-09-01 David S. Miller <davem@davemloft.net>
34893 * elf/elf.h (HWCAP_SPARC_*): Move to..
34894 * sysdeps/sparc/sysdep.h: this new file and add new values.
34895 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34896 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34897 _DL_HWCAP_COUNT to 24.
34898 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34900 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34901 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34902 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34903 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34904 instead of magic constants.
34905 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34907 2011-08-31 David S. Miller <davem@davemloft.net>
34909 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34910 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34911 Reimplement to do errno handling inline.
34912 (SYSCALL_ERROR_HANDLER): New macro.
34913 (__SYSCALL_STRING): Do not do errno handling in asm.
34914 (__CLONE_SYSCALL_STRING): Delete.
34915 (__INTERNAL_SYSCALL_STRING): Delete.
34916 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34917 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34918 (PSEUDO): Reimplement to do errno handling inline.
34919 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34920 (SYSCALL_ERROR_HANDLER): New macro.
34921 (__SYSCALL_STRING): Do not do errno handling in asm.
34922 (__CLONE_SYSCALL_STRING): Delete.
34923 (__INTERNAL_SYSCALL_STRING): Delete.
34924 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34925 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34927 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34928 (inline_syscall*): Add 'err' argument.
34929 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34930 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34931 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34932 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34934 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34935 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34937 2011-08-30 Andreas Schwab <schwab@redhat.com>
34939 * elf/rtld.c (dl_main): Relocate objects in dependency order.
34941 2011-08-29 Jiri Olsa <jolsa@redhat.com>
34943 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34946 2011-08-24 David S. Miller <davem@davemloft.net>
34948 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34950 2011-08-24 Andreas Schwab <schwab@redhat.com>
34952 * elf/Makefile: Add rules to build and run unload8 test.
34953 * elf/unload8.c: New file.
34954 * elf/unload8mod1.c: New file.
34955 * elf/unload8mod1x.c: New file.
34956 * elf/unload8mod2.c: New file.
34957 * elf/unload8mod3.c: New file.
34959 * elf/dl-close.c (_dl_close_worker): Reset private search list if
34962 2011-08-23 David S. Miller <davem@davemloft.net>
34964 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34965 subtract stack bias.
34966 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34967 %sp not %fp in calculations.
34968 (_JMPBUF_UNWINDS_ADJ): Likewise.
34970 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34971 (aio_suspend): Call it to force an exception region around the
34972 AIO_MISC_WAIT() invocation.
34974 2011-08-23 Andreas Schwab <schwab@redhat.com>
34976 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34979 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
34981 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34983 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34984 and <dl-machine.h>.
34985 (Elf64_FuncDesc): Remove.
34987 2011-08-22 David S. Miller <davem@davemloft.net>
34989 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34990 sigaltstack check, add missing cfi directives.
34991 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34992 missing cfi directives, and sigaltstack handling.
34994 2011-08-16 Andreas Schwab <schwab@redhat.com>
34997 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34998 object is seen twice.
34999 * elf/dl-fini.c (_dl_sort_fini): Likewise.
35001 * elf/Makefile (distribute): Add tst-initorder2.c.
35002 (tests): Add tst-initorder2.
35003 (modules-names): Add tst-initorder2a tst-initorder2b
35004 tst-initorder2c tst-initorder2d. Add rules to build them.
35005 ($(objpfx)tst-initorder2.out): New rule.
35006 * elf/tst-initorder2.c: New file.
35007 * elf/tst-initorder2.exp: New file.
35009 2011-08-22 Andreas Schwab <schwab@redhat.com>
35011 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
35013 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
35014 dependencies back to end of function.
35016 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35017 $(elfobjdir)/ld.so.
35019 2011-08-21 Ulrich Drepper <drepper@gmail.com>
35021 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
35022 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
35023 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
35024 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
35025 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
35026 of __vdso_gettimeofday.
35027 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
35028 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
35030 (_libc_vdso_platform_setup): Remove initialization of
35031 __vdso_gettimeofday and __vdso_time.
35033 2011-08-20 Ulrich Drepper <drepper@gmail.com>
35035 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
35036 and fgetc_unlocked.
35037 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
35040 * elf/dl-open.c (add_to_global): Report additions to the global scope
35041 for LD_DEBUG=scopes.
35042 (dl_open_worker): Also print scope of newly loaded dependencies.
35043 (_dl_show_scope): Indicate if there is no scope.
35046 * stdio-common/Makefile (tests): Add bug24.
35047 * stdio-common/bug24.c: New file.
35049 2011-08-19 Andreas Jaeger <aj@suse.de>
35052 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
35053 non-existant file when using close-on-exec mode.
35055 2011-08-20 Ulrich Drepper <drepper@gmail.com>
35057 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
35058 the very first instruction.
35060 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
35061 the CFI state in the end.
35062 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
35063 inclusion of dl-trampoline.h.
35064 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
35066 2011-08-19 Andreas Schwab <schwab@redhat.com>
35068 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
35069 expectations for long double.
35071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
35072 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
35074 2011-08-14 David S. Miller <davem@davemloft.net>
35076 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
35077 artificual limit depends upon the system page size.
35079 2011-08-17 Ulrich Drepper <drepper@gmail.com>
35081 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
35082 * resolv/Makefile: Define CFLAGS-libresolv.
35084 2011-08-17 Andreas Schwab <schwab@redhat.com>
35086 * nss/makedb.c (compute_tables): Make variables used in nested
35089 2011-08-17 Ulrich Drepper <drepper@gmail.com>
35091 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
35092 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
35093 if buffer was too small.
35095 * elf/pldd.c (main): Attach to all threads in the process.
35096 Rewrite /proc handling to use *at functions.
35098 2011-08-16 Ulrich Drepper <drepper@gmail.com>
35100 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
35101 specifies first scope to show.
35102 (dl_open_worker): Update callers. Move printing scope of new
35103 object to before the relocation.
35104 * elf/rtld.c (dl_main): Update _dl_show_scope call.
35105 * sysdeps/generic/ldsodefs.h: Update declaration.
35107 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
35108 string for the scope number.
35110 2011-08-14 Ulrich Drepper <drepper@gmail.com>
35112 * nscd/servicescache.c (cache_addserv): Make sure written is always
35115 2011-08-14 Roland McGrath <roland@hack.frob.com>
35117 * sysdeps/i386/i486/bits/atomic.h
35118 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
35119 statement expression, so as to suppress "set but not used" warning.
35120 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
35122 * string/strncat.c (STRNCAT): Use prototype definition.
35124 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
35125 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
35127 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
35128 (localedef-modules): Add localedef.
35129 (locale-modules): Add locale.
35131 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
35132 * elf/rtld.c (dl_main): Invert order of assignment in last change,
35133 to avoid a warning.
35135 2011-08-14 David S. Miller <davem@davemloft.net>
35137 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
35138 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
35140 2011-08-13 Ulrich Drepper <drepper@gmail.com>
35142 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
35143 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
35144 * elf/rtld.c (dl_main): Set l_name of vDSO.
35145 Call _dl_show_scope when DL_DEBUG_SCOPES.
35146 (process_dl_debug): Recognize scopes flag and also set it for all.
35147 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
35148 Declare _dl_show_scope.
35150 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
35151 (do_dlopen): Pass caller_dlopen to dl_open.
35152 (__libc_dlopen_mode): Initialize caller_dlopen.
35154 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
35155 of libc. Make tolower call locale-independent. Optimize a bit by
35156 using isdigit instead of isalnum.
35157 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
35159 2011-08-12 Ulrich Drepper <drepper@gmail.com>
35161 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
35162 was a dependency or dynamically loaded.
35164 2011-08-11 Ulrich Drepper <drepper@gmail.com>
35166 * intl/l10nflist.c: Allow architecture-specific pop function.
35167 * sysdeps/x86_64/l10nflist.c: New file.
35169 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
35172 2011-08-10 Andreas Schwab <schwab@redhat.com>
35174 * include/dirent.h: Add libc_hidden_proto for scandirat and
35175 scandirat64. Don't declare __scandirat64.
35176 * dirent/scandirat.c: Add libc_hidden_def.
35177 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
35178 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
35180 2011-08-10 David S. Miller <davem@davemloft.net>
35182 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
35184 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35185 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35186 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35188 2011-08-09 Ulrich Drepper <drepper@gmail.com>
35190 * Versions.def [libc]: Add GLIBC_2.15.
35191 * dirent/Makefile (routines): Add scandirat and scandirat64.
35192 * dirent/Versions [libc]: Export scandirat and scandirat64 for
35194 * dirent/dirent.h: Declare scandirat and scandirat64.
35195 * dirent/scandirat.c: New file.
35196 * dirent/scandirat64.c: New file.
35197 * sysdeps/wordsize-64/scandirat.c: New file.
35198 * sysdeps/wordsize-64/scandirat64.c: New file.
35199 * dirent/opendir.c: Define opendirat.
35200 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
35202 * dirent/scandir64.c: Adjust for scandir.c change.
35203 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
35204 __scandirat64, and __scandir_cancel_handler.
35205 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
35206 additional parameter and use openat instead of open (outside of ld.so).
35207 Add new __opendir as wrapper around __opendirat.
35208 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
35209 here without requiring old scandirat implementation.
35211 2011-08-08 Ulrich Drepper <drepper@gmail.com>
35213 * dirent/scandir.c (cancel_handler): Renamed to
35214 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
35215 defined. Adjust users.
35216 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
35217 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
35219 2011-08-04 Ulrich Drepper <drepper@gmail.com>
35221 * string/test-string.h (IMPL): Use __STRING to expand name and then
35224 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
35227 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35229 * string/Makefile: Update.
35230 (strop-tests): Append strncat.
35231 * string/test-wcscmp.c: New file.
35232 New comprehensive test for wcscmp.
35233 * string/test-strcmp.c: Update.
35234 (WIDE): New define.
35236 2011-07-22 Andreas Schwab <schwab@redhat.com>
35238 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
35241 2011-07-26 Andreas Schwab <schwab@redhat.com>
35243 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35244 encoding to ACE if AI_IDN.
35246 2011-08-01 Jakub Jelinek <jakub@redhat.com>
35248 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
35249 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
35251 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35253 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
35254 Fix overflow bug in strncat.
35255 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
35257 * string/test-strncat.c: Update.
35258 Add new tests for checking overflow bugs.
35260 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35262 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35263 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
35264 * sysdeps/i386/i686/multiarch/strcat.S: New file.
35265 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
35266 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
35267 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
35268 * sysdeps/i386/i686/multiarch/strncat.S: New file.
35269 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
35270 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
35272 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
35273 (USE_AS_STRCAT): Define.
35274 Add strcat and strncat support.
35275 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35277 2011-07-25 Andreas Schwab <schwab@redhat.com>
35279 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
35280 __n bigger than INT_MAX+1.
35281 (__strncmp_g): Likewise.
35283 2011-07-23 Ulrich Drepper <drepper@gmail.com>
35285 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
35286 * libio/stido.h: Likewise.
35288 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
35290 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
35293 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
35294 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35295 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35296 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35297 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35300 * scripts/test-installation.pl: Don't expect libnss_test1 to be
35303 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
35305 (_dl_x86_64_save_sse): Likewise.
35307 2011-07-22 Ulrich Drepper <drepper@gmail.com>
35309 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
35311 (_dl_x86_64_save_sse): Likewise.
35313 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
35315 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
35317 2011-07-21 Andreas Schwab <schwab@redhat.com>
35319 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
35321 (_dl_x86_64_save_sse): Use correct AVX check.
35323 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35325 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
35326 bug in strncpy/strncat.
35327 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
35329 2011-07-21 Ulrich Drepper <drepper@gmail.com>
35331 * string/tester.c (test_strcat): Add tests for different alignments
35332 of source and destination.
35333 (test_strncat): Likewise.
35335 2011-07-20 Ulrich Drepper <drepper@gmail.com>
35338 * posix/glob.c (glob): Check passed in values before using them in
35339 expressions to avoid some overflows.
35340 (glob_in_dir): Likewise.
35343 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
35344 check for AVX enablement so that we don't crash with old kernels and
35346 * elf/tst-audit4.c: Add same checks here.
35347 * elf/tst-audit6.c: Likewise.
35349 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
35351 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
35353 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
35355 2011-07-20 Ulrich Drepper <drepper@gmail.com>
35357 * po/cs.po: Update from translation team.
35358 * po/bg.po: Likewise.
35360 2011-07-12 Marek Polacek <mpolacek@redhat.com>
35362 * misc/sys/cdefs.h: Add support for const attribute.
35363 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
35364 to gnu_dev_{major,minor,makedev} functions.
35366 2011-07-20 Marek Polacek <mpolacek@redhat.com>
35368 * intl/dcigettext.c (get_output_charset): Add missing bracket.
35370 2011-07-20 Andreas Schwab <schwab@redhat.com>
35372 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
35375 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35377 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
35378 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
35379 register in order to avoid conflicts with the soft frame pointer
35380 being held in r11 when necessary.
35381 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
35382 (INTERNAL_VSYSCALL_NCS): Likewise.
35384 2011-07-14 Marek Polacek <mpolacek@redhat.com>
35386 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
35387 * elf/dl-fini.c (_dl_fini): Adjust caller.
35388 * elf/dl-close.c (_dl_close_worker): Likewise.
35389 * sysdeps/generic/ldsodefs.h: Adjust declaration.
35391 2011-07-15 Marek Polacek <mpolacek@redhat.com>
35393 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
35394 "aux_cache->nlibs < 0".
35396 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
35397 in the reload-count case.
35399 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35401 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35402 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
35403 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
35404 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
35405 * sysdeps/x86_64/multiarch/strcat.S: New file.
35406 * sysdeps/x86_64/multiarch/strncat.S: New file.
35407 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
35408 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
35409 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
35410 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
35411 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
35412 (USE_AS_STRCAT): Define.
35413 Add strcat and strncat support.
35414 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35415 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
35416 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
35417 * string/strncat.c: Update.
35418 (USE_AS_STRNCAT): Define.
35419 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35420 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
35422 * sysdeps/x86_64/multiarch/init-arch.h
35423 (bit_Prefer_PMINUB_for_stringop): New.
35424 (index_Prefer_PMINUB_for_stringop): Likewise.
35425 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
35426 bit_Prefer_PMINUB_for_stringop.
35428 2011-07-19 Ulrich Drepper <drepper@gmail.com>
35430 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
35432 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
35433 of casting of buffer.
35434 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
35435 buffer32 and buffer64.
35436 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
35437 writes instead of casting of buffer.
35438 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
35440 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
35443 2011-07-19 Andreas Schwab <schwab@redhat.com>
35445 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
35447 2011-07-19 Ulrich Drepper <drepper@gmail.com>
35449 * nscd/nscd.c (termination_handler): Don't do anything for a database
35450 if it has not yet been initialized.
35452 2011-07-18 Ulrich Drepper <drepper@gmail.com>
35454 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35456 2011-07-15 Marek Polacek <mpolacek@redhat.com>
35458 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35460 2011-07-18 Ulrich Drepper <drepper@gmail.com>
35462 * po/nl.po: Update from translation team.
35463 * po/sv.po: Likewise.
35465 2011-07-16 Roland McGrath <roland@hack.frob.com>
35467 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
35468 now disallowed by GCC.
35470 * configure.in (use-default-link): Default to yes if a test -shared
35471 link meets our qualifications.
35472 * configure: Regenerated.
35474 * config.make.in (output-format): New variable.
35475 * configure.in: Check for ld --print-output-format support.
35476 * configure: Regenerated.
35477 * Makerules ($(common-objpfx)format.lds)
35478 [$(output-format) != unknown]: Just use $(output-format),
35479 instead of the linker-script munging.
35481 2011-07-14 Roland McGrath <roland@hack.frob.com>
35483 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
35484 of $(common-objpfx)shlib.lds.
35485 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
35487 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
35488 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
35490 * configure.in (-z relro check): Adjust test code to add a large
35491 writable data section after it.
35492 * configure: Regenerated.
35494 2011-07-11 Roland McGrath <roland@hack.frob.com>
35496 * configure.in (-z relro check): Fix test code to make the variable
35498 * configure: Regenerated.
35500 2011-07-11 Ulrich Drepper <drepper@gmail.com>
35502 * nscd/nscd.h (struct traced_file): Define.
35503 (struct database_dyn): Remove inotify_descr, reset_res, and filename
35504 elements. Add traced_files.
35505 (inotify_fd): Declare.
35506 (register_traced_file): Declare.
35507 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
35508 (inotify_fd): Export.
35509 (resolv_conf_descr): Remove.
35510 (nscd_init): Move inotify descriptor creation to main.
35511 Don't register files for notification here.
35512 (register_traced_file): New function.
35513 (invalidate_cache): Don't use reset_res to determine whether to call
35514 res_init, go through the list of registered files.
35515 (main_loop_poll): The inotify descriptors are now stored in the
35516 structures for the traced files.
35517 (main_loop_epoll): Likewise
35518 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
35519 to __nss_disable_nscd.
35520 * nscd/cache.c (prune_cache): There is no single inotify descriptor
35521 for a database anymore. Check the records for all the registered
35523 * nss/Makefile (libnss_files-routines): Add files-init.
35524 (libnss_db-routines): Add db-init.
35525 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
35526 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
35527 * nss/nss_db/db-init.c: New file.
35528 * nss/nss_files/files-init.c: New file.
35529 * nss/nsswitch.c (nss_load_library): New function. Broken out of
35530 __nss_lookup_function.
35531 (__nss_lookup_function): Call nss_load_library.
35532 (nss_load_all_libraries): New function.
35533 (__nss_disable_nscd): Take parameter with callback function for files
35534 to register. Set is_nscd. Load all the DSOs for the NSS modules
35535 used for the cached services.
35536 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
35537 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
35538 options for features to all the files in nscd.
35540 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
35542 2011-07-10 Roland McGrath <roland@hack.frob.com>
35544 * csu/elf-init.c (__libc_csu_init): Comment typo.
35546 2011-07-09 Ulrich Drepper <drepper@gmail.com>
35548 * po/pl.po: Update from translation team.
35549 * po/ja.po: Likewise.
35550 * po/ru.po: Likewise.
35551 * po/ko.po: Likewise.
35552 * po/fr.po: Likewise.
35554 2011-07-09 Roland McGrath <roland@hack.frob.com>
35556 * configure.in (.ctors/.dtors header and trailer check):
35557 Use an empirical test on a built program.
35558 * configure: Regenerated.
35560 * configure.in (-z relro check): Use an empirical test on a built DSO.
35561 Detect, but do not require, on ia64.
35562 * configure: Regenerated.
35564 * configure.in (READELF): Find it with AC_CHECK_TOOL.
35565 Update tests that use readelf to use $READELF instead.
35566 * configure: Regenerated.
35568 2011-07-08 Ulrich Drepper <drepper@gmail.com>
35570 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
35571 if the result is not used.
35573 2011-07-05 Andreas Jaeger <aj@suse.de>
35576 * stdlib/tst-strtod.c: Add testcase.
35578 2011-07-07 Ulrich Drepper <drepper@gmail.com>
35580 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
35581 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
35582 The latter has a higher limit. Take additional parameter to pass to
35584 (__pathconf): Pass file to __statfs_link_max.
35585 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
35587 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
35591 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
35592 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35594 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
35595 (__statfs_filesize_max): Likewise.
35596 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
35598 2011-07-05 Andreas Jaeger <aj@suse.de>
35600 * resolv/res_comp.c (dn_skipname): Remove unused variable.
35602 2011-07-06 Marek Polacek <mpolacek@redhat.com>
35604 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
35606 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
35609 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
35611 * Makefile (strop-tests): Add strncat.
35612 * string/test-strncat.c: New file.
35614 2011-06-30 Marek Polacek <mpolacek@redhat.com>
35616 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
35618 2011-06-21 Andreas Jaeger <aj@suse.de>
35620 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
35621 Copy rule from iconvdata/Makefile.
35623 2011-07-06 Ulrich Drepper <drepper@gmail.com>
35626 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
35627 but no long options are defined, just return 'W'.
35629 2011-06-22 Marek Polacek <mpolacek@redhat.com>
35632 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
35634 2011-07-06 Ulrich Drepper <drepper@gmail.com>
35636 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
35638 (innetgr): Likewise.
35640 2011-07-05 Roland McGrath <roland@hack.frob.com>
35642 * config.make.in (install_root): Default to $(DESTDIR).
35644 2011-07-05 Ulrich Drepper <drepper@gmail.com>
35646 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
35648 2011-07-02 Roland McGrath <roland@hack.frob.com>
35650 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
35652 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
35653 containing directory rather than embedding absolute directory names.
35655 * scripts/check-local-headers.sh: Rewritten using awk.
35656 Match by word, not by line. Print error messages for matches.
35657 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
35659 * Makerules [shlib-lds-flags empty]:
35660 ($(common-objpfx)libc_pic.opts): New target.
35661 ($(common-objpfx)libc_pic.os.clean): New target.
35662 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
35664 * config.make.in (OBJCOPY): New variable.
35665 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
35666 * configure: Regenerated.
35668 * config.make.in (use-default-link): New variable.
35669 * configure.in (use_default_link): Grok --with-default-link to set it.
35670 * configure: Regenerated.
35671 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
35672 (shlib-lds, shlib-lds-flags): Define to empty.
35674 * Makerules (shlib-lds): New variable.
35675 (shlib-lds-flags): New variable.
35676 (build-shlib, build-moduile, build-module-asneeded): Use it.
35677 ($(common-objpfx)libc.so): Use $(shlib-lds).
35678 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
35679 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
35681 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
35682 DT_FLAGS/DT_FLAGS_1 with zero flags.
35684 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
35685 linker script munging.
35687 2011-07-02 Ulrich Drepper <drepper@gmail.com>
35689 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
35691 * crypt/sha512.c (sha512_process_block): Perform total addition using
35692 128-bit if possible.
35693 (__sha512_finish_ctx): Likewise.
35694 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
35696 * crypt/sha256.c (SWAP64): Define.
35697 (sha256_process_block): Perform total addition using 64-bit if
35699 (__sha256_finish_ctx): Likewise.
35701 2011-07-01 Ulrich Drepper <drepper@gmail.com>
35703 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
35704 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35705 * nscd/hstcache.c (cache_addhst): Likewise.
35706 * nscd/grpcache.c (cache_addgr): Likewise.
35707 * nscd/aicache.c (addhstaiX): Likewise
35708 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
35710 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
35712 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
35713 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35714 * nscd/hstcache.c (cache_addhst): Likewise.
35715 * nscd/grpcache.c (cache_addgr): Likewise.
35716 * nscd/aicache.c (addhstaiX): Likewise
35718 2011-07-01 Andreas Schwab <schwab@redhat.com>
35720 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
35721 domain only when needed.
35723 2011-06-30 Andreas Schwab <schwab@redhat.com>
35725 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
35726 is always restored.
35728 2011-06-29 Ulrich Drepper <drepper@gmail.com>
35730 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
35731 are re-adding the entry.
35732 * nscd/servicescache.c (cache_addserv): Likewise.
35734 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
35736 * sysdeps/generic/dl-irel.h: fix protection against multiple
35738 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
35740 2011-06-28 Ulrich Drepper <drepper@gmail.com>
35743 * malloc/memusage.sh: Fix quoting in message.
35744 * debug/xtrace.sh: Likewise.
35746 * configure.in: Remove support for --experimental-malloc option, make
35748 * config.make.in: Likewise.
35749 * malloc/Makefile: Likewise.
35751 2011-06-27 Andreas Schwab <schwab@redhat.com>
35753 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
35754 two-byte characters.
35756 2011-06-27 Roland McGrath <roland@hack.frob.com>
35758 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
35759 AC_CACHE_CHECK invocation.
35760 * configure: Regenerated.
35762 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
35764 2011-06-27 Ulrich Drepper <drepper@gmail.com>
35767 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
35768 bit from old_res_options.
35770 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35772 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35773 value type for setfct.
35775 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
35777 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35778 __gettimeofday instead of gettimeofday.
35780 2011-06-26 Ulrich Drepper <drepper@gmail.com>
35782 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35784 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
35786 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35788 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35791 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35793 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35794 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35795 strcpy-sse2-unaligned strncpy-sse2-unaligned
35796 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35797 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35798 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35799 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35800 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35801 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35802 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35803 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35804 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35805 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35806 (STRCPY): Support SSE2 and SSSE3 versions.
35808 2011-06-24 Ulrich Drepper <drepper@gmail.com>
35811 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35812 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35813 kernels which artificially limit size of requests.
35815 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35817 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35818 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35819 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35820 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35821 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35822 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35823 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35824 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35825 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35826 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35827 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35828 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35829 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35830 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35831 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35832 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35833 Enable unaligned load optimization for Intel Core i3, i5 and i7
35835 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35837 (index_Fast_Unaligned_Load): Define.
35838 (HAS_FAST_UNALIGNED_LOAD): Define.
35840 2011-06-23 Marek Polacek <mpolacek@redhat.com>
35842 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35844 2011-06-22 Ulrich Drepper <drepper@gmail.com>
35847 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35848 until it is clear that the information is realy needed.
35849 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35851 2011-06-22 Andreas Schwab <schwab@redhat.com>
35853 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35855 2011-06-22 Ulrich Drepper <drepper@gmail.com>
35857 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35858 /sys/devices/system/cpu/online if it is usable.
35860 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35861 reading the information from the /proc filesystem to once a second.
35863 2011-06-21 Andreas Jaeger <aj@suse.de>
35865 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35866 NULL after inclusion of kernel headers.
35868 2011-06-21 Ulrich Drepper <drepper@gmail.com>
35870 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35871 calls to internal_setent.
35874 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35875 addresses using gethostbyname4_r ignore IPv4 addresses.
35877 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35878 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
35880 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35882 2011-06-20 David S. Miller <davem@davemloft.net>
35884 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35886 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35888 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35889 (elf_irel): Use it.
35890 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35891 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35892 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35893 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35894 * sysdeps/x86_64/dl-irel.h: Likewise.
35896 * elf/dl-runtime.c: Use elf_ifunc_invoke.
35897 * elf/dl-sym.c: Likewise.
35899 2011-06-15 Ulrich Drepper <drepper@gmail.com>
35901 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
35902 need to dereference resplen2.
35904 2011-06-14 Andreas Schwab <schwab@redhat.com>
35906 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35908 2011-06-15 Ulrich Drepper <drepper@gmail.com>
35910 * Makeconfig: Define vardbdir and inst_vardbdir.
35911 * nss/Makefile: Add rules to install db-Makefile.
35913 * nss/nss_db/db-XXX.c: Cleanup.
35915 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35916 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35918 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35919 * nss/makedb.c: Implement -g option to specify that value strings
35920 are generated and should not be added to table iterated over for
35922 * nss/nss_db/db-initgroups.c: New file.
35924 * nss/getent.c: Add support for initgroups lookups through getgrouplist
35927 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35928 (internal_getgrouplist): Adjust to name change.
35929 Update use_initgroups_entry if this is not the first call.
35930 * nss/databases.def: Add initgroups entry.
35932 * nss/makedb.c (compute_tables): Check result of multiple hash table
35933 sizes to minimize maximum chain length.
35935 2011-06-14 Ulrich Drepper <drepper@gmail.com>
35937 * Versions.def: Add entry for libnss_db.
35938 * shlib-versions: Likewise.
35939 * nss/Makefile: Add rules to build libnss_db.
35940 * nss/Versions: Add libnss_db information. Organize libnss_files
35942 * nss/db-Makefile: Add gshadow support. Change rules for the new
35943 makedb progra. Some minor improvements to generate smaller files.
35944 * nss/nss_db/nss_db.h: Move NSS database header data structures to
35946 * nss/makedb.c: ...here.
35947 Improve database format to be smaller and require less memory at
35949 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
35951 * nss/nss_db/db-netgrp.c: Likewise.
35952 * nss/nss_db/db-open.c: Likewise.
35953 * nss/nss_files/flies-XXX.x: Adjust comments.
35954 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35955 * nss/nss_files/files-grp.c: Likewise.
35956 * nss/nss_files/files-hosts.c: Likewise.
35957 * nss/nss_files/files-network.c: Likewise.
35958 * nss/nss_files/files-proto.c: Likewise.
35959 * nss/nss_files/files-pwd.c: Likewise.
35960 * nss/nss_files/files-rpc.c: Likewise.
35961 * nss/nss_files/files-service.c: Likewise.
35962 * nss/nss_files/files-sgrp.c: Likewise.
35963 * nss/nss_files/files-spwd.c: Likewise.
35964 * nss/nss_db/db-alias.c: Removed.
35965 * nss/nss_db/dummy-db.h: Removed.
35967 2011-06-02 Ulrich Drepper <drepper@gmail.com>
35969 * nss/makedb.c: Rewritten to not use database library.
35970 * nss/Makefile: Update to build new makedb program.
35972 2011-06-14 Andreas Jaeger <aj@suse.de>
35974 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35975 memset declaration.
35977 2011-06-10 Andreas Schwab <schwab@redhat.com>
35979 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35982 2011-06-10 Roland McGrath <roland@hack.frob.com>
35984 * Makerules (shlib.lds): Fail if the linker script comes out empty.
35985 * elf/Makefile ($(objpfx)ld.so): Likewise.
35987 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35988 Don't list ld.so twice in dependencies.
35990 * posix/bug-regex31.c: Include <stdlib.h>.
35992 * nscd/hstcache.c (cache_addhst): Remove unused variable.
35994 * nis/nss_compat/compat-spwd.c
35995 (getspent_next_nss_netgr): Remove unused variable.
35996 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35998 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35999 nonmembers" output to use the right array.
36001 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
36003 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
36005 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
36006 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
36007 * catgets/gencat.c (read_input_file): Likewise.
36008 * locale/programs/locarchive.c (enlarge_archive): Likewise.
36010 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
36011 variable definition inside #if's controlling its use.
36013 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
36015 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
36017 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
36019 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
36022 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
36024 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
36025 * configure: Regenerated.
36027 * Makerules: Revert last change.
36028 * elf/Makefile: Likewise.
36030 2011-06-09 Roland McGrath <roland@hack.frob.com>
36032 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
36033 * elf/Makefile ($(objpfx)librtld.os): Likewise.
36034 (reloc-link): Likewise.
36036 2011-06-09 Ulrich Drepper <drepper@gmail.com>
36038 * elf/Makefile: Add rules to build pldd.
36039 * elf/pldd.c: New file.
36040 * elf/pldd-xx.c: New file.
36042 2011-06-07 Ulrich Drepper <drepper@gmail.com>
36044 * version.h: Update for 2.15 development version.
36046 2011-06-07 David S. Miller <davem@davemloft.net>
36048 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
36050 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
36051 elf_machine_lazy_rel): Likewise.
36052 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
36053 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
36054 elf_machine_lazy_rel): Likewise.
36055 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
36056 dl_hwcap via passed in argument.
36057 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
36060 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36062 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
36064 2011-06-06 Roland McGrath <roland@hack.frob.com>
36067 * manual/fdl-1.1.texi: New file, verbatim from:
36068 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
36069 * manual/lgpl-2.1.texi: New file, verbatim from:
36070 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
36071 * manual/Makefile (licenses): New variable, list those new file names.
36073 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
36075 * manual/fdl.texi: File removed.
36076 * manual/lesser.texi: File removed.
36077 * manual/libc.texinfo (Copying, Documentation License):
36078 Use new @include file names, put @appendix directive before @include.
36080 2011-06-04 Jakub Jelinek <jakub@redhat.com>
36083 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
36084 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
36085 (mq_open): Add __NTH.
36087 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
36089 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36090 Assume Intel Core i3/i5/i7 processor if AVX is available.
36092 2011-05-31 Ulrich Drepper <drepper@gmail.com>
36094 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36097 2011-05-31 Andreas Schwab <schwab@redhat.com>
36099 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
36100 memory. Use alloca_account. Fix memory leak when retrying.
36102 2011-05-31 Ulrich Drepper <drepper@gmail.com>
36104 * version.h (RELEASE): Bump for 2.14 release.
36105 * include/features.h (__GLIBC_MINOR__): Bump to 14.
36107 * config.make.in (RANLIB): Remove entry.
36109 2011-05-30 Ulrich Drepper <drepper@gmail.com>
36111 * po/Makefile (po-sed-cmd): Add ksh to extensions.
36112 (libc.pot): Work around missing support for .ksh extension in xgettext.
36115 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
36116 if both request failed.
36117 (send_dg): In case of server errors clear resplen or *resplen2.
36120 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
36121 when there are multiple maps.
36122 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
36123 (_dl_fini): Remove test here.
36125 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
36127 2011-05-29 Ulrich Drepper <drepper@gmail.com>
36130 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
36131 bit from old_res_options.
36132 (gaih_inet): Likewise.
36135 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
36138 * resolv/res_init.c (res_setoptions): Make the code more compact.
36141 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
36145 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
36147 * malloc/malloc.h: Mark malloc hook variables as deprecated.
36150 * malloc/malloc.h: Declare malloc hook variables as volatile.
36152 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
36156 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
36157 raise in the comment.
36158 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36159 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36160 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
36162 2011-05-28 Ulrich Drepper <drepper@gmail.com>
36165 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
36166 grow the buffers more if it already has to be sufficient.
36167 (build_wcs_upper_buffer): Likewise.
36168 * posix/regexec.c (check_matching): Likewise.
36169 (clean_state_log_if_needed): Likewise.
36170 (extend_buffers): Don't enlarge buffers beyond size of the input
36172 Patches mostly by Emil Wojak <emil@wojak.eu>.
36173 * posix/bug-regex32.c: New file.
36174 * posix/Makefile (tests): Add bug-regex32.
36176 * locale/findlocale.c (_nl_find_locale): Return right away if
36177 _nl_explode_name failed.
36178 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
36180 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
36182 * debug/xtrace.sh: Unify messages.
36183 * malloc/memusage.sh: Likewise.
36186 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
36187 time symbol from vDSO. Substitute with vsyscall if not available.
36188 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
36191 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
36192 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
36193 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
36194 Add sendmmsg and internal_sendmmsg.
36195 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
36196 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
36197 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
36199 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
36200 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
36201 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
36203 2011-05-27 Ulrich Drepper <drepper@gmail.com>
36206 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
36207 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
36209 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
36213 * iconvdata/Makefile (tests): Add bug-iconv9.
36214 * iconvdata/bug-iconv9.c: New file.
36216 2011-05-27 Andreas Schwab <schwab@redhat.com>
36219 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
36221 2011-05-25 Jakub Jelinek <jakub@redhat.com>
36223 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36224 (struct user_regs_struct): Change intcs field back to cs.
36226 2011-05-25 Ulrich Drepper <drepper@gmail.com>
36228 * po/ja.po: Update from translation team.
36230 2011-05-23 Ulrich Drepper <drepper@gmail.com>
36233 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
36234 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
36236 2011-05-20 Andreas Schwab <schwab@redhat.com>
36238 * stdlib/longlong.h: Update from GCC.
36240 2011-05-23 Andreas Schwab <schwab@redhat.com>
36242 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
36244 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
36245 Add parameter name.
36246 (__sysconf): Pass it down.
36248 2011-05-22 Ulrich Drepper <drepper@gmail.com>
36251 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
36253 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36254 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
36255 add in in __libc_use_alloca calls. Adjust callers.
36256 (glob): Use malloc in some situations.
36258 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
36259 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
36262 2011-05-21 Ulrich Drepper <drepper@gmail.com>
36264 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
36265 and CLOCK_BOOTTIME_ALARM.
36268 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
36271 * string/_strerror.c (__strerror_r): Print negative errors as signed
36275 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
36276 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
36277 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
36279 * configure.in: Fix typo in redirection and correct removal of test
36280 files in two cases.
36283 * locale/setlocale.c (new_composite_name): Fix test to check for
36284 identical name of all categories.
36287 * libio/filedoalloc.c (local_isatty): New function.
36288 (_IO_file_doallocate): Use local_isatty.
36289 * stdio-common/perror.c (perror): In case a new stream is used
36290 forward the stream error.
36291 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
36294 2011-05-20 Ulrich Drepper <drepper@gmail.com>
36297 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
36299 * include/alloca.h (extend_alloca_account): Define.
36302 * posix/regex.h: Fix comments with documentation of user-accessible
36303 fields after compilation and describe correct free'ing of pattern
36304 after re_compile_pattern.
36305 Patch by Reuben Thomas <rrt@sc3d.org>.
36307 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
36309 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
36310 and -mno-altivec to prevent the compiler from using Altivec and/or
36311 VSX instructions when the corresponding registers are not available.
36313 2011-05-19 Andreas Schwab <schwab@redhat.com>
36315 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
36317 2011-05-19 Ulrich Drepper <drepper@gmail.com>
36319 * libio/freopen.c (freopen): Use __dup2, not dup2.
36320 * libio/freopen64.c (freopen64): Likewise.
36322 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
36325 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
36326 * math/Makefile (tests): Add test-powl.
36327 (CFLAGS-test-powl.c): Define.
36328 * math/test-powl.c: New file.
36330 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
36332 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
36334 2011-05-17 Ulrich Drepper <drepper@gmail.com>
36337 * iconvdata/gb18030.c: Update to GB18020-2005.
36339 2011-05-16 Ulrich Drepper <drepper@gmail.com>
36341 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
36342 RE_SYNTAX_POSIX_AWK): Update to match recent development.
36343 Patch by Aharon Robbins <arnold@skeeve.com>.
36346 * stdlib/putenv.c (putenv): Don't always create copy of the variable
36350 * misc/pselect.c (__pselect): Handle timeout value errors hidden
36351 through underflows.
36354 * misc/error.c (error_at_line): Ensure file_name and old_file_name
36355 point to strings before performing equality test for error_one_per_line
36359 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
36362 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36363 (struct user_fpregs_struct): Avoid __uint*_t types.
36366 * malloc/mtrace.c (tr_where): Add additional parameter to point to
36367 symbol info. Use it instead of calling _dl_addr locally.
36368 (lock_and_info): New function.
36369 (tr_freehook): Call lock_and_info and pass symbol info as additional
36370 parameter to tr_where.
36371 (tr_mallochook): Likewise.
36372 (tr_reallochook): Likewise.
36373 (tr_memalignhook): Likewise.
36375 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
36376 used and couldn't be at all thread-safe.
36378 2011-05-15 Ulrich Drepper <drepper@gmail.com>
36380 * libio/freopen.c (freopen): Don't close old file descriptor
36381 before the new one is opened. Instead dup the new file descriptor
36382 to the old one after the new stream is created.
36383 * libio/freopen64.c (freopen64): Likewise.
36384 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
36385 * libio/fileops.c (_IO_new_file_close_it): Handle new
36386 _IO_FLAGS2_NOCLOSE flag.
36387 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
36388 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
36389 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
36390 _IO_FLAGS2_NOCLOSE flag.
36391 * include/unistd.h: Add hidden_proto for dup3.
36392 Define __have_dup3.
36393 * io/dup3.c: Define hidden symbol.
36394 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
36397 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
36398 when an incomplete long option is used.
36399 * posix/tst-getopt_long1.c: New file.
36400 * posix/Makefile (tests): Add tst-getopt_long1.
36403 * scripts/config.guess: Update from autoconf-2.68.
36404 * scripts/config.sub: Likewise.
36407 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
36409 (has_cpuclock): ...this. New function.
36410 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
36411 macro here based on has_cpuclock code.
36414 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36415 First byte (not low byte) is now always NUL.
36416 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
36418 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36419 Use non-cancelable interfaces.
36422 * locale/iso-639.def: Add entry for Sorani.
36425 * include/stdlib.h: Move include protection to the right place.
36426 Define abort_msg_s. Declare __abort_msg with it.
36427 * stdlib/abort.c (__abort_msg): Adjust type.
36428 * assert/assert.c (__assert_fail_base): New function. Majority
36429 of code from __assert_fail. Allocate memory for __abort_msg with
36431 (__assert_fail): Now call __assert_fail_base.
36432 * assert/assert-perr.c: Remove bulk of implementation. Use
36433 __assert_fail_base.
36434 * include/assert.hL Declare __assert_fail_base.
36435 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
36437 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
36439 2011-05-14 Ulrich Drepper <drepper@gmail.com>
36443 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
36444 until all modules are registered in the DTV.
36445 * elf/Makefile: Add rules to build and run tst-tls19.
36446 * elf/tst-tls19.c: New file.
36447 * elf/tst-tls19mod1.c: New file.
36448 * elf/tst-tls19mod2.c: New file.
36449 * elf/tst-tls19mod3.c: New file.
36450 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
36453 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
36457 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
36458 two-byte sequence errors.
36459 * iconvdata/Makefile (tests): Add bug-iconv8.
36460 * iconvdata/bug-iconv8.c: New file.
36463 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
36466 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
36469 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
36470 (dummy_getcfa): New function.
36471 (init): Get _Unwind_GetCFA address, use dummy if not found.
36472 (backtrace_helper): In recursion check, also check whether CFA changes.
36473 (__backtrace): Completely initialize arg.
36475 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
36476 storing incomplete byte sequence in state object. Avoid testing for
36477 guaranteed too small input if we know there is enough data available.
36479 2011-05-11 Andreas Schwab <schwab@redhat.com>
36481 * Makeconfig (+link-pie): Indent.
36482 * Rules (binaries-pie): Define if $(have-fpie) and
36484 (binaries-shared): Also filter out $(binaries-pie).
36485 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
36486 * nscd/Makefile (others-pie): Add nscd.
36487 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
36488 ($(objpfx)nscd): Remove command override.
36489 * login/Makefile (others-pie): Add pt_chown.
36490 ($(objpfx)pt_chown): Remove command override.
36491 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
36492 remove command overrides.
36494 2011-05-13 Ulrich Drepper <drepper@gmail.com>
36496 * libio/tst_putwc.c: Fix error messages.
36499 * libio/fileops.c (_IO_new_file_close_it): Always flush when
36500 currently writing and seek to current position when not.
36501 * libio/Makefile (tests): Add bug-fclose1.
36502 * libio/bug-fclose1.c: New file.
36504 2011-05-12 Ulrich Drepper <drepper@gmail.com>
36507 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
36508 don't set DF_1_NODELETE here.
36509 (do_lookup_x): When entering new entry test for copy relocation
36510 and if necessary set DF_1_NODELETE flag.
36511 * elf/tst-unique4.cc: New file.
36512 * elf/tst-unique4.h: New file.
36513 * elf/tst-unique4lib.cc: New file.
36514 * elf/Makefile: Add rules to build and run tst-unique4.
36515 Patch by Piotr Bury <pbury@goahead.com>.
36517 2011-05-11 Ulrich Drepper <drepper@gmail.com>
36520 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
36523 * misc/mntent_r.c (addmntent): Flush the stream after the output
36526 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
36527 (is_trusted_path_normalize): Skip initial colon. Append slash
36528 to empty buffer. Duplicate is_trusted_path code but allow
36529 constructed patch to be prefix.
36530 (is_dst): Allow $ORIGIN followed by /.
36531 (_dl_dst_substitute): Correct clearing of check_for_trusted.
36532 Correct testing of result of is_trusted_path_normalize
36533 (decompose_rpath): Fix warning.
36535 2011-05-10 Ulrich Drepper <drepper@gmail.com>
36538 * grp/initgroups.c (internal_getgrouplist): When we found the service
36539 list through the initgroups entry in nsswitch.conf do not always
36540 continue on a successful lookup. Don't always use the
36541 __nss_group_database value if it is set.
36542 * nss/nsswitch.conf (initgroups): Change action for successful db
36543 lookup to continue for compatibility.
36545 2011-05-09 Ulrich Drepper <drepper@gmail.com>
36548 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
36550 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
36552 * iconvdata/tst-tables.sh: Likewise.
36553 * iconvdata/cp770.c: New file.
36554 * iconvdata/cp771.c: New file.
36555 * iconvdata/cp772.c: New file.
36556 * iconvdata/cp773.c: New file.
36557 * iconvdata/cp774.c: New file.
36558 * iconvdata/testdata/CP770: New file.
36559 * iconvdata/testdata/CP770..UTF8: New file.
36560 * iconvdata/testdata/CP771: New file.
36561 * iconvdata/testdata/CP771..UTF8: New file.
36562 * iconvdata/testdata/CP772: New file.
36563 * iconvdata/testdata/CP772..UTF8: New file.
36564 * iconvdata/testdata/CP773: New file.
36565 * iconvdata/testdata/CP773..UTF8: New file.
36566 * iconvdata/testdata/CP774: New file.
36567 * iconvdata/testdata/CP774..UTF8: New file.
36569 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
36571 * iconvdata/gen-8bit-gap.sh: Likewise.
36572 * iconvdata/gen-8bit.sh: Likewise.
36574 * locale/iso-639.def: Add ary entry.
36577 * locale/C-translit.h.in: Add U20A1 transliteration.
36580 * locale/iso-639.def: Add wae entry.
36581 Patch by Kevin Bortis <bortis@translate-wae.ch>.
36584 * locale/programs/localedef.c (construct_output_path): Use ssize_t
36588 * locale/C-translit.h.in: Add entry for U20B9.
36589 Patch by pravin.d.s@gmail.com.
36591 2011-05-08 Ulrich Drepper <drepper@gmail.com>
36594 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
36595 ENAMETOOLONG use generic getcwd.
36596 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
36597 in rtld. Use *stat64.
36598 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
36599 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
36600 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
36601 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
36602 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
36603 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
36604 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
36605 __fstatat64 macros.
36606 * include/dirent.h: Add libc_hidden_proto for rewinddir.
36607 * dirent/rewinddir.c: Add libc_hidden_def.
36608 * sysdeps/mach/hurd/rewinddir.c: Likewise.
36609 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
36611 * include/dirent.h (__alloc_dir): Add flags parameter.
36612 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
36613 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
36615 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
36616 from fdopendir if O_CLOEXEC is already set.
36618 2011-03-15 Alan Modra <amodra@gmail.com>
36620 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
36621 l_tls_firstbyte_offset non-zero. Save padding offset in
36622 l_tls_firstbyte_offset for later use.
36623 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
36624 freeing static tls block.
36626 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
36628 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
36629 where #ifdef was intended. The intent is to prevent ARG_MAX from
36630 being defined by the kernel headers.
36632 2011-05-07 Ulrich Drepper <drepper@gmail.com>
36635 * resolv/resolv.h: Define RES_NOTLDQUERY.
36636 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
36637 no-tld-query and set RES_NOTLDQUERY.
36638 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
36639 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
36640 modern BIND to search name as TLD unless forbidden.
36642 2011-05-07 Petr Baudis <pasky@suse.cz>
36643 Ulrich Drepper <drepper@gmail.com>
36646 * elf/dl-load.c (fillin_rpath): Move trusted path check...
36647 (is_trusted_path): ...to here.
36648 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
36649 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
36650 using is_trusted_path_normalize() in setuid scripts.
36652 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36654 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
36655 __BEGIN/__END_DECLS.
36657 2011-05-06 Ulrich Drepper <drepper@gmail.com>
36659 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
36660 NSS_STATUS_NOTFOUND if no record was found.
36662 2011-05-05 Andreas Schwab <schwab@redhat.com>
36664 * sunrpc/Makefile (headers): Add rpc/netdb.h.
36665 (headers-not-in-tirpc): Remove rpc/netdb.h
36666 * resolv/netdb.h: Revert last change.
36668 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36670 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
36671 circular dependency between libgcc.a and libc.a.
36673 2011-05-05 Andreas Schwab <schwab@redhat.com>
36675 * resolv/netdb.h: Don't include <rpc/netdb.h>.
36676 * nis/Makefile: Don't install rpcsvc/*.
36677 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
36678 instead of <rpc/types.h>.
36679 (MAXHOSTNAMELEN): Define.
36681 2011-05-03 Andreas Schwab <schwab@redhat.com>
36683 * elf/ldconfig.c (add_dir): Don't crash on empty path.
36685 2011-04-28 Maciej Babinski <mbabinski@google.com>
36688 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
36689 gethostbyname4_r when IPv6 results are possible.
36691 2011-05-02 Ulrich Drepper <drepper@gmail.com>
36694 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
36695 _PC_PIPE_BUF handling.
36697 2011-04-30 Bruno Haible <bruno@clisp.org>
36700 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
36701 * resolv/netdb.h (getnameinfo): Change type of flags parameter
36703 * inet/getnameinfo.c (getnameinfo): Likewise.
36705 2011-04-29 Ulrich Drepper <drepper@gmail.com>
36707 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
36708 to groups setting in database lookup.
36709 * nss/nsswitch.conf: Add initgroups entry.
36711 2011-04-22 Ulrich Drepper <drepper@gmail.com>
36714 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
36716 Patch by Eric Blake <eblake@redhat.com>.
36718 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
36720 * sunrpc/Makefile (need-export-routines): Add svc_run.
36721 (routines): Remove svc_run.
36722 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
36723 * sunrpc/clnt_perr.c (clnt_perrno): Export.
36724 * sunrpc/svc_run.c (svc_run): Likewise.
36725 * sunrpc/svc_udp.c (svcudp_create): Likewise.
36727 2011-04-21 Ulrich Drepper <drepper@gmail.com>
36729 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
36730 problem in reallocation in last patch.
36732 2011-04-20 Ulrich Drepper <drepper@gmail.com>
36734 * sunrpc/Makefile: Move inclusion of Rules.
36736 2011-04-19 Ulrich Drepper <drepper@gmail.com>
36738 * nss/nss_files/files-initgroups.c: New file.
36739 * nss/Makefile (libnss_files-routines): Add files-initgroups.
36740 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
36741 _nss_files_initgroups_dyn.
36743 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
36745 * elf/elf.h (R_ARM_IRELATIVE): Define.
36747 2011-04-19 Ulrich Drepper <drepper@gmail.com>
36749 * po/ru.po: Update from translation team.
36751 2011-04-17 Ulrich Drepper <drepper@gmail.com>
36753 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
36756 2011-02-06 Mike Frysinger <vapier@gentoo.org>
36759 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
36760 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
36761 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36762 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36763 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36765 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
36767 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36769 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36770 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36771 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36773 2011-04-17 Ulrich Drepper <drepper@gmail.com>
36776 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36778 * stdlib/bug-getcontext.c: New file.
36779 * stdlib/Makefile: Add rules to build and run bug-getcontext.
36781 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36783 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36784 instructions into .machine "z9-109".
36785 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36786 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36788 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36790 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36791 between environment variables and auxiliary vector.
36793 2011-04-16 Ulrich Drepper <drepper@gmail.com>
36795 * Makefile: Add rules to build linkobj/libc.so.
36796 * include/libc-symbols.h: Define libc_hidden_nolink.
36797 * include/rpc/auth.h: Mark functions which are to be hidden.
36798 * include/rpc/auth_des.h: Likewise.
36799 * include/rpc/auth_unix.h: Likewise.
36800 * include/rpc/clnt.h: Likewise.
36801 * include/rpc/des_crypt.h: Likewise.
36802 * include/rpc/key_prot.h: Likewise.
36803 * include/rpc/pmap_clnt.h: Likewise.
36804 * include/rpc/pmap_prot.h: Likewise.
36805 * include/rpc/pmap_rmt.h: Likewise.
36806 * include/rpc/rpc_msg.h: Likewise.
36807 * include/rpc/svc.h: Likewise.
36808 * include/rpc/svc_auth.h: Likewise.
36809 * include/rpc/xdr.h: Likewise.
36810 * nis/Makefile: Link all DSOs against linkobj/libc.so.
36811 * nss/Makefile: Likewise.
36812 * sunrpc/Makefile: Don't install headers. Build library with normal
36813 entry points. Don't build rpcinfo. Link RPC tests appropriately.
36814 * sunrpc/auth_des.c: Hide exported symbols by default, export some
36815 for the compat linking library. Remove use of INTDEF/INTUSE.
36816 * sunrpc/auth_none.c: Likewise.
36817 * sunrpc/auth_unix.c: Likewise.
36818 * sunrpc/authdes_prot.c: Likewise.
36819 * sunrpc/authuxprot.c: Likewise.
36820 * sunrpc/clnt_gen.c: Likewise.
36821 * sunrpc/clnt_perr.c: Likewise.
36822 * sunrpc/clnt_raw.c: Likewise.
36823 * sunrpc/clnt_simp.c: Likewise.
36824 * sunrpc/clnt_tcp.c: Likewise.
36825 * sunrpc/clnt_udp.c: Likewise.
36826 * sunrpc/clnt_unix.c: Likewise.
36827 * sunrpc/des_crypt.c: Likewise.
36828 * sunrpc/des_soft.c: Likewise.
36829 * sunrpc/get_myaddr.c: Likewise.
36830 * sunrpc/key_call.c: Likewise.
36831 * sunrpc/key_prot.c: Likewise.
36832 * sunrpc/netname.c: Likewise.
36833 * sunrpc/pm_getmaps.c: Likewise.
36834 * sunrpc/pm_getport.c: Likewise.
36835 * sunrpc/pmap_clnt.c: Likewise.
36836 * sunrpc/pmap_prot.c: Likewise.
36837 * sunrpc/pmap_prot2.c: Likewise.
36838 * sunrpc/pmap_rmt.c: Likewise.
36839 * sunrpc/publickey.c: Likewise.
36840 * sunrpc/rpc_cmsg.c: Likewise.
36841 * sunrpc/rpc_common.c: Likewise.
36842 * sunrpc/rpc_dtable.c: Likewise.
36843 * sunrpc/rpc_prot.c: Likewise.
36844 * sunrpc/rpc_thread.c: Likewise.
36845 * sunrpc/rtime.c: Likewise.
36846 * sunrpc/svc.c: Likewise.
36847 * sunrpc/svc_auth.c: Likewise.
36848 * sunrpc/svc_authux.c: Likewise.
36849 * sunrpc/svc_raw.c: Likewise.
36850 * sunrpc/svc_run.c: Likewise.
36851 * sunrpc/svc_simple.c: Likewise.
36852 * sunrpc/svc_tcp.c: Likewise.
36853 * sunrpc/svc_udp.c: Likewise.
36854 * sunrpc/svc_unix.c: Likewise.
36855 * sunrpc/svcauth_des.c: Likewise.
36856 * sunrpc/xcrypt.c: Likewise.
36857 * sunrpc/xdr.c: Likewise.
36858 * sunrpc/xdr_array.c: Likewise.
36859 * sunrpc/xdr_float.c: Likewise.
36860 * sunrpc/xdr_intXX_t.c: Likewise.
36861 * sunrpc/xdr_mem.c: Likewise.
36862 * sunrpc/xdr_rec.c: Likewise.
36863 * sunrpc/xdr_ref.c: Likewise.
36864 * sunrpc/xdr_sizeof.c: Likewise.
36865 * sunrpc/xdr_stdio.c: Likewise.
36867 2011-04-10 Ulrich Drepper <drepper@gmail.com>
36870 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36871 * sysdeps/ia64/dl-tls.h: Likewise.
36872 * sysdeps/powerpc/dl-tls.h: Likewise.
36873 * sysdeps/s390/dl-tls.h: Likewise.
36874 * sysdeps/sh/dl-tls.h: Likewise.
36875 * sysdeps/sparc/dl-tls.h: Likewise.
36876 * sysdeps/x86_64/dl-tls.h: Likewise.
36877 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36879 2011-03-14 Andreas Schwab <schwab@redhat.com>
36881 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36882 rpath element also skip the following colon.
36883 (expand_dynamic_string_token): Add is_path parameter and pass
36884 down to DL_DST_REQUIRED and _dl_dst_substitute.
36885 (decompose_rpath): Call expand_dynamic_string_token with
36886 non-zero is_path. Ignore empty rpaths.
36887 (_dl_map_object_from_fd): Call expand_dynamic_string_token
36890 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
36892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36895 2011-04-09 Ulrich Drepper <drepper@gmail.com>
36898 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36899 Patch by Filipe David Manana <fdmanana@apache.org>.
36901 2011-04-07 Andreas Schwab <schwab@redhat.com>
36903 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36904 Maintain aligned stack.
36905 (CHECK_RSP): Remove unused macro.
36907 2011-04-03 Ulrich Drepper <drepper@gmail.com>
36909 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36910 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36912 2011-04-02 Ulrich Drepper <drepper@gmail.com>
36914 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36916 * include/features.h: Mention __USE_XOPEN2K8 in comment.
36918 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
36921 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36922 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36923 * sysdeps/x86_64/memmove.c: New file.
36924 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36925 (memcpy): Renamed to ...
36926 (__new_memcpy): This.
36927 (memcpy): Provide GLIBC_2_14 memcpy.
36928 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36929 (memcpy): Provide GLIBC_2_2_5 memcpy.
36931 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36934 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36936 2011-03-30 Andreas Schwab <schwab@redhat.com>
36938 * misc/syncfs.c: New file.
36939 * misc/Makefile (routines): Add syncfs.
36940 * posix/unistd.h: Declare syncfs.
36941 * sysdeps/unix/syscalls.list: Add syncfs.
36943 2011-04-01 Andreas Schwab <schwab@redhat.com>
36945 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36947 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36948 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36949 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36950 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36951 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36952 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36953 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36955 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36957 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36958 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36959 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36960 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36961 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36962 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36963 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36965 * io/Makefile: Compile fallocate.c, fallocate64.c, and
36966 sync_file_range.c with -fexceptions.
36967 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36968 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36969 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36970 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36971 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36972 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36973 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
36974 sync_file_range as cancellation point
36975 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
36976 now a wrapper around __call_sync_file_range with cancellation handling.
36977 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36978 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
36979 function name to __call_sync_file_range.
36980 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36981 Add call_sync_file_range.
36983 2011-04-01 Andreas Schwab <schwab@redhat.com>
36985 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36988 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36990 * iconv/iconv.h: Fix typo in comment.
36991 * io/fcntl.h: Likewise.
36992 * libio/stdio.h: Likewise.
36993 * posix/spawn.h: Likewise.
36994 * posix/unistd.h: Likewise.
36995 * stdlib/stdlib.h: Likewise.
36996 * time/time.h: Likewise.
36997 * wcsmbs/wchar.h: Likewise.
36999 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
37000 open_by_handle): Add.
37001 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
37002 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
37003 Augment a few comments.
37004 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37005 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37006 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37007 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37008 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37009 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
37012 * io/fcntl.h (AT_EMPTY_PATH): Define.
37014 2011-03-30 Ulrich Drepper <drepper@gmail.com>
37016 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
37017 * sysdeps/unix/sysv/linux/bits/time.h: New file.
37018 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
37020 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
37021 * Versions.def: Add GLIBC_2.14.
37022 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
37025 2011-03-22 Ulrich Drepper <drepper@gmail.com>
37027 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
37029 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
37031 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
37034 * string/test-strncmp.c (do_page_test): New function.
37035 (check2): Likewise.
37036 (test_main): Call check2.
37037 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
37039 2011-03-20 Ulrich Drepper <drepper@gmail.com>
37042 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
37043 Handle cache information in CPU leaf 4.
37044 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
37046 2011-03-18 Ulrich Drepper <drepper@gmail.com>
37049 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
37050 character representation.
37051 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
37053 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
37055 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
37056 END(__isnan) to END(__isnanf) to match function entry point/label
37057 EALIGN(__isnanf,...).
37059 2011-03-10 Jakub Jelinek <jakub@redhat.com>
37061 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
37063 2011-03-10 Ulrich Drepper <drepper@gmail.com>
37066 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
37067 copy from the symbol referenced in the relocation to initialize the
37069 Patch by Piotr Bury <pbury@goahead.com>.
37070 * elf/Makefile: Add rules to build and tst-unique3.
37071 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
37072 * elf/tst-unique3.cc: New file.
37073 * elf/tst-unique3.h: New file.
37074 * elf/tst-unique3lib.cc: New file.
37075 * elf/tst-unique3lib2.cc: New file.
37077 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
37079 2011-03-10 Mike Frysinger <vapier@gentoo.org>
37081 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
37082 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
37085 2011-03-06 Ulrich Drepper <drepper@gmail.com>
37087 * elf/dl-load.c (_dl_map_object): If we are looking for the first
37088 to-be-loaded object along a path to loader is ld.so.
37090 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
37091 Ulrich Drepper <drepper@gmail.com>
37093 * sysdeps/x86_64/memset.S: After aligning destination, code
37094 branches to different locations depending on the value of
37095 misalignment, when multiarch is enabled. Fix this.
37097 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
37099 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
37100 Set _x86_64_preferred_memory_instruction for AMD processsors.
37101 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37102 Set bit_Prefer_SSE_for_memop for AMD processors.
37104 2011-03-04 Ulrich Drepper <drepper@gmail.com>
37106 * libio/fmemopen.c (fmemopen): Optimize a bit.
37108 2011-03-03 Andreas Schwab <schwab@redhat.com>
37110 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
37112 2011-03-03 Roland McGrath <roland@redhat.com>
37114 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
37116 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
37118 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
37119 __bzero_ultra1 instead of __memset_ultra1.
37121 2011-02-23 Andreas Schwab <schwab@redhat.com>
37122 Ulrich Drepper <drepper@gmail.com>
37125 * include/link.h (struct link_map): Add l_orig_initfini.
37126 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
37127 returning unsuccessfully.
37128 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
37129 close of a file loaded at startup, restore the original l_initfini
37131 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
37132 list, store the pointer.
37133 * elf/Makefile ($(objpfx)noload-mem): New rule.
37134 (noload-ENV): Define.
37135 (tests): Add $(objpfx)noload-mem.
37136 * elf/noload.c: Include <memcheck.h>.
37137 (main): Call mtrace. Close all opened handles.
37139 2011-02-17 Andreas Schwab <schwab@redhat.com>
37142 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
37143 dependencies are missing.
37145 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
37147 Fix __if_freereq crash: Unlike the generic version which uses free,
37149 * sysdeps/mach/hurd/ifreq.h: New file.
37151 2011-01-27 Petr Baudis <pasky@suse.cz>
37152 Ulrich Drepper <drepper@gmail.com>
37155 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
37156 to extend_alloca().
37157 * stdio-common/bug23.c: New file.
37158 * stdio-common/Makefile (tests): Add bug23.
37160 2010-09-28 Andreas Schwab <schwab@redhat.com>
37161 Ulrich Drepper <drepper@gmail.com>
37164 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
37165 before performing relro protection. At old place add assertion
37166 to make sure nothing changed.
37168 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
37169 Glauber de Oliveira Costa <glommer@gmail.com>
37171 * elf/elf.h: Add new ARM TLS relocs.
37173 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
37175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37176 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
37178 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
37180 * sysdeps/wordsize-64/tst-writev.c: New file.
37182 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
37184 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
37185 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
37186 insns in _dl_start to prevent a TOC reference before relocs are
37189 2011-02-15 Ulrich Drepper <drepper@gmail.com>
37192 * Makeconfig: Remove RANLIB definition.
37193 * Makerules: Don't use RANLIB.
37194 * aclocal.m4: Remove ranlib test.
37195 * configure.in: No need to check for ranlib.
37196 * elf/rtld-Rules: Don't use RANLIB.
37198 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
37200 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
37202 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
37203 inclusion protection macro.
37205 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
37206 SIGRTMIN and SIGRTMAX and print information in that case only when
37207 SIGRTMIN is defined.
37209 2011-02-11 Jakub Jelinek <jakub@redhat.com>
37211 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
37212 arginfo fn returning -1.
37214 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
37215 and thousands string is zero terminated.
37217 2011-02-03 Andreas Schwab <schwab@redhat.com>
37219 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
37220 sysdeps/unix/sysv/linux/bits/socket.h.
37222 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
37224 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
37225 (__CPU_COUNT): Remove old macros.
37226 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
37227 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
37228 (__CPU_ALLOC, __CPU_FREE): Add macros.
37229 (__sched_cpualloc, __sched_cpufree): Add declarations.
37231 2011-02-05 Ulrich Drepper <drepper@gmail.com>
37233 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
37234 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
37235 * nscd/aicache.c (addhstaiX): Return timeout of added value.
37236 (readdhstai): Return value of addhstaiX call.
37237 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
37238 (addgrbyX): Return value returned by cache_addgr.
37239 (readdgrbyname): Return value returned by addgrbyX.
37240 (readdgrbygid): Likewise.
37241 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
37242 (addpwbyX): Return value returned by cache_addpw.
37243 (readdpwbyname): Return value returned by addhstbyX.
37244 (readdpwbyuid): Likewise.
37245 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
37246 (addservbyX): Return value returned by cache_addserv.
37247 (readdservbyname): Return value returned by addservbyX:
37248 (readdservbyport): Likewise.
37249 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
37250 (addhstbyX): Return value returned by cache_addhst.
37251 (readdhstbyname): Return value returned by addhstbyX.
37252 (readdhstbyaddr): Likewise.
37253 (readdhstbynamev6): Likewise.
37254 (readdhstbyaddrv6): Likewise.
37255 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
37256 (readdinitgroups): Return value returned by addinitgroupsX.
37257 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
37258 (prune_cache): Keep track of timeout value of re-added entries.
37259 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
37260 * nscd/nscd.h: Adjust prototypes of readd* functions.
37262 2011-02-04 Roland McGrath <roland@redhat.com>
37264 * nis/nis_server.c (nis_servstate): Use the right name for 0.
37265 (nis_stats): Likewise.
37266 * nis/nis_modify.c (nis_modify): Likewise.
37267 * nis/nis_remove.c (nis_remove): Likewise.
37268 * nis/nis_add.c (nis_add): Likewise.
37270 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
37272 * posix/fnmatch_loop.c: Add some consts.
37274 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
37276 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
37279 * config.make.in (config-cflags-novzeroupper): Define.
37280 * configure.in: Substitute libc_cv_cc_novzeroupper.
37281 * elf/Makefile (AVX-CFLAGS): Define.
37282 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
37283 (CFLAGS-tst-auditmod4a.c): Likewise.
37284 (CFLAGS-tst-auditmod4b.c): Likewise.
37285 (CFLAGS-tst-auditmod6b.c): Likewise.
37286 (CFLAGS-tst-auditmod6c.c): Likewise.
37287 (CFLAGS-tst-auditmod7b.c): Likewise.
37288 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
37290 2011-02-02 Ulrich Drepper <drepper@gmail.com>
37292 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
37293 function to the callback.
37294 Patch partly by Jiri Olsa <jolsa@redhat.com>.
37296 2011-02-02 Andreas Schwab <schwab@redhat.com>
37298 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
37301 2011-01-19 Ulrich Drepper <drepper@gmail.com>
37304 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
37306 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
37308 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
37311 * elf/Makefile: Add rules to build and run new test.
37312 * elf/tst-initorder.c: New file.
37313 * elf/tst-initorder.exp: New file.
37314 * elf/tst-initordera1.c: New file.
37315 * elf/tst-initordera2.c: New file.
37316 * elf/tst-initordera3.c: New file.
37317 * elf/tst-initordera4.c: New file.
37318 * elf/tst-initorderb1.c: New file.
37319 * elf/tst-initorderb2.c: New file.
37320 * elf/tst-order-a1.c: New file.
37321 * elf/tst-order-a2.c: New file.
37322 * elf/tst-order-a3.c: New file.
37323 * elf/tst-order-a4.c: New file.
37324 * elf/tst-order-b1.c: New file.
37325 * elf/tst-order-b2.c: New file.
37326 * elf/tst-order-main.c: New file.
37327 New test case by George Gensure <werkt0@gmail.com>.
37329 2010-10-01 Andreas Schwab <schwab@redhat.com>
37331 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
37332 decoding ACE if AI_CANONIDN.
37334 2011-01-18 Ulrich Drepper <drepper@gmail.com>
37336 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
37338 2011-01-17 Ulrich Drepper <drepper@gmail.com>
37340 * version.h (RELEASE): Bump for 2.13 release.
37341 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
37343 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
37345 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
37347 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
37348 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37349 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37350 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37351 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37352 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37354 * posix/getconf.c: Update copyright year.
37355 * catgets/gencat.c: Likewise.
37356 * csu/version.c: Likewise.
37357 * debug/catchsegv.sh: Likewise.
37358 * debug/xtrace.sh: Likewise.
37359 * elf/ldconfig.c: Likewise.
37360 * elf/ldd.bash.in: Likewise.
37361 * elf/sprof.c (print_version): Likewise.
37362 * iconv/iconv_prog.c: Likewise.
37363 * iconv/iconvconfig.c: Likewise.
37364 * locale/programs/locale.c: Likewise.
37365 * locale/programs/localedef.c: Likewise.
37366 * malloc/memusage.sh: Likewise.
37367 * malloc/mtrace.pl: Likewise.
37368 * nscd/nscd.c (print_version): Likewise.
37369 * nss/getent.c: Likewise.
37371 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
37372 PF_CAIF, and PF_ALG.
37373 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37375 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
37377 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
37378 (modules-names): Use them.
37379 (ifunc-test-modules, ifunc-pie-tests): Define.
37380 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
37381 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
37382 (test-extras): Likewise.
37383 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
37384 $(compile-command.c).
37385 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
37386 (all-built-dso): Define.
37387 (check-textrel.out, check-execstack.out): Depend on it.
37389 * configure.in: Don't override --enable-multi-arch.
37391 2011-01-15 Ulrich Drepper <drepper@gmail.com>
37394 * nscd/hstcache.c (tryagain): Define.
37395 (cache_addhst): Return tryagain not notfound for temporary errors.
37396 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
37399 2011-01-14 Ulrich Drepper <drepper@gmail.com>
37402 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
37403 to make the syscall.
37404 * sysdeps/unix/sysv/linux/setgroups.c: New file.
37407 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
37408 and fall back to matching as normal character if the string ends before
37409 the matching ']' is found. This is what POSIX requires.
37410 * posix/testfnm.c: Adjust test result.
37411 * posix/globtest.sh: Adjust test result. Add new test.
37412 * posix/tst-fnmatch.input: Likewise.
37413 * posix/tst-fnmatch2.c: Add new test.
37415 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
37417 * elf/Makefile (check-execstack): Revert last change. Depend on
37419 (check-execstack.h): New target.
37420 (generated): Add check-execstack.h.
37421 * elf/check-execstack.c: Include "check-execstack.h".
37422 (main): Revert last change.
37423 (handle_file): Return zero if GNU_STACK is absent and
37424 DEFAULT_STACK_PERMS doesn't include PF_X.
37426 2011-01-13 Ulrich Drepper <drepper@gmail.com>
37428 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
37429 in child fails because the descriptor is already closed.
37430 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
37431 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
37432 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
37435 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
37439 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
37440 temporary buffer used to handle multi lookups locally.
37441 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
37443 2011-01-12 Ulrich Drepper <drepper@gmail.com>
37445 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
37448 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
37450 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
37451 alignment for SSE2.
37453 2011-01-12 Ulrich Drepper <drepper@gmail.com>
37456 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
37457 characters. When rounding increased number of integer digits recompute
37459 * stdio-common/tst-grouping.c: New file.
37460 * stdio-common/Makefile: Add rules to build and run tst-grouping.
37462 2011-01-09 Ulrich Drepper <drepper@gmail.com>
37464 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
37465 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
37467 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
37469 * bits/select.h: Likewise.
37471 2011-01-08 Ulrich Drepper <drepper@gmail.com>
37473 * po/ja.po: Update from translation team.
37475 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
37478 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
37479 implementation just like for lxstat, fxstatat, et al.
37481 2010-12-27 Jim Meyering <meyering@redhat.com>
37484 * posix/regexec.c (build_trtable): Return failure indication upon
37485 calloc failure. Otherwise, re_search_internal could infloop on OOM.
37487 2010-12-25 Ulrich Drepper <drepper@gmail.com>
37490 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
37491 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
37492 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
37493 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
37496 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
37499 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
37500 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
37502 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
37504 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
37505 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
37506 script has SORT_BY_INIT_PRIORITY.
37507 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
37508 NO_CTORS_DTORS_SECTIONS is defined.
37509 * elf/soinit.c: Likewise.
37510 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
37511 NO_CTORS_DTORS_SECTIONS is defined.
37512 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
37513 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
37514 * sysdeps/sh/init-first.c: Likewise.
37515 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
37517 2010-12-24 Ulrich Drepper <drepper@gmail.com>
37519 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
37520 always use the slow path.
37522 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
37524 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
37525 similar rule which adds the sysdep directories to the header search in
37526 order to pick up the correct platform stackinfo.h.
37527 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
37528 perform test if it is, otherwise return successfully without testing.
37529 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
37530 DEFAULT_STACK_PERMS define in stackinfo.h.
37531 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
37532 defined in stackinfo.h.
37533 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
37534 DEFAULT_STACK_PERMS defined in stackinfo.h.
37535 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
37536 * sysdeps/ia64/stackinfo.h: Likewise.
37537 * sysdeps/s390/stackinfo.h: Likewise.
37538 * sysdeps/sh/stackinfo.h: Likewise.
37539 * sysdeps/sparc/stackinfo.h: Likewise.
37540 * sysdeps/x86_64/stackinfo.h: Likewise.
37541 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
37542 PF_X for powerpc64. Retain PF_X for powerpc32.
37544 2010-12-19 Ulrich Drepper <drepper@gmail.com>
37546 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
37548 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
37549 GETDENTS_64BIT_ALIGNED.
37551 2010-12-14 Ulrich Drepper <dreper@gmail.com>
37553 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
37555 2010-12-10 Andreas Schwab <schwab@redhat.com>
37557 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
37560 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
37561 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
37563 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
37564 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
37566 2010-12-09 Ulrich Drepper <drepper@gmail.com>
37569 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
37572 2010-12-09 Jakub Jelinek <jakub@redhat.com>
37574 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
37576 2010-12-03 Ulrich Drepper <drepper@gmail.com>
37578 * po/it.po: Update from translation team.
37580 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
37582 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
37585 2010-11-30 Ulrich Drepper <drepper@gmail.com>
37587 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
37589 2010-11-24 Andreas Schwab <schwab@redhat.com>
37591 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
37593 (gaih_getanswer_slice): Likewise.
37595 2010-10-20 Jakub Jelinek <jakub@redhat.com>
37597 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
37599 2010-05-31 Petr Baudis <pasky@suse.cz>
37602 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
37603 silently even in the chroot mode.
37605 2010-11-22 Ulrich Drepper <drepper@gmail.com>
37607 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
37608 last patch a bit. Pretty printing
37610 2010-05-31 Petr Baudis <pasky@suse.cz>
37613 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
37614 initialization of skip_initgroups_dyn.
37616 2010-11-19 Ulrich Drepper <drepper@gmail.com>
37618 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
37619 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37621 2010-11-16 Ulrich Drepper <drepper@gmail.com>
37623 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
37625 2010-11-11 Andreas Schwab <schwab@redhat.com>
37627 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
37628 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
37629 (tst-fnmatch-ENV): Set MALLOC_TRACE.
37630 ($(objpfx)tst-fnmatch-mem): New rule.
37631 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
37632 * posix/tst-fnmatch.c (main): Call mtrace.
37634 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
37636 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37637 Support Intel processor model 6 and model 0x2c.
37639 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
37641 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
37644 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
37647 * string/test-strncasecmp.c (check_result): New function.
37648 (do_one_test): Use it.
37649 (check1): New function.
37650 (test_main): Use it.
37651 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
37652 Support strcasecmp and strncasecmp.
37654 2010-11-08 Ulrich Drepper <drepper@gmail.com>
37657 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
37658 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37660 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
37662 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
37664 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37666 * sysdeps/x86_64/multiarch/bzero.S: New file.
37667 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
37668 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
37669 * sysdeps/x86_64/multiarch/memset.S: New file.
37670 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
37671 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37672 Set bit_Prefer_SSE_for_memop for Intel processors.
37673 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
37675 (index_Prefer_SSE_for_memop): Define.
37676 (HAS_PREFER_SSE_FOR_MEMOP): Define.
37678 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
37680 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
37681 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
37683 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
37686 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37687 (__x86_64_raw_data_cache_size_half): Likewise.
37688 (__x86_64_raw_shared_cache_size): Likewise.
37689 (__x86_64_raw_shared_cache_size_half): Likewise.
37691 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37692 (__x86_64_raw_data_cache_size_half): Likewise.
37693 (__x86_64_raw_shared_cache_size): Likewise.
37694 (__x86_64_raw_shared_cache_size_half): Likewise.
37695 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
37696 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
37697 and __x86_64_raw_shared_cache_size_half. Round
37698 __x86_64_data_cache_size_half, __x86_64_data_cache_size
37699 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
37700 to multiple of 256 bytes.
37702 2010-11-03 Ulrich Drepper <drepper@gmail.com>
37705 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
37706 of inacessible symlinks. Verify result of symlink before returning it.
37707 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37708 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
37710 2010-10-28 Erich Ritz <erichritz@gmail.com>
37712 * math/math.h (isinf): Fix typo in comment.
37714 2010-11-01 Ulrich Drepper <drepper@gmail.com>
37716 * po/da.po: Update from translation team.
37718 2010-10-26 Ulrich Drepper <drepper@gmail.com>
37720 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
37721 is added to the list.
37723 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37724 Ulrich Drepper <drepper@gmail.com>
37726 * elf/dl-object.c (_dl_new_object): Don't append the new object to
37727 the global list here. Move code to...
37728 (_dl_add_to_namespace_list): ...here. New function.
37729 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
37730 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
37731 * elf/dl-load.c (lose): Don't remove the element from the list.
37732 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
37733 (_dl_map_object): Likewise.
37735 2010-10-25 Ulrich Drepper <drepper@gmail.com>
37738 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
37739 into all bytes of SSE register.
37740 Patch by Richard Li <richardpku@gmail.com>.
37742 2010-10-24 Ulrich Drepper <drepper@gmail.com>
37745 * malloc/malloc.c (_int_free): Fill correct number of bytes when
37748 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
37750 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
37751 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
37752 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
37753 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
37756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
37758 2010-10-22 Andreas Schwab <schwab@redhat.com>
37760 * include/dlfcn.h (__RTLD_SECURE): Define.
37761 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
37762 mode & __RTLD_SECURE instead.
37763 (open_path): Rename preloaded parameter to secure.
37764 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
37765 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
37766 * elf/dl-deps.c (openaux): Likewise.
37767 * elf/rtld.c (struct map_args): Remove is_preloaded.
37768 (map_doit): Don't use it.
37769 (dl_main): Likewise.
37770 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37771 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37773 2010-09-09 Andreas Schwab <schwab@redhat.com>
37775 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37776 (sysd-rules-targets): Remove duplicates.
37777 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37778 rtld-%.$o dependency.
37780 2010-10-18 Andreas Schwab <schwab@redhat.com>
37782 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37783 _dl_map_object do it.
37785 2010-10-19 Ulrich Drepper <drepper@gmail.com>
37787 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37788 fast fma builtins, define the macros in the C99 standard.
37789 (FP_FAST_FMAF): Likewise.
37790 (FP_FAST_FMAL): Likewise.
37791 * sysdeps/x86_64/bits/mathdef.h: Likewise.
37793 * bits/mathdef.h: Update copyright year.
37794 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37796 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
37798 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37799 builtins, define the macros in the C99 standard.
37800 (FP_FAST_FMAF): Likewise.
37801 (FP_FAST_FMAL): Likewise.
37802 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37804 (FP_FAST_FMAF): Likewise.
37806 2010-10-15 Jakub Jelinek <jakub@redhat.com>
37809 * math/libm-test.inc (fma_test): Some new testcases.
37810 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37811 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37812 y and infinite z. Do multiplication by C already in long double.
37813 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37814 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37815 y and infinite z. Do bitwise or of inexact bit into u.d.
37816 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37817 * sysdeps/i386/fpu/s_fmaf.S: Removed.
37818 * sysdeps/i386/fpu/s_fma.S: Removed.
37819 * sysdeps/i386/fpu/s_fmal.S: Removed.
37821 2010-10-16 Jakub Jelinek <jakub@redhat.com>
37824 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37825 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37826 computation is not scheduled after fetestexcept. Fix value
37827 of minimum denormal long double.
37829 2010-10-14 Jakub Jelinek <jakub@redhat.com>
37832 * math/libm-test.inc (fma_test): Add some more tests.
37833 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37836 2010-10-15 Andreas Schwab <schwab@redhat.com>
37838 * scripts/data/localplt-s390-linux-gnu.data: New file.
37839 * scripts/data/localplt-s390x-linux-gnu.data: New file.
37841 2010-10-13 Jakub Jelinek <jakub@redhat.com>
37844 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37845 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37847 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37849 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37850 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37851 if one of x and y is very large and the other is subnormal.
37852 * sysdeps/s390/fpu/s_fmaf.c: New file.
37853 * sysdeps/s390/fpu/s_fma.c: New file.
37854 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37855 * sysdeps/powerpc/fpu/s_fma.S: New file.
37856 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37857 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37858 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37860 2010-10-12 Jakub Jelinek <jakub@redhat.com>
37863 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37865 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37866 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37867 * sysdeps/i386/i686/multiarch/s_fma.c: Include
37868 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37869 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37870 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37871 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37873 2010-10-12 Ulrich Drepper <drepper@redhat.com>
37876 * posix/regcomp.c (parse_branch): One more memory leak plugged.
37877 * posix/bug-regex31.input: Add test case.
37879 2010-10-11 Ulrich Drepper <drepper@gmail.com>
37881 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37882 * posix/bug-regex31.input: New file.
37885 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37886 (parse_sub_exp): Fix last change, use postorder.
37888 * posix/bug-regex31.c: New file.
37889 * posix/Makefile: Add rules to build and run bug-regex31.
37891 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37894 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37897 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37898 to have entries in sys_siglist.
37901 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37904 2010-10-07 Jakub Jelinek <jakub@redhat.com>
37907 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37908 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37909 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37910 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37911 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37912 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37913 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37914 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37915 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37916 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37917 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37918 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37919 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37920 * math/ftestexcept.c (fetestexcept): Likewise.
37921 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37922 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37923 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37924 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37925 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37926 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37927 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37929 2010-10-11 Ulrich Drepper <drepper@gmail.com>
37932 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37935 2010-10-06 Ulrich Drepper <drepper@gmail.com>
37937 * string/bug-strstr1.c: New file.
37938 * string/Makefile: Add rules to build and run bug-strstr1.
37940 2010-10-05 Eric Blake <eblake@redhat.com>
37943 * string/str-two-way.h (two_way_long_needle): Always clear memory
37944 when skipping input due to the shift table.
37946 2010-10-03 Ulrich Drepper <drepper@gmail.com>
37949 * malloc/mcheck.c: Handle large requests.
37952 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37953 for strncmp and strncasecmp.
37954 * string/stratcliff.c: Add tests for strcmp and strncmp.
37955 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37957 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37959 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37962 2010-09-30 Andreas Jaeger <aj@suse.de>
37964 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37965 (CGROUP_SUPER_MAGIC): Define.
37966 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37967 Handle btrfs and cgroup file systems.
37968 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37971 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
37973 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37974 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37976 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37979 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37980 trying to locate the ELF header.
37982 2010-09-27 Andreas Schwab <schwab@redhat.com>
37985 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37986 Mask out sign-bit copies when constructing f_fsid.
37988 2010-09-24 Petr Baudis <pasky@suse.cz>
37990 * debug/stack_chk_fail_local.c: Add missing licence exception.
37991 * debug/warning-nop.c: Likewise.
37993 2010-09-15 Joseph Myers <joseph@codesourcery.com>
37995 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37996 implementing getdents64 using getdents syscall, set d_type if
37997 __ASSUME_GETDENTS32_D_TYPE.
37999 2010-09-16 Andreas Schwab <schwab@redhat.com>
38001 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
38002 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
38004 2010-09-21 Ulrich Drepper <drepper@redhat.com>
38007 * posix/unistd.h: Undo change of feature selection for ftruncate from
38010 2010-09-20 Ulrich Drepper <drepper@redhat.com>
38012 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
38015 2010-09-20 Andreas Schwab <schwab@redhat.com>
38017 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
38019 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38021 2010-09-14 Andreas Schwab <schwab@redhat.com>
38023 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
38024 variables after CHECK_SP call.
38025 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
38027 2010-09-13 Andreas Schwab <schwab@redhat.com>
38028 Ulrich Drepper <drepper@redhat.com>
38030 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
38031 re-relocationg ld.so.
38032 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
38033 _dl_init_paths call.
38034 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
38037 2010-09-14 Ulrich Drepper <drepper@redhat.com>
38039 * resolv/res_init.c (__res_vinit): Count the default server we added.
38041 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
38042 Ulrich Drepper <drepper@redhat.com>
38045 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38046 (____longjmp_chk): Use %ebx for saving value across system call.
38049 2010-09-06 Andreas Schwab <schwab@redhat.com>
38051 * manual/Makefile: Don't mix pattern rules with normal rules.
38053 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
38055 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
38057 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
38058 * libio/iofopncook.c (_IO_cookie_init): Likewise.
38059 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
38060 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
38061 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38064 2010-09-04 Ulrich Drepper <drepper@redhat.com>
38067 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
38068 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
38070 2010-09-02 Ulrich Drepper <drepper@redhat.com>
38072 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
38073 * sysdeps/x86_64/addmul_1.S: Likewise.
38074 * sysdeps/x86_64/lshift.S: Likewise.
38075 * sysdeps/x86_64/mul_1.S: Likewise.
38076 * sysdeps/x86_64/rshift.S: Likewise.
38077 * sysdeps/x86_64/sub_n.S: Likewise.
38078 * sysdeps/x86_64/submul_1.S: Likewise.
38080 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
38082 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
38083 Define __sched_param instead of SCHED_* and sched_param when
38084 <bits/sched.h> is included with __need_schedparam defined.
38085 * bits/sched.h [__need_schedparam]
38086 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
38087 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
38088 (__defined_schedparam): Define to 1.
38089 (__sched_param): New structure, identical to sched_param.
38090 (__need_schedparam): Undefine.
38092 2010-08-31 Mike Frysinger <vapier@gentoo.org>
38094 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
38095 (epoll_create1): Declare.
38097 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
38099 2010-08-31 Andreas Schwab <schwab@redhat.com>
38102 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
38103 shifting retval into place.
38105 2010-09-01 Ulrich Drepper <drepper@redhat.com>
38107 * nis/rpcsvc/nis.h: Update copyright notice.
38108 * nis/rpcsvc/nis.x: Likewise.
38109 * nis/rpcsvc/nis_callback.h: Likewise.
38110 * nis/rpcsvc/nis_callback.x: Likewise.
38111 * nis/rpcsvc/nis_object.x: Likewise.
38112 * nis/rpcsvc/nis_tags.h: Likewise.
38113 * nis/rpcsvc/yp.h: Likewise.
38114 * nis/rpcsvc/yp.x: Likewise.
38115 * nis/rpcsvc/ypupd.h: Likewise.
38116 * nis/yp_xdr.c: Likewise.
38117 * nis/ypupdate_xdr.c: Likewise.
38119 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
38120 mainly the body of pmap_getport. Add parameters to specify timeouts.
38121 (pmap_getport): Use __libc_rpc_getport.
38122 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
38123 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
38124 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
38126 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
38128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
38131 2010-08-27 Roland McGrath <roland@redhat.com>
38133 * sysdeps/i386/i686/multiarch/Makefile
38134 (CFLAGS-varshift.c): New variable.
38136 2010-08-27 Ulrich Drepper <drepper@redhat.com>
38138 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
38139 * sysdeps/i386/i686/multiarch/varshift.c: New file.
38141 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
38143 * sysdeps/x86_64/strlen.S: Minimal code improvement.
38145 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
38147 * sysdeps/x86_64/strlen.S: Unroll the loop.
38148 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38149 strlen-sse2 strlen-sse2-bsf.
38150 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
38151 __strlen_no_bsf if bit_Slow_BSF is set.
38152 (__strlen_sse42): Removed.
38153 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
38154 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
38156 2010-08-25 Roland McGrath <roland@redhat.com>
38158 * sysdeps/x86_64/multiarch/varshift.S: File removed.
38159 * sysdeps/x86_64/multiarch/varshift.c: New file.
38160 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
38161 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
38162 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
38163 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
38165 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
38167 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38168 strlen-sse2 strlen-sse2-bsf.
38169 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
38170 __strlen_sse2_bsf if bit_Slow_BSF is unset.
38171 (__strlen_sse2): Removed.
38172 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
38173 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
38174 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
38175 bit_Slow_BSF for Atom.
38176 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
38177 (index_Slow_BSF): Define.
38178 (HAS_SLOW_BSF): Define.
38180 2010-08-25 Ulrich Drepper <drepper@redhat.com>
38183 * resolv/res_init.c (__res_vinit): When no server address at all
38184 is given default to loopback.
38186 2010-08-24 Roland McGrath <roland@redhat.com>
38188 * configure.in: Remove config-name.h generation.
38189 * configure: Regenerated.
38190 * config-name.in: File removed.
38191 * scripts/config-uname.sh: New file.
38192 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
38193 ($(objdir)config-name.h): New target.
38195 * sunrpc/rpc_parse.h: Avoid nested comment.
38197 2010-08-24 Richard Henderson <rth@redhat.com>
38198 Ulrich Drepper <drepper@redhat.com>
38199 H.J. Lu <hongjiu.lu@intel.com>
38201 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
38202 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
38203 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
38204 Replace _mm_srli_si128 with __m128i_shift_right. Replace
38205 _mm_alignr_epi8 with _mm_loadu_si128.
38206 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
38207 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
38208 (__m128i_shift_right): Removed.
38209 * sysdeps/i386/i686/multiarch/varshift.h: New file.
38210 * sysdeps/i386/i686/multiarch/varshift.S: New file.
38211 * sysdeps/x86_64/multiarch/varshift.h: New file.
38212 * sysdeps/x86_64/multiarch/varshift.S: New file.
38214 2010-08-21 Mike Frysinger <vapier@gentoo.org>
38216 * configure.in: Move assembler checks to before sysdep dir checking.
38218 2010-08-20 Petr Baudis <pasky@suse.cz>
38220 * LICENSES: Sync the sunrpc license.
38222 2010-08-19 Ulrich Drepper <drepper@redhat.com>
38224 * sunrpc/auth_des.c: Update copyright notice once again.
38225 * sunrpc/auth_none.c: Likewise.
38226 * sunrpc/auth_unix.c: Likewise.
38227 * sunrpc/authdes_prot.c: Likewise.
38228 * sunrpc/authuxprot.c: Likewise.
38229 * sunrpc/bindrsvprt.c: Likewise.
38230 * sunrpc/clnt_gen.c: Likewise.
38231 * sunrpc/clnt_perr.c: Likewise.
38232 * sunrpc/clnt_raw.c: Likewise.
38233 * sunrpc/clnt_simp.c: Likewise.
38234 * sunrpc/clnt_tcp.c: Likewise.
38235 * sunrpc/clnt_udp.c: Likewise.
38236 * sunrpc/clnt_unix.c: Likewise.
38237 * sunrpc/des_crypt.c: Likewise.
38238 * sunrpc/des_soft.c: Likewise.
38239 * sunrpc/get_myaddr.c: Likewise.
38240 * sunrpc/getrpcport.c: Likewise.
38241 * sunrpc/key_call.c: Likewise.
38242 * sunrpc/key_prot.c: Likewise.
38243 * sunrpc/openchild.c: Likewise.
38244 * sunrpc/pm_getmaps.c: Likewise.
38245 * sunrpc/pm_getport.c: Likewise.
38246 * sunrpc/pmap_clnt.c: Likewise.
38247 * sunrpc/pmap_prot.c: Likewise.
38248 * sunrpc/pmap_prot2.c: Likewise.
38249 * sunrpc/pmap_rmt.c: Likewise.
38250 * sunrpc/rpc/auth.h: Likewise.
38251 * sunrpc/rpc/auth_unix.h: Likewise.
38252 * sunrpc/rpc/clnt.h: Likewise.
38253 * sunrpc/rpc/des_crypt.h: Likewise.
38254 * sunrpc/rpc/key_prot.h: Likewise.
38255 * sunrpc/rpc/netdb.h: Likewise.
38256 * sunrpc/rpc/pmap_clnt.h: Likewise.
38257 * sunrpc/rpc/pmap_prot.h: Likewise.
38258 * sunrpc/rpc/pmap_rmt.h: Likewise.
38259 * sunrpc/rpc/rpc.h: Likewise.
38260 * sunrpc/rpc/rpc_des.h: Likewise.
38261 * sunrpc/rpc/rpc_msg.h: Likewise.
38262 * sunrpc/rpc/svc.h: Likewise.
38263 * sunrpc/rpc/svc_auth.h: Likewise.
38264 * sunrpc/rpc/types.h: Likewise.
38265 * sunrpc/rpc/xdr.h: Likewise.
38266 * sunrpc/rpc_clntout.c: Likewise.
38267 * sunrpc/rpc_cmsg.c: Likewise.
38268 * sunrpc/rpc_common.c: Likewise.
38269 * sunrpc/rpc_cout.c: Likewise.
38270 * sunrpc/rpc_dtable.c: Likewise.
38271 * sunrpc/rpc_hout.c: Likewise.
38272 * sunrpc/rpc_main.c: Likewise.
38273 * sunrpc/rpc_parse.c: Likewise.
38274 * sunrpc/rpc_parse.h: Likewise.
38275 * sunrpc/rpc_prot.c: Likewise.
38276 * sunrpc/rpc_sample.c: Likewise.
38277 * sunrpc/rpc_scan.c: Likewise.
38278 * sunrpc/rpc_scan.h: Likewise.
38279 * sunrpc/rpc_svcout.c: Likewise.
38280 * sunrpc/rpc_tblout.c: Likewise.
38281 * sunrpc/rpc_util.c: Likewise.
38282 * sunrpc/rpc_util.h: Likewise.
38283 * sunrpc/rpcinfo.c: Likewise.
38284 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
38285 * sunrpc/rpcsvc/key_prot.x: Likewise.
38286 * sunrpc/rpcsvc/klm_prot.x: Likewise.
38287 * sunrpc/rpcsvc/mount.x: Likewise.
38288 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
38289 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
38290 * sunrpc/rpcsvc/rex.x: Likewise.
38291 * sunrpc/rpcsvc/rstat.x: Likewise.
38292 * sunrpc/rpcsvc/rusers.x: Likewise.
38293 * sunrpc/rpcsvc/sm_inter.x: Likewise.
38294 * sunrpc/rpcsvc/spray.x: Likewise.
38295 * sunrpc/rpcsvc/yppasswd.x: Likewise.
38296 * sunrpc/rtime.c: Likewise.
38297 * sunrpc/svc.c: Likewise.
38298 * sunrpc/svc_auth.c: Likewise.
38299 * sunrpc/svc_authux.c: Likewise.
38300 * sunrpc/svc_raw.c: Likewise.
38301 * sunrpc/svc_run.c: Likewise.
38302 * sunrpc/svc_simple.c: Likewise.
38303 * sunrpc/svc_tcp.c: Likewise.
38304 * sunrpc/svc_udp.c: Likewise.
38305 * sunrpc/svc_unix.c: Likewise.
38306 * sunrpc/svcauth_des.c: Likewise.
38307 * sunrpc/xcrypt.c: Likewise.
38308 * sunrpc/xdr.c: Likewise.
38309 * sunrpc/xdr_array.c: Likewise.
38310 * sunrpc/xdr_float.c: Likewise.
38311 * sunrpc/xdr_mem.c: Likewise.
38312 * sunrpc/xdr_rec.c: Likewise.
38313 * sunrpc/xdr_ref.c: Likewise.
38314 * sunrpc/xdr_sizeof.c: Likewise.
38315 * sunrpc/xdr_stdio.c: Likewise.
38317 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
38320 2010-08-19 Andreas Schwab <schwab@redhat.com>
38322 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
38324 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
38326 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
38327 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
38328 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
38329 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
38330 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
38331 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
38332 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
38333 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
38334 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
38335 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
38336 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
38337 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
38338 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
38339 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
38341 2010-07-26 Anton Blanchard <anton@samba.org>
38343 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
38344 * malloc/arena.c (heap_trim): Likewise.
38346 2010-08-16 Ulrich Drepper <drepper@redhat.com>
38348 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
38350 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
38351 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
38353 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
38355 * sysdeps/i386/elf/Makefile: New file.
38357 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38359 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
38360 from fanotify_init.
38361 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
38362 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38364 2010-08-15 Ulrich Drepper <drepper@redhat.com>
38366 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
38368 * sysdeps/multiarch/strcmp.S: Likewise.
38370 2010-08-14 Ulrich Drepper <drepper@redhat.com>
38372 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38373 strncase_l-nonascii.
38374 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38375 Add strncase_l-ssse3.
38376 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
38377 * sysdeps/x86_64/strcmp.S: Likewise.
38378 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
38379 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
38380 * sysdeps/x86_64/strncase.S: New file.
38381 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
38382 * sysdeps/x86_64/strncase_l.S: New file.
38383 * string/Makefile (strop-tests): Add strncasecmp.
38384 * string/test-strncasecmp.c: New file.
38386 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
38389 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
38390 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
38392 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38394 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
38396 2010-08-12 Ulrich Drepper <drepper@redhat.com>
38398 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
38399 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
38400 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
38402 2010-05-01 Alan Modra <amodra@gmail.com>
38404 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
38405 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
38406 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
38407 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
38408 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
38409 tidying. Don't tail-call __sigjmp_save for static lib.
38410 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
38412 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
38413 (CALL_MCOUNT): Add eh info, and nop after bl.
38414 (TAIL_CALL_SYSCALL_ERROR): New macro.
38415 (PSEUDO_RET): Use it.
38416 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
38417 Correct save location of integer regs and cr.
38418 (_dl_profile_resolve): Correct cr save location. Delete nops
38419 after bl when SHARED. Reduce cfi size a little by better
38420 placement of cfi directives.
38421 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
38422 make a stack frame. Instead use parm save area as a temp.
38423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
38424 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
38425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
38426 Don't make a stack frame for parent, use parm save area.
38427 Increase child stack frame to 112 bytes. Don't save unused reg,
38428 and adjust reg usage. Set up cfi on error recovery and
38429 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
38430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38431 (__makecontext): Add dummy nop after jump to exit.
38432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
38433 Use correct parm save area and cr save, reduce stack frame.
38434 Correct cfi for possible PSEUDO_RET frame setup.
38435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
38436 Branch to local label emitted by PSEUDO_RET rather than
38439 2010-08-12 Andreas Schwab <schwab@redhat.com>
38442 * locale/programs/locale.c (print_assignment): New function.
38443 (show_locale_vars): Use it.
38445 2010-08-11 Ulrich Drepper <drepper@redhat.com>
38447 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
38449 (struct statfs64): Likewise.
38450 (_STATFS_F_FLAGS): Define.
38451 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
38452 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38453 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
38454 (ST_VALID): Define locally.
38455 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
38456 __statvfs_getflags, use the provided value.
38457 * sysdeps/unix/sysv/linux/kernel-features.h: Define
38458 __ASSUME_STATFS_F_FLAGS.
38460 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
38462 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
38463 Add sys/fanotify.h.
38464 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
38465 fanotify_mask for GLIBC_2.13.
38466 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
38467 fanotify_init and fanotify_mark.
38468 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38469 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
38471 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
38473 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
38474 prlimit64 for GLIBC_2.13.
38475 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
38477 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
38479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
38480 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38481 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
38482 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
38483 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
38485 * sysdeps/unix/sysv/linux/prlimit.c: New file.
38488 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
38489 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
38491 * nss/Makefile: Add rules to build and run tst-nss-test1.
38492 * shlib-versions: Add entry for libnss_test1.
38493 * nss/nss_test1.c: New file.
38494 * nss/tst-nss-test1.c: New file.
38496 * nss/nsswitch.c (__nss_database_custom): Define new variable.
38497 (__nss_configure_lookup): Set appropriate entry in
38498 __nss_configure_lookup to true.
38499 * nss/nsswitch.h: Define enum with indeces of databases in
38500 databases and __nss_database_custom arrays. Declare
38501 __nss_database_custom.
38502 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
38503 to avoid using nscd when custom rules are installed.
38504 * nss/getXXbyYY_r.c: Likewise.
38505 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38507 * nss/nss_files/files-parse.c: Whitespace fixes.
38509 2010-08-09 Ulrich Drepper <drepper@redhat.com>
38512 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
38513 * posix/fnmatch_loop.c: Likewise.
38515 2010-07-17 Andi Kleen <ak@linux.intel.com>
38517 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
38518 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
38519 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
38520 * Versions.def [GLIBC_2.13]: Add.
38522 2010-08-06 Ulrich Drepper <drepper@redhat.com>
38524 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38525 Also fail if tpwd after pwuid call is NULL.
38527 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
38529 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
38530 when converting to ms.
38532 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38534 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
38535 EOPNOTSUPP errors with ENOTTY.
38536 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
38537 EOPNOTSUPP errors with ENOTTY.
38539 2010-07-31 Ulrich Drepper <drepper@redhat.com>
38541 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38542 Add strcasecmp_l-ssse3.
38543 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
38545 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
38546 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
38547 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
38549 2010-07-30 Ulrich Drepper <drepper@redhat.com>
38551 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
38553 * string/Makefile (strop-tests): Add strcasecmp.
38554 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38555 strcasecmp_l-nonascii.
38556 (gen-as-const-headers): Add locale-defines.sym.
38557 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
38558 * sysdeps/x86_64/strcasecmp.S: New file.
38559 * sysdeps/x86_64/strcasecmp_l.S: New file.
38560 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
38561 * sysdeps/x86_64/locale-defines.sym: New file.
38562 * string/test-strcasecmp.c: New file.
38564 * string/test-strcasestr.c: Test both ends of the range of characters.
38565 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
38567 2010-07-29 Roland McGrath <roland@redhat.com>
38570 * manual/locale.texi (Yes-or-No Questions): Fix example code.
38572 2010-07-27 Ulrich Drepper <drepper@redhat.com>
38574 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
38577 2010-07-27 Andreas Schwab <schwab@redhat.com>
38579 * manual/memory.texi (Malloc Tunable Parameters): Document
38582 2010-07-26 Roland McGrath <roland@redhat.com>
38585 * configure.in (-fgnu89-inline check): Set and substitute
38586 gnu89_inline, not libc_cv_gnu89_inline.
38587 * configure: Regenerated.
38588 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
38590 2010-07-26 Ulrich Drepper <drepper@redhat.com>
38592 * string/test-strnlen.c: New file.
38593 * string/Makefile (strop-tests): Add strnlen.
38594 * string/tester.c (test_strnlen): Add a few more test cases.
38595 * string/tst-strlen.c: Better error reporting.
38597 * sysdeps/x86_64/strnlen.S: New file.
38599 2010-07-24 Ulrich Drepper <drepper@redhat.com>
38601 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
38602 lower-latency instructions.
38604 2010-07-23 Ulrich Drepper <drepper@redhat.com>
38606 * string/test-strcasestr.c: New file.
38607 * string/test-strstr.c: New file.
38608 * string/Makefile (strop-tests): Add strstr and strcasestr.
38609 * string/str-two-way.h: Don't undefine MAX.
38610 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
38612 2010-07-21 Andreas Schwab <schwab@redhat.com>
38614 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38615 strcasestr-nonascii.
38616 (CFLAGS-strcasestr-nonascii.c): Define.
38617 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
38618 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
38619 Remove unused attribute.
38621 2010-07-20 Roland McGrath <roland@redhat.com>
38623 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
38624 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
38625 ld.so.cache was broken. With it, there is no way to disable dsocaps
38626 like LD_HWCAP_MASK can disable hwcaps.
38628 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38630 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
38632 2010-07-16 Ulrich Drepper <drepper@redhat.com>
38634 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
38635 call in strcasestr.
38636 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
38637 __strcasestr_sse42_nonascii.
38638 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
38639 strcasestr-nonascii.c.
38640 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
38642 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
38644 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
38645 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
38646 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
38647 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
38649 2010-07-09 Ulrich Drepper <drepper@redhat.com>
38651 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
38654 2010-07-06 Andreas Schwab <schwab@redhat.com>
38657 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
38660 2010-07-06 Ulrich Drepper <drepper@redhat.com>
38662 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
38663 _PC_PIPE_BUF using F_GETPIPE_SZ.
38665 2010-07-05 Roland McGrath <roland@redhat.com>
38667 * manual/arith.texi (Rounding Functions): Fix rint description
38668 implicit in round description.
38670 2010-07-02 Ulrich Drepper <drepper@redhat.com>
38672 * elf/Makefile: Fix linking for a few tests to make recent linker
38675 2010-06-30 Andreas Schwab <schwab@redhat.com>
38677 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38678 $(common-objpfx)libc_nonshared.a.
38680 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
38682 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
38683 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
38684 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38685 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38686 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
38687 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
38688 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38689 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
38691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
38692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
38693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
38695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
38697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
38698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
38699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
38700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
38702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
38704 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
38705 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
38706 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
38707 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
38708 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
38709 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
38710 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
38711 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
38712 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
38713 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
38714 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
38715 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
38716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
38717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
38718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
38719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
38720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
38721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
38722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
38723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
38724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
38725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
38726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
38727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
38728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
38729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
38731 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
38733 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
38734 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
38735 * string/memmove.c (memmove): Renamed to ...
38736 (MEMMOVE): ...this. Default to memmove.
38737 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
38738 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
38740 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38741 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
38742 mempcpy-ssse3-back memmove-ssse3-back.
38743 * sysdeps/x86_64/multiarch/bcopy.S: New file .
38744 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
38745 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
38746 * sysdeps/x86_64/multiarch/memcpy.S: New file.
38747 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
38748 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
38749 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
38750 * sysdeps/x86_64/multiarch/memmove.c: New file.
38751 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
38752 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
38753 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
38754 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
38755 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
38756 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
38758 (index_Fast_Copy_Backward): Define.
38759 (HAS_ARCH_FEATURE): Define.
38760 (HAS_FAST_REP_STRING): Define.
38761 (HAS_FAST_COPY_BACKWARD): Define.
38763 2010-06-21 Andreas Schwab <schwab@redhat.com>
38765 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38766 Restore proper fallback handling.
38768 2010-06-19 Ulrich Drepper <drepper@redhat.com>
38771 * posix/group_member.c (__group_member): Correct checking loop.
38773 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38774 OOM in getpwuid_r correctly. Return error number when the caller
38775 should return, otherwise -1.
38776 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38777 call returning > 0 value.
38778 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38780 2010-06-07 Andreas Schwab <schwab@redhat.com>
38782 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38783 libc_nonshared.a from targets in modules-names.
38785 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
38787 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38790 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
38792 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38793 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38794 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38795 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38797 2010-06-02 Andreas Schwab <schwab@redhat.com>
38799 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38801 2010-06-14 Ulrich Drepper <drepper@redhat.com>
38803 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38805 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38806 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38807 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38808 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38809 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38810 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38812 2010-06-14 Roland McGrath <roland@redhat.com>
38814 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38816 2010-06-07 Jakub Jelinek <jakub@redhat.com>
38818 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38819 __REDIRECT followed by __THROW.
38820 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38821 * posix/getopt.h (getopt): Likewise.
38823 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38825 * hurd/lookup-at.c (__file_name_lookup_at): Accept
38826 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
38827 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38829 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38830 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38832 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
38834 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38836 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
38839 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38840 Properly check family and model.
38842 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
38844 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38846 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
38848 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38850 2010-05-21 Ulrich Drepper <drepper@redhat.com>
38852 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38855 2010-05-19 Andreas Schwab <schwab@redhat.com>
38857 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38860 2010-05-21 Andreas Schwab <schwab@redhat.com>
38862 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38863 and internal_recvmmsg.
38864 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38865 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38866 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38867 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38869 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38870 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38871 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38873 2010-05-20 Andreas Schwab <schwab@redhat.com>
38875 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38877 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
38879 POWER7 optimizations.
38880 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38881 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38883 2010-05-19 Ulrich Drepper <drepper@redhat.com>
38885 * version.h: Update for 2.13 development version.
38887 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
38889 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38890 exceptions. Return 0.
38892 2010-05-07 Roland McGrath <roland@redhat.com>
38894 * elf/ldconfig.c (main): Add a const.
38896 2010-05-06 Ulrich Drepper <drepper@redhat.com>
38898 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38899 (args_options): Add no-idn option.
38900 (ahosts_keys_int): Add idn_flags to ai_flags.
38901 (parse_option): Handle 'i' option to clear idn_flags.
38903 * malloc/malloc.c (_int_free): Possible race in the most recently
38904 added check. Only act on the data if no current modification
38907 See ChangeLog.17 for earlier changes.