linux: bits/in.h: sync with latest kernel headers
[glibc.git] / ChangeLog
blobaefcb38eb1800c90650fe868bc665fc5eafa8e45
1 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
4         (IP_PMTUDISC_INTERFACE): Likewise.
5         (IP_MULTICAST_IF): Likewise.
6         (IP_MULTICAST_TTL): Likewise.
7         (IP_MULTICAST_LOOP): Likewise.
8         (IP_ADD_MEMBERSHIP): Likewise.
9         (IP_DROP_MEMBERSHIP): Likewise.
10         (IP_UNBLOCK_SOURCE): Likewise.
11         (IP_BLOCK_SOURCE): Likewise.
12         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
13         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
14         (IP_MSFILTER): Likewise.
15         (MCAST_JOIN_GROUP): Likewise.
16         (MCAST_BLOCK_SOURCE): Likewise.
17         (MCAST_UNBLOCK_SOURCE): Likewise.
18         (MCAST_LEAVE_GROUP): Likewise.
19         (MCAST_JOIN_SOURCE_GROUP): Likewise.
20         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
21         (MCAST_MSFILTER): Likewise.
22         (IP_MULTICAST_ALL): Likewise.
23         (IP_UNICAST_IF): Likewise.
25 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
27         * timezone/Makefile: Delete $(have-ksh) check.
28         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
29         * timezone/tzselect.ksh: Add +x mode bits.
31 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
33         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
34         (ANON_INODE_FS_MAGIC): Likewise.
35         (BDEVFS_MAGIC): Likewise.
36         (BINFMTFS_MAGIC): Likewise.
37         (BTRFS_TEST_MAGIC): Likewise.
38         (CRAMFS_MAGIC_WEND): Likewise.
39         (DEBUGFS_MAGIC): Likewise.
40         (ECRYPTFS_SUPER_MAGIC): Likewise.
41         (EXT3_SUPER_MAGIC): Likewise.
42         (EXT4_SUPER_MAGIC): Likewise.
43         (FUTEXFS_SUPER_MAGIC): Likewise.
44         (HOSTFS_SUPER_MAGIC): Likewise.
45         (HUGETLBFS_MAGIC): Likewise.
46         (MINIX3_SUPER_MAGIC): Likewise.
47         (MTD_INODE_FS_MAGIC): Likewise.
48         (NILFS_SUPER_MAGIC): Likewise.
49         (OPENPROM_SUPER_MAGIC): Likewise.
50         (PIPEFS_MAGIC): Likewise.
51         (PSTOREFS_MAGIC): Likewise.
52         (QNX6_SUPER_MAGIC): Likewise.
53         (RAMFS_MAGIC): Likewise.
54         (REISERFS_SUPER_MAGIC_STRING): Likewise.
55         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
56         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
57         (SECURITYFS_MAGIC): Likewise.
58         (SELINUX_MAGIC): Likewise.
59         (SMACK_MAGIC): Likewise.
60         (SOCKFS_MAGIC): Likewise.
61         (SQUASHFS_MAGIC): Likewise.
62         (STACK_END_MAGIC): Likewise.
63         (TMPFS_MAGIC): Likewise.
64         (USBDEVICE_SUPER_MAGIC): Likewise.
65         (V9FS_MAGIC): Likewise.
66         (XENFS_SUPER_MAGIC): Likewise.
67         (CRAMFS_MAGIC): Fix typo in comment.
68         (EXT2_SUPER_MAGIC): Update comment.
69         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
71 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
73         * sysdeps/arm: Move directory from ports/sysdeps/arm.
74         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
75         * sysdeps/unix/sysv/linux/arm: Move directory from
76         ports/sysdeps/unix/sysv/linux/arm.
77         * README: Update listing for arm-*-linux-gnueabi.
79         * README: Remove mention of am33.
81 2014-02-07  Roland McGrath  <roland@hack.frob.com>
83         * bits/sigset.h (__sigemptyset): Use a statement expression rather
84         than the comma operator, to avoid "rhs of comma has no effect"
85         compiler warnings.
86         (__sigfillset, __sigandset, __sigorset): Likewise.
87         * include/signal.h (__sigemptyset): Likewise.
88         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
90 2014-02-07  Allan McRae  <allan@archlinux.org>
92         * version.h (RELEASE): Set to "development".
93         (VERSION): Set to "2.19.90"
94         * NEWS: Add 2.20 section.
96 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
98         [BZ #16529]
99         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
101 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
103         * manual/contrib.texi: Update entry for Carlos O'Donell,
104         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
106 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
108         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
110         * sysdeps/unix/sysv/linux/kernel-features.h
111         [__LINUX_KERNEL_VERSION >= 0x020621]
112         (__ASSUME_PROC_PID_TASK_COMM): Define.
114 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
116         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
117         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
118         Leonard and Allan McRae.
120 2014-02-04  David S. Miller  <davem@davemloft.net>
122         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
123         32-bit.
125 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
128         file
129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
130         New file
131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
132         file.
133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
134         file.
135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
136         New file.
137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
138         file.
139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
140         file.
141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
142         New file.
143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
144         New file.
145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
146         New file.
147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
148         New file.
149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
150         New file.
151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
152         New file.
154 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
156         * nptl/shlib-versions: Change powerpc*le start to 2.17.
157         * shlib-versions: Likewise.
159 2014-02-04  Roland McGrath  <roland@hack.frob.com>
160             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
162         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
163         (abilist-pattern): New variable, set to %-le.abilist.
165         * Makerules (abilist-pattern): New variable.
166         (vpath): Use $(abilist-pattern) in place of %.abilist.
167         (check-abi-% pattern rule): Likewise.
168         (check-abi, update-abi): Likewise.
170 2014-02-04  Eric Wong  <normalperson@yhbt.net>
172         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
174 2014-02-04  Eric Wong  <normalperson@yhbt.net>
176         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
178 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
180         * manual/startup.texi: Add next, previous, and top entries for
181         the `Program Arguments' and `Environment Variables' nodes.
183 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
185         * manual/macros.texi: Add comments before MTASC-safety macros.
187         * manual/users.texi: Document MTASC-safety properties.
189         * manual/threads.texi (pthread_key_create, pthread_key_delete,
190         pthread_getspecific, pthread_setspecific): Format with
191         @deftypefun, and add @safety note.
192         * manual/signal.texi: Move comments that analyze the above
193         functions to their home place.
195 2014-02-03  Allan McRae  <allan@archlinux.org>
197         * po/sl.po: Update Slovenian translation from translation project.
199 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
201         * manual/time.texi (timegm): Add missing blank after @c.
202         Reported by Joseph Myers <joseph@codesourcery.com>.
204 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
206         * manual/check-safety.sh: New.
207         * manual/Makefile ($(objpfx)stamp-summary): Run it.
209         * manual/terminal.texi: Document MTASC-safety properties.
211         * manual/filesys.texi: Document MTASC-safety properties.
213         * manual/errno.texi: Document MTASC-safety properties.
215         * manual/intro.texi: Document safety identifiers and
216         conditionals.
218         * manual/string.texi (wcstok): Fix prototype.
219         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
221         * manual/time.texi: Document MTASC-safety properties.
223         * manual/string.texi: Document MTASC-safety properties.
225         * manual/threads.texi: Document MTASC-safety properties.
227         * manual/stdio.texi: Document MTASC-safety properties.
229         * manual/syslog.texi: Document MTASC-safety properties.
231         * manual/sysinfo.texi: Document MTASC-safety properties.
233         * manual/startup.texi: Document MTASC-safety properties.
235         * manual/socket.texi: Document MTASC-safety properties.
237         * manual/signal.texi: Document MTASC-safety properties.
239 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
241         * manual/setjmp.texi: Document MTASC-safety properties.
243         * manual/search.texi: Document MTASC-safety properties.
245         * manual/resource.texi: Document MTASC-safety properties.
247         * manual/process.texi: Document MTASC-safety properties.
249         * manual/platform.texi: Document MTASC-safety properties.
251         * manual/pipe.texi: Document MTASC-safety properties.
253         * manual/pattern.texi: Document MTASC-safety properties.
255         * manual/message.texi: Document MTASC-safety properties.
257         [BZ #12751]
258         * manual/memory.texi: Document MTASC-safety properties.
260         * manual/math.texi: Document MTASC-safety properties.
262         * manual/locale.texi: Document MTASC-safety properties.
264         * manual/llio.texi: Document MTASC-safety properties.
266         * manual/libdl.texi: New.
268         * manual/lang.texi: Document MTASC-safety properties.
270         * manual/job.texi: Document MTASC-safety properties.
272         * manual/getopt.texi: Document MTASC-safety properties.
274         * manual/ctype.texi: Document MTASC-safety properties.
276 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
278         [BZ #16046]
279         * csu/libc-tls.c (static_map): Remove variable.
280         (__libc_setup_tls): Use main executable's link map for TLS data.
281         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
282         casing for LM_ID_BASE and GL(dl_nns).
283         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
284         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
285         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
286         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
287         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
288         member.
289         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
290         l_phnum members.
292 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
294         * manual/debug.texi: Document MTASC-safety properties.
296 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
298         [BZ #16510]
299         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
300         of __x86_64__ when disabling x87 inline functions.
302 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
304         * manual/charset.texi: Document MTASC-safety properties.
306         * manual/crypt.texi: Document MTASC-safety properties.
308         * manual/conf.texi: Document MTASC-safety properties.
310         * manual/arith.texi: Document MTASC-safety properties.
312         * manual/argp.texi: Document MTASC-safety properties.
314         * manual/macros.texi: Introduce macros to document multi
315         thread, asynchronous signal and asynchronous cancellation
316         safety properties.
317         * manual/intro.texi: Introduce the properties themselves.
319 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
321         * sysdeps/sh/sh4/Makefile: New file.
323 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
325         * math/gen-libm-test.pl ($srcdir): New variable.
326         ($auto_input): Use it.
328 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
330         [BZ #16506]
331         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
332         access beyond array bounds when parsing netgroups file.
334         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
335         the old buffer before realloc.
337 2014-01-27  Allan McRae  <allan@archlinux.org>
339         * po/fr.po: Update French translation from translation project.
341 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
343         * sysdeps/sh/libm-test-ulps: Regenerate.
345 2014-01-24  David S. Miller  <davem@davemloft.net>
347         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
349 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
351         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
352         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
354 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
356         [BZ #16474]
357         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
358         string pointers after reallocation.
360 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
362         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
363         __SH4A__ instead of __SH_FPU_ANY__.
365 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
367         * sysdeps/sh/fpu_control.h: New file.
368         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
369         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
370         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
371         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
372         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
373         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
374         * sysdeps/sh/sys/ucontext.h: Remove.
375         * sysdeps/sh/sys: Remove directory.
377 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
379         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
380         s390/sys/ucontext.h.
381         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
382         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
384 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
386         [BZ #15605]
387         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
389 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
391         [BZ#16431]
392         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
393         Adjust the vDSO correctly for internal calls.
394         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
396 2014-01-20  Allan McRae  <allan@archlinux.org>
398         * po/ca.po: Update Catalan translation from translation project.
400 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
402         * sysdeps/s390/sotruss-lib.c: New file.
404 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
406         [BZ#16430]
407         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
408         (__GI___gettimeofday): Alias for a different internal symbol to avoid
409         local calls issues by not having a PLT stub required for IFUNC calls.
410         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
412 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
414         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
415         * math/test-fpucw-static.c: Likewise.
417 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
419         [BZ #16453]
420         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
422 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
424         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
425         implementation for powerpc.
427 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
429         [BZ #14782]
430         * sysdeps/posix/system.c (__libc_system): Do not enable
431         asynchronous cancellation.
433 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
435         [BZ #16427]
436         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
437         handling only for numbers special also in the IEEE case.
439 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
441         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
443 2014-01-11  Allan McRae  <allan@archlinux.org>
445         * po/bg.po: Update Bulgarian translation from translation project.
447         * po/de.po: Update German translation from translation project.
449 2014-01-10  Roland McGrath  <roland@hack.frob.com>
451         * sysdeps/generic/gcc-compat.h: New file.
453 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
455         * benchtests/asin-inputs: Correct slow inputs.
456         * benchtests/acos-inputs: Likewise.
458 2014-01-10  Allan McRae  <allan@archlinux.org>
460         * po:sv.po: Update Swedish translation from translation project.
462         * po/vi.po: Update Vietnamese translation from translation project.
464         * po/eo.po: Update Esperanto translation from translation project.
466         * po/cs.po: Update Czech translation from translation project.
468         * po/nl.po: Update Dutch translation from translation project.
470         * po/pl.po: Update Polish translation from translation project.
472         * po/ru.po: Update Russian translation from translation project.
474         * po/uk.po: Update Ukrainian translation from translation project.
476 2014-01-08  Brooks Moses  <bmoses@google.com>
478         * elf/dl-load.c: Fix comment typo.
480 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
482         * po/header.pot: Rename to...
483         * po/pot.header: ... this.
484         * po/Makefile: Use pot.header.
486 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
487             Maxim Kuvyrkov  <maxim@kugelworks.com>
489         [BZ #16394]
490         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
491         SRC and DEST against LEN.
493 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
495         [BZ #16414]
496         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
497         implementation.
498         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
500 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
502         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
504 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
506         [BZ #16408]
507         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
508         for large positive arguments.
510 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
512         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
514         * math/auto-libm-test-in: Mark various tests with
515         xfail-rounding:ldbl-128ibm.
516         * math/auto-libm-test-out: Regenerated.
518         [BZ #16407]
519         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
520         Increase overflow threshold.
522 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
524         [BZ #14286]
525         * stdio-common/vfprintf.c: Check for integer overflow.
527 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
529         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
530         the first argument and return value of __tls_get_addr_internal.
532 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
534         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
535         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
537 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
539         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
540         * sysdeps/s390/rtld-global-offsets.sym: New file.
541         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
542         GLIBC_2.19 symbol.
543         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
544         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
545         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
546         ... this.
547         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
548         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
549         ... this.
550         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
551         Regenerate.
552         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
553         Regenerate.
554         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
555         halfs of GPRs for high_gprs contexts.
556         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
557         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
558         field.
559         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
560         uc_flags field.
561         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
562         64 bit versions:
563         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
564         for high GPRs (uc_high_gprs) and for future extensions
565         (__reserved).
566         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
567         for future extensions (__reserved).
568         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
569         64 bit versions:
570         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
571         SC_HIGHGPRS offset definition.
572         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
573         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
575 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
577         * Versions.def: Add GLIBC_2.19 for libpthread.
578         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
579         siglongjmp for libpthread with GLIBC_2.19 symver.
580         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
581         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
582         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
583         * sysdeps/s390/__longjmp.c: New file.
584         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
585         * sysdeps/s390/longjmp.c: New file.
586         * sysdeps/s390/setjmp.S: New file.
587         * sysdeps/s390/sigjmp.S: New file.
588         * sysdeps/s390/v1-longjmp.c: New file.
589         * sysdeps/s390/v1-setjmp.h: New file.
590         * sysdeps/s390/v1-sigjmp.c: New file.
591         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
592         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
593         GLIBC_2.19 version.
594         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
595         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
596         versioned symbols for ____longjmp_chk.
597         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
598         Likewise.
599         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
600         Regenerate.
601         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
602         Regenerate.
603         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
604         Regenerate.
605         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
606         Regenerate.
607         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
608         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
609         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
610         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
611         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
612         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
613         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
614         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
615         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
616         * sysdeps/s390/rtld-__longjmp.c: New file.
617         * sysdeps/s390/rtld-setjmp.S: New file.
619 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
621         [BZ #16400]
622         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
623         Return -__logl (x) for small positive arguments without evaluating
624         a polynomial.
626 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
628         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
629         Rename to ...
630         (__ptrace_peeksiginfo_args): ... this.
631         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
632         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
633         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
635 2014-01-06  Allan McRae  <allan@archlinux.org>
637         * inet/netinet/in.h: Fix typo in comment.
639 2014-01-05  Andreas Jaeger  <aj@suse.de>
641         * sysdeps/i386/fpu/libm-test-ulps: Update.
643 2014-01-05  Allan McRae  <allan@archlinux.org>
645         * po/libc.pot: Regenerated.
647         * malloc/memusagestat.c: Fix gettext call formatting.
649 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
651         * nscd/nscd.c: Improve usage() output.
653 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
655         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
656         * sysdeps/unix/sysv/linux/configure: Regenerated.
657         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
658         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
660 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
662         [BZ #16390]
663         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
664         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
666 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
668         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
669         extra tokens at end of #undef directive.
670         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
671         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
672         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
674 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
676         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
678         * math/auto-libm-test-in: Mark various tests with
679         xfail-rounding:ldbl-128ibm.
680         * math/auto-libm-test-out: Regenerated.
682 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
684         [BZ #16386]
685         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
686         numbers with subnormal high part when calculating exponent.
688         [BZ #16385]
689         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
690         fabs.
692         [BZ #16384]
693         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
694         M_LN2l.
695         (__ieee754_acoshl): Use __log1pl not __log1p.
697 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
699         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
700         ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
701         __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
702         heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
703         Convert to GNU style.
704         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
705         mem2mem_check, mem2chunk_check, top_check, realloc_check,
706         memalign_check, __malloc_set_state): Likewise.
707         * malloc/mallocbug.c (main): Likewise.
708         * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
709         do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
710         mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
711         _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
712         musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
713         * malloc/malloc.h: Likewise.
714         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
715         memalignhook, reallochook, mabort): Likewise.
716         * malloc/mcheck.h: Likewise.
717         * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
718         mmap64, mremap, munmap, dest): Likewise.
719         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
720         * malloc/morecore.c (__default_morecore): Likewise.
721         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
722         * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
723         _obstack_allocated_p, obstack_free, _obstack_memory_used,
724         print_and_abort): Likewise.
725         * malloc/obstack.h: Likewise.
726         * malloc/set-freeres.c (__libc_freeres): Likewise.
727         * malloc/tst-mallocstate.c (main): Likewise.
728         * malloc/tst-mtrace.c (main): Likewise.
729         * malloc/tst-realloc.c (do_test): Likewise.
731 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
733         [BZ #16366]
734         * nscd/netgroupcache.c (do_notfound): New function.
735         (addgetnetgrentX): Use it.
737         [BZ # 16365]
738         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
739         NSS_STATUS_NOTFOUND.
741 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
743         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
746 2014-01-01  Allan McRae  <allan@archlinux.org>
748         * scripts/update-copyrights: Update configure input file suffix.
750         * NEWS: Update copyright year.
751         * catgets/gencat.c: Likewise.
752         * csu/version.c: Likewise.
753         * debug/catchsegv.sh: Likewise.
754         * debug/pcprofiledump.c: Likewise.
755         * debug/xtrace.sh: Likewise.
756         * elf/ldconfig.c: Likewise.
757         * elf/ldd.bash.in: Likewise.
758         * elf/pldd.c: Likewise.
759         * elf/sotruss.ksh: Likewise.
760         * elf/sprof.c: Likewise.
761         * iconv/iconv_prog.c: Likewise.
762         * iconv/iconvconfig.c: Likewise.
763         * locale/programs/locale.c: Likewise.
764         * locale/programs/localedef.c: Likewise.
765         * login/programs/pt_chown.c: Likewise.
766         * malloc/memusage.sh: Likewise.
767         * malloc/memusagestat.c: Likewise.
768         * malloc/mtrace.pl: Likewise.
769         * manual/libc.texinfo: Likewise.
770         * nscd/nscd.c: Likewise.
771         * nss/getent.c: Likewise.
772         * nss/makedb.c: Likewise.
773         * posix/getconf.c: Likewise.
774         * scripts/test-installation.pl: Likewise.
776         * All files with FSF copyright notices: Update copyright dates
777         using scripts/update-copyrights.
778         * intl/plural.c: Regenerated.
779         * locale/programs/charmap-kw.h: Likewise.
780         * locale/programs/locfile-kw.h: Likewise.
782 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
784         * sysdeps/unix/sysv/linux/configure: Regenerated.
785         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
786         the linux/fanotify.h header.
787         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
788         HAVE_LINUX_FANOTIFY_H is defined.
790 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
792         * benchtests/cos-inputs: New inputs.
793         * benchtests/sin-inputs: Likewise.
795         * benchtests/atan-inputs: New inputs. Fix name of multiple
796         precision fallback inputs.
798         * benchtests/atanh-inputs: New inputs.
799         * benchtests/tanh-inputs: Likewise.
801         * benchtests/acosh-inputs: New inputs.
802         * benchtests/asinh-inputs: Likewise.
804         * benchtests/cosh-inputs: New inputs.
805         * benchtests/sinh-inputs: Likewise.
807         * benchtests/acos-inputs: Add more inputs.
808         * benchtests/asin-inputs: Likewise.
810 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
812         [BZ #16375]
813         * manual/arith.texi: Fix spelling.
814         * manual/charset.texi: Likewise.
815         * manual/errno.texi: Likewise.
816         * manual/filesys.texi: Likewise.
817         * manual/lang.texi: Likewise.
818         * manual/llio.texi: Likewise.
819         * manual/locale.texi: Likewise.
820         * manual/message.texi: Likewise.
821         * manual/resource.texi: Likewise.
822         * manual/search.texi: Likewise.
823         * manual/setjmp.texi: Likewise.
824         * manual/stdio.texi: Likewise.
825         * manual/string.texi: Likewise.
826         * manual/sysinfo.texi: Likewise.
827         * manual/time.texi: Likewise.
829 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
831         * po/sl.po: New file.
833 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
835         * .gitignore: Add core/.gdbinit/.gdb_history.
837 2013-12-27  Allan McRae  <allan@archlinux.org>
839         [BZ #16369]
840         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
841         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
843 2013-12-24  Brooks Moses  <bmoses@google.com>
845         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
846         all compilers that claim C++98 compliance, not just GCC.
847         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
848         Likewise.
850 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
852         * NEWS: Restore accidentally deleted bug-fix entries.
854 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
855             Ondřej Bílka  <neleai@seznam.cz>
857         [BZ #15073]
858         * malloc/malloc.c (_int_free): Perform sanity check only if we
859         have_lock.
861 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
863         [BZ #12986]
864         * manual/stdio.texi (String Input Conversions): Clarify that character
865         classes are not supported.
867 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
869         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
871 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
873         [BZ #16337]
874         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
875         Calculate results for small negative arguments directly rather
876         than using reflection formula with special underflow handling.
878         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
879         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
880         sysdeps/unix/bsd/bsd4.4/syscalls.list.
881         (fchflags): Likewise.
882         (revoke): Likewise.
883         (setlogin): Likewise.
884         (sigaltstack): Likewise.
885         (wait4): Likewise.
886         (sigblock): Remove.
887         (sigsetmask): Likewise.
888         (wait3): Likewise.
889         (waitpid): Likewise.
890         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
891         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
892         file.
893         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
894         * sysdeps/unix/bsd/Makefile: ... here.
895         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
896         * sysdeps/unix/bsd/Versions: ... here.
897         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
898         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
899         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
900         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
901         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
902         * sysdeps/unix/bsd/sigblock.c: ... here.
903         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
904         * sysdeps/unix/bsd/sigsetmask.c: ... here.
905         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
906         * sysdeps/unix/bsd/sigvec.c: ... here.
907         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
908         * sysdeps/unix/bsd/tcdrain.c: ... here.
909         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
910         * sysdeps/unix/bsd/tcgetattr.c: ... here.
911         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
912         * sysdeps/unix/bsd/tcsetattr.c: ... here.
913         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
914         * sysdeps/unix/bsd/wait.c: ... here.
915         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
916         * sysdeps/unix/bsd/wait3.c: ... here.
917         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
918         * sysdeps/unix/bsd/waitpid.c: ... here.
920 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
922         [BZ #16356]
923         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
924         round-to-nearest for [!USE_AS_EXPM1L].
925         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
926         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
927         more tests of exp and exp10.  Expect some exp10 tests to miss
928         exceptions or fail in directed rounding modes.
929         * math/auto-libm-test-out: Regenerated.
930         * math/libm-test.inc (exp10_tonearest_test_data): New array.
931         (exp10_test_tonearest): New function.
932         (exp10_towardzero_test_data): New array.
933         (exp10_test_towardzero): New function.
934         (exp10_downward_test_data): New array.
935         (exp10_test_downward): New function.
936         (exp10_upward_test_data): New array.
937         (exp10_test_upward): New function.
938         (main): Call the new functions.
939         * sysdeps/i386/fpu/libm-test-ulps: Update.
940         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
942 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
944         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
945         asinh, atan, atan2, atanh, cbrt, cos and cosh.
946         * math/auto-libm-test-out: Regenerated.
947         * math/libm-test.inc (acosh_test_data): Add more tests.
948         (atanh_test_data): Likewise.
949         (ceil_test_data): Likewise.
950         (copysign_test_data): Likewise.
951         * sysdeps/i386/fpu/libm-test-ulps: Update.
952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
954         * timezone/checktab.awk: Update from tzcode 2013i.
955         * timezone/private.h: Likewise.
956         * timezone/scheck.c: Likewise.
957         * timezone/tzfile.h: Likewise.
958         * timezone/tzselect.ksh: Likewise.
959         * timezone/zdump.c: Likewise.
960         * timezone/zic.c: Likewise.
962         * math/auto-libm-test-in: Add tests of cpow.
963         * math/auto-libm-test-out: Regenerated.
964         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
965         * * math/gen-auto-libm-tests.c (func_calc_method): Add value
966         mpc_cc_c.
967         (func_calc_desc): Add mpc_cc_c union field.
968         (test_functions): Add cpow.
969         (special_fill_2pi): New function.
970         (special_real_inputs): Add 2pi.
971         (calc_generic_results): Handle mpc_cc_c.
972         * sysdeps/i386/fpu/libm-test-ulps: Update.
973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
975         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
976         csqrt, ctan and ctanh.
977         * math/auto-libm-test-out: Regenerated.
978         * math/libm-test.inc (TEST_COND_x86_64): New macro.
979         (TEST_COND_x86): Likewise.
980         (ccos_test_data): Use AUTO_TESTS_c_c.
981         (ccosh_test_data): Likewise.
982         (cexp_test_data): Likewise.
983         (clog_test_data): Likewise.
984         (csqrt_test_data): Likewise.
985         (ctan_test_data): Likewise.
986         (ctan_tonearest_test_data): Likewise.
987         (ctan_towardzero_test_data): Likewise.
988         (ctan_downward_test_data): Likewise.
989         (ctan_upward_test_data): Likewise.
990         (ctanh_test_data): Likewise.
991         (ctanh_tonearest_test_data): Likewise.
992         (ctanh_towardzero_test_data): Likewise.
993         (ctanh_downward_test_data): Likewise.
994         (ctanh_upward_test_data): Likewise.
995         * math/gen-auto-libm-tests.c (func_calc_method): Add value
996         mpc_c_c.
997         (func_calc_desc): Add mpc_c_c union field.
998         (FUNC_mpc_c_c): New macro.
999         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
1000         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
1001         ctanh.
1002         (special_fill_min_subnorm_p120): New function.
1003         (special_real_inputs): Add min_subnorm_p120.
1004         (calc_generic_results): Handle mpc_c_c.
1005         * sysdeps/i386/fpu/libm-test-ulps: Update.
1006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1008 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
1010         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
1011         do_sin_slow): New functions.
1012         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
1013         cslow2, csloww1, csloww2): Use the new functions.
1015         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
1016         Use M to change sign of result instead of X.  Assume X is
1017         positive.
1018         (csloww1): Likewise.
1019         (__sin): Adjust.
1020         (__cos): Adjust.
1022         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
1023         arguments A and DA.
1024         (__sin): Adjust.
1025         (__cos): Likewise.
1027         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
1028         (__cos): Likewise.
1029         (sloww1): Don't adjust sign of DX.
1030         (csloww1): Likewise.
1031         (sloww2): Use X directly and don't adjust sign of DX.
1032         (csloww2): Likewise.
1034 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
1036         * math/auto-libm-test-in: Add tests of cabs and carg.
1037         * math/auto-libm-test-out: Regenerated.
1038         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
1039         (carg_test_data): Likewise.
1040         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1041         mpc_c_f.
1042         (func_calc_desc): Add mpc_c_f union field.
1043         (test_functions): Add cabs and carg.
1044         (calc_generic_results): Handle mpc_c_f.
1046         * sysdeps/powerpc/powerpc32/libgcc-compat.S
1047         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
1048         as a macro and a compat symbol.
1049         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
1050         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
1051         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
1052         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
1053         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
1054         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
1055         not use .hidden.
1056         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
1057         Likewise.
1058         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
1059         Likewise.
1060         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
1061         Likewise.
1062         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
1063         Likewise.
1064         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
1065         Likewise.
1066         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
1067         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
1068         from GLIBC_2.3.2.
1070 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1072         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1074 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
1076         * manual/texinfo.tex: Update to version 2013-11-26.10 with
1077         trailing whitespace removed.
1078         * scripts/config.guess: Update to version 2013-11-29.
1079         * scripts/config.sub: Update to version 2013-10-01.
1081         * math/auto-libm-test-in: Add tests of sincos.
1082         * math/auto-libm-test-out: Regenerated.
1083         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
1084         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1085         mpfr_f_11.
1086         (func_calc_desc): Add mpfr_f_11 union field.
1087         (test_functions): Add sincos.
1088         (calc_generic_results): Handle mpfr_f_11.
1089         * sysdeps/i386/fpu/libm-test-ulps: Update.
1090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1092 2013-12-19  Andreas Schwab  <schwab@suse.de>
1094         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
1095         CALL_MCOUNT.
1096         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1097         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
1098         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
1100 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
1102         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
1103         * sysdeps/i386/fpu/libm-test-ulps: Update.
1104         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1106         [BZ #16293]
1107         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
1108         round-to-nearest mode when using frndint.
1109         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
1110         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1111         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1112         Likewise.
1113         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
1114         sinh test to fail.
1115         * math/auto-libm-test-out: Regenerated.
1116         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
1117         (TEST_COND_x86): Likewise.
1118         (expm1_tonearest_test_data): New array.
1119         (expm1_test_tonearest): New function.
1120         (expm1_towardzero_test_data): New array.
1121         (expm1_test_towardzero): New function.
1122         (expm1_downward_test_data): New array.
1123         (expm1_test_downward): New function.
1124         (expm1_upward_test_data): New array.
1125         (expm1_test_upward): New function.
1126         (main): Run the new test functions.
1127         * sysdeps/i386/fpu/libm-test-ulps: Update.
1128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1130         * include/features.h: Update comment documenting feature test
1131         macros.  Mention _DEFAULT_SOURCE in comment.
1132         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
1133         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
1134         _BSD_SOURCE and _SVID_SOURCE.
1135         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
1136         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
1137         !_SVID_SOURCE]: Likewise.
1138         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1139         (__USE_POSIX_IMPLICITLY): Define.
1140         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1141         (_POSIX_SOURCE): Undefine and redefine.
1142         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1143         (_POSIX_C_SOURCE): Likewise.
1144         * manual/creature.texi (_DEFAULT_SOURCE): Document.
1145         (Feature Test Macros): Update documentation of default features.
1147 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1149         * benchtests/Makefile: Add bench-strtok.
1150         * benchtests/bench-strtok.c: New file: strtok benchtest.
1152 2013-12-19  Allan McRae  <allan@archlinux.org>
1154         * manual/install.texi: Suppress menu for plain text output.
1155         * INSTALL: Regenerated.
1157 2013-12-18  Brooks Moses  <bmoses@google.com>
1159         [BZ #15846]
1160         * misc/getauxval.c: Include errno.h.
1161         (__getauxval): Set errno to ENOENT if the requested type is not
1162         found.
1163         * misc/sys/auxv.h (getauxval): Document that it may set errno;
1164         don't declare with __attribute_const__.
1165         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
1166         * manual/startup.texi: Document that getauxval sets errno.
1168 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
1170         * math/auto-libm-test-in: Add tests of jn and yn.
1171         * math/auto-libm-test-out: Regenerated.
1172         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
1173         (yn_test_data): Likewise.
1174         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1175         mpfr_if_f.
1176         (func_calc_desc): Add mpfr_if_f union field.
1177         (FUNC_mpfr_if_f): New macro.
1178         (test_functions): Add jn and yn.
1179         (calc_generic_results): Assert type of second input for
1180         mpfr_ff_f.  Handle mpfr_if_f.
1181         (output_for_one_input_case): Disable all checking for arguments
1182         fitting floating-point types in case of an integer argument.
1183         * sysdeps/i386/fpu/libm-test-ulps: Update.
1184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1187         Don't expect fegetround reference in libm.so.
1189 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1191         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
1192         $(config-cflags-nofma).
1194 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
1196         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
1197         * math/auto-libm-test-out: Regenerated.
1199         [BZ #16338]
1200         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
1201         to determine exponent and adjust argument to have exponent of -1.
1202         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
1203         log2.
1204         * math/auto-libm-test-out: Regenerated.
1205         * sysdeps/i386/fpu/libm-test-ulps: Update.
1206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1208 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
1210         * manual/probes.texi: Remove cases when per-thread arenas are
1211         disabled.
1213 2013-12-18  Andreas Schwab  <schwab@suse.de>
1215         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
1216         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
1217         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
1218         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
1219         * sysdeps/i386/i686/multiarch/Makefile: Update.
1220         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
1222 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
1224         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
1225         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
1227 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
1229         [BZ #15968]
1230         Support TZ transition times < 00:00:00.
1231         This is needed for version-3 tz-format files; it supports time
1232         stamps past 2037 for America/Godthab (the only entry in the tz
1233         database for which this change is relevant).
1234         * manual/time.texi (TZ Variable): Document transition times
1235         from -167:59:59 through -00:00:01.
1236         * time/tzset.c (tz_rule): Time of day is now signed.
1237         (__tzset_parse_tz): Parse negative time of day.
1239         Document TZ transition times >= 25:00:00.
1240         * manual/time.texi (TZ Variable): Document transition times from
1241         25:00:00 through 167:59:59.  These are already supported, and this
1242         support will help with version-3 tz-format files.
1244         * manual/time.texi (TZ Variable): Modernize North America example
1245         to reflect current (i.e., 2007-and-later) daylight saving rules.
1247         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
1249 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
1251         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
1252         * sysdeps/unix/bsd/bits/stat.h: Likewise.
1253         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
1254         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1255         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
1256         * sysdeps/unix/bsd/bsdstat.h: Likewise.
1257         * sysdeps/unix/bsd/clock.c: Likewise.
1258         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
1259         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
1260         * sysdeps/unix/bsd/init-posix.c: Likewise.
1261         * sysdeps/unix/bsd/poll.c: Likewise.
1262         * sysdeps/unix/bsd/ptsname.c: Likewise.
1263         * sysdeps/unix/bsd/seekdir.c: Likewise.
1264         * sysdeps/unix/bsd/setegid.c: Likewise.
1265         * sysdeps/unix/bsd/seteuid.c: Likewise.
1266         * sysdeps/unix/bsd/setgid.c: Likewise.
1267         * sysdeps/unix/bsd/setrgid.c: Likewise.
1268         * sysdeps/unix/bsd/setruid.c: Likewise.
1269         * sysdeps/unix/bsd/setsid.c: Likewise.
1270         * sysdeps/unix/bsd/setuid.c: Likewise.
1271         * sysdeps/unix/bsd/sigaction.c: Likewise.
1272         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
1273         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
1274         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
1275         * sysdeps/unix/bsd/telldir.c: Likewise.
1276         * sysdeps/unix/bsd/times.c: Likewise.
1277         * sysdeps/unix/bsd/usleep.c: Likewise.
1279         * misc/Makefile (install-lib): Remove libbsd-compat.a.
1280         ($(objpfx)libbsd-compat.a): Remove rule.
1282         * include/features.h (__FAVOR_BSD): Do not define.
1283         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
1284         features conflicting with POSIX.
1285         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
1286         (_BSD_SOURCE): Remove description of not being a subset of other
1287         feature test macros.
1288         * manual/job.texi (getpgrp): Do not document BSD version.
1289         (getpgid): Do not document by reference to BSD getpgrp.
1290         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
1291         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
1292         * signal/signal.h [__FAVOR_BSD]: Likewise.
1293         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
1294         instead of making contents conditional on [__FAVOR_BSD].
1295         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
1297 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1299         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1301 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
1303         [BZ #16314]
1304         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
1305         values below 2**-450, not 2**-500.
1306         * math/auto-libm-test-in: Don't allow spurious underflow from
1307         hypot.
1308         * math/auto-libm-test-out: Regenerated.
1310         [BZ #16316]
1311         [BZ #16330]
1312         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
1313         values of ha and hb and sort them after adjusting subnormal
1314         arguments.
1315         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
1316         Likewise.
1317         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
1318         values of ea and eb and sort them after adjusting subnormal
1319         arguments.
1320         * math/auto-libm-test-in: Do not expect some hypot tests of
1321         subnormals to fail.  Add more hypot tests.
1322         * math/auto-libm-test-out: Regenerated.
1324 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1326         [BZ #13304]
1327         * sysdeps/sh/s_fma.c: New file.
1328         * sysdeps/sh/s_fmaf.c: New file.
1329         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
1330         version.
1331         * sysdeps/sh/Implies: Add sh/soft-fp.
1333 2013-12-16  Roland McGrath  <roland@hack.frob.com>
1335         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
1336         level of indirection to members `objname', `errstring', `malloced'.
1337         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
1338         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
1339         it as the __longjmp argument (just pass 1 instead).
1340         (_dl_catch_error): Initialize C with argument pointers and address of
1341         volatile local ERRCODE rather than copying values out of C at return.
1343 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
1345         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
1346         * math/auto-libm-test-out: Regenerated.
1347         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
1348         (hypot_test_data): Likewise.
1349         (pow_test_data): Likewise.
1350         (pow_tonearest_test_data): Likewise.
1351         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1352         mpfr_ff_f.
1353         (func_calc_desc): Add mpfr_ff_f union field.
1354         (FUNC_mpfr_ff_f): New macro.
1355         (test_functions): Add atan2, hypot and pow.
1356         (special_fill_min): New function.
1357         (special_fill_minus_min): Likewise.
1358         (special_fill_min_subnorm): Likewise.
1359         (special_fill_minus_min_subnorm): Likewise.
1360         (special_real_inputs): Add min, -min, min_subnorm and
1361         -min_subnorm.
1362         (calc_generic_results): Handle mpfr_ff_f.
1363         * sysdeps/i386/fpu/libm-test-ulps: Update.
1364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1366 2013-12-16  Will Newton  <will.newton@linaro.org>
1368         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
1369         (Aligned Memory Blocks): Add documentation for aligned_alloc
1370         and suggest it as an alternative to posix_memalign.
1371         (Hooks for Malloc): Document __memalign_hook is also called
1372         for aligned_alloc.  (Summary of Malloc): Add summary for
1373         aligned alloc.  Document __memalign_hook is also called
1374         for aligned_alloc.
1376 2013-12-16  Will Newton  <will.newton@linaro.org>
1378         * manual/memory.texi (Malloc Examples): Clarify default
1379         alignment documentation.  Suggest posix_memalign rather
1380         than memalign or valloc.
1381         (Aligned Memory Blocks): Remove suggestion to use memalign
1382         or valloc.  Remove obsolete comment about BSD.
1383         Document memalign errno values and mark the function obsolete.
1384         Document posix_memalign returned error codes.  Mark valloc
1385         as obsolete.  (Hooks for Malloc): __memalign_hook is also
1386         called for posix_memalign and valloc.
1387         (Summary of Malloc): Add posix_memalign to function summary.
1388         __memalign_hook is also called for posix_memalign and valloc.
1390 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1392         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
1393         TAYLOR_SIN.
1394         (__sin): Adjust.
1395         (__cos): Likewise.
1396         (sloww): Use mynumber union.  Expand ternary operator into
1397         if-else statements.
1398         (cslow): use mynumber union.
1400 2013-12-16  Allan McRae  <allan@archlinux.org>
1402         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
1403         * configure: Regenerated.
1405         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
1407         [BZ #14120]
1408         * configure.ac: Added --enable-maintainer-mode. Check for
1409         autoconf when enabled.
1410         * configure: Regenerated.
1412         * nscd/nscd.service: New file.
1413         * nscd/nscd.tmpfiles: New file.
1415 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
1417         [BZ #12100]
1418         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
1419         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
1420         * sysdeps/x86_64/multiarch/strstr.c: ... here.
1421         (strstr): Add __strstr_sse2_unaligned ifunc.
1422         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
1423         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
1424         (strcasestr): Remove __strcasestr_sse42 ifunc.
1425         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
1426         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1427         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1429 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1431         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
1432         * sysdeps/sh/bits/fenv.h: ... here.
1433         * sysdeps/sh/sh4/fpu/bits: Remove directory.
1435 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1437         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
1439 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1441         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
1442         hypotf multiarch implementations.
1443         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
1444         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
1445         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
1446         multiarch hypot for PPC64.
1447         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
1448         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
1449         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
1450         multiarch hypotf for PPC64.
1452 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1454         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
1455         modff multiarch implementations.
1456         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
1457         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
1458         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
1459         multiarch modf for PPC64.
1460         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
1461         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
1462         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
1463         multiarch modff for PPC64.
1465 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1467         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
1468         and logl multiarch implementations.
1469         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
1470         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
1471         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
1472         multiarch logb for PPC64.
1473         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
1474         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
1475         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
1476         multiarch logb for PPC64.
1477         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
1478         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
1479         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
1480         multiarch logb for PPC64.
1482 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1484         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
1485         isinff multiarch implementation.
1486         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
1487         file.
1488         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
1489         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
1490         multiarch isinf for PPC64.
1491         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
1492         file.
1493         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
1494         multiarch isinff for PPC64.
1496 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1498         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
1499         finitef multiarch implementation.
1500         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
1501         file.
1502         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
1503         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
1504         multiarch finite for PPC64.
1505         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
1506         file.
1507         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
1508         multiarch finitef for PPC64.
1510 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1512         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
1513         lrint multiarch implementation.
1514         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
1515         file.
1516         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
1517         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
1518         multiarch llrint for PPC64.
1519         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
1520         multiarch lrint for PPC64.
1522 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1524         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
1525         copysignf multiarch implementation.
1526         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
1527         file.
1528         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
1529         file.
1530         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
1531         multiarch copysign for PPC64.
1532         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
1533         multiarch copysignf for PPC64.
1535 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1537         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
1538         multiarch implementation.
1539         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
1540         file.
1541         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
1542         file.
1543         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
1544         file.
1545         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
1546         file.
1547         multiarch llround for PPC64.
1548         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
1549         multiarch trunc for PPC64.
1550         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
1551         multiarch truncf for PPC64.
1553 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1555         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
1556         multiarch implementation.
1557         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
1558         file.
1559         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
1560         file.
1561         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
1562         file.
1563         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
1564         file.
1565         multiarch llround for PPC64.
1566         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
1567         multiarch round for PPC64.
1568         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
1569         multiarch roundf for PPC64.
1571 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1573         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
1574         multiarch implementation.
1575         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
1576         file.
1577         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
1578         file.
1579         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
1580         file.
1581         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
1582         file.
1583         multiarch llround for PPC64.
1584         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
1585         multiarch floor for PPC64.
1586         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
1587         multiarch floorf for PPC64.
1589 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1591         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
1592         multiarch implementation.
1593         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
1594         file.
1595         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
1596         file.
1597         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
1598         file.
1599         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
1600         file.
1601         multiarch llround for PPC64.
1602         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
1603         multiarch ceil for PPC64.
1604         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
1605         multiarch ceilf for PPC64.
1607 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1609         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
1610         multiarch implementation.
1611         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
1612         file.
1613         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
1614         file.
1615         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
1616         file.
1617         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
1618         multiarch llround for PPC64.
1619         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
1620         multiarch lround for PPC64.
1622 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1624         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
1625         multiarch implementation.
1626         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
1627         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
1628         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
1629         file.
1630         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
1631         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
1632         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
1633         multiarch isnan for PPC64.
1634         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
1635         multiarch isnanf for PPC64.
1637 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1639         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
1640         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
1641         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
1642         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
1643         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
1644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
1646 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1648         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
1649         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1650         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1651         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1653 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1655         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
1656         multiarch implementations.
1657         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1658         (__libc_ifunc_impl_list): Likewise.
1659         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1660         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
1661         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
1662         multiarch stpcpy for PPC64.
1664 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1666         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
1667         multiarch implementations.
1668         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1669         (__libc_ifunc_impl_list): Likewise.
1670         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
1671         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
1672         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
1673         multiarch strcpy for PPC64.
1675 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1677         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
1678         redefine function name.
1679         (_wordcopy_fwd_dest_aligned): Likewise.
1680         (_wordcopy_bwd_aligned): Likewise.
1681         (_wordcopy_bwd_dest_aligned): Likewise.
1682         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
1683         multiarch implementations.
1684         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1685         (__libc_ifunc_impl_list): Likewise.
1686         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
1687         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
1688         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
1689         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
1690         multiarch wcscpy for PPC64.
1692 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1694         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
1695         multiarch implementations.
1696         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1697         (__libc_ifunc_impl_list): Likewise.
1698         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
1699         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
1700         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
1701         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
1702         multiarch wcscpy for PPC64.
1704 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1706         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
1707         multiarch implementations.
1708         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1709         (__libc_ifunc_impl_list): Likewise.
1710         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
1711         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
1712         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
1713         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
1714         multiarch wcsrchr for PPC64.
1716 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1718         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
1719         multiarch implementations.
1720         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1721         (__libc_ifunc_impl_list): Likewise.
1722         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
1723         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
1724         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
1725         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
1726         multiarch wcschr for PPC64.
1728 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1730         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
1731         multiarch implementations.
1732         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1733         (__libc_ifunc_impl_list): Likewise.
1734         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
1735         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
1736         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1737         multiarch strchrnul for PPC64.
1739 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1741         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1742         implementations.
1743         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1744         (__libc_ifunc_impl_list): Likewise.
1745         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1746         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1747         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1748         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1749         strchr for PPC64.
1751 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1753         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1754         implementations.
1755         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1756         (__libc_ifunc_impl_list): Likewise.
1757         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1758         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1759         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1760         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1761         strncmp for PPC64.
1763 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1765         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1766         multiarch implementations.
1767         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1768         (__libc_ifunc_impl_list): Likewise.
1769         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1770         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1771         strncasecmp for PPC64.
1772         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1773         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1774         multiarch strncasecmp_l for PPC64.
1776 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1778         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1779         multiarch implementations.
1780         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1781         (__libc_ifunc_impl_list): Likewise.
1782         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1783         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1784         multiarch strcasecmp for PPC64.
1785         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1786         file.
1787         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1788         multiarch strcasecmp_l for PPC64.
1790 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1792         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1793         implementations.
1794         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1795         (__libc_ifunc_impl_list): Likewise.
1796         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1797         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1798         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1799         strnlen for PPC64.
1801 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1803         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1804         implementations.
1805         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1806         (__libc_ifunc_impl_list): Likewise.
1807         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1808         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1809         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1810         strlen for PPC64.
1812 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1814         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1815         implementations.
1816         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1817         (__libc_ifunc_impl_list): Likewise.
1818         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1819         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1820         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1821         rawmemrchr for PPC64.
1823 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1825         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1826         implementation.
1827         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1828         (__libc_ifunc_impl_list): Likewise.
1829         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1830         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1831         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1832         memrchr for PPC64.
1834 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1836         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1837         implementation.
1838         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1839         (__libc_ifunc_impl_list): Likewise.
1840         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1841         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1842         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1843         memchr for PPC64.
1845 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1847         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1848         implementation.
1849         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1850         (__libc_ifunc_impl_list): Likewise.
1851         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1852         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1853         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1854         mempcpy for PPC64.
1856 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1858         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1859         avoid cretion of __bzero symbol.
1860         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1861         Likewise.
1862         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1863         Likewise.
1864         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1865         Likewise.
1866         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1867         multiarch implementations.
1868         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1869         (__libc_ifunc_impl_list): Likewise.
1870         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1871         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1872         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1873         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1874         bzero for PPC32.
1875         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1876         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1877         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1878         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1879         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1880         memset for PPC64.
1881         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1883 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1885         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1886         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1887         implementations.
1888         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1889         (__libc_ifunc_impl_list): Likewise.
1890         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1891         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1892         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1893         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1894         memcmp for PPC64.
1896 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1898         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1899         multiarch for POWER/PPC64.
1900         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1901         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1902         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1903         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1904         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1905         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1906         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1907         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1908         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1909         memcpy for PPC64.
1911 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1913         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1914         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1915         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1916         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1917         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1918         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1919         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1920         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1921         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1922         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1923         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1924         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1925         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1926         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1927         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1936 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1938         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1940 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
1942         * benchtests/Makefile (bench): Add exp2 and log2.
1943         (LDLIBS-bench-exp2): Add -lm.
1944         (LDLIBS-bench-log2): Likewise.
1945         * benchtests/exp2-inputs: New inputs file.
1946         * benchtests/log2-inputs: New inputs file.
1947         * benchtests/log-inputs: Add new inputs.
1948         * benchtests/tan-inputs: Likewise.
1950 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1952         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1953         definition...
1954         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1955         csloww1, csloww2): ... from here.
1957         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1958         instead of structures.
1959         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1960         (POLYNOMIAL): Likewise.
1961         (TAYLOR_SLOW): Likewise.
1962         (__sin): Likewise.
1963         (__cos): Likewise.
1964         (slow1): Likewise.
1965         (slow2): Likewise.
1966         (sloww): Likewise.
1967         (sloww1); Likewise.
1968         (sloww2): Likewise.
1969         (bsloww1): Likewise.
1970         (bsloww2): Likewise.
1971         (cslow2): Likewise.
1972         (csloww): Likewise.
1973         (csloww1): Likewise.
1974         (csloww2): Likewise.
1976 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
1978         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1979         (__malloc_assert, __libc_realloc, __libc_calloc,
1980         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1981         memcpy and memset.
1982         * malloc/hooks.c (realloc_check): Likewise.
1984 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
1986         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1987         * malloc/arena.c: Remove PER_THREAD conditional.
1988         [!PER_THREAD]: Remove code.
1989         (ptmalloc_unlock_all2): Likewise.
1990         (ptmalloc_init): Likewise.
1991         (_int_new_arena): Likewise.
1992         (arena_get2): Likewise.
1993         * malloc/hooks.c (__malloc_get_state): Likewise.
1994         (__malloc_set_state): Likewise.
1995         * malloc/malloc.c: Likewise.
1996         (struct malloc_state): Likewise.
1997         (struct malloc_par): Likewise.
1998         (__libc_realloc): Likewise.
1999         (__libc_mallopt): Likewise.
2001 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2003         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
2005 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
2007         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
2008         macro to a function.  Check for zero perturb_byte.
2009         (_int_malloc, _int_free): Remove zero perturb_byte checks.
2011 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
2013         * malloc/malloc.c: (force_reg): Remove.
2014         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
2015         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
2016         force_reg by atomic_forced_read.
2017         * malloc/arena.c (ptmalloc_init): Likewise.
2018         * malloc/hooks.c (top_check): Likewise.
2020 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2022         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2024 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
2026         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2028 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
2030         * math/auto-libm-test-in: Add tests of lgamma.
2031         * math/auto-libm-test-out: Regenerated.
2032         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
2033         (M_LOG_2_SQRT_PIl): Likewise.
2034         (lgamma_test_data): Use AUTO_TESTS_f_f1.
2035         * math/gen-auto-libm-tests.c (func_calc_method): Add value
2036         mpfr_f_f1.
2037         (func_calc_desc): Add mpfr_f_f1 union field.
2038         (ARGS1): New macro.
2039         (ARGS2): Likewise.
2040         (ARGS3): Likewise.
2041         (ARGS4): Likewise.
2042         (RET1): Likewise.
2043         (RET2): Likewise.
2044         (CALC): Likewise.
2045         (FUNC): Likewise.
2046         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
2047         (test_functions): Add lgamma.
2048         (calc_generic_results): Handle mpfr_f_f1.
2049         * sysdeps/i386/fpu/libm-test-ulps: Update.
2050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2052 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2054         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
2055         __mpn_add_n for PowerPC64/POWER7.
2056         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
2057         __mpn_sub_n for PowerPC64/POWER7.
2059 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2061         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
2062         __mpn_addmul_1 for PowerPC64.
2063         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
2064         __mpn_submul_1 for PowerPC64.
2065         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
2066         for PowerPC64.
2067         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
2068         for PowerPC64.
2070 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
2072         [BZ #15089]
2073         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
2075 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2077         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
2079 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2081         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
2082         add multiarch folders.
2083         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
2084         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
2085         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
2086         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
2087         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
2088         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
2089         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
2090         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
2091         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
2092         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
2093         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
2094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
2095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
2096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
2097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
2098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
2099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
2101 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2104         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
2105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
2106         New file.
2107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
2108         New file.
2109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
2110         multiarch __ieee754_hypot for PowerPC32.
2111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
2112         New file.
2113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
2114         New file.
2115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
2116         multiarch __ieee754_hypotf for PowerPC32.
2118 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2120         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
2121         long_double_symbol only if __logbl is defined.
2122         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
2123         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
2124         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
2125         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
2126         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
2127         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
2128         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
2129         path for implementation.
2130         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
2131         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
2132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
2133         logb, and logbl multiarch implementations for PowerPC32.
2134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
2135         file.
2136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
2137         file.
2138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
2139         multiarch logb for PowerPC32.
2140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
2141         file.
2142         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
2143         file.
2144         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
2145         multiarch logbf for PowerPC32.
2146         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
2147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
2148         file.
2149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
2150         multiarch logbl implementation for PowerPC32.
2152 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
2155         and modff multiarch implementations.
2156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
2157         New file.
2158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
2159         New file.
2160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
2161         multiarch modf for PowerPC32.
2162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
2163         New file.
2164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
2165         New file.
2166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
2167         multiarch modff for PowerPC32.
2169 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
2172         and lrintf multiarch implementations.
2173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
2174         New file.
2175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
2176         New file.
2177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
2178         multiarch lrint for PowerPC32.
2179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
2180         file: multiarch lrintf for PowerPC32.
2182 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
2185         and lroundf multiarch implementations.
2186         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
2187         New file.
2188         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
2189         New file.
2190         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
2191         New file.
2192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
2193         multiarch lround for PowerPC32.
2194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
2195         file: multiarch lroundf for PowerPC32.
2197 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2200         copysign and copysignf multiarch implementations.
2201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
2202         New file.
2203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
2204         New file.
2205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
2206         file: multiarch copysign for PowerPC32.
2207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
2208         file: multiarch copysignf for PowerPC32.
2210 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2212         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
2213         and truncf multiarch implementations.
2214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
2215         New file.
2216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
2217         file.
2218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
2219         multiarch trunc for PowerPC32.
2220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
2221         New file.
2222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
2223         New file.
2224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
2225         multiarch truncf for PowerPC32.
2227 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
2230         and roundf multiarch implementations.
2231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
2232         New file.
2233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
2234         file.
2235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
2236         multiarch round for PowerPC32.
2237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
2238         New file.
2239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
2240         New file.
2241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
2242         multiarch roundf for PowerPC32.
2244 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
2247         and floorf multiarch implementations.
2248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
2249         New file.
2250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
2251         file.
2252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
2253         multiarch floor for PowerPC32.
2254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
2255         New file.
2256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
2257         New file.
2258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
2259         multiarch floorf for PowerPC32.
2261 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
2264         and ceilf multiarch implementations.
2265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
2266         New file.
2267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
2268         file.
2269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
2270         multiarch ceil for PowerPC32.
2271         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
2272         New file.
2273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
2274         file.
2275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
2276         multiarch ceilf for PowerPC32.
2278 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2280         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
2281         is defined.
2282         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
2283         FINITEF is defined.
2284         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
2285         and finitef multiarch implementations.
2286         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
2287         New file.
2288         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
2289         file.
2290         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
2291         multiarch finite for PowerPC32.
2292         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
2293         New file.
2294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
2295         file: multiarch finitef for PowerPC32.
2297 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2299         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
2300         and isinff multiarch implementations.
2301         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
2302         file.
2303         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
2304         file.
2305         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
2306         multiarch isinf for PowerPC32.
2307         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
2308         New file.
2309         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
2310         multiarch isinff for PowerPC32.
2312 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2314         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
2315         alias when __isnan is defined.
2316         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
2317         and isnanf multiarch implementations.
2318         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
2319         file.
2320         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
2321         file.
2322         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
2323         file.
2324         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
2325         file.
2326         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
2327         multiarch isnan for PowerPC32.
2328         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
2329         New file.
2330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
2331         New file.
2332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
2333         multiarch isnanf for PowerPC32.
2335 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2337         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
2338         and sqrtf multiarch implementations.
2339         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
2340         file.
2341         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
2342         file.
2343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
2344         multiarch sqrt for PowerPC32.
2345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
2346         file.
2347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
2348         file.
2349         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
2350         multiarch sqrtf for PowerPC32.
2352 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
2355         and llroundf multiarch implementations.
2356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2357         New file.
2358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2359         New file.
2360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2361         New file.
2362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
2363         file: multiarch llround for PowerPC32.
2364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
2365         file: multiarch llroundf for PowerPC32.
2367 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2369         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
2370         multiarch PowerPC32 fpu implementations.
2371         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
2372         New file.
2373         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
2374         New file.
2375         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
2376         multiarch llrint for PowerPC32.
2377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
2378         New file.
2379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
2380         New file.
2381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
2382         file.
2384 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
2388 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2390         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
2391         file.
2392         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
2393         file.
2394         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
2395         file.
2396         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
2397         multiarch wordcopy for PPC32.
2398         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2399         wordcopy objects.
2400         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2401         (__libc_ifunc_impl_list): Likewise.
2402         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
2403         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
2404         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
2405         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
2406         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
2407         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
2409 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2411         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
2412         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
2413         file.
2414         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
2415         file.
2416         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
2417         file.
2418         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
2419         multiarch wcscpy for PPC32.
2420         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2421         multiarch objects.
2422         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2423         (__libc_ifunc_impl_list): Likewise.
2424         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2425         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2426         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
2427         sysdeps/powerpc/power6/wcscpy.c.
2429 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2431         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
2432         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
2433         file.
2434         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
2435         file.
2436         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
2437         file.
2438         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
2439         multiarch wcsrchr for PPC32.
2440         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2441         multiarch objects.
2442         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2443         (__libc_ifunc_impl_list): Likewise.
2444         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2445         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2446         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
2447         sysdeps/powerpc/power6/wcsrchr.c.
2449 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2451         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
2452         file.
2453         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
2454         file.
2455         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
2456         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
2457         multiarch wcschr for PPc32.
2458         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2459         multiarch objects.
2460         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2461         (__libc_ifunc_impl_list): Likewise.
2462         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
2463         * sysdeps/powerpc/power6/wcschr.c: ... to here.
2464         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
2465         sysdeps/powerpc/power6/wcschr.c.
2467 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2469         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
2470         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
2471         file.
2472         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
2473         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
2474         file: multiarch strchr for PPC32.
2475         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
2476         multiarch objects.
2477         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2478         (__libc_ifunc_impl_list): Likewise.
2480 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2482         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
2483         name.
2484         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
2485         file.
2486         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
2487         file.
2488         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
2489         multiarch strchrnul for PPC32.
2490         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
2491         multiarch objects.
2492         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2493         (__libc_ifunc_impl_list): Likewise.
2495 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2497         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
2498         file.
2499         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
2500         multiarch strncasecmp for PPC32.
2501         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
2502         file.
2503         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
2504         multiarch strncasecmp_l for PPC32.
2505         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
2506         strncasecmp multiarch objects.
2507         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2508         (__libc_ifunc_impl_list): Likewise.
2510 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2512         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
2513         file.
2514         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
2515         multiarch strncasecmp for PPC32.
2516         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2517         New file.
2518         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
2519         multiarch strcasecmp_l for PPC32.
2520         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
2521         multiarch objects.
2522         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2523         (__libc_ifunc_impl_list): Likewise.
2525 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2527         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
2528         file.
2529         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
2530         file.
2531         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
2532         multiarch strncmp for PPC32.
2533         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
2534         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/rtld-strnlen.c: New file.
2541         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
2542         file.
2543         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
2544         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
2545         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
2546         multiarch objects.
2547         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2548         (__libc_ifunc_impl_list): Likewise.
2550 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2552         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
2553         file.
2554         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
2555         file.
2556         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
2557         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
2558         multiarch objects.
2559         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2560         (__libc_ifunc_impl_list): Likewise.
2562 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2564         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
2565         file.
2566         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
2567         file.
2568         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
2569         multiarch rawmemchr for PPC32.
2570         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
2571         multiarch objects.
2572         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2573         (__libc_ifunc_impl_list): Likewise.
2575 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2577         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
2578         file.
2579         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
2580         file.
2581         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
2582         file: memrchr multiarch for PPC32.
2583         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
2584         multiarch objects.
2585         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2586         (__libc_ifunc_impl_list): Likewise.
2588 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2590         * string/memchr.c (__memchr): Using macro to redefine symbol name.
2591         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
2592         file.
2593         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
2594         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
2595         multiarch memchr for PPC32.
2596         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
2597         multiarch objects.
2598         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2599         (__libc_ifunc_impl_list): Likewise.
2601 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2603         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
2604         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
2605         file.
2606         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
2607         file.
2608         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
2609         file: multiarch mempcpy for PPC32.
2610         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
2611         multiarch objects.
2612         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2613         (__libc_ifunc_impl_list): Likewise.
2615 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2617         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
2618         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
2619         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
2620         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
2621         multiarch bzero for PPC32.
2622         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
2623         file.
2624         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
2625         file.
2626         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
2627         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
2628         file: multiarch memset for PPC32.
2629         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
2630         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
2631         memset multiarch objects.
2632         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2633         (__libc_ifunc_impl_list): Likewise.
2635 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2637         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
2638         file.
2639         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
2640         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
2641         memcmp for PPC32.
2642         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
2643         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
2644         multiarch objects.
2645         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2646         (__libc_ifunc_impl_list): Likewise.
2648 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2650         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
2651         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
2652         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
2653         file.
2654         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
2655         file.
2656         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
2657         file.
2658         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
2659         multiarch memcpy for PPC32.
2660         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
2661         multiarch objects.
2662         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2663         (__libc_ifunc_impl_list): Likewise.
2665 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2667         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
2668         support multiarch for POWER/PPC32.
2669         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2670         Likewise.
2671         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
2673         Implies file to make multiarch folder appers before the fpu and
2674         default folder for power4 configuration.
2676 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
2678         * scripts/bench.pl: Append volatile keyword to type.
2680 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2682         * sysdeps/sh/sotruss-lib.c: New file.
2683         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
2685 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2687         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2689 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
2691         [BZ #6810]
2692         * math/w_tgamma.c: Include <errno.h>.
2693         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
2694         * math/w_tgammaf.c: Include <errno.h>.
2695         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
2696         * math/w_tgammal.c: Include <errno.h>.
2697         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
2698         * math/auto-libm-test-in: Do not allow missing errno on tgamma
2699         underflow.  Add more tgamma tests.
2700         * math/auto-libm-test-out: Regenerated.
2701         * sysdeps/i386/fpu/libm-test-ulps: Update.
2702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2704         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
2705         sin, sinh, tan, tanh, tgamma, y0 and y1.
2706         * math/auto-libm-test-out: Regenerated.
2707         * math/libm-test.inc (TEST_COND_x86_64): New macro.
2708         (TEST_COND_x86): Likewise.
2709         (M_E2l): Remove macro.
2710         (M_E3l): Likewise.
2711         (M_2_SQRT_PIl): Likewise.
2712         (M_SQRT_PIl): Likewise.
2713         (M_1_DIV_El): Likewise.
2714         (log_test_data): Use AUTO_TESTS_f_f.
2715         (log10_test_data): Likewise.
2716         (log1p_test_data): Likewise.
2717         (log2_test_data): Likewise.
2718         (sin_test_data): Likewise.
2719         (sin_tonearest_test_data): Likewise.
2720         (sin_towardzero_test_data): Likewise.
2721         (sin_downward_test_data): Likewise.
2722         (sin_upward_test_data): Likewise.
2723         (sinh_test_data): Likewise.
2724         (sinh_tonearest_test_data): Likewise.
2725         (sinh_towardzero_test_data): Likewise.
2726         (sinh_downward_test_data): Likewise.
2727         (sinh_upward_test_data): Likewise.
2728         (tan_test_data): Likewise.
2729         (tan_tonearest_test_data): Likewise.
2730         (tan_towardzero_test_data): Likewise.
2731         (tan_downward_test_data): Likewise.
2732         (tan_upward_test_data): Likewise.
2733         (tanh_test_data): Likewise.
2734         (tgamma_test_data): Likewise.
2735         (y0_test_data): Likewise.
2736         (y1_test_data): Likewise.
2737         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2738         (special_real_inputs): Add pi/4.
2739         * sysdeps/i386/fpu/libm-test-ulps: Update.
2740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2742 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2744         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2745         "longjmp_target" static probes.
2746         (__longjmp): Rename to __longjmp_symbol.
2747         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2748         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2749         on which longjmp to generate.
2750         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2751         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2752         probe.
2753         (__sigsetjmp): Rename to __sigsetjmp_symbol.
2754         (__sigjmp_save): Rename to __sigjmp_save_symbol.
2755         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2756         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2757         and __sigjmp_save_symbol based on which sigsetjmp to generated.
2758         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2760         __longjmp_symbol based on which __longjmp to generate.
2761         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2762         probe.
2763         (setjmp): Rename to setjmp_symbol.
2764         (__sigsetjmp): Rename to __sigsetjmp_symbol.
2765         (_setjmp): Rename to _setjmp_symbol.
2766         (__sigsetjmp): Rename to __sigsetjmp_symbol.
2767         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2768         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2769         which setjmp to generate.
2770         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2771         "longjmp_target" static probes.
2773 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
2775         * benchtests/README: Add note about output arguments.
2776         * benchtests/bench-sincos.c: Remove file.
2777         * benchtests/sincos-inputs: New file.
2778         * scripts/bench.pl: Identify output arguments and define
2779         static variables for them.
2781         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2783         [BZ #15941]
2784         * Makefile (INSTALL): Add install-plain.texi as the primary
2785         dependency.
2786         * manual/install-plain.texi: New file.
2787         * manual/install.texi: Include node directive only for
2788         non-plaintext output.
2790 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
2792         * stdlib/longlong.h: Update from GCC.
2794         [BZ #6807]
2795         [BZ #15901]
2796         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2797         * math/w_j0f.c (y0f): Likewise.
2798         * math/w_j0l.c (__y0l): Likewise.
2799         * math/w_j1.c (y1): Likewise.
2800         * math/w_j1f.c (y1f): Likewise.
2801         * math/w_j1l.c (__y1l): Likewise
2802         * math/w_jn.c (yn): Likewise.
2803         * math/w_jnf.c (ynf): Likewise.
2804         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2805         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
2806         value for Bessel function domain errors outside _SVID_ mode.
2807         Adjust sign of return value for yn (negative integer, 0).
2808         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2809         by zero in return for negative x and set sign appropriately for
2810         negative n.
2811         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2812         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2813         * math/libm-test.inc (y0_test_data): Add more tests and adjust
2814         expectations in error cases.
2815         (y1_test_data): Likewise.
2816         (yn_test_data): Likewise.
2817         * sysdeps/i386/fpu/libm-test-ulps: Update.
2818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2820 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2822         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2823         "64" to "64-v1".  Add "64-v2".
2824         (abi-64-options): Rename to ...
2825         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
2826         (abi-64-condition): Rename to ...
2827         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
2828         (abi-64-ld-soname): Rename to ...
2829         (abi-64-v1-ld-soname): ... this.
2830         (abi-64-v2-options): Define.
2831         (abi-64-v2-condition): Likewise.
2832         (abi-64-v2-ld-soname): Likewise.
2833         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2834         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2839 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2840             Alan Modra  <amodra@gmail.com>
2842         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2843         New versions for use with the ELFv2 ABI.
2844         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2845         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2846         declaration.
2847         (struct La_ppc64v2_retval): Likewise.
2848         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2849         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2850         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2851         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2852         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2853         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2854         Do not save or restore CR.
2855         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2856         (_dl_profile_resolve): Do no save or restore CR.  Support extended
2857         return values for ELFv2 ABI.  Fix location of FPR return registers.
2858         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2859         updated values for _CALL_ELF == 2.
2860         (La_regs, La_retval, int_retval): Likewise.
2862 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2864         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2865         (FRAME_MIN_SIZE_PARM): Likewise.
2866         (FRAME_BACKCHAIN): Likewise.
2867         (FRAME_CR_SAVE): Likewise.
2868         (FRAME_LR_SAVE): Likewise.
2869         (FRAME_TOC_SAVE): Likewise.
2870         (FRAME_PARM_SAVE): Likewise.
2871         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2872         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2873         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2874         (call_mcount_parm_offset): New macro.
2875         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2876         (PROF): Use symbolic stack frame offsets.
2877         (TAIL_CALL_SYSCALL_ERROR): Likewise.
2878         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2879         Redefine in terms of FRAME_MIN_SIZE.
2880         (_dl_runtime_resolve): Use symbolic stack frame offsets.
2881         (_dl_profile_resolve): Likewise.  Update comment.
2882         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2883         symbols stack frame offsets.
2884         (__sigsetjmp): Likewise.
2885         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2886         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2887         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2888         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2891         (FRAME_BACKCHAIN): Remove.
2892         (FRAME_CR_SAVE): Likewise.
2893         (FRAME_LR_SAVE): Likewise.
2894         (FRAME_COMPILER_DW): Likewise.
2895         (FRAME_LINKER_DW): Likewise.
2896         (FRAME_TOC_SAVE): Likewise.
2897         (FRAME_PARM_SAVE): Likewise.
2898         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2899         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2900         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2902         (CHECK_SP): Use symbolic stack frame offsets.
2903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2904         zone" instead of caller's parameter save area for temp storage.
2905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2906         Likewise.  Also, use symbolic stack frame offsets.
2907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2908         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2909         our own stack frame instead of the caller's.
2910         (__socket): Use symbolic stack frame offsets.
2912 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2913             Alan Modra  <amodra@gmail.com>
2915         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2916         Define.
2917         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2918         PPC64_LOCAL_ENTRY_OFFSET): Define.
2919         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2920         New function.
2921         (elf_machine_fixup_plt): Call it.
2922         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
2923         reloc arguments.
2924         (elf_machine_rela): Update call to elf_machine_plt_conflict.
2925         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2926         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
2927         r2 before calling target.
2929 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2930             Alan Modra  <amodra@gmail.com>
2932         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2933         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2934         versions of macros to support ELFv2 ABI.
2935         (LOCALENTRY): New macro.
2936         (ENTRY, EALIGN): Use it.
2937         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2938         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2939         fall through into ENTRY entry point.
2940         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2941         Only define if _CALL_ELF != 2.
2943         (elf_machine_matches_host): Verify ABI version matches.
2944         (RTLD_START): Use LOCALENTRY.
2945         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2946         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2947         (PLT_ENTRY_WORDS): New macro.
2948         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2949         (elf_machine_runtime_setup): Support ELFv2 ABI.
2950         (elf_machine_fixup_plt): Likewise.
2951         (elf_machine_plt_conflict): Likewise.
2952         (resolve_ifunc): Likewise.
2953         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2954         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2955         Likewise.
2956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2957         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2959         (makecontext): Support ELFv2 ABI.
2960         * elf/elf.h (EF_PPC64_ABI): Define.
2962 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2964         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2965         New assembler macro.
2966         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2967         [ASSEMBLER] (ENTRY): ... but instead here ...
2968         [ASSEMBLER] (EALIGN): ... and here.
2969         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2970         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2971         [!ASSEMBLER] (ENTRY_2): Use it.
2972         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2973         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
2974         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2975         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2976         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2978         Use PPC64_LOAD_FUNCPTR.
2980 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2982         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2984 2013-12-04  Alan Modra  <amodra@gmail.com>
2986         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2987         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2988         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2989         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2991         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2992         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2993         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2994         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2995         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2996         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2998 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3001         (__makecontext): Fix incorrect CFI when backtracing out of
3002         context created via makecontext.
3003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
3004         (__setcontext): Fix incorrect CFI during switch to new context.
3005         (__novec_setcontext): Likewise.
3007 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
3009         [BZ #4772]
3010         * time/strptime_l.c (__strptime_internal): Allow modifiers
3011         in strptime.
3012         * time/tst-strptime.c (day_tests): Add testcase.
3015 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3017         * scripts/bench.pl: Skip over blank lines.
3019 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
3021         [BZ #926]
3022         * manual/time.texi (Calendar Time): Clarify what timezone functions
3023         use.
3025 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3027         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3029 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
3031         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
3032         implementation.
3033         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
3034         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
3035         * debug/memset_chk.c (__memset_chk): Likewise.
3036         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
3037         * debug/strncpy_chk.c: Likewise.
3039 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
3041         [BZ #15268]
3042         [BZ #15425]
3043         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
3044         (__ieee754_exp): For possibly underflowing results, check size of
3045         result and force underflow exception if required.
3046         * math/auto-libm-test-in: Add more tests of exp.
3047         * math/auto-libm-test-out: Regenerated.
3048         * sysdeps/i386/fpu/libm-test-ulps: Update.
3049         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3051         [BZ #16283]
3052         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
3053         * math/w_exp2f.c (__exp2f): Likewise.
3054         * math/w_exp2l.c (__exp2l): Likewise.
3055         * math/auto-libm-test-in: Do not allow missing errno on exp2
3056         underflow.
3057         * math/auto-libm-test-out: Regenerated.
3059 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
3061         [BZ #16274]
3062         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
3063         handle filename validation.
3064         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
3065         (do_open): Delete.
3067 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
3069         [BZ #6786]
3070         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
3071         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
3072         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
3073         <float.h>.
3074         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
3075         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
3076         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3077         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
3078         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3079         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
3080         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3081         * math/auto-libm-test-in: Don't allow missing errno from erfc.
3082         Add more erfc tests.
3083         * math/auto-libm-test-out: Regenerated.
3084         * sysdeps/i386/fpu/libm-test-ulps: Update.
3085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3087         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
3088         exp2, expm1, j0 and j1.
3089         * math/auto-libm-test-out: Regenerated.
3090         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
3091         (erfc_test_data): Likewise.
3092         (exp_test_data): Likewise.
3093         (exp_tonearest_test_data): Likewise.
3094         (exp_towardzero_test_data): Likewise.
3095         (exp_downward_test_data): Likewise.
3096         (exp_upward_test_data): Likewise.
3097         (exp10_test_data): Likewise.
3098         (exp2_test_data): Likewise.
3099         (expm1_test_data): Likewise.
3100         (j0_test_data): Likewise.
3101         (j1_test_data): Likewise.
3102         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
3103         (input_flag_type): Add flag_xfail_rounding.
3104         (input_flags): Add xfail-rounding.
3105         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
3106         (output_for_one_input_case): Handle flag_xfail_rounding.
3107         * sysdeps/i386/fpu/libm-test-ulps: Update.
3108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3110 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
3112         [BZ #16289]
3113         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
3114         division by 0.
3116 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
3118         [BZ #16195]
3119         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
3120         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
3121         (STAP_PROBE0): New macro.
3122         (STAP_PROBE1): Likewise.
3123         (STAP_PROBE2): Likewise.
3124         (STAP_PROBE3): Likewise.
3125         (STAP_PROBE4): Likewise.
3127 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
3129         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
3131 2013-12-02  Steve Ellcey  <sellcey@mips.com>
3133         * benchtests/Makefile (bench): Add sqrt.
3134         (LDLIBS-bench-sqrt): New.
3135         * benchtests/sqrt-input: New.
3137 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
3139         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
3140         (GAIH_EAI): Likewise.
3141         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
3142         (gaih_inet): Likewise.
3143         (getaddrinfo): Don't use GAIH_EAI.
3145         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
3146         (struct gaih): Remove definition.
3148 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3150         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
3151         Use HERRNOP directly.
3153 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3155         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3157 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
3159         * math/gen-auto-libm-tests.c (test_functions): Add more
3160         single-argument functions.
3161         (special_fill_pi_2): New function.
3162         (special_fill_minus_pi_2): Likewise.
3163         (special_fill_pi_6): Likewise.
3164         (special_fill_minus_pi_6): Likewise.
3165         (special_fill_pi_3): Likewise.
3166         (special_fill_2pi_3): Likewise.
3167         (special_fill_e): Likewise.
3168         (special_fill_1_e): Likewise.
3169         (special_fill_e_minus_1): Likewise.
3170         (special_real_inputs): Add more special inputs.
3171         (output_for_one_input_case): Do not require ERANGE on underflow to
3172         zero if round-to-nearest result does not underflow to zero, unless
3173         exact results required.
3174         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
3175         atan, atanh, cbrt, cos and cosh.
3176         * math/auto-libm-test-out: Regenerated.
3177         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
3178         (acos_tonearest_test_data): Likewise.
3179         (acos_towardzero_test_data): Likewise.
3180         (acos_downward_test_data): Likewise.
3181         (acos_upward_test_data): Likewise.
3182         (acosh_test_data): Likewise.
3183         (asin_test_data): Likewise.
3184         (asin_tonearest_test_data): Likewise.
3185         (asin_towardzero_test_data): Likewise.
3186         (asin_upward_test_data): Likewise.
3187         (asinh_test_data): Likewise.
3188         (atan_test_data): Likewise.
3189         (atanh_test_data): Likewise.
3190         (cbrt_test_data): Likewise.
3191         (cos_test_data): Likewise.
3192         (cos_tonearest_test_data): Likewise.
3193         (cos_towardzero_test_data): Likewise.
3194         (cos_downward_test_data): Likewise.
3195         (cos_upward_test_data): Likewise.
3196         (cosh_test_data): Likewise.
3197         (cosh_tonearest_test_data): Likewise.
3198         (cosh_towardzero_test_data): Likewise.
3199         (cosh_downward_test_data): Likewise.
3200         (cosh_upward_test_data): Likewise.
3201         * sysdeps/i386/fpu/libm-test-ulps: Update.
3202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3204 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
3206         [BZ #6787]
3207         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
3208         * math/w_exp10f.c (__exp10f): Likewise.
3209         * math/w_exp10l.c (__exp10l): Likewise.
3210         * math/libm-test.inc (exp10_test_data): Add more tests and expect
3211         errno settings in existing tests.
3213         [BZ #14032]
3214         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
3215         precision control set to double precision.
3216         * sysdeps/i386/fpu/w_sqrt.c: New file.
3217         * math/auto-libm-test-in: Add more tests.
3218         * math/auto-libm-test-out: Update.
3220         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
3221         (sqrt_test_tonearest): New function.
3222         (sqrt_towardzero_test_data): New variable.
3223         (sqrt_test_towardzero): New function.
3224         (sqrt_downward_test_data): New variable.
3225         (sqrt_test_downward): New function.
3226         (sqrt_upward_test_data): New variable.
3227         (sqrt_test_upward): New function.
3228         (main): Call the new functions.
3230         * math/gen-auto-libm-tests.c: New file.
3231         * math/auto-libm-test-in: Likewise.
3232         * math/auto-libm-test-out: New generated file.
3233         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
3234         variables.
3235         (%beautify): Add generated representations of zero.
3236         (top level): Set $auto_input and call parse_auto_input.
3237         (beautify): Remove trailing "f" from hex float constants.
3238         (parse_args): Handle XFAIL_TEST.
3239         (convert_condition): New function.
3240         (or_value): Likewise.
3241         (or_cond_value): Likewise.
3242         (generate_testfile): Handle AUTO_TESTS_* lines.
3243         (parse_auto_input): New function.
3244         * math/libm-test.inc (XFAIL_TEST): New macro.
3245         (ERRNO_UNCHANGED): Update value.
3246         (ERRNO_EDOM): Likewise.
3247         (ERRNO_ERANGE): Likewise.
3248         (IGNORE_RESULT): Likewise.
3249         (TEST_COND_flt_32): New macro.
3250         (TEST_COND_dbl_64): Likewise.
3251         (TEST_COND_ldbl_96_intel): Likewise.
3252         (TEST_COND_ldbl_96_m68k): Likewise.
3253         (TEST_COND_ldbl_128): Likewise.
3254         (TEST_COND_ldbl_128ibm): Likewise.
3255         (TEST_COND_long32): Likewise.
3256         (TEST_COND_long64): Likewise.
3257         (TEST_COND_before_rounding): Likewise.
3258         (TEST_COND_after_rounding): Likewise.
3259         (enable_test): Handle XFAIL_TEST flag.
3260         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
3261         with finite results.
3262         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
3263         auto-libm-test-out.
3265 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3266             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3268         [BZ #16214]
3269         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
3270         __tls_get_addr_internal instead of __tls_get_offset in order to
3271         avoid GOT pointer dependency.  Make rtld export
3272         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
3273         __tls_get_addr since we are a __tls_get_offset platform.
3274         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
3275         GOT pointer being set up before.
3276         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
3278 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
3280         * manual/math.texi (Errors in Math Functions): Document accuracy
3281         goals.
3283         [BZ #15004]
3284         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
3285         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
3286         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3287         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3288         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3289         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3290         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3291         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3292         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3293         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3294         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3295         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3296         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3297         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3298         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3299         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3301         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
3302         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
3303         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
3304         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
3305         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
3306         Likewise.
3307         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
3308         Likewise.
3309         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
3310         Likewise.
3311         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
3312         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
3313         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
3314         atomic-feupdateenv and flt-rounds.
3315         * sysdeps/powerpc/nofpu/Versions (libc): Add
3316         __atomic_feholdexcept, __atomic_feclearexcept,
3317         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
3318         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
3319         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
3320         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
3321         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
3322         here.
3323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3324         Update.
3326         * manual/arith.texi (FP Exceptions): Document that exceptions may
3327         not be raised when matherr is used.
3328         (Math Error Reporting): Document overflow in directed rounding
3329         modes.  Document that errno may not be set when finite values are
3330         returned on overflow.  Document intent to set errno on underflow
3331         only for underflow to zero.
3333         [BZ #16271]
3334         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
3335         round-to-nearest then adjust result for other rounding modes.
3336         * include/fenv.h (fegetround): Use libm_hidden_proto.
3337         * math/fegetround.c (fegetround): Use libm_hidden_def.
3338         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3339         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3340         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3341         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3342         Likewise.
3343         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
3344         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3345         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3346         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
3348 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3350         [BZ #16077]
3351         * nss/Versions (libnss_files): Add
3352         _nss_files_gethostbyname3_r.
3353         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
3354         New function.
3355         (HOST_DB_LOOKUP): Remove macro.
3356         (_nss_files_gethostbyname_r): Implement function without the
3357         HOST_DB_LOOKUP macro.
3358         (_nss_files_gethostbyname2_r): Likewise.
3360 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
3362         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
3364 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
3366         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
3367         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
3368         warning.
3370 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3372         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
3373         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
3374         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3375         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3376         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
3377         __fe_nomask_env_priv and attribute_hidden.
3378         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
3379         (libc_feupdateenv_test_ppc): Likewise.
3380         (libc_feresetround_ppc): Likewise.
3381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3382         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
3383         compat_symbol macro.
3384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3385         (__fe_nomask_env): Likewise.
3386         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
3388 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3390         * string/Makefile: Remove ifunc tests.
3391         * string/test-string.h: Define TEST_IFUNC.
3392         * string/test-bcopy-ifunc.c: Remove.
3393         * string/test-bzero-ifunc.c: Likewise.
3394         * string/test-memccpy-ifunc.c: Likewise.
3395         * string/test-memchr-ifunc.c: Likewise.
3396         * string/test-memcmp-ifunc.c: Likewise.
3397         * string/test-memcpy-ifunc.c: Likewise.
3398         * string/test-memmem-ifunc.c: Likewise.
3399         * string/test-memmove-ifunc.c: Likewise.
3400         * string/test-mempcpy-ifunc.c: Likewise.
3401         * string/test-memrchr-ifunc.c: Likewise.
3402         * string/test-memset-ifunc.c: Likewise.
3403         * string/test-rawmemchr-ifunc.c: Likewise.
3404         * string/test-stpcpy-ifunc.c: Likewise.
3405         * string/test-stpncpy-ifunc.c: Likewise.
3406         * string/test-strcasecmp-ifunc.c: Likewise.
3407         * string/test-strcasestr-ifunc.c: Likewise.
3408         * string/test-strcat-ifunc.c: Likewise.
3409         * string/test-strchr-ifunc.c: Likewise.
3410         * string/test-strchrnul-ifunc.c: Likewise.
3411         * string/test-strcmp-ifunc.c: Likewise.
3412         * string/test-strcpy-ifunc.c: Likewise.
3413         * string/test-strcspn-ifunc.c: Likewise.
3414         * string/test-strlen-ifunc.c: Likewise.
3415         * string/test-strncasecmp-ifunc.c: Likewise.
3416         * string/test-strncat-ifunc.c: Likewise.
3417         * string/test-strncmp-ifunc.c: Likewise.
3418         * string/test-strncpy-ifunc.c: Likewise.
3419         * string/test-strnlen-ifunc.c: Likewise.
3420         * string/test-strpbrk-ifunc.c: Likewise.
3421         * string/test-strrchr-ifunc.c: Likewise.
3422         * string/test-strspn-ifunc.c: Likewise.
3423         * string/test-strstr-ifunc.c: Likewise.
3425 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3427         * benchtests/Makefile: Remove ifunc tests.
3428         * benchtests/bench-string.h: Define TEST_IFUNC.
3429         * benchtests/bench-bcopy-ifunc.c: Remove.
3430         * benchtests/bench-bzero-ifunc.c: Likewise.
3431         * benchtests/bench-memccpy-ifunc.c: Likewise.
3432         * benchtests/bench-memchr-ifunc.c: Likewise.
3433         * benchtests/bench-memcmp-ifunc.c: Likewise.
3434         * benchtests/bench-memcpy-ifunc.c: Likewise.
3435         * benchtests/bench-memmem-ifunc.c: Likewise.
3436         * benchtests/bench-memmove-ifunc.c: Likewise.
3437         * benchtests/bench-mempcpy-ifunc.c: Likewise.
3438         * benchtests/bench-memrchr-ifunc.c: Likewise.
3439         * benchtests/bench-memset-ifunc.c: Likewise.
3440         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
3441         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
3442         * benchtests/bench-stpcpy-ifunc.c: Likewise.
3443         * benchtests/bench-stpncpy-ifunc.c: Likewise.
3444         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
3445         * benchtests/bench-strcasestr-ifunc.c: Likewise.
3446         * benchtests/bench-strcat-ifunc.c: Likewise.
3447         * benchtests/bench-strchr-ifunc.c: Likewise.
3448         * benchtests/bench-strchrnul-ifunc.c: Likewise.
3449         * benchtests/bench-strcmp-ifunc.c: Likewise.
3450         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
3451         * benchtests/bench-strcpy-ifunc.c: Likewise.
3452         * benchtests/bench-strcspn-ifunc.c: Likewise.
3453         * benchtests/bench-strlen-ifunc.c: Likewise.
3454         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
3455         * benchtests/bench-strncat-ifunc.c: Likewise.
3456         * benchtests/bench-strncmp-ifunc.c: Likewise.
3457         * benchtests/bench-strncpy-ifunc.c: Likewise.
3458         * benchtests/bench-strnlen-ifunc.c: Likewise.
3459         * benchtests/bench-strpbrk-ifunc.c: Likewise.
3460         * benchtests/bench-strrchr-ifunc.c: Likewise.
3461         * benchtests/bench-strsep-ifunc.c: Likewise.
3462         * benchtests/bench-strspn-ifunc.c: Likewise.
3463         * benchtests/bench-strstr-ifunc.c: Likewise.
3465 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3467         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
3469 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3471         * resolv/netdb.h: Use __glibc_reserved instead __unused.
3472         * rt/aio.h: Likewise.
3473         * sysdeps/gnu/bits/utmp.h: Likewise.
3474         * sysdeps/gnu/bits/utmpx.h: Likewise.
3475         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3476         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
3477         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
3478         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
3479         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
3480         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
3481         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
3482         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
3483         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
3484         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
3485         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
3486         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
3487         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
3488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
3489         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3490         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
3491         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
3492         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
3493         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
3494         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
3495         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
3496         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
3497         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
3498         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3499         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
3500         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3501         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
3502         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
3503         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
3504         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
3505         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
3506         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
3507         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
3508         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3509         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
3510         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
3511         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
3512         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
3513         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
3514         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
3515         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3516         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3518 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
3520         [BZ #16245]
3521         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
3522         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
3524 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
3526         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
3527         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3528         Likewise.
3530 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3532         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
3533         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
3534         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
3535         (__fesetround): Remove define.
3536         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
3537         rounding and exceptions handling.
3538         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
3539         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
3540         (__fe_nomask_env): Likewise.
3541         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
3542         __fegetround instead of fegetround.
3543         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3544         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3546 2013-11-21  Roland McGrath  <roland@hack.frob.com>
3548         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
3549         it's there.
3551         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
3553 2013-11-21  Meador Inge  <meadori@codesourcery.com>
3555         [BZ #11157]
3556         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
3557         (encrypt_r): Likewise.
3558         * malloc/obstack.h (obstack_free): Likewise.
3559         * posix/unistd.h (encrypt): Likewise.
3561 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
3563         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
3564         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
3565         DL_CALL_DT_FINI() that call the functions directly.
3566         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
3567         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
3568         * elf/dl-fini.c: Likewise.
3570 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
3572         * malloc/hooks.c (memalign_check): Add alignment rounding.
3573         * malloc/malloc.c (_mid_memalign): New function.
3574         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
3575         Implement by calling _mid_memalign.
3576         * manual/probes.texi (Memory Allocation Probes): Remove
3577         memory_valloc_retry and memory_pvalloc_retry.
3579 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
3581         * locale/programs/locarchive.c (open_archive): Add const
3582         qualifier to ARCHIVEFNAME and copy default fname to
3583         DEFAULT_FNAME.
3585         [BZ #15601]
3586         * libio/tst-widetext.input: Rename Oriya to Odia.
3587         * locale/iso-639.def: Likewise.
3589         * manual/probes.texi (Mathematical Function Probes): Add
3590         documentation for sin, cos, asin and acos probes.
3591         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
3592         (__sin32): Add slowasin probe.
3593         (__cos32): Add slowacos probe.
3594         (__mpsin): Add slowsin probe.
3595         (__mpcos): Add slowcos probe.
3597 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
3599         [BZ #15483]
3600         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
3601         thread-local __sim_exceptions_thread and global
3602         __sim_exceptions_global.
3603         (__sim_disabled_exceptions): Change to thread-local
3604         __sim_disabled_exceptions_thread and global
3605         __sim_disabled_exceptions_global.
3606         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3607         and global __sim_round_mode_global.
3608         (__simulate_exceptions): Use thread-local floating-point state and
3609         set global state from it as needed.
3610         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
3611         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
3612         __sim_round_mode_thread.
3613         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
3614         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
3615         and global __sim_exceptions_global.
3616         (__sim_disabled_exceptions): Change to thread-local
3617         __sim_disabled_exceptions_thread and global
3618         __sim_disabled_exceptions_global.
3619         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3620         and global __sim_round_mode_global.
3621         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
3622         (SIM_SET_GLOBAL): Likewise.
3623         * sysdeps/powerpc/soft-fp/sfp-machine.h
3624         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
3625         __sim_round_mode_thread.
3626         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
3627         __sim_disabled_exceptions_thread.
3628         (__sim_exceptions): Change to __sim_exceptions_thread.
3629         (__sim_disabled_exceptions): Change to
3630         __sim_disabled_exceptions_thread.
3631         (__sim_round_mode): Change to __sim_round_mode_thread.
3632         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
3633         thread-local floating-point state and set global state from it as
3634         needed.
3635         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
3636         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
3637         (__sim_disabled_exceptions): Remove extern declaration.
3638         (feenableexcept): Use thread-local floating-point state and set
3639         global state from it as needed.
3640         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
3641         extern declaration.
3642         (__sim_disabled_exceptions): Likewise.
3643         (__sim_round_mode): Likewise.
3644         (__fegetenv): Use thread-local floating-point state.
3645         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
3646         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3647         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
3648         floating-point state and set global state from it as needed.
3649         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
3650         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3651         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
3652         Likewise.
3653         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3654         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
3655         Likewise.
3656         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
3657         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
3658         Use __sim_round_mode_thread.
3659         * math/test-fenv-tls.c: New file.
3660         * math/Makefile (tests): Add test-fenv-tls.
3661         ($(objpfx)test-fenv-tls): Depend on
3662         $(common-objpfx)nptl/libpthread.so.
3664 2013-11-19  Andreas Schwab  <schwab@suse.de>
3666         * locale/programs/locale.c (show_info): Decode wordarray elements.
3667         * locale/categories.def (LC_MONETARY): Add element for
3668         _NL_MONETARY_CRNCYSTR.
3669         * locale/C-monetary.c (conversion_rate): New variable.
3670         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
3671         element.
3673 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
3675         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
3676         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
3678 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
3680         * elf/Makefile (tst-auxv): New test.
3681         * elf/tst-auxv.c: New
3682         * elf/rtld.c (dl_main): Adjust AT_EXECFN
3684 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
3686         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
3687         (hidden_proto): Caller changed.
3688         (hidden_tls_proto): New macro.
3689         (libc_hidden_tls_proto): Likewise.
3690         (rtld_hidden_tls_proto): Likewise.
3691         (libm_hidden_tls_proto): Likewise.
3692         (libresolv_hidden_tls_proto): Likewise.
3693         (librt_hidden_tls_proto): Likewise.
3694         (libdl_hidden_tls_proto): Likewise.
3695         (libnss_files_hidden_tls_proto): Likewise.
3696         (libnsl_hidden_tls_proto): Likewise.
3697         (libnss_nisplus_hidden_tls_proto): Likewise.
3698         (libutil_hidden_tls_proto): Likewise.
3700 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
3702         [BZ #10253]
3703         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
3704         (decompose_rpath): Defer expansion to fillin_rpath.
3705         (_dl_init_paths): Pass linkmap to fillin_rpath.
3707 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3709         * benchtests/Makefile: Add strsep.
3710         * benchtests/bench-strsep.c: New file: strsep benchtest.
3711         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
3713 2013-11-18  Andreas Schwab  <schwab@suse.de>
3715         * locale/programs/locale.c (show_info) [case byte]: Check for
3716         '\377' instead of '\177'.
3717         * locale/C-monetary.c (not_available): Always use "\377".
3718         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
3719         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
3720         detect unavailable sign_posn locale elements.
3721         * locale/localeconv.c (__localeconv): For grouping and
3722         mon_grouping handle "\177" and "\377" like no grouping.
3723         (INT_ELEM): New macro.  Use it to set all numeric members.
3724         * locale/programs/ld-monetary.c (monetary_read)
3725         <tok_mon_grouping>: Normalize single -1 to the empty string.
3726         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
3727         Likewise.
3729 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
3731         [BZ #16055]
3732         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
3733         when we match (nil).
3734         * stdio-common/tst-sscanf.c (struct test): Add testcase.
3736 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
3738         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3739         (NO_TEST_INLINE): Update value.
3740         (ERRNO_UNCHANGED): Likewise.
3741         (ERRNO_EDOM): Likewise.
3742         (ERRNO_ERANGE): Likewise.
3743         (IGNORE_RESULT): Likewise.
3744         (check_float_internal): Check signs of NaN results if
3745         TEST_NAN_SIGN used.
3746         (check_complex): Pass TEST_NAN_SIGN flag through to second
3747         check_float_internal call.
3748         (copysign_test_data): Add tests with quiet NaNs as second
3749         argument.  Use TEST_NAN_SIGN.
3750         (fabs_test_data): Add test of negative quiet NaN argument.  Use
3751         TEST_NAN_SIGN.
3752         (signbit_test_data): Add tests of quiet NaN argument.
3753         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3755         * math/gen-libm-test.pl (show_exceptions): Take extra argument
3756         $ignore_result.
3757         (parse_args): Handle function results specified as IGNORE.
3758         * math/libm-test.inc (IGNORE_RESULT): New macro.
3759         (check_float_internal): Do not check numerical result if flag
3760         IGNORE_RESULT set.
3761         (check_complex): Pass through IGNORE_RESULT to second
3762         check_float_internal call.
3763         (check_int): Do not check numerical result if flag IGNORE_RESULT
3764         set.
3765         (check_long): Likewise.
3766         (check_bool): Likewise.
3767         (check_longlong): Likewise.
3768         (lrint_test_data): Add tests of infinite and NaN arguments.
3769         (lrint_tonearest_test_data): Likewise.
3770         (lrint_towardzero_test_data): Likewise.
3771         (lrint_downward_test_data): Likewise.
3772         (lrint_upward_test_data): Likewise.
3773         (llrint_test_data): Likewise.
3774         (llrint_tonearest_test_data): Likewise.
3775         (llrint_towardzero_test_data): Likewise.
3776         (llrint_downward_test_data): Likewise.
3777         (llrint_upward_test_data): Likewise.
3778         (lround_test_data): Likewise.
3779         (llround_test_data): Likewise.
3781         * math/libm-test.inc (NO_TEST_INLINE): New macro.
3782         (ERRNO_UNCHANGED): Update value.
3783         (ERRNO_EDOM): Likewise.
3784         (ERRNO_ERANGE): Likewise.
3785         (NO_TEST_INLINE_FLOAT): New macro.
3786         (NO_TEST_INLINE_DOUBLE): Likewise.
3787         (enable_test): New function.
3788         (RUN_TEST_f_f): Check enable_test before running test.
3789         (RUN_TEST_2_f): Likewise.
3790         (RUN_TEST_fff_f): Likewise.
3791         (RUN_TEST_c_f): Likewise.
3792         (RUN_TEST_f_f1): Likewise.
3793         (RUN_TEST_fF_f1): Likewise.
3794         (RUN_TEST_fI_f1): Likewise.
3795         (RUN_TEST_ffI_f1): Likewise.
3796         (RUN_TEST_c_c): Likewise.
3797         (RUN_TEST_cc_c): Likewise.
3798         (RUN_TEST_f_i): Likewise.
3799         (RUN_TEST_f_i_tg): Likewise.
3800         (RUN_TEST_ff_i_tg): Likewise.
3801         (RUN_TEST_f_b): Likewise.
3802         (RUN_TEST_f_b_tg): Likewise.
3803         (RUN_TEST_f_l): Likewise.
3804         (RUN_TEST_f_L): Likewise.
3805         (RUN_TEST_fFF_11): Likewise.
3806         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3807         conditionals.
3808         (cosh_test_data): Likewise.
3809         (exp_test_data): Likewise.
3810         (expm1_test_data): Likewise.
3811         (hypot_test_data): Likewise.
3812         (pow_test_data): Likewise.
3813         (sinh_test_data): Likewise.
3814         (tanh_test_data): Likewise.
3815         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3816         flags argument.
3818         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3819         tests with quiet NaN input and output.
3820         (acosh_test_data): Likewise.
3821         (asin_test_data): Likewise.
3822         (asinh_test_data): Likewise.
3823         (atan_test_data): Likewise.
3824         (atanh_test_data): Likewise.
3825         (atan2_test_data): Likewise.
3826         (cbrt_test_data): Likewise.
3827         (cos_test_data): Likewise.
3828         (cosh_test_data): Likewise.
3829         (erf_test_data): Likewise.
3830         (erfc_test_data): Likewise.
3831         (exp_test_data): Likewise.
3832         (exp10_test_data): Likewise.
3833         (exp2_test_data): Likewise.
3834         (expm1_test_data): Likewise.
3835         (hypot_test_data): Likewise.
3836         (j0_test_data): Likewise.
3837         (j1_test_data): Likewise.
3838         (jn_test_data): Likewise.
3839         (lgamma_test_data): Likewise.
3840         (log_test_data): Likewise.
3841         (log10_test_data): Likewise.
3842         (log1p_test_data): Likewise.
3843         (log2_test_data): Likewise.
3844         (pow_test_data): Likewise.
3845         (scalb_test_data): Likewise.
3846         (sin_test_data): Likewise.
3847         (sincos_test_data): Likewise.
3848         (sinh_test_data): Likewise.
3849         (tan_test_data): Likewise.
3850         (tanh_test_data): Likewise.
3851         (tgamma_test_data): Likewise.
3852         (y0_test_data): Likewise.
3853         (y1_test_data): Likewise.
3854         (yn_test_data): Likewise.
3856         [BZ #16167]
3857         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3858         argument being NaN and avoid computations with second argument in
3859         that case.
3860         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3861         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3862         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3864 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
3866         * locale/iso-639.def: Add Chitwani Tharu (the).
3868 2013-11-14  Andreas Schwab  <schwab@suse.de>
3870         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3871         word instead of empty string.
3873 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3876         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3878         (__fe_nomask_env): Likewise.
3880 2013-11-13  Steve Ellcey  <sellcey@mips.com>
3882         * benchtests/bench-timing.h: Include time.h.
3884 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
3886         [BZ #15997]
3887         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3888         to 3.4.0 for x32.
3889         * sysdeps/unix/sysv/linux/configure: Regenerated.
3891 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
3893         [BZ #16151]
3894         * stdlib/strtod_l.c (round_and_return): Do not consider
3895         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3896         exponent one less than half the least subnormal exponent.
3897         * stdlib/test-strtod-round-data: Add more tests.
3898         * stdlib/tst-strtod-round.c (tests): Regenerated.
3900 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3902         [BZ #14143]
3903         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3904         (__fe_mask_env): Likewise.
3905         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3906         libm_hidden_proto and add function prototype.
3907         (__fe_mask_env): Add function prototype.
3908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3909         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3911         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3913         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3915 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3917         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
3918         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3920 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3922         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3923         of htab_find_slot().
3925 2013-11-11  David S. Miller  <davem@davemloft.net>
3927         [BZ #16150]
3928         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3929         symbol in the non-vis3 case in static builds.
3930         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3931         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3932         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3933         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3935 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
3937         [BZ #387]
3938         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3939         it is empty.
3941 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3943         * benchtests/Makefile: Add bench-strtod.
3944         * benchtests/bench-strtod.c: New file: strtod benchtest
3946 2013-11-11  Andreas Schwab  <schwab@suse.de>
3948         [BZ #16153]
3949         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3950         terminating NUL in key length.
3952 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3954         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3955         Add artificial ODP entry for vDSO symbol for PPC64.
3956         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3957         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3959 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
3961         [BZ #15374]
3962         * nss/getent.c (services_keys): Recognize services starting with digit.
3964 2013-11-06  David S. Miller  <davem@davemloft.net>
3966         [BZ #15985]
3967         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3968         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3970 2013-11-06  Will Newton  <will.newton@linaro.org>
3972         * manual/memory.texi (Malloc Examples): Remove register
3973         keyword from examples.
3975 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
3977         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
3979 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
3981         [BZ #6981]
3982         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3983         depending on [__GCC_IEC_559 > 0].
3984         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3985         depending on [__GCC_IEC_559_COMPLEX > 0].
3987 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
3989         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3990         to iso-639.def.
3992 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
3994         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3996 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
3998         [BZ #16112]
3999         * malloc/malloc (malloc_info): Do not handle first bin as
4000         special case.
4002 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
4004         * locale/iso-639.def: Add Central Nahuatl (nhn).
4006 2013-11-01  Bruno Haible  <bruno@clisp.org>
4008         [BZ #7003]
4009         * manual/math.texi (BSD Random): Specify range upper bound as
4010         in POSIX.
4012 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
4014         * locale/iso-639.def: Add Meadow Mari (mhr).
4016 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
4018         [BZ #14752], [BZ #15763]
4019         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
4020         Validate name.
4021         * rt/tst_shm.c: Add test for escaping directory.
4023 2013-10-31  Andreas Schwab  <schwab@suse.de>
4025         [BZ #15917]
4026         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
4027         followed by 'x' as part of digit sequence.
4028         * stdio-common/tst-sscanf.c (double_tests2): New tests.
4030 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
4032         [BZ #16037]
4033         * configure.ac: allow GNU Make 4.0 and greater.
4034         * configure: Regenerated.
4036 2013-10-30  Will Newton  <will.newton@linaro.org>
4038         [BZ #16038]
4039         * malloc/hooks.c (memalign_check): Limit alignment to the
4040         maximum representable power of two.
4041         * malloc/malloc.c (__libc_memalign): Likewise.
4042         * malloc/tst-memalign.c (do_test): Add test for very
4043         large alignment values.
4044         * malloc/tst-posix_memalign.c (do_test): Likewise.
4046 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
4048         [BZ #11087]
4049         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
4050         (munmap_chunk): Likewise.
4051         (mremap_chunk): Likewise.
4053 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
4055         [BZ #15799]
4056         * stdlib/div.c (div): Remove obsolete code.
4057         * stdlib/ldiv.c (ldiv): Likewise.
4058         * stdlib/lldiv.c (lldiv): Likewise.
4060 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4062         [BZ #16071]
4063         * nss/nss_files/files-XXX.c (get_contents_ret): New
4064         enumerator.
4065         (get_contents): New function.
4066         (internal_getent): Use it.  Expand size of LINEBUFLEN.
4068 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
4070         * configure.in: Moved to ...
4071         * configure.ac: ... here. Change reference to configure.in
4072         to configure.ac.
4073         * sysdeps/arm/preconfigure.ac: ... here.
4074         configure.in to configure.ac.
4075         * sysdeps/gnu/configure.in: Moved to ...
4076         * sysdeps/gnu/configure.ac: ... here.
4077         * sysdeps/i386/configure.in: Moved to ...
4078         * sysdeps/i386/configure.ac: ... here.
4079         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
4080         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
4081         * sysdeps/mach/configure.in: Moved to ...
4082         * sysdeps/mach/configure.ac: ... here.
4083         * sysdeps/mach/hurd/configure.in: Moved to ...
4084         * sysdeps/mach/hurd/configure.ac: ... here.
4085         * sysdeps/powerpc/configure.in: Moved to ...
4086         * sysdeps/powerpc/configure.ac: ... here.
4087         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
4088         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
4089         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
4090         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
4091         * sysdeps/s390/s390-32/configure.in: Moved to ...
4092         * sysdeps/s390/s390-32/configure.ac: ... here.
4093         * sysdeps/s390/s390-64/configure.in: Moved to ...
4094         * sysdeps/s390/s390-64/configure.ac: ... here.
4095         * sysdeps/sh/configure.in: Moved to ...
4096         * sysdeps/sh/configure.ac: ... here.
4097         * sysdeps/sparc/configure.in: Moved to ...
4098         * sysdeps/sparc/configure.ac: ... here.
4099         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
4100         * sysdeps/unix/sysv/linux/configure.ac: ... here.
4101         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
4102         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
4103         * sysdeps/x86_64/configure.in: Moved to ...
4104         * sysdeps/x86_64/configure.ac: ... here.
4105         * sysdeps/x86_64/preconfigure.in: Moved to ...
4106         * sysdeps/x86_64/preconfigure.ac: ... here.
4107         * aclocal.m4: Change reference to configure.in to configure.ac.
4108         * config.h.in: Likewise.
4109         * manual/install.texi: Likewise.
4110         * manual/maint.texi: Likewise.
4111         * Makefile: Likewise.
4112         * malloc/Makefile: Likewise.
4113         * nscd/Makefile: Likewise.
4114         * Makeconfig: Change reference to configure.in and
4115         preconfigure.in to configure.ac and preconfigure.ac
4116         respectively.
4117         * INSTALL: Regenerated.
4118         * configure: Likewise.
4119         * sysdeps/gnu/configure: Likewise.
4120         * sysdeps/i386/configure: Likewise.
4121         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
4122         * sysdeps/mach/configure: Likewise.
4123         * sysdeps/mach/hurd/configure: Likewise.
4124         * sysdeps/powerpc/configure: Likewise.
4125         * sysdeps/powerpc/powerpc32/configure: Likewise.
4126         * sysdeps/powerpc/powerpc64/configure: Likewise.
4127         * sysdeps/s390/s390-32/configure: Likewise.
4128         * sysdeps/s390/s390-64/configure: Likewise.
4129         * sysdeps/sh/configure: Likewise.
4130         * sysdeps/sparc/configure: Likewise.
4131         * sysdeps/unix/sysv/linux/configure: Likewise.
4132         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
4133         * sysdeps/x86_64/configure: Likewise.
4134         * sysdeps/x86_64/preconfigure: Likewise.
4136 2013-10-29  Andreas Schwab  <schwab@suse.de>
4138         * stdio-common/Makefile (tst-swscanf-ENV): Define.
4140 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4142         * benchtests/pow-inputs: Add new inputs.
4144         * benchtests/exp-inputs: Add new inputs.
4146         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
4147         conditional check for return value.
4148         (__cos32): Likewise.
4150 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4152         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
4153         to provide a boost for large inputs with word alignment.
4154         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
4155         implementation based on optimized PPC64 strcpy.
4156         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
4157         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
4158         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
4159         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
4161 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
4163         [BZ #2801]
4164         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
4166 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
4168         [BZ #14876]
4169         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
4170         * time/tst-strptime.c (day_tests): Add testcase.
4172 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
4174         [BZ #14029]
4175         * manual/pattern.texi: Acknowledge that fnmatch can fail.
4177 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
4179         [BZ #16074]
4180         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
4181         MAP_FAILED on error.
4183 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
4185         [BZ #16072]
4186         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
4187         heap for large requests.
4189 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
4191         [BZ #9954]
4192         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
4193         result if the result has no associated interface.
4194         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
4195         interface for all 127.X.Y.Z addresses.
4197 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
4199         * locale/iso-639.def: Add Ligurian (lij)
4201 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
4203         [BZ #15825]
4204         * sunrpc/rpc_main.c: Document rpcgen -5.
4206 2013-10-19  Michael Stahl  <mstahl@redhat.com>
4208         * elf/rtld.c (do_preload): Print the reason why preloading failed.
4210 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
4212         [BZ #10278]
4213         * posix/glob.c: Match only directories when trailing slash is present.
4214         * posix/tst-gnuglob.c (my_opendir): Do not open files.
4215         (main): Add testcase.
4217 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
4219         [BZ #15670]
4220         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
4222 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
4224         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
4225         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
4226         AUTH_DES and cindex for FIPS 140-2.
4227         (DES Encryption): Add cindex FIPS 46-3.
4229         * locale/locarchive.h (struct locarhandle): Add fname.
4230         * locale/programs/localedef.c (main): Pass ARGV[remaining]
4231         if an optional argument was specified to --list-archive,
4232         otherwise NULL.
4233         * locale/programs/locarchive.c (show_archive_content): Take new
4234         argument fname and pass it via ah.fname to open_archive.
4235         * locale/programs/localedef.h: Update decl.
4236         (open_archive): If AH->fname is non-null, open that file
4237         rather than the default file name, and don't ignore ENOENT.
4238         (create_archive): Set AH.fname to NULL.
4239         (delete_locales_from_archive): Likewise.
4240         (add_locales_to_archive): Likewise.
4241         * locale/programs/locfile.c (write_all_categories): Likewise.
4243 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
4244             Aldy Hernandez  <aldyh@redhat.com>
4246         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
4247         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
4248         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
4249         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
4250         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
4251         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
4252         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
4253         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
4254         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
4255         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
4256         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
4257         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
4258         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
4259         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
4260         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
4261         Likewise.
4262         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
4263         Likewise.
4264         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
4265         Likewise.
4266         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
4267         Likewise.
4268         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
4269         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
4270         Likewise.
4271         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
4272         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
4273         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
4274         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
4275         Likewise.
4276         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
4277         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
4278         * sysdeps/powerpc/preconfigure: Likewise.
4279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
4280         Likewise.
4281         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
4282         Replace contents of file by #include of <fenv_libc.h>.
4283         * sysdeps/powerpc/soft-fp/sfp-machine.h
4284         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
4285         and <sys/prctl.h>.
4286         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
4287         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
4288         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
4289         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
4290         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
4291         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
4292         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
4293         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
4294         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
4295         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
4296         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
4297         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
4298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4299         Allow copysignl PLT reference to be missing.
4301 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
4302             Joseph Myers  <joseph@codesourcery.com
4304         [BZ #15948]
4305         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
4306         single character.
4307         (add_to_tablewc): Assert sequence of wide characters is nonempty.
4309 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4311         * elf/tst-tls-dlinfo.c: Don't include tls.h.
4312         * elf/tst-tls1.c: Likewise.
4313         * elf/tst-tls10.h: Likewise.
4314         * elf/tst-tls14.c: Likewise.
4315         * elf/tst-tls2.c: Likewise.
4316         * elf/tst-tls3.c: Likewise.
4317         * elf/tst-tls4.c: Likewise.
4318         * elf/tst-tls5.c: Likewise.
4319         * elf/tst-tls6.c: Likewise.
4320         * elf/tst-tls7.c: Likewise.
4321         * elf/tst-tls8.c: Likewise.
4322         * elf/tst-tls9.c: Likewise.
4323         * elf/tst-tlsmod1.c: Likewise.
4324         * elf/tst-tlsmod13.c: Likewise.
4325         * elf/tst-tlsmod13a.c: Likewise.
4326         * elf/tst-tlsmod14a.c: Likewise.
4327         * elf/tst-tlsmod16a.c: Likewise.
4328         * elf/tst-tlsmod16b.c: Likewise.
4329         * elf/tst-tlsmod2.c: Likewise.
4330         * elf/tst-tlsmod3.c: Likewise.
4331         * elf/tst-tlsmod4.c: Likewise.
4332         * elf/tst-tlsmod5.c: Likewise.
4333         * elf/tst-tlsmod6.c: Likewise.
4335 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
4337         [BZ #12486]
4338         * malloc/malloc.c: remove checks for statistics.
4340 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
4342         [BZ #15277]
4343         * inet/inet_net.c (inet_network): Detect additional invalid strings.
4344         * inet/tst-network.c: Add testcase.
4346 2013-10-17  Andreas Schwab  <schwab@suse.de>
4348         [BZ #15218]
4349         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
4350         to determine canonical name.
4352 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
4354         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
4355         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
4356         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4357         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4358         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4359         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4360         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4361         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4362         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4363         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4364         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4365         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4366         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4367         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4368         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4369         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4370         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4371         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4372         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4373         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4374         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4375         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4376         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4377         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
4378         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
4379         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4380         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4381         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
4382         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4383         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
4384         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4385         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4386         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4387         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4388         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4389         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4390         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4391         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4392         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4393         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4394         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4395         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4396         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4397         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4398         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4399         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4400         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4401         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4402         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4403         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4404         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4405         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4406         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4407         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4408         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4409         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4410         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4411         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4413 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
4415         [BZ #16041]
4416         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
4417         make result into a quiet NaN.
4419 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
4421         * soft-fp/adddf3.c: Fix horizontal whitespace.
4422         * soft-fp/addsf3.c: Likewise.
4423         * soft-fp/addtf3.c: Likewise.
4424         * soft-fp/divdf3.c: Likewise.
4425         * soft-fp/divsf3.c: Likewise.
4426         * soft-fp/divtf3.c: Likewise.
4427         * soft-fp/double.h: Likewise.
4428         * soft-fp/eqdf2.c: Likewise.
4429         * soft-fp/eqsf2.c: Likewise.
4430         * soft-fp/eqtf2.c: Likewise.
4431         * soft-fp/extenddftf2.c: Likewise.
4432         * soft-fp/extended.h: Likewise.
4433         * soft-fp/extendsfdf2.c: Likewise.
4434         * soft-fp/extendsftf2.c: Likewise.
4435         * soft-fp/extendxftf2.c: Likewise.
4436         * soft-fp/fixdfdi.c: Likewise.
4437         * soft-fp/fixdfsi.c: Likewise.
4438         * soft-fp/fixdfti.c: Likewise.
4439         * soft-fp/fixsfdi.c: Likewise.
4440         * soft-fp/fixsfsi.c: Likewise.
4441         * soft-fp/fixsfti.c: Likewise.
4442         * soft-fp/fixtfdi.c: Likewise.
4443         * soft-fp/fixtfsi.c: Likewise.
4444         * soft-fp/fixtfti.c: Likewise.
4445         * soft-fp/fixunsdfdi.c: Likewise.
4446         * soft-fp/fixunsdfsi.c: Likewise.
4447         * soft-fp/fixunsdfti.c: Likewise.
4448         * soft-fp/fixunssfdi.c: Likewise.
4449         * soft-fp/fixunssfsi.c: Likewise.
4450         * soft-fp/fixunssfti.c: Likewise.
4451         * soft-fp/fixunstfdi.c: Likewise.
4452         * soft-fp/fixunstfsi.c: Likewise.
4453         * soft-fp/fixunstfti.c: Likewise.
4454         * soft-fp/floatdidf.c: Likewise.
4455         * soft-fp/floatdisf.c: Likewise.
4456         * soft-fp/floatditf.c: Likewise.
4457         * soft-fp/floatsidf.c: Likewise.
4458         * soft-fp/floatsisf.c: Likewise.
4459         * soft-fp/floatsitf.c: Likewise.
4460         * soft-fp/floattidf.c: Likewise.
4461         * soft-fp/floattisf.c: Likewise.
4462         * soft-fp/floattitf.c: Likewise.
4463         * soft-fp/floatundidf.c: Likewise.
4464         * soft-fp/floatundisf.c: Likewise.
4465         * soft-fp/floatunditf.c: Likewise.
4466         * soft-fp/floatunsidf.c: Likewise.
4467         * soft-fp/floatunsisf.c: Likewise.
4468         * soft-fp/floatunsitf.c: Likewise.
4469         * soft-fp/floatuntidf.c: Likewise.
4470         * soft-fp/floatuntisf.c: Likewise.
4471         * soft-fp/floatuntitf.c: Likewise.
4472         * soft-fp/fmadf4.c: Likewise.
4473         * soft-fp/fmasf4.c: Likewise.
4474         * soft-fp/fmatf4.c: Likewise.
4475         * soft-fp/gedf2.c: Likewise.
4476         * soft-fp/gesf2.c: Likewise.
4477         * soft-fp/getf2.c: Likewise.
4478         * soft-fp/ledf2.c: Likewise.
4479         * soft-fp/lesf2.c: Likewise.
4480         * soft-fp/letf2.c: Likewise.
4481         * soft-fp/muldf3.c: Likewise.
4482         * soft-fp/mulsf3.c: Likewise.
4483         * soft-fp/multf3.c: Likewise.
4484         * soft-fp/negdf2.c: Likewise.
4485         * soft-fp/negsf2.c: Likewise.
4486         * soft-fp/negtf2.c: Likewise.
4487         * soft-fp/op-1.h: Likewise.
4488         * soft-fp/op-2.h: Likewise.
4489         * soft-fp/op-4.h: Likewise.
4490         * soft-fp/op-8.h: Likewise.
4491         * soft-fp/op-common.h: Likewise.
4492         * soft-fp/quad.h: Likewise.
4493         * soft-fp/single.h: Likewise.
4494         * soft-fp/soft-fp.h: Likewise.
4495         * soft-fp/sqrtdf2.c: Likewise.
4496         * soft-fp/sqrtsf2.c: Likewise.
4497         * soft-fp/sqrttf2.c: Likewise.
4498         * soft-fp/subdf3.c: Likewise.
4499         * soft-fp/subsf3.c: Likewise.
4500         * soft-fp/subtf3.c: Likewise.
4501         * soft-fp/truncdfsf2.c: Likewise.
4502         * soft-fp/trunctfdf2.c: Likewise.
4503         * soft-fp/trunctfsf2.c: Likewise.
4504         * soft-fp/trunctfxf2.c: Likewise.
4505         * soft-fp/unorddf2.c: Likewise.
4506         * soft-fp/unordsf2.c: Likewise.
4507         * soft-fp/unordtf2.c: Likewise.
4509 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
4511         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
4512         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
4514 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
4516         * elf/dl-libc.c: Clear initfini list after freeing.
4518 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
4520         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
4521         * soft-fp/addsf3.c: Likewise.
4522         * soft-fp/addtf3.c: Likewise.
4523         * soft-fp/divdf3.c: Likewise.
4524         * soft-fp/divsf3.c: Likewise.
4525         * soft-fp/divtf3.c: Likewise.
4526         * soft-fp/double.h: Likewise.
4527         * soft-fp/eqdf2.c: Likewise.
4528         * soft-fp/eqsf2.c: Likewise.
4529         * soft-fp/eqtf2.c: Likewise.
4530         * soft-fp/extenddftf2.c: Likewise.
4531         * soft-fp/extended.h: Likewise.
4532         * soft-fp/extendsfdf2.c: Likewise.
4533         * soft-fp/extendsftf2.c: Likewise.
4534         * soft-fp/extendxftf2.c: Likewise.
4535         * soft-fp/fixdfdi.c: Likewise.
4536         * soft-fp/fixdfsi.c: Likewise.
4537         * soft-fp/fixdfti.c: Likewise.
4538         * soft-fp/fixsfdi.c: Likewise.
4539         * soft-fp/fixsfsi.c: Likewise.
4540         * soft-fp/fixsfti.c: Likewise.
4541         * soft-fp/fixtfdi.c: Likewise.
4542         * soft-fp/fixtfsi.c: Likewise.
4543         * soft-fp/fixtfti.c: Likewise.
4544         * soft-fp/fixunsdfdi.c: Likewise.
4545         * soft-fp/fixunsdfsi.c: Likewise.
4546         * soft-fp/fixunsdfti.c: Likewise.
4547         * soft-fp/fixunssfdi.c: Likewise.
4548         * soft-fp/fixunssfsi.c: Likewise.
4549         * soft-fp/fixunssfti.c: Likewise.
4550         * soft-fp/fixunstfdi.c: Likewise.
4551         * soft-fp/fixunstfsi.c: Likewise.
4552         * soft-fp/fixunstfti.c: Likewise.
4553         * soft-fp/floatdidf.c: Likewise.
4554         * soft-fp/floatdisf.c: Likewise.
4555         * soft-fp/floatditf.c: Likewise.
4556         * soft-fp/floatsidf.c: Likewise.
4557         * soft-fp/floatsisf.c: Likewise.
4558         * soft-fp/floatsitf.c: Likewise.
4559         * soft-fp/floattidf.c: Likewise.
4560         * soft-fp/floattisf.c: Likewise.
4561         * soft-fp/floattitf.c: Likewise.
4562         * soft-fp/floatundidf.c: Likewise.
4563         * soft-fp/floatundisf.c: Likewise.
4564         * soft-fp/floatunsidf.c: Likewise.
4565         * soft-fp/floatunsisf.c: Likewise.
4566         * soft-fp/floatuntidf.c: Likewise.
4567         * soft-fp/floatuntisf.c: Likewise.
4568         * soft-fp/floatuntitf.c: Likewise.
4569         * soft-fp/fmadf4.c: Likewise.
4570         * soft-fp/fmasf4.c: Likewise.
4571         * soft-fp/fmatf4.c: Likewise.
4572         * soft-fp/gedf2.c: Likewise.
4573         * soft-fp/gesf2.c: Likewise.
4574         * soft-fp/getf2.c: Likewise.
4575         * soft-fp/ledf2.c: Likewise.
4576         * soft-fp/lesf2.c: Likewise.
4577         * soft-fp/letf2.c: Likewise.
4578         * soft-fp/muldf3.c: Likewise.
4579         * soft-fp/mulsf3.c: Likewise.
4580         * soft-fp/multf3.c: Likewise.
4581         * soft-fp/negdf2.c: Likewise.
4582         * soft-fp/negsf2.c: Likewise.
4583         * soft-fp/negtf2.c: Likewise.
4584         * soft-fp/op-1.h: Likewise.
4585         * soft-fp/op-2.h: Likewise.
4586         * soft-fp/op-4.h: Likewise.
4587         * soft-fp/op-8.h: Likewise.
4588         * soft-fp/op-common.h: Likewise.
4589         * soft-fp/quad.h: Likewise.
4590         * soft-fp/single.h: Likewise.
4591         * soft-fp/soft-fp.h: Likewise.
4592         * soft-fp/sqrtdf2.c: Likewise.
4593         * soft-fp/sqrtsf2.c: Likewise.
4594         * soft-fp/sqrttf2.c: Likewise.
4595         * soft-fp/subdf3.c: Likewise.
4596         * soft-fp/subsf3.c: Likewise.
4597         * soft-fp/subtf3.c: Likewise.
4598         * soft-fp/truncdfsf2.c: Likewise.
4599         * soft-fp/trunctfdf2.c: Likewise.
4600         * soft-fp/trunctfsf2.c: Likewise.
4601         * soft-fp/trunctfxf2.c: Likewise.
4602         * soft-fp/unorddf2.c: Likewise.
4603         * soft-fp/unordsf2.c: Likewise.
4604         * soft-fp/unordtf2.c: Likewise.
4606 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
4608         [BZ #15672]
4609         * misc/error.c (error_tail): Fix possible buffer overflow.
4611 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
4613         [BZ #13028]
4614         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
4615         address.
4617 2013-10-14  P. J. McDermott  <pj@pehjota.net>
4619         [BZ #832]
4620         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
4621         testing pipefail option.
4623 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
4625         * soft-fp/double.h: Indent preprocessor directives inside #if.
4626         * soft-fp/extended.h: Likewise.
4627         * soft-fp/op-2.h: Likewise.
4628         * soft-fp/op-4.h: Likewise.
4629         * soft-fp/op-common.h: Likewise.
4630         * soft-fp/quad.h: Likewise.
4631         * soft-fp/single.h: Likewise.
4632         * soft-fp/soft-fp.h: Likewise.
4634 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
4636         * iconv/iconv_prog.c: Fix typos.
4637         * stdio-common/psiginfo-data.h: Likewise.
4639 2013-10-12   Reuben Thomas <rrt@sc3d.org>
4641         [BZ #15764]
4642         * locale/setlocale.c: Fix typo.
4644 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
4646         [BZ #16036]
4647         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
4648         signaling NaN arguments.
4649         * soft-fp/unordsf2.c (__unordsf2): Likewise.
4650         * soft-fp/unordtf2.c (__unordtf2): Likewise.
4652         [BZ #14910]
4653         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
4654         unordered operands.
4655         * soft-fp/gesf2.c (__gesf2): Likewise.
4656         * soft-fp/getf2.c (__getf2): Likewise.
4657         * soft-fp/ledf2.c (__ledf2): Likewise.
4658         * soft-fp/lesf2.c (__lesf2): Likewise.
4659         * soft-fp/letf2.c (__letf2): Likewise.
4661         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
4662         * soft-fp/eqsf2.c (__eqsf2): Likewise.
4663         * soft-fp/eqtf2.c (__eqtf2): Likewise.
4664         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
4665         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
4666         * soft-fp/fixdfti.c (__fixdfti): Likewise.
4667         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
4668         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
4669         * soft-fp/fixsfti.c (__fixsfti): Likewise.
4670         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
4671         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
4672         * soft-fp/fixtfti.c (__fixtfti): Likewise.
4673         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
4674         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
4675         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
4676         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
4677         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
4678         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
4679         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
4680         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
4681         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
4682         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
4683         * soft-fp/floatdisf.c (__floatdisf): Likewise.
4684         * soft-fp/floatsisf.c (__floatsisf): Likewise.
4685         * soft-fp/floattidf.c (__floattidf): Likewise.
4686         * soft-fp/floattisf.c (__floattisf): Likewise.
4687         * soft-fp/floattitf.c (__floattitf): Likewise.
4688         * soft-fp/floatundidf.c (__floatundidf): Likewise.
4689         * soft-fp/floatundisf.c (__floatundisf): Likewise.
4690         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
4691         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
4692         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
4693         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
4694         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
4695         * soft-fp/gesf2.c (__gesf2): Likewise.
4696         * soft-fp/getf2.c (__getf2): Likewise.
4697         * soft-fp/ledf2.c (__ledf2): Likewise.
4698         * soft-fp/lesf2.c (__lesf2): Likewise.
4699         * soft-fp/letf2.c (__letf2): Likewise.
4701         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
4702         Undefine and redefine.
4703         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
4704         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
4705         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
4706         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
4707         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4708         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
4709         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4710         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
4711         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4712         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
4713         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4714         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
4715         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4716         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
4717         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4719         [BZ #16032]
4720         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
4721         without decrementing exponent if mantissa >= that for the
4722         denominator, not >.
4723         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
4724         denominator, not >.  Decrement exponent in < case instead of
4725         incrementing in >= case.
4726         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
4727         without decrementing exponent if mantissa >= that for the
4728         denominator, not >.
4730         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4731         computing saturated result for unsigned overflow.
4733 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4734             Jeff Law  <law@redhat.com>
4736         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
4737         (atan2Mp): Add systemtap probe marker.
4738         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4739         (__ieee754_log): Add systemtap probe marker.
4740         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4741         (atanMp): Add systemtap probe marker.
4742         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4743         (tanMp): Add systemtap probe marker.
4744         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4745         (__slowexp): Add systemtap probe marker.
4746         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4747         (__slowpow): Add systemtap probe marker.
4748         * manual/probes.texi: Document probes.
4750 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
4752         [BZ #15362]
4753         * libio/fileops.c (_IO_new_file_write): Return count of bytes
4754         written.
4755         (_IO_new_file_xsputn): Don't return EOF if nothing has been
4756         written.
4757         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4758         written to buffer but not flushed.
4759         * libio/iofwrite_u.c:  Likewise.
4760         * libio/iopadn.c:  Return bytes returned even if EOF was
4761         encountered.
4762         * libio/iowpadn.c:  Likewise.
4763         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4764         if _IO_padn does not write the whole buffer.
4765         [!COMPILE_WPRINTF] (PAD): Likewise.
4767 2013-10-10  David S. Miller  <davem@davemloft.net>
4769         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4770         directory block.
4772 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
4774         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
4775         instead of FSF address.
4776         * soft-fp/fixdfti.c: Likewise.
4777         * soft-fp/fixsfti.c: Likewise.
4778         * soft-fp/fixtfti.c: Likewise.
4779         * soft-fp/fixunsdfti.c: Likewise.
4780         * soft-fp/fixunssfti.c: Likewise.
4781         * soft-fp/fixunstfti.c: Likewise.
4782         * soft-fp/floattidf.c: Likewise.
4783         * soft-fp/floattisf.c: Likewise.
4784         * soft-fp/floattitf.c: Likewise.
4785         * soft-fp/floatuntidf.c: Likewise.
4786         * soft-fp/floatuntisf.c: Likewise.
4787         * soft-fp/floatuntitf.c: Likewise.
4788         * soft-fp/trunctfxf2.c: Likewise.
4790         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
4791         * soft-fp/fixdfti.c: Likewise.
4792         * soft-fp/fixsfti.c: Likewise.
4793         * soft-fp/fixtfti.c: Likewise.
4794         * soft-fp/fixunsdfti.c: Likewise.
4795         * soft-fp/fixunssfti.c: Likewise.
4796         * soft-fp/fixunstfti.c: Likewise.
4797         * soft-fp/floattidf.c: Likewise.
4798         * soft-fp/floattisf.c: Likewise.
4799         * soft-fp/floattitf.c: Likewise.
4800         * soft-fp/floatuntidf.c: Likewise.
4801         * soft-fp/floatuntisf.c: Likewise.
4802         * soft-fp/floatuntitf.c: Likewise.
4803         * soft-fp/trunctfxf2.c: Likewise.
4805 2013-10-10  David S. Miller  <davem@davemloft.net>
4807         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4809 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
4811         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4812         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4813         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4814         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4815         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4816         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4817         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4819         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4820         for NaNs before doing comparisons on argument.
4821         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4822         Likewise.
4824 2013-10-10  Will Newton  <will.newton@linaro.org>
4826         * malloc/hooks.c (memalign_check): Ensure the value of bytes
4827         passed to _int_memalign does not overflow.
4829 2013-10-10  Torvald Riegel  <triegel@redhat.com>
4831         * scripts/bench.pl: Add include-sources directive.
4832         * benchtests/README: Update documentation.
4834 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
4836         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4837         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4838         instead of FP_INIT_ROUNDMODE.
4839         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4840         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4842         [BZ #16034]
4843         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
4844         copy class of input value.
4845         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
4846         not handle exceptions.
4847         * soft-fp/negsf2.c (__negsf2): Likewise.
4848         * soft-fp/negtf2.c (__negtf2): Likewise.
4849         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4851 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
4853         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4854         semicolon.  From Linux kernel.
4856 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
4858         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4860 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
4862         [BZ #156]
4863         * manual/socket.texi: Added statement about buffer
4864         for gethostbyname2_r.
4866 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
4868         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4869         Use .p2align directive instead, throughout.
4870         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4871         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4872         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4873         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4874         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4875         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4876         * sysdeps/x86_64/strchr.S: Likewise.
4877         * sysdeps/x86_64/strrchr.S: Likewise.
4879 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
4881         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4883         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4885         * sysdeps/generic/math_private.h (__mpsin1): Remove
4886         declaration.
4887         (__mpcos1): Likewise.
4888         (__mpsin): New argument __range_reduce.
4889         (__mpcos): Likewise.
4890         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4891         (slow): Use __mpsin and __mpcos.
4892         (slow1): Likewise.
4893         (slow2): Likewise.
4894         (sloww): Likewise.
4895         (sloww1): Likewise.
4896         (sloww2): Likewise.
4897         (bsloww): Likewise.
4898         (bsloww1): Likewise.
4899         (bsloww2): Likewise.
4900         (cslow2): Likewise.
4901         (csloww): Likewise.
4902         (csloww1): Likewise.
4903         (csloww2): Likewise.
4904         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4905         range_reduce.  Merge in __mpsin1.
4906         (__mpcos): Likewise.
4907         (__mpsin1): Remove.
4908         (__mpcos1): Likewise.
4910 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
4912         * locale/loadlocale.c (_nl_intern_locale_data): Use
4913         LOCFILE_ALIGNED_P.
4914         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4915         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4916         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4917         obstack data is appropriately aligned.
4918         (obstack_int32_grow_fast): Likewise.
4919         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4920         * locale/programs/locfile.c (add_locale_uint32): Likewise.
4921         (add_locale_uint32_array): Likewise.
4923 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
4925         * benchtests/Makefile: Remove ARGLIST and RET variables.
4926         ($(objpfx)bench-%.c): Pass only function name to the script.
4927         * benchtests/README: Update documentation.
4928         * benchtests/acos-inputs: Add new directives.
4929         * benchtests/acosh-inputs: Likewise.
4930         * benchtests/asin-inputs: Likewise.
4931         * benchtests/asinh-inputs: Likewise.
4932         * benchtests/atan-inputs: Likewise.
4933         * benchtests/atanh-inputs: Likewise.
4934         * benchtests/cos-inputs: Likewise.
4935         * benchtests/cosh-inputs: Likewise.
4936         * benchtests/exp-inputs: Likewise.
4937         * benchtests/log-inputs: Likewise.
4938         * benchtests/pow-inputs: Likewise.
4939         * benchtests/rint-inputs: Likewise.
4940         * benchtests/sin-inputs: Likewise.
4941         * benchtests/sinh-inputs: Likewise.
4942         * benchtests/tan-inputs: Likewise.
4943         * benchtests/tanh-inputs: Likewise.
4944         * scripts/bench.pl: Add support for new directives.
4946 2013-10-07  Alan Modra  <amodra@gmail.com>
4948         * README: Fix careless merge.
4950 2013-10-05  Alan Modra  <amodra@gmail.com>
4952         * NEWS: Mention powerpc64le support and bugs fixed.
4953         * README: Both big-endian and little-endian powerpc64 supported.
4955 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4957         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4958         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4959         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4960         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4962 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
4964         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4965         match prototype.
4967 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
4969         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4970         Move -mhard-float appending from
4971         ports/sysdeps/powerpc/powerpc32/Makefile.
4972         [$(with-fp) = yes] (ASFLAGS): Likewise.
4973         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4974         * sysdeps/powerpc/nofpu: Move directory from
4975         ports/sysdeps/powerpc/nofpu.
4976         * sysdeps/powerpc/soft-fp: Move directory from
4977         ports/sysdeps/powerpc/soft-fp.
4978         * sysdeps/powerpc/powerpc32/405: Move directory from
4979         ports/sysdeps/powerpc/powerpc32/405.
4980         * sysdeps/powerpc/powerpc32/440: Move directory from
4981         ports/sysdeps/powerpc/powerpc32/440.
4982         * sysdeps/powerpc/powerpc32/464: Move directory from
4983         ports/sysdeps/powerpc/powerpc32/464.
4984         * sysdeps/powerpc/powerpc32/476: Move directory from
4985         ports/sysdeps/powerpc/powerpc32/476.
4986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4987         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4989         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4991         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4993         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4995         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4996         * README: Update for powerpc-*-linux-gnu software floating point
4997         support in libc.
4999         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
5000         case to powerpc/powerpc32*.
5001         * sysdeps/unix/sysv/linux/configure: Regenerated.
5003         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
5004         (_FPU_MASK_OM): Define as 0x04.
5005         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
5006         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
5007         0x00c10080.
5008         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
5009         0x0000003c.
5010         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
5012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
5013         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
5014         getcontext_e500.
5015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
5016         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
5017         setcontext_e500.
5018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
5019         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
5020         and setcontext_e500.
5022 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
5024         * locale/iso-3166.def: Update iso-1366.def and related occurrences
5026 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
5028         * manual/threads.texi (Default Thread Attributes): Fix typo.
5030 2013-10-04  Will Newton  <will.newton@linaro.org>
5032         * malloc/Makefile: Add tst-memalign.
5033         * malloc/tst-memalign.c: New file.
5035         * malloc/tst-posix_memalign.c: Add comments.
5036         (do_test): Add comments and call free on all potentially
5037         allocated pointers. Add space after cast.
5039         * malloc/tst-pvalloc.c: Add comments.
5040         (do_test): Add comments and call free on all potentially
5041         allocated pointers. Remove duplicate check for NULL pointer.
5042         Add space after cast.
5044         * malloc/tst-valloc.c: Add comments.
5045         (do_test): Add comments and call free on all potentially
5046         allocated pointers. Remove duplicate check for NULL pointer.
5047         Add space after cast.
5049 2013-10-04  Alan Modra  <amodra@gmail.com>
5051         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5052         Use stdint types in rather than __attribute__((mode())).
5053         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5055 2013-10-04  Alan Modra  <amodra@gmail.com>
5057         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5058         Correct handling of unaligned relocs for little-endian.
5059         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5061 2013-10-04  Alan Modra  <amodra@gmail.com>
5063         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
5064         * configure: Regenerate.
5065         * nptl/shlib-versions: Powerpc*le starts at 2.18.
5066         * shlib-versions: Likewise.
5068 2013-10-04  Alan Modra  <amodra@gmail.com>
5070         * string/tester.c (test_memrchr): Increment reported test cycle.
5072 2013-10-04  Alan Modra  <amodra@gmail.com>
5074         * string/test-memcpy.c (do_one_test): When reporting errors, print
5075         string address and don't overrun end of string.
5077 2013-10-04  Alan Modra  <amodra@gmail.com>
5079         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
5080         insrdi.  Make better use of reg selection to speed exit slightly.
5081         Schedule entry path a little better.  Remove useless "are we done"
5082         checks on entry to main loop.  Handle wrapping around zero address.
5083         Correct main loop count.  Handle single left-over word from main
5084         loop inline rather than by using loop_small.  Remove extra word
5085         case in loop_small caused by wrong loop count.  Add little-endian
5086         support.
5087         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
5088         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
5089         cache hint.
5090         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
5091         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
5092         support.  Avoid rlwimi.
5093         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
5095 2013-10-04  Alan Modra  <amodra@gmail.com>
5097         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
5098         insrdi.  Formatting.
5099         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
5100         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5101         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5102         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
5103         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5104         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
5106 2013-10-04  Alan Modra  <amodra@gmail.com>
5108         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
5109         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5110         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5111         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
5112         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5113         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5114         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5115         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
5116         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
5117         use of regs.  Use power7 mtocrf.  Tidy function tails.
5119 2013-10-04  Alan Modra  <amodra@gmail.com>
5121         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
5122         Formatting.  Consistently use rXXX register defines or rN defines.
5123         Use early exit labels that avoid restoring unused non-volatile regs.
5124         Make cr field use more consistent with rWORDn compares.  Rename
5125         regs used as shift registers for unaligned loop, using rN defines
5126         for short lifetime/multiple use regs.
5127         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5128         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
5129         addi 1,1,64 to pop stack frame.  Simplify return value code.
5130         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5132 2013-10-04  Alan Modra  <amodra@gmail.com>
5134         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
5135         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
5136         rather than rlwimi.
5137         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
5138         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
5139         little-endian support.  Correct typos.
5140         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
5141         rather than rlwimi.
5142         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
5143         in loop and entry code to keep "and." results.
5144         (strchr): Add little-endian support.  Comment.  Move cntlzd
5145         earlier in tail.
5146         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
5148 2013-10-04  Alan Modra  <amodra@gmail.com>
5150         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
5151         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
5152         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
5153         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
5155 2013-10-04  Alan Modra  <amodra@gmail.com>
5157         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
5158         (rTMP): Define as r11.
5159         (strcmp): Add little-endian support.  Optimise tail.
5160         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
5161         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5162         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
5163         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5164         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5165         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5166         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5168 2013-10-04  Alan Modra  <amodra@gmail.com>
5170         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
5171         little-endian support.  Remove unnecessary "are we done" tests.
5172         Handle "s" wrapping around zero and extremely large "size".
5173         Correct main loop count.  Handle single left-over word from main
5174         loop inline rather than by using small_loop.  Correct comments.
5175         Delete "zero" tail, use "end_max" instead.
5176         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
5178 2013-10-04  Alan Modra  <amodra@gmail.com>
5180         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
5181         support.  Don't branch over align.
5182         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
5183         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
5184         support.  Rearrange tmp reg use to suit.  Comment.
5185         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
5187 2013-10-04  Alan Modra  <amodra@gmail.com>
5189         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
5191 2013-10-04  Alan Modra  <amodra@gmail.com>
5193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
5194         conditional form of branch and link when obtaining pc.
5195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5197 2013-10-04  Alan Modra  <amodra@gmail.com>
5199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
5200         HIWORD/LOWORD.
5201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
5202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
5204 2013-10-04  Alan Modra  <amodra@gmail.com>
5206         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
5207         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
5208         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5209         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
5210         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5211         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5212         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
5213         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5214         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5215         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
5217 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5218             Alistair Popple <alistair@ozlabs.au.ibm.com>
5219             Alan Modra <amodra@gmail.com>
5221         [BZ #15723]
5222         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
5223         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
5224         _dl_hwcap access for little-endian.
5225         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
5226         destroy vmx regs when saving unaligned.
5227         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
5228         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
5229         destroy vmx regs when saving unaligned.
5231 2013-10-04  Alan Modra  <amodra@gmail.com>
5233         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
5234         Don't use a union to pack hi/low value.
5236 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5238         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
5239         for little-endian.
5240         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5241         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
5242         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5243         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5244         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5246 2013-10-04  Alan Modra  <amodra@gmail.com>
5248         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
5249         constants to usual value for .cst8 section, and remove redundant
5250         high address load.
5251         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
5252         constant for 0x1p52.  Load little-endian words of double from
5253         correct stack offsets.
5255 2013-10-04  Alan Modra  <amodra@gmail.com>
5257         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
5258         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
5259         words of double from correct stack offsets.
5260         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5261         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
5262         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5263         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5264         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5265         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5266         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5267         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5268         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5269         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5270         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5271         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5272         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5273         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5274         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5275         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
5276         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5278 2013-10-04  Alan Modra  <amodra@gmail.com>
5280         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
5281         64-bit int/double union.
5282         (_FPU_SETCW): Likewise.
5283         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5284         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
5286 2013-10-04  Alan Modra  <amodra@gmail.com>
5288         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
5289         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
5291 2013-10-04  Alan Modra  <amodra@gmail.com>
5293         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
5294         use vector int constants.
5295         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
5297 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5299         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
5300         array with long long.
5301         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
5302         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
5303         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
5304         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
5305         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
5306         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
5307         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
5308         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
5309         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
5310         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
5311         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
5312         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
5313         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
5315 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5317         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
5318         (__signbit): Likewise.  Correct for little-endian.
5319         (__signbitl): Call __signbit.
5320         (lrint): Correct for little-endian.
5321         (lrintf): Call lrint.
5323 2013-10-04  Alan Modra  <amodra@gmail.com>
5325         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
5326         union 32-bit int array member with 64-bit int array.
5327         (t515, tm256): Double rather than long double.
5328         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
5330 2013-10-04  Alan Modra  <amodra@gmail.com>
5332         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
5333         Delete.
5334         (IEEE854_LONG_DOUBLE_BIAS): Delete.
5335         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
5336         version of math_ldbl.h.
5338 2013-10-04  Alan Modra  <amodra@gmail.com>
5340         [BZ #15734], [BZ #15735]
5341         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
5342         all uses of ieee875 long double macros and unions.  Simplify test
5343         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
5344         ldbl_extract_mantissa value for ix,iy exponents.  Properly
5345         normalize after ldbl_extract_mantissa, and don't add hidden bit
5346         already handled.  Don't treat low word of ieee854 mantissa like
5347         low word of IBM long double and mask off bit when testing for
5348         zero.
5349         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
5350         all uses of ieee875 long double macros and unions.  Simplify tests
5351         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
5352         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
5353         two1022, instead use their values.  Recognise that tests for large
5354         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
5355         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
5356         Rewrite all uses of ieee875 long double macros and unions.  Simplify
5357         test for 0.0L and nan.  Correct negation.
5358         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
5359         ieee875 long double macros and unions.  Correct output for large
5360         magnitude x.  Correct absolute value calculation.
5361         (__erfcl): Likewise.
5362         * math/libm-test.inc: Add tests for errors discovered in IBM long
5363         double versions of fmodl, remainderl, erfl and erfcl.
5365 2013-10-04  Alan Modra  <amodra@gmail.com>
5367         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
5368         all uses of ieee854 long double macros and unions.  Simplify tests
5369         for long doubles that are fully specified by the high double.
5370         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5371         Likewise.
5372         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
5373         Remove dead code too.
5374         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5375         (__ieee754_ynl): Likewise.
5376         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5377         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
5378         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5379         Remove dead code too.
5380         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
5381         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
5382         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
5383         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
5384         Simplify.
5385         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
5386         Simplify.
5387         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
5388         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
5389         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
5390         Comment on variable precision.
5391         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
5392         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5393         Likewise.
5394         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5395         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5396         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5397         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
5398         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
5400 2013-10-04  Alan Modra  <amodra@gmail.com>
5402         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
5403         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
5404         all uses of ieee854 long double macros and unions.
5405         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
5406         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5407         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
5408         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
5409         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
5410         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5411         Likewise.
5412         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
5413         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5414         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
5415         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5416         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
5417         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
5418         Simplify sign and nan test too.
5419         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
5420         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
5421         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
5422         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
5423         Likewise.
5424         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5425         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
5426         Likewise.
5427         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5428         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
5429         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
5430         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
5431         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
5432         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
5434 2013-10-04  Alan Modra  <amodra@gmail.com>
5436         * stdio-common/printf_size.c (__printf_size): Don't use
5437         union ieee854_long_double in fpnum union.
5438         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
5439         signbit macro to retrieve sign from long double.
5440         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
5441         retrieve sign from long double.
5442         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
5443         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
5444         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
5445         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5446         * math/test-misc.c (main): Don't use union ieee854_long_double.
5448 2013-10-04  Alan Modra  <amodra@gmail.com>
5450         [BZ #15680]
5451         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
5452         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
5453         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
5454         calculation.  Remove unnecessary test for denormal exponent.
5455         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
5456         Correct handling of denormals.  Avoid undefined shift behaviour.
5457         Correct normalisation of low mantissa when low double is denormal.
5458         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
5459         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
5460         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
5461         Correct normalisation of low mantissa.  Test for overflow of high
5462         mantissa and normalise.
5463         (ldbl_nearbyint): Use more readable constant for two52.
5464         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
5465         (__mpn_construct_long_double): Fix test for overflow of high
5466         mantissa and correct normalisation.  Avoid undefined shift.
5468 2013-10-04  Alan Modra  <amodra@gmail.com>
5470         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5471         (union ibm_extended_long_double): Define as an array of ieee754_double.
5472         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
5473         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
5474         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
5475         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5476         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5477         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
5478         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5479         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5480         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5481         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
5482         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5484 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
5486         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
5487         page size instead of calling getpagesize.
5489         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
5490         (LOCFILE_ALIGN_MASK): Likewise.
5491         (LOCFILE_ALIGN_UP): Likewise.
5492         (LOCFILE_ALIGNED_P): Likewise.
5493         * locale/programs/ld-collate.c (collate_output): Use the new
5494         macros instead of __alignof__ (int32_t).
5495         * locale/weight.h (findidx): Likewise.
5497 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
5499         [BZ #431]
5500         * manual/string.texi: Fix strncat and wcsncat.
5502 2013-10-03  Brooks Moses  <bmoses@google.com>
5504         [BZ #15915]
5505         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
5506         * Makerules: ...here, and adjust associated comments.
5508 2013-10-02  Will Newton  <will.newton@linaro.org>
5510         * malloc/Makefile: Add tst-pvalloc.
5511         * malloc/tst-pvalloc.c: New file.
5513 2013-10-02  Will Newton  <will.newton@linaro.org>
5515         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
5516         improve test coverage.
5518 2013-10-02  Will Newton  <will.newton@linaro.org>
5520         * malloc/Makefile: Add tst-posix_memalign.
5521         * malloc/tst-posix_memalign.c: New file.
5523 2013-10-01  Eric Blake  <eblake@redhat.com>
5525         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
5526         Use __THROWNL rather than __THROW on static functions.
5528 2013-09-30  Petr Machata  <pmachata@redhat.com>
5530         * elf/elf.h (R_AARCH64_ABS16): New macro.
5531         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
5532         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
5533         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
5534         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
5535         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
5536         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
5537         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
5538         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
5539         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
5540         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
5541         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
5542         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
5543         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
5544         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
5545         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
5546         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
5547         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
5548         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
5549         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
5550         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
5551         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
5552         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
5553         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
5554         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
5555         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
5556         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
5557         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
5558         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
5559         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
5560         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
5561         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
5562         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
5563         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
5564         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
5565         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
5566         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
5567         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
5568         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
5569         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
5570         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
5571         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
5572         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
5573         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
5574         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
5575         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
5576         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
5577         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
5578         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
5579         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
5580         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
5581         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
5582         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
5583         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
5584         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
5585         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
5586         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
5587         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
5588         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
5589         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
5590         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
5591         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
5592         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
5593         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
5594         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
5595         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
5596         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
5597         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
5598         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
5599         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
5600         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
5601         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
5602         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
5603         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
5604         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
5605         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
5606         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
5607         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
5608         (R_AARCH64_TLSDESC_LDR): Likewise.
5609         (R_AARCH64_TLSDESC_ADD): Likewise.
5610         (R_AARCH64_TLSDESC_CALL): Likewise.
5612 2013-09-30  Andreas Schwab  <schwab@suse.de>
5614         [BZ #15048]
5615         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
5616         the nss database lookup.
5617         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5618         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5620 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
5622         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
5624 2013-09-28  P. J. McDermott  <pj@pehjota.net>
5626         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
5627         ${Bash-specific parameter/pattern/string} parameter expansion.
5628         * sysdeps/unix/make-syscalls.sh: Likewise.
5630 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5632         * sysdeps/sh/stackguard-macros.h: New file.
5634 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
5636         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5637         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
5638         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
5639         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
5640         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5641         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
5643 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5645         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
5646         Fix thread ID register.
5648 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
5650         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
5651         [POSIX || UNIX98]: Require rather than permitting all symbols from
5652         <time.h>.
5653         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
5654         element of struct sched_param.
5655         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
5656         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
5657         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
5658         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
5659         constant.
5661 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
5663         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
5664         argument calculation.
5666 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
5668         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
5669         Expect macro.
5670         [POSIX] (pthread_attr_t): Do not require type.
5671         [POSIX] (pthread_cond_t): Likewise.
5672         [POSIX] (pthread_condattr_t): Likewise.
5673         [POSIX] (pthread_key_t): Likewise.
5674         [POSIX] (pthread_mutex_t): Likewise.
5675         [POSIX] (pthread_mutexattr_t): Likewise.
5676         [POSIX] (pthread_once_t): Likewise.
5677         [POSIX] (pthread_t): Likewise.
5678         [POSIX-based standards] (pthread_atfork): Expect function.
5680 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
5681             Richard Sandiford  <richard@codesourcery.com>
5683         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
5684         (swap_endianness_p): New extern variable.
5685         (set_big_endian): New inline function.
5686         (maybe_swap_uint32): Likewise.
5687         (maybe_swap_uint32_array): Likewise.
5688         (maybe_swap_uint32_obstack): Likewise.
5689         * locale/programs/locfile.c: Include <stdbool.h>.
5690         (swap_endianness_p): New variable.
5691         (add_locale_uint32): Call maybe_swap_uint32.
5692         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
5693         (write_locale_data): Call maybe_swap_uint32_array.
5694         * locale/programs/ld-collate.c (obstack_int32_grow): Call
5695         maybe_swap_uint32.
5696         (obstack_int32_grow_fast): Likewise.
5697         (output_weightwc): Call maybe_swap_uint32_obstack.
5698         (collate_output): Likewise.
5699         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
5700         (OPT_LITTLE_ENDIAN): Likewise.
5701         (options): Add --little-endian and --big-endian options.
5702         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
5703         * locale/programs/locarchive.c: Include "locfile.h".
5704         (GET): New macro.
5705         (SET): Likewise.
5706         (INC): Likewise.
5707         (create_archive): Use the new macros to access fields of
5708         structures directly mapped from or written to locale archives.
5709         (oldlocrecentcmp): Likewise.
5710         (enlarge_archive): Likewise.
5711         (insert_name): Likewise.
5712         (add_alias): Likewise.
5713         (add_locale): Likewise.
5714         (delete_locales_from_archive): Likewise.
5715         (show_archive_content): Likewise.
5716         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
5717         locale data.
5719 2013-09-24  Roland McGrath  <roland@hack.frob.com>
5721         * manual/freemanuals.texi: Updated from (newly) canonical copy at
5722         http://www.gnu.org/doc/freemanuals.texi.
5723         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
5725 2013-09-24  Will Newton  <will.newton@linaro.org>
5727         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
5728         macro.
5730 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
5732         * locale/hashval.h (compute_hashval): Interpret bytes of key as
5733         unsigned char.
5735 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
5737         * manual/threads.texi (POSIX Threads): Fix a typo.
5739 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
5741         [BZ #14547]
5742         * string/tst-strcoll-overflow.c: New test case.
5743         * string/Makefile (xtests): Add tst-strcoll-overflow.
5744         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5745         cache if string sizes may cause integer overflow.
5747         [BZ #14547]
5748         * string/strcoll_l.c (coll_seq): New members rule, idx,
5749         save_idx and back_us.
5750         (get_next_seq_nocache): New function.
5751         (do_compare_nocache): New function.
5752         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5753         when malloc fails.
5755 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
5757         [BZ #15754]
5758         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5759         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5760         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5762         [BZ #15754]
5763         * elf/Makefile (tests): Add tst-ptrguard1.
5764         (tests-static): Add tst-ptrguard1-static.
5765         (tst-ptrguard1-ARGS): Define.
5766         (tst-ptrguard1-static-ARGS): Define.
5767         * elf/tst-ptrguard1.c: New file.
5768         * elf/tst-ptrguard1-static.c: New file.
5769         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5770         * sysdeps/i386/stackguard-macros.h: Likewise.
5771         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5772         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5773         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5774         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5775         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5776         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5778 2013-09-23  Hector Marco  <hecmargi@upv.es>
5779             Ismael Ripoll  <iripoll@disca.upv.es>
5780             Carlos O'Donell  <carlos@redhat.com>
5782         [BZ #15754]
5783         * sysdeps/generic/stackguard-macros.h: Define
5784         __pointer_chk_guard_local and POINTER_CHK_GUARD.
5785         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5786         Define __pointer_chk_guard_local.
5787         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5788         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5790 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
5792         [BZ #15859]
5793         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5795 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
5797         * include/string.h (__ffs): Declare as hidden.
5798         * string/ffs.c (__ffs): Define as hidden.
5799         * sysdeps/i386/ffs.c (__ffs): Likewise.
5800         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5801         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5802         * sysdeps/s390/ffs.c (__ffs): Likewise.
5803         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5805 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
5807         * NEWS: Mention malloc probes.
5809         * malloc/arena.c (new_heap): New memory_heap_new probe.
5810         (grow_heap): New memory_heap_more probe.
5811         (shrink_heap): New memory_heap_less probe.
5812         (heap_trim): New memory_heap_free probe.
5813         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5814         (systrim): New memory_sbrk_less probe.
5815         * manual/probes.texi: Document them.
5817         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5818         * manual/probes.texi: Document it.
5820         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5821         (__libc_realloc): Add memory_realloc_retry probe.
5822         (__libc_memalign): Add memory_memalign_retry probe.
5823         (__libc_valloc): Add memory_valloc_retry probe.
5824         (__libc_pvalloc): Add memory_pvalloc_retry probe.
5825         (__libc_calloc): Add memory_calloc_retry probe.
5826         * manual/probes.texi: Document them.
5828         * malloc/arena.c (get_free_list): Add probe
5829         memory_arena_reuse_free_list.
5830         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5831         and memory_arena_reuse.
5832         (arena_get2) [!PER_THREAD]: Likewise.
5833         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5834         memory_arena_reuse_realloc.
5835         * manual/probes.texi: Document them.
5837         * malloc/malloc.c (__libc_free): Add
5838         memory_mallopt_free_dyn_thresholds probe.
5839         (__libc_mallopt): Add multiple memory_mallopt probes.
5840         * manual/probes.texi: Document them.
5842         * malloc/malloc.c: Include stap-probe.h.
5843         (__libc_mallopt): Add memory_mallopt probe.
5844         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5845         * manual/probes.texi: New.
5846         * manual/Makefile (chapters): Add probes.
5847         * manual/threads.texi: Set next node.
5849 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
5851         [BZ #15963, #13985]
5852         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5853         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5854         Add `Chinese' to `nan' entry name.
5856 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5858         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5859         (POLYNOMIAL): Likewise.
5860         (TAYLOR_SINCOS): Likewise.
5861         (TAYLOR_SLOW): Likewise.
5862         (__sin): Use TAYLOR_SINCOS.
5863         (__cos): Likewise.
5864         (slow): Use TAYLOR_SLOW.
5865         (sloww): Likewise.
5866         (bsloww): Likewise.
5867         (csloww): Likewise.
5869 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5871         * stdlib/strtod_l.c: Fix buffer overrun.
5873 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5875         * benchtests/Makefile (bench): Add sincos.
5876         * benchtests/bench-sincos.c: New file.
5878         * math/libm-test.inc (cos_test_data): New test inputs.
5879         (sin_test_data): Likewise.
5881         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5882         macro.
5883         (__sin): Use it.
5884         (__cos): Likewise.
5885         (slow1): Likewise.
5886         (slow2): Likewise.
5887         (sloww1): Likewise.
5888         (sloww2): Likewise.
5889         (bsloww1): Likewise.
5890         (bsloww2): Likewise.
5891         (cslow2): Likewise.
5892         (csloww1): Likewise.
5893         (csloww2): Likewise.
5895         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5896         function.
5897         (__sin): Use it.
5898         (__cos): Likewise.
5900         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5901         gotos.
5902         (__cos): Likewise.
5904 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
5906         * config.h.in (HAVE_MIPS_NAN2008): New macro.
5907         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5908         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5909         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5910         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5911         * elf/cache.c (print_entry): Handle the new cache flags.
5913 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
5914             Aldy Hernandez  <aldyh@redhat.com>
5916         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5917         Change condition to [_SOFT_FLOAT].
5918         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5919         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5920         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5921         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5922         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5923         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5924         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5925         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5926         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5927         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5928         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5929         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5930         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5931         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5932         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5933         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5934         declaration.
5936 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
5938         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5939         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5940         (__longjmp): Use LOAD_GP to load saved GPRs.
5941         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5942         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5943         (__sigsetjmp): Use SAVE_GP to save GPRs.
5945         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5946         Do not append -msoft-float.
5947         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5949 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5951         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5953 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
5955         [BZ #15966]
5956         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5957         (_FPU_GETCW): Use initial "__" on variable and field names but not
5958         on macro parameter name.
5959         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
5960         parentheses around reference to macro parameter.
5962 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
5964         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5965         prototype.
5966         (ctype_startup): Use uint32_t in cast and sizeof for
5967         ctype->charnames.
5969 2013-09-11  Jia Liu  <proljc@gmail.com>
5971         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5972         __daddr_t_defined.
5973         [__FreeBSD__]: Likewise.
5975 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
5977         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5978         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5979         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5980         (strchr): Remove __strchr_sse42 ifunc selection.
5981         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5982         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5984 2013-09-11  Will Newton  <will.newton@linaro.org>
5986         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5987         parameter to RES. Remove hardcoded 1000 value.
5988         * benchtests/bench-skeleton.c (main): Pass RES parameter
5989         to TIMING_INIT and multiply result by 1000.
5991 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5993         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5995 2013-09-11  Andreas Schwab  <schwab@suse.de>
5997         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5998         if not defined.
5999         (O_TMPFILE) [__USE_GNU]: Define.
6000         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
6001         Define.
6003 2013-09-11  Will Newton  <will.newton@linaro.org>
6005         [BZ #15857]
6006         * malloc/malloc.c (__libc_memalign): Check the value of bytes
6007         does not overflow.
6009 2013-09-11  Will Newton  <will.newton@linaro.org>
6011         [BZ #15856]
6012         * malloc/malloc.c (__libc_valloc): Check the value of bytes
6013         does not overflow.
6015 2013-09-11  Will Newton  <will.newton@linaro.org>
6017         [BZ #15855]
6018         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
6019         does not overflow.
6021 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
6023         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
6024         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6025         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6026         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6027         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6029 2013-09-10  Allan McRae  <allan@archlinux.org>
6031         [BZ #15748]
6032         * manual/arith.texi (Parsing of Floats): Clarify
6033         cross-reference.
6035         [BZ #15849]
6036         * manual/install.texi (Running make install): Mention
6037         --enable-pt-chown.
6038         * INSTALL: Regenerated.
6040 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
6042         * csu/init-first.c (_init): Remove the !SHARED condition around
6043         FPU control word initialization.
6044         * elf/dl-support.c (_dl_fpu_control): New variable.
6045         (_dl_aux_init) <AT_FPUCW>: Initialize it.
6046         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
6047         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
6048         * math/test-fpucw-static.c: New file.
6049         * math/test-fpucw-ieee.c: New file.
6050         * math/test-fpucw-ieee-static.c: New file.
6051         * math/Makefile (tests): Add `test-fpucw-ieee' and
6052         `$(tests-static)'.
6053         (tests-static): New variable.
6054         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
6055         dependency to...
6056         [($(build-shared),yes)]
6057         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
6058         ... this.
6059         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
6060         New dependency.
6062 2013-09-09  Allan McRae  <allan@archlinux.org>
6064         [BZ #15939]
6065         * manual/string.texi (Collation Functions): Fix typo in
6066         strcoll example.
6067         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
6069         [BZ #15893]
6070         * stdlib/isomac.c (get_null_defines): Fix memory leak.
6072         [BZ #15892]
6073         * libio/memstream.c (open_memstream): Fix memory leak.
6074         * libio/wmemstream.c (open_wmemstream): Likewise.
6076         [BZ #15895]
6077         * nscd/netgroupcache.c: Fix nesting of ifdefs.
6079 2013-09-09  Will Newton  <will.newton@linaro.org>
6081         * malloc/Makefile: Add tst-realloc to tests.
6082         * malloc/tst-realloc.c: New file.
6084 2013-09-09  Allan McRae  <allan@archlinux.org>
6086         [BZ #15844]
6087         * COPYING: Update from GNU website to fix FSF address.
6088         * COPYING.LIB: Likewise.
6090 2013-09-06  David S. Miller  <davem@davemloft.net>
6092         * po/zh_TW.po: Update Chinese (traditional) translation from
6093         translation project.
6095 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
6096             Joseph Myers  <joseph@codesourcery.com>
6098         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
6099         "localeinfo.h".
6100         (obstack_chunk_alloc): New macro.
6101         (obstack_chunk_free): Likewise.
6102         (record_offset): New function.
6103         (init_locale_data): Likewise.
6104         (align_locale_data): Likewise.
6105         (add_locale_empty): Likewise.
6106         (add_locale_raw_data): Likewise.
6107         (add_locale_raw_obstack): Likewise.
6108         (add_locale_string): Likewise.
6109         (add_locale_wstring): Likewise.
6110         (add_locale_uint32): Likewise.
6111         (add_locale_uint32_array): Likewise.
6112         (add_locale_char): Likewise.
6113         (start_locale_structure): Likewise.
6114         (end_locale_structure): Likewise.
6115         (start_locale_prelude): Likewise.
6116         (end_locale_prelude): Likewise.
6117         (write_locale_data): Take locale_file structure rather than an
6118         iovec.
6119         * locale/programs/locfile.h: Include "obstack.h".
6120         (struct locale_file): Change to store locale file contents instead
6121         of header.
6122         (init_locale_data): New prototype.
6123         (align_locale_data): Likewise.
6124         (add_locale_empty): Likewise.
6125         (add_locale_raw_data): Likewise.
6126         (add_locale_raw_obstack): Likewise.
6127         (add_locale_string): Likewise.
6128         (add_locale_wstring): Likewise.
6129         (add_locale_uint32): Likewise.
6130         (add_locale_uint32_array): Likewise.
6131         (add_locale_char): Likewise.
6132         (start_locale_structure): Likewise.
6133         (end_locale_structure): Likewise.
6134         (start_locale_prelude): Likewise.
6135         (end_locale_prelude): Likewise.
6136         (write_locale_data): Update prototype.
6137         * locale/programs/3level.h (struct TABLE): Remove result field.
6138         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
6139         Use new locale_file interface.
6140         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
6141         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
6142         * locale/programs/ld-address.c (address_output): Use new
6143         locale_file interface.
6144         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
6145         NO_ADD_LOCALE.
6146         (collate_finish): Don't call collseq_table_finalize.
6147         (collate_output): Use new locale_file interface.
6148         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
6149         in file.
6150         (NO_FINALIZE): Change to NO_ADD_LOCALE.
6151         (TABLE): Move defines earlier in file.
6152         (ELEMENT): Likewise.
6153         (DEFAULT): Likewise.
6154         (wctrans_table_add): Move macro and inline function earlier in
6155         file.
6156         (struct wctype_table): Move type earlier in file.
6157         (add_locale_wctype_table): New static prototype.
6158         (struct locale_ctype_t): Use logical types instead of struct iovec
6159         pointers for members.
6160         (ctype_output): Use new locale_file interface.
6161         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
6162         new locale_file interface.
6163         (allocate_arrays): Update for use of new locale_file interface.
6164         * locale/programs/ld-identification.c (identification_output): Use
6165         new locale_file interface.
6166         * locale/programs/ld-measurement.c (measurement_output): Likewise.
6167         * locale/programs/ld-messages.c (messages_output): Likewise.
6168         * locale/programs/ld-monetary.c (monetary_output): Likewise.
6169         * locale/programs/ld-name.c (name_output): Likewise.
6170         * locale/programs/ld-numeric.c (numeric_output): Likewise.
6171         * locale/programs/ld-paper.c (paper_output): Likewise.
6172         * locale/programs/ld-telephone.c (telephone_output): Likewise.
6173         * locale/programs/ld-time.c (time_output): Likewise.
6175 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6177         * benchtests/Makefile: Add memrchr benchmark.
6178         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
6179         benchmark as memrchr.
6180         * benchtests/bench-memrchr-ifunc.c: New file.
6181         * benchtests/bench-memrchr.c: New file.
6183 2013-09-06   Will Newton  <will.newton@linaro.org>
6185         * benchtests/Makefile (string-bench): Add memcpy.
6187 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
6188             Cong Wang  <amwang@redhat.com>
6190         [BZ #15850]
6191         * sysdeps/unix/sysv/linux/bits/in.h
6192         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
6193         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
6194         before __USE_KERNEL_IPV6_DEFS uses.
6195         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
6196         IPPROTO_BEETPH.
6197         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
6198         sockaddr_in6, or ipv6_mreq.
6200 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6202         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
6203         memory access for final bytes in some large inputs.
6204         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
6206 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6208         * string/test-memrchr.c: New file.
6209         * string/test-memrchr-ifunc.c: New file.
6210         * string/Makefile: Add new memrchr testcase.
6212 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
6214         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
6215         fanotify_init returns EPERM.
6217 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
6219         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
6220         errors.
6221         (top level): Treat second token from macro or constant entries for
6222         allowed headers as allowed.
6223         * include/complex.h: Condition internal declarations on
6224         [!_ISOMAC].
6225         * include/fenv.h: Condition include of <stdbool.h> and internal
6226         declarations on [!_ISOMAC].
6228 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
6230         [BZ #15923]
6231         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
6233 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
6235         * configure.in (--enable-versioning): Remove configure option.
6236         (libc_cv_asm_symver_directive): Remove configure test.
6237         (libc_cv_ld_version_script_option): Likewise.
6238         (VERSIONING): Remove variable and AC_SUBST.
6239         (DO_VERSIONING): Remove AC_DEFINE.
6240         * configure: Regenerated.
6241         * config.h.in (DO_VERSIONING): Remove macro.
6242         * Makerules [$(versioning) = yes]: Change conditionals to
6243         [$(build-shared) = yes].
6244         * config.make.in (versioning): Remove variable.
6245         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
6246         [$(build-shared) = yes].
6247         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
6248         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
6249         * elf/Makefile [$(versioning) = yes]: Change conditionals to
6250         [$(build-shared) = yes].
6251         * extra-lib.mk [$(versioning) = yes]: Likewise.
6252         * hurd/Makefile [$(versioning) = yes]: Likewise.
6253         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
6254         [SHARED].
6255         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
6256         [SHARED].
6257         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6258         [SHARED && !NO_HIDDEN].
6259         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
6260         [SHARED].
6261         [SHARED && DO_VERSIONING]: Likewise..
6262         * libio/Makefile [$(versioning) = yes]: Change conditionals to
6263         [$(build-shared) = yes].
6264         * manual/install.texi (--disable-versioning): Remove
6265         documentation.
6266         * INSTALL: Regenerated.
6267         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
6268         to [SHARED].
6269         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
6270         [$(build-shared) = yes].
6271         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
6272         * sysdeps/i386/i686/multiarch/strstr-c.c
6273         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6274         [SHARED && !NO_HIDDEN].
6275         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
6276         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
6277         * sysdeps/powerpc/powerpc32/dl-machine.c
6278         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
6279         * sysdeps/powerpc/powerpc32/sysdep.h
6280         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
6281         to [SHARED && PIC && !NO_HIDDEN].
6282         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
6283         conditional to [SHARED].
6285 2013-09-04   Will Newton  <will.newton@linaro.org>
6287         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
6288         * benchtests/bench-string.h: Include bench-timing.h instead
6289         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
6290         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
6291         call to HP_TIMING_DIFF_INIT.
6292         * benchtests/bench-memccpy.c: Use bench-timing.h macros
6293         instead of hp-timing.h macros.
6294         * benchtests/bench-memchr.c: Likewise.
6295         * benchtests/bench-memcmp.c: Likewise.
6296         * benchtests/bench-memcpy.c: Likewise.
6297         * benchtests/bench-memmem.c: Likewise.
6298         * benchtests/bench-memmove.c: Likewise.
6299         * benchtests/bench-memset.c: Likewise.
6300         * benchtests/bench-rawmemchr.c: Likewise.
6301         * benchtests/bench-strcasecmp.c: Likewise.
6302         * benchtests/bench-strcasestr.c: Likewise.
6303         * benchtests/bench-strcat.c: Likewise.
6304         * benchtests/bench-strchr.c: Likewise.
6305         * benchtests/bench-strcmp.c: Likewise.
6306         * benchtests/bench-strcpy.c: Likewise.
6307         * benchtests/bench-strcpy_chk.c: Likewise.
6308         * benchtests/bench-strlen.c: Likewise.
6309         * benchtests/bench-strncasecmp.c: Likewise.
6310         * benchtests/bench-strncat.c: Likewise.
6311         * benchtests/bench-strncmp.c: Likewise.
6312         * benchtests/bench-strncpy.c: Likewise.
6313         * benchtests/bench-strnlen.c: Likewise.
6314         * benchtests/bench-strpbrk.c: Likewise.
6315         * benchtests/bench-strrchr.c: Likewise.
6316         * benchtests/bench-strspn.c: Likewise.
6317         * benchtests/bench-strstr.c: Likewise.
6319 2013-09-04  Will Newton  <will.newton@linaro.org>
6321         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
6323 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
6325         [BZ #15427]
6326         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6327         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
6328         * math/libm-test.inc (lgamma_test_data): Add more tests.
6329         * sysdeps/i386/fpu/libm-test-ulps: Update.
6330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6332 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
6334         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
6335         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6336         Add ifunc.
6337         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6338         Add strcmp-sse2-unaligned
6339         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
6341 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
6343         * Versions.def (libc): Add GLIBC_2.19.
6345 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
6347         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
6348         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
6350 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
6352         [BZ #14155]
6353         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
6354         intermediate calculations in recurrence.
6355         (__ieee754_ynf): Likewise.
6356         * math/libm-test.inc (jn_test_data): Do not allow spurious
6357         underflow exception.  Add more tests.
6358         (yn_test_data): Add more tests.
6359         * sysdeps/i386/fpu/libm-test-ulps: Update.
6360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6362 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
6364         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
6366 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
6368         * csu/init-first.c: Fix then/than typos.
6369         * locale/programs/ld-collate.c: Likewise.
6370         * locale/programs/linereader.h: Likewise.
6371         * manual/charset.texi: Likewise.
6372         * manual/filesys.texi: Likewise.
6373         * manual/stdio.texi: Likewise.
6374         * manual/string.texi: Likewise.
6375         * stdlib/fmtmsg.c: Likewise.
6376         * sysdeps/i386/stpncpy.S: Likewise.
6377         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6378         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6379         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6380         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6382 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
6384         * elf/dl-open.c: Fix typos.
6385         * iconvdata/gbbig5.c: Likewise.
6386         * iconvdata/iso-2022-jp.c: Likewise.
6387         * iconv/gconv_int.h: Likewise.
6388         * iconv/loop.c: Likewise.
6389         * nis/rpcsvc/nis.h: Likewise.
6390         * resolv/ns_name.c: Likewise.
6391         * stdio-common/vfscanf.c: Likewise.
6392         * streams/stropts.h: Likewise.
6393         * sunrpc/rpc_thread.c: Likewise.
6394         * sysdeps/i386/strpbrk.S: Likewise.
6395         * sysdeps/ieee754/k_standard.c: Likewise.
6396         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6397         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6398         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
6399         * sysdeps/mach/hurd/profil.c: Likewise.
6400         * sysdeps/s390/dl-procinfo.h: Likewise.
6401         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6402         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6403         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
6404         * sysdeps/x86_64/dl-trampoline.S: Likewise.
6405         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6407 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
6409         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
6410         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
6412 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
6414         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
6415         aix specific files.
6416         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
6417         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
6418         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
6419         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
6420         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
6421         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
6422         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
6423         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
6425 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
6426             Roland McGrath  <roland@hack.frob.com>
6428         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
6429         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6431 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6433         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
6434         __executable_start symbol instead of _start.
6436 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
6438         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
6439         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
6440         Move macros to...
6441         * sysdeps/gnu/ldsodefs.h: ... this new file.
6443         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
6444         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
6445         instead of ELFOSABI_LINUX.
6447         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
6448         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
6449         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
6450         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
6451         Likewise.
6452         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
6453         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
6454         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
6455         Likewise.
6456         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6457         (ibm_extended_long_double): Add ieee_nan member.
6458         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
6459         (do_test): New function.
6461         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
6462         TEST_TRUNC.
6463         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
6464         functions, renamed from truncdfsf_test, trunctfsf_test,
6465         trunctfdf_test.
6466         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
6467         functions.
6468         (do_test): Run all these.
6470 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
6472         * argp/argp-help.c: Fix typos.
6473         * argp/argp-parse.c: Likewise.
6474         * debug/backtracesyms.c: Likewise.
6475         * elf/elf.h: Likewise.
6476         * malloc/malloc.c: Likewise.
6477         * nis/nis_print.c: Likewise.
6478         * resolv/res_comp.c: Likewise.
6479         * stdlib/stdlib.h: Likewise.
6480         * sunrpc/clnt_tcp.c: Likewise.
6481         * sunrpc/clnt_udp.c: Likewise.
6482         * sunrpc/clnt_unix.c: Likewise.
6483         * sysdeps/unix/bsd/ptsname.c: Likewise.
6484         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6485         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
6486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
6487         Likewise.
6488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
6489         Likewise.
6490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6491         Likewise.
6492         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6494 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6496         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
6497         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6499 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
6501         [BZ #15897]
6502         * dlfcn/Makefile (tests): Add bug-dl-leaf.
6503         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
6504         ($(objpfx)bug-dl-leaf): New rule.
6505         ($(objpfx)bug-dl-leaf.so): Likewise.
6506         ($(objpfx)bug-dl-leaf.out): Likewise.
6507         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
6508         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
6509         * dlfcn/bug-dl-leaf.c: New test.
6510         * dlfcn/bug-dl-leaf-lib.c: Likewise.
6511         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
6512         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
6513         (dlclose): Likewise.
6514         (dlmopen): Likewise.
6516 2013-08-27  Roland McGrath  <roland@hack.frob.com>
6518         * include/netdb.h [!_ISOMAC]:
6519         Don't include <tls.h>.
6520         (h_errno, __libc_h_errno): Move declaration and macros out of
6521         [_LIBC_REENTRANT].
6523         * include/resolv.h [_RESOLV_H_]:
6524         Don't include <tls.h>.
6525         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
6526         * resolv/res_libc.c: Don't include <tls.h>.
6527         (_res): Use __attribute__ ((nocommon)) in place of
6528         __attribute__ ((section (".bss"))).
6530         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
6531         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
6533         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
6535         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
6536         only under [SIOCGIFCONF && SIOCGIFNETMASK].
6538         * resolv/res_mkquery.c: Include <sys/time.h>.
6540         * inet/ifreq.c: Moved to ...
6541         * sysdeps/unix/ifreq.c: ... here.
6542         * inet/ifreq.c: New file, true stub version.
6544         * socket/sa_len.c: New file.
6545         * socket/Makefile (aux): Add it.
6546         * sysdeps/unix/sysv/linux/Makefile
6547         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
6548         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
6549         and #include <socket/sa_len.c>.
6550         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
6551         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
6553         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
6554         * bits/socket.h: ... here.
6556         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
6557         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
6558         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
6560 2013-08-27  Andreas Schwab  <schwab@suse.de>
6562         [BZ #15736]
6563         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
6564         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
6565         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
6566         * string/test-strcasecmp.c (test_main): Run tests in several
6567         locales.
6568         * string/test-strncasecmp.c (test_main): Likewise.
6570         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
6571         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
6572         to __strcasecmp_nonascii and __strncasecmp_nonascii.
6573         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
6574         (__strncasecmp_ssse3) [PIC]: Likewise.
6576 2013-08-26  Roland McGrath  <roland@hack.frob.com>
6578         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
6580         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
6581         instead of explicitly declaring xdecrypt.
6582         * nis/nss_nis/nis-publickey.c: Likewise.
6584 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6586         [BZ #15890]
6587         * nscd/aicache.c: Include res_hconf.h.
6588         (addhstaiX): Initialize res_hconf.
6590 2013-08-26  Andreas Schwab  <schwab@suse.de>
6592         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
6593         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
6595 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6597         * nscd/aicache.c (addhstaiX): Fix indentation.
6599 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
6601         * configure.ac: Quote $build_pt_chown test.
6602         * configure: Regenerated.
6604 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
6606         [BZ #15532]
6607         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
6608         * math/s_cexpf.c (__cexpf): Likewise.
6609         * math/s_cexpl.c (__cexpl): Likewise.
6610         * math/libm-test.inc (cexp_test_data): Correct expected return
6611         value for NaN + i0.  Add another test.
6613 2013-08-22  David S. Miller  <davem@davemloft.net>
6615         * po/ca.po: Update Catalan translation from translation project.
6616         * po/uk.po: Add Ukrainian translations from translation project.
6618 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
6620         [BZ #15797]
6621         * math/s_fdim.c (__fdim): Check for infinite arguments if result
6622         is infinite, not alongside NaN test.
6623         * math/s_fdimf.c (__fdimf): Likewise.
6624         * math/s_fdiml.c (__fdiml): Likewise.
6625         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
6626         errno is unchanged.
6628 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
6630         * argp/argp-help.c: Fix typos.
6631         * crypt/speeds.c: Likewise.
6632         * csu/check_fds.c: Likewise.
6633         * elf/dl-load.c: Likewise.
6634         * elf/dl-open.c: Likewise.
6635         * elf/reldep3.c: Likewise.
6636         * elf/reldep.c: Likewise.
6637         * elf/sprof.c: Likewise.
6638         * iconv/iconv_charmap.c: Likewise.
6639         * iconv/skeleton.c: Likewise.
6640         * iconv/strtab.c: Likewise.
6641         * io/lockf64.c: Likewise.
6642         * libio/libioP.h: Likewise.
6643         * resolv/gai_notify.c: Likewise.
6644         * resolv/ns_name.c: Likewise.
6645         * resolv/ns_samedomain.c: Likewise.
6646         * resolv/res_send.c: Likewise.
6647         * stdlib/random.c: Likewise.
6648         * sunrpc/rpc/xdr.h: Likewise.
6649         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
6650         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6651         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6652         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6653         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6654         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6655         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6656         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6657         * sysdeps/mach/hurd/check_fds.c: Likewise.
6658         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6659         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6660         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6661         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6662         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6663         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6664         * sysdeps/pthread/aio_notify.c: Likewise.
6665         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6666         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
6667         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
6668         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6669         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6671 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6673         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
6674         version if bit_Slow_SSE4_2 is set.
6675         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6676         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6678 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6680         [BZ #15867]
6681         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
6682         trampoline stack frame information.
6683         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
6684         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
6685         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
6686         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
6687         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
6688         * sysdeps/unix/sysv/linux/powerpc/init-first.c
6689         (_libc_vdso_platform_setup): Initialize the signal trampolines.
6690         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
6691         sa_flags value.
6692         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
6693         interrupting a syscall and set with option SA_SIGINFO.
6695 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
6697         [BZ #15531]
6698         * math/s_cproj.c (__cproj): Only return an infinity if one part of
6699         argument is infinite.
6700         * math/s_cprojf.c (__cprojf): Likewise.
6701         * math/s_cprojl.c (__cprojl): Likewise.
6702         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
6703         * math/libm-test.inc (cproj_test_data): Add more tests.
6705         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
6707         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
6708         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
6709         size.  Use __ffs to determine corresponding shift.
6711 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
6712             Roland McGrath  <roland@hack.frob.com>
6714         * Makefile (INSTALL): Remove trailing blank lines from output of
6715         makeinfo.
6717 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6719         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
6720         Align 32 bit compat elf_greg to 8 bytes.
6722 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6724         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
6726 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
6728         * string/strcoll_l.c (coll_seq): New structure.
6729         (get_next_seq_cached): New function.
6730         (get_next_seq): New function.
6731         (do_compare): New function.
6732         (STRCOLL): Use GNU style definition.  Simplify implementation
6733         by using get_next_seq, get_next_seq_cached and do_compare.
6735 2013-08-16  Florian Weimer  <fweimer@redhat.com>
6737         [BZ #14699]
6738         CVE-2013-4237
6739         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6740         member.
6741         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6742         member.
6743         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6744         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6745         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
6746         conditional.
6747         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6748         GETDENTS_64BIT_ALIGNED.
6749         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6750         * manual/filesys.texi (Reading/Closing Directory): Document
6751         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
6752         strongly.
6753         * manual/conf.texi (Limits for Files): Add portability note to
6754         NAME_MAX, PATH_MAX.
6755         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6757 2013-08-13  Andreas Schwab  <schwab@suse.de>
6759         [BZ #15749]
6760         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6761         of fabs.
6762         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6763         LDBL_MAX_EXP >= 16384]: Add tests for it.
6765 2013-08-12  David S. Miller  <davem@davemloft.net>
6767         * version.h (RELEASE): Set to "development".
6768         (VERSION): Set to "2.18.90".
6769         * NEWS: Add 2.19 section.
6771 2013-08-03  David S. Miller  <davem@davemloft.net>
6773         * po/ko.po: Update Korean translation from translation project.
6775 2013-08-01  David S. Miller  <davem@davemloft.net>
6777         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
6778         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6779         Bilka.
6781 2013-07-30  David S. Miller  <davem@davemloft.net>
6783         * po/fr.po: Update French translation from translation project.
6785 2013-07-28  David S. Miller  <davem@davemloft.net>
6787         * po/cs.po: Update Czech translation from translation project.
6789         * po/sv.po: Update Swedish translation from translation project.
6791 2013-07-27  David S. Miller  <davem@davemloft.net>
6793         * po/eo.po: Update Esperanto translation from translation project.
6795         * po/vi.po: Update Vietnamese translation from translation project.
6797         * po/de.po: Update German translation from translation project.
6799 2013-07-26  David S. Miller  <davem@davemloft.net>
6801         * po/bg.po: Update Bulgarian translation from translation project.
6803         * po/nl.po: Update Dutch translation from translation project.
6804         * po/pl.po: Update Polish translation from translation project.
6805         * po/ru.po: Update Russian translation from translation project.
6807 2013-07-24  David S. Miller  <davem@davemloft.net>
6809         * po/libc.pot: Update.
6811 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6813         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6814         variable page size.
6815         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6816         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6817         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6819 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6821         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6823 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6824             Andreas Schwab  <schwab@suse.de>
6825             Roland McGrath  <roland@hack.frob.com>
6826             Joseph Myers  <joseph@codesourcery.com>
6827             Carlos O'Donell  <carlos@redhat.com>
6829         [BZ #15755]
6830         * config.h.in: Define HAVE_PT_CHOWN.
6831         * config.make.in (build-pt-chown): New variable.
6832         * configure.in (--enable-pt_chown): New configure option.
6833         * configure: Regenerate.
6834         * login/Makefile: Include Makeconfig.  Build pt_chown only if
6835         build-pt-chown is enabled.
6836         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6837         pt_chown to fix pty ownership.
6838         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6839         CLOSE_ALL_FDS.
6840         * manual/install.texi (Configuring and compiling): Mention
6841         --enable-pt_chown. Add @findex for grantpt.
6842         * INSTALL: Regenerate.
6844 2013-07-20  David S. Miller  <davem@davemloft.net>
6846         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6847         difference between 32-bit and 64-bit.
6849 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
6851         [BZ #15711]
6852         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6853         Avoid system header dependency with -ffreestanding.
6854         ($(objpfx)bits/syscall%d): Likewise.
6856 2013-07-13  David S. Miller  <davem@davemloft.net>
6858         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6859         underflows from atanl/atan2l due to bug 15319.
6860         (casinh_test_data): Likewise.
6862 2013-07-07  David S. Miller  <davem@davemloft.net>
6864         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6866 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
6868         * sysdeps/i386/fpu/libm-test-ulps: Update.
6869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6871 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6873         * configure.in (--enable-lock-elision): Fix message text.
6874         * INSTALL: Regenerate.
6875         * configure: Regenerate.
6877 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6879         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6881 2013-07-03  Andreas Jaeger  <aj@suse.de>
6883         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6884         define.
6885         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6886         (ptrace_peeksiginfo_args): Add.
6887         (__ptrace_peeksiginfo_flags): Add.
6888         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6889         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6890         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6892 2013-07-03  Allan McRae  <allan@archlinux.org>
6894         * sysdeps/i386/fpu/libm-test-ulps: Update.
6896 2013-07-02  David S. Miller  <davem@davemloft.net>
6898         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6900 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
6902         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6904 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
6906         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6909 2013-07-02  Andi Kleen <ak@linux.intel.com>
6911         * config.h.in (ENABLE_LOCK_ELISION): Add.
6912         * configure.in (--enable-lock-elision): Add option.
6913         * manual/install.texi: Document --enable lock elision.
6914         * configure: Regenerate
6915         * INSTALL: Regenerate.
6917 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
6919         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6920         SSE4.2 strcasecmp for libc.a.
6921         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6923 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
6925         [BZ #13304]
6926         * soft-fp/op-common.h (_FP_FMA): New macro.
6927         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6928         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
6929         (_FP_MUL_MEAT_1_imm): ... here.
6930         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
6931         (_FP_MUL_MEAT_1_wide): ... here.
6932         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
6933         (_FP_MUL_MEAT_1_hard): ... here.
6934         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6935         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
6936         (_FP_MUL_MEAT_2_wide): ... here.
6937         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
6938         (_FP_MUL_MEAT_2_wide_3mul): ... here.
6939         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
6940         (_FP_MUL_MEAT_2_gmp): ... here.
6941         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6942         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
6943         (_FP_MUL_MEAT_4_wide): ... here.
6944         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
6945         (_FP_MUL_MEAT_4_gmp): ... here.
6946         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6947         (_FP_WFRACBITS_DW_S): Likewise.
6948         (_FP_WFRACXBITS_DW_S): Likewise.
6949         (_FP_HIGHBIT_DW_S): Likewise.
6950         (FP_FMA_S): Likewise.
6951         (_FP_FRAC_HIGH_DW_S): Likewise.
6952         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6953         (_FP_WFRACBITS_DW_D): Likewise.
6954         (_FP_WFRACXBITS_DW_D): Likewise.
6955         (_FP_HIGHBIT_DW_D): Likewise.
6956         (FP_FMA_D): Likewise.
6957         (_FP_FRAC_HIGH_DW_D): Likewise.
6958         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6959         (_FP_WFRACBITS_DW_E): Likewise.
6960         (_FP_WFRACXBITS_DW_E): Likewise.
6961         (_FP_HIGHBIT_DW_E): Likewise.
6962         (FP_FMA_E): Likewise.
6963         (_FP_FRAC_HIGH_DW_E): Likewise.
6964         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6965         (_FP_WFRACBITS_DW_Q): Likewise.
6966         (_FP_WFRACXBITS_DW_Q): Likewise.
6967         (_FP_HIGHBIT_DW_Q): Likewise.
6968         (FP_FMA_Q): Likewise.
6969         (_FP_FRAC_HIGH_DW_Q): Likewise.
6970         * soft-fp/fmasf4.c: New file.
6971         * soft-fp/fmadf4.c: Likewise.
6972         * soft-fp/fmatf4.c: Likewise.
6974 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6976         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6977         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6978         Silvermont.
6979         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6980         macro.
6981         (index_Slow_SSE4_2): Likewise.
6982         (index_Prefer_PMINUB_for_stringop): Likewise.
6983         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6984         bit_Slow_SSE4_2 is set.
6985         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6986         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6988 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6990         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6991         rtld_global._dl_hwcap2.
6992         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6993         POWER8.
6994         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6995         POWER8 feature descriptions defined in _dl_hwcap2.
6996         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6997         string handling for POWER8 feature bits.
6998         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6999         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
7000         _dl_powerpc_cap_flags.
7001         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
7002         * sysdeps/powerpc/rtld-global-offsets.sym
7003         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
7004         _dl_hwcap2 in the rtld_global_ro structure.
7006 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7008         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
7009         hardware capabilities in support of AT_HWCAP2.
7010         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
7011         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
7012         GLRO(dl_hwcap2).
7013         (_dl_show_auxv): Add support for calling _dl_procinfo to display
7014         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
7015         explicitly the unknown a_type display mechanism is used.
7016         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
7017         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
7018         struct member.
7019         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
7020         to macro prototype for AT_HWCAP2 support.
7021         * sysdeps/i386/dl-procinfo.h: Likewise.
7022         * sysdeps/s390/dl-procinfo.h: Likewise.
7023         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
7024         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
7025         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
7026         return -1 for unknown a_type display fallback.
7027         * sysdeps/sparc/dl-procinfo.h: Likewise.
7028         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
7029         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
7031 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
7033         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
7034         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
7036 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
7038         [BZ #12492]
7039         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
7040         mprotect making __stack_prot writable.
7042 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
7043             Joseph Myers  <joseph@codesourcery.com>
7045         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
7046         as being properly aligned.
7048 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
7050         * dlfcn/modstatic5.c: New file.
7051         * dlfcn/tststatic5.c: New file.
7052         * dlfcn/Makefile (tests): Add tststatic5.
7053         (tests-static): Likewise.
7054         (modules-names): Add modstatic5.
7055         (tststatic5-ENV): New variable.
7056         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
7058         [BZ #15022]
7059         * elf/dl-support.c (_dl_main_map): New variable.
7060         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
7061         (_dl_nns, _dl_load_adds): Set to 1.
7062         (_dl_initial_searchlist): Refer to _dl_main_map.
7063         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
7064         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
7065         call to _dl_get_origin.
7066         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
7067         around call_map.
7068         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
7069         * dlfcn/modstatic3.c: New file.
7070         * dlfcn/tststatic3.c: New file.
7071         * dlfcn/tststatic4.c: New file.
7072         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
7073         (tests-static): Likewise.
7074         (modules-names): Add modstatic3.
7075         (tststatic3-ENV, tststatic4-ENV): New variables.
7076         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
7077         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
7079 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
7081         * configure.in (CC): Require GCC version 4.4 or later.
7082         * configure: Regenerated.
7083         * manual/install.texi (Tools for Compilation): Update GCC version
7084         requirement.
7085         * INSTALL: Regenerated.
7087 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7089         [BZ #15674]
7090         * string/test-memcmp.c (check2): New.
7091         (main): Call check2.
7093         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
7095 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
7097         [BZ #15022]
7098         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
7099         over to...
7100         (dl_open_worker) [!SHARED]: ... here.
7102 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7104         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
7106 2013-06-25  Richard Henderson  <rth@redhat.com>
7108         * locale/programs/locarchive.c: Include <libc-internal.h>
7110 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
7112         * manual/texinfo.tex: Update to version 2013-06-21.17, with
7113         trailing whitespace removed.
7115 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
7117         [BZ #10283]
7118         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
7119         * locale/programs/locarchive.c: Include libc-mmap.h.
7120         (prepare_address_space): Take two new outputs (the mmap base and len).
7121         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
7122         values.
7123         (create_archive): Declare new mmap base and len values for
7124         prepare_address_space, and store the result in ah.
7125         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
7126         (enlarge_archive): If ah->mmap_base is not NULL, use that and
7127         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7128         Declare new mmap base and len values for
7129         prepare_address_space, and store the result in new_ah.
7130         (open_archive): Declare new mmap base and len values for
7131         prepare_address_space, and store the result in ah.
7132         (close_archive): If ah->mmap_base is not NULL, use that and
7133         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7134         * sysdeps/generic/libc-mmap.h: New file.
7136 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
7138         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
7139         (ALIGN_UP): Likewise.
7140         (PTR_ALIGN_DOWN): Likewise.
7141         (PTR_ALIGN_UP): Likewise.
7143 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7145         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
7146         entry mapped to PPC_PLATFORM_POWER8.
7147         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
7148         POWER8.
7149         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
7150         (_dl_string_platform): Add case for exporting platform position for
7151         POWER8.
7152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
7153         search path to sysdeps/powerpc/powerpc32/power8 directory.
7154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
7155         search path to sysdeps/powerpc/powerpc64/power8 directory.
7156         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
7157         power7 directories.
7158         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
7159         power7 directories.
7161 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7163         * INSTALL: Regenerate.
7165         * nscd/connections.c (nscd_init): Fix comment.
7167 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
7169         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
7171         [BZ #15667]
7172         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
7173         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
7175 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
7177         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
7178         DL_DST_REQ_STATIC.
7179         (DL_DST_REQ_STATIC): Remove macro.
7181 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
7183         [BZ #7006]
7184         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
7185         with a shift of 0 bits.
7187 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
7189         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
7190         $(tststatic-ENV).
7192 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7194         [BZ #15655]
7195         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
7197 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7199         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
7200         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
7201         accepts -fno-tree-loop-distribute-patterns.
7202         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
7203         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
7204         recursive call.
7205         * string/memset.c (memset): Likewise.
7206         * string/test-memmove.c (simple_memmove): Disable loop transformation
7207         to library calls.
7208         * string/test-memset.c (simple_memset): Likewise.
7209         * benchtests/bench-memmove.c (simple_memmove): Likewise.
7210         * benchtests/bench-memset.c (simple_memset): Likewise.
7211         * configure: Regenerated.
7213 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
7215         * math/test-misc.c (main): Ignore fesetround failure when failures
7216         of subsequent rounding tests would be ignored.
7218         [BZ #15654]
7219         * math/fedisblxcpt.c (fedisableexcept): Return 0.
7220         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
7221         * math/fegetenv.c (__fegetenv): Return 0.
7222         * math/fegetexcept.c (fegetexcept): Return 0.
7223         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
7224         FE_TONEAREST.
7225         * math/feholdexcpt.c (feholdexcept): Return 0.
7226         * math/fesetenv.c (__fesetenv): Return 0.
7227         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
7228         argument FE_TONEAREST.
7229         * math/feupdateenv.c (__feupdateenv): Return 0.
7230         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
7232 2013-06-18  Roland McGrath  <roland@hack.frob.com>
7234         * elf/rtld-Rules (rtld-compile-command.S): New variable.
7235         (rtld-compile-command.s, rtld-compile-command.c): New variables.
7236         ($(objpfx)rtld-%.os rules): Use them.
7238 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7240         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
7241         fields.
7243 2013-06-17  Roland McGrath  <roland@hack.frob.com>
7245         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
7246         length of target pattern, then descending length of dependency pattern.
7247         * configure.in (AWK): Require gawk 3.1.2 or newer.
7248         * manual/install.texi (Tools for Compilation): Say that we do.
7249         * configure: Regenerated.
7251         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
7252         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
7253         * scripts/sysd-rules.awk: ... this new script.
7254         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
7255         than a glob-style pattern.
7257 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
7259         * math/test-misc.c (main): Do not treat incorrectly rounded
7260         conversions as failure unless ROUNDING_TESTS passes.
7262 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
7264         [BZ #15631]
7265         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
7266         restore exception state around main square root computation, then
7267         check for inexactness explicitly.
7269         * math/libm-test.inc (fma_test_data): Add another test.
7271 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7273         * manual/threads.texi (Non-POSIX Extensions): New document
7274         node.  Document pthread_getattr_default_np and
7275         pthread_setattr_default_np.
7277         * Versions.def (libpthread): Add GLIBC_2.18.
7278         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
7279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7280         Likewise.
7281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7282         Likewise.
7283         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7284         Likewise.
7285         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7286         Likewise.
7287         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
7288         Likewise.
7289         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7290         Likewise.
7291         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7292         Likewise.
7293         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7294         Likewise.
7295         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7296         Likewise.
7298 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7300         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7301         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
7303 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7304             H.J. Lu  <hjl.tools@gmail.com>
7306         [BZ #15627]
7307         * sysdeps/x86_64/rtld-memset.c: Remove file.
7308         * sysdeps/x86_64/rtld-memset.S: New file.
7310 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
7312         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
7313         (test_in_one_mode): Take arguments for whether the rounding mode
7314         is supported for each floating-point type.
7315         (do_test): Pass new arguments to test_in_one_mode using
7316         ROUNDING_TESTS.
7318 2013-06-13  Roland McGrath  <roland@hack.frob.com>
7320         * posix/tst-waitid.c (do_test): Distinguish different instances of
7321         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
7322         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
7323         before entering the kernel for waitpid.
7325 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
7327         * NEWS: Fix note on clock function precision.  Text by Roland
7328         McGrath.
7330 2013-06-13  Roland McGrath  <roland@hack.frob.com>
7332         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
7333         it into place only when and if the sanity check passes.
7335 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
7337         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
7338         output for whether conversion result is exact.  Take argument
7339         indicating whether type is IBM long double.
7340         (round_for_all): Change need_exact field to ibm_ld.
7341         * stdlib/tst-strtod-round.c (struct exactness): New type.
7342         (struct test): Change bool ld_ok field to struct exactness exact.
7343         (TEST): Update all definitions for change to field.
7344         (tests): Regenerate array contents.
7345         (test_in_one_mode): Take pointer to new field instead of old ld_ok
7346         field value.  Check for IBM long double here.
7347         (do_test): Update calls to test_in_one_mode.
7349 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
7351         [BZ #12515]
7352         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
7353         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
7355 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7357         [BZ #15605]
7358         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
7359         generated by the compiler on loop optimizations.
7360         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
7361         general definitions.
7363 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
7365         * math/bug-nextafter.c: Include <math-tests.h>.
7366         (main): Only test for exceptions if EXCEPTION_TESTS is true for
7367         the relevant type.
7368         * math/bug-nexttoward.c: Include <math-tests.h>.
7369         (main): Only test for exceptions if EXCEPTION_TESTS is true for
7370         the relevant type.
7371         * math/test-misc.c: Include <math-tests.h>.
7372         (main): Only test for exceptions if EXCEPTION_TESTS is true for
7373         the relevant type.
7375 2013-06-12  Andreas Jaeger  <aj@suse.de>
7377         * po/ia.po: Update Interlingua translation from translation
7378         project.
7380 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7382         * include/fenv.h: Include stdbool.h.
7383         (struct rm_ctx): New structure.
7384         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
7385         Define macro.
7386         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
7387         (SET_RESTORE_ROUNDF): Likewise.
7388         (SET_RESTORE_ROUNDL): Likewise.
7389         (SET_RESTORE_ROUND_NOEX): Likewise.
7390         (SET_RESTORE_ROUND_NOEXF): Likewise.
7391         (SET_RESTORE_ROUND_NOEXL): Likewise.
7392         (SET_RESTORE_ROUND_53BIT): Likewise.
7393         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
7394         (libc_feresetround_noexf_ctx): Likewise.
7395         (libc_feresetround_noexl_ctx): Likewise.
7396         (libc_feholdsetround_53bit_ctx): Likewise.
7397         (libc_feresetround_53bit_ctx): Likewise.
7398         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
7399         (libc_feholdexcept_setround_sse_ctx): New function.
7400         (libc_fesetenv_sse_ctx): Likewise.
7401         (libc_feupdateenv_sse_ctx): Likewise.
7402         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
7403         (libc_feholdexcept_setround_387_ctx): Likewise.
7404         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
7405         (libc_feholdsetround_387_prec_ctx): Likewise.
7406         (libc_feholdsetround_387_ctx): Likewise.
7407         (libc_feholdsetround_387_53bit_ctx): Likewise.
7408         (libc_feholdsetround_sse_ctx): Likewise.
7409         (libc_feresetround_sse_ctx): Likewise.
7410         (libc_feresetround_387_ctx): Likewise.
7411         (libc_feupdateenv_387_ctx): Likewise.
7412         (libc_feholdexcept_setroundf_ctx): Define macro.
7413         (libc_fesetenvf_ctx): Likewise.
7414         (libc_feupdateenvf_ctx): Likewise.
7415         (libc_feholdsetroundf_ctx): Likewise.
7416         (libc_feresetroundf_ctx): Likewise.
7417         (libc_feholdexcept_setround_ctx): Likewise.
7418         (libc_fesetenv_ctx): Likewise.
7419         (libc_feupdateenv_ctx): Likewise.
7420         (libc_feholdsetround_ctx): Likewise.
7421         (libc_feresetround_ctx): Likewise.
7422         (libc_feholdexcept_setroundl_ctx): Likewise.
7423         (libc_feupdateenvl_ctx): Likewise.
7424         (libc_feholdsetroundl_ctx): Likewise.
7425         (libc_feresetroundl_ctx): Likewise.
7426         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
7427         (libc_feresetround_53bit_ctx): Likewise.
7429 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7431         * locale/iso-639.def: Convert to UTF-8.
7433 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
7435         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
7436         (EXCEPTION_TESTS_double): Likewise.
7437         (EXCEPTION_TESTS_long_double): Likewise.
7438         (EXCEPTION_TESTS): Likewise.
7439         * math/libm-test.inc (test_exceptions): Only test exceptions if
7440         EXCEPTION_TESTS (FLOAT).
7442 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7444         * benchtests/Makefile (string-bench): Add strcpy_chk and
7445         stpcpy_chk.
7446         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
7447         * benchtests/bench-stpcpy_chk.c: New file.
7448         * benchtests/bench-strcpy_chk-ifunc.c: New file.
7449         * benchtests/bench-strcpy_chk.c: New file.
7450         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
7451         code.
7452         (do_test): Likewise.
7454 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7456         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
7457         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
7458         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
7459         with tabs where appropriate.
7460         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
7461         dl-procinfo.h.
7462         [PPC_PLATFORM_PPC440]: Likewise.
7463         [PPC_PLATFORM_PPC464]: Likewise.
7464         [PPC_PLATFORM_PPC476]: Likewise.
7465         (_dl_string_platform): Add support for detecting ppc405, ppc440,
7466         ppc464, and ppc476 platform strings merging from ports/
7467         dl-procinfo.h.
7469 2013-06-11  Andreas Schwab  <schwab@suse.de>
7471         [BZ #14991]
7472         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
7473         (from_ucs4_idx): Regenerate.
7474         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
7475         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
7476         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
7477         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
7478         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
7479         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
7480         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
7481         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
7482         from FROM_LOOP and TO_LOOP specific macros.
7483         (BODY): Handle combining characters.
7484         * iconvdata/BIG5HKSCS.irreversible: Update.
7485         * iconvdata/BIG5HKSCS.precomposed: New file.
7486         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
7487         characters.
7488         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
7490 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7492         * include/sys/time.h: Fix indentation and add copyright header.
7494         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
7495         (do_test): Likewise.
7496         * string/test-memchr.c (do_one_test): Likewise.
7497         (do_test): Likewise.
7498         * string/test-memcmp.c (do_one_test): Likewise.
7499         (do_test): Likewise.
7500         * string/test-memcpy.c (do_one_test): Likewise.
7501         (do_test): Likewise.
7502         * string/test-memmem.c (do_one_test): Likewise.
7503         (do_test): Likewise.
7504         (do_random_tests): Likewise.
7505         * string/test-memmove.c (do_one_test): Likewise.
7506         (do_test): Likewise.
7507         * string/test-memset.c (do_one_test): Likewise.
7508         (do_test): Likewise.
7509         * string/test-rawmemchr.c (do_one_test): Likewise.
7510         (do_test): Likewise.
7511         * string/test-strcasecmp.c (do_one_test): Likewise.
7512         (do_test): Likewise.
7513         * string/test-strcasestr.c (do_one_test): Likewise.
7514         (do_test): Likewise.
7515         * string/test-strcat.c (do_one_test): Likewise.
7516         (do_test): Likewise.
7517         * string/test-strchr.c (do_one_test): Likewise.
7518         (do_test): Likewise.
7519         * string/test-strcmp.c (do_one_test): Likewise.
7520         (do_test): Likewise.
7521         * string/test-strcpy.c (do_one_test): Likewise.
7522         (do_test): Likewise.
7523         * string/test-string.h: Likewise.
7524         (test_init): Likewise.
7525         * string/test-strlen.c (do_one_test): Likewise.
7526         (do_test): Likewise.
7527         * string/test-strncasecmp.c (do_one_test): Likewise.
7528         (do_test): Likewise.
7529         * string/test-strncat.c (do_one_test): Likewise.
7530         (do_test): Likewise.
7531         * string/test-strncmp.c (do_one_test): Likewise.
7532         (do_test_limit): Likewise.
7533         (do_test): Likewise.
7534         * string/test-strncpy.c (do_one_test): Likewise.
7535         (do_test): Likewise.
7536         * string/test-strnlen.c (do_one_test): Likewise.
7537         (do_test): Likewise.
7538         * string/test-strpbrk.c (do_one_test): Likewise.
7539         (do_test): Likewise.
7540         * string/test-strrchr.c (do_one_test): Likewise.
7541         (do_test): Likewise.
7542         * string/test-strspn.c (do_one_test): Likewise.
7543         (do_test): Likewise.
7544         * string/test-strstr.c (do_one_test): Likewise.
7545         (do_test): Likewise.
7547         * benchtests/Makefile (string-bench): Add string benchmarks.
7548         * benchtests/bench-bcopy-ifunc.c: New file.
7549         * benchtests/bench-bcopy.c: New file.
7550         * benchtests/bench-bzero-ifunc.c: New file.
7551         * benchtests/bench-bzero.c: New file.
7552         * benchtests/bench-memccpy-ifunc.c: New file.
7553         * benchtests/bench-memccpy.c: New file.
7554         * benchtests/bench-memchr-ifunc.c: New file.
7555         * benchtests/bench-memchr.c: New file.
7556         * benchtests/bench-memcmp-ifunc.c: New file.
7557         * benchtests/bench-memcmp.c: New file.
7558         * benchtests/bench-memmem-ifunc.c: New file.
7559         * benchtests/bench-memmem.c: New file.
7560         * benchtests/bench-memmove-ifunc.c: New file.
7561         * benchtests/bench-memmove.c: New file.
7562         * benchtests/bench-mempcpy-ifunc.c: New file.
7563         * benchtests/bench-mempcpy.c: New file.
7564         * benchtests/bench-memset-ifunc.c: New file.
7565         * benchtests/bench-memset.c: New file.
7566         * benchtests/bench-rawmemchr-ifunc.c: New file.
7567         * benchtests/bench-rawmemchr.c: New file.
7568         * benchtests/bench-stpcpy-ifunc.c: New file.
7569         * benchtests/bench-stpcpy.c: New file.
7570         * benchtests/bench-stpncpy-ifunc.c: New file.
7571         * benchtests/bench-stpncpy.c: New file.
7572         * benchtests/bench-strcasecmp-ifunc.c: New file.
7573         * benchtests/bench-strcasecmp.c: New file.
7574         * benchtests/bench-strcasestr-ifunc.c: New file.
7575         * benchtests/bench-strcasestr.c: New file.
7576         * benchtests/bench-strcat-ifunc.c: New file.
7577         * benchtests/bench-strcat.c: New file.
7578         * benchtests/bench-strchr-ifunc.c: New file.
7579         * benchtests/bench-strchr.c: New file.
7580         * benchtests/bench-strchrnul-ifunc.c: New file.
7581         * benchtests/bench-strchrnul.c: New file.
7582         * benchtests/bench-strcmp-ifunc.c: New file.
7583         * benchtests/bench-strcmp.c: New file.
7584         * benchtests/bench-strcpy-ifunc.c: New file.
7585         * benchtests/bench-strcpy.c: New file.
7586         * benchtests/bench-strcspn-ifunc.c: New file.
7587         * benchtests/bench-strcspn.c: New file.
7588         * benchtests/bench-strlen-ifunc.c: New file.
7589         * benchtests/bench-strlen.c: New file.
7590         * benchtests/bench-strncasecmp-ifunc.c: New file.
7591         * benchtests/bench-strncasecmp.c: New file.
7592         * benchtests/bench-strncat-ifunc.c: New file.
7593         * benchtests/bench-strncat.c: New file.
7594         * benchtests/bench-strncmp-ifunc.c: New file.
7595         * benchtests/bench-strncmp.c: New file.
7596         * benchtests/bench-strncpy-ifunc.c: New file.
7597         * benchtests/bench-strncpy.c: New file.
7598         * benchtests/bench-strnlen-ifunc.c: New file.
7599         * benchtests/bench-strnlen.c: New file.
7600         * benchtests/bench-strpbrk-ifunc.c: New file.
7601         * benchtests/bench-strpbrk.c: New file.
7602         * benchtests/bench-strrchr-ifunc.c: New file.
7603         * benchtests/bench-strrchr.c: New file.
7604         * benchtests/bench-strspn-ifunc.c: New file.
7605         * benchtests/bench-strspn.c: New file.
7606         * benchtests/bench-strstr-ifunc.c: New file.
7607         * benchtests/bench-strstr.c: New file.
7609         * benchtests/Makefile: Disable parallel execution of targets.
7610         (string-bench): Add memcpy.
7611         (benchset): New variable to store a list of benchmark sets.
7612         (bench-func): Renamed from bench.
7613         (bench-set): New target.
7614         (bench): Depend on bench-func and bench-set.
7615         * benchtests/README: Add section on benchmark sets.
7616         * benchtests/bench-memcpy-ifunc.c: New file.
7617         * benchtests/bench-memcpy.c: New file.
7618         * benchtests/bench-string.h: New file.
7620 2013-06-11  Andreas Schwab  <schwab@suse.de>
7622         [BZ #15577]
7623         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
7624         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
7625         values in the triple.
7626         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
7627         terminator in the group key.
7629 2013-06-11  Andreas Jaeger  <aj@suse.de>
7631         * po/zh_TW.po: Update Chinese (traditional) translation from
7632         translation project.
7634 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7636         * include/time.h (__clock_gettime): Add libc_hidden_proto.
7637         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
7638         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
7639         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7640         (clock_getcpuclockid): Likewise.
7641         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
7642         Add weak_alias and libc_hidden_def.
7643         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7644         * rt/clock_gettime.c (clock_gettime): Rename to
7645         __clock_gettime.  Add weak_alias and libc_hidden_def.
7646         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
7647         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
7648         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
7649         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
7650         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
7651         Likewise.
7652         * rt/clock_settime.c (clock_settime): Rename to
7653         __clock_settime.  Add weak_alias and libc_hidden_def.
7654         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
7656 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
7658         * mach/err_boot.sub: Remove trailing whitespace.
7659         * mach/err_ipc.sub: Likewise.
7660         * mach/err_mach.sub: Likewise.
7662         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
7663         (ROUNDING_TESTS_double): Likewise.
7664         (ROUNDING_TESTS_long_double): Likewise.
7665         (ROUNDING_TESTS): Likewise.
7666         * math/libm-test.inc: Include <math-tests.h>.
7667         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
7668         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7669         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7670         (IF_ROUND_INIT_FE_UPWARD): Likewise.
7672 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7674         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
7675         of assigning.
7677 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
7679         * sysdeps/gnu/errlist.awk: Do not generate space at end of
7680         otherwise empty TRANS lines.
7681         * sysdeps/gnu/errlist.c: Regenerated.
7683         * catgets/gencat.c (error_print): Use (void) in function
7684         definition.
7685         * crypt/crypt_util.c (__init_des): Likewise.
7686         * crypt/speeds.c (Stop): Likewise.
7687         (main): Likewise.
7688         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
7689         * inet/ruserpass.c (token): Likewise.
7690         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
7691         * intl/localealias.c (extend_alias_table): Likewise.
7692         * intl/plural-exp.c (init_germanic_plural): Likewise.
7693         * libio/fcloseall.c (__fcloseall): Likewise.
7694         * libio/genops.c (_IO_flush_all): Likewise.
7695         (_IO_flush_all_linebuffered): Likewise.
7696         (_IO_cleanup): Likewise.
7697         (_IO_iter_begin): Likewise.
7698         (_IO_iter_end): Likewise.
7699         (_IO_list_lock): Likewise.
7700         (_IO_list_unlock): Likewise.
7701         (_IO_list_resetlock): Likewise.
7702         * libio/getchar.c (getchar): Likewise.
7703         * libio/getchar_u.c (getchar_unlocked): Likewise.
7704         * libio/getwchar.c (getwchar): Likewise.
7705         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7706         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
7707         * login/getpt.c (__getpt): Likewise.
7708         * login/tst-utmp.c (main): Likewise.
7709         * malloc/hooks.c (__malloc_check_init): Likewise.
7710         * malloc/malloc.c (__malloc_stats): Likewise.
7711         * malloc/mtrace.c (tr_break): Likewise.
7712         (mtrace): Likewise.
7713         (muntrace): Likewise.
7714         * misc/fstab.c (endfsent): Likewise.
7715         * misc/getclktck.c (__getclktck): Likewise.
7716         * misc/getdtsz.c (__getdtablesize): Likewise.
7717         * misc/gethostid.c (gethostid): Likewise.
7718         * misc/getpagesize.c (__getpagesize): Likewise.
7719         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
7720         (__get_nprocs): Likewise.
7721         (__get_phys_pages): Likewise.
7722         (__get_avphys_pages): Likewise.
7723         * misc/getttyent.c (getttyent): Likewise.
7724         (setttyent): Likewise.
7725         (endttyent): Likewise.
7726         * misc/getusershell.c (getusershell): Likewise.
7727         (endusershell): Likewise.
7728         (setusershell): Likewise.
7729         (initshells): Likewise.
7730         * misc/hsearch.c (__hdestroy): Likewise.
7731         * misc/sync.c (sync): Likewise.
7732         * misc/syslog.c (closelog_internal): Likewise.
7733         (closelog): Likewise.
7734         * misc/ttyslot.c (ttyslot): Likewise.
7735         * misc/vhangup.c (vhangup): Likewise.
7736         * posix/fork.c (__fork): Likewise.
7737         * posix/getegid.c (__getegid): Likewise.
7738         * posix/geteuid.c (__geteuid): Likewise.
7739         * posix/getgid.c (__getgid): Likewise.
7740         * posix/getpid.c (__getpid): Likewise.
7741         * posix/getppid.c (__getppid): Likewise.
7742         * posix/getuid.c (__getuid): Likewise.
7743         * posix/pause.c (pause): Likewise.
7744         * posix/setpgrp.c (setpgrp): Likewise.
7745         * posix/setsid.c (__setsid): Likewise.
7746         * posix/test-vfork.c (noop): Likewise.
7747         * resolv/gethnamaddr.c (_endhtent): Likewise.
7748         (_gethtent): Likewise.
7749         (ht_endhostent): Likewise.
7750         (gethostent): Likewise.
7751         (dns_service): Likewise.
7752         * stdlib/drand48.c (drand48): Likewise.
7753         * stdlib/lrand48.c (lrand48): Likewise.
7754         * stdlib/mrand48.c (mrand48): Likewise.
7755         * stdlib/rand.c (rand): Likewise.
7756         * stdlib/random.c (__random): Likewise.
7757         * stdlib/setenv.c (clearenv): Likewise.
7758         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7759         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7760         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7761         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7762         (__get_nprocs): Likewise.
7763         (__get_phys_pages): Likewise.
7764         (__get_avphys_pages): Likewise.
7765         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7766         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7767         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7768         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7769         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7770         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7771         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7772         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7773         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7774         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7775         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7776         * sysdeps/mach/hurd/sync.c (sync): Likewise.
7777         * sysdeps/posix/clock.c (clock): Likewise.
7778         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7779         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7780         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7781         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7782         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7783         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7784         (__get_nprocs_conf): Likewise.
7785         (__get_phys_pages): Likewise.
7786         (__get_avphys_pages): Likewise.
7787         * time/clock.c (clock): Likewise.
7788         * time/tzset.c (__tzname_max): Likewise.
7790 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
7792         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7793         (__bswap_32): Do not use "register".
7794         * crypt/crypt.c (_ufc_doit_r): Likewise.
7795         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7796         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7797         * gmon/gmon.c (__monstartup): Likewise.
7798         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7799         * hurd/hurdmalloc.c (more_memory): Likewise.
7800         (malloc): Likewise.
7801         (free): Likewise.
7802         (realloc): Likewise.
7803         (malloc_fork_prepare): Likewise.
7804         (malloc_fork_parent): Likewise.
7805         (malloc_fork_child): Likewise.
7806         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7807         (_svcauth_des): Likewise.
7808         * inet/inet_lnaof.c (inet_lnaof): Likewise.
7809         * inet/inet_net.c (inet_network): Likewise.
7810         * inet/inet_netof.c (inet_netof): Likewise.
7811         * inet/rcmd.c (__validuser2_sa): Likewise.
7812         * io/fts.c (fts_open): Likewise.
7813         (fts_load): Likewise.
7814         (fts_close): Likewise.
7815         (fts_read): Likewise.
7816         (fts_children): Likewise.
7817         (fts_build): Likewise.
7818         (fts_stat): Likewise.
7819         (fts_sort): Likewise.
7820         (fts_alloc): Likewise.
7821         (fts_lfree): Likewise.
7822         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7823         (_IO_file_xsgetn): Likewise.
7824         (_IO_file_xsgetn_mmap): Likewise.
7825         * libio/iofopncook.c (_IO_cookie_read): Likewise.
7826         (_IO_cookie_write): Likewise.
7827         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7828         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7829         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7830         * malloc/obstack.c (_obstack_begin): Likewise.
7831         (_obstack_begin_1): Likewise.
7832         (_obstack_newchunk): Likewise.
7833         (_obstack_allocated_p): Likewise.
7834         (obstack_free): Likewise.
7835         (_obstack_memory_used): Likewise.
7836         * misc/getttyent.c (getttynam): Likewise.
7837         (getttyent): Likewise.
7838         (skip): Likewise.
7839         (value): Likewise.
7840         * misc/getusershell.c (initshells): Likewise.
7841         * misc/syslog.c (__vsyslog_chk): Likewise.
7842         * misc/ttyslot.c (ttyslot): Likewise.
7843         * nis/nis_hash.c (__nis_hash): Likewise.
7844         * posix/fnmatch_loop.c (FCT): Likewise.
7845         * posix/getconf.c (print_all): Likewise.
7846         (main): Likewise.
7847         * posix/getopt.c (exchange): Likewise.
7848         * posix/glob.c (globfree): Likewise.
7849         (prefix_array): Likewise.
7850         (__glob_pattern_type): Likewise.
7851         * resolv/arpa/nameser.h (NS_GET16): Likewise.
7852         (NS_GET32): Likewise.
7853         (NS_PUT16): Likewise.
7854         (NS_PUT32): Likewise.
7855         * resolv/gethnamaddr.c (getanswer): Likewise.
7856         (gethostbyname2): Likewise.
7857         (gethostbyaddr): Likewise.
7858         (_gethtent): Likewise.
7859         (_gethtbyname2): Likewise.
7860         (_gethtbyaddr): Likewise.
7861         * resolv/ns_print.c (dst_s_get_int16): Likewise.
7862         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7863         * resolv/res_init.c (__res_vinit): Likewise.
7864         (net_mask): Likewise.
7865         * resolv/res_mkquery.c (outchar): Likewise.
7866         (PRINT): Likewise.
7867         * stdio-common/printf_fp.c (outchar): Likewise.
7868         (PRINT): Likewise.
7869         * stdio-common/printf_fphex.c (outchar): Likewise.
7870         (PRINT): Likewise.
7871         * stdio-common/printf_size.c (outchar): Likewise.
7872         (PRINT): Likewise.
7873         * stdio-common/test_rdwr.c (main): Likewise.
7874         * stdio-common/tfformat.c (matches): Likewise.
7875         * stdio-common/vfprintf.c (outchar): Likewise.
7876         (printf_unknown): Likewise.
7877         (buffered_vfprintf): Likewise.
7878         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7879         * stdio-common/xbug.c (AppendToBuffer): Likewise.
7880         (ReadFile): Likewise.
7881         * stdlib/qsort.c (SWAP): Likewise.
7882         (_quicksort): Likewise.
7883         * stdlib/setenv.c (__add_to_environ): Likewise.
7884         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7885         * stdlib/strtol_l.c (__strtol_l): Likewise.
7886         * stdlib/tst-strtod.c (main): Likewise.
7887         * stdlib/tst-strtol.c (main): Likewise.
7888         * stdlib/tst-strtoll.c (main): Likewise.
7889         * string/bits/string2.h (__strcmp_cc): Likewise.
7890         (__strcmp_cg): Likewise.
7891         (__strcspn_c1): Likewise.
7892         (__strcspn_c2): Likewise.
7893         (__strcspn_c3): Likewise.
7894         (__strspn_c1): Likewise.
7895         (__strspn_c2): Likewise.
7896         (__strspn_c3): Likewise.
7897         (__strsep_1c): Likewise.
7898         (__strsep_2c): Likewise.
7899         (__strsep_3c): Likewise.
7900         * string/memccpy.c (__memccpy): Likewise.
7901         * string/stpcpy.c (__stpcpy): Likewise.
7902         * string/strcmp.c (strcmp): Likewise.
7903         * string/strrchr.c (strrchr): Likewise.
7904         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7905         Likewise.
7906         * sysdeps/mach/hurd/getcwd.c
7907         (_hurd_canonicalize_directory_name_internal): Likewise.
7908         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7909         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7910         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7911         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7912         Likewise, in both definitions.
7913         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7914         definitions.
7915         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7916         64] (__bswap_64): Likewise.
7917         * time/test_time.c (main): Likewise.
7918         * time/tzfile.c (__tzfile_read): Likewise.
7919         (__tzfile_compute): Likewise.
7920         * time/tzset.c (__tzset_parse_tz): Likewise.
7921         (tzset_internal): Likewise.
7922         (compute_change): Likewise.
7923         * wcsmbs/wcscat.c (__wcscat): Likewise.
7924         * wcsmbs/wcschr.c (wcschr): Likewise.
7925         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7926         * wcsmbs/wcscspn.c (wcscspn): Likewise.
7927         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7928         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7929         * wcsmbs/wcsspn.c (wcsspn): Likewise.
7930         * wcsmbs/wcsstr.c (wcsstr): Likewise.
7931         * wcsmbs/wmemchr.c (wmemchr): Likewise.
7932         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7933         * wcsmbs/wmemset.c (wmemset): Likewise.
7935 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
7937         * scripts/config.guess: Update to version 2013-05-16.
7938         * scripts/config.sub: Update to version 2013-04-24.
7939         * scripts/install-sh: Update to version 2011-11-20.07.
7940         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7941         * scripts/move-if-change: Update to version 2012-01-06 07:23.
7943 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
7945         * debug/fgetws_u_chk.c: Fix leading whitespaces.
7946         * elf/sln.c: Likewise.
7947         * hurd/hurd/ioctl.h: Likewise.
7948         * hurd/hurdmalloc.c: Likewise.
7949         * hurd/xattr.c: Likewise.
7950         * include/shlib-compat.h: Likewise.
7951         * inet/ruserpass.c: Likewise.
7952         * libio/iofgets_u.c: Likewise.
7953         * libio/iofgetws_u.c: Likewise.
7954         * locale/programs/ld-identification.c: Likewise.
7955         * locale/programs/ld-time.c: Likewise.
7956         * mach/msg-destroy.c: Likewise.
7957         * nss/nss_files/files-netgrp.c: Likewise.
7958         * resolv/res_data.c: Likewise.
7959         * soft-fp/op-1.h: Likewise.
7960         * soft-fp/op-2.h: Likewise.
7961         * soft-fp/op-4.h: Likewise.
7962         * soft-fp/op-common.h: Likewise.
7963         * stdio-common/printf_fphex.c: Likewise.
7964         * stdlib/strtod_l.c: Likewise.
7965         * sunrpc/rpc/clnt.h: Likewise.
7966         * sysdeps/generic/framestate.c: Likewise.
7967         * sysdeps/i386/bsd-_setjmp.S: Likewise.
7968         * sysdeps/i386/bsd-setjmp.S: Likewise.
7969         * sysdeps/i386/__longjmp.S: Likewise.
7970         * sysdeps/i386/setjmp.S: Likewise.
7971         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7972         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7973         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7974         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7975         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7976         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7977         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7978         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7979         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7980         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7981         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7982         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7983         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7984         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7985         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7986         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7987         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7988         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7989         * sysdeps/ieee754/support.c: Likewise.
7990         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7991         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7992         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7993         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7994         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7995         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7996         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7997         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7998         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7999         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
8000         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
8001         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
8002         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
8003         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
8004         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
8005         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
8006         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8009 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
8011         * posix/transbug.c: Remove executable mode.
8013 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
8015         * crypt/speeds.c: Remove trailing whitespace.
8016         * dlfcn/default.c: Likewise.
8017         * elf/ifuncdep2.c: Likewise.
8018         * elf/ifuncmain1.c: Likewise.
8019         * elf/ifuncmain1vis.c: Likewise.
8020         * elf/testobj.h: Likewise.
8021         * elf/tst-stackguard1.c: Likewise.
8022         * gmon/sys/gmon.h: Likewise.
8023         * hurd/hurdmsg.c: Likewise.
8024         * hurd/new-fd.c: Likewise.
8025         * hurd/ports-get.c: Likewise.
8026         * iconvdata/ibm1008_420.c: Likewise.
8027         * inet/tst-getni1.c: Likewise.
8028         * inet/tst-getni2.c: Likewise.
8029         * libio/ioungetc.c: Likewise.
8030         * libio/wfiledoalloc.c: Likewise.
8031         * manual/libm-err-tab.pl: Likewise.
8032         * math/w_dremf.c: Likewise.
8033         * misc/ftruncate.c: Likewise.
8034         * posix/bug-glob2.c: Likewise.
8035         * posix/tst-pcre.c: Likewise.
8036         * posix/wait4.c: Likewise.
8037         * resolv/README: Likewise.
8038         * resolv/res_debug.h: Likewise.
8039         * resolv/tst-inet_ntop.c: Likewise.
8040         * setjmp/bug269-setjmp.c: Likewise.
8041         * soft-fp/extended.h: Likewise.
8042         * soft-fp/op-1.h: Likewise.
8043         * soft-fp/op-2.h: Likewise.
8044         * soft-fp/op-4.h: Likewise.
8045         * soft-fp/op-8.h: Likewise.
8046         * soft-fp/testit.c: Likewise.
8047         * stdio-common/bug16.c: Likewise.
8048         * stdlib/random.c: Likewise.
8049         * sunrpc/rpcsvc/rquota.x: Likewise.
8050         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
8051         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8052         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8053         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8054         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8055         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8056         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8057         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8058         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8059         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8060         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8061         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8062         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8063         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8064         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8065         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8066         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8067         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8068         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8069         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8070         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8071         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8072         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
8073         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8074         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8075         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8076         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8077         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8078         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8079         * sysdeps/ieee754/s_lib_version.c: Likewise.
8080         * sysdeps/mach/hurd/check_fds.c: Likewise.
8081         * sysdeps/mach/hurd/getsockname.c: Likewise.
8082         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
8083         * sysdeps/mach/hurd/recvfrom.c: Likewise.
8084         * sysdeps/powerpc/bits/link.h: Likewise.
8085         * sysdeps/powerpc/dl-procinfo.c: Likewise.
8086         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
8087         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
8088         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
8089         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8090         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8091         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
8092         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8093         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
8094         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8095         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
8096         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
8097         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
8098         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8099         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8100         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8101         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
8102         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
8103         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8104         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8105         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8106         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
8107         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8108         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8109         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
8110         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
8111         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
8112         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8113         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8114         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
8115         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
8116         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
8117         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8118         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8119         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
8120         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8121         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
8122         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
8123         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
8124         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
8125         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
8126         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
8127         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
8128         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
8129         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
8130         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
8131         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
8132         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
8133         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
8134         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
8135         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8136         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8137         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8138         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8139         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
8140         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
8141         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
8142         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8143         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
8144         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
8145         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
8146         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
8147         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
8148         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8149         * sysdeps/powerpc/sysdep.h: Likewise.
8150         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8151         * sysdeps/s390/s390-64/sub_n.S: Likewise.
8152         * sysdeps/sh/dl-trampoline.S: Likewise.
8153         * sysdeps/sh/memset.S: Likewise.
8154         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
8155         * sysdeps/sh/strlen.S: Likewise.
8156         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
8157         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
8158         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
8159         * sysdeps/sparc/sparc32/rem.S: Likewise.
8160         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
8161         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
8162         * sysdeps/sparc/sparc32/strchr.S: Likewise.
8163         * sysdeps/sparc/sparc32/udiv.S: Likewise.
8164         * sysdeps/sparc/sparc32/urem.S: Likewise.
8165         * sysdeps/sparc/sparc64/add_n.S: Likewise.
8166         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8167         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
8168         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
8169         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
8170         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
8171         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
8172         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
8173         * sysdeps/unix/bsd/times.c: Likewise.
8174         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
8175         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
8176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8179         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
8180         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8181         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
8182         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
8183         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
8184         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
8185         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8186         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
8187         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8188         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8189         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
8190         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8191         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
8192         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
8193         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
8194         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
8195         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
8196         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8197         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
8198         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
8199         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8200         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
8201         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8202         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
8203         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
8204         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
8205         * sysdeps/x86_64/strcspn.S: Likewise.
8207 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8209         * locale/C-translit.h: Revert #include <stdint.h> because this is a
8210         generated file.  Regenerate properly from gen-translit.pl.
8211         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
8212         locale/C-translit.h.
8214 2013-06-05  Andreas Schwab  <schwab@suse.de>
8216         [BZ #15100]
8217         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
8218         week as 6 instead of -1.
8219         * time/tst-strptime.c (day_tests): Add test case.
8221 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8223         * sysdeps/generic/math_private.h
8224         (libc_feholdexcept_setround_53bit): Replace with
8225         libc_feholdsetround_53bit.
8226         (libc_feupdateenv_53bit): Replace with
8227         libc_feresetround_53bit.
8228         (SET_RESTORE_ROUND_53BIT): Adjust.
8230 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
8232         * string/test-strchrnul.c: Add copyright header.
8234         * posix/tst-getaddrinfo4.c: Increase test timeout.
8236 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
8238         [BZ #15536]
8239         * math/libm-test.inc (MAX_EXP): Remove
8240         (MIN_EXP): Define.
8241         (ulp): Use MIN_EXP - MANT_DIG.
8242         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
8244 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
8246         * po/be.po: Revert last change.
8247         * po/zh_CN.po: Likewise.
8248         * po/header.pot: Likewise.
8250 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
8252         * Makefile ($(common-objpfx)linkobj/libc.so): Define
8253         link-libc-deps to empty as target-specific variable.
8254         * Makerules (link-libc-args): New variable.
8255         (libc-for-link): Likewise.
8256         (link-libc-deps): Likewise.
8257         (lib%.so): Depend on $(link-libc-deps).  Link with
8258         $(link-libc-args).
8259         (build-module): Link with $(link-libc-args).
8260         (build-module-asneeded): Likewise.
8261         (build-module-helper-objlist): Filter out $(link-libc-deps) from
8262         list of objects.
8263         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
8264         target-specific variable.
8265         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
8266         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
8267         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
8268         libc.
8269         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
8270         libc and ld.so.
8271         ($(objpfx)libpcprofile.so): Likewise.
8272         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
8273         libc_nonshared.a.
8274         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
8275         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
8276         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
8277         $(link-libc-deps).
8278         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
8279         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
8280         * login/Makefile ($(objpfx)libutil.so): Likewise.
8281         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
8282         * math/Makefile ($(objpfx)libm.so): Likewise.
8283         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
8284         $(objpfx)libnsl.so): Define libc-for-link as target-specific
8285         variable instead of depending directly on libc.
8286         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
8287         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
8288         $(link-libc-deps).
8289         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
8290         libc.
8291         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
8292         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
8293         ($(objpfx)libanl.so): Likewise.
8294         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
8295         ld.so.
8296         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
8297         $(link-libc-deps).
8298         * sysdeps/i386/fpu/Makefile: Remove file.
8299         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
8300         ($(objpfx)libm.so): Remove dependency on ld.so.
8302 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
8304         [BZ # 15553]
8305         * nis/yp_xdr.c (XDRMAXNAME): Define.
8306         (XDRMAXRECORD): Define.
8307         (xdr_domainname): Use XDRMAXNAME.
8308         (xdr_mapname): Likewise.
8309         (xdr_peername): Likewise.
8310         (xdr_keydat): Use XDRMAXRECORD.
8311         (xdr_valdat): Likewise.
8313 2013-05-30  Jeff Law  <law@redhat.com>
8315         [BZ #14256]
8316         * manual/errno.texi (ESTALE): Update to account for more than
8317         just NFS file systems.
8318         * sysdeps/gnu/errlist.c: Regenerated.
8320 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8322         [BZ #15465]
8323         * elf/Makefile (tests): Add tst-null-argv.
8324         (modules-names):  Add tst-null-argv-lib.
8325         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
8326         (tst-null-argv-ENV): Set environment for tst-null-argv.
8327         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
8328         (RTLD_PROGNAME): New macro.
8329         * elf/tst-null-argv.c: New test case.
8330         * elf/tst-null-argv-lib.c: Library for test case.
8331         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
8332         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8333         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
8334         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
8335         * elf/dl-init.c (call_init): Likewise.
8336         (_dl_init): Likewise.
8337         * elf/dl-load.c (print_search_path): Likewise.
8338         (_dl_map_object): Likewise.
8339         * elf/dl-lookup.c (do_lookup_x): Likewise.
8340         (add_dependency): Likewise.
8341         (_dl_lookup_symbol_x): Likewise.
8342         (_dl_debug_bindings): Likewise.
8343         * elf/dl-open.c (_dl_show_scope): Likewise.
8344         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8345         * elf/dl-version.c (match_symbol): Likewise.
8346         (_dl_check_map_versions): Likewise.
8347         * elf/rtld.c (dl_main): Likewise.
8348         (print_unresolved): Use RTLD_PROGNAME.
8349         (print_missing_version): Likewise.
8350         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
8351         (elf_machine_rela): Likewise.
8352         * sysdeps/powerpc/powerpc32/dl-machine.c
8353         (__process_machine_rela): Likewise.
8354         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8355         Likewise.
8356         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8357         Likewise.
8358         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8359         Likewise.
8360         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8361         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
8362         Likewise.
8363         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
8364         Likewise.
8365         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8367 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
8369         * po/be.po: Add descriptive title.
8370         * po/zh_CN.po: Likewise.
8371         * po/header.pot: Likewise.
8373 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
8375         * locale/programs/locarchive.c (create_archive): Inlucde fname in
8376         error message.
8377         (enlarge_archive): Likewise.
8379 2013-05-28  Ben North  <ben@redfrontdoor.org>
8381         * manual/arith.texi (frexp): It is the magnitude of the return
8382         value which lies in [0.5, 1), not the return value itself.
8384 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8386         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8388 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
8390         * stdio-common/bug26.c (main): Correct fscanf template.
8392         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
8393         declare _dl_skip_args.
8395         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
8396         Don't declare.
8398         * manual/platform.texi: Add missing @end deftypefun.
8400 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
8402         [BZ #15529]
8403         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
8404         bit of mantissa of 2^16382.
8405         * math/libm-test.inc (hypot_test_data): Add more tests.
8407         * math/libm-test.inc: Add drem and pow10 to list of tested
8408         functions.
8409         (pow10_test): New function.
8410         (drem_test): Likewise.
8411         (drem_test_tonearest): Likewise.
8412         (drem_test_towardzero): Likewise.
8413         (drem_test_downward): Likewise.
8414         (drem_test_upward): Likewise.
8415         (main): Call the new functions.
8417         * math/libm-test.inc (finite_test_data): Remove.
8418         (finite_test): Run tests from isfinite_test_data.
8419         (gamma_test_data): Remove.
8420         (gamma_test): Run tests from lgamma_test_data.
8421         * sysdeps/i386/fpu/libm-test-ulps: Update.
8422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8424 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8426         * manual/platform.texi: Add PowerPC PPR function set documentation.
8427         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
8428         implementation.
8430 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
8432         * math/libm-test.inc (MAX_EXP): Define.
8433         (ULPDIFF): Define.
8434         (ulp): New function.
8435         (check_float_internal): Use ULPDIFF.
8436         (cpow_test): Disable failing test.
8437         (check_ulp): Test ulp() implemetnation.
8438         (main): Call check_ulp before starting tests.
8440 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
8442         * math/gen-libm-test.pl (generate_testfile): Do not handle
8443         START_DATA and END_DATA.
8444         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
8445         END_DATA.
8446         (acos_tonearest_test_data): Likewise.
8447         (acos_towardzero_test_data): Likewise.
8448         (acos_downward_test_data): Likewise.
8449         (acos_upward_test_data): Likewise.
8450         (acosh_test_data): Likewise.
8451         (asin_test_data): Likewise.
8452         (asin_tonearest_test_data): Likewise.
8453         (asin_towardzero_test_data): Likewise.
8454         (asin_downward_test_data): Likewise.
8455         (asin_upward_test_data): Likewise.
8456         (asinh_test_data): Likewise.
8457         (atan_test_data): Likewise.
8458         (atanh_test_data): Likewise.
8459         (atan2_test_data): Likewise.
8460         (cabs_test_data): Likewise.
8461         (cacos_test_data): Likewise.
8462         (cacosh_test_data): Likewise.
8463         (carg_test_data): Likewise.
8464         (casin_test_data): Likewise.
8465         (casinh_test_data): Likewise.
8466         (catan_test_data): Likewise.
8467         (catanh_test_data): Likewise.
8468         (cbrt_test_data): Likewise.
8469         (ccos_test_data): Likewise.
8470         (ccosh_test_data): Likewise.
8471         (ceil_test_data): Likewise.
8472         (cexp_test_data): Likewise.
8473         (cimag_test_data): Likewise.
8474         (clog_test_data): Likewise.
8475         (clog10_test_data): Likewise.
8476         (conj_test_data): Likewise.
8477         (copysign_test_data): Likewise.
8478         (cos_test_data): Likewise.
8479         (cos_tonearest_test_data): Likewise.
8480         (cos_towardzero_test_data): Likewise.
8481         (cos_downward_test_data): Likewise.
8482         (cos_upward_test_data): Likewise.
8483         (cosh_test_data): Likewise.
8484         (cosh_tonearest_test_data): Likewise.
8485         (cosh_towardzero_test_data): Likewise.
8486         (cosh_downward_test_data): Likewise.
8487         (cosh_upward_test_data): Likewise.
8488         (cpow_test_data): Likewise.
8489         (cproj_test_data): Likewise.
8490         (creal_test_data): Likewise.
8491         (csin_test_data): Likewise.
8492         (csinh_test_data): Likewise.
8493         (csqrt_test_data): Likewise.
8494         (ctan_test_data): Likewise.
8495         (ctan_tonearest_test_data): Likewise.
8496         (ctan_towardzero_test_data): Likewise.
8497         (ctan_downward_test_data): Likewise.
8498         (ctan_upward_test_data): Likewise.
8499         (ctanh_test_data): Likewise.
8500         (ctanh_tonearest_test_data): Likewise.
8501         (ctanh_towardzero_test_data): Likewise.
8502         (ctanh_downward_test_data): Likewise.
8503         (ctanh_upward_test_data): Likewise.
8504         (erf_test_data): Likewise.
8505         (erfc_test_data): Likewise.
8506         (exp_test_data): Likewise.
8507         (exp_tonearest_test_data): Likewise.
8508         (exp_towardzero_test_data): Likewise.
8509         (exp_downward_test_data): Likewise.
8510         (exp_upward_test_data): Likewise.
8511         (exp10_test_data): Likewise.
8512         (exp2_test_data): Likewise.
8513         (expm1_test_data): Likewise.
8514         (fabs_test_data): Likewise.
8515         (fdim_test_data): Likewise.
8516         (finite_test_data): Likewise.
8517         (floor_test_data): Likewise.
8518         (fma_test_data): Likewise.
8519         (fma_towardzero_test_data): Likewise.
8520         (fma_downward_test_data): Likewise.
8521         (fma_upward_test_data): Likewise.
8522         (fmax_test_data): Likewise.
8523         (fmin_test_data): Likewise.
8524         (fmod_test_data): Likewise.
8525         (fpclassify_test_data): Likewise.
8526         (frexp_test_data): Likewise.
8527         (gamma_test_data): Likewise.
8528         (hypot_test_data): Likewise.
8529         (ilogb_test_data): Likewise.
8530         (isfinite_test_data): Likewise.
8531         (isgreater_test_data): Likewise.
8532         (isgreaterequal_test_data): Likewise.
8533         (isinf_test_data): Likewise.
8534         (isless_test_data): Likewise.
8535         (islessequal_test_data): Likewise.
8536         (islessgreater_test_data): Likewise.
8537         (isnan_test_data): Likewise.
8538         (isnormal_test_data): Likewise.
8539         (issignaling_test_data): Likewise.
8540         (isunordered_test_data): Likewise.
8541         (j0_test_data): Likewise.
8542         (j1_test_data): Likewise.
8543         (jn_test_data): Likewise.
8544         (ldexp_test_data): Likewise.
8545         (lgamma_test_data): Likewise.
8546         (lrint_test_data): Likewise.
8547         (lrint_tonearest_test_data): Likewise.
8548         (lrint_towardzero_test_data): Likewise.
8549         (lrint_downward_test_data): Likewise.
8550         (lrint_upward_test_data): Likewise.
8551         (llrint_test_data): Likewise.
8552         (llrint_tonearest_test_data): Likewise.
8553         (llrint_towardzero_test_data): Likewise.
8554         (llrint_downward_test_data): Likewise.
8555         (llrint_upward_test_data): Likewise.
8556         (log_test_data): Likewise.
8557         (log10_test_data): Likewise.
8558         (log1p_test_data): Likewise.
8559         (log2_test_data): Likewise.
8560         (logb_test_data): Likewise.
8561         (logb_downward_test_data): Likewise.
8562         (lround_test_data): Likewise.
8563         (llround_test_data): Likewise.
8564         (modf_test_data): Likewise.
8565         (nearbyint_test_data): Likewise.
8566         (nextafter_test_data): Likewise.
8567         (nexttoward_test_data): Likewise.
8568         (pow_test_data): Likewise.
8569         (pow_tonearest_test_data): Likewise.
8570         (pow_towardzero_test_data): Likewise.
8571         (pow_downward_test_data): Likewise.
8572         (pow_upward_test_data): Likewise.
8573         (remainder_test_data): Likewise.
8574         (remainder_tonearest_test_data): Likewise.
8575         (remainder_towardzero_test_data): Likewise.
8576         (remainder_downward_test_data): Likewise.
8577         (remainder_upward_test_data): Likewise.
8578         (remquo_test_data): Likewise.
8579         (rint_test_data): Likewise.
8580         (rint_tonearest_test_data): Likewise.
8581         (rint_towardzero_test_data): Likewise.
8582         (rint_downward_test_data): Likewise.
8583         (rint_upward_test_data): Likewise.
8584         (round_test_data): Likewise.
8585         (scalb_test_data): Likewise.
8586         (scalbn_test_data): Likewise.
8587         (scalbln_test_data): Likewise.
8588         (signbit_test_data): Likewise.
8589         (sin_test_data): Likewise.
8590         (sin_tonearest_test_data): Likewise.
8591         (sin_towardzero_test_data): Likewise.
8592         (sin_downward_test_data): Likewise.
8593         (sin_upward_test_data): Likewise.
8594         (sincos_test_data): Likewise.
8595         (sinh_test_data): Likewise.
8596         (sinh_tonearest_test_data): Likewise.
8597         (sinh_towardzero_test_data): Likewise.
8598         (sinh_downward_test_data): Likewise.
8599         (sinh_upward_test_data): Likewise.
8600         (sqrt_test_data): Likewise.
8601         (tan_test_data): Likewise.
8602         (tan_tonearest_test_data): Likewise.
8603         (tan_towardzero_test_data): Likewise.
8604         (tan_downward_test_data): Likewise.
8605         (tan_upward_test_data): Likewise.
8606         (tanh_test_data): Likewise.
8607         (tgamma_test_data): Likewise.
8608         (trunc_test_data): Likewise.
8609         (y0_test_data): Likewise.
8610         (y1_test_data): Likewise.
8611         (yn_test_data): Likewise.
8612         (significand_test_data): Likewise.
8614         * math/gen-libm-test.pl (@functions): Remove variable.
8615         (generate_testfile): Don't handle START and END lines.
8616         * math/libm-test.inc (START): New macro.
8617         (END): Likewise.
8618         (END_COMPLEX): Likewise.
8619         (acos_test): Use END macro without arguments.
8620         (acos_test_tonearest): Likewise.
8621         (acos_test_towardzero): Likewise.
8622         (acos_test_downward): Likewise.
8623         (acos_test_upward): Likewise.
8624         (acosh_test): Likewise.
8625         (asin_test): Likewise.
8626         (asin_test_tonearest): Likewise.
8627         (asin_test_towardzero): Likewise.
8628         (asin_test_downward): Likewise.
8629         (asin_test_upward): Likewise.
8630         (asinh_test): Likewise.
8631         (atan_test): Likewise.
8632         (atanh_test): Likewise.
8633         (atan2_test): Likewise.
8634         (cabs_test): Likewise.
8635         (cacos_test): Use END_COMPLEX macro without arguments.
8636         (cacosh_test): Likewise.
8637         (carg_test): Use END macro without arguments.
8638         (casin_test): Use END_COMPLEX macro without arguments.
8639         (casinh_test): Likewise.
8640         (catan_test): Likewise.
8641         (catanh_test): Likewise.
8642         (cbrt_test): Use END macro without arguments.
8643         (ccos_test): Use END_COMPLEX macro without arguments.
8644         (ccosh_test): Likewise.
8645         (ceil_test): Use END macro without arguments.
8646         (cexp_test): Use END_COMPLEX macro without arguments.
8647         (cimag_test): Use END macro without arguments.
8648         (clog_test): Use END_COMPLEX macro without arguments.
8649         (clog10_test): Likewise.
8650         (conj_test): Likewise.
8651         (copysign_test): Use END macro without arguments.
8652         (cos_test): Likewise.
8653         (cos_test_tonearest): Likewise.
8654         (cos_test_towardzero): Likewise.
8655         (cos_test_downward): Likewise.
8656         (cos_test_upward): Likewise.
8657         (cosh_test): Likewise.
8658         (cosh_test_tonearest): Likewise.
8659         (cosh_test_towardzero): Likewise.
8660         (cosh_test_downward): Likewise.
8661         (cosh_test_upward): Likewise.
8662         (cpow_test): Use END_COMPLEX macro without arguments.
8663         (cproj_test): Likewise.
8664         (creal_test): Use END macro without arguments.
8665         (csin_test): Use END_COMPLEX macro without arguments.
8666         (csinh_test): Likewise.
8667         (csqrt_test): Likewise.
8668         (ctan_test): Likewise.
8669         (ctan_test_tonearest): Likewise.
8670         (ctan_test_towardzero): Likewise.
8671         (ctan_test_downward): Likewise.
8672         (ctan_test_upward): Likewise.
8673         (ctanh_test): Likewise.
8674         (ctanh_test_tonearest): Likewise.
8675         (ctanh_test_towardzero): Likewise.
8676         (ctanh_test_downward): Likewise.
8677         (ctanh_test_upward): Likewise.
8678         (erf_test): Use END macro without arguments.
8679         (erfc_test): Likewise.
8680         (exp_test): Likewise.
8681         (exp_test_tonearest): Likewise.
8682         (exp_test_towardzero): Likewise.
8683         (exp_test_downward): Likewise.
8684         (exp_test_upward): Likewise.
8685         (exp10_test): Likewise.
8686         (exp2_test): Likewise.
8687         (expm1_test): Likewise.
8688         (fabs_test): Likewise.
8689         (fdim_test): Likewise.
8690         (finite_test): Likewise.
8691         (floor_test): Likewise.
8692         (fma_test): Likewise.
8693         (fma_test_towardzero): Likewise.
8694         (fma_test_downward): Likewise.
8695         (fma_test_upward): Likewise.
8696         (fmax_test): Likewise.
8697         (fmin_test): Likewise.
8698         (fmod_test): Likewise.
8699         (fpclassify_test): Likewise.
8700         (frexp_test): Likewise.
8701         (gamma_test): Likewise.
8702         (hypot_test): Likewise.
8703         (ilogb_test): Likewise.
8704         (isfinite_test): Likewise.
8705         (isgreater_test): Likewise.
8706         (isgreaterequal_test): Likewise.
8707         (isinf_test): Likewise.
8708         (isless_test): Likewise.
8709         (islessequal_test): Likewise.
8710         (islessgreater_test): Likewise.
8711         (isnan_test): Likewise.
8712         (isnormal_test): Likewise.
8713         (issignaling_test): Likewise.
8714         (isunordered_test): Likewise.
8715         (j0_test): Likewise.
8716         (j1_test): Likewise.
8717         (jn_test): Likewise.
8718         (ldexp_test): Likewise.
8719         (lgamma_test): Likewise.
8720         (lrint_test): Likewise.
8721         (lrint_test_tonearest): Likewise.
8722         (lrint_test_towardzero): Likewise.
8723         (lrint_test_downward): Likewise.
8724         (lrint_test_upward): Likewise.
8725         (llrint_test): Likewise.
8726         (llrint_test_tonearest): Likewise.
8727         (llrint_test_towardzero): Likewise.
8728         (llrint_test_downward): Likewise.
8729         (llrint_test_upward): Likewise.
8730         (log_test): Likewise.
8731         (log10_test): Likewise.
8732         (log1p_test): Likewise.
8733         (log2_test): Likewise.
8734         (logb_test): Likewise.
8735         (logb_test_downward): Likewise.
8736         (lround_test): Likewise.
8737         (llround_test): Likewise.
8738         (modf_test): Likewise.
8739         (nearbyint_test): Likewise.
8740         (nextafter_test): Likewise.
8741         (nexttoward_test): Likewise.
8742         (pow_test): Likewise.
8743         (pow_test_tonearest): Likewise.
8744         (pow_test_towardzero): Likewise.
8745         (pow_test_downward): Likewise.
8746         (pow_test_upward): Likewise.
8747         (remainder_test): Likewise.
8748         (remainder_test_tonearest): Likewise.
8749         (remainder_test_towardzero): Likewise.
8750         (remainder_test_downward): Likewise.
8751         (remainder_test_upward): Likewise.
8752         (remquo_test): Likewise.
8753         (rint_test): Likewise.
8754         (rint_test_tonearest): Likewise.
8755         (rint_test_towardzero): Likewise.
8756         (rint_test_downward): Likewise.
8757         (rint_test_upward): Likewise.
8758         (round_test): Likewise.
8759         (scalb_test): Likewise.
8760         (scalbn_test): Likewise.
8761         (scalbln_test): Likewise.
8762         (signbit_test): Likewise.
8763         (sin_test): Likewise.
8764         (sin_test_tonearest): Likewise.
8765         (sin_test_towardzero): Likewise.
8766         (sin_test_downward): Likewise.
8767         (sin_test_upward): Likewise.
8768         (sincos_test): Likewise.
8769         (sinh_test): Likewise.
8770         (sinh_test_tonearest): Likewise.
8771         (sinh_test_towardzero): Likewise.
8772         (sinh_test_downward): Likewise.
8773         (sinh_test_upward): Likewise.
8774         (sqrt_test): Likewise.
8775         (tan_test): Likewise.
8776         (tan_test_tonearest): Likewise.
8777         (tan_test_towardzero): Likewise.
8778         (tan_test_downward): Likewise.
8779         (tan_test_upward): Likewise.
8780         (tanh_test): Likewise.
8781         (tgamma_test): Likewise.
8782         (trunc_test): Likewise.
8783         (y0_test): Likewise.
8784         (y1_test): Likewise.
8785         (yn_test): Likewise.
8786         (significand_test): Likewise.
8788 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
8790         [BZ #15381]
8791         * libio/genops.c (_IO_no_init): Initialize wide struct info.
8793 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
8795         [BZ #14894]
8796         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8797         __ppc_mdoio and __ppc_mdoom.
8798         * manual/platform.texi: Document new functions __ppc_yield,
8799         __ppc_mdoio and __ppc_mdoom.
8801 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
8803         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8804         (main): Mention "tls" pseudo-hwcap is legacy.
8805         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8807 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
8809         * math/gen-libm-test.pl (parse_args): Output only string of
8810         arguments as text for test name, not full call or descriptions of
8811         tests for extra outputs.
8812         (generate_testfile): Do not pass function name to parse_args.
8813         Generate this_func variable from START.
8814         * math/libm-test.inc (struct test_f_f_data): Rename test_name
8815         field to arg_str.
8816         (struct test_ff_f_data): Likewise.
8817         (test_ff_f_data_nexttoward): Likewise.
8818         (struct test_fi_f_data): Likewise.
8819         (struct test_fl_f_data): Likewise.
8820         (struct test_if_f_data): Likewise.
8821         (struct test_fff_f_data): Likewise.
8822         (struct test_c_f_data): Likewise.
8823         (struct test_f_f1_data): Likewise.  Remove field extra_name.
8824         (struct test_fF_f1_data): Likewise.
8825         (struct test_ffI_f1_data): Likewise.
8826         (struct test_c_c_data): Rename test_name field to arg_str.
8827         (struct test_cc_c_data): Likewise.
8828         (struct test_f_i_data): Likewise.
8829         (struct test_ff_i_data): Likewise.
8830         (struct test_f_l_data): Likewise.
8831         (struct test_f_L_data): Likewise.
8832         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
8833         and extra2_name.
8834         (COMMON_TEST_SETUP): New macro.
8835         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8836         (COMMON_TEST_CLEANUP): Likewise.
8837         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8838         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
8839         macros.
8840         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8841         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
8842         macros.
8843         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8844         (RUN_TEST_fff_f): Take argument string.  Call new setup and
8845         cleanup macros.
8846         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8847         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
8848         macros.
8849         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8850         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
8851         macros.
8852         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8853         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
8854         cleanup macros.
8855         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8856         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
8857         cleanup macros.
8858         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8859         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
8860         cleanup macros.
8861         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8862         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
8863         macros.
8864         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8865         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
8866         macros.
8867         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8868         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
8869         macros.
8870         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8871         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
8872         cleanup macros.
8873         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8874         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
8875         cleanup macros.
8876         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8877         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
8878         macros.
8879         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8880         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
8881         cleanup macros.
8882         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8883         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
8884         macros.
8885         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8886         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
8887         macros.
8888         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8889         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
8890         cleanup macros.
8891         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8893 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
8895         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8896         to _sifields.sigfault.
8897         (si_addr_lsb): Define new macro.
8898         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8899         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8900         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8902 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
8904         [BZ #15441]
8905         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8906         returns -1.
8907         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8908         null return -1.
8909         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8910         loading the domain.
8912 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
8914         * math/gen-libm-test.pl (parse_args): Do not include expected
8915         result in test name.
8916         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8917         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8918         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8919         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8920         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8923 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
8925         * benchtests/Makefile: Sort function entries.
8927         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8928         tanh, asinh, acosh, atanh.
8929         * benchtests/acos-inputs: New file.
8930         * benchtests/acosh-inputs: New file.
8931         * benchtests/asin-inputs: New file.
8932         * benchtests/asinh-inputs: New file.
8933         * benchtests/atanh-inputs: New file.
8934         * benchtests/cosh-inputs: New file.
8935         * benchtests/log-inputs: New file.
8936         * benchtests/sinh-inputs: New file.
8937         * benchtests/tanh-inputs: New file.
8939 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
8941         [BZ #15339]
8942         * posix/tst-getaddrinfo4.c: New test.
8943         * posix/Makefile (tests): Add it.
8945 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8947         [BZ #15339]
8948         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8949         when no services were used.
8950         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8951         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8953 2013-05-21  Andreas Schwab  <schwab@suse.de>
8955         [BZ #15014]
8956         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8957         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8958         successful.
8959         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8960         redundant variable declarations and reallocation of buffer when
8961         parsing as IPv6 address.  Always set NSS status when called from
8962         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
8963         buffer too small.  Correct computation of needed size.
8964         * nss/Makefile (tests): Add test-digits-dots.
8965         * nss/test-digits-dots.c: New test.
8967 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8969         * benchtests/Makefile: Remove instructions for adding
8970         benchmark tests.
8971         * benchtests/README: New file to explain how to execute and
8972         enhance the benchmark tests.
8974 2013-05-21  Andreas Schwab  <schwab@suse.de>
8976         [BZ #15493]
8977         * setjmp/Makefile (tests): Add tst-sigsetjmp.
8978         * setjmp/tst-sigsetjmp.c: New test.
8980 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
8982         * sysdeps/x86_64/memset.S (memset): New implementation.
8983         (__bzero): Likewise.
8984         (__memset_tail): New function.
8986 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
8988         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8989         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8990         __memcpy_sse2_unaligned ifunc selection.
8991         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8992         Add memcpy-sse2-unaligned.S.
8993         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8994         Add: __memcpy_sse2_unaligned.
8996 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
8998         [BZ #15490]
8999         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9000         math_force_eval before restoring floating-point envrionment.
9001         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
9002         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
9003         Likewise.
9004         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
9005         <math_private.h>.
9006         (__nearbyintl): Use math_force_eval before restoring
9007         floating-point environment.
9008         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
9010         * math/gen-libm-test.pl (special_functions): Remove.
9011         (parse_args): Don't handle TEST_extra.  Handle functions with no
9012         return value.
9013         * math/libm-test.inc (struct test_sincos_data): Replace with
9014         struct test_fFF_11_data.
9015         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
9016         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
9017         (sincos_test_data): Change element type to struct
9018         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
9019         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
9020         RUN_TEST_LOOP_sincos.
9021         * math/README.libm-test: Don't mention special handling of
9022         individual functions.
9023         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
9024         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9025         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9026         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9027         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9030         * math/gen-libm-test.pl (get_variable): Remove function.
9031         (parse_args): Don't show pointer parameters to call in test
9032         names.  Use "extra output N" in test names for extra outputs
9033         rather than naming variables.
9035 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
9037         [BZ #15488]
9038         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
9039         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
9040         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
9041         double tests.
9042         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
9043         disable.
9044         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
9045         check_long_double.
9047         * math/gen-libm-test.pl (@tests): Remove variable.
9048         ($count): Likewise.
9049         (new_test): Remove function.
9050         (show_exceptions): New function.
9051         (special_functions): Use show_exceptions instead of new_test.
9052         (parse_args): Likewise.
9053         (generate_testfile): Pass only function name in generated call to
9054         print_max_error or print_complex_max_error.
9055         (get_ulps): Do not handle complex tests specially.
9056         (output_test): Rename to ...
9057         (get_all_ulps_for_test): ... this.  Return a string rather than
9058         printing to a file.  Require ulps to be present.
9059         (output_ulps): Generate arrays rather than #defines.
9060         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
9061         (struct ulp_data): New type.
9062         (BUILD_COMPLEX_ULP): Remove macro.
9063         (compare_ulp_data): New function.
9064         (find_ulps): Likewise.
9065         (find_test_ulps): Likewise.
9066         (find_function_ulps): Likewise.
9067         (find_complex_function_ulps): Likewise.
9068         (print_max_error): Determine allowed ulps using
9069         find_function_ulps.
9070         (print_complex_max_error): Determine allowed ulps using
9071         find_complex_function_ulps.
9072         (check_float_internal): Determine max ulps using find_test_ulps.
9073         (check_float): Do not take max_ulp parameter.  Update call to
9074         check_float_internal.
9075         (check_complex): Likewise.
9076         (check_int): Do not take max_ulp parameter.
9077         (check_long): Likewise.
9078         (check_bool): Likewise.
9079         (check_longlong): Likewise.
9080         (struct test_f_f_data): Remove max_ulp field.
9081         (struct test_ff_f_data): Likewise.
9082         (struct test_ff_f_data_nexttoward): Likewise.
9083         (struct test_fi_f_data): Likewise.
9084         (struct test_fl_f_data): Likewise.
9085         (struct test_if_f_data): Likewise.
9086         (struct test_fff_f_data): Likewise.
9087         (struct test_c_f_data): Likewise.
9088         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
9089         (struct test_fF_f1_data): Likewise.
9090         (struct test_ffI_f1_data): Likewise.
9091         (struct test_c_c_data): Remove max_ulp field.
9092         (struct test_cc_c_data): Likewise.
9093         (struct test_f_i_data): Likewise.
9094         (struct test_ff_i_data): Likewise.
9095         (struct test_f_l_data): Likewise.
9096         (struct test_f_L_data): Likewise.
9097         (struct test_sincos_data): Likewise.
9098         (RUN_TEST_f_f): Do not handle ulps.
9099         (RUN_TEST_LOOP_f_f): Likewise.
9100         (RUN_TEST_2_f): Likewise.
9101         (RUN_TEST_LOOP_2_f): Likewise.
9102         (RUN_TEST_fff_f): Likewise.
9103         (RUN_TEST_LOOP_fff_f): Likewise.
9104         (RUN_TEST_c_f): Likewise.
9105         (RUN_TEST_LOOP_c_f): Likewise.
9106         (RUN_TEST_f_f1): Likewise.
9107         (RUN_TEST_LOOP_f_f1): Likewise.
9108         (RUN_TEST_fF_f1): Likewise.
9109         (RUN_TEST_LOOP_fF_f1): Likewise.
9110         (RUN_TEST_fI_f1): Likewise.
9111         (RUN_TEST_LOOP_fI_f1): Likewise.
9112         (RUN_TEST_ffI_f1): Likewise.
9113         (RUN_TEST_LOOP_ffI_f1): Likewise.
9114         (RUN_TEST_c_c): Likewise.
9115         (RUN_TEST_LOOP_c_c): Likewise.
9116         (RUN_TEST_cc_c): Likewise.
9117         (RUN_TEST_LOOP_cc_c): Likewise.
9118         (RUN_TEST_f_i): Likewise.
9119         (RUN_TEST_LOOP_f_i): Likewise.
9120         (RUN_TEST_f_i_tg): Likewise.
9121         (RUN_TEST_LOOP_f_i_tg): Likewise.
9122         (RUN_TEST_ff_i_tg): Likewise.
9123         (RUN_TEST_LOOP_ff_i_tg): Likewise.
9124         (RUN_TEST_f_b): Likewise.
9125         (RUN_TEST_LOOP_f_b): Likewise.
9126         (RUN_TEST_f_b_tg): Likewise.
9127         (RUN_TEST_LOOP_f_b_tg): Likewise.
9128         (RUN_TEST_f_l): Likewise.
9129         (RUN_TEST_LOOP_f_l): Likewise.
9130         (RUN_TEST_f_L): Likewise.
9131         (RUN_TEST_LOOP_f_L): Likewise.
9132         (RUN_TEST_sincos): Likewise.
9133         (RUN_TEST_LOOP_sincos): Likewise.
9135 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
9137         [BZ #15480]
9138         [BZ #15485]
9139         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
9140         main case of finite arguments, set rounding mode to FE_TONEAREST
9141         and discard exceptions.
9142         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
9143         exceptions.
9144         (remainder_tonearest_test_data): New variable.
9145         (remainder_test_tonearest): New function.
9146         (remainder_towardzero_test_data): New variable.
9147         (remainder_test_towardzero): New function.
9148         (remainder_downward_test_data): New variable.
9149         (remainder_test_downward): New function.
9150         (remainder_upward_test_data): New variable.
9151         (remainder_test_upward): New function.
9152         (main): Call the new test functions.
9154         * math/libm-test.inc (struct test_f_f1_data): Remove field
9155         extra_init.
9156         (struct test_fF_f1_data): Likewise.
9157         (struct test_ffI_f1_data): Likewise.
9158         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
9159         based on value of EXTRA_EXPECTED.
9160         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9161         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
9162         EXTRA_VAR based on value of EXTRA_EXPECTED.
9163         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9164         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
9165         EXTRA_VAR based on value of EXTRA_EXPECTED.
9166         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9167         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
9168         EXTRA_VAR based on value of EXTRA_EXPECTED.
9169         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9170         * math/gen-libm-test.pl (parse_args): Don't output initializers
9171         for extra output values.
9173         * math/libm-test.inc (check_int): Expect result to be exactly
9174         equal to expected value and do not handle ulps.
9175         (check_long): Likewise.
9176         (check_longlong): Likewise.
9178         * math/libm-test.inc (ceil_test_data): Test for "inexact"
9179         exceptions.
9180         (cimag_test_data): Likewise.
9181         (conj_test_data): Likewise.
9182         (copysign_test_data): Likewise.
9183         (cproj_test_data): Likewise.
9184         (creal_test_data): Likewise.
9185         (fabs_test_data): Likewise.
9186         (fdim_test_data): Likewise.
9187         (finite_test_data): Likewise.
9188         (floor_test_data): Likewise.
9189         (fmax_test_data): Likewise.
9190         (fmin_test_data): Likewise.
9191         (fmod_test_data): Likewise.
9192         (fpclassify_test_data): Likewise.
9193         (frexp_test_data): Likewise.
9194         (ilogb_test_data): Likewise.
9195         (isfinite_test_data): Likewise.
9196         (isgreater_test_data): Likewise.
9197         (isgreaterequal_test_data): Likewise.
9198         (isinf_test_data): Likewise.
9199         (isless_test_data): Likewise.
9200         (islessequal_test_data): Likewise.
9201         (islessgreater_test_data): Likewise.
9202         (isnan_test_data): Likewise.
9203         (isnormal_test_data): Likewise.
9204         (issignaling_test_data): Likewise.
9205         (isunordered_test_data): Likewise.
9206         (ldexp_test_data): Likewise.
9207         (lrint_test_data): Likewise.
9208         (lrint_test_data) [TEST_FLOAT]: Disable one test.
9209         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
9210         (lrint_tonearest_test_data): Test for "inexact" exceptions.
9211         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9212         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
9213         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9214         test input.
9215         (lrint_towardzero_test_data): Test for "inexact" exceptions.
9216         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9217         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
9218         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
9219         that test input.
9220         (lrint_downward_test_data): Test for "inexact" exceptions.
9221         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9222         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
9223         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9224         test input.
9225         (lrint_upward_test_data): Test for "inexact" exceptions.
9226         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
9227         test input.
9228         (llrint_test_data): Test for "inexact" exceptions.
9229         (llrint_test_data) [TEST_FLOAT]: Disable one test.
9230         (llrint_tonearest_test_data): Test for "inexact" exceptions.
9231         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9232         (llrint_towardzero_test_data): Test for "inexact" exceptions.
9233         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9234         (llrint_downward_test_data): Test for "inexact" exceptions.
9235         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9236         (llrint_upward_test_data): Test for "inexact" exceptions.
9237         (logb_test_data): Likewise.
9238         (logb_downward_test_data): Likewise.
9239         (nextafter_test_data): Likewise.
9240         (nexttoward_test_data): Likewise.
9241         (remainder_test_data): Likewise.
9242         (remquo_test_data): Likewise.
9243         (scalbn_test_data): Likewise.
9244         (scalbln_test_data): Likewise.
9245         (signbit_test_data): Likewise.
9246         (sqrt_test_data): Likewise.
9247         (significand_test_data): Likewise.
9249 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
9251         [BZ #15424]
9252         * benchtests/bench-modf.c (struct args): Mark arg0 as
9253         volatile.
9254         * scripts/bench.pl: Mark members of struct args as volatile.
9256 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9258         [BZ # 15497]
9259         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
9260         negative infinity on POWER6 or lower.
9261         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
9263 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
9265         [BZ #15442]
9266         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
9267         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
9268         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
9269         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
9270         (_FP_SETQNAN): New macro.
9271         (_FP_SETQNAN_SEMIRAW): Likewise.
9272         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
9273         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
9274         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
9275         (FP_EXTEND): Use _FP_FRAC_SNANP.
9276         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
9277         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
9278         into account.
9279         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9280         New macro.
9281         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9282         Likewise.
9284 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
9286         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
9287         with DIVIDE_BY_ZERO_EXCEPTION.
9288         (gamma_test_data): Likewise.
9289         (lgamma_test_data): Likewise.
9290         (log_test_data): Likewise.
9291         (log10_test_data): Likewise.
9292         (log2_test_data): Likewise.
9293         (tgamma_test_data): Likewise.
9295         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
9296         (acos_test_tonearest): Likewise.
9297         (acos_test_towardzero): Likewise.
9298         (acos_test_downward): Likewise.
9299         (acos_test_upward): Likewise.
9300         (acosh_test): Likewise.
9301         (asin_test): Likewise.
9302         (asin_test_tonearest): Likewise.
9303         (asin_test_towardzero): Likewise.
9304         (asin_test_downward): Likewise.
9305         (asin_test_upward): Likewise.
9306         (asinh_test): Likewise.
9307         (atan_test): Likewise.
9308         (atanh_test): Likewise.
9309         (atan2_test): Likewise.
9310         (cabs_test): Likewise.
9311         (cacos_test): Likewise.
9312         (cacosh_test): Likewise.
9313         (casin_test): Likewise.
9314         (casinh_test): Likewise.
9315         (catan_test): Likewise.
9316         (catanh_test): Likewise.
9317         (cbrt_test): Likewise.
9318         (ccos_test): Likewise.
9319         (ccosh_test): Likewise.
9320         (cexp_test): Likewise.
9321         (clog_test): Likewise.
9322         (clog10_test): Likewise.
9323         (cos_test): Likewise.
9324         (cos_test_tonearest): Likewise.
9325         (cos_test_towardzero): Likewise.
9326         (cos_test_downward): Likewise.
9327         (cos_test_upward): Likewise.
9328         (cosh_test): Likewise.
9329         (cosh_test_tonearest): Likewise.
9330         (cosh_test_towardzero): Likewise.
9331         (cosh_test_downward): Likewise.
9332         (cosh_test_upward): Likewise.
9333         (cpow_test): Likewise.
9334         (csin_test): Likewise.
9335         (csinh_test): Likewise.
9336         (csqrt_test): Likewise.
9337         (ctan_test): Likewise.
9338         (ctan_test_tonearest): Likewise.
9339         (ctan_test_towardzero): Likewise.
9340         (ctan_test_downward): Likewise.
9341         (ctan_test_upward): Likewise.
9342         (ctanh_test): Likewise.
9343         (ctanh_test_tonearest): Likewise.
9344         (ctanh_test_towardzero): Likewise.
9345         (ctanh_test_downward): Likewise.
9346         (ctanh_test_upward): Likewise.
9347         (erf_test): Likewise.
9348         (erfc_test): Likewise.
9349         (exp_test): Likewise.
9350         (exp_test_tonearest): Likewise.
9351         (exp_test_towardzero): Likewise.
9352         (exp_test_downward): Likewise.
9353         (exp_test_upward): Likewise.
9354         (exp10_test): Likewise.
9355         (exp2_test): Likewise.
9356         (expm1_test): Likewise.
9357         (fmod_test): Likewise.
9358         (gamma_test): Likewise.
9359         (hypot_test): Likewise.
9360         (j0_test): Likewise.
9361         (j1_test): Likewise.
9362         (jn_test): Likewise.
9363         (lgamma_test): Likewise.
9364         (log_test): Likewise.
9365         (log10_test): Likewise.
9366         (log1p_test): Likewise.
9367         (log2_test): Likewise.
9368         (logb_test_downward): Likewise.
9369         (pow_test): Likewise.
9370         (pow_test_tonearest): Likewise.
9371         (pow_test_towardzero): Likewise.
9372         (pow_test_downward): Likewise.
9373         (pow_test_upward): Likewise.
9374         (remainder_test): Likewise.
9375         (remquo_test): Likewise.
9376         (sin_test): Likewise.
9377         (sin_test_tonearest): Likewise.
9378         (sin_test_towardzero): Likewise.
9379         (sin_test_downward): Likewise.
9380         (sin_test_upward): Likewise.
9381         (sincos_test): Likewise.
9382         (sinh_test): Likewise.
9383         (sinh_test_tonearest): Likewise.
9384         (sinh_test_towardzero): Likewise.
9385         (sinh_test_downward): Likewise.
9386         (sinh_test_upward): Likewise.
9387         (sqrt_test): Likewise.
9388         (tan_test): Likewise.
9389         (tan_test_tonearest): Likewise.
9390         (tan_test_towardzero): Likewise.
9391         (tan_test_downward): Likewise.
9392         (tan_test_upward): Likewise.
9393         (tanh_test): Likewise.
9394         (tgamma_test): Likewise.
9395         (y0_test): Likewise.
9396         (y1_test): Likewise.
9397         (yn_test): Likewise.
9399         * math/gen-libm-test.pl (adjust_arg): Remove function.
9400         (special_function): Remove argument $in_func.  Only handle
9401         generating output for tables of tests, not inside functions.
9402         (parse_args): Likewise.
9403         (generate_testfile): Remove variable $in_func.  Update call to
9404         parse_args.
9405         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
9406         (MINUS_ZERO_INIT): Rename macro to minus_zero.
9407         (PLUS_INFTY_INIT): Rename macro to plus_infty.
9408         (MINUS_INFTY_INIT): Rename macro to minus_infty.
9409         (QNAN_VALUE_INIT): Rename macro to qnan_value.
9410         (MAX_VALUE_INIT): Rename macro to max_value.
9411         (MIN_VALUE_INIT): Rename macro to min_value.
9412         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
9413         (plus_zero): Remove variable.
9414         (minus_zero): Likewise.
9415         (plus_infty): Likewise.
9416         (minus_infty): Likewise.
9417         (qnan_value): Likewise.
9418         (max_value): Likewise.
9419         (min_value): Likewise.
9420         (min_subnorm_value): Likewise.
9422 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
9424         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
9425         uint64_t or uint32_t usage.
9426         * crypt/sha256-block.c: Likewise.
9427         * crypt/sha256-crypt.c: Likewise.
9428         * crypt/sha256.c: Likewise.
9429         * crypt/sha512-block.c: Likewise.
9430         * crypt/sha512-crypt.c: Likewise.
9431         * crypt/sha512.c: Likewise.
9432         * debug/backtrace-tst.c: Likewise.
9433         * debug/pcprofiledump.c: Likewise.
9434         * elf/cache.c: Likewise.
9435         * elf/dl-cache.c: Likewise.
9436         * elf/dl-misc.c: Likewise.
9437         * elf/dl-profile.c: Likewise.
9438         * elf/dl-support.c: Likewise.
9439         * elf/ldconfig.c: Likewise.
9440         * elf/sprof.c: Likewise.
9441         * iconv/dummy-repertoire.c: Likewise.
9442         * iconv/iconv_charmap.c: Likewise.
9443         * iconv/skeleton.c: Likewise.
9444         * iconvdata/8bit-generic.c: Likewise.
9445         * iconvdata/cp737.h: Likewise.
9446         * iconvdata/cp775.h: Likewise.
9447         * iconvdata/ibm1008.h: Likewise.
9448         * iconvdata/ibm1025.h: Likewise.
9449         * iconvdata/ibm1046.h: Likewise.
9450         * iconvdata/ibm1097.h: Likewise.
9451         * iconvdata/ibm1112.h: Likewise.
9452         * iconvdata/ibm1122.h: Likewise.
9453         * iconvdata/ibm1123.h: Likewise.
9454         * iconvdata/ibm1124.h: Likewise.
9455         * iconvdata/ibm1129.h: Likewise.
9456         * iconvdata/ibm1130.h: Likewise.
9457         * iconvdata/ibm1132.h: Likewise.
9458         * iconvdata/ibm1133.h: Likewise.
9459         * iconvdata/ibm1137.h: Likewise.
9460         * iconvdata/ibm1140.h: Likewise.
9461         * iconvdata/ibm1141.h: Likewise.
9462         * iconvdata/ibm1142.h: Likewise.
9463         * iconvdata/ibm1143.h: Likewise.
9464         * iconvdata/ibm1144.h: Likewise.
9465         * iconvdata/ibm1145.h: Likewise.
9466         * iconvdata/ibm1146.h: Likewise.
9467         * iconvdata/ibm1147.h: Likewise.
9468         * iconvdata/ibm1148.h: Likewise.
9469         * iconvdata/ibm1149.h: Likewise.
9470         * iconvdata/ibm1153.h: Likewise.
9471         * iconvdata/ibm1154.h: Likewise.
9472         * iconvdata/ibm1155.h: Likewise.
9473         * iconvdata/ibm1156.h: Likewise.
9474         * iconvdata/ibm1157.h: Likewise.
9475         * iconvdata/ibm1158.h: Likewise.
9476         * iconvdata/ibm1160.h: Likewise.
9477         * iconvdata/ibm1161.h: Likewise.
9478         * iconvdata/ibm1162.h: Likewise.
9479         * iconvdata/ibm1163.h: Likewise.
9480         * iconvdata/ibm1164.h: Likewise.
9481         * iconvdata/ibm1166.h: Likewise.
9482         * iconvdata/ibm1167.h: Likewise.
9483         * iconvdata/ibm12712.h: Likewise.
9484         * iconvdata/ibm1390.h: Likewise.
9485         * iconvdata/ibm1399.h: Likewise.
9486         * iconvdata/ibm16804.h: Likewise.
9487         * iconvdata/ibm4517.h: Likewise.
9488         * iconvdata/ibm4899.h: Likewise.
9489         * iconvdata/ibm4909.h: Likewise.
9490         * iconvdata/ibm4971.h: Likewise.
9491         * iconvdata/ibm5347.h: Likewise.
9492         * iconvdata/ibm803.h: Likewise.
9493         * iconvdata/ibm856.h: Likewise.
9494         * iconvdata/ibm901.h: Likewise.
9495         * iconvdata/ibm902.h: Likewise.
9496         * iconvdata/ibm9030.h: Likewise.
9497         * iconvdata/ibm9066.h: Likewise.
9498         * iconvdata/ibm921.h: Likewise.
9499         * iconvdata/ibm922.h: Likewise.
9500         * iconvdata/ibm9448.h: Likewise.
9501         * iconvdata/isiri-3342.h: Likewise.
9502         * iconvdata/jis0201.h: Likewise.
9503         * include/link.h: Likewise.
9504         * include/netdb.h: Likewise.
9505         * inet/check_native.c: Likewise.
9506         * inet/check_pf.c: Likewise.
9507         * inet/getipv4sourcefilter.c: Likewise.
9508         * inet/getnameinfo.c: Likewise.
9509         * inet/getsourcefilter.c: Likewise.
9510         * inet/htonl.c: Likewise.
9511         * inet/setipv4sourcefilter.c: Likewise.
9512         * inet/setsourcefilter.c: Likewise.
9513         * inet/test-inet6_opt.c: Likewise.
9514         * inet/tst-network.c: Likewise.
9515         * locale/C-collate.c: Likewise.
9516         * locale/C-ctype.c: Likewise.
9517         * locale/C-time.c: Likewise.
9518         * locale/C-translit.h: Likewise.
9519         * locale/loadarchive.c: Likewise.
9520         * locale/programs/3level.h: Likewise.
9521         * locale/programs/charmap.c: Likewise.
9522         * locale/programs/charmap.h: Likewise.
9523         * locale/programs/ld-address.c: Likewise.
9524         * locale/programs/ld-collate.c: Likewise.
9525         * locale/programs/ld-ctype.c: Likewise.
9526         * locale/programs/ld-identification.c: Likewise.
9527         * locale/programs/ld-measurement.c: Likewise.
9528         * locale/programs/ld-messages.c: Likewise.
9529         * locale/programs/ld-monetary.c: Likewise.
9530         * locale/programs/ld-name.c: Likewise.
9531         * locale/programs/ld-numeric.c: Likewise.
9532         * locale/programs/ld-paper.c: Likewise.
9533         * locale/programs/ld-telephone.c: Likewise.
9534         * locale/programs/ld-time.c: Likewise.
9535         * locale/programs/linereader.c: Likewise.
9536         * locale/programs/locale.c: Likewise.
9537         * locale/programs/locarchive.c: Likewise.
9538         * locale/programs/locfile.h: Likewise.
9539         * locale/programs/repertoire.c: Likewise.
9540         * locale/programs/simple-hash.c: Likewise.
9541         * locale/programs/simple-hash.h: Likewise.
9542         * malloc/memusage.c: Likewise.
9543         * malloc/memusagestat.c: Likewise.
9544         * nis/nis_defaults.c: Likewise.
9545         * nis/nis_hash.c: Likewise.
9546         * nis/nis_print.c: Likewise.
9547         * nis/nis_xdr.c: Likewise.
9548         * nscd/connections.c: Likewise.
9549         * nscd/hstcache.c: Likewise.
9550         * nscd/nscd_gethst_r.c: Likewise.
9551         * nscd/nscd_getserv_r.c: Likewise.
9552         * nscd/nscd_helper.c: Likewise.
9553         * nscd/servicescache.c: Likewise.
9554         * nss/makedb.c: Likewise.
9555         * nss/nss_db/db-XXX.c: Likewise.
9556         * nss/nss_db/db-initgroups.c: Likewise.
9557         * nss/nss_db/db-netgrp.c: Likewise.
9558         * nss/nss_files/files-network.c: Likewise.
9559         * nss/nss_files/files-parse.c: Likewise.
9560         * posix/bug-regex5.c: Likewise.
9561         * posix/fnmatch_loop.c: Likewise.
9562         * posix/regcomp.c: Likewise.
9563         * posix/regexec.c: Likewise.
9564         * posix/tst-rfc3484-2.c: Likewise.
9565         * posix/tst-rfc3484-3.c: Likewise.
9566         * posix/tst-rfc3484.c: Likewise.
9567         * resolv/nss_dns/dns-canon.c: Likewise.
9568         * resolv/nss_dns/dns-network.c: Likewise.
9569         * resolv/res_init.c: Likewise.
9570         * resolv/res_mkquery.c: Likewise.
9571         * resolv/tst-aton.c: Likewise.
9572         * stdlib/cxa_atexit.c: Likewise.
9573         * stdlib/cxa_finalize.c: Likewise.
9574         * stdlib/gen-fpioconst.c: Likewise.
9575         * stdlib/strtol_l.c: Likewise.
9576         * string/tst-endian.c: Likewise.
9577         * sunrpc/auth_des.c: Likewise.
9578         * sunrpc/clnt_udp.c: Likewise.
9579         * sunrpc/rtime.c: Likewise.
9580         * sunrpc/svcauth_des.c: Likewise.
9581         * sunrpc/xdr.c: Likewise.
9582         * sunrpc/xdr_intXX_t.c: Likewise.
9583         * sunrpc/xdr_rec.c: Likewise.
9584         * sysdeps/generic/ldconfig.h: Likewise.
9585         * sysdeps/generic/ldsodefs.h: Likewise.
9586         * sysdeps/generic/memusage.h: Likewise.
9587         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9588         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
9589         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
9590         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9591         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9592         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9593         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9594         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9595         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9596         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9597         * sysdeps/posix/getaddrinfo.c: Likewise.
9598         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9599         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9600         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9601         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9602         * sysdeps/powerpc/test-gettimebase.c: Likewise.
9603         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9604         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
9605         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
9606         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9607         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
9608         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9609         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9610         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
9611         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
9612         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
9613         * sysdeps/x86_64/dl-tls.h: Likewise.
9614         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
9615         * time/alt_digit.c: Likewise.
9616         * time/era.c: Likewise.
9617         * wcsmbs/tst-c16c32-1.c: Likewise.
9619 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
9621         * math/libm-test.inc (struct test_sincos_data): New type.
9622         (RUN_TEST_LOOP_sincos): New macro.
9623         (sincos_test_data): New variable.
9624         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
9626 2013-05-16  Richard Henderson  <rth@redhat.com>
9628         * math/atest-exp2.c (LIMB64): New macro.
9629         (CONSTSZ): New macro.
9630         (mp_exp1, mp_exp_m1, mp_log2): New variables.
9631         (hexdig): Move ...
9632         (print_mpn_fp): ... to function scope.
9633         (read_mpn_hex): Remove.
9634         (get_log2): Remove.
9635         (exp2_mpn): Use mp_log2.
9636         (main): Use mp_exp1.
9638 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
9640         * math/libm-test.inc: Remove comment about not testing "inexact"
9641         exceptions.
9642         (INEXACT_EXCEPTION): New macro.
9643         (NO_INEXACT_EXCEPTION): Likewise.
9644         (INVALID_EXCEPTION_OK): Update value.
9645         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9646         (OVERFLOW_EXCEPTION_OK): Likewise.
9647         (UNDERFLOW_EXCEPTION_OK): Likewise.
9648         (IGNORE_ZERO_INF_SIGN): Likewise.
9649         (ERRNO_UNCHANGED): Likewise.
9650         (ERRNO_EDOM): Likewise.
9651         (ERRNO_ERANGE): Likewise.
9652         (test_exceptions): Handle testing "inexact" exceptions.
9653         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
9654         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
9655         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
9656         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
9657         INEXACT_EXCEPTION.
9658         (rint_towardzero_test_data): Likewise.
9659         (rint_downward_test_data): Likewise.
9660         (rint_upward_test_data): Likewise.
9662         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
9663         with OVERFLOW_EXCEPTION.
9664         (exp10_test_data): Likewise.
9665         (exp2_test_data): Likewise.
9666         (expm1_test_data): Likewise.
9667         (lgamma_test_data): Likewise.
9668         (pow_test_data): Likewise.
9669         (tgamma_test_data): Likewise.
9670         (yn_test_data): Remove duplicate test of overflow.
9672         * math/libm-test.inc (struct test_cc_c_data): New type.
9673         (RUN_TEST_LOOP_cc_c): New macro.
9674         (cpow_test_data): New variable.
9675         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
9677         * math/libm-test.inc (struct test_f_L_data): New type.
9678         (RUN_TEST_LOOP_f_L): New macro.
9679         (llrint_test_data): New variable.
9680         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
9681         (llrint_tonearest_test_data): New variable.
9682         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
9683         (llrint_towardzero_test_data): New variable.
9684         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
9685         (llrint_downward_test_data): New variable.
9686         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
9687         (llrint_upward_test_data): New variable.
9688         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
9689         (llround_test_data): New variable.
9690         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
9692 2013-05-13  Peter Collingbourne  <pcc@google.com>
9694         * math/atest-exp2.c (get_log2): Remove const attribute.
9696 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
9698         * math/libm-test.inc (struct test_f_l_data): New type.
9699         (RUN_TEST_LOOP_f_l): New macro.
9700         (lrint_test_data): New variable.
9701         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
9702         (lrint_tonearest_test_data): New variable.
9703         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
9704         (lrint_towardzero_test_data): New variable.
9705         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
9706         (lrint_downward_test_data): New variable.
9707         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
9708         (lrint_upward_test_data): New variable.
9709         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
9710         (lround_test_data): New variable.
9711         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
9713 2013-05-15  Peter Collingbourne  <pcc@google.com>
9715         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
9716         (EXTRACT_WORDS64) Use where appropriate.
9717         (INSERT_WORDS64) Likewise.
9719         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
9720         constraints with x constraints.
9721         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
9723         * malloc/obstack.c (_obstack_compat): Add initializer.
9725 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
9727         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
9728         si_trapno and add si_addr_lsb to _sifields.sigfault.
9729         (si_trapno): Remove macro.
9730         (si_addr_lsb): Define new macro.
9731         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9733 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
9735         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
9736         instead of TEST_f_l.
9737         (llrint_test_tonearest): Likewise.
9738         (llrint_test_towardzero): Likewise.
9739         (llrint_test_downward): Likewise.
9740         (llrint_test_upward): Likewise.
9741         (llround_test): Likewise.
9743         * math/libm-test.inc (struct test_f_i_data): Add comment.
9744         (RUN_TEST_LOOP_f_b): New macro.
9745         (RUN_TEST_LOOP_f_b_tg): Likewise.
9746         (finite_test_data): New variable.
9747         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9748         (isfinite_test_data): New variable.
9749         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9750         (isinf_test_data): New variable.
9751         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9752         (isnan_test_data): New variable.
9753         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9754         (isnormal_test_data): New variable.
9755         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9756         (issignaling_test_data): New variable.
9757         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9758         (signbit_test_data): New variable.
9759         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9761         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9762         with INVALID_EXCEPTION.
9763         (acosh_test_data): Likewise.
9764         (asin_test_data): Likewise.
9765         (atanh_test_data): Likewise.
9766         (fmod_test_data): Likewise.
9767         (log_test_data): Likewise.
9768         (log10_test_data): Likewise.
9769         (log2_test_data): Likewise.
9770         (pow_test_data): Likewise.
9771         (sqrt_test_data): Likewise.
9772         (y0_test_data): Likewise.
9773         (y1_test_data): Likewise.
9774         (yn_test_data): Likewise.
9776         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9777         function contents.
9779         * math/libm-test.inc (struct test_ff_i_data): New type.
9780         (RUN_TEST_LOOP_ff_i_tg): New macro.
9781         (isgreater_test_data): New variable.
9782         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9783         (isgreaterequal_test_data): New variable.
9784         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9785         (isless_test_data): New variable.
9786         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9787         (islessequal_test_data): New variable.
9788         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9789         (islessgreater_test_data): New variable.
9790         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9791         (isunordered_test_data): New variable.
9792         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9794 2013-05-14  David S. Miller  <davem@davemloft.net>
9796         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9798 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
9800         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9802         * math/libm-test.inc (struct test_fF_f1_data): Change type of
9803         extra_test to int.
9804         (struct test_f_i_data): Change type of max_ulp to int.
9806         * math/libm-test.inc (test_ffI_f1_data): New type.
9807         (RUN_TEST_LOOP_ffI_f1): New macro.
9808         (remquo_test_data): New variable.
9809         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9811         * setjmp/tst-setjmp-fp.c: New file.
9812         * setjmp/Makefile (tests): Add tst-setjmp-fp.
9813         (link-libm): New variable.
9814         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9816         * math/libm-test.inc (struct test_f_i_data): New type.
9817         (RUN_TEST_LOOP_f_i): New macro.
9818         (RUN_TEST_LOOP_f_i_tg): Likewise.
9819         (fpclassify_test_data): New variable.
9820         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9821         (ilogb_test_data): New variable.
9822         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9824         * math/libm-test.inc (scalbln_test): Correct function name in END
9825         call.
9827         * math/libm-test.inc (struct test_f_f1_data): Add comment.
9828         (RUN_TEST_LOOP_fI_f1): New macro.
9829         (frexp_test_data): New variable.
9830         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9832         * math/libm-test.inc (struct test_fF_f1_data): New type.
9833         (RUN_TEST_LOOP_fF_f1): New macro.
9834         (modf_test_data): New variable.
9835         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9837         * math/libm-test.inc (struct test_f_f1_data): New type.
9838         (RUN_TEST_LOOP_f_f1): New macro.
9839         (gamma_test_data): New variable.
9840         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9841         (lgamma_test_data): New variable.
9842         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9844 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
9846         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9847         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9848         (main): Comment "tls" pseudo-hwcap.
9850 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
9852         * math/libm-test.inc (struct test_fl_f_data): New type.
9853         (RUN_TEST_LOOP_fl_f): New variable.
9854         (scalbln_test_data): New variable.
9855         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9857         * math/libm-test.inc (struct test_fi_f_data): New type.
9858         (RUN_TEST_LOOP_fi_f): New macro.
9859         (ldexp_test_data): New variable.
9860         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9861         (scalbn_test_data): New variable.
9862         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9864         * math/libm-test.inc (struct test_c_f_data): New type.
9865         (RUN_TEST_LOOP_c_f): New macro.
9866         (cabs_test_data): New variable.
9867         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9868         (carg_test_data): New variable.
9869         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9870         (cimag_test_data): New variable.
9871         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9872         (creal_test_data): New variable.
9873         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9875         * math/libm-test.inc (struct test_if_f_data): New type.
9876         (RUN_TEST_LOOP_if_f): New macro.
9877         (jn_test_data): New variable.
9878         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9879         (yn_test_data): New variable.
9880         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9882         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9884 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9886         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9887         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9889 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
9891         * benchtests/Makefile (CPPFLAGS-nonlib): Add
9892         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9893         (bench-deps): Add bench-timing.h.
9894         * benchtests-bench-skeleton.c: Include bench-timing.h.
9895         (main): Use TIMING_* macros instead of clock_gettime.
9896         * benchtests/bench-timing.h: New file.
9898         [BZ #14582]
9899         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9900         Renamed from _LIB_VERSION.
9901         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9903 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
9905         * math/libm-test.inc (struct test_fff_f_data): New type.
9906         (RUN_TEST_LOOP_fff_f): New macro.
9907         (fma_test_data): New variable.
9908         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9909         (fma_towardzero_test_data): New variable.
9910         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9911         (fma_downward_test_data): New variable.
9912         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9913         (fma_upward_test_data): New variable.
9914         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9916         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9917         (struct test_c_c_data): New type.
9918         (RUN_TEST_LOOP_c_c): New macro.
9919         (cacos_test_data): New variable.
9920         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9921         (cacosh_test_data): New variable.
9922         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9923         (casin_test_data): New variable.
9924         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9925         (casinh_test_data): New variable.
9926         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9927         (catan_test_data): New variable.
9928         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9929         (catanh_test_data): New variable.
9930         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9931         (ccos_test_data): New variable.
9932         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9933         (ccosh_test_data): New variable.
9934         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9935         (cexp_test_data): New variable.
9936         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9937         (clog_test_data): New variable.
9938         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9939         (clog10_test_data): New variable.
9940         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9941         (conj_test_data): New variable.
9942         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9943         (cproj_test_data): New variable.
9944         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9945         (csin_test_data): New variable.
9946         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9947         (csinh_test_data): New variable.
9948         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9949         (csqrt_test_data): New variable.
9950         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9951         (ctan_test_data): New variable.
9952         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9953         (ctan_tonearest_test_data): New variable.
9954         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9955         (ctan_towardzero_test_data): New variable.
9956         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9957         (ctan_downward_test_data): New variable.
9958         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9959         (ctan_upward_test_data): New variable.
9960         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9961         (ctanh_test_data): New variable.
9962         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9963         (ctanh_tonearest_test_data): New variable.
9964         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9965         (ctanh_towardzero_test_data): New variable.
9966         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9967         (ctanh_downward_test_data): New variable.
9968         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9969         (ctanh_upward_test_data): New variable.
9970         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9971         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9972         of BUILD_COMPLEX.
9974         * math/libm-test.inc (struct test_ff_f_data): New type.
9975         (struct test_ff_f_data_nexttoward): Likewise.
9976         (RUN_TEST_LOOP_2_f): New macro.
9977         (RUN_TEST_LOOP_ff_f): Likewise.
9978         (atan2_test_data): New variable.
9979         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9980         (copysign_test_data): New variable.
9981         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9982         (fdim_test_data): New variable.
9983         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9984         (fmax_test_data): New variable.
9985         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9986         (fmin_test_data): New variable.
9987         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9988         (fmod_test_data): New variable.
9989         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9990         (hypot_test_data): New variable.
9991         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9992         (nextafter_test_data): New variable.
9993         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9994         (nexttoward_test_data): New variable.
9995         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9996         (pow_test_data): New variable.
9997         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9998         (pow_tonearest_test_data): New variable.
9999         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
10000         (pow_towardzero_test_data): New variable.
10001         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
10002         (pow_downward_test_data): New variable.
10003         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
10004         (pow_upward_test_data): New variable.
10005         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
10006         (remainder_test_data): New variable.
10007         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
10008         (scalb_test_data): New variable.
10009         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
10010         * sysdeps/i386/fpu/libm-test-ulps: Update.
10012 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
10014         * math/libm-test.inc (fma_test): Use max_value instead of local
10015         variable fltmax.
10016         (nextafter_test): Likewise.
10018         * math/libm-test.inc (acos_towardzero_test_data): New variable.
10019         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10020         (acos_downward_test_data): New variable.
10021         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10022         (acos_upward_test_data): New variable.
10023         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10024         (acosh_test_data): New variable.
10025         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
10026         (asin_test_data): New variable.
10027         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
10028         (asin_tonearest_test_data): New variable.
10029         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10030         (asin_towardzero_test_data): New variable.
10031         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10032         (asin_downward_test_data): New variable.
10033         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10034         (asin_upward_test_data): New variable.
10035         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10036         (asinh_test_data): New variable.
10037         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
10038         (atan_test_data): New variable.
10039         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
10040         (atanh_test_data): New variable.
10041         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
10042         (cbrt_test_data): New variable.
10043         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
10044         (ceil_test_data): New variable.
10045         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
10046         (cos_test_data): New variable.
10047         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
10048         (cos_tonearest_test_data): New variable.
10049         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10050         (cos_towardzero_test_data): New variable.
10051         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10052         (cos_downward_test_data): New variable.
10053         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10054         (cos_upward_test_data): New variable.
10055         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10056         (cosh_test_data): New variable.
10057         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
10058         (cosh_tonearest_test_data): New variable.
10059         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10060         (cosh_towardzero_test_data): New variable.
10061         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10062         (cosh_downward_test_data): New variable.
10063         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10064         (cosh_upward_test_data): New variable.
10065         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10066         (erf_test_data): New variable.
10067         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
10068         (erfc_test_data): New variable.
10069         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
10070         (exp_test_data): New variable.
10071         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
10072         (exp_tonearest_test_data): New variable.
10073         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10074         (exp_towardzero_test_data): New variable.
10075         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10076         (exp_downward_test_data): New variable.
10077         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10078         (exp_upward_test_data): New variable.
10079         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10080         (exp10_test_data): New variable.
10081         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
10082         (exp2_test_data): New variable.
10083         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
10084         (expm1_test_data): New variable.
10085         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
10086         (fabs_test_data): New variable.
10087         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
10088         (floor_test_data): New variable.
10089         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
10090         (j0_test_data): New variable.
10091         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
10092         (j1_test_data): New variable.
10093         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
10094         (log_test_data): New variable.
10095         (log_test): Run tests with RUN_TEST_LOOP_f_f.
10096         (log10_test_data): New variable.
10097         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
10098         (log1p_test_data): New variable.
10099         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
10100         (log2_test_data): New variable.
10101         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
10102         (logb_test_data): New variable.
10103         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
10104         (logb_downward_test_data): New variable.
10105         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10106         (nearbyint_test_data): New variable.
10107         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
10108         (rint_test_data): New variable.
10109         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
10110         (rint_tonearest_test_data): New variable.
10111         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10112         (rint_towardzero_test_data): New variable.
10113         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10114         (rint_downward_test_data): New variable.
10115         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10116         (rint_upward_test_data): New variable.
10117         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10118         (round_test_data): New variable.
10119         (round_test): Run tests with RUN_TEST_LOOP_f_f.
10120         (sin_test_data): New variable.
10121         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
10122         (sin_tonearest_test_data): New variable.
10123         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10124         (sin_towardzero_test_data): New variable.
10125         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10126         (sin_downward_test_data): New variable.
10127         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10128         (sin_upward_test_data): New variable.
10129         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10130         (sinh_test_data): New variable.
10131         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
10132         (sinh_tonearest_test_data): New variable.
10133         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10134         (sinh_towardzero_test_data): New variable.
10135         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10136         (sinh_downward_test_data): New variable.
10137         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10138         (sinh_upward_test_data): New variable.
10139         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10140         (sqrt_test_data): New variable.
10141         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
10142         (tan_test_data): New variable.
10143         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
10144         (tan_tonearest_test_data): New variable.
10145         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10146         (tan_towardzero_test_data): New variable.
10147         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10148         (tan_downward_test_data): New variable.
10149         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10150         (tan_upward_test_data): New variable.
10151         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10152         (tanh_test_data): New variable.
10153         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
10154         (tgamma_test_data): New variable.
10155         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
10156         (trunc_test_data): New variable.
10157         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
10158         (y0_test_data): New variable.
10159         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
10160         (y1_test_data): New variable.
10161         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
10162         (significand_test_data): New variable.
10163         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
10165 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
10167         [BZ #12387]
10168         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
10170 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
10172         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
10174 2013-05-10  Andreas Jaeger  <aj@suse.de>
10176         [BZ #15448]
10177         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
10178         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
10180 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
10182         * math/gen-libm-test.pl (adjust_arg): New function.
10183         (special_functions): Handle generating output in both functions
10184         and arrays.
10185         (parse_args): Likewise.
10186         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
10187         $in_func argument to parse_args.
10188         * math/libm-test.inc (struct test_f_f_data): New type.
10189         (IF_ROUND_INIT_): New macro.
10190         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
10191         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10192         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10193         (IF_ROUND_INIT_FE_UPWARD): Likewise.
10194         (ROUND_RESTORE_): Likewise.
10195         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
10196         (ROUND_RESTORE_FE_TONEAREST): Likewise.
10197         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
10198         (ROUND_RESTORE_FE_UPWARD): Likewise.
10199         (RUN_TEST_LOOP_f_f): New macro.
10200         (acos_test_data): New variable.
10201         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
10202         (acos_tonearest_test_data): New variable.
10203         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10205 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10207         * benchtests/bench-skeleton.c (startup): Fix coding style.
10209 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
10211         [BZ #6809]
10212         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
10213         negative infinity argument.
10214         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
10215         negative infinity argument.
10216         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
10217         negative infinity argument.
10218         * math/libm-test.inc (tgamma_test): Expect errno to be set for
10219         domain errors.
10221 2013-05-10  Florian Weimer  <fweimer@redhat.com>
10223         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
10224         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
10225         * iconv/iconv_prog.c (main): Likewise.
10226         * locale/programs/charmap-dir.c (charmap_readdir)
10227         (fopen_uncompressed): Likewise.
10228         * locale/programs/locfile.c (siblings_uncached)
10229         (write_locale_data): Use lstat64 instead of lstat.
10230         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
10231         stat.
10233 2013-05-10  Andreas Jaeger  <aj@suse.de>
10235         [BZ #15395]
10236         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
10237         localization.
10238         Include <locale.h>.
10240 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
10242         * elf/dl-close.c (_dl_close_worker): Add comments.
10244 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
10246         [BZ #15359]
10247         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
10248         high part of pi/2.
10249         (__ieee754_rem_pio2l): Update comments.
10251         [BZ #15429]
10252         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
10253         high part of pi/2.
10254         (__ieee754_rem_pio2l): Update comments.
10256         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
10257         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
10259         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
10260         M_PI_4l.
10262         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
10263         (M_PI_34_LOG10El): Likewise.
10264         (M_PI2_LOG10El): Likewise.
10265         (M_PI4_LOG10El): Likewise.
10266         (M_PI_LOG10El): Likewise.
10268 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10270         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10272 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
10274         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
10275         (MINUS_ZERO_INIT): Likewise.
10276         (PLUS_INFTY_INIT): Likewise.
10277         (MINUS_INFTY_INIT): Likewise.
10278         (QNAN_VALUE_INIT): Likewise.
10279         (MAX_VALUE_INIT): Likewise.
10280         (MIN_VALUE_INIT): Likewise.
10281         (MIN_SUBNORM_VALUE_INIT): Likewise.
10282         (plus_zero): Initialize with PLUS_ZERO_INIT.
10283         (minus_zero): Initialize with MINUS_ZERO_INIT.
10284         (plus_infty): Initialize with PLUS_INFTY_INIT.
10285         (minus_infty): Initialize with MINUS_INFTY_INIT.
10286         (qnan_value): Initialize with QNAN_VALUE_INIT.
10287         (max_value): Initialize with MAX_VALUE_INIT.
10288         (min_value): Initialize with MIN_VALUE_INIT.
10289         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
10291         * math/libm-test.inc (RUN_TEST_if_f): New macro.
10292         (jn_test): Use TEST_if_f instead of TEST_ff_f.
10293         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
10294         (yn_test): Use TEST_if_f instead of TEST_ff_f.
10296         * math/libm-test.inc (RUN_TEST_f_f): New macro.
10297         (RUN_TEST_2_f): Likewise.
10298         (RUN_TEST_ff_f): Likewise.
10299         (RUN_TEST_fi_f): Likewise.
10300         (RUN_TEST_fl_f): Likewise.
10301         (RUN_TEST_fff_f): Likewise.
10302         (RUN_TEST_c_f): Likewise.
10303         (RUN_TEST_f_f1): Likewise.
10304         (RUN_TEST_fF_f1): Likewise.
10305         (RUN_TEST_fI_f1): Likewise.
10306         (RUN_TEST_ffI_f1): Likewise.
10307         (RUN_TEST_c_c): Likewise.
10308         (RUN_TEST_cc_c): Likewise.
10309         (RUN_TEST_f_i): Likewise.
10310         (RUN_TEST_f_i_tg): Likewise.
10311         (RUN_TEST_ff_i_tg): Likewise.
10312         (RUN_TEST_f_b): Likewise.
10313         (RUN_TEST_f_b_tg): Likewise.
10314         (RUN_TEST_f_l): Likewise.
10315         (RUN_TEST_f_L): Likewise.
10316         (RUN_TEST_sincos): Likewise.
10317         * math/gen-libm-test.pl (new_test): Take new argument to indicate
10318         whether to show exceptions.  Do not include ");\n" in return
10319         value.
10320         (special_functions): Output call to RUN_TEST_sincos instead of
10321         check_float calls.  Update calls to new_test.
10322         (parse_args): Output call to single RUN_TEST_* macro instead of
10323         check_* calls and other assignments.  Update calls to new_test.
10325         [BZ #2546]
10326         [BZ #2560]
10327         [BZ #5159]
10328         [BZ #15426]
10329         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
10330         input to result for tgamma overflow.
10331         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
10332         (gamma_coeff): New variable.
10333         (NCOEFF): New macro.
10334         (gamma_positive): New function.
10335         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
10336         underflow here.  Use gamma_positive instead of exp (lgamma) for
10337         other arguments.
10338         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
10339         (gamma_coeff): New variable.
10340         (NCOEFF): New macro.
10341         (gammaf_positive): New function.
10342         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
10343         underflow here.  Use gamma_positive instead of exp (lgamma) for
10344         other arguments.
10345         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
10346         (gamma_coeff): New variable.
10347         (NCOEFF): New macro.
10348         (gammal_positive): New function.
10349         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
10350         underflow here.  Use gamma_positive instead of exp (lgamma) for
10351         other arguments.
10352         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
10353         (gamma_coeff): New variable.
10354         (NCOEFF): New macro.
10355         (gammal_positive): New function.
10356         (__ieee754_gammal_r): Handle positive infinity, overflow and
10357         underflow here.  Handle NaN the same as positive infinity.  Remove
10358         check x < 0xffffffff for negative integers.  Use gamma_positive
10359         instead of exp (lgamma) for other arguments.
10360         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
10361         (gamma_coeff): New variable.
10362         (NCOEFF): New macro.
10363         (gammal_positive): New function.
10364         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
10365         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
10366         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10367         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
10368         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10369         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10370         * sysdeps/generic/math_private.h (__gamma_productf): New
10371         prototype.
10372         (__gamma_product): Likewise.
10373         (__gamma_productl): Likewise.
10374         * math/Makefile (libm-calls): Add gamma_product.
10375         * math/libm-test.inc (tgamma_test): Add more tests.
10376         * sysdeps/i386/fpu/libm-test-ulps: Update.
10377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10379 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
10381         * benchtests/bench-skeleton.c (main): Preheat CPU.
10383 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
10385         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
10387 2013-05-07  Roland McGrath  <roland@hack.frob.com>
10389         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
10390         and _dl_skip_args_internal.
10392 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
10394         * manual/message.texi (Message Translation): Talk about users.
10395         Message to key mapping impacts design.
10397 2013-05-06  Roland McGrath  <roland@hack.frob.com>
10399         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
10401         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
10403         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
10404         * sysdeps/wordsize-64/glob64.c: ... here.
10406         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
10407         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
10408         New macros.
10410         * debug/getlogin_r_chk.c: Moved to ...
10411         * login/getlogin_r_chk.c: ... here.
10412         * debug/Makefile (routines): Move getlogin_r_chk to ...
10413         * login/Makefile (routines): ... here.
10414         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
10415         * login/Versions (libc: GLIBC_2.4): ... here.
10417         * io/poll.c (__poll): Renamed from poll.
10418         Add libc_hidden_def.
10419         (poll): Define as weak alias.
10421         * debug/ptsname_r_chk.c: Moved to ...
10422         * login/ptsname_r_chk.c: ... here.
10423         * debug/Makefile (routines): Move ptsname_r_chk to ...
10424         * login/Makefile (routines): ... here.
10425         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
10426         * login/Versions (libc: GLIBC_2.4): ... here.
10428         * posix/getlogin.c: Moved to ...
10429         * login/getlogin.c: ... here.
10430         * posix/getlogin_r.c: Moved to ...
10431         * login/getlogin_r.c: ... here.
10432         * posix/getlogin_r.c: Moved to ...
10433         * login/getlogin_r.c: ... here.
10434         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
10435         * login/Makefile (routines): ... here.
10436         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
10437         * login/Versions (libc: GLIBC_2.0): ... here.
10439         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
10440         (setrlimit): Define as weak alias.
10442         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
10443         Call __ names for open, ftruncate, and close.
10444         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
10445         (truncate): Define as weak alias.
10447 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
10449         * math/gen-libm-test.pl (parse_args): Initialize x before each
10450         test of frexp, modf and remquo.
10452         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
10453         test signgam value.
10455 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10457         [BZ #15418]
10458         [BZ #15419]
10459         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
10460         internal tests.
10461         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10463 2013-05-06  Roland McGrath  <roland@hack.frob.com>
10465         * elf/dl-writev.h: New file.
10466         * elf/dl-misc.c: Include it.
10467         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
10468         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
10470 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
10472         * math/libm-test.inc (noXFails): Remove variable.
10473         (noXPasses): Likewise.
10474         (BUILD_COMPLEX_INT): Remove macro.
10475         (print_screen): Remove xfail argument.
10476         (print_screen_max_error): Likewise.
10477         (update_stats): Likewise.
10478         (print_max_error): Likewise.  Update calls to other affected
10479         functions.
10480         (print_complex_max_error): Likewise.
10481         (test_single_exception): Update calls to print_screen.
10482         (test_single_errno): Likewise.
10483         (check_float_internal): Remove xfail argument.  Update calls to
10484         other affected functions.
10485         (check_float): Likewise.
10486         (check_complex): Likewise.
10487         (check_int): Likewise.
10488         (check_long): Likewise.
10489         (check_bool): Likewise.
10490         (check_longlong): Likewise.
10491         (main): Don't print noXFails and noXPasses.
10492         * math/gen-libm-test.pl (top level): Don't mention expected
10493         failure handling in comment.
10494         (new_test): Don't handle expected failures.
10495         (parse_args): Don't mention expected failure handling in comment.
10496         (generate_testfile): Don't handle expected failures.
10497         (parse_ulps): Likewise.
10498         (print_ulps_file): Likewise.
10499         (get_failure): Remove function.
10500         (output_test): Don't handle expected failures.
10501         * make/README.libm-test: Don't mention expected failure handling.
10503         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
10504         (minus_zero): Likewise.
10505         (plus_infty): Likewise.
10506         (minus_infty): Likewise.
10507         (qnan_value): Likewise.
10508         (max_value): Likewise.
10509         (min_value): Likewise.
10510         (min_subnorm_value): Likewise.
10511         (initialize): Do not initialize those variables dynamically.
10513 2013-05-03  Roland McGrath  <roland@hack.frob.com>
10515         * io/open.c (__open_2): Moved to ...
10516         * io/open_2.c: ... this new file.
10517         * io/open64.c (__open64_2): Moved to ...
10518         * io/open64_2.c: ... this new file.
10519         * io/openat.c (__openat_2): Moved to ...
10520         * io/openat_2.c: ... this new file.
10521         * io/openat64.c (__openat64_2): Moved to ...
10522         * io/openat64_2.c: ... this new file.
10523         * io/Makefile (routines): Add them.
10524         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
10525         * sysdeps/unix/sysv/linux/open_2.c: File removed.
10526         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
10527         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
10528         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
10529         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
10530         (__openat64): Add hidden_ver.
10531         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
10532         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
10534         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
10535         Separately conditionalize setting of GLRO(dl_sysinfo) so
10536         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
10537         as well, but the actual setting is only under [NEED_DL_SYSINFO].
10539 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10541         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
10542         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
10543         definition.
10544         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
10545         * sysdeps/unix/sysv/linux/powerpc/init-first.c
10546         (_libc_vdso_platform_setup): Add __vdso_time initialization.
10547         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
10548         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
10550 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
10552         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
10553         test signgam value.
10555         * math/libm-test.inc (hypot_test): Do not use
10556         IGNORE_ZERO_INF_SIGN.
10558 2013-05-03  Andreas Jaeger  <aj@suse.de>
10560         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
10561         Linux 3.9.
10562         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
10563         (PF_MAX): Adjust for VSOCK change.
10565 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10567         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10569 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
10571         [BZ #15264]
10572         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
10573         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
10574         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
10576 2013-05-02  David S. Miller  <davem@davemloft.net>
10578         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10580 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
10582         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
10584 2013-05-01  Roland McGrath  <roland@hack.frob.com>
10586         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
10588 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
10590         [BZ #14952]
10591         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
10592         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10593         Use __attribute__ ((__gnu_inline__)).
10594         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10595         Don't use __attribute__ ((__gnu_inline__)).
10597 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
10599         [BZ #15423]
10600         * math/s_catan.c (__catan): Handle small real or imaginary part of
10601         input specially to avoid spurious underflow.
10602         * math/s_catanf.c (__catanf): Likewise.
10603         * math/s_catanh.c (__catanh): Likewise.
10604         * math/s_catanhf.c (__catanhf): Likewise.
10605         * math/s_catanhl.c (__catanhl): Likewise.
10606         * math/s_catanl.c (__catanl): Likewise.
10607         * math/libm-test.inc (catan_test): Add more tests.
10608         (catanh_test): Likewise.
10609         * sysdeps/i386/fpu/libm-test-ulps: Update.
10610         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10612 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10614         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10616 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
10618         [BZ #15416]
10619         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
10620         accurately for denominator in atan2.
10621         * math/s_catanf.c (__catanf): Likewise.
10622         * math/s_catanh.c (__catanh): Likewise.
10623         * math/s_catanhf.c (__catanhf): Likewise.
10624         * math/s_catanhl.c (__catanhl): Likewise.
10625         * math/s_catanl.c (__catanl): Likewise.
10626         * math/libm-test.inc (catan_test): Add more tests.
10627         (catanh_test): Likewise.
10628         * sysdeps/i386/fpu/libm-test-ulps: Update.
10629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10631 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10633         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
10635         * benchtests/Makefile (bench): Remove slow benchmarks.
10636         * benchtests/atan-inputs: Add slow benchmark inputs.
10637         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
10638         (BENCH_FUNC): Accept variant offset.
10639         (VARIANT): Define.
10640         * benchtests/bench-skeleton.c (main): Run benchmark for each
10641         variant.
10642         * benchtests/cos-inputs: Add slow benchmark inputs.
10643         * benchtests/exp-inputs: Likewise.
10644         * benchtests/pow-inputs: Likewise.
10645         * benchtests/sin-inputs: Likewise.
10646         * benchtests/slowatan-inputs: Remove.
10647         * benchtests/slowatan.c: Remove.
10648         * benchtests/slowcos-inputs: Remove.
10649         * benchtests/slowcos.c: Remove.
10650         * benchtests/slowexp-inputs: Remove.
10651         * benchtests/slowexp.c: Remove.
10652         * benchtests/slowpow-inputs: Remove.
10653         * benchtests/slowpow.c: Remove.
10654         * benchtests/slowsin-inputs: Remove.
10655         * benchtests/slowsin.c: Remove.
10656         * benchtests/slowtan-inputs: Remove.
10657         * benchtests/slowtan.c: Remove.
10658         * benchtests/tan-inputs: Add slow benchmark inputs.
10659         * scripts/bench.pl: Parse comments and directives.
10661         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
10662         in CPPFLAGS.
10663         ($(objpfx)bench-%.c): Remove *-ITER.
10664         * benchtests/bench-modf.c: Remove definition of ITER.
10665         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
10666         (main): Loop for DURATION seconds instead of fixed number of
10667         iterations.
10668         * scripts/bench.pl: Don't expect iterations in parameters.
10670 2013-04-29  Roland McGrath  <roland@hack.frob.com>
10672         * io/fchdir.c (__fchdir): Renamed from fchdir.
10673         (fchdir): Define as weak alias.
10675 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
10677         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
10678         (ERRNO_EDOM): Likewise.
10679         (ERRNO_ERANGE): Likewise.
10680         (noErrnoTests): New variable.
10681         (init_max_error): Set errno to 0.
10682         (test_single_errno): New function.
10683         (test_errno): Likewise.
10684         (check_float_internal): Call test_errno.  Set errno to 0.
10685         (check_complex): Refer to errno tests in comment.
10686         (check_int): Call test_errno.  Set errno to 0.
10687         (check_long): Likewise.
10688         (check_bool): Likewise.
10689         (check_longlong): Likewise.
10690         (cos_test): Use ERRNO_* flags for errno tests instead of
10691         check_int.
10692         (expm1_test): Likewise.
10693         (fmod_test): Likewise.
10694         (ilogb_test): Likewise.
10695         (lgamma_test): Likewise.
10696         (pow_test): Likewise.
10697         (remainder_test): Likewise.
10698         (sin_test): Likewise.
10699         (tan_test): Likewise.
10700         (yn_test): Likewise.
10701         (initialize): Set errno to 0.
10702         (main): Print number of errno tests.
10703         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
10705 2013-04-29  Andreas Jaeger  <aj@suse.de>
10707         [BZ #15084]
10708         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
10709         and RES_USEVC.
10711         [BZ #15085]
10712         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
10713         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
10714         unimplemented.
10716         [BZ #15380]
10717         * stdlib/random.c (__initstate): Return NULL if
10718         __initstate fails.
10720         [BZ #15086]
10721         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
10722         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
10723         RES_SNGLKUPREOP.
10725 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10727         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10729 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
10731         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
10732         of individual tests.
10733         (casin_test): Likewise.
10734         (casinh_test): Likewise.
10736 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
10738         [BZ #15409]
10739         * math/s_catan.c (__catan): Handle arguments with large real or
10740         imaginary part separately without squaring.
10741         * math/s_catanf.c (__catanf): Likewise.
10742         * math/s_catanh.c (__catanh): Likewise.
10743         * math/s_catanhf.c (__catanhf): Likewise.
10744         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10745         and redefine.
10746         (__catanhl): Handle arguments with large real or imaginary part
10747         separately without squaring.
10748         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10749         and redefine.
10750         (__catanl): Handle arguments with large real or imaginary part
10751         separately without squaring.
10752         * math/libm-test.inc (catan_test): Add more tests.
10753         (catanh_test): Likewise.
10754         * sysdeps/i386/fpu/libm-test-ulps: Update.
10755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10757 2013-04-27  Andreas Jaeger  <aj@suse.de>
10759         [BZ #15007]
10760         * stdlib/stdlib.h: Update guards for qecvt.
10761         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10762         <stdlib.h>.
10764 2013-04-27  Allan McRae  <allan@archlinux.org>
10766         * sysdeps/i386/fpu/libm-test-ulps: Update.
10768 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
10770         [BZ #15406]
10771         * math/s_catan.c: Include <float.h>.
10772         (__catan): Ensure underflow exception occurs for underflowed
10773         result.
10774         * math/s_catanf.c: Include <float.h>.
10775         (__catanf): Ensure underflow exception occurs for underflowed
10776         result.
10777         * math/s_catanh.c: Include <float.h>.
10778         (__catanh): Ensure underflow exception occurs for underflowed
10779         result.
10780         * math/s_catanhf.c: Include <float.h>.
10781         (__catanhf): Ensure underflow exception occurs for underflowed
10782         result.
10783         * math/s_catanhl.c: Include <float.h>.
10784         (__catanhl): Ensure underflow exception occurs for underflowed
10785         result.
10786         * math/s_catanl.c: Include <float.h>.
10787         (__catanl): Ensure underflow exception occurs for underflowed
10788         result.
10789         * math/libm-test.inc (catan_test): Add more tests.
10790         (catanh_test): Likewise.
10792         [BZ #15405]
10793         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10794         underflowed result.
10795         * math/s_ccoshf.c (__ccoshf): Likewise.
10796         * math/s_ccoshl.c (__ccoshl): Likewise.
10797         * math/s_csin.c (__csin): Likewise.
10798         * math/s_csinf.c (__csinf): Likewise.
10799         * math/s_csinh.c (__csinh): Likewise.
10800         * math/s_csinhf.c (__csinhf): Likewise.
10801         * math/s_csinhl.c (__csinhl): Likewise.
10802         * math/s_csinl.c (__csinl): Likewise.
10803         * math/libm-test.inc (ccos_test): Add more tests.
10804         (ccosh_test): Likewise.
10805         (csin_test): Likewise.
10806         (csinh_test): Likewise.
10808 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10810         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10811         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10812         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10813         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10814         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10815         powerpc/power5+/fpu folders.
10816         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10819 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
10821         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10823 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
10825         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10826         additions to variable.
10827         [$(config-machine) = x86_64] (modules-names): Likewise.
10828         ($(objpfx)tst-audit3): Remove dependency.
10829         ($(objpfx)tst-audit3.out): Likewise.
10830         ($(objpfx)tst-audit4): Likewise.
10831         ($(objpfx)tst-audit4.out): Likewise.
10832         ($(objpfx)tst-audit5): Likewise.
10833         ($(objpfx)tst-audit5.out): Likewise.
10834         ($(objpfx)tst-audit6): Likewise.
10835         ($(objpfx)tst-audit6.out): Likewise.
10836         ($(objpfx)tst-audit7): Likewise.
10837         ($(objpfx)tst-audit7.out): Likewise.
10838         (tst-audit3-ENV): Remove variable.
10839         (tst-audit4-ENV): Likewise.
10840         (tst-audit5-ENV): Likewise.
10841         (tst-audit6-ENV): Likewise.
10842         (tst-audit7-ENV): Likewise.
10843         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10844         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10845         addition to variable.
10846         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10847         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10848         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10849         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10850         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10851         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10852         tst-audit3, tst-audit4 and tst-audit5.
10853         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10854         tst-audit6 and tst-audit7.
10855         [$(subdir) = elf] (modules-names): Add audit modules for those
10856         tests.
10857         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10858         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10859         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10860         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10861         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10862         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10863         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10864         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10865         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10866         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10867         [$(subdir) = elf] (tst-audit3-ENV): New variable.
10868         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10869         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10870         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10871         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10872         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10873         Likewise.
10874         [$(subdir) = elf && $(config-cflags-avx) = yes]
10875         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10876         [$(subdir) = elf && $(config-cflags-avx) = yes]
10877         (CFLAGS-tst-auditmod4a.c): Likewise.
10878         [$(subdir) = elf && $(config-cflags-avx) = yes]
10879         (CFLAGS-tst-auditmod4b.c): Likewise.
10880         [$(subdir) = elf && $(config-cflags-avx) = yes]
10881         (CFLAGS-tst-auditmod6b.c): Likewise.
10882         [$(subdir) = elf && $(config-cflags-avx) = yes]
10883         (CFLAGS-tst-auditmod6c.c): Likewise.
10884         [$(subdir) = elf && $(config-cflags-avx) = yes]
10885         (CFLAGS-tst-auditmod7b.c): Likewise.
10886         * elf/tst-audit3.c: Move to ...
10887         * sysdeps/x86_64/tst-audit3.c: ... here.
10888         * elf/tst-audit4.c: Move to ...
10889         * sysdeps/x86_64/tst-audit4.c: ... here.
10890         * elf/tst-audit5.c: Move to ...
10891         * sysdeps/x86_64/tst-audit5.c: ... here.
10892         * elf/tst-audit6.c: Move to ...
10893         * sysdeps/x86_64/tst-audit6.c: ... here.
10894         * elf/tst-audit7.c: Move to ...
10895         * sysdeps/x86_64/tst-audit7.c: ... here.
10896         * elf/tst-auditmod3a.c: Move to ...
10897         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10898         * elf/tst-auditmod3b.c: Move to ...
10899         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10900         * elf/tst-auditmod4a.c: Move to ...
10901         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10902         * elf/tst-auditmod4b.c: Move to ...
10903         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10904         * elf/tst-auditmod5a.c: Move to ...
10905         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10906         * elf/tst-auditmod5b.c: Move to ...
10907         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10908         * elf/tst-auditmod6a.c: Move to ...
10909         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10910         * elf/tst-auditmod6b.c: Move to ...
10911         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10912         * elf/tst-auditmod6c.c: Move to ...
10913         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10914         * elf/tst-auditmod7a.c: Move to ...
10915         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10916         * elf/tst-auditmod7b.c: Move to ...
10917         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10919 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
10921         [BZ #15366]
10922         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10923         define unconditionally.
10924         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10925         define unconditionally.
10926         (INT8_C, INT16_C, etc.): Likewise.
10928 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
10930         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10931         __ehdr_start with hidden visibility.
10933         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10935 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
10937         * math/libm-test.inc (cos_test): Use accurate hex constants.
10938         (sincost_test): Likewise.
10940 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
10942         * math/libm-test.inc (catan_test): Add more tests.
10943         (catanh_test): Likewise.
10945         * math/s_catanf.c (__catanf): Use suffixed floating-point
10946         constants.
10947         * math/s_catanhf.c (__catanhf): Likewise.
10948         * math/s_catanhl.c (__catanhl): Likewise.
10949         * math/s_catanl.c (__catanl): Likewise.
10951         [BZ #15394]
10952         * math/s_catan.c (__catan): Calculate imaginary part of result
10953         with log1p not log unless computing log of number close to 0.
10954         * math/s_catanf.c (__catanf): Likewise.
10955         * math/s_catanl.c (__catanl): Likewise.
10956         * math/s_catanh.c (__catanh): Calculate real part of result with
10957         log1p not log unless computing log of number close to 0.
10958         * math/s_catanhf.c (__catanhf): Likewise.
10959         * math/s_catanhl.c (__catanhl): Likewise.
10960         * math/libm-test.inc (catan_test): Add more tests.
10961         (catanh_test): Likewise.
10962         * sysdeps/i386/fpu/libm-test-ulps: Update.
10963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10965 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10967         * benchtests/Makefile: Mention files in which fast and slow
10968         paths of math functions are implemented.
10970 2013-04-23  Roland McGrath  <roland@hack.frob.com>
10972         * sysdeps/posix/timespec_get.c: New file.
10974 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10976         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10977         POWER.
10978         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10979         for POWER.
10980         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10981         powerpc/power5/fpu folders.
10982         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10983         * benchtests/Makefile: Add modf testcase.
10984         * benchtests/bench-modf.c: New file: Benchmark test for mo
10986 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
10988         [BZ #14888]
10989         * time/Makefile (tests): Add tst-strptime-whitespace.
10990         * time/strptime_l.c (get_number): Use ISSPACE.
10991         (__strptime_internal): Likewise.
10992         * time/tst-strptime-whitespace.c: New test case.
10994 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
10996         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10997         member.
10998         (_nss_files_init): Set it here.
11000 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
11002         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
11003         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
11004         unsigned.
11006 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
11008         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
11010 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
11012         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
11013         size just once.
11015 2013-04-21  David S. Miller  <davem@davemloft.net>
11017         * po/ru.po: Update Russion translation from translation project.
11019 2013-04-17  Adam Conrad  <adconrad@0c3.net>
11021         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
11022         and setfsgid.
11024 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
11026         * configure.in: Remove i386 configure warning. Remove i386 case.
11027         * configure: Regenerate.
11028         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
11029         Add example to error message.
11030         * sysdeps/i386/configure: Regenerate.
11032 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
11034         * benchtests/Makefile (bench): Add cos, tan, slowcos and
11035         slowtan.
11036         * benchtests/cos-inputs: New file.
11037         * benchtests/slowcos-inputs: New file.
11038         * benchtests/slowcos.c: New file.
11039         * benchtests/slowtan-inputs: New file.
11040         * benchtests/slowtan.c: New file.
11041         * benchtests/tan-inputs: New file.
11043 2013-04-16  Roland McGrath  <roland@hack.frob.com>
11045         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
11046         considered kosher.
11048 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11050         * benchtests/Makefile: Include cppflags-iterator.mk to add
11051         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
11053         * Makefile.in (bench-clean): New target.
11054         * benchtests/Makefile (bench-clean): Likewise.
11056 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
11058         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
11060 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
11062         * stdio-common/tstdiomisc.c: Fix coding-style violation.
11064 2013-04-15  Andreas Schwab  <schwab@suse.de>
11066         * nscd/grpcache.c (cache_addgr): Properly check for short write.
11067         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11068         * nscd/pwdcache.c (cache_addpw): Likewise.
11069         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
11070         more than recsize.
11072 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11074         * benchtests/Makefile (bench): Write all output to
11075         bench-out.tmp together.
11077 2013-04-15  Andreas Schwab  <schwab@suse.de>
11079         * nscd/nscd.c (main): Don't fork again after closing files.
11081 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11083         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
11085         * benchtests/Rules (bench-deps): Collect dependencies into a
11086         single variable.  Add Makefile to dependencies.
11087         ($(objpfx)bench-%.c): Depend on bench-deps.
11089 2013-04-12  Roland McGrath  <roland@hack.frob.com>
11090             Xavier Roche  <roche+kml2@exalead.com>
11092         [BZ #15361]
11093         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
11094         just that it's a file descriptor.
11095         * manual/llio.texi (Synchronizing AIO Operations): Update description
11096         for EBADF error from aio_fsync.
11098 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11100         * Rules (bench): Move target definition...
11101         * benchtests/Makefile: ... here.
11103 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
11105         * math/libm-test.inc (cos_test): Fix PI/2 test.
11106         (sincos_test): Likewise.
11107         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11108         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
11110 2013-04-11  Andreas Schwab  <schwab@suse.de>
11112         [BZ #13988]
11113         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
11114         accept exponent character only when digits were seen.
11115         * stdio-common/Makefile (tests): Add bug26.
11116         * stdio-common/bug26.c: New file.
11118         [BZ #14293]
11119         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
11120         non-freeable.
11122 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11124         * Makeconfig (rtld-prefix): Define built linker prefix.
11125         * Rules (run-bench): Use it.
11126         * math/Makefile (run-regen-ulps): Likewise.
11128         * Rules (bench): Remove eval.
11130 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11131             Roland McGrath  <roland@hack.frob.com>
11132             Ondrej Bilka  <neleai@seznam.cz>
11134         [BZ #15346]
11135         * time/getdate.c: Include ctype.h and alloca.h.
11136         (__getdate_r): Trim leading and trailing spaces of input.
11137         * time/tst-getdate.c (tests): Add tests with leading and
11138         trailing spaces.
11140 2013-04-08  Roland McGrath  <roland@hack.frob.com>
11142         [BZ #14280]
11143         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
11144         when computing value.
11146 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11148         * math/README.libm-test (How can I generate "libm-test-ulps"?):
11149         Use testrun.sh to run libm tests.
11151         [BZ #15309]
11152         * elf/dl-open.c (dl_open_worker): memset all of seen array.
11154 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
11156         [BZ #15264]
11157         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
11159 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11161         * Makefile.in (regen-ulps): New target.
11162         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
11163         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
11164         [ifneq (no,$(PERL)] (regen-ulps): New target.
11165         [ifeq (no,$(PERL)] (regen-ulps): New target.
11166         * math/libm-test.inc (ulps_file_name): Define.
11167         (output_dir): New variable.
11168         (options): Add "output-dir" option.
11169         (parse_opt): Handle 'o' case.
11170         (main): If output_dir is non-NULL use it as a prefix
11171         otherwise use "".
11172         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
11174 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11176         [BZ #10060, #10062]
11177         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
11178         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
11179         fail configure if __sync_val_compare_and_swap is not inlined.
11180         * sysdeps/i386/configure: Regenerate.
11181         * configure.in: Build for i686 when configured for i386.
11182         * configure: Regenerate.
11183         * README: Remove i386 reference.
11185 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11187         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
11188         * sysdeps/s390/s390-64/sysdep.h: Likewise.
11190 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
11192         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
11193         (lmsnanval): New variables.
11194         (F): Add conversion tests.
11195         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
11196         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
11198         * stdio-common/tstdiomisc.c (F): Properly collect individual
11199         tests' results.
11201         [BZ #14686, #15336]
11202         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
11203         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11204         Instead, use input NaN values or generate a qNaN by arithmetic
11205         operation.  Also fix bugs to comply with the standard.
11206         * math/libm-test.inc (remainder_test): Add more tests.
11208         [BZ #15335, #15342]
11209         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
11210         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
11211         input NaN values or generate a qNaN by arithmetic operation.
11213         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
11214         unreachable code.
11216         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
11217         definitions.
11219 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
11221         [BZ #14478]
11222         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
11223         underflowed result.
11224         * math/s_cexpf.c (__cexpf): Likewise.
11225         * math/s_cexpl.c (__cexpl): Likewise.
11226         * math/libm-test.inc (cexp_test): Add more tests.
11228 2013-04-03  Andreas Schwab  <schwab@suse.de>
11230         [BZ #15330]
11231         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
11232         order arrays from heap if bigger than alloca cutoff.
11234 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
11236         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
11237         (SNAN_TESTS_double): Refer to GCC PR56831.
11238         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
11239         GCC PR56828.
11241 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
11243         * Rules (bench): Move bench.out after the run is complete.
11245         * Rules (bench): Echo currently running benchmark.
11247         * benchtests/Makefile (bench): Add atan and slowatan.
11248         * benchtests/atan-inputs: New file.
11249         * benchtests/slowatan-inputs: New file.
11250         * benchtests/slowatan.c: New file.
11252         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
11253         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
11254         its value.
11256         [BZ #15305]
11257         * sysdeps/unix/sysv/linux/kernel-features.h
11258         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
11259         __ASSUME_XFS_RESTRICTED_CHOWN.
11260         * sysdeps/unix/sysv/linux/pathconf.c
11261         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
11262         Save and restore errno.
11264 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
11266         [BZ #15327]
11267         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
11268         arguments using __kernel_casinh.
11269         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
11270         arguments using __kernel_casinhf.
11271         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
11272         arguments using __kernel_casinhl.
11273         * math/libm-test.inc (cacosh_test): Add more tests.
11274         * sysdeps/i386/fpu/libm-test-ulps: Update.
11275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11277 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11279         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
11280         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
11282         * bench/Makefile (bench): Add sin and slowsin.
11283         * benchtests/sin-inputs: New file.
11284         * benchtests/slowsin-inputs: New file.
11285         * benchtests/slowsin.c: New file.
11287         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
11288         (bench): Add slowexp and slowpow.
11289         (exp-ITER): Increase iterations.
11290         (pow-ITER): Likewise.
11291         * benchtests/exp-inputs: Change input.
11292         * benchtests/pow-inputs: Likewise.
11293         * benchtests/slowexp-inputs: New file.
11294         * benchtests/slowexp.c: New file.
11295         * benchtests/slowpow-inputs: New file.
11296         * benchtests/slowpow.c: New file.
11298 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11300         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
11301         instructions.
11302         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11303         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
11304         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11305         * benchtests/Makefile: Add rint benchtest.
11306         * benchtests/rint-inputs: Input for rint benchtest.
11308 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
11310         * Versions.def (libm): Add GLIBC_2.18.
11311         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
11312         hidden libm prototypes.
11313         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
11314         * math/Makefile (libm-calls): Add s_issignaling.
11315         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
11316         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
11317         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
11318         declaration.
11319         * math/math.h [__USE_GNU] (issignaling): New macro.
11320         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
11321         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
11322         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
11323         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
11324         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
11325         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
11326         * manual/arith.texi (issignaling): New section.
11327         * manual/libm-err-tab.pl (@all_functions): Update comment.
11328         * math/gen-libm-test.pl (parse_args): Apply special handling for
11329         issignaling.
11330         * math/libm-test.inc (print_float, issignaling_test): New
11331         functions.
11332         (check_float_internal): Add issignaling checks.
11333         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
11334         default definition.
11335         * sysdeps/powerpc/math-tests.h: New file.
11336         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
11337         tests.
11338         * math/test-snan.c (TEST_FUNC): Likewise.
11340 2013-03-30  David S. Miller  <davem@davemloft.net>
11342         * po/de.po: Update from translation team.
11344 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
11346         [BZ #10357]
11347         * math/k_casinh.c (__kernel_casinh): Handle arguments with
11348         imaginary part less than 1.0 and real part less than 0.5
11349         specially.
11350         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11351         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11352         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
11353         (cacos_test): Add more tests.
11354         (casin_test): Likewise.
11355         (casinh_test): Likewise.
11356         * sysdeps/i386/fpu/libm-test-ulps: Update.
11357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11359 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11361         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
11362         ONE with its value.
11364         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
11365         (__pow_mp): Replace ONE and MONE with their values.
11366         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11367         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
11368         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11369         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
11370         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11371         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11373         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
11375         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
11376         (__pow_mp): Replace ZERO and MZERO with their values.
11377         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11378         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11379         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11380         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11381         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11382         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
11383         (__sqr): Likewise.
11385         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
11387         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
11389 2013-03-28  Roland McGrath  <roland@hack.frob.com>
11391         * include/stdlib.h [!SHARED] (__call_tls_dtors):
11392         Declare with __attribute__ ((weak)).
11393         * stdlib/exit.c (__libc_atexit) [!SHARED]:
11394         Call __call_tls_dtors only if it's not NULL.
11396 2013-03-28  Roland McGrath  <roland@hack.frob.com>
11398         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
11399         didn't do it already, then set _dl_phdr and _dl_phnum based on the
11400         magic __ehdr_start linker symbol if it's defined.
11401         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
11402         them up here if it was already done.
11404         * elf/dl-support.c (_dl_phdr): Make pointer to const.
11405         (_dl_aux_init): Use const in cast when setting it.
11406         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
11407         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
11408         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
11410         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
11411         Declare them here.
11412         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
11413         * csu/libc-tls.c: Nor here.
11414         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
11416         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
11417         (__libc_message): Never call vsyslog.
11419 2013-03-28  Alan Modra  <amodra@gmail.com>
11421         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
11422         Define as empty.
11423         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
11424         Likewise.
11426 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11428         [BZ #15214]
11429         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
11430         underflow.
11431         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11433 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11435         [BZ #15304]
11436         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11437         Don't add gid passed as argument.
11439         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
11441 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
11443         [BZ #15307]
11444         * math/k_casinh.c (__kernel_casinh): Handle arguments with
11445         imaginary part between 1.0 and 1.5 and real part less than 0.5
11446         specially.
11447         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11448         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11449         * math/libm-test.inc (cacos_test): Add more tests.
11450         (casin_test): Likewise.
11451         (casinh_test): Likewise.
11452         * sysdeps/i386/fpu/libm-test-ulps: Update.
11453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11455 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11457         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
11458         constants.
11459         (norm): Likewise.
11460         (denorm): Likewise.
11461         (__dbl_mp): Likewise.
11462         (add_magnitudes): Likewise.
11463         (sub_magnitudes): Likewise.
11464         (__add): Likewise.
11465         (__sub): Likewise.
11466         (__mul): Likewise.
11467         (__sqr): Likewise.
11468         (__inv): Likewise.
11469         (__dvd): Likewise.
11471         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
11472         commented code.
11473         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
11474         (__dubcos): Likewise.
11475         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
11476         (__ieee754_acos): Likewise.
11477         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11478         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
11479         (__exp1): Likewise.
11480         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11481         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11482         (log1): Likewise.
11483         (my_log2): Likewise.
11484         (checkint): Likewise.
11485         * sysdeps/ieee754/dbl-64/e_remainder.c
11486         (__ieee754_remainder): Likewise.
11487         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11488         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11489         (bsloww): Likewise.
11490         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11492         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11493         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
11494         MANTISSA_STORE_T to store computations on mantissa.  Use
11495         macros for rounding and division.
11496         (denorm): Likewise.
11497         (__dbl_mp): Likewise.
11498         (add_magnitudes): Likewise.
11499         (sub_magnitudes): Likewise.
11500         (__mul): Likewise.
11501         (__sqr): Likewise.
11502         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
11503         powers of two in terms of TWOPOW macro.
11504         (mp_no): Make type of mantissa as MANTISSA_T.
11505         [!RADIXI]: Define RADIXI.
11506         [!TWO52]: Define TWO52.
11507         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11509 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11511         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
11512         llroundl symbol when building for PPC32.
11514 2013-03-24  Mark H Weaver  <mhw@netris.org>
11516         * manual/arith.texi (Normalization Functions): Fix prototypes for
11517         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
11519 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11521         [BZ #13889]
11522         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
11523         high value to check if expl overflow.
11524         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
11525         to check for underflow and overflow.
11526         * math/libm-test.inc: Add exp test.
11528 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
11530         [BZ #11120]
11531         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
11532         with NOT_IN_libc.
11534 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11536         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
11537         symbol.
11539 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
11541         * math/gen-libm-test.pl (parse_args, special_functions): Properly
11542         wrap blocks consisting of several statements.
11544         * sysdeps/generic/math-tests.h: New file.
11545         * sysdeps/i386/fpu/math-tests.h: Likewise.
11546         * math/test-snan.c: Include it.
11547         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
11549 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
11551         [BZ #15285]
11552         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
11553         (__ieee754_j0l): Do not improve calculations using cos of twice
11554         input for inputs above LDBL_MAX / 2.0L.
11555         (__ieee754_y0l): Likewise.
11556         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
11557         (__ieee754_j1l): Do not improve calculations using cos of twice
11558         input for inputs above LDBL_MAX / 2.0L.
11559         (__ieee754_y1l): Likewise.
11560         * math/libm-test.inc (j0_test): Add another test.
11561         (j1_test): Likewise.
11562         (y0_test): Likewise.
11563         (y1_test): Likewise.
11564         * sysdeps/i386/fpu/libm-test-ulps: Update.
11566 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11568         * Rules ($(objpfx)bench-%.c): Include code from a C source
11569         file.
11571 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
11573         [BZ #15287]
11574         * math/k_casinh.c (__kernel_casinh): Handle arguments with
11575         imaginary part 1.0 and real part less than 0.5 specially.
11576         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11577         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11578         * math/libm-test.inc (cacos_test): Add more tests.
11579         (casin_test): Likewise.
11580         (casinh_test): Likewise.
11581         * sysdeps/i386/fpu/libm-test-ulps: Update.
11582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11584 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11586         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
11587         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
11589 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
11591         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
11592         * config.make.in (config-cflags-sse4): Remove variable.
11593         (config-cflags-avx): Likewise.
11594         (config-cflags-sse2avx): Likewise.
11595         (config-cflags-novzeroupper): Likewise.
11596         (config-asflags-i686): Likewise.
11597         (have-mfma4): Likewise.
11598         (have-as-vis3): Likewise.
11599         (MIG): Likewise.
11600         * configure.in (MIG): Do not AC_SUBST.
11601         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
11602         (libc_cv_cc_sse4): Do not AC_SUBST.
11603         (libc_cv_cc_avx): Likewise.
11604         (libc_cv_cc_sse2avx): Likewise.
11605         (libc_cv_cc_novzeroupper): Likewise.
11606         (libc_cv_cc_fma4): Likewise.
11607         (libc_cv_as_i686): Likewise.
11608         (libc_cv_sparc_as_vis3): Likewise.
11609         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
11610         LIBC_CONFIG_VAR.
11611         (config-asflags-i686): Likewise.
11612         (config-cflags-avx): Likewise.
11613         (config-cflags-sse2avx): Likewise.
11614         (have-mfma4): Likewise.
11615         (config-cflags-novzeroupper): Likewise.
11616         * sysdeps/mach/configure.in (MIG): Likewise.
11617         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
11618         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
11619         LIBC_CONFIG_VAR.
11620         (config-cflags-avx): Likewise.
11621         (config-cflags-sse2avx): Likewise.
11622         (have-mfma4): Likewise.
11623         (config-cflags-novzeroupper): Likewise.
11624         * configure: Regenerated.
11625         * sysdeps/i386/configure: Likewise.
11626         * sysdeps/mach/configure: Likewise.
11627         * sysdeps/sparc/configure: Likewise.
11628         * sysdeps/x86_64/configure: Likewise.
11630 2013-03-20  Roland McGrath  <roland@hack.frob.com>
11632         [BZ #14812]
11633         * locale/programs/localedef.c (options): Put N_ translation marker
11634         on argument names, not just descriptions.
11636 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11638         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
11640 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
11642         [BZ #14176]
11643         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
11645 2013-03-19  Roland McGrath  <roland@hack.frob.com>
11647         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
11648         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
11649         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
11650         [!BEFORE_ABORT] (before_abort): New function.
11651         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
11652         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
11653         (writev_for_fatal): New function.
11654         (WRITEV_FOR_FATAL): New macro; call that.
11655         (backtrace_and_maps): New function.
11656         (BEFORE_ABORT): New macro; call that.
11657         (struct str_list): Type removed.
11658         (__libc_message, __libc_fatal): Functions removed.
11659         Include <sysdeps/posix/libc_fatal.c> instead.
11661 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
11663         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
11664         constants.
11665         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
11666         double constants.
11668 2013-03-19  Andreas Schwab  <schwab@suse.de>
11670         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
11671         * sysdeps/gnu/configure: Regenerate.
11673         * configure.in: Substitute libc_cv_rtlddir.
11674         * configure: Regenerate.
11675         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
11676         * Makeconfig (rtlddir, inst_rtlddir): New variables.
11677         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
11678         * elf/Makefile (install-others, CFLAGS-interp.c)
11679         (ldso_install, common-ldd-rewrite): Likewise.
11680         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
11681         $(inst_slibdir)/$(rtld-installed-name).
11682         * scripts/rellns-sh: Add -p option.
11683         * Makerules (make-shlib-link): Use rellns-sh to get relative name
11684         for source.
11686 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11688         * manual/nptl.texi: Renamed to ...
11689         * manual/threads.texi: ... this.
11690         * manual/Makefile (chapters): Update.
11692 2013-03-18  Roland McGrath  <roland@hack.frob.com>
11694         [BZ #14812]
11695         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
11696         on argument names, not just descriptions.
11697         * malloc/memusagestat.c (options): Likewise.
11698         * nss/getent.c (options): Likewise.
11700 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
11702         [BZ #14812]
11703         * iconv/iconv_prog.c (options): Put N_ translation marker
11704         on argument names, not just descriptions.
11705         * iconv/iconvconfig.c (options): Likewise.
11707 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
11709         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
11710         implementation which is faster on all x86_64 architectures.
11711         Tested on AMD, Intel Nehalem, SNB, IVB.
11712         * sysdeps/x86_64/strnlen.S: Likewise.
11714         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11715         Remove all multiarch strlen and strnlen versions.
11716         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11717         Remove strlen and strnlen related parts.
11719         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
11720         Inline strlen part.
11721         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11723         * sysdeps/x86_64/multiarch/strlen.S: Remove.
11724         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
11725         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
11726         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
11727         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11728         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
11730 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
11732         * manual/memory.texi (Malloc Tunable Parameters):
11733         Sort parameters alphabetically. Add comments for missing entries.
11735 2013-03-17  David S. Miller  <davem@davemloft.net>
11737         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11739 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
11741         [BZ #15283]
11742         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11743         for arguments at most half maximum finite value.
11744         * math/libm-test.inc (j0_test): Add more tests.
11745         (j1_test): Likewise.
11746         (y0_test): Likewise.
11747         (y1_test): Likewise.
11748         * sysdeps/i386/fpu/libm-test-ulps: Update.
11749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11751         [BZ #14155]
11752         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11753         1 / x and functions P and Q for arguments above 0x1p256L.
11754         (__ieee754_y0l): Likewise.
11755         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11756         (__ieee754_y1l): Likewise.
11757         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11758         (j1_test): Likewise.
11759         (y0_test): Likewise.
11760         (y1_test): Likewise.
11762 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
11764         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11765         variable.
11767 2013-03-15  Roland McGrath  <roland@hack.frob.com>
11769         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11770         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11771         zero since it's initialized to EXEC_PAGESIZE.
11773         * sysdeps/unix/sysv/linux/ldsodefs.h
11774         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11775         * sysdeps/generic/ldsodefs.h: ... here.
11777 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
11779         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11781         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11782         math/test-snan.c.
11783         * math/test-snan.c: Renamed from
11784         sysdeps/powerpc/fpu/test-powerpc-snan.c.
11785         * math/Makefile (tests): Add test-snan.
11786         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11787         test-powerpc-snan.
11789         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11790         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
11791         functions.
11792         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
11793         __builtin_nan family of functions.
11794         * math/libm-test.inc (initialize): Initialize qnan_value with
11795         __builtin_nan family of functions.
11796         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11797         Remove variables.
11798         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11799         Remove functions.
11800         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
11801         storage class.  Initialize qNaN_var and sNaN_var with
11802         __builtin_nan and __builtin_nans families of functions,
11803         respectively.
11805         * math/libm-test.inc (acosh_test): Also test with qNaN input.
11806         (sqrt_test): Remove duplicate test with qNaN input.
11807         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11808         (round_test, signbit_test, significand_test): Note missing +/-Inf
11809         as well as qNaN tests.
11811         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11812         qNaN_var.  Fix a few strings, too.
11813         * math/libm-test.inc (nan_value): Rename to qnan_value.
11814         * math/gen-libm-test.pl (%beautify): Adjust to that.
11815         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11816         * math/test-misc.c (main): Likewise.
11817         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11818         to __qnan_bytes, and __qnan_union, respectively.
11819         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11820         Likewise.
11821         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11822         and lqnanval, respectively.
11823         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11824         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11825         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11826         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11828         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11829         * math/test-misc.c (main) [__x86_64__]: Enable test for long
11830         doubles.
11832         * math/test-misc.c (main): Fix copy'n'pastos.
11833         * misc/tst-efgcvt.c (special): Likewise.
11835         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11836         Remove declarations.
11838 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11840         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11841         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11842         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11843         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11845 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11847         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11848         macro to return vdso values correctly in IFUNC implementations.
11849         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11850         Optimization by using IFUNC.
11852 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11853             Richard Henderson  <rth@redhat.com>
11854             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11856         * Makefile.in (bench): New target.
11857         * NEWS: Mention the benchmark framework.
11858         * Rules (bench): Likewise.
11859         (binaries-bench): Generate binaries for functions to
11860         benchmark.
11861         * benchtests/Makefile: New makefile for benchmark tests.
11862         * benchtests/bench-skeleton.c: New skeleton file for benchmark
11863         programs.
11864         * benchtests/exp-inputs: New input file for EXP function.
11865         * benchtests/pow-inputs: New input file for POW function.
11866         * scripts/bench.pl: New script to generate source files for
11867         benchmark programs.
11869 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11871         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11872         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11873         computations on mantissa.  Use macros for rounding and
11874         division.
11875         (denorm): Likewise.
11876         (__dbl_mp): Likewise.
11877         (add_magnitudes): Likewise.
11878         (sub_magnitudes): Likewise.
11879         (__mul): Likewise.
11880         (__sqr): Likewise.
11881         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
11882         powers of two in terms of TWOPOW macro.
11883         (mp_no): Make type of mantissa as MANTISSA_T.
11884         [!RADIXI]: Define RADIXI.
11885         [!TWO52]: Define TWO52.
11886         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11888         * manual/nptl.texi (cindex): Modify threads to pthreads.
11890 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
11892         * sysdeps/x86_64/preconfigure: Regenerated.
11894 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
11896         [BZ #14155]
11897         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11898         0x1p28 and above.
11899         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11900         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11901         0x1p28 and above.
11902         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11903         * math/libm-test.inc (j0_test): Do not allow one spurious
11904         underflow exception.
11905         (y1_test): Likewise.
11907 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11909         * manual/Makefile (chapters): Add nptl.
11910         * manual/debug.texi (Debugging Support): Add link to Threads
11911         chapter.
11912         * manual/nptl.texi: New file.
11914         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11916 2013-03-14  Petr Baudis  <pasky@ucw.cz>
11918         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11919         for non-NULL pointer before the memory validity test. Pointed
11920         out by Holger Brunck <holger.brunck@keymile.com>.
11922 2013-03-13  Andreas Schwab  <schwab@suse.de>
11924         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11925         instead of .os.
11927 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
11929         * timezone/zic.c: Update from tzcode 2013b.
11931 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
11933         * manual/install.texi (Configuring and compiling):
11934         Mention i686 and i586.
11935         * INSTALL: Regenerate.
11937 2013-03-12  Roland McGrath  <roland@hack.frob.com>
11939         * sysdeps/init_array/elf-init.c: New file.
11940         * csu/elf-init.c
11941         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11942         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11944         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11945         __gmon_start__ as global, but as static with a .preinit_array pointer.
11946         * sysdeps/init_array/gmon-start.c: New file.  Use that.
11947         * sysdeps/init_array/crti.S: New file, empty except for comments.
11948         * sysdeps/init_array/crtn.S: Likewise.
11950 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
11952         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11953         definining bcopy.
11954         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11955         Remove Prefer_SSE_for_memop.
11956         * sysdeps/x86_64/multiarch/init-arch.h: Remove
11957         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11958         HAS_PREFER_SSE_FOR_MEMOP.
11959         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11960         memset-x86-64.
11961         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11962         Remove bzero, memset ifunc support.
11963         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11964         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11965         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11966         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11968 2013-03-11  Andreas Schwab  <schwab@suse.de>
11970         [BZ #15234]
11971         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11972         by SHLIB_COMPAT.
11973         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11974         (GLIBC_2.16): Remove pthread_atfork.
11976 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
11978         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11979         (ptestcases.h): Likewise.
11981 2013-03-08  Roland McGrath  <roland@hack.frob.com>
11983         * Makeconfig ($(common-objpfx)config.status): Depend on
11984         sysdeps/*/preconfigure{,.in} too.
11986 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
11988         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11989         (__free_hook): Use void * instead of __malloc_ptr_t.
11990         (__malloc_hook): Likewise.
11991         (__realloc_hook): Likewise.
11992         (__memalign_hook): Likewise.
11993         (__after_morecore_hook): Likewise.
11994         * malloc/arena.c (save_malloc_hook): Likewise.
11995         (save_free_hook): Likewise.
11996         * malloc/hooks.c (malloc_hook_ini): Likewise.
11997         (realloc_hook_ini): Likewise.
11998         (memalign_hook_ini): Likewise.
11999         * malloc/malloc.c (malloc_hook_ini): Likewise.
12000         (realloc_hook_ini): Likewise.
12001         (memalign_hook_ini): Likewise.
12002         (__free_hook): Likewise.
12003         (__malloc_hook): Likewise.
12004         (__realloc_hook): Likewise.
12005         (__memalign_hook): Likewise.
12006         (__libc_malloc): Likewise.
12007         (__libc_free): Likewise.
12008         (__libc_realloc): Likewise.
12009         (__libc_memalign): Likewise.
12010         (__libc_valloc): Likewise.
12011         (__libc_pvalloc): Likewise.
12012         (__libc_calloc): Likewise.
12013         (__posix_memalign): Likewise.
12014         * malloc/morecore.c (__sbrk): Likewise.
12015         (__default_morecore): Likewise.
12017         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
12019         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
12020         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
12021         __malloc_ptrdiff_t.
12023         * malloc/malloc.h (__malloc_size_t): Remove macro.
12024         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
12025         __malloc_size_t.
12026         (old_memalign_hook): Likewise.
12027         (old_realloc_hook): Likewise.
12028         (struct hdr): Likewise.
12029         (flood): Likewise.
12030         (mallochook): Likewise.
12031         (memalignhook): Likewise.
12032         (reallochook): Likewise.
12033         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
12034         (tr_old_realloc_hook): Likewise.
12035         (tr_old_memalign_hook): Likewise.
12036         (tr_mallochook): Likewise.
12037         (tr_reallochook): Likewise.
12038         (tr_memalignhook): Likewise.
12040 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12042         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
12043         default_ldbl_pack and using as default implementation.
12044         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
12045         implementation.
12046         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
12047         redundant definition.
12048         (ldbl_insert_mantissa): Likewise.
12049         (ldbl_canonicalize): Likewise.
12050         (ldbl_nearbyint): Likewise.
12051         (ldbl_pack): Rename to ldbl_pack_ppc.
12052         (ldbl_unpack): Rename to ldbl_unpack_ppc.
12053         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
12054         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
12056 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
12058         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
12059         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
12060         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
12061         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
12062         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
12063         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
12064         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
12065         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
12067 2013-03-07  Andreas Jaeger  <aj@suse.de>
12069         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12070         bits/mman-linux.h.
12072 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
12074         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
12075         Include mpa.h and declare __MPEXP.
12076         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
12077         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12078         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
12079         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
12080         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12081         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
12082         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
12084         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
12085         (__slowpow): Use long double EXPL and LOGL functions to
12086         compute POW.
12087         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12088         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12089         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
12090         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12091         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12092         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
12094         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
12095         intermediate variable to calculate exponent.
12096         (__sqr): Likewise.
12097         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12098         Likewise.
12099         (__sqr): Likewise.
12101         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
12102         [!NO__SQR]: Define __sqr.
12103         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
12104         and NO__SQR.  Remove all code except __mul and __sqr.  Include
12105         sysdeps/ieee754/dbl-64/mpa.c.
12106         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12108         [BZ #12723]
12109         * posix/Makefile (tests): Add tst-pathconf.
12110         * posix/tst-pathconf.c: New test case.
12111         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
12112         _PC_PIPE_BUF.
12113         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
12115 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
12117         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
12119 2013-03-06  Andreas Jaeger  <aj@suse.de>
12121         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
12122         definition via __MAP_ANONYMOUS.
12124         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
12125         it's not part of Linux headers.
12127         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
12128         (MAP_HUGE_MASK): Define.
12130         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12131         Define.
12132         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12133         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12134         Define.
12135         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12136         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12137         Define.
12138         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12139         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
12140         Define.
12141         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12143         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
12144         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
12145         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
12146         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
12147         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
12148         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
12150         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12151         Handle f2fs.
12153         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12154         Handle f2fs and efivarfs.
12156         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
12157         f2fs.
12159         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
12160         (EFIVARFS_MAGIC): Add.
12161         (F2FS_LINK_MAX): Add.
12163 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
12165         * stdio-common/vfprintf.c: Replace __builtin_expect with
12166         __glibc_unlikely.
12168 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
12170         [BZ #13550]
12171         * sysdeps/generic/bp-sym.h: Remove file.
12172         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
12173         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
12174         <bp-sym.h> and <bp-asm.h>.
12175         (__longjmp): Don't use BP_SYM.
12176         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
12177         and <bp-asm.h>.
12178         (memcpy): Don't use BP_SYM.
12179         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
12180         <bp-sym.h> and <bp-asm.h>.
12181         (memcpy): Don't use BP_SYM.
12182         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
12183         <bp-asm.h>.
12184         (memcpy): Don't use BP_SYM.
12185         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
12186         <bp-asm.h>.
12187         (memset): Don't use BP_SYM.
12188         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12189         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12190         (__bzero): Don't use BP_SYM.
12191         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12192         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12193         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
12194         <bp-sym.h> and <bp-asm.h>.
12195         (memcmp): Don't use BP_SYM.  Remove comment about bounded
12196         pointers.
12197         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
12198         <bp-sym.h> and <bp-asm.h>.
12199         (memcpy): Don't use BP_SYM.
12200         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
12201         <bp-sym.h> and <bp-asm.h>.
12202         (memset): Don't use BP_SYM.
12203         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12204         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12205         (__bzero): Don't use BP_SYM.
12206         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12207         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12208         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
12209         <bp-sym.h> and <bp-asm.h>.
12210         (strncmp): Don't use BP_SYM.  Remove comment about bounded
12211         pointers.
12212         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
12213         <bp-sym.h> and <bp-asm.h>.
12214         (memcpy): Don't use BP_SYM.
12215         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
12216         <bp-sym.h> and <bp-asm.h>.
12217         (memset): Don't use BP_SYM.
12218         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12219         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12220         (__bzero): Don't use BP_SYM.
12221         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12222         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12223         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
12224         <bp-sym.h> and <bp-asm.h>.
12225         (__memchr): Don't use BP_SYM.
12226         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
12227         <bp-sym.h> and <bp-asm.h>.
12228         (memcmp): Don't use BP_SYM.  Remove comment about bounded
12229         pointers.
12230         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
12231         <bp-sym.h> and <bp-asm.h>.
12232         (memcpy): Don't use BP_SYM.
12233         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
12234         <bp-sym.h> and <bp-asm.h>.
12235         (__mempcpy): Don't use BP_SYM.
12236         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
12237         <bp-sym.h> and <bp-asm.h>.
12238         (__memrchr): Don't use BP_SYM.
12239         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
12240         <bp-sym.h> and <bp-asm.h>.
12241         (memset): Don't use BP_SYM.
12242         (__bzero): Likewise.
12243         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
12244         <bp-sym.h> and <bp-asm.h>.
12245         (__rawmemchr): Don't use BP_SYM.
12246         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
12247         <bp-sym.h> and <bp-asm.h>.
12248         (__STRCMP): Don't use BP_SYM.
12249         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
12250         <bp-sym.h> and <bp-asm.h>.
12251         (strchr): Don't use BP_SYM.
12252         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
12253         <bp-sym.h> and <bp-asm.h>.
12254         (__strchrnul): Don't use BP_SYM.
12255         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
12256         <bp-sym.h> and <bp-asm.h>.
12257         (strlen): Don't use BP_SYM.
12258         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
12259         <bp-sym.h> and <bp-asm.h>.
12260         (strncmp): Don't use BP_SYM.  Remove comment about bounded
12261         pointers.
12262         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
12263         <bp-sym.h> and <bp-asm.h>.
12264         (__strnlen): Don't use BP_SYM.
12265         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
12266         <bp-sym.h> and <bp-asm.h>.
12267         (__GI__setjmp): Don't use BP_SYM.
12268         (_setjmp): Likewise.
12269         (__sigsetjmp): Likewise.
12270         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
12271         (L(start_addresses)): Don't use BP_SYM.
12272         (_start): Likewise.
12273         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
12274         <bp-asm.h>.
12275         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
12276         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
12277         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12278         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12279         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
12280         <bp-asm.h>.
12281         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
12282         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
12283         about bounded pointers.
12284         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12285         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12286         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
12287         <bp-asm.h>.
12288         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
12289         about bounded pointers.  Remove GKM FIXME comments.
12290         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12291         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
12292         <bp-asm.h>.
12293         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
12294         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
12295         Remove GKM FIXME comments.
12296         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12297         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12298         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
12299         <bp-asm.h>.
12300         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
12301         about bounded pointers.  Remove GKM FIXME comment.
12302         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
12303         and <bp-asm.h>.
12304         (strncmp): Don't use BP_SYM.  Remove comment about bounded
12305         pointers.
12306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
12307         <bp-sym.h> and <bp-asm.h>.
12308         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
12310         <bp-sym.h> and <bp-asm.h>.
12311         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
12312         comment.
12314 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
12316         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
12317         call free(NULL).
12319 2013-03-05  David S. Miller  <davem@davemloft.net>
12321         * po/es.po: Update from translation team.
12323 2013-03-05  Andreas Jaeger  <aj@suse.de>
12325         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
12326         <bits/mman-linux.h>.
12327         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12328         is fine.
12329         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
12330         <bits/mman-linux.h> to end of file.
12331         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12332         is fine.
12333         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
12334         <bits/mman-linux.h> to end of file.
12335         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12336         is fine.
12337         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
12338         <bits/mman-linux.h> to end of file.
12340         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
12341         (MCL_CURRENT, MCL_FUTURE): Define here.
12343 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12345         [BZ #15232]
12346         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
12347         attribute_hidden.
12348         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12350 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12352         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
12353         fourth parameter needed for rt_sigprocmask syscall.
12354         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12355         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12356         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
12357         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12358         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12359         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
12361 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
12363         [BZ #13550]
12364         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
12365         comment about bounded pointers.
12366         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
12367         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
12369 2013-03-04  Andreas Jaeger  <aj@suse.de>
12371         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
12372         common definitions.
12374         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
12375         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
12376         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
12377         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12378         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12379         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12381 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12383         [BZ #15055]
12384         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
12385         __ieee754_sqrl instead of __sqrl.
12387 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
12389         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
12390         * sysdeps/powerpc/fpu_control.h: ... here.
12391         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
12392         * sysdeps/powerpc/bits/fenvinline.h: ... here.
12393         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
12394         * sysdeps/powerpc/bits/mathinline.h: ... here.
12396 2013-03-01  Roland McGrath  <roland@hack.frob.com>
12398         * elf/dl-hwcaps.c (_dl_important_hwcaps):
12399         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
12400         to just [NEED_DL_SYSINFO_DSO].
12401         * elf/dl-support.c: Likewise.
12402         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12403         * elf/rtld.c (dl_main): Likewise.
12404         * elf/setup-vdso.h (setup_vdso): Likewise.
12405         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
12406         * sysdeps/unix/sysv/linux/dl-sysdep.c
12407         (_dl_discover_osversion): Likewise.
12409 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
12411         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
12412         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12414 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
12416         * NEWS: Mention libm performance improvements and non-x86 PI
12417         futex support.
12419         * csu/libc-start.c (__pthread_initialize_minimal): Change
12420         function arguments.
12421         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12423 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
12425         [BZ #13550]
12426         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
12427         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
12428         <bp-sym.h> and <bp-asm.h>.
12429         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12430         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
12431         and <bp-asm.h>.
12432         (memcpy): Don't use BP_SYM.
12433         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
12434         <bp-asm.h>.
12435         (__mpn_add_n): Don't use BP_SYM.
12436         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
12437         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
12438         and <bp-asm.h>.
12439         (__mpn_addmul_1): Don't use BP_SYM.
12440         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12441         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
12442         <bp-sym.h>.
12443         (_setjmp): Don't use BP_SYM.
12444         (__novmx_setjmp): Likewise.
12445         (__GI__setjmp): Likewise.
12446         (__vmx_setjmp): Likewise.
12447         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
12448         <bp-sym.h>.
12449         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
12450         (__bzero): Don't use BP_SYM.
12451         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12452         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12453         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
12454         <bp-sym.h> and <bp-asm.h>.
12455         (memcpy): Don't use BP_SYM.
12456         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
12457         <bp-sym.h> and <bp-asm.h>.
12458         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12459         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
12460         <bp-sym.h> and <bp-asm.h>.
12461         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12462         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
12463         <bp-asm.h>.
12464         (__mpn_lshift): Don't use BP_SYM.
12465         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12466         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
12467         <bp-asm.h>.
12468         (memset): Don't use BP_SYM.
12469         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12470         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12471         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
12472         <bp-asm.h>.
12473         (__mpn_mul_1): Don't use BP_SYM.
12474         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12475         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
12476         <bp-sym.h> and <bp-asm.h>.
12477         (memcmp): Don't use BP_SYM.
12478         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
12479         <bp-sym.h> and <bp-asm.h>.
12480         (memcpy): Don't use BP_SYM.
12481         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
12482         <bp-sym.h> and <bp-asm.h>.
12483         (memset): Don't use BP_SYM.
12484         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
12485         <bp-sym.h> and <bp-asm.h>.
12486         (strncmp): Don't use BP_SYM.
12487         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
12488         <bp-sym.h> and <bp-asm.h>.
12489         (memcpy): Don't use BP_SYM.
12490         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
12491         <bp-sym.h> and <bp-asm.h>.
12492         (memset): Don't use BP_SYM.
12493         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
12494         <bp-sym.h> and <bp-asm.h>.
12495         (__memchr): Don't use BP_SYM.
12496         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
12497         <bp-sym.h> and <bp-asm.h>.
12498         (memcmp): Don't use BP_SYM.
12499         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
12500         <bp-sym.h> and <bp-asm.h>.
12501         (memcpy): Don't use BP_SYM.
12502         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
12503         <bp-sym.h> and <bp-asm.h>.
12504         (__mempcpy): Don't use BP_SYM.
12505         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
12506         <bp-sym.h> and <bp-asm.h>.
12507         (__memrchr): Don't use BP_SYM.
12508         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
12509         <bp-sym.h> and <bp-asm.h>.
12510         (memset): Don't use BP_SYM.
12511         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
12512         <bp-sym.h> and <bp-asm.h>.
12513         (__rawmemchr): Don't use BP_SYM.
12514         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
12515         <bp-sym.h> and <bp-asm.h>.
12516         (__STRCMP): Don't use BP_SYM.
12517         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
12518         <bp-sym.h> and <bp-asm.h>.
12519         (strchr): Don't use BP_SYM.
12520         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
12521         <bp-sym.h> and <bp-asm.h>.
12522         (__strchrnul): Don't use BP_SYM.
12523         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
12524         <bp-sym.h> and <bp-asm.h>.
12525         (strlen): Don't use BP_SYM.
12526         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
12527         <bp-sym.h> and <bp-asm.h>.
12528         (strncmp): Don't use BP_SYM.
12529         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
12530         <bp-sym.h> and <bp-asm.h>.
12531         (__strnlen): Don't use BP_SYM.
12532         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
12533         <bp-asm.h>.
12534         (__mpn_rshift): Don't use BP_SYM.
12535         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12536         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
12537         <bp-sym.h> and <bp-asm.h>.
12538         (__sigsetjmp): Don't use BP_SYM.
12539         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
12540         (L(start_addresses)): Don't use BP_SYM.
12541         (_start): Likewise.
12542         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
12543         <bp-asm.h>.
12544         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
12545         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12546         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12547         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
12548         <bp-asm.h>.
12549         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
12550         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12551         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12552         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
12553         <bp-asm.h>.
12554         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
12555         comments.
12556         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12557         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
12558         <bp-asm.h>.
12559         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
12560         FIXME comments.
12561         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12562         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12563         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
12564         <bp-asm.h>.
12565         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
12566         comment.
12567         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
12568         and <bp-asm.h>.
12569         (strncmp): Don't use BP_SYM,
12570         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
12571         <bp-asm.h>.
12572         (__mpn_sub_n): Don't use BP_SYM.
12573         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12574         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
12575         and <bp-asm.h>.
12576         (__mpn_submul_1): Don't use BP_SYM.
12577         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
12579         <bp-sym.h> and <bp-asm.h>.
12580         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
12582         <bp-sym.h> and <bp-asm.h>.
12583         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
12584         comment.
12586 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12588         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
12589         Use ZK to minimize writes to Z.
12590         (sub_magnitudes): Simplify code a bit.
12591         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
12592         Use ZK to minimize writes to Z.
12593         (sub_magnitudes): Simplify code a bit.
12595 2013-02-27  Roland McGrath  <roland@hack.frob.com>
12597         * csu/gmon-start.c: Add special exception to license text.
12599 2013-02-27  Richard Henderson  <rth@redhat.com>
12601         * scripts/config.guess: Update from config.git.
12602         * scripts/config.sub: Likewise.
12604 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12606         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
12608         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
12610         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
12612         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
12614         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
12616 2013-02-26  Roland McGrath  <roland@hack.frob.com>
12618         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
12619         [$(build-shared = yes].
12621 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12623         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
12624         (__mul): Reduce iterations for calculating mantissa.
12626         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
12627         MPTWO.
12628         (__mpranred): Likewise.
12630         [BZ #15160]
12631         * malloc/memusagestat.c (main): Draw graphs for heap and stack
12632         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
12634 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
12636         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
12637         Define __attribute__.
12639 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12641         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
12642         unused.
12643         * posix/regex_internal.h (__attribute): Remove.
12644         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
12645         (re_string_context_at): Likewise.
12646         (bitset_not): Use __attribute__ and mark function as possibly
12647         unused.
12648         (bitset_merge): Likewise.
12649         (bitset_mask): Likewise.
12650         (re_string_char_size_at): Likewise.
12651         (re_string_wchar_at): Likewise.
12652         (re_string_elem_size_at): Likewise.
12654 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
12656         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
12657         code.
12658         (cc32): Likewise.
12660         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
12661         (__acr): Likewise.
12662         (__cpy): Likewise.
12663         (norm): Likewise.
12664         (denorm): Likewise.
12665         (__dbl_mp): Likewise.
12666         (add_magnitudes): Likewise.
12667         (sub_magnitudes): Likewise.
12668         (__mul): Likewise.
12669         (__inv): Likewise.
12671         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
12672         style.
12674         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
12675         style.
12677         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
12678         code.
12680         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
12681         up changes with default code.
12682         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
12683         Likewise.
12685 2013-02-24  Allan McRae  <allan@archlinux.org>
12687         * manual/socket.texi (The Internet Namespace): Order menu items
12688         to match that in the file.
12690         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
12691         node listing of the info page menu.
12693 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
12695         [BZ #13550]
12696         * sysdeps/i386/bp-asm.h: Remove file.
12697         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12698         (PARMS): Do not use macros from bp-asm.h.
12699         (S1): Likewise.
12700         (S2): Likewise.
12701         (SIZE): Likewise.
12702         (__mpn_add_n): Do not use BP_SYM
12703         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
12704         "bp-asm.h".
12705         (PARMS): Do not use macros from bp-asm.h.
12706         (S1): Likewise.
12707         (SIZE): Likewise.
12708         (__mpn_addmul_1): Do not use BP_SYM
12709         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
12710         "bp-asm.h".
12711         (PARMS): Do not use macros from bp-asm.h.
12712         (SIGMSK): Likewise.
12713         (_setjmp): Likewise.  Do not use BP_SYM.
12714         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
12715         "bp-asm.h".
12716         (PARMS): Do not use macros from bp-asm.h.
12717         (SIGMSK): Likewise.
12718         (setjmp): Likewise.  Do not use BP_SYM.
12719         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
12720         "bp-asm.h".
12721         (PARMS): Do not use macros from bp-asm.h.
12722         (__frexp): Do not use BP_SYM.
12723         (frexp): Likewise.
12724         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
12725         "bp-asm.h".
12726         (PARMS): Do not use macros from bp-asm.h.
12727         (__frexpf): Do not use BP_SYM.
12728         (frexpf): Likewise.
12729         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
12730         "bp-asm.h".
12731         (PARMS): Do not use macros from bp-asm.h.
12732         (__frexpl): Do not use BP_SYM.
12733         (frexpl): Likewise.
12734         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
12735         "bp-asm.h".
12736         (PARMS): Do not use macros from bp-asm.h.
12737         (__remquo): Do not use BP_SYM.
12738         (remquo): Likewise.
12739         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12740         "bp-asm.h".
12741         (PARMS): Do not use macros from bp-asm.h.
12742         (__remquof): Do not use BP_SYM.
12743         (remquof): Likewise.
12744         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12745         "bp-asm.h".
12746         (PARMS): Do not use macros from bp-asm.h.
12747         (__remquol): Do not use BP_SYM.
12748         (remquol): Likewise.
12749         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12750         "bp-asm.h".
12751         (PARMS): Do not use macros from bp-asm.h.
12752         (DEST): Likewise.
12753         (SRC): Likewise.
12754         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
12755         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12756         "bp-asm.h".
12757         (PARMS): Do not use macros from bp-asm.h.
12758         (strlen): Do not use BP_SYM.
12759         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12760         "bp-asm.h".
12761         (PARMS): Do not use macros from bp-asm.h.
12762         (S1): Likewise.
12763         (S2): Likewise.
12764         (SIZE): Likewise.
12765         (__mpn_add_n): Do not use BP_SYM.
12766         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12767         "bp-asm.h".
12768         (PARMS): Do not use macros from bp-asm.h.
12769         (S1): Likewise.
12770         (SIZE): Likewise.
12771         (__mpn_addmul_1): Do not use BP_SYM.
12772         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12773         weak_alias.
12774         (bzero): Likewise.
12775         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12776         "bp-asm.h".
12777         (PARMS): Do not use macros from bp-asm.h.
12778         (S): Likewise.
12779         (SIZE): Likewise.
12780         (__mpn_lshift): Do not use BP_SYM.
12781         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12782         "bp-asm.h".
12783         (PARMS): Do not use macros from bp-asm.h.
12784         (DEST): Likewise.
12785         (SRC): Likewise.
12786         (LEN): Likewise.
12787         (memcpy): Likewise.  Do not use BP_SYM.
12788         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12789         libc_hidden_def and weak_alias.
12790         (mempcpy): Do not use BP_SYM in weak_alias.
12791         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12792         "bp-asm.h".
12793         (PARMS): Do not use macros from bp-asm.h.
12794         (DEST): Likewise.
12795         (LEN): Likewise.
12796         [!BZERO_P] (CHR): Likewise.
12797         (memset): Likewise.  Do not use BP_SYM.
12798         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12799         "bp-asm.h".
12800         (PARMS): Do not use macros from bp-asm.h.
12801         (S1): Likewise.
12802         (SIZE): Likewise.
12803         (__mpn_mul_1): Do not use BP_SYM.
12804         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12805         "bp-asm.h".
12806         (PARMS): Do not use macros from bp-asm.h.
12807         (S): Likewise.
12808         (SIZE): Likewise.
12809         (__mpn_rshift): Do not use BP_SYM.
12810         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12811         "bp-asm.h".
12812         (PARMS): Do not use macros from bp-asm.h.
12813         (STR): Likewise.
12814         (CHR): Likewise.
12815         (strchr): Likewise.  Do not use BP_SYM.
12816         (index): Do not use BP_SYM in weak_alias.
12817         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12818         "bp-asm.h".
12819         (PARMS): Do not use macros from bp-asm.h.
12820         (DEST): Likewise.
12821         (SRC): Likewise.
12822         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
12823         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12824         "bp-asm.h".
12825         (PARMS): Do not use macros from bp-asm.h.
12826         (strlen): Do not use BP_SYM.
12827         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12828         "bp-asm.h".
12829         (PARMS): Do not use macros from bp-asm.h.
12830         (S1): Likewise.
12831         (S2): Likewise.
12832         (SIZE): Likewise.
12833         (__mpn_sub_n): Do not use BP_SYM.
12834         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12835         "bp-asm.h".
12836         (PARMS): Do not use macros from bp-asm.h.
12837         (S1): Likewise.
12838         (SIZE): Likewise.
12839         (__mpn_submul_1): Do not use BP_SYM.
12840         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12841         "bp-asm.h".
12842         (PARMS): Do not use macros from bp-asm.h.
12843         (S1): Likewise.
12844         (S2): Likewise.
12845         (SIZE): Likewise.
12846         (__mpn_add_n): Do not use BP_SYM.
12847         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12848         weak_alias.
12849         (bzero): Likewise.
12850         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12851         "bp-asm.h".
12852         (PARMS): Do not use macros from bp-asm.h.
12853         (BLK2): Likewise.
12854         (LEN): Likewise.
12855         (memcmp): Do not use BP_SYM.
12856         (bcmp): Do not use BP_SYM in weak_alias.
12857         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12858         "bp-asm.h".
12859         (PARMS): Do not use macros from bp-asm.h.
12860         (DEST): Likewise.
12861         (SRC): Likewise.
12862         (LEN): Likewise.
12863         (memcpy): Likewise.  Do not use BP_SYM.
12864         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12865         "bp-asm.h".
12866         (PARMS): Do not use macros from bp-asm.h.
12867         (DEST): Likewise.
12868         (SRC): Likewise.
12869         (LEN): Likewise.
12870         (memmove): Likewise.  Do not use BP_SYM.
12871         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12872         "bp-asm.h".
12873         (PARMS): Do not use macros from bp-asm.h.
12874         (DEST): Likewise.
12875         (SRC): Likewise.
12876         (LEN): Likewise.
12877         (__mempcpy): Likewise.  Do not use BP_SYM.
12878         (mempcpy): Do not use BP_SYM in weak_alias.
12879         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12880         "bp-asm.h".
12881         (PARMS): Do not use macros from bp-asm.h.
12882         (DEST): Likewise.
12883         (LEN): Likewise.
12884         [!BZERO_P] (CHR): Likewise.
12885         (memset): Likewise.  Do not use BP_SYM.
12886         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12887         "bp-asm.h".
12888         (PARMS): Do not use macros from bp-asm.h.
12889         (STR2): Likewise.
12890         (strcmp): Do not use BP_SYM.
12891         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12892         "bp-asm.h".
12893         (PARMS): Do not use macros from bp-asm.h.
12894         (STR): Likewise.
12895         (DELIM): Likewise.
12896         [USE_AS_STRTOK_R] (SAVE): Likewise.
12897         (FUNCTION): Likewise.  Do not use BP_SYM.
12898         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12899         aliases.
12900         (strtok_r): Likewise.
12901         (__GI___strtok_r): Likewise.
12902         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12903         (PARMS): Do not use macros from bp-asm.h.
12904         (S): Likewise.
12905         (SIZE): Likewise.
12906         (__mpn_lshift): Do not use BP_SYM.
12907         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12908         (PARMS): Do not use macros from bp-asm.h.
12909         (STR): Likewise.
12910         (CHR): Likewise.
12911         (__memchr): Do not use BP_SYM.
12912         (memchr): Do not use BP_SYM in weak_alias.
12913         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12914         (PARMS): Do not use macros from bp-asm.h.
12915         (BLK2): Likewise.
12916         (LEN): Likewise.
12917         (memcmp): Do not use BP_SYM.
12918         (bcmp): Do not use BP_SYM in weak_alias.
12919         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12920         (PARMS): Do not use macros from bp-asm.h.
12921         (S1): Likewise.
12922         (SIZE): Likewise.
12923         (__mpn_mul_1): Do not use BP_SYM.
12924         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12925         "bp-asm.h".
12926         (PARMS): Do not use macros from bp-asm.h.
12927         (STR): Likewise.
12928         (CHR): Likewise.
12929         (__rawmemchr): Do not use BP_SYM.
12930         (rawmemchr): Do not use BP_SYM in weak_alias.
12931         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12932         (PARMS): Do not use macros from bp-asm.h.
12933         (S): Likewise.
12934         (SIZE): Likewise.
12935         (__mpn_rshift): Do not use BP_SYM.
12936         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12937         (PARMS): Do not use macros from bp-asm.h.
12938         (SIGMSK): Likewise.
12939         (__sigsetjmp): Likewise.  Do not use BP_SYM.
12940         * sysdeps/i386/start.S: Do not include "bp-sym.h".
12941         (_start): Do not use BP_SYM.
12942         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12943         (PARMS): Do not use macros from bp-asm.h.
12944         (DEST): Likewise.
12945         (SRC): Likewise.
12946         (__stpcpy): Likewise.  Do not use BP_SYM.
12947         (stpcpy): Do not use BP_SYM in weak_alias.
12948         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12949         "bp-asm.h".
12950         (PARMS): Do not use macros from bp-asm.h.
12951         (DEST): Likewise.
12952         (SRC): Likewise.
12953         (LEN): Likewise.
12954         (__stpncpy): Likewise.  Do not use BP_SYM.
12955         (stpncpy): Do not use BP_SYM in weak_alias.
12956         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12957         (PARMS): Do not use macros from bp-asm.h.
12958         (STR): Likewise.
12959         (CHR): Likewise.
12960         (strchr): Likewise.  Do not use BP_SYM.
12961         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12962         "bp-asm.h".
12963         (PARMS): Do not use macros from bp-asm.h.
12964         (STR): Likewise.
12965         (CHR): Likewise.
12966         (__strchrnul): Likewise.  Do not use BP_SYM.
12967         (strchrnul): Do not use BP_SYM in weak_alias.
12968         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12969         "bp-asm.h".
12970         (PARMS): Do not use macros from bp-asm.h.
12971         (STOP): Likewise.
12972         (strcspn): Do not use BP_SYM.
12973         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12974         "bp-asm.h".
12975         (PARMS): Do not use macros from bp-asm.h.
12976         (STR): Likewise.
12977         (STOP): Likewise.
12978         (strpbrk): Likewise.  Do not use BP_SYM.
12979         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12980         "bp-asm.h".
12981         (PARMS): Do not use macros from bp-asm.h.
12982         (STR): Likewise.
12983         (CHR): Likewise.
12984         (strrchr): Likewise.  Do not use BP_SYM.
12985         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12986         (PARMS): Do not use macros from bp-asm.h.
12987         (SKIP): Likewise.
12988         (strspn): Do not use BP_SYM.
12989         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12990         (PARMS): Do not use macros from bp-asm.h.
12991         (STR): Likewise.
12992         (DELIM): Likewise.
12993         (SAVE): Likewise.
12994         (FUNCTION): Likewise.  Do not use BP_SYM.
12995         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12996         aliases.
12997         (strtok_r): Likewise.
12998         (__GI___strtok_r): Likewise.
12999         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
13000         (PARMS): Do not use macros from bp-asm.h.
13001         (S1): Likewise.
13002         (S2): Likewise.
13003         (SIZE): Likewise.
13004         (__mpn_sub_n): Do not use BP_SYM.
13005         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
13006         "bp-asm.h".
13007         (PARMS): Do not use macros from bp-asm.h.
13008         (S1): Likewise.
13009         (SIZE): Likewise.
13010         (__mpn_submul_1): Do not use BP_SYM.
13011         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
13012         <bp-sym.h>.
13013         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
13014         and <bp-asm.h>.
13015         (PARMS): Do not use macros from bp-asm.h.
13016         (FLAGS): Likewise.
13017         (PTID): Likewise.
13018         (TLS): Likewise.
13019         (CTID): Likewise.
13020         (__clone): Do not use BP_SYM.
13021         (clone): Do not use BP_SYM in weak_alias.
13022         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
13023         and <bp-asm.h>.
13024         (PARMS): Do not use macros from bp-asm.h.
13025         (LEN): Likewise.
13026         (__mmap64): Do not use BP_SYM.
13027         (mmap64): Do not use BP_SYM in weak_alias.
13028         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13029         <bp-sym.h> and <bp-asm.h>.
13030         (PARMS): Do not use macros from bp-asm.h.
13031         (__posix_fadvise64_l64): Do not use BP_SYM.
13032         * sysdeps/unix/sysv/linux/i386/semtimedop.S
13033         (PARMS): Do not use macros from bp-asm.h.
13034         (NSOPS): Likewise.
13035         (semtimedop): Do not use BP_SYM.
13036         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
13037         and <bp-asm.h>.
13039 2013-02-21  Allan McRae  <allan@archlinux.org>
13041         * manual/message.texi (Charset conversion in gettext):
13042         Move @end statement to beginning of line.
13044 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13046         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
13047         static.
13048         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13049         Likewise.
13051         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
13052         (denorm): Likewise.
13053         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
13054         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
13056 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13058         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
13059         tail-call to the resolved function if pltexit isn't needed.
13061 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13063         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
13064         or Y being zero as being unlikely.
13065         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
13066         Likewise.
13068 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
13070         * manual/nss.texi (System Databases and Name Service Switch):
13071         Remove frobnicate @pxref.
13073 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
13075         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13076         __attribute__ ((unused)) to __attribute__ ((__unused__)).
13078 2013-02-20  Petr Machata  <pmachata@redhat.com>
13080         * elf/elf.h (R_ARM_TARGET1): New macro.
13081         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
13082         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
13083         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
13084         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
13085         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
13086         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
13087         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
13088         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
13089         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
13090         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
13091         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
13092         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
13093         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
13094         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
13095         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
13096         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
13097         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
13098         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
13099         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
13100         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
13101         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
13102         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
13103         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
13104         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
13105         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
13106         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
13107         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
13108         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
13109         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
13110         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
13111         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
13112         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
13113         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
13114         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
13115         (R_ARM_THM_GOT_BREL12): Likewise.
13116         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
13117         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
13118         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
13119         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
13120         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
13121         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
13122         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
13123         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
13124         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
13126 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
13128         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13129         __attribute_used__ to __attribute__ ((unused)).
13131 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
13133         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
13134         powerpc mpa.c.
13135         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
13136         comment formatting.
13137         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
13139 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
13141         [BZ #13550]
13142         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
13143         Remove macro.
13144         (ENTER): Remove both macro definitions.
13145         (LEAVE): Likewise.
13146         (CHECK_BOUNDS_LOW): Likewise.
13147         (CHECK_BOUNDS_HIGH): Likewise.
13148         (CHECK_BOUNDS_BOTH): Likewise.
13149         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
13150         (RETURN_BOUNDED_POINTER): Likewise.
13151         (RETURN_NULL_BOUNDED_POINTER): Likewise.
13152         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
13153         (POP_ERRNO_LOCATION_RETURN): Likewise.
13154         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
13155         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13156         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
13157         macros.
13158         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13159         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
13160         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
13161         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
13162         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
13163         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
13164         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
13165         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
13166         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
13167         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
13168         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
13169         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
13170         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13171         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
13172         removed macros.
13173         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13174         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
13175         macros.
13176         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13177         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
13178         * sysdeps/i386/i586/memset.S (memset): Likewise.
13179         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
13180         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13181         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
13182         macros.
13183         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13184         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
13185         Change uses of L(2) to L(out).
13186         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
13187         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
13188         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
13189         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13190         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
13191         removed macros.
13192         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13193         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
13194         macros.
13195         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13196         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
13197         (RETURN): Do not use macro LEAVE.
13198         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
13199         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
13200         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
13201         * sysdeps/i386/i686/memset.S (memset): Likewise.
13202         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
13203         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
13204         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13205         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
13206         Likewise.
13207         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13208         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
13209         L(1_2) and L(1_3) into L(1).
13210         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13211         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
13212         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13213         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
13214         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13215         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
13216         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
13217         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13218         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
13219         macros.
13220         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
13221         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13222         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
13223         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
13224         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
13225         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13226         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
13227         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
13228         * sysdeps/i386/strcspn.S (strcspn): Likewise.
13229         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
13230         * sysdeps/i386/strrchr.S (strrchr): Likewise.
13231         * sysdeps/i386/strspn.S (strspn): Likewise.
13232         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
13233         conditional code.
13234         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13235         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
13236         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13237         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
13238         L(1_3) into L(1_1).
13239         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
13240         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13241         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
13242         macros.
13243         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13245 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
13247         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
13248         macro.
13250 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13252         * math/atest-exp.c (exp_mpn): Remove ROUND.
13253         * math/atest-exp2.c (exp_mpn): Likewise.
13254         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
13256         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
13257         * stdlib/tst-tls-atexit-lib.c: Likewise.
13258         * stdlib/tst-tls-atexit.c: Likewise.
13260 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
13262         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
13263         and __attribute_alloc_size__.
13265 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
13267         * include/programs/xmalloc.h: Change __attribute_alloc_size to
13268         __attribute_alloc_size__.
13269         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
13270         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
13272 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
13274         * include/programs/xmalloc.h: New file.
13275         * catgets/gencat.c: Include it.
13276         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
13277         * elf/pldd.c: Likewise.
13278         * iconv/iconv_charmap.c: Likewise.
13279         * iconv/iconvconfig.c: Likewise.
13280         * iconv/strtab.c: Likewise.
13281         * locale/programs/locale.c: Likewise.
13282         * locale/programs/localedef.h: Likewise.
13283         * locale/programs/simple-hash.c: Likewise.
13284         * nscd/nscd.h: Likewise.
13285         * nss/makedb.c: Likewise.
13286         * sysdeps/generic/ldconfig.h: Likewise.
13288 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13290         * Versions.def: Add GLIBC_2.18.
13291         * include/link.h (struct link_map): New member l_tls_dtor_count.
13292         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
13293         (__call_tls_dtors): Likewise.
13294         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
13295         __cxa_thread_atexit_impl.
13296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13297         Likewise.
13298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13299         Likewise.
13300         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13301         Likewise.
13302         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13303         Likewise.
13304         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13305         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
13306         Likewise.
13307         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
13308         Likewise.
13309         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13310         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13311         Likewise.
13312         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
13313         (tests): Add test case tst-tls-atexit.
13314         (modules-names): Add shared library for tst-tls-atexit.
13315         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
13316         (GLIBC_PRIVATE): Add __call_tls_dtors.
13317         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
13318         for libstdc++.
13319         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
13320         * stdlib/tst-tls-atexit.c: New test case.
13321         * stdlib/tst-tls-atexit-lib.c: New test case.
13323         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
13325         * elf/Versions (ld): Add _dl_find_dso_for_object.
13326         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
13327         * elf/dl-open.c (_dl_find_dso_for_object): New function.
13328         (dl_open_worker): Use _dl_find_dso_for_object.
13329         * elf/dl-sym.c (do_sym): Likewise.
13330         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
13332 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13334         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
13335         Syntactic changes only.
13336         (_dl_runtime_profile): Do a tail-call to the resolved function.
13338 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
13340         [BZ #13550]
13341         * sysdeps/x86_64/bp-asm.h: Remove file.
13342         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
13343         <bp-sym.h> and <bp-asm.h>.
13344         (__clone): Do not use BP_SYM.
13345         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
13346         <bp-sym.h> and <bp-asm.h>.
13347         * sysdeps/unix/x86_64/sysdep.S: Likewise.
13348         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
13349         "bp-asm.h".
13350         (_setjmp): Do not use BP_SYM.
13351         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
13352         "bp-asm.h".
13353         (setjmp): Do not use BP_SYM.
13354         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
13355         libc_hidden_def.
13356         (mempcpy): Do not use BP_SYM in weak_alias.
13357         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
13358         "bp-asm.h".
13359         (strchr): Do not use BP_SYM.
13360         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
13361         "bp-asm.h".
13362         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
13363         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
13364         (_start): Do not use BP_SYM.
13365         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
13366         "bp-asm.h".
13367         (strcat): Do not use BP_SYM.
13368         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
13369         "bp-asm.h".
13370         (STRCMP): Do not use BP_SYM.
13371         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
13372         "bp-asm.h".
13373         (STRCPY): Do not use BP_SYM.
13374         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
13375         "bp-asm.h".
13376         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
13377         "bp-asm.h".
13378         (FUNCTION): Do not use BP_SYM.
13379         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
13380         weak_alias.
13381         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
13383 2013-02-17  Andreas Jaeger  <aj@suse.de>
13385         * time/Versions: Sort entries.
13386         * string/Versions: Likewise.
13387         * resolv/Versions: Likewise.
13388         * posix/Versions: Likewise.
13389         * iconv/Versions: Likewise.
13390         * elf/Versions: Likewise.
13391         * wcsmbs/Versions: Likewise.
13393 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13395         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
13396         loop termination condition.
13398         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
13399         variable to calculate EZ.
13400         (__sqr): Likewise.
13402         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
13403         the lower precision input.
13405 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
13407         [BZ #13550]
13408         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
13409         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
13410         (run-via-rtld-prefix): Do not handle %-bp tests.
13411         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
13412         (all-object-suffixes): Remove .ob.
13413         (bppfx): Remove variable.
13414         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
13415         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
13416         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
13417         [$(build-bounded) = yes] (libtype.ob): Likewise.
13418         * Makerules (elide-routines.ob): Remove variable.
13419         (do-tests-clean): Do not handle *-bp.out.
13420         (common-mostlyclean): Do not handle *-bp and *-bp.out.
13421         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
13422         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
13423         (tests): Do not include $(tests-bp.out).
13424         (xtests): Do not include $(xtests-bp.out).
13425         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
13426         [$(build-bounded) = yes] ($(addprefix
13427         $(objpfx),$(binaries-bounded))): Remove rule.
13428         ($(objpfx)%-bp.out): Remove rule.
13429         * config.make.in (build-bounded): Remove variable.
13430         * crypt/Makefile [$(build-bounded) = yes]
13431         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
13432         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
13433         append to variable.
13434         [$(build-bounded) = yes] (install-lib): Likewise.
13435         [$(build-bounded) = yes] (generated): Likewise.
13436         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
13437         Remove rule.
13438         * intl/Makefile [$(build-bounded) = yes]
13439         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
13440         * math/Makefile [$(build-bounded) = yes]
13441         ($(tests:%=$(objpfx)%-bp): Likewise.
13442         * misc/Makefile [$(build-bounded) = yes]
13443         ($(objpfx)tst-tsearch-bp): Likewise.
13444         * nptl/Makeconfig (bounded-thread-library): Remove variable.
13445         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
13446         Remove dependency.
13447         * string/Makefile (o-objects.ob): Remove variable.
13448         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
13449         (CFLAGS-.ob): Remove variable.
13450         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
13451         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
13452         both definitions of variable.
13453         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
13454         (ASFLAGS-.ob): Remove variable.
13456 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
13458         [BZ #13550]
13459         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
13460         Remove __BOUNDED_POINTERS__ from condition.
13461         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
13462         * string/bits/string2.h [!__NO_STRING_INLINES &&
13463         !__BOUNDED_POINTERS__]: Likewise.
13464         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
13465         Likewise.
13466         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
13467         Remove conditional code.
13468         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
13469         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
13470         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
13471         condition.
13473         [BZ #13550]
13474         * csu/libc-start.c: Do not include <bp-sym.h>.
13475         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
13476         * elf/dl-open.c: Do not include <bp-sym.h>.
13477         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
13478         * math/fegetenv.c: Do not include <bp-sym.h>.
13479         (fegetenv): Do not use BP_SYM in versioned symbols.
13480         * nptl/sysdeps/pthread/bits/libc-lockP.h
13481         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
13482         <bp-sym.h>.
13483         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13484         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
13485         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13486         (__pthread_mutex_destroy): Likewise.
13487         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13488         (__pthread_mutex_lock): Likewise.
13489         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13490         (__pthread_mutex_trylock): Likewise.
13491         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13492         (__pthread_mutex_unlock): Likewise.
13493         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13494         (__pthread_mutexattr_init): Likewise.
13495         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13496         (__pthread_mutexattr_destroy): Likewise.
13497         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13498         (__pthread_mutexattr_settype): Likewise.
13499         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13500         (__pthread_rwlock_init): Likewise.
13501         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13502         (__pthread_rwlock_destroy): Likewise.
13503         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13504         (__pthread_rwlock_rdlock): Likewise.
13505         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13506         (__pthread_rwlock_tryrdlock): Likewise.
13507         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13508         (__pthread_rwlock_wrlock): Likewise.
13509         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13510         (__pthread_rwlock_trywrlock): Likewise.
13511         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13512         (__pthread_rwlock_unlock): Likewise.
13513         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13514         (__pthread_key_create): Likewise.
13515         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13516         (__pthread_setspecific): Likewise.
13517         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13518         (__pthread_getspecific): Likewise.
13519         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
13520         Likewise.
13521         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13522         (_pthread_cleanup_push_defer): Likewise.
13523         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13524         (_pthread_cleanup_pop_restore): Likewise.
13525         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13526         (pthread_setcancelstate): Likewise.
13527         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
13528         <bp-sym.h>.
13529         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
13530         (memchr): Do not use BP_SYM in weak_alias.
13531         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
13532         (fegetenv): Do not use BP_SYM in versioned symbols.
13533         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
13534         (fesetenv): Do not use BP_SYM in versioned symbols.
13535         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13536         (feupdateenv): Do not use BP_SYM in versioned symbols.
13537         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13538         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13539         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
13540         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
13541         (open64): Do not use BP_SYM in weak_alias.
13542         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
13543         (fegetenv): Do not use BP_SYM in versioned symbols.
13544         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
13545         (fesetenv): Do not use BP_SYM in versioned symbols.
13546         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13547         (feupdateenv): Do not use BP_SYM in versioned symbols.
13548         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
13549         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
13550         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
13551         (feraiseexcept): Do not use BP_SYM in versioned symbols.
13552         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13553         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13554         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
13555         <bp-sym.h>.
13556         (__libc_start_main): Do not use BP_SYM.
13558 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13560         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
13561         redundant return line.
13562         (norm): Likewise.
13563         (denorm): Likewise.
13564         (dbl_mp): Likewise.
13565         (sub_magnitudes): Likewise.
13566         (__add): Likewise.
13567         (__sub): Likewise.
13568         (__mul): Likewise.
13569         (__inv): Likewise.
13570         (__dvd): Likewise.
13571         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
13572         (norm): Likewise.
13573         (denorm): Likewise.
13574         (dbl_mp): Likewise.
13575         (sub_magnitudes): Likewise.
13576         (__add): Likewise.
13577         (__sub): Likewise.
13578         (__mul): Likewise.
13579         (__inv): Likewise.
13580         (__dvd): Likewise.
13582         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
13583         instead of __mul.
13584         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13585         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
13586         (cc32): Likewise.
13588         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
13589         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
13590         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
13591         of __mul for squares.
13592         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
13593         function
13594         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
13595         Likewise.
13596         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
13597         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13599 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
13601         [BZ #13550]
13602         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
13603         code.
13604         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
13605         prototype or function definition.  Rename ubp_* variables and
13606         parameters.  Remove argv definitions conditional on
13607         [__BOUNDED_POINTERS__].
13608         * debug/backtrace.c (__backtrace): Do not use __unbounded.
13609         * elf/dl-runtime.c (_dl_fixup): Likewise.
13610         * include/set-hooks.h (RUN_HOOK): Likewise.
13611         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
13612         definition.
13613         * string/strcpy.c (strcpy): Do not use __unbounded.
13614         * sysdeps/generic/frame.h (struct layout): Likewise.
13615         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
13616         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
13617         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
13618         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
13619         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
13620         (__backtrace): Likewise.
13621         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
13622         use __ptrvalue.
13623         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13624         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13625         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13626         Likewise.
13627         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
13628         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
13629         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13630         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13631         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
13632         Do not use __unbounded.
13633         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
13634         Rename __unboundedrlimits parameter to rlimits in prototype.
13635         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
13636         Do not use __unbounded.
13637         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
13638         not use __ptrvalue.
13639         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13640         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
13641         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13642         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
13643         __ptrvalue or __unbounded.
13644         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
13645         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
13646         use __unbounded.
13647         (__new_msgctl): Do not use __ptrvalue.
13648         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
13649         __unbounded.
13650         (__libc_msgrcv): Do not use __ptrvalue.
13651         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
13652         startup_info): Do not use __unbounded.
13653         (__libc_start_main): Likewise.  Rename ubp_* variables and
13654         parameters.  Remove argv definitions conditional on
13655         [__BOUNDED_POINTERS__].
13656         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
13657         __ptrvalue.
13658         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
13659         use __unbounded.
13660         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
13661         or __ptrvalue.
13662         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
13663         use __unbounded.
13664         (__new_shmctl): Do not use __ptrvalue.
13665         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13666         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13667         Likewise.
13668         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13669         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
13670         (__libc_sigaction): Likewise.
13671         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
13672         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
13673         Likewise.
13674         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13676 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
13678         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
13680         * string/mempcpy.c: Implement by calling memcpy.
13682 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
13684         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
13686         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
13687         evaluation.
13689         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
13690         values in the mantissa.
13692         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
13693         minimize writes to Z.
13694         (sub_magnitudes): Simplify code a bit.
13696 2013-02-12  Roland McGrath  <roland@hack.frob.com>
13698         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
13699         from the message.  The linker prefixes all warnings with that already.
13701 2013-02-12  Andreas Schwab  <schwab@suse.de>
13703         [BZ #15078]
13704         * posix/regexec.c (extend_buffers): Add parameter min_len.
13705         (check_matching): Pass minimum needed length.
13706         (clean_state_log_if_needed): Likewise.
13707         (get_subexp): Likewise.
13708         * posix/Makefile (tests): Add bug-regex34.
13709         (bug-regex34-ENV): Define.
13710         * posix/bug-regex34.c: New file.
13712         [BZ #11561]
13713         * posix/regcomp.c (parse_bracket_exp): When looking up collating
13714         elements compare against the byte sequence of it, not its name.
13715         * posix/Makefile (tests): Add bug-regex35.
13716         (bug-regex35-ENV): Define.
13717         * posix/bug-regex35.c: New file.
13719 2013-02-11  Tom de Vries  <tom@codesourcery.com>
13721         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
13722         comment.
13723         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
13724         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
13725         (CHECK_EOL): Add undef.
13727 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
13729         * bits/stdlib-bsearch.h: New file.
13730         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
13731         * stdlib/stdlib.h: Likewise.
13733 2013-02-11  Roland McGrath  <roland@hack.frob.com>
13735         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
13736         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
13737         declaration.
13738         * manual/search.texi (Array Search Function): Add missing const in
13739         lfind prototype.
13740         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13741         declaration to use rlim_t.
13742         (Basic Scheduling Functions): Remove erroneous const from
13743         sched_getparam prototype.  Remove erroneous * from
13744         sched_get_priority_max and sched_get_priority_min prototypes.
13745         (Resource Usage): Fix summary @comment on vtimes to refer to
13746         sys/vtimes.h rather than vtimes.h.
13747         Add missing *s in vtimes prototype.
13748         (Limits on Resources): Fix ulimit prototype to return long int.
13749         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13750         prototypes to use long int rather than double.
13751         (BSD Random): Fix initstate and setstate to use char *, not void *.
13752         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13753         prototype to make second argument 'struct aiocb64 *const[]'.
13754         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13755         (Status of AIO Operations): Remove erroneous const in aio_return and
13756         aio_return64 prototypes.
13757         (Synchronizing I/O): Fix sync prototype to return void.
13758         * manual/startup.texi (Suboptions): Remove an erroneous const in
13759         getsubopt prototype.
13760         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13761         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13762         use size_t rather than int.
13763         (Scanning All Users): Likewise for getpwent_r.
13764         (Setting Groups): Add missing const to setgroups prototype.
13765         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13766         * manual/socket.texi (Host Names): Fix gethostbyaddr and
13767         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13768         'const void *' rather than 'const char *'.
13769         (Host Address Functions): Likewise for inet_ntop.
13770         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13771         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13772         ssize_t for return value.
13773         (Sending Data): Likewise for send, sendto, sendmsg.
13774         (Socket Option Functions): Add a missing const in setsockopt prototype.
13775         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13776         use wchar_t for the argument.
13777         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13778         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13779         take no arguments.
13780         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13781         double/float/long double for second argument.
13782         Fix return types of significand, significandf, significandl.
13783         * manual/filesys.texi (Setting Permissions): Use mode_t for second
13784         argument in fchmod prototype.
13785         (File Owner): Use uid_t and gid_t in fchown prototype.
13786         (File Times): Add const to utimes, futimes, and lutimes prototypes.
13787         (Making Special Files): Use mode_t and dev_t in mknod prototype.
13788         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13789         use 'const struct dirent **' as argument types to CMP function pointer
13790         argument.
13791         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13792         (File Times): Fix summary magic @comment for struct utimbuf and utime
13793         to refer to utime.h, not time.h.
13794         * manual/string.texi (Argz Functions): Add missing const in
13795         argz_extract and argz_next prototypes.
13796         (Finding Tokens in a String): Likewise for basename.
13797         (String/Array Comparison): Fix typo in wcscasecmp prototype.
13798         (Copying and Concatenation): Fix typo in wmemmove prototype.
13799         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13800         (Signal Stack): Remove erroneous const in sigstack prototype.
13801         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13802         prototype.
13803         (Simple Calendar Time): Likewise for stime.
13804         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13805         prototype.
13806         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13807         say sys/sysctl.h instead.
13808         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13809         and vsyslog prototypes.
13811 2013-02-11  Tom de Vries  <tom@codesourcery.com>
13813         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13814         Remove.
13816 2013-02-11  Roland McGrath  <roland@hack.frob.com>
13818         * misc/sys/mman.h: Fix typo in mremap comment.
13820 2013-02-08  Roland McGrath  <roland@hack.frob.com>
13822         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13823         the '\0' terminator.
13825 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
13827         [BZ #13550]
13828         * debug/segfault.c: Don't include <bp-checks.h>.
13829         * sysdeps/generic/bp-checks.h: Remove file.
13830         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13831         (__GETDENTS): Don't use CHECK_N.
13832         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13833         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13834         (__getgroups): Don't use CHECK_N.
13835         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13836         (setgroups): Don't use CHECK_N.
13837         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13838         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13839         (__libc_msgrcv): Don't use CHECK_N.
13840         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13841         (__libc_msgsnd): Don't use CHECK_N.
13842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13843         <bp-checks.h>.
13844         (__libc_pread): Don't use CHECK_N.
13845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13846         include <bp-checks.h>.
13847         (__libc_pread64): Don't use CHECK_N.
13848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13849         include <bp-checks.h>.
13850         (__libc_pwrite): Don't use CHECK_N.
13851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13852         include <bp-checks.h>.
13853         (__libc_pwrite64): Don't use CHECK_N.
13854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13855         <bp-checks.h>.
13856         (__libc_pread): Don't use CHECK_N.
13857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13858         include <bp-checks.h>.
13859         (__libc_pread64): Don't use CHECK_N.
13860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13861         include <bp-checks.h>.
13862         (__libc_pwrite): Don't use CHECK_N.
13863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13864         include <bp-checks.h>.
13865         (__libc_pwrite64): Don't use CHECK_N.
13866         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13867         (do_pread): Don't use CHECK_N.
13868         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13869         (do_pread64): Don't use CHECK_N.
13870         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13871         (do_pwrite): Don't use CHECK_N.
13872         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13873         (do_pwrite64): Don't use CHECK_N.
13874         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13875         (__libc_readv): Don't use CHECK_N.
13876         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13877         (semop): Don't use CHECK_N.
13878         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13879         <bp-checks.h>.
13880         (semtimedop): Don't use CHECK_N.
13881         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13882         (__libc_pread): Don't use CHECK_N.
13883         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13884         <bp-checks.h>.
13885         (__libc_pread64): Don't use CHECK_N.
13886         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13887         <bp-checks.h>.
13888         (__libc_pwrite): Don't use CHECK_N.
13889         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13890         <bp-checks.h>.
13891         (__libc_pwrite64): Don't use CHECK_N.
13892         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13893         <bp-checks.h>.
13894         (__libc_msgrcv): Don't use CHECK_N.
13895         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13896         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
13897         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13898         (__libc_writev): Don't use CHECK_N.
13900 2013-02-08  Roland McGrath  <roland@hack.frob.com>
13902         * string/strcpy.c: Removed unused variable.
13904         * Makeconfig (+sysdep-includes): Define with := rather than =.
13905         Use an existing include/ subdir of each sysdeps dir before it.
13907 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13909         * nscd/connection.c (register_traced_file): Comment function.
13910         [HAVE_INOTIFY] (union __inev): Define.
13911         [HAVE_INOTIFY] (inotify_check_files): New function.
13912         [HAVE_INOTIFY] (clear_db_cache): Likewise.
13913         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13914         clear_db_cache.
13915         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13917 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13919         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13920         loaded if not already and that a failure is permanent.
13922 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13924         [BZ #15006]
13925         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13926         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13928 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
13930         [BZ #13550]
13931         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13932         (CHECK_1_NULL_OK): Likewise.
13933         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13934         (__fxstat): Do not use CHECK_1.
13935         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13936         <bp-checks.h>.
13937         (___fxstat64): Do not use CHECK_1.
13938         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13939         <bp-checks.h>.
13940         (__fxstatat): Do not use CHECK_1.
13941         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13942         <bp-checks.h>.
13943         (__fxstatat64): Do not use CHECK_1.
13944         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13945         <bp-checks.h>.
13946         (__fxstat): Do not use CHECK_1.
13947         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13948         <bp-checks.h>.
13949         (__fxstatat): Do not use CHECK_1.
13950         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13951         <bp-checks.h>.
13952         (__getresgid): Do not use CHECK_1.
13953         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13954         <bp-checks.h>.
13955         (__getresuid): Do not use CHECK_1.
13956         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13957         <bp-checks.h>.
13958         (__lxstat): Do not use CHECK_1.
13959         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13960         <bp-checks.h>.
13961         (__old_msgctl): Do not use CHECK_1.
13962         (__new_msgctl): Likewise.
13963         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13964         <bp-checks.h>.
13965         (__new_setrlimit): Do not use CHECK_1.
13966         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13967         <bp-checks.h>.
13968         (__old_shmctl): Do not use CHECK_1.
13969         (__new_shmctl): Likewise.
13970         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13971         <bp-checks.h>.
13972         (__xstat): Do not use CHECK_1.
13973         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13974         (__lxstat): Do not use CHECK_1.
13975         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13976         <bp-checks.h>.
13977         (___lxstat64): Do not use CHECK_1.
13978         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13979         (__old_msgctl): Do not use CHECK_1.
13980         (__new_msgctl): Likewise.
13981         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13982         <bp-checks.h>.
13983         (__gettimeofday): Do not use CHECK_1.
13984         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13985         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13986         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13987         <bp-checks.h>.
13988         (__gettimeofday): Do not use CHECK_1.
13989         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13990         (__old_shmctl): Do not use CHECK_1_NULL_OK.
13991         (__new_shmctl): Do not use CHECK_1.
13992         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13993         <bp-checks.h>.
13994         (do_sigtimedwait): Do not use CHECK_1.
13995         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13996         <bp-checks.h>.
13997         (do_sigwaitinfo): Do not use CHECK_1.
13998         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13999         <bp-checks.h>.
14000         (msgctl): Do not use CHECK_1.
14001         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
14002         <bp-checks.h>.
14003         (shmctl): Do not use CHECK_1.
14004         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
14005         (ustat): Do not use CHECK_1.
14006         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
14007         <bp-checks.h>.
14008         (__fxstat): Do not use CHECK_1.
14009         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
14010         <bp-checks.h>.
14011         (__fxstatat): Do not use CHECK_1.
14012         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
14013         <bp-checks.h>.
14014         (__lxstat): Do not use CHECK_1.
14015         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
14016         <bp-checks.h>.
14017         (__xstat): Do not use CHECK_1.
14018         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
14019         (__xstat): Do not use CHECK_1.
14020         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
14021         (___xstat64): Do not use CHECK_1.
14023         [BZ #13550]
14024         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
14025         definitions.
14026         (CHECK_BOUNDS_HIGH): Likewise.
14027         * string/strcpy.c: Do not include <bp-checks.h>.
14028         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
14030 2013-02-07  Roland McGrath  <roland@hack.frob.com>
14032         * nscd/nscd-client.h (__nscd_drop_map_ref):
14033         Add __attribute__ ((unused)).
14034         * nis/nss-nisplus.h (niserr2nss): Likewise.
14036         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
14037         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
14039         * csu/libc-tls.c (init_static_tls, init_slotinfo):
14040         Remove inline keyword.
14041         * include/rounding-mode.h (round_away): Likewise.
14042         * libio/wfileops.c (adjust_wide_data): Likewise.
14043         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
14044         (__m128i_strloadu_tolower): Likewise.
14045         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
14046         (__m128i_strloadu_tolower): Likewise.
14047         * time/mktime.c (ydhms_diff): Likewise.
14048         * locale/elem-hash.h (elem_hash): Likewise.
14049         * locale/setlocale.c (setdata): Likewise.
14050         * posix/regex_internal.h (re_string_char_size_at): Likewise.
14051         (re_string_wchar_at): Likewise.
14052         (bitset_not, bitset_merge, bitset_mask): Likewise.
14053         [!(__GNUC__ > 3)] (inline): Remove macro.
14054         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
14055         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
14056         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
14057         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
14058         * string/memcmp.c (memcmp_bytes): Likewise.
14059         * locale/programs/locarchive.c (compute_hashval): Likewise.
14060         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
14061         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
14062         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
14063         * nss/getent.c (print_rpc, print_protocols): Likewise.
14064         (print_passwd, print_group, print_aliases): Likewise.
14065         * nis/nss-nisplus.h (niserr2nss): Likewise.
14066         * nscd/connections.c (restart_p): Likewise.
14067         Change return type to bool.
14069 2013-02-05  Roland McGrath  <roland@hack.frob.com>
14071         * Makeconfig (all-Depend-files): Add existing
14072         $(sorted-subdirs:=/Depend) files.
14073         (all-subdirs): Remove nss.
14074         * sysdeps/unix/inet/Subdirs: Add it here instead.
14075         * hesiod/Depend: New file.
14077         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
14078         instead of calling alloca.
14080         * io/lseek.c (__lseek): Rename to __libc_lseek.
14081         Define __lseek as an alias.
14083         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
14085 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
14087         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
14088         else clause and remove check for non-standard endianness.
14090 2013-02-04  David S. Miller  <davem@davemloft.net>
14092         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14094 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
14096         [BZ #13550]
14097         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
14098         (__ubp_memchr): Remove prototype.
14099         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
14100         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14101         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
14102         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14103         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
14104         Remove alias.
14105         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
14106         (__ubp_memchr): Likewise.
14107         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
14108         (__ubp_memchr): Likewise.
14109         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
14110         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
14111         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
14112         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
14113         CHECK_STRING.
14114         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14115         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
14116         (__getcwd): Do not use CHECK_STRING.
14117         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
14118         <bp-checks.h>.
14119         (__real_chown): Do not use CHECK_STRING.
14120         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
14121         <bp-checks.h>.
14122         (fchownat): Do not use CHECK_STRING.
14123         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
14124         CHECK_STRING.
14125         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
14126         <bp-checks.h>.
14127         (__lchown): Do not use CHECK_STRING.
14128         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14129         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14130         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14131         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
14133         include <bp-checks.h>.
14134         (truncate64): Do not use CHECK_STRING.
14135         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
14136         <bp-checks.h>.
14137         (__real_chown): Do not use CHECK_STRING.
14138         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
14139         <bp-checks.h>.
14140         (__lchown): Do not use CHECK_STRING.
14141         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
14142         <bp-checks.h>.
14143         (__chown): Do not use CHECK_STRING.
14144         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
14145         <bp-checks.h>.
14146         (truncate64): Do not use CHECK_STRING.
14147         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
14148         Likewise.
14149         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
14150         (__xmknod): Do not use CHECK_STRING.
14151         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
14152         <bp-checks.h>.
14153         (__xmknodat): Do not use CHECK_STRING.
14154         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14155         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
14157 2013-02-04  Andreas Schwab  <schwab@suse.de>
14159         [BZ #14142]
14160         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
14161         * include/netdb.h: Likewise for h_errno.
14162         * elf/tst-stackguard1.c: Include <tls.h>.
14164 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
14166         * elf/link.h (struct link_map): Extend the l_addr comment.
14167         * include/link.h (struct link_map): Likewise.
14169 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
14171         [BZ #13550]
14172         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
14173         (BOUNDED_1): Remove macro.
14174         * debug/backtrace.c: Don't include <bp-checks.h>.
14175         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
14176         (__backtrace): Likewise.
14177         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
14178         <bp-checks.h>.
14179         (__backtrace): Don't use BOUNDED_1.
14180         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
14181         <bp-checks.h>.
14182         (__backtrace): Don't use BOUNDED_1.
14183         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
14184         (__backtrace): Don't use BOUNDED_1.
14185         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
14186         (shmat): Don't use BOUNDED_N.
14188 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
14190         [BZ #13550]
14191         * sysdeps/generic/bp-start.h: Remove file.
14192         * csu/libc-start.c: Don't include <bp-start.h>.
14193         (LIBC_START_MAIN): Set up __environ directly instead of using
14194         INIT_ARGV_and_ENVIRON.
14195         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
14196         <bp-start.h>.
14198         [BZ #13550]
14199         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
14200         definitions.
14201         (CHECK_FCNTL): Likewise.
14202         (CHECK_N_PAGES): Likewise.
14204         [BZ #13550]
14205         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
14206         definitions.
14207         (CHECK_SIGSET_NULL_OK): Likewise.
14208         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
14209         <bp-checks.h>.
14210         (sigpending): Don't use CHECK_SIGSET.
14211         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
14212         <bp-checks.h>.
14213         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14214         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
14215         <bp-checks.h>.
14216         (do_sigsuspend): Don't use CHECK_SIGSET.
14217         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
14218         use CHECK_SIGSET.
14219         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
14220         (do_sigwait): Don't use CHECK_SIGSET.
14221         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
14222         use CHECK_SIGSET.
14223         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
14224         include <bp-checks.h>.
14225         (sigpending): Don't use CHECK_SIGSET.
14226         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
14227         include <bp-checks.h>.
14228         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14229         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
14230         <bp-checks.h>.
14231         (sigpending): Don't use CHECK_SIGSET.
14232         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
14233         <bp-checks.h>.
14234         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14236         [BZ #13550]
14237         * sysdeps/generic/bp-semctl.h: Remove file.
14238         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
14239         <bp-checks.h> and <bp-semctl.h>.
14240         (__old_semctl): Don't use CHECK_SEMCTL.
14241         (__new_semctl): Likewise.
14242         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
14243         and <bp-semctl.h>.
14244         (__old_semctl): Don't use CHECK_SEMCTL.
14245         (__new_semctl): Likewise.
14246         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
14247         <bp-checks.h> and <bp-semctl.h>.
14248         (__old_semctl): Don't use CHECK_SEMCTL.
14249         (__new_semctl): Likewise.
14250         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
14251         <bp-checks.h> and <bp-semctl.h>.
14252         (semctl): Don't use CHECK_SEMCTL.
14254         [BZ #13550]
14255         * Makerules (elide-bp-thunks): Remove variable.
14256         (elide-routines.oS): Don't use $(elide-bp-thunks).
14257         (elide-routines.os): Likewise.
14258         (elide-routines.o): Likewise.
14259         (elide-routines.op): Likewise.
14260         (elide-routines.og): Likewise.
14261         (objects): Don't use $(bp-thunks).
14262         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
14263         include.
14264         (common-generated): Do not add s-proto-bp.d.
14265         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
14266         (int): Likewise.
14267         (typ): Likewise.
14268         Do not generate makefile rules for bounded-pointer thunks.
14269         * sysdeps/generic/bp-thunks.h: Remove file.
14270         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
14271         * sysdeps/unix/s-proto-bp.S: Likewise.
14273         [BZ #15062]
14274         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
14275         parts of result separately when argument is not close to line from
14276         -i to i and one part of argument is small.
14277         * math/k_casinhf.c (__kernel_casinhf): Likewise.
14278         * math/k_casinhl.c (__kernel_casinhl): Likewise.
14279         * math/libm-test.inc (cacos_test): Add more tests.
14280         (casin_test): Likewise.
14281         (casinh_test): Likewise.
14282         * sysdeps/i386/fpu/libm-test-ulps: Update.
14283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14285 2013-01-31  David S. Miller  <davem@davemloft.net>
14287         * po/de.po: Update from translation team.
14289 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
14291         * time/tzfile.c: Include stdint.h for SIZE_MAX.
14293 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
14295         * configure.in (_AC_PROG_CC_C89): New definition.
14296         * configure: Regenerate.
14298         * configure.in (AC_PROG_CPP): New definition.
14299         * configure: Regenerate.
14301 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
14303         * debug/tst-backtrace.h: New file.
14304         * debug/tst-backtrace2.c: Include tst-backtrace.h.
14305         (ret): Remove variable.
14306         (x): Likewise.
14307         (FAIL): Remove macro.
14308         (NO_INLINE): Likewise.
14309         (fn1): Use match function instead of strstr.
14310         * debug/tst-backtrace3.c: Include tst-backtrace.h.
14311         (ret): Remove variable.
14312         (x): Likewise.
14313         (FAIL): Remove macro.
14314         (NO_INLINE): Likewise.
14315         (fn): Use match function instead of strstr.
14316         * debug/tst-backtrace4.c: Include tst-backtrace.h.
14317         (ret): Remove variable.
14318         (x): Likewise.
14319         (FAIL): Remove macro.
14320         (NO_INLINE): Likewise.
14321         (handle_signal): Use match function instead of strstr.
14322         * debug/tst-backtrace5.c: Include tst-backtrace.h.
14323         (ret): Remove variable.
14324         (x): Likewise.
14325         (FAIL): Remove macro.
14326         (NO_INLINE): Likewise.
14327         (handle_signal): Use match function instead of strstr.
14329 2013-01-23  Roland McGrath  <roland@hack.frob.com>
14331         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
14333 2013-01-23  David S. Miller  <davem@davemloft.net>
14335         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
14336         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
14337         argument of CAS if possible.
14338         * sysdeps/sparc/sparc64/bits/atomic.h
14339         (__arch_compare_and_exchange_val_32_acq): Likewise.
14340         (__arch_compare_and_exchange_val_64_acq): Likewise.
14342 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
14344         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
14345         * sysdeps/posix/ulimit.c: ... this.
14346         Include <limits.h>.
14347         * sysdeps/unix/bsd/ulimit.c: Remove file.
14349 2013-01-23  Adam Conrad  <adconrad@0c3.net>
14351         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
14352         (LDFLAGS-tst-array5): Likewise.
14354 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
14356         [BZ #15036]
14357         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
14358         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
14359         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
14360         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
14362 2013-01-21  David S. Miller  <davem@davemloft.net>
14364         * sysdeps/sparc/backtrace.c: New file.
14365         * sysdeps/sparc/sparc32/backtrace.h: New file.
14366         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
14367         * sysdeps/sparc/sparc64/backtrace.h: New file.
14368         * sysdeps/sparc/sparc64/backtrace.c: Delete.
14369         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
14370         -funwind-tables.
14372 2013-01-21  Andreas Schwab  <schwab@suse.de>
14374         [BZ #15020]
14375         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
14376         closed its stdout.
14378 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
14380         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
14381         "mpa2.h".
14382         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14384 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
14385             Mark Mitchell  <mark@codesourcery.com>
14386             Tom de Vries  <tom@codesourcery.com>
14387             Paul Pluzhnikov  <ppluzhnikov@google.com>
14389         * debug/tst-backtrace2.c: New file.
14390         * debug/tst-backtrace3.c: Likewise.
14391         * debug/tst-backtrace4.c: Likewise.
14392         * debug/tst-backtrace5.c: Likewise.
14393         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
14394         (CFLAGS-tst-backtrace3.c): Likewise.
14395         (CFLAGS-tst-backtrace4.c): Likewise.
14396         (CFLAGS-tst-backtrace5.c): Likewise.
14397         (LDFLAGS-tst-backtrace2): Likewise.
14398         (LDFLAGS-tst-backtrace3): Likewise.
14399         (LDFLAGS-tst-backtrace4): Likewise.
14400         (LDFLAGS-tst-backtrace5): Likewise.
14401         (tests): Add new tests tst-backtrace2, tst-backtrace3,
14402         tst-backtrace4 and tst-backtrace5.
14404 2013-01-18  Anton Blanchard  <anton@samba.org>
14405             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14407         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
14408         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
14409         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
14410         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
14411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14412         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
14413         "+r" and remove output regs list as redundant.  Add explicit inline
14414         asm to specify register of return val to work around compiler codegen
14415         bug.  Remove (int) cast on return value.  Add return type parameter to
14416         use in macro so that this macro does not truncate return value for
14417         64-bit values.
14418         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
14419         pass to INTERNAL_VSYSCALL_NCS.
14420         (INLINE_VSYSCALL): Add 'long int' as return type to
14421         INTERNAL_VSYSCALL_NCS macro invocation.
14422         (INTERNAL_VSYSCALL): Add 'long int' as return type to
14423         INTERNAL_VSYSCALL_NCS macro invocation.
14424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14426 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14428         [BZ #14496]
14429         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
14430         Fix application of SIMD FP exception mask.
14432         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
14433         mp_no from a power of two.
14434         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
14435         __mpexp_twomm1.  Use __pow_mp.
14437         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
14438         multiplication.
14440 2013-01-17  David S. Miller  <davem@davemloft.net>
14442         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14444 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
14446         [BZ #15023]
14447         * include/complex.h: Condition contents on [!_COMPLEX_H].
14448         (__kernel_casinhf): New prototype.
14449         (__kernel_casinh): Likewise.
14450         (__kernel_casinhl): Likewise.
14451         * math/Makefile (libm_calls): Add k_casinh.
14452         * math/k_casinh.c: New file.
14453         * math/k_casinhf.c: Likewise.
14454         * math/k_casinhl.c: Likewise.
14455         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
14456         finite nonzero arguments.
14457         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
14458         finite nonzero arguments.
14459         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
14460         finite nonzero arguments.
14461         * math/s_casinh.c: Do not include <float.h>.
14462         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
14463         * math/s_casinhf.c: Do not include <float.h>.
14464         (__casinhf): Move code for finite nonzero arguments to
14465         k_casinhf.c.
14466         * math/s_casinhl.c: Do not include <float.h>.
14467         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
14468         redefine.
14469         (__casinhl): Move code for finite nonzero arguments to
14470         k_casinhl.c.
14471         * math/libm-test.inc (cacos_test): Add more tests.
14472         * sysdeps/i386/fpu/libm-test-ulps: Update.
14473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14475 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
14477         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
14478         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
14479         [!HAVE_MREMAP]: Remove [defined linux] case.
14480         * malloc/arena.c: Do not include <malloc-sysdep.h>.
14482 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
14484         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
14486 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
14488         * elf/elf.h (R_386_SIZE32): New relocation.
14489         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
14490         R_386_SIZE32.
14491         (elf_machine_rela): Likewise.
14492         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14493         R_X86_64_SIZE64 and R_X86_64_SIZE32.
14495 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
14497         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
14498         (FP_FAST_FMA): Do not define.
14499         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
14500         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
14501         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
14502         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
14503         !_SOFT_FLOAT]: Likewise.
14504         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
14505         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
14506         value.
14507         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
14508         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
14509         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
14510         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
14511         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
14512         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
14513         file.
14515 2013-01-16  Andreas Schwab  <schwab@suse.de>
14517         [BZ #14327]
14518         * include/stdlib.h (__mktemp): Add declaration.
14519         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
14520         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
14522 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14524         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
14525         definitions.
14526         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14527         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
14528         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
14529         definitions here.
14530         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
14531         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
14532         definitions.
14533         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
14534         and ONE.
14535         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
14536         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
14537         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
14538         definitions.
14539         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
14540         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
14541         definitions.
14542         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14544         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
14546 2013-01-15  David S. Miller  <davem@davemloft.net>
14548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14549         trunc{,f} to libm-sysdep_routes.
14550         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
14552         file.
14553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
14554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
14555         file.
14556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
14557         file.
14558         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
14559         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
14560         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
14561         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
14562         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
14563         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
14564         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
14565         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
14567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14568         nearbyint{,f} to libm-sysdep_routes.
14569         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
14571         New file.
14572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
14573         file.
14574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
14575         New file.
14576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
14577         file.
14578         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
14579         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
14580         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
14581         file.
14582         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
14583         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
14584         file.
14585         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
14586         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
14587         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
14589         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14590         libc_feholdexcept and libc_fesetenv.
14592 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
14594         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
14596 2013-01-14  David S. Miller  <davem@davemloft.net>
14598         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
14599         (SPARC_ASM_VIS2_IFUNC): Likewise.
14600         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
14601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
14602         use of 'siam' instruction.
14603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
14604         Likewise.
14605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
14606         Likewise.
14607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
14608         Likewise.
14609         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14610         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14611         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14612         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
14614         file.
14615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
14616         file.
14617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
14618         file.
14619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
14620         file.
14621         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
14622         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
14623         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
14624         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
14625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
14626         new VIS2 routines.
14627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14630         Likewise.
14631         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14632         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14633         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14634         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
14636         routines to libm-sysdep_routines.
14637         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14640         fdim/fdimf to libm-sysdep_routines.
14641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
14642         file.
14643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
14644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
14645         file.
14646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
14647         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
14648         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
14649         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
14650         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
14651         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
14652         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
14654 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14656         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
14657         to optimize copies.
14659         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
14660         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14661         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14663         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
14664         local variable MPTWO.
14665         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14666         Likewise.
14668 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
14670         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
14671         GLOB_NOESCAPE.
14673 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
14675         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
14677 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
14679         * manual/pattern.texi (glob_t): Document gl_flags.
14680         (glob64_t): Likewise.
14682 2013-01-11  David S. Miller  <davem@davemloft.net>
14684         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
14685         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
14686         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
14687         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
14688         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
14689         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
14690         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
14691         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
14692         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
14693         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
14694         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
14695         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
14696         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
14698         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14699         sparc V9 rather than using V8 code.
14700         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14701         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14703         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14704         Move to...
14705         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
14706         Here.
14708 2013-01-11  Roland McGrath  <roland@hack.frob.com>
14710         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
14711         not in the main loop.
14712         * configure: Regenerated.
14714 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
14716         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
14717         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
14718         to just #else.
14719         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
14720         [!__GLIBC_HAVE_LONG_LONG] case.
14721         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
14722         condition to just #else.
14723         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
14724         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
14725         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
14726         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
14727         unconditional.
14728         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
14729         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14730         #elif condition to just #else.
14731         * sysdeps/unix/sysv/linux/sys/sysmacros.h
14732         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
14733         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14734         #elif condition to just #else.
14736 2013-01-11  Steve Ellcey  <sellcey@mips.com>
14738         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14739         (EF_MIPS_ARCH_64): Fix value.
14740         (EF_MIPS_ARCH_32R2): New.
14741         (EF_MIPS_ARCH_64R2): New.
14743 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
14745         * Makeconfig (+link-pie-before-libc): New.
14746         (+link-pie-after-libc): Likewise.
14747         (+link-pie-tests): Likewise.
14748         (+link-pie): Rewritten.
14749         (link-before-libc): Remove $(config-LDFLAGS).
14750         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14751         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14752         (config-LDFLAGS): Renamed to ...
14753         (rtld-LDFLAGS): This.
14754         (rtld-tests-LDFLAGS): New macro.
14755         (link-libc-rpath-link): Likewise.
14756         (link-libc-tests-rpath-link): Likewise.
14757         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14758         (link-libc): Prepand $(link-libc-rpath-link).
14759         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14760         (test-program-prefix): New macro.
14761         (test-via-rtld-prefix): Likewise.
14762         (test-program-cmd): Likewise.
14763         (host-test-program-cmd): Likewise.
14764         * Makefile ($(common-objpfx)testrun.sh): Replace
14765         $(run-program-prefix) with $(test-program-prefix).
14766         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14767         $(rtld-LDFLAGS).
14768         ($(common-objpfx)shlib.lds): Likewise.
14769         (build-module-helper): Likewise.
14770         ($(common-objpfx)format.lds): Likewise.
14771         * Rules (binaries-pie-tests): New.
14772         (binaries-pie-notests): Likewise.
14773         (binaries-pie): Rewritten.
14774         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14775         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14776         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14777         (make-test-out): Replace $(host-built-program-cmd) with
14778         $(host-test-program-cmd).
14779         * config.make.in (build-hardcoded-path-in-tests): New variable.
14780         * configure.in (--enable-hardcoded-path-in-tests): New configure
14781         option.
14782         (hardcoded_path_in_tests): New AC_SUBST.
14783         * configure: Regenerated.
14784         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14785         $(built-program-cmd) with $(test-program-cmd).
14786         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14787         (test_program_cmd): This.
14788         * elf/Makefile ($(objpfx)order.out): Run test with
14789         $(test-program-prefix).
14790         ($(objpfx)order2.out): Likewise.
14791         ($(objpfx)tst-initorder.out): Likewise.
14792         ($(objpfx)tst-initorder2.out): Likewise.
14793         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14794         $(test-program-cmd).
14795         ($(objpfx)tst-array1-static.out): Likewise.
14796         ($(objpfx)tst-array2.out): Likewise.
14797         ($(objpfx)tst-array3.out): Likewise.
14798         ($(objpfx)tst-array4.out): Likewise.
14799         ($(objpfx)tst-array5.out): Likewise.
14800         ($(objpfx)tst-array5-static.out): Likewise.
14801         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14802         $(test-program-cmd).
14803         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14804         $(run-program-prefix) with $(test-program-prefix).
14805         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14806         (test_program_prefix): This.
14807         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14808         $(run-program-prefix) with $(test-program-prefix).
14809         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14810         (test_program_prefix): This.
14811         * iconvdata/tst-tables.sh: Likewise.
14812         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14813         $(run-program-prefix) with $(test-program-prefix).
14814         ($(objpfx)tst-translit.out): Likewise.
14815         ($(objpfx)tst-gettext2.out): Likewise.
14816         ($(objpfx)tst-gettext4.out): Likewise.
14817         ($(objpfx)tst-gettext6.out): Likewise.
14818         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14819         (test_program_prefix): This.
14820         * intl/tst-gettext2.sh: Likewise.
14821         * intl/tst-gettext4.sh  Likewise.
14822         * intl/tst-gettext6.sh: Likewise.
14823         * intl/tst-translit.sh: Likewise.
14824         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14825         with $(test-program-cmd).
14826         * libio/Makefile ($(objpfx)test-freopen.out): Replace
14827         $(run-program-prefix) with $(test-program-prefix).
14828         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14829         (test_program_prefix): This.
14830         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14831         $(run-program-prefix) with $(test-program-prefix).
14832         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14833         (test_program_prefix): This.
14834         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14835         * posix/Makefile ($(objpfx)globtest.out): Replace
14836         $(run-via-rtld-prefix) and $(test-wrapper) with
14837         $(test-program-prefix) and $(test-via-rtld-prefix).
14838         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14839         $(test-program-prefix).
14840         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14841         $(host-test-program-cmd).
14842         (tst-spawn-ARGS): Likewise.
14843         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14844         $(test-program-prefix).
14845         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14846         (test_via_rtld_prefix): This.
14847         (test_wrapper): Renamed to ...
14848         (test_program_prefix): This.
14849         (run_program_prefix): Replaced by test_program_prefix.
14850         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14851         (test_program_prefix): This.
14852         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14853         with $(host-test-program-cmd).
14854         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14855         $(run-program-prefix) with $(test-program-prefix).
14856         ($(objpfx)tst-printf.out): Likewise.
14857         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14858         $(test-program-cmd).
14859         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14860         (test_program_prefix): This.
14861         * stdio-common/tst-unbputc.sh: Likewise.
14862         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14863         $(run-program-prefix) with $(test-program-prefix).
14864         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14865         (test_program_prefix): This.
14866         * string/Makefile ($(objpfx)tst-svc.out):  Replace
14867         $(built-program-cmd) with $(test-program-cmd).
14869 2013-01-11  Andreas Jaeger  <aj@suse.de>
14871         [BZ #15003]
14872         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14873         value. Sync with Linux 3.7.
14875 2013-01-10  David S. Miller  <davem@davemloft.net>
14877         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14878         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14879         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14881 2013-01-10  Roland McGrath  <roland@hack.frob.com>
14883         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14884         never set.
14885         * configure: Regenerated.
14887 2013-01-10  David S. Miller  <davem@davemloft.net>
14889         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14890         sparc V9 rather than using V8 code.
14891         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14892         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14894 2013-01-10  Roland McGrath  <roland@hack.frob.com>
14896         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14897         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14898         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14899         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14900         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14901         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14902         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14903         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14904         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14905         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14906         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14907         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14908         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14909         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14910         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14911         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14912         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14913         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14914         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14915         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14916         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14917         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14918         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14919         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14920         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14921         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14922         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14924 2013-01-10  David S. Miller  <davem@davemloft.net>
14926         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14928 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
14930         * posix/Makefile (tests-static): New variable.
14931         (tests): Add $(tests-static).
14932         (tst-exec-static-ARGS): New variable.
14933         (tst-spawn-static-ARGS): Likewise.
14934         * posix/tst-exec-static.c: New file.
14935         * posix/tst-spawn-static.c: Likewise.
14936         * posix/tst-exec.c: Support run directly.
14937         * posix/tst-spawn.c: Likewise.
14939 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
14941         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14942         long.
14943         * math/bits/mathcalls.h (llrint): Likewise.
14944         (llround): Likewise.
14945         * stdlib/stdlib.h (struct drand48_data): Likewise.
14946         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14947         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14948         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14949         Likewise.
14950         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14951         Likewise.
14952         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14953         (elf_greg_t): Likewise.
14954         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14955         (__jmp_buf): Likewise.
14956         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14957         definitions.
14958         (llrint): Likewise, for all definitions.
14959         (llrintl): Likewise.
14961         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14962         Remove [__GNUC__] condition.
14963         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14964         condition to just [__USE_ISOC99].
14965         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14967 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
14969         [BZ #14200]
14970         * sysdeps/unix/sysv/linux/x86/bits/environments.h
14971         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14972         defined.
14973         (_POSIX_V6_ILP32_OFF32): Likewise.
14974         (_XBS5_ILP32_OFF32): Likewise.
14975         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14976         (__ILP32_OFFBIG_LDFLAGS): Likewise.
14978 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14980         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14982         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14983         doubles __mpexp_twomm1.  Adjust usage.
14984         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14985         Remove.
14987 2013-01-10  Andreas Schwab  <schwab@suse.de>
14989         [BZ #14964]
14990         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14991         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14993 2013-01-09  David S. Miller  <davem@davemloft.net>
14995         [BZ #15003]
14996         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14997         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14998         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14999         TCP_FASTOPEN): Define.
15000         (tcp_repair_opt): New structure.
15001         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
15002         enum values.
15003         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
15004         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
15005         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
15006         (tcp_cookie_transactions): New structure.
15008 2013-01-09  Anton Blanchard  <anton@samba.org>
15010         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
15011         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
15012         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
15013         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
15015 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
15017         * include/features.h (__USE_ANSI): Remove.
15019 2013-01-09  Roland McGrath  <roland@hack.frob.com>
15021         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
15023         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
15025 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
15027         * sysdeps/s390/fpu/libm-test-ulps: Update.
15029         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15031         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
15032         (__acr): Likewise.
15033         (__cpy): Likewise.
15034         (norm): Likewise.
15035         (denorm): Likewise.
15036         (__mp_dbl): Likewise.
15037         (__dbl_mp): Likewise.
15038         (add_magnitudes): Likewise.
15039         (sub_magnitudes): Likewise.
15040         (__add): Likewise.
15041         (__sub): Likewise.
15042         (__mul): Likewise.
15043         (__inv): Likewise.
15044         (__dvd): Likewise.
15045         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
15046         (__acr): Likewise.
15047         (__cpy): Likewise.
15048         (norm): Likewise.
15049         (denorm): Likewise.
15050         (__mp_dbl): Likewise.
15051         (__dbl_mp): Likewise.
15052         (add_magnitudes): Likewise.
15053         (sub_magnitudes): Likewise.
15054         (__add): Likewise.
15055         (__sub): Likewise.
15056         (__mul): Likewise.
15057         (__inv): Likewise.
15058         (__dvd): Likewise.
15059         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
15060         (__acr): Likewise.
15061         (__cpy): Likewise.
15062         (norm): Likewise.
15063         (denorm): Likewise.
15064         (__mp_dbl): Likewise.
15065         (__dbl_mp): Likewise.
15066         (add_magnitudes): Likewise.
15067         (sub_magnitudes): Likewise.
15068         (__add): Likewise.
15069         (__sub): Likewise.
15070         (__mul): Likewise.
15071         (__inv): Likewise.
15072         (__dvd): Likewise.
15074 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
15076         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
15077         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
15078         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
15079         2 && __USE_EXTERN_INLINES]: Likewise.
15081 2013-01-08  Andreas Jaeger  <aj@suse.de>
15083         [BZ# 14985]
15084         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
15085         Remove.
15086         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15087         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15089 2013-01-07  Anton Blanchard  <anton@samba.org>
15091         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
15092         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15093         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
15094         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15095         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15096         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15097         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
15098         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15099         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15100         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15101         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15102         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15103         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15104         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15105         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15106         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15107         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15108         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15109         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15110         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15111         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15112         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
15113         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15114         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15115         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
15116         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15117         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15118         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15119         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
15120         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15121         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15122         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15123         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15124         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15125         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15126         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15127         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15128         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15129         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
15130         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
15131         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
15132         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15133         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15135 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
15137         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
15138         (__MALLOC_PMT): Likewise.
15139         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
15140         [__GNUC__], only on [_LIBC].
15141         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15142         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
15143         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15144         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
15145         forward declaration.
15146         (realloc_hook_ini): Likewise.
15147         (memalign_hook_ini): Likewise.
15148         (__libc_memalign): Do not use __MALLOC_PMT in variable
15149         declaration.
15150         (__libc_valloc): Likewise.
15151         (__libc_pvalloc): Likewise.
15152         (__libc_calloc): Likewise.
15153         (__posix_memalign): Likewise.
15155         [BZ #14996]
15156         * math/s_casinh.c: Include <float.h>.
15157         (__casinh): Do not do computation with squaring and square root
15158         for large arguments.
15159         * math/s_casinhf.c: Include <float.h>.
15160         (__casinhf): Do not do computation with squaring and square root
15161         for large arguments.
15162         * math/s_casinhl.c: Include <float.h>.
15163         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
15164         (__casinhl): Do not do computation with squaring and square root
15165         for large arguments.
15166         * math/libm-test.inc (casin_test): Add more tests.
15167         (casinh_test): Likewise.
15168         * sysdeps/i386/fpu/libm-test-ulps: Update.
15169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15171 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
15173         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
15174         (__x86_64_raw_data_cache_size): Likewise.
15175         (__x86_64_data_cache_size_half): Likewise.
15176         (__x86_64_raw_data_cache_size_half): Likewise.
15177         (__x86_64_shared_cache_size): Likewise.
15178         (__x86_64_raw_shared_cache_size): Likewise.
15179         (__x86_64_shared_cache_size_half): Likewise.
15180         (__x86_64_raw_shared_cache_size_half): Likewise.
15181         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
15182         to ...
15183         (__x86_data_cache_size): This.
15184         (__x86_64_raw_data_cache_size): Renamed to ...
15185         (__x86_raw_data_cache_size): This.
15186         (__x86_64_data_cache_size_half): Renamed to ...
15187         (__x86_data_cache_size_half): This.
15188         (__x86_64_raw_data_cache_size_half): Renamed to ...
15189         (__x86_raw_data_cache_size_half): This.
15190         (__x86_64_shared_cache_size): Renamed to ...
15191         (__x86_shared_cache_size): This.
15192         (__x86_64_raw_shared_cache_size): Renamed to ...
15193         (__x86_raw_shared_cache_size): This.
15194         (__x86_64_shared_cache_size_half): Renamed to ...
15195         (__x86_shared_cache_size_half): This.
15196         (__x86_64_raw_shared_cache_size_half): Renamed to ...
15197         (__x86_raw_shared_cache_size_half): This.
15198         * sysdeps/x86_64/memcpy.S: Updated.
15199         * sysdeps/x86_64/memset.S: Likewise.
15200         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15201         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15202         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15204 2013-01-04  David S. Miller  <davem@davemloft.net>
15206         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15208 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
15210         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
15211         1 to avoid redefinition warning.
15212         (__USE_GNU): Don't define.
15213         (init_signaling_nan): Protoize.
15215         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15217 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15219         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
15220         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
15221         (__cpymn): Likewise.
15222         (norm): Remove commented code.
15223         (denorm): Likewise.
15224         (__mp_dbl): Likewise.
15225         (__inv): Likewise.
15226         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
15227         (__cpymn): Likewise.
15228         (norm): Remove commented code.
15229         (denorm): Likewise.
15230         (__mp_dbl): Likewise.
15231         (__inv): Likewise.
15233         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
15234         mp_no value for 1.0 and 2.0.
15235         (norm): Use RADIXI instead of radixi.d.
15236         (denorm): Likewise.
15237         (__mul): Use 0.0 instead of zero.d.
15238         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
15239         mp_no value for 1.0 and 2.0.
15240         (norm): Use RADIXI instead of radixi.d.
15241         (denorm): Likewise.
15242         (__mul): Use 0.0 instead of zero.d.
15244 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
15246         [BZ #14994]
15247         * math/s_casinh.c (__casinh): Reduce finite argument to first
15248         quadrant then set signs of results at the end.
15249         * math/s_casinhf.c (__casinhf): Likewise.
15250         * math/s_casinhl.c (__casinhl): Likewise.
15251         * math/libm-test.inc (casin_test): Add more tests.
15252         (casinh_test): Likewise.
15253         * sysdeps/i386/fpu/libm-test-ulps: Update.
15254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15256 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15258         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
15260         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
15262         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
15263         declarations.
15264         (denorm): Likewise.
15265         (__mp_dbl): Likewise.
15266         (__inv): Likewise.
15268         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
15269         and adjust the header comment.
15271         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
15272         variable name from declaration.
15274 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
15276         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15277         Initialize COMMON_CPUID_INDEX_7 element.
15278         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
15279         (CPUID_RTM): Likewise.
15280         (HAS_RTM): Likewise.
15281         (COMMON_CPUID_INDEX_7): New enum.
15283 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
15285         [BZ #14981]
15286         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
15287         size is zero, record memory as freed.
15289 2013-01-03  Andreas Jaeger  <aj@suse.de>
15291         * po/ia.po: Add new Interlingua translation.
15293 2012-01-03  Allan McRae  <allan@archlinux.org>
15295         * locale/programs/localedef.c: Fix description of '--posix' flag.
15297 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
15299         * NEWS: Update dates in second copyright notice.
15300         * README: Update copyright dates in example.
15301         * manual/libc.texinfo: Update copyright dates.
15302         * scripts/test-installation.pl: Update copyright date in --version
15303         output.
15305         * hurd/ctty-input.c: Fix copyright notice formatting.
15306         * hurd/ctty-output.c: Likewise.
15307         * hurd/dtable.c: Likewise.
15308         * hurd/hurd-raise.c: Likewise.
15309         * hurd/hurdprio.c: Likewise.
15310         * hurd/msgportdemux.c: Likewise.
15311         * misc/sys/file.h: Likewise.
15312         * misc/sys/ioctl.h: Likewise.
15313         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15314         * sysdeps/mach/hurd/chdir.c: Likewise.
15315         * sysdeps/mach/hurd/fchdir.c: Likewise.
15316         * sysdeps/mach/hurd/rename.c: Likewise.
15317         * sysdeps/mach/hurd/rmdir.c: Likewise.
15318         * sysdeps/mach/hurd/seekdir.c: Likewise.
15319         * sysdeps/mach/hurd/setsid.c: Likewise.
15320         * sysdeps/posix/wait3.c: Likewise.
15322         * All files with FSF copyright notices: Update copyright dates
15323         using scripts/update-copyrights.
15324         * intl/plural.c: Regenerated.
15325         * locale/programs/charmap-kw.h: Likewise.
15326         * locale/programs/locfile-kw.h: Likewise.
15328 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15330         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
15331         four values.
15333         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
15334         calculation loop and add branch prediction.
15336         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
15337         check access beyond bounds of m1np.
15339         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15340         MPTWO.
15341         (__inv): Remove local variable MPTWO to use the global
15342         constant.
15343         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
15344         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15345         variable MPTWO.
15346         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
15347         MP3HALFS static const.
15349 2013-01-01  David S. Miller  <davem@davemloft.net>
15351         * po/ca.po: Update from translation team.
15353 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
15355         * scripts/update-copyrights: New file.
15356         * Makeconfig: Reformat copyright notice.
15357         * ctype/ctype.h: Likewise.
15358         * debug/swprintf_chk.c: Likewise.
15359         * elf/dl-cache.c: Likewise.
15360         * elf/dl-debug.c: Likewise.
15361         * elf/dl-object.c: Likewise.
15362         * grp/initgroups.c: Likewise.
15363         * hurd/Makefile: Likewise.
15364         * hurd/hurd/signal.h: Likewise.
15365         * hurd/hurdfault.c: Likewise.
15366         * hurd/hurdioctl.c: Likewise.
15367         * hurd/hurdlookup.c: Likewise.
15368         * hurd/intr-msg.c: Likewise.
15369         * iconv/gconv_open.c: Likewise.
15370         * libio/swprintf.c: Likewise.
15371         * locale/lc-ctype.c: Likewise.
15372         * locale/nl_langinfo.c: Likewise.
15373         * mach/Machrules: Likewise.
15374         * mach/Makefile: Likewise.
15375         * malloc/obstack.h: Likewise.
15376         * manual/Makefile: Likewise.
15377         * manual/tsort.awk: Likewise.
15378         * misc/bits/stab.def: Likewise.
15379         * nis/nis_print_group_entry.c: Likewise.
15380         * nis/nis_table.c: Likewise.
15381         * nis/nss_compat/compat-pwd.c: Likewise.
15382         * nis/nss_compat/compat-spwd.c: Likewise.
15383         * po/Makefile: Likewise.
15384         * posix/fnmatch.c: Likewise.
15385         * posix/regex.h: Likewise.
15386         * resolv/Makefile: Likewise.
15387         * resolv/nss_dns/dns-network.c: Likewise.
15388         * resolv/res_hconf.c: Likewise.
15389         * scripts/gen-sorted.awk: Likewise.
15390         * soft-fp/soft-fp.h: Likewise.
15391         * stdio-common/printf.h: Likewise.
15392         * stdlib/monetary.h: Likewise.
15393         * stdlib/random.c: Likewise.
15394         * stdlib/random_r.c: Likewise.
15395         * sysdeps/generic/Makefile: Likewise.
15396         * sysdeps/gnu/Makefile: Likewise.
15397         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15398         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15399         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15400         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15401         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15402         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15403         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15404         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15405         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15406         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15407         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15408         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15409         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15410         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15411         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15412         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15413         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15414         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15415         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15416         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15417         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15418         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15419         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15420         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15421         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
15422         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15423         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15424         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
15425         * sysdeps/mach/hurd/errnos.awk: Likewise.
15426         * sysdeps/mach/hurd/fork.c: Likewise.
15427         * sysdeps/mach/hurd/getcwd.c: Likewise.
15428         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
15429         * sysdeps/mach/hurd/mmap.c: Likewise.
15430         * sysdeps/mach/hurd/utimes.c: Likewise.
15431         * sysdeps/mach/hurd/xmknod.c: Likewise.
15432         * sysdeps/posix/profil.c: Likewise.
15433         * sysdeps/posix/readdir_r.c: Likewise.
15434         * sysdeps/powerpc/bits/mathdef.h: Likewise.
15435         * sysdeps/powerpc/bits/setjmp.h: Likewise.
15436         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
15437         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15438         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15439         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15440         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15441         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15442         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15443         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15444         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15445         * sysdeps/pthread/lio_listio.c: Likewise.
15446         * sysdeps/sparc/dl-procinfo.h: Likewise.
15447         * sysdeps/unix/i386/sysdep.S: Likewise.
15448         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
15449         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
15450         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
15451         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
15452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15453         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
15454         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
15455         * sysdeps/unix/sysv/linux/speed.c: Likewise.
15456         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15457         * sysdeps/wordsize-32/divdi3.c: Likewise.
15458         * time/sys/time.h: Likewise.
15459         * wcsmbs/Makefile: Likewise.
15461 2013-01-01  David S. Miller  <davem@davemloft.net>
15463         * po/fr.po: Update from translation team.
15465         * catgets/gencat.c: Update copyright year.
15466         * csu/version.c: Likewise.
15467         * debug/catchsegv.sh: Likewise.
15468         * debug/pcprofiledump.c: Likewise.
15469         * debug/xtrace.sh: Likewise.
15470         * elf/ldconfig.c: Likewise.
15471         * elf/ldd.bash.in: Likewise.
15472         * elf/pldd.c: Likewise.
15473         * elf/sotruss.ksh: Likewise.
15474         * elf/sprof.c: Likewise.
15475         * iconv/iconv_prog.c: Likewise.
15476         * iconv/iconvconfig.c: Likewise.
15477         * locale/programs/locale.c: Likewise.
15478         * locale/programs/localedef.c: Likewise.
15479         * login/programs/pt_chown.c: Likewise.
15480         * malloc/memusage.sh: Likewise.
15481         * malloc/memusagestat.c: Likewise.
15482         * malloc/mtrace.pl: Likewise.
15483         * nscd/nscd.c: Likewise.
15484         * nss/getent.c: Likewise.
15485         * nss/makedb.c: Likewise.
15486         * posix/getconf.c: Likewise.
15488 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
15490         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
15491         numbers.
15493 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
15495         * math/bits/mathcalls.h (modf): Use __nonnull.
15497 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15499         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
15500         (split): Use macro CN instead of the bare value.
15501         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
15502         could be used.
15503         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
15504         instead of the bare value.
15505         (power1): Likewise.
15507 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15509         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
15510         __ATAN_TWOM.
15511         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15513         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
15514         their values.
15515         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15516         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15517         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
15518         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15520 2012-12-28  Andreas Jaeger  <aj@suse.de>
15522         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
15523         values are from Linux 3.7.
15525         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
15526         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
15528 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15530         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
15531         TRUE case.
15533         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
15534         (norm): Likewise.
15535         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
15536         variables with preprocessor constants.
15537         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15538         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15539         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15541 2012-12-27  Bruno Haible  <bruno@clisp.org>
15543         [BZ #14317]
15544         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
15545         only if needed.
15547 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15549         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
15550         and use variable directly.
15551         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
15553         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15554         MPONE.
15555         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
15556         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15557         variable MPONE.
15558         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15559         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15560         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
15561         include directive.  Remove local variable MPONE.
15562         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
15563         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
15564         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15566 2012-12-25  David S. Miller  <davem@davemloft.net>
15568         * version.h (RELEASE): Set to "development".
15569         (VERSION): Set to "2.17.90".
15570         * NEWS: Add 2.18 section.
15572 2012-12-21  David S. Miller  <davem@davemloft.net>
15574         * po/hr.po: Update from translation team.
15576 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15578         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
15580 2012-12-19  Steve Ellcey  <sellcey@mips.com>
15582         * NEWS:  Mention new memcpy for MIPS.
15584 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15586         * manual/contrib.texi (Contributors): Spelling correction.
15588 2012-12-15  David S. Miller  <davem@davemloft.net>
15590         * po/ru.po: Update from translation team.
15592 2012-12-13  David S. Miller  <davem@davemloft.net>
15594         * NEWS: Mention IFUNC testsuite enhancements.
15596         * po/pl.po: Update from translation team.
15597         * po/bg.po: Likewise.
15599         * manual/contrib.texi (Contributors): Update entries for Hongjiu
15600         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
15602 2012-12-11  David S. Miller  <davem@davemloft.net>
15604         * po/sv.po: Update from translation team.
15606         * po/vi.po: Update from translation team.
15608         * po/cs.po: Update from translation team.
15610         * po/de.po: Update from translation team.
15611         * po/eo.po: Likewise.
15612         * po/nl.po: Likewise.
15614 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15616         [BZ #14246]
15617         * manual/argp.texi (Argp Helper Functions): Move node to follow
15618         Argp Parsing State.
15620         [BZ #14872]
15621         * manual/conf.texi (Limits on File System Capacity): Mention if
15622         terminating null is included in the max size.
15624 2012-12-10  Andreas Jaeger  <aj@suse.de>
15626         * po/cs.po: Update from translation team.
15628 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15630         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
15631         void pointer and cast to uintptr_t.
15632         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
15633         path.
15634         * sysdeps/s390/s390-64/memcpy.S: Likewise.
15635         * sysdeps/s390/s390-64/memset.S: Likewise.
15637 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
15639         [BZ #14833]
15640         * menual/message.texi (Message Translation): Fix typos.
15641         (Helper programs for gettext): Likewise.
15643 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
15645         [BZ #14898]
15646         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
15647         Change to -1.
15649 2012-12-07  David S. Miller  <davem@davemloft.net>
15651         * po/libc.pot: Update.
15653 2012-12-07  Richard Henderson  <rth@redhat.com>
15655         [BZ #10114]
15656         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
15657         normal/normal case to before the switch.
15658         (_FP_DIV): Likewise.
15660 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
15661             Mike Frysinger  <vapier@gentoo.org>
15663         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
15664         check for __NR_fadvise64_64.
15666 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
15668         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
15669         0, not just to plain "0" as a statement.
15670         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
15671         with cw.
15673 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
15675         * NEWS: Use sourceware.org in Bugzilla URL.
15677 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
15679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15680         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15682         * stdio-common/tst-put-error.c (do_test): Add newline to the
15683         padded test to ensure flush.
15685 2012-12-05  Jeff Law  <law@redhat.com>
15687         * sunrpc/etc.rpc (fedfs_admin): Add entry.
15689 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
15691         * README: Don't refer to ports add-on as distributed separately.
15692         Mention AArch64 in list of systems supported in the ports add-on.
15694         * LICENSES: Add more non-FSF copyright and license notices.
15696         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
15697         ((unused)).
15699         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
15701         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
15702         10000 as width of padded output.
15704 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
15706         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
15708         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
15709         variable LX with __attribute__ ((unused)).
15710         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15711         Likewise.
15712         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15713         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15714         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
15715         with __attribute__ ((unused)).
15717 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
15719         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15721 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
15723         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
15724         (CFLAGS-nldbl-acos.c): New variable.
15725         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
15726         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
15727         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
15728         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
15729         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
15730         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15731         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
15732         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
15733         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
15734         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
15735         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
15736         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
15737         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
15738         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15739         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15740         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15741         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15742         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15743         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15744         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15745         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15746         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15747         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15748         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15749         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15750         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15751         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15752         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15753         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15754         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15755         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15756         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15757         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15758         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15759         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15760         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15761         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15762         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15763         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15764         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15765         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15766         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15767         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15768         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15769         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15770         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15771         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15772         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15773         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15774         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15775         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15776         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15777         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15778         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15779         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15780         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15781         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15782         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15783         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15784         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15785         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15786         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15787         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15788         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15789         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15790         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15791         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15792         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15793         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15794         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15795         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15796         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15797         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15798         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15799         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15800         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15801         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15802         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15803         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15804         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15805         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15806         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15807         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15808         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15809         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15810         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15811         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15812         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15813         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15814         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15815         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15816         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15817         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15818         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15819         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15820         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15821         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15824         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15826         [BZ #14914]
15827         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15828         whole low double instead of just low 47 bits when splitting values
15829         into two parts.
15831 2012-12-03  Allan McRae  <allan@archlinux.org>
15833         * manual/stdio.texi (Predefined Printf Handlers): Remove
15834         @hsep and @vsep usage.
15836 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
15838         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15839         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15841 2012-12-03  Jeff Law  <law@redhat.com>
15843         * time/sys/time.h (settimeofday): Do not mark TV argument
15844         as __nonnull.
15846 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
15848         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15849         when currently writing and seek to current position when not.
15850         * libio/Makefile (tests): Remove bug-fclose1.
15851         * libio/bug-fclose1.c: Delete.
15853 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
15855         * manual/arith.texi (feenableexcept): Fix typo.
15856         (fedisableexcept): Likewise.
15858 2012-11-30  Roland McGrath  <roland@hack.frob.com>
15860         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15861         second, differently-typed declaration, rather than a cast.
15863 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15865         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15866         * include/rpc/svc.h: ... here.
15868 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
15870         [BZ #13013]
15871         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15872         depending n and resplen2 to catch cases where answer
15873         equals answerp2.
15875 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
15877         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15878         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15880 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
15882         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15884 2012-11-29  Roland McGrath  <roland@hack.frob.com>
15886         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15888 2012-11-28  Jeff Law  <law@redhat.com>
15890         [BZ #13761]
15891         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15892         dataset_temporary.  Track alloca usage into alloca_used.
15893         If dataset is large allocate and release it via malloc/free.
15895 2012-06-04  Florian Weimer  <fweimer@redhat.com>
15897         [BZ #14197]
15898         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15900 2012-11-28  David S. Miller  <davem@davemloft.net>
15902         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15904 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
15906         [BZ #14803]
15907         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15908         of pi/2 rounded to nearest to 64 bits.
15909         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15910         nearest to 64 bits.
15911         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15912         bits.
15914 2012-11-28  Jeff Law <law@redhat.com>
15915             Martin Osvald <mosvald@redhat.com>
15917         [BZ #14889]
15918         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15919         * sunrpc/svc.c: Include time.h.
15920         (__svc_accept_failed): New function.
15921         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15922         any reason other than EINTR, call __svc_accept_failed.
15923         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15924         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15926 2012-11-28  Andreas Schwab  <schwab@suse.de>
15928         * scripts/abilist.awk: Also handle indirect functions in .opd
15929         section.
15931 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
15933         [BZ #13881]
15934         * sysdeps/x86/fpu/powl_helper.c: New file.
15935         * sysdeps/x86/fpu/Makefile: Likewise.
15936         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15937         (p3): New object.
15938         (__ieee754_powl): Use __powl_helper for finite arguments except
15939         integer exponents below 8.
15940         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15941         (p3): New object.
15942         (__ieee754_powl): Use __powl_helper for finite arguments except
15943         integer exponents below 8.
15944         * math/libm-test.inc (pow_test): Add more tests and enable some
15945         previously disabled tests.
15946         * sysdeps/i386/fpu/libm-test-ulps: Update.
15947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15949 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15950             Carlos O'Donell  <carlos_odonell@mentor.com>
15952         * nss/makedb.c (is_prime): Assert that input is odd and greater
15953         than 4.  Note that fact in a comment too.
15954         (next_prime): Add 4 to input.
15956 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15958         [BZ #11741]
15959         * libio/Makefile (tests): Add test case tst-fwrite-error.
15960         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15961         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15962         * libio/tst-fwrite-error.c: New test case.
15964 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
15966         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15967         before casting to void *.
15968         * include/libc-internal.h (__pointer_type): New macro.
15969         (__integer_if_pointer_type_sub): Likewise.
15970         (__integer_if_pointer_type): Likewise.
15971         (cast_to_integer): Likewise.
15972         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15973         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15974         before casting to atomic64_t.
15975         (atomic_exchange_acq): Likewise.
15976         (__arch_exchange_and_add_body): Likewise.
15977         (__arch_add_body): Likewise.
15978         (atomic_add_negative): Likewise.
15979         (atomic_add_zero): Likewise.
15981 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
15983         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15984         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15985         (add_fdes): Likewise.
15986         (linear_search_fdes): Likewise.
15987         (binary_search_unencoded_fdes): Likewise.
15989 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
15991         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15993 2012-11-24  Adam Conrad  <adconrad@0c3.net>
15995         * configure.in: Autodetect C++ header directories.
15996         * configure: Regenerated.
15998 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
16000         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
16002 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
16004         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16006 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
16008         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
16009         LDBL_MANT_DIG == 106]: Disable some tests.
16010         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
16011         Likewise.
16012         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
16013         Likewise.
16015         [BZ #14871]
16016         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
16017         input for small inputs.  Return +/- pi/2 for large inputs.
16018         * math/libm-test.inc (atan_test): Add more tests.
16020         * sysdeps/generic/unwind-dw2-fde-glibc.c
16021         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
16022         __attribute__ ((unused)).
16024         [BZ #14645]
16025         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
16026         x * y if x and y are nonzero and z is zero.
16028         [BZ #14811]
16029         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
16030         nonzero exponents with absolute value below 0x1p-117 to +/-
16031         0x1p-117.
16033         [BZ #14869]
16034         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
16035         up arguments below 2**-450, not just those below 2**-500.
16036         * math/libm-test.inc (hypot_test): Add another test.
16038         [BZ #14868]
16039         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
16040         Return a+b for ratio over 2**120, not 2**60.
16041         * math/libm-test.inc (hypot_test): Add another test.
16043         * math/libm-test.inc (clog_test): Use
16044         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
16045         (clog10_test): Likewise.
16047         [BZ #6778]
16048         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
16050 2012-11-22  Andreas Schwab  <schwab@suse.de>
16052         * sysdeps/i386/fpu/libm-test-ulps: Update.
16054 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
16056         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
16057         printf output with newline.
16059 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
16061         [BZ #14865]
16062         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
16063         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
16064         -z nodlopen, -z initfirst and -z execstack support.
16065         * configure: Regenerated.
16067         * elf/elf.h (DF_1_NODIRECT): New macro.
16068         (DF_1_IGNMULDEF): Likewise.
16069         (DF_1_NOKSYMS): Likewise.
16070         (DF_1_NOHDR): Likewise.
16071         (DF_1_EDITED): Likewise.
16072         (DF_1_NORELOC): Likewise.
16073         (DF_1_SYMINTPOSE): Likewise.
16074         (DF_1_GLOBAUDIT): Likewise.
16075         (DF_1_SINGLETON): Likewise.
16076         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
16077         DT_1_SUPPORTED_MASK bits.
16078         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
16080 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
16082         * sysdeps/unix/make-syscalls.sh: Document prefixes.
16084 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
16086         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
16087         macro.
16089         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
16090         (sendmmsg): Move declarations...
16091         * socket/sys/socket.h: ... here.
16092         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
16093         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
16094         include it from...
16095         * socket/recvmmsg.c: ... this new file.
16096         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
16097         (sendmmsg): Rename to __sendmmsg, create weak alias and make
16098         definition of __sendmmsg hidden.
16099         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
16100         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
16101         Move ENOSYS stub into and include it from...
16102         * socket/sendmmsg.c: ... this new file.
16103         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
16104         (sysdep_routines): Move recvmmsg and sendmmsg...
16105         * socket/Makefile (routines): ... here.
16106         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
16107         (GLIBC_PRIVATE): Add __sendmmsg.
16108         * include/sys/socket.h (__sendmmsg): Add declarations.
16109         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
16110         sendmmsg.
16112 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
16114         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
16115         variable I1 with __attribute__ ((unused)).
16116         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16118 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
16120         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
16121         DUMMY variables with __attribute__ ((unused)).
16123         * bits/byteswap.h: Include <bits/types.h>.
16124         (__bswap_64): Use __uint64_t instead of unsigned long long int.
16126 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
16128         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
16129         string_t.  Do not manually set errno.
16130         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
16131         length with __strnlen.  Make sure to both set errno and return it on
16132         failure.
16134 2012-11-19  David S. Miller  <davem@davemloft.net>
16136         With help from Joseph Myers.
16137         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
16138         very large arguments properly.
16139         * math/libm-test.inc (atan_test): New tests.
16140         (atan2_test): New tests.
16141         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16142         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16144 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
16146         [BZ #14856]
16147         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
16148         Define to 3.
16150         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
16151         [POSIX] (EADDRNOTAVAIL): Likewise.
16152         [POSIX] (EAFNOSUPPORT): Likewise.
16153         [POSIX] (EALREADY): Likewise.
16154         [POSIX] (ECONNABORTED): Likewise.
16155         [POSIX] (ECONNREFUSED): Likewise.
16156         [POSIX] (ECONNRESET): Likewise.
16157         [POSIX] (EDESTADDRREQ): Likewise.
16158         [POSIX] (EDQUOT): Likewise.
16159         [POSIX] (EHOSTUNREACH): Likewise.
16160         [POSIX] (EIDRM): Likewise.
16161         [POSIX] (EISCONN): Likewise.
16162         [POSIX] (ELOOP): Likewise.
16163         [POSIX] (EMULTIHOP): Likewise.
16164         [POSIX] (ENETDOWN): Likewise.
16165         [POSIX] (ENETUNREACH): Likewise.
16166         [POSIX] (ENOBUFS): Likewise.
16167         [POSIX] (ENODATA): Likewise.
16168         [POSIX] (ENOLINK): Likewise.
16169         [POSIX] (ENOMSG): Likewise.
16170         [POSIX] (ENOPROTOOPT): Likewise.
16171         [POSIX] (ENOSR): Likewise.
16172         [POSIX] (ENOSTR): Likewise.
16173         [POSIX] (ENOTCONN): Likewise.
16174         [POSIX] (ENOTSOCK): Likewise.
16175         [POSIX] (EOPNOTSUPP): Likewise.
16176         [POSIX] (EOVERFLOW): Likewise.
16177         [POSIX] (EPROTO): Likewise.
16178         [POSIX] (EPROTONOSUPPORT): Likewise.
16179         [POSIX] (EPROTOTYPE): Likewise.
16180         [POSIX] (ESTALE): Likewise.
16181         [POSIX] (ETIME): Likewise.
16182         [POSIX] (ETXTBSY): Likewise.
16183         [POSIX] (EWOULDBLOCK): Likewise.
16184         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
16185         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
16186         [POSIX] (SEEK_CUR): Likewise.
16187         [POSIX] (SEEK_END): Likewise.
16188         [POSIX || UNIX98] (mode_t): Do not require.
16189         [POSIX] (off_t): Likewise.
16190         [POSIX] (pid_t): Likewise.
16191         [POSIX] (sys/stat.h): Do not allow header.
16192         [POSIX] (unistd.h): Likewise.
16193         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
16194         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
16195         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
16196         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
16197         require.
16198         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
16199         sigevent): Specify elements.
16200         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
16201         entry.
16202         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
16203         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
16205         * conform/data/cpio.h-data [POSIX]: Disable whole file.
16206         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
16207         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
16208         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
16209         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
16210         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
16211         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
16212         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
16213         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
16214         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
16215         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
16216         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
16217         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
16218         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
16219         Likewise.
16220         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
16221         Likewise.
16222         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
16223         Likewise.
16224         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
16225         Likewise.
16226         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
16227         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
16228         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
16229         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
16230         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
16231         Specify lower bound on value.
16232         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
16233         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
16234         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
16235         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
16236         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
16237         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
16238         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
16239         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
16240         value.
16241         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
16242         as optional.
16243         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
16244         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
16245         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
16246         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
16247         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
16248         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
16249         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
16250         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
16251         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
16252         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
16253         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
16254         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
16255         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
16256         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
16257         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
16258         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
16259         entry.
16260         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
16261         optional.
16262         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
16263         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
16264         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
16265         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
16266         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
16267         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
16268         Likewise.
16269         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
16270         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
16271         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
16272         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
16273         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
16274         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
16275         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
16276         as optional.
16277         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
16278         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
16279         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
16280         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
16281         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
16282         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
16283         specify as optional.
16284         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
16285         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
16286         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
16287         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
16288         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
16289         [XPG3] (NL_LANGMAX): Likewise.
16290         [POSIX || XPG3] (NL_MSGMAX): Likewise.
16291         [POSIX || XPG3] (NL_NMAX): Likewise.
16292         [POSIX || XPG3] (NL_SETMAX): Likewise.
16293         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
16294         [XPG3] (NZERO): Likewise.
16295         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
16296         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
16297         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
16298         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
16299         (REG_ERANGE): Expect.
16300         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
16301         optional-constant.
16302         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
16303         Use (void) in prototype.
16304         [POSIX] (*_t): Allow.
16305         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
16306         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
16307         (WRDE_BADVAL): Expect.
16309         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
16310         expect.
16311         [XPG3 || XPG4] (O_RSYNC): Likewise.
16312         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
16313         Likewise.
16314         [XPG3 || XPG4] (pthread_sigmask): Likewise.
16315         [XPG3 || XPG4] (sigqueue): Likewise.
16316         [XPG3 || XPG4] (sigtimedwait): Likewise.
16317         [XPG3 || XPG4] (sigwaitinfo): Likewise.
16318         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
16319         [XPG3 || XPG4] (vsnprintf): Likewise.
16320         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
16321         Likewise.
16322         [XPG3 || XPG4] (blksize_t): Likewise.
16323         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
16324         Likewise.
16325         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
16326         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16327         [XPG3 || XPG4] (struct itimerspec): Likewise.
16328         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
16329         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
16330         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
16331         [XPG3 || XPG4] (clockid_t): Likewise.
16332         [XPG3 || XPG4] (timer_t): Likewise.
16333         [XPG3 || XPG4] (clock_getres): Likewise.
16334         [XPG3 || XPG4] (clock_gettime): Likewise.
16335         [XPG3 || XPG4] (clock_settime): Likewise.
16336         [XPG3 || XPG4] (nanosleep): Likewise.
16337         [XPG3 || XPG4] (timer_create): Likewise.
16338         [XPG3 || XPG4] (timer_delete): Likewise.
16339         [XPG3 || XPG4] (timer_gettime): Likewise.
16340         [XPG3 || XPG4] (timer_getoverrun): Likewise.
16341         [XPG3 || XPG4] (timer_settime): Likewise.
16342         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
16343         [XPG3 || XPG4] (getlogin_r): Likewise.
16344         [XPG3 || XPG4] (pread): Likewise.
16345         [XPG3 || XPG4] (pthread_atfork): Likewise.
16346         [XPG3 || XPG4] (pwrite): Likewise.
16348         [BZ #14835]
16349         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
16350         <bits/siginfo.h>.
16352 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
16354         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
16355         finalizing MALLSTREAM.
16357         * sysdeps/mach/hurd/syncfs.c: New file.
16359 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16361         [BZ #14719]
16362         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
16363         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
16364         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
16365         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
16366         (_nss_dns_gethostbyname4_r): Likewise.
16367         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
16368         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
16370 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
16372         [BZ #13763]
16373         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
16375 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
16377         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
16378         * elf/cache.c (print_entry): Print ",AArch64" for
16379         FLAG_AARCH64_LIB64
16381         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
16382         * elf/cache.c (print_entry): Print ",hard-float" for
16383         FLAG_ARM_LIBHF.
16385 2012-11-18  David S. Miller  <davem@davemloft.net>
16387         With help from Joseph Myers.
16388         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
16389         cutoff to 2**-13.
16390         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
16391         cutoff to 2**-25.
16392         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
16393         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
16394         small.
16395         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
16396         * math/libm-test.inc (y0_test): New tests.
16397         (y1_test): New tests.
16398         * sysdeps/i386/fpu/libm-test-ulps: Update.
16399         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16400         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16402 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
16404         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
16405         64-bit targets.
16406         * configure: Regenerated.
16408 2012-11-17  David S. Miller  <davem@davemloft.net>
16410         [BZ #14811]
16411         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
16412         nonzero exponents with absolute value below 0x1p-128 to +/-
16413         0x1p-128.
16415 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
16417         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
16419         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
16421         * posix/getconf-speclist.c: New file.
16422         * posix/posix-envs.def: Likewise.
16423         * posix/confstr.c (START_ENV_GROUP): New macro.
16424         (END_ENV_GROUP): Likewise.
16425         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16426         (KNOWN_PRESENT_ENV_STRING): Likewise.
16427         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16428         (UNKNOWN_ENVIRONMENT): Likewise.
16429         (confstr): Include posix-envs.def instead of handling
16430         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
16431         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
16432         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
16433         (END_ENV_GROUP): Likewise.
16434         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16435         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16436         (UNKNOWN_ENVIRONMENT): Likewise.
16437         (__sysconf): Include posix-envs.def instead of handling associated
16438         cases directly here.
16439         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
16440         preprocessing getconf-speclist.c rather than running getconf or
16441         generating empty file.
16443 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
16445         * scripts/check-local-headers.sh: Ignore 'mach' headers.
16447 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
16449         [BZ #14672]
16450         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
16452 2012-11-16  David S. Miller  <davem@davemloft.net>
16454         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
16455         smaller than LDBL_EPSILON/2.0L, just return xm1.
16457 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
16459         * elf/tst-array1.c (init): Set constructor priority to 1000.
16460         (fini): Set destructor priority to 1000.
16461         * elf/tst-array2dep.c: Likewise.
16463 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16465         [BZ #11741]
16466         * libio/fileops.c (_IO_new_file_write): Correctly return error.
16467         (_IO_new_file_xsputn): Also return EOF if none of the input
16468         data was written when overflow failed.
16469         * libio/iopadn.c (_IO_padn): Likewise.
16470         * libio/iowpadn.c (_IO_wpadn): Likewise.
16471         * stdio-common/tst-put-error.c: Add copyright notice.
16472         (do_test): Add case for printing padded string.
16473         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
16474         _IO_padn returned error.
16475         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
16476         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
16477         return EOF.
16479 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16481         * libio/libioP.h: Add comment note that the references to C++
16482         bits are now obsolete.
16484 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16486         * math/libm-test.inc (check_complex): Use asprintf.
16488 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
16490         * debug/pcprofiledump.c (print_version): Update copyright year.
16491         * malloc/memusagestat.c (print_version): Likewise.
16493 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
16495         [BZ #14831]
16496         * elf/Makefile (tests): Add tst-audit8.
16497         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
16498         ($(objpfx)tst-audit8.out): New target.
16499         (tst-audit8-ENV): New variable.
16500         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
16501         audit if l_reloc_result is NULL.
16502         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
16503         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
16504         * elf/tst-audit8.c: New file.
16506 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16508         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
16509         * misc/Makefile (CFLAGS-select.c): Define.
16510         * posix/Makefile (CFLAGS-pause.c): Define.
16512 2012-11-13  David S. Miller  <davem@davemloft.net>
16514         * crypt/Makefile: Move test targets after toplevel Rules
16515         inclusion.  Grab any necessary sysdep routines when linking.
16516         * crypt/md5.c (md5_process_block): Remove define, we will always
16517         name it __md5_process_block.
16518         (md5_finish_ctx): Update md5_process_block call.
16519         (md5_stream): Likewise.
16520         (md5_process_bytes): Likewise.
16521         (md5_process_block): Rename to __md5_process_block and move to ...
16522         * crypt/md5-block.c: ... here.
16523         * crypt/sha256.c (sha256_process_block): Move to ...
16524         * crypt/sha256-block.c: ... here.
16525         * crypt/sha512.c (sha512_process_block): Move to ...
16526         * crypt/sha512-block.c: ... here.
16527         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
16528         path.
16529         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
16530         * sysdeps/sparc/sparc64/multiarch/Makefile
16531         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
16532         crypt subdir.
16533         (localedef-aux): Add md5 crypto assembler when in locale subdir.
16534         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
16535         multiarch changes.
16536         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
16537         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
16538         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
16539         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
16540         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
16541         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
16542         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
16543         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
16544         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
16545         file.
16546         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
16547         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
16548         file.
16549         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
16551 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
16553         * timezone/tzselect.ksh: Update from tzcode git revision
16554         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
16555         * timezone/zdump.c: Likewise.
16556         * timezone/zic.c: Likewise.
16557         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
16558         in TZVERSION setting, not $(PKGVERSION).
16559         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
16560         REPORT_BUGS_TO settings.
16562         [BZ #14838]
16563         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
16564         macro.
16566 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16568         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
16569         detection to immediately after _FP_ROUND().
16570         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
16571         bits are 0.
16573 2012-11-11  David S. Miller  <davem@davemloft.net>
16575         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
16576         inttypes.h
16577         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
16578         __close rather than their public counterparts.
16580 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
16582         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
16583         file.
16584         [UNIX98] (sem_timedwait): Do not expect.
16585         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
16586         [XPG4 || UNIX98] (sockatmark): Do not expect.
16587         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
16588         (clock_getcpuclockid): Do not expect.
16589         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
16590         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
16591         Do not expect.
16592         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
16593         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
16594         [UNIX98] (vwscanf): Likewise.
16595         [UNIX98] (vswscanf): Likewise.
16597 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
16599         * timezone/version.h: Remove file.
16600         * timezone/README: Do not refer to version.h.
16601         * timezone/Makefile ($(objpfx)zic.o): New dependency on
16602         $(objpfx)version.h.
16603         ($(objpfx)zdump.o): Likewise.
16604         ($(objpfx)version.h): New target.
16606         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
16607         2012i.
16608         * timezone/README: Don't mention modification to tzselect.ksh.
16609         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
16610         work on unmodified tzselect.ksh.  Substitute version numbers in
16611         tzselect.ksh.
16613         * Makefile (format-me): Remove.
16614         (INSTALL): Adjust indentation.  Use commands directly instead of
16615         using $(format-me).
16617         * aclocal.m4 (ACX_PKGVERSION): New macro.
16618         (ACX_BUGURL): Likewise.
16619         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
16620         (PKGVERSION): New AC_DEFINE_UNQUOTED.
16621         (REPORT_BUGS_TO): Likewise.
16622         * configure: Regenerated.
16623         * config.h.in (PKGVERSION): New macro.
16624         (REPORT_BUGS_TO): Likewise.
16625         * config.make.in (PKGVERSION): New variable.
16626         (PKGVERSION_TEXI): Likewise.
16627         (REPORT_BUGS_TO): Likewise.
16628         (REPORT_BUGS_TEXI): Likewise.
16629         * Makefile (format-me): Use -I$(common-objpfx)manual.
16630         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
16631         ($(common-objpfx)manual/%): New target.
16632         (manual/%): Remove target.
16633         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
16634         (print_version): Use PKGVERSION.
16635         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
16636         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
16637         and REPORT_BUGS_TO.
16638         ($(objpfx)xtrace): Likewise.
16639         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
16640         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
16641         (print_version): Use PKGVERSION.
16642         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
16643         (do_version): Use PKGVERSION.
16644         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
16645         REPORT_BUGS_TO.
16646         (common-ldd-rewrite): Likewise.
16647         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
16648         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
16649         (print_version): Use PKGVERSION.
16650         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
16651         * elf/pldd.c (argp_program_bug_address): Remove variable.
16652         (more_help): New function.
16653         (argp): Use more_help.
16654         (print_version): Use PKGVERSION.
16655         * elf/sln.c (main): Use PKGVERSION.
16656         (usage): Use REPORT_BUGS_TO.
16657         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
16658         (top level): Use PKGVERSION.
16659         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
16660         (print_version): Use PKGVERSION.
16661         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
16662         (print_version): Use PKGVERSION.
16663         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
16664         (print_version): Use PKGVERSION.
16665         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
16666         (print_version): Use PKGVERSION.
16667         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
16668         (print_version): Use PKGVERSION.
16669         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
16670         (print_version): Use PKGVERSION.
16671         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
16672         and BUGURL.
16673         ($(objpfx)memusage): Likewise.
16674         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
16675         (do_version): Use PKGVERSION.
16676         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
16677         (print_version): Use PKGVERSION.
16678         * malloc/mtrace.pl ($PACKAGE): Remove variable.
16679         ($PKGVERSION): New variable.
16680         ($REPORT_BUGS_TO): Likewise.
16681         (usage): Use $REPORT_BUGS_TO.
16682         (top level): Use $PKGVERSION.
16683         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
16684         ($(objpfx)pkgvers.texi): New rule.
16685         ($(objpfx)stamp-pkgvers): Likewise.
16686         * manual/install.texi: Include pkgvers.texi.
16687         (--with-pkgversion): Document new configure option.
16688         (--with-bugurl): Likewise.
16689         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
16690         than necessarily for this particular distribution.  Use
16691         REPORT_BUGS_TO for where to report bugs.
16692         * INSTALL: Regenerated.
16693         * manual/libc.texinfo: Include pkgvers.texi.
16694         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
16695         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
16696         (print_version): Use PKGVERSION.
16697         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
16698         (print_version): Use PKGVERSION.
16699         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
16700         (print_version): Use PKGVERSION.
16701         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
16702         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
16703         macro.
16704         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
16705         (print_version): Use PKGVERSION.
16706         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
16707         (print_version): Use PKGVERSION.
16708         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
16709         and PKGVERSION.
16711         * timezone/checktab.awk: Update from tzcode 2012i.
16712         * timezone/ialloc.c: Likewise.
16713         * timezone/private.h: Likewise.
16714         * timezone/scheck.c: Likewise.
16715         * timezone/tzfile.h: Likewise.
16716         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
16717         (TZVERSION): Hardcode tzcode version number.
16718         * timezone/zdump.c: Update from tzcode 2012i.
16719         * timezone/zic.c: Likewise.
16720         * timezone/version.h: New file.
16721         * timezone/README: Describe version.h.  Update upstream location.
16723         [BZ #14824]
16724         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
16725         (mktemp): Enable declaration.
16726         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
16727         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
16728         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
16729         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
16730         Likewise.
16731         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
16732         Likewise.
16733         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
16734         Likewise.
16735         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
16736         Likewise.
16737         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
16738         Likewise.
16739         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16740         Likewise.
16742         [BZ #14821]
16743         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16744         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
16745         for copies of such integer values.
16746         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16747         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16749 2012-11-09  Andreas Jaeger  <aj@suse.de>
16751         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16752         definitions and declarations that are provided by
16753         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16755 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16757         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
16758         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16759         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16760         definition.
16762 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16764         * elf/elf.h: Update comment before AArch64 relocations.
16766 2012-11-07  David S. Miller  <davem@davemloft.net>
16768         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16769         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16770         (__start_context): Declare.
16771         (__makecontext_ret): Delete.
16772         (__makecontext): Hook up __start_context instead of
16773         __makecontext_ret.
16774         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16775         (sysdep_routines): Add __start_context when in stdlib.
16777 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16779         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16780         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16781         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
16782         hardcoded "nm".
16783         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
16784         (READELF): New variable.  Use it instead of hardcoded "readelf".
16786 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
16788         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16789         * sysdeps/x86/Makefile: Here.
16790         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16791         * sysdeps/x86/tst-xmmymm.sh: This.
16793 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16795         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16796         expectations.
16797         [UNIX98] (pthread_barrier_t): Do not expect.
16798         [UNIX98] (pthread_barrierattr_t): Likewise.
16799         [UNIX98] (pthread_spinlock_t): Likewise.
16800         [UNIX98] (pthread_barrier_destroy): Likewise.
16801         [UNIX98] (pthread_barrier_init): Likewise.
16802         [UNIX98] (pthread_barrier_wait): Likewise.
16803         [UNIX98] (pthread_barrierattr_destroy): Likewise.
16804         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16805         [UNIX98] (pthread_barrierattr_init): Likewise.
16806         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16807         [UNIX98] (pthread_getcpuclockid): Likewise.
16808         [UNIX98] (pthread_mutex_timedlock): Likewise.
16809         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16810         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16811         [UNIX98] (pthread_sigmask): Likewise.
16812         [UNIX98] (pthread_spin_destroy): Likewise.
16813         [UNIX98] (pthread_spin_init): Likewise.
16814         [UNIX98] (pthread_spin_lock): Likewise.
16815         [UNIX98] (pthread_spin_trylock): Likewise.
16816         [UNIX98] (pthread_spin_unlock): Likewise.
16817         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16818         Do not expect.
16819         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16820         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16821         [XPG3 || XPG4] (pthread_cond_t): Likewise.
16822         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16823         [XPG3 || XPG4] (pthread_key_t): Likewise.
16824         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16825         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16826         [XPG3 || XPG4] (pthread_once_t): Likewise.
16827         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16828         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16829         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16830         [XPG3 || XPG4] (pthread_t): Likewise.
16832         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16833         not expect.
16834         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16836         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16837         Change function return type to int.
16839         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16840         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16841         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16842         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16843         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16844         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16845         [!POSIX] (posix_madvise): Likewise.
16846         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16847         && !UNIX98].
16848         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16849         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16850         (mode_t): Likewise.
16851         (posix_mem_offset): Likewise.
16852         (posix_typed_mem_get_info): Likewise.
16853         (posix_typed_mem_open): Likewise.
16855         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16856         Change condition to [XOPEN2K8].
16858         * conform/conformtest.pl: Preprocess allow-header data with -x c
16859         instead of from stdin.
16860         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16861         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16862         [C99-based standards] (cerfc): Likewise.
16863         [C99-based standards] (cexp2): Likewise.
16864         [C99-based standards] (cexpm1): Likewise.
16865         [C99-based standards] (clog10): Likewise.
16866         [C99-based standards] (clog1p): Likewise.
16867         [C99-based standards] (clog2): Likewise.
16868         [C99-based standards] (clgamma): Likewise.
16869         [C99-based standards] (ctgamma): Likewise.
16870         [C99-based standards] (cerff): Likewise.
16871         [C99-based standards] (cerfcf): Likewise.
16872         [C99-based standards] (cexp2f): Likewise.
16873         [C99-based standards] (cexpm1f): Likewise.
16874         [C99-based standards] (clog10f): Likewise.
16875         [C99-based standards] (clog1pf): Likewise.
16876         [C99-based standards] (clog2f): Likewise.
16877         [C99-based standards] (clgammaf): Likewise.
16878         [C99-based standards] (ctgammaf): Likewise.
16879         [C99-based standards] (cerfl): Likewise.
16880         [C99-based standards] (cerfcl): Likewise.
16881         [C99-based standards] (cexp2l): Likewise.
16882         [C99-based standards] (cexpm1l): Likewise.
16883         [C99-based standards] (clog10l): Likewise.
16884         [C99-based standards] (clog1pl): Likewise.
16885         [C99-based standards] (clog2l): Likewise.
16886         [C99-based standards] (clgammal): Likewise.
16887         [C99-based standards] (ctgammal): Likewise.
16888         * conform/data/inttypes.h-data [C99-based standards]: Include
16889         stdint.h-data.  Remove all expectations for stdint.h contents.
16890         [C99-based standards] (PRI*): Do not allow.
16891         [C99-based standards] (SCN*): Likewise.
16892         [C99-based standards] (*_t): Likewise.
16893         [C99-based-standards] (PRId8): Expect macro.
16894         [C99-based-standards] (PRIi8): Likewise.
16895         [C99-based-standards] (PRIo8): Likewise.
16896         [C99-based-standards] (PRIu8): Likewise.
16897         [C99-based-standards] (PRIx8): Likewise.
16898         [C99-based-standards] (PRIX8): Likewise.
16899         [C99-based-standards] (SCNd8): Likewise.
16900         [C99-based-standards] (SCNi8): Likewise.
16901         [C99-based-standards] (SCNo8): Likewise.
16902         [C99-based-standards] (SCNu8): Likewise.
16903         [C99-based-standards] (SCNx8): Likewise.
16904         [C99-based-standards] (PRIdLEAST8): Likewise.
16905         [C99-based-standards] (PRIiLEAST8): Likewise.
16906         [C99-based-standards] (PRIoLEAST8): Likewise.
16907         [C99-based-standards] (PRIuLEAST8): Likewise.
16908         [C99-based-standards] (PRIxLEAST8): Likewise.
16909         [C99-based-standards] (PRIXLEAST8): Likewise.
16910         [C99-based-standards] (SCNdLEAST8): Likewise.
16911         [C99-based-standards] (SCNiLEAST8): Likewise.
16912         [C99-based-standards] (SCNoLEAST8): Likewise.
16913         [C99-based-standards] (SCNuLEAST8): Likewise.
16914         [C99-based-standards] (SCNxLEAST8): Likewise.
16915         [C99-based-standards] (PRIdFAST8): Likewise.
16916         [C99-based-standards] (PRIiFAST8): Likewise.
16917         [C99-based-standards] (PRIoFAST8): Likewise.
16918         [C99-based-standards] (PRIuFAST8): Likewise.
16919         [C99-based-standards] (PRIxFAST8): Likewise.
16920         [C99-based-standards] (PRIXFAST8): Likewise.
16921         [C99-based-standards] (SCNdFAST8): Likewise.
16922         [C99-based-standards] (SCNiFAST8): Likewise.
16923         [C99-based-standards] (SCNoFAST8): Likewise.
16924         [C99-based-standards] (SCNuFAST8): Likewise.
16925         [C99-based-standards] (SCNxFAST8): Likewise.
16926         [C99-based-standards] (PRId16): Likewise.
16927         [C99-based-standards] (PRIi16): Likewise.
16928         [C99-based-standards] (PRIo16): Likewise.
16929         [C99-based-standards] (PRIu16): Likewise.
16930         [C99-based-standards] (PRIx16): Likewise.
16931         [C99-based-standards] (PRIX16): Likewise.
16932         [C99-based-standards] (SCNd16): Likewise.
16933         [C99-based-standards] (SCNi16): Likewise.
16934         [C99-based-standards] (SCNo16): Likewise.
16935         [C99-based-standards] (SCNu16): Likewise.
16936         [C99-based-standards] (SCNx16): Likewise.
16937         [C99-based-standards] (PRIdLEAST16): Likewise.
16938         [C99-based-standards] (PRIiLEAST16): Likewise.
16939         [C99-based-standards] (PRIoLEAST16): Likewise.
16940         [C99-based-standards] (PRIuLEAST16): Likewise.
16941         [C99-based-standards] (PRIxLEAST16): Likewise.
16942         [C99-based-standards] (PRIXLEAST16): Likewise.
16943         [C99-based-standards] (SCNdLEAST16): Likewise.
16944         [C99-based-standards] (SCNiLEAST16): Likewise.
16945         [C99-based-standards] (SCNoLEAST16): Likewise.
16946         [C99-based-standards] (SCNuLEAST16): Likewise.
16947         [C99-based-standards] (SCNxLEAST16): Likewise.
16948         [C99-based-standards] (PRIdFAST16): Likewise.
16949         [C99-based-standards] (PRIiFAST16): Likewise.
16950         [C99-based-standards] (PRIoFAST16): Likewise.
16951         [C99-based-standards] (PRIuFAST16): Likewise.
16952         [C99-based-standards] (PRIxFAST16): Likewise.
16953         [C99-based-standards] (PRIXFAST16): Likewise.
16954         [C99-based-standards] (SCNdFAST16): Likewise.
16955         [C99-based-standards] (SCNiFAST16): Likewise.
16956         [C99-based-standards] (SCNoFAST16): Likewise.
16957         [C99-based-standards] (SCNuFAST16): Likewise.
16958         [C99-based-standards] (SCNxFAST16): Likewise.
16959         [C99-based-standards] (PRId32): Likewise.
16960         [C99-based-standards] (PRIi32): Likewise.
16961         [C99-based-standards] (PRIo32): Likewise.
16962         [C99-based-standards] (PRIu32): Likewise.
16963         [C99-based-standards] (PRIx32): Likewise.
16964         [C99-based-standards] (PRIX32): Likewise.
16965         [C99-based-standards] (SCNd32): Likewise.
16966         [C99-based-standards] (SCNi32): Likewise.
16967         [C99-based-standards] (SCNo32): Likewise.
16968         [C99-based-standards] (SCNu32): Likewise.
16969         [C99-based-standards] (SCNx32): Likewise.
16970         [C99-based-standards] (PRIdLEAST32): Likewise.
16971         [C99-based-standards] (PRIiLEAST32): Likewise.
16972         [C99-based-standards] (PRIoLEAST32): Likewise.
16973         [C99-based-standards] (PRIuLEAST32): Likewise.
16974         [C99-based-standards] (PRIxLEAST32): Likewise.
16975         [C99-based-standards] (PRIXLEAST32): Likewise.
16976         [C99-based-standards] (SCNdLEAST32): Likewise.
16977         [C99-based-standards] (SCNiLEAST32): Likewise.
16978         [C99-based-standards] (SCNoLEAST32): Likewise.
16979         [C99-based-standards] (SCNuLEAST32): Likewise.
16980         [C99-based-standards] (SCNxLEAST32): Likewise.
16981         [C99-based-standards] (PRIdFAST32): Likewise.
16982         [C99-based-standards] (PRIiFAST32): Likewise.
16983         [C99-based-standards] (PRIoFAST32): Likewise.
16984         [C99-based-standards] (PRIuFAST32): Likewise.
16985         [C99-based-standards] (PRIxFAST32): Likewise.
16986         [C99-based-standards] (PRIXFAST32): Likewise.
16987         [C99-based-standards] (SCNdFAST32): Likewise.
16988         [C99-based-standards] (SCNiFAST32): Likewise.
16989         [C99-based-standards] (SCNoFAST32): Likewise.
16990         [C99-based-standards] (SCNuFAST32): Likewise.
16991         [C99-based-standards] (SCNxFAST32): Likewise.
16992         [C99-based-standards] (PRId64): Likewise.
16993         [C99-based-standards] (PRIi64): Likewise.
16994         [C99-based-standards] (PRIo64): Likewise.
16995         [C99-based-standards] (PRIu64): Likewise.
16996         [C99-based-standards] (PRIx64): Likewise.
16997         [C99-based-standards] (PRIX64): Likewise.
16998         [C99-based-standards] (SCNd64): Likewise.
16999         [C99-based-standards] (SCNi64): Likewise.
17000         [C99-based-standards] (SCNo64): Likewise.
17001         [C99-based-standards] (SCNu64): Likewise.
17002         [C99-based-standards] (SCNx64): Likewise.
17003         [C99-based-standards] (PRIdLEAST64): Likewise.
17004         [C99-based-standards] (PRIiLEAST64): Likewise.
17005         [C99-based-standards] (PRIoLEAST64): Likewise.
17006         [C99-based-standards] (PRIuLEAST64): Likewise.
17007         [C99-based-standards] (PRIxLEAST64): Likewise.
17008         [C99-based-standards] (PRIXLEAST64): Likewise.
17009         [C99-based-standards] (SCNdLEAST64): Likewise.
17010         [C99-based-standards] (SCNiLEAST64): Likewise.
17011         [C99-based-standards] (SCNoLEAST64): Likewise.
17012         [C99-based-standards] (SCNuLEAST64): Likewise.
17013         [C99-based-standards] (SCNxLEAST64): Likewise.
17014         [C99-based-standards] (PRIdFAST64): Likewise.
17015         [C99-based-standards] (PRIiFAST64): Likewise.
17016         [C99-based-standards] (PRIoFAST64): Likewise.
17017         [C99-based-standards] (PRIuFAST64): Likewise.
17018         [C99-based-standards] (PRIxFAST64): Likewise.
17019         [C99-based-standards] (PRIXFAST64): Likewise.
17020         [C99-based-standards] (SCNdFAST64): Likewise.
17021         [C99-based-standards] (SCNiFAST64): Likewise.
17022         [C99-based-standards] (SCNoFAST64): Likewise.
17023         [C99-based-standards] (SCNuFAST64): Likewise.
17024         [C99-based-standards] (SCNxFAST64): Likewise.
17025         [C99-based-standards] (PRIdMAX): Likewise.
17026         [C99-based-standards] (PRIiMAX): Likewise.
17027         [C99-based-standards] (PRIoMAX): Likewise.
17028         [C99-based-standards] (PRIuMAX): Likewise.
17029         [C99-based-standards] (PRIxMAX): Likewise.
17030         [C99-based-standards] (PRIXMAX): Likewise.
17031         [C99-based-standards] (SCNdMAX): Likewise.
17032         [C99-based-standards] (SCNiMAX): Likewise.
17033         [C99-based-standards] (SCNoMAX): Likewise.
17034         [C99-based-standards] (SCNuMAX): Likewise.
17035         [C99-based-standards] (SCNxMAX): Likewise.
17036         [C99-based-standards] (PRIdPTR): Likewise.
17037         [C99-based-standards] (PRIiPTR): Likewise.
17038         [C99-based-standards] (PRIoPTR): Likewise.
17039         [C99-based-standards] (PRIuPTR): Likewise.
17040         [C99-based-standards] (PRIxPTR): Likewise.
17041         [C99-based-standards] (PRIXPTR): Likewise.
17042         [C99-based-standards] (SCNdPTR): Likewise.
17043         [C99-based-standards] (SCNiPTR): Likewise.
17044         [C99-based-standards] (SCNoPTR): Likewise.
17045         [C99-based-standards] (SCNuPTR): Likewise.
17046         [C99-based-standards] (SCNxPTR): Likewise.
17047         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
17048         allow.
17049         * conform/data/stdint.h-data: Update comments to clarify
17050         requirements.
17051         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
17052         type.
17053         [C99-based standards] (INT8_MAX): Likewise.
17054         [C99-based standards] (INT16_MIN): Likewise.
17055         [C99-based standards] (INT16_MAX): Likewise.
17056         [C99-based standards] (INT32_MIN): Likewise.
17057         [C99-based standards] (INT32_MAX): Likewise.
17058         [C99-based standards] (INT64_MIN): Likewise.
17059         [C99-based standards] (INT64_MAX): Likewise.
17060         [C99-based standards] (UINT8_MAX): Likewise.
17061         [C99-based standards] (UINT16_MAX): Likewise.
17062         [C99-based standards] (UINT32_MAX): Likewise.
17063         [C99-based standards] (UINT64_MAX): Likewise.
17064         [C99-based standards] (INT_LEAST8_MIN): Likewise.
17065         [C99-based standards] (INT_LEAST8_MAX): Likewise.
17066         [C99-based standards] (INT_LEAST16_MIN): Likewise.
17067         [C99-based standards] (INT_LEAST16_MAX): Likewise.
17068         [C99-based standards] (INT_LEAST32_MIN): Likewise.
17069         [C99-based standards] (INT_LEAST32_MAX): Likewise.
17070         [C99-based standards] (INT_LEAST64_MIN): Likewise.
17071         [C99-based standards] (INT_LEAST64_MAX): Likewise.
17072         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
17073         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
17074         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
17075         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
17076         [C99-based standards] (INT_FAST8_MIN): Likewise.
17077         [C99-based standards] (INT_FAST8_MAX): Likewise.
17078         [C99-based standards] (INT_FAST16_MIN): Likewise.
17079         [C99-based standards] (INT_FAST16_MAX): Likewise.
17080         [C99-based standards] (INT_FAST32_MIN): Likewise.
17081         [C99-based standards] (INT_FAST32_MAX): Likewise.
17082         [C99-based standards] (INT_FAST64_MIN): Likewise.
17083         [C99-based standards] (INT_FAST64_MAX): Likewise.
17084         [C99-based standards] (UINT_FAST8_MAX): Likewise.
17085         [C99-based standards] (UINT_FAST16_MAX): Likewise.
17086         [C99-based standards] (UINT_FAST32_MAX): Likewise.
17087         [C99-based standards] (UINT_FAST64_MAX): Likewise.
17088         [C99-based standards] (INTPTR_MIN): Likewise.
17089         [C99-based standards] (INTPTR_MAX): Likewise.
17090         [C99-based standards] (UINTPTR_MAX): Likewise.
17091         [C99-based standards] (INTMAX_MIN): Likewise.
17092         [C99-based standards] (INTMAX_MAX): Likewise.
17093         [C99-based standards] (UINTMAX_MAX): Likewise.
17094         [C99-based standards] (PTRDIFF_MIN): Likewise.
17095         [C99-based standards] (PTRDIFF_MAX): Likewise.
17096         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
17097         [C99-based standards] (SIZE_MAX): Likewise.
17098         [C99-based standards] (WCHAR_MAX): Likewise.
17099         [C99-based standards] (WINT_MAX): Likewise.
17100         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
17101         constraint on value.
17102         [C99-based standards] (WCHAR_MIN): Likewise.
17103         [C99-based standards] (WINT_MIN): Likewise.
17104         [C99-based standards] (*_t): Allow.
17105         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
17106         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
17107         Include math.h-data and complex.h-data.  Remove all expectations
17108         of math.h and complex.h contents.
17109         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
17110         at end of line.
17111         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
17112         (struct tm): Expect tag.
17113         [C99-based-standards] (wcstof): Expect function.
17114         [C99-based-standards] (wcstold): Likewise.
17115         [C99-based-standards] (wcstoll): Likewise.
17116         [C99-based-standards] (wcstoull): Likewise.
17117         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
17118         macro-int-constant.  Specify type.
17119         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
17120         constraint on value.
17121         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17122         Specify type.
17123         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
17124         Specify value.
17125         [ISO C standards]: Do not allow headers.
17126         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
17127         wcs[abcdefghijklmnopqrstuvwxyz]*.
17128         [ISO C standards] (*_t): Do not allow.
17129         * conform/data/wctype.h-data [C99-based standards] (iswblank):
17130         Expect function.
17131         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
17132         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17133         Specify type.
17134         [ISO C standards]: Do not allow headers.
17135         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
17136         is[abcdefghijklmnopqrstuvwxyz]*.
17137         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
17138         to[abcdefghijklmnopqrstuvwxyz]*.
17139         [ISO C standards] (*_t): Do not allow.
17140         * conform/data/stdalign.h-data: New file.
17141         * conform/data/stdbool.h-data: Likewise.
17142         * conform/data/stdnoreturn.h-data: Likewise.
17144 2012-11-07  Roland McGrath  <roland@hack.frob.com>
17146         [BZ #14815]
17147         * manual/filesys.texi (Directory Entries): Typo fix.
17148         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
17150 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17152         * elf/elf.h (EM_AARCH64): New macro.
17153         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
17154         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
17155         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
17156         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
17157         (R_AARCH64_TLSDESC): Likewise.
17158         (NT_ARM_TLS): Likewise.
17159         (NT_ARM_HW_BREAK): Likewise.
17160         (NT_ARM_HW_WATCH): Likewise.
17162 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
17164         [BZ #14811]
17165         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
17166         (__ieee754_powl): Saturate nonzero exponents with absolute value
17167         below 0x1p-79 to +/- 0x1p-79.
17168         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
17169         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
17170         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
17171         nonzero exponents with absolute value below 0x1p-32 to +/-
17172         0x1p-32.
17173         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
17174         (__ieee754_powl): Saturate nonzero exponents with absolute value
17175         below 0x1p-79 to +/- 0x1p-79.
17176         * math/libm-test.inc (pow_test): Add more tests.
17178 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17180         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
17181         _dl_s390_cap_flags with kernel. Increase string length.
17182         (_dl_s390_platforms): Add z196 and zEC12.
17184 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
17186         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
17187         Change XOPEN21K to XOPEN2K.
17189 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
17191         * string/memmove.c: Use memcpy when possible.
17193 2012-11-06  Andreas Jaeger  <aj@suse.de>
17195         * po/eo.po: Update from translation team.
17197 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
17199         [BZ #14793]
17200         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
17201         exponent and small x and y exponents, scale x or y up.  Increase
17202         by 2 the exponent used in scaling up.
17203         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17204         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17205         * math/libm-test.inc (fma_test): Add more tests.
17206         (fma_test_towardzero): Likewise.
17207         (fma_test_downward): Likewise.
17208         (fma_test_upward): Likewise.
17210 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
17212         [BZ #14805]
17213         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
17214         fenv_t *.
17216         [BZ #14801]
17217         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
17218         namespace for names of struct fields.
17219         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
17220         fenv_t fields.
17221         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
17222         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
17224 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17226         [BZ #3665]
17227         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
17229 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
17231         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
17232         PTR_DEMANGLE.
17234         [BZ #5246]
17235         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
17236         PTR_DEMANGLE.
17238 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
17240         [BZ #14797]
17241         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
17242         definitely overflow as x * y not x * y + z.
17243         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17244         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17245         * math/libm-test.inc (fma_test): Add more tests.
17246         (fma_test_towardzero): Likewise.
17247         (fma_test_downward): Likewise.
17248         (fma_test_upward): Likewise.
17250 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
17252         [BZ #157]
17254         * include/stub-tag.h: Remove file.
17255         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
17256         '#include' of it.
17257         * manual/maint.texi (Porting): Don't reference it.
17258         * Makerules ($(objpfx)stubs): Likewise.
17259         * dirent/closedir.c: Don't include <stub-tag.h>.
17260         * dirent/dirfd.c: Likewise.
17261         * dirent/fdopendir.c: Likewise.
17262         * dirent/getdents.c: Likewise.
17263         * dirent/getdents64.c: Likewise.
17264         * dirent/opendir.c: Likewise.
17265         * dirent/readdir.c: Likewise.
17266         * dirent/readdir64.c: Likewise.
17267         * dirent/readdir64_r.c: Likewise.
17268         * dirent/readdir_r.c: Likewise.
17269         * dirent/rewinddir.c: Likewise.
17270         * dirent/seekdir.c: Likewise.
17271         * dirent/telldir.c: Likewise.
17272         * gmon/profil.c: Likewise.
17273         * grp/setgroups.c: Likewise.
17274         * inet/if_index.c: Likewise.
17275         * io/access.c: Likewise.
17276         * io/chdir.c: Likewise.
17277         * io/chmod.c: Likewise.
17278         * io/chown.c: Likewise.
17279         * io/close.c: Likewise.
17280         * io/dup.c: Likewise.
17281         * io/dup2.c: Likewise.
17282         * io/dup3.c: Likewise.
17283         * io/euidaccess.c: Likewise.
17284         * io/faccessat.c: Likewise.
17285         * io/fchdir.c: Likewise.
17286         * io/fchmod.c: Likewise.
17287         * io/fchmodat.c: Likewise.
17288         * io/fchown.c: Likewise.
17289         * io/fchownat.c: Likewise.
17290         * io/fcntl.c: Likewise.
17291         * io/flock.c: Likewise.
17292         * io/fstatfs.c: Likewise.
17293         * io/fstatfs64.c: Likewise.
17294         * io/fstatvfs.c: Likewise.
17295         * io/fstatvfs64.c: Likewise.
17296         * io/futimens.c: Likewise.
17297         * io/fxstat.c: Likewise.
17298         * io/fxstat64.c: Likewise.
17299         * io/fxstatat.c: Likewise.
17300         * io/fxstatat64.c: Likewise.
17301         * io/getcwd.c: Likewise.
17302         * io/isatty.c: Likewise.
17303         * io/lchmod.c: Likewise.
17304         * io/lchown.c: Likewise.
17305         * io/link.c: Likewise.
17306         * io/linkat.c: Likewise.
17307         * io/lseek.c: Likewise.
17308         * io/lseek64.c: Likewise.
17309         * io/lxstat64.c: Likewise.
17310         * io/mkdir.c: Likewise.
17311         * io/mkdirat.c: Likewise.
17312         * io/mkfifo.c: Likewise.
17313         * io/mkfifoat.c: Likewise.
17314         * io/open.c: Likewise.
17315         * io/open64.c: Likewise.
17316         * io/openat.c: Likewise.
17317         * io/openat64.c: Likewise.
17318         * io/pipe.c: Likewise.
17319         * io/pipe2.c: Likewise.
17320         * io/poll.c: Likewise.
17321         * io/posix_fadvise.c: Likewise.
17322         * io/posix_fadvise64.c: Likewise.
17323         * io/posix_fallocate.c: Likewise.
17324         * io/posix_fallocate64.c: Likewise.
17325         * io/read.c: Likewise.
17326         * io/readlink.c: Likewise.
17327         * io/readlinkat.c: Likewise.
17328         * io/rmdir.c: Likewise.
17329         * io/sendfile.c: Likewise.
17330         * io/sendfile64.c: Likewise.
17331         * io/statfs.c: Likewise.
17332         * io/statfs64.c: Likewise.
17333         * io/statvfs.c: Likewise.
17334         * io/statvfs64.c: Likewise.
17335         * io/symlink.c: Likewise.
17336         * io/symlinkat.c: Likewise.
17337         * io/ttyname.c: Likewise.
17338         * io/ttyname_r.c: Likewise.
17339         * io/umask.c: Likewise.
17340         * io/unlink.c: Likewise.
17341         * io/unlinkat.c: Likewise.
17342         * io/utime.c: Likewise.
17343         * io/utimensat.c: Likewise.
17344         * io/write.c: Likewise.
17345         * io/xmknod.c: Likewise.
17346         * io/xmknodat.c: Likewise.
17347         * io/xstat.c: Likewise.
17348         * io/xstat64.c: Likewise.
17349         * login/getpt.c: Likewise.
17350         * login/grantpt.c: Likewise.
17351         * login/unlockpt.c: Likewise.
17352         * math/e_acoshl.c: Likewise.
17353         * math/e_acosl.c: Likewise.
17354         * math/e_asinl.c: Likewise.
17355         * math/e_atan2l.c: Likewise.
17356         * math/e_atanhl.c: Likewise.
17357         * math/e_coshl.c: Likewise.
17358         * math/e_expl.c: Likewise.
17359         * math/e_fmodl.c: Likewise.
17360         * math/e_gammal_r.c: Likewise.
17361         * math/e_hypotl.c: Likewise.
17362         * math/e_j0l.c: Likewise.
17363         * math/e_j1l.c: Likewise.
17364         * math/e_jnl.c: Likewise.
17365         * math/e_lgammal_r.c: Likewise.
17366         * math/e_log10l.c: Likewise.
17367         * math/e_log2l.c: Likewise.
17368         * math/e_logl.c: Likewise.
17369         * math/e_powl.c: Likewise.
17370         * math/e_rem_pio2l.c: Likewise.
17371         * math/e_sinhl.c: Likewise.
17372         * math/e_sqrtl.c: Likewise.
17373         * math/fclrexcpt.c: Likewise.
17374         * math/fedisblxcpt.c: Likewise.
17375         * math/feenablxcpt.c: Likewise.
17376         * math/fegetenv.c: Likewise.
17377         * math/fegetexcept.c: Likewise.
17378         * math/fegetround.c: Likewise.
17379         * math/feholdexcpt.c: Likewise.
17380         * math/fesetenv.c: Likewise.
17381         * math/fesetround.c: Likewise.
17382         * math/feupdateenv.c: Likewise.
17383         * math/fgetexcptflg.c: Likewise.
17384         * math/fraiseexcpt.c: Likewise.
17385         * math/fsetexcptflg.c: Likewise.
17386         * math/ftestexcept.c: Likewise.
17387         * math/k_cosl.c: Likewise.
17388         * math/k_rem_pio2l.c: Likewise.
17389         * math/k_sinl.c: Likewise.
17390         * math/k_tanl.c: Likewise.
17391         * math/s_asinhl.c: Likewise.
17392         * math/s_atanl.c: Likewise.
17393         * math/s_cbrtl.c: Likewise.
17394         * math/s_erfl.c: Likewise.
17395         * math/s_expm1l.c: Likewise.
17396         * math/s_log1pl.c: Likewise.
17397         * math/s_tanhl.c: Likewise.
17398         * misc/acct.c: Likewise.
17399         * misc/brk.c: Likewise.
17400         * misc/chflags.c: Likewise.
17401         * misc/chroot.c: Likewise.
17402         * misc/fchflags.c: Likewise.
17403         * misc/fgetxattr.c: Likewise.
17404         * misc/flistxattr.c: Likewise.
17405         * misc/fremovexattr.c: Likewise.
17406         * misc/fsetxattr.c: Likewise.
17407         * misc/fsync.c: Likewise.
17408         * misc/ftruncate.c: Likewise.
17409         * misc/futimes.c: Likewise.
17410         * misc/futimesat.c: Likewise.
17411         * misc/getdomain.c: Likewise.
17412         * misc/getdtsz.c: Likewise.
17413         * misc/gethostid.c: Likewise.
17414         * misc/gethostname.c: Likewise.
17415         * misc/getloadavg.c: Likewise.
17416         * misc/getpagesize.c: Likewise.
17417         * misc/getsysstats.c: Likewise.
17418         * misc/getxattr.c: Likewise.
17419         * misc/gtty.c: Likewise.
17420         * misc/ioctl.c: Likewise.
17421         * misc/lgetxattr.c: Likewise.
17422         * misc/listxattr.c: Likewise.
17423         * misc/llistxattr.c: Likewise.
17424         * misc/lremovexattr.c: Likewise.
17425         * misc/lsetxattr.c: Likewise.
17426         * misc/lutimes.c: Likewise.
17427         * misc/madvise.c: Likewise.
17428         * misc/mincore.c: Likewise.
17429         * misc/mlock.c: Likewise.
17430         * misc/mlockall.c: Likewise.
17431         * misc/mmap.c: Likewise.
17432         * misc/mprotect.c: Likewise.
17433         * misc/msync.c: Likewise.
17434         * misc/munlock.c: Likewise.
17435         * misc/munlockall.c: Likewise.
17436         * misc/munmap.c: Likewise.
17437         * misc/preadv.c: Likewise.
17438         * misc/preadv64.c: Likewise.
17439         * misc/ptrace.c: Likewise.
17440         * misc/pwritev.c: Likewise.
17441         * misc/pwritev64.c: Likewise.
17442         * misc/readv.c: Likewise.
17443         * misc/reboot.c: Likewise.
17444         * misc/remap_file_pages.c: Likewise.
17445         * misc/removexattr.c: Likewise.
17446         * misc/revoke.c: Likewise.
17447         * misc/select.c: Likewise.
17448         * misc/setdomain.c: Likewise.
17449         * misc/setegid.c: Likewise.
17450         * misc/seteuid.c: Likewise.
17451         * misc/sethostid.c: Likewise.
17452         * misc/sethostname.c: Likewise.
17453         * misc/setregid.c: Likewise.
17454         * misc/setreuid.c: Likewise.
17455         * misc/setxattr.c: Likewise.
17456         * misc/sstk.c: Likewise.
17457         * misc/stty.c: Likewise.
17458         * misc/swapoff.c: Likewise.
17459         * misc/swapon.c: Likewise.
17460         * misc/sync.c: Likewise.
17461         * misc/syncfs.c: Likewise.
17462         * misc/syscall.c: Likewise.
17463         * misc/truncate.c: Likewise.
17464         * misc/ualarm.c: Likewise.
17465         * misc/usleep.c: Likewise.
17466         * misc/ustat.c: Likewise.
17467         * misc/utimes.c: Likewise.
17468         * misc/vhangup.c: Likewise.
17469         * misc/writev.c: Likewise.
17470         * posix/_exit.c: Likewise.
17471         * posix/alarm.c: Likewise.
17472         * posix/execve.c: Likewise.
17473         * posix/fexecve.c: Likewise.
17474         * posix/fork.c: Likewise.
17475         * posix/fpathconf.c: Likewise.
17476         * posix/getaddrinfo.c: Likewise.
17477         * posix/getegid.c: Likewise.
17478         * posix/geteuid.c: Likewise.
17479         * posix/getgid.c: Likewise.
17480         * posix/getgroups.c: Likewise.
17481         * posix/getlogin.c: Likewise.
17482         * posix/getlogin_r.c: Likewise.
17483         * posix/getpgid.c: Likewise.
17484         * posix/getpid.c: Likewise.
17485         * posix/getppid.c: Likewise.
17486         * posix/getresgid.c: Likewise.
17487         * posix/getresuid.c: Likewise.
17488         * posix/getsid.c: Likewise.
17489         * posix/getuid.c: Likewise.
17490         * posix/glob64.c: Likewise.
17491         * posix/nanosleep.c: Likewise.
17492         * posix/pathconf.c: Likewise.
17493         * posix/pause.c: Likewise.
17494         * posix/posix_madvise.c: Likewise.
17495         * posix/pread.c: Likewise.
17496         * posix/pread64.c: Likewise.
17497         * posix/pwrite.c: Likewise.
17498         * posix/pwrite64.c: Likewise.
17499         * posix/sched_getaffinity.c: Likewise.
17500         * posix/sched_getp.c: Likewise.
17501         * posix/sched_gets.c: Likewise.
17502         * posix/sched_primax.c: Likewise.
17503         * posix/sched_primin.c: Likewise.
17504         * posix/sched_rr_gi.c: Likewise.
17505         * posix/sched_setaffinity.c: Likewise.
17506         * posix/sched_setp.c: Likewise.
17507         * posix/sched_sets.c: Likewise.
17508         * posix/sched_yield.c: Likewise.
17509         * posix/setgid.c: Likewise.
17510         * posix/setlogin.c: Likewise.
17511         * posix/setpgid.c: Likewise.
17512         * posix/setresgid.c: Likewise.
17513         * posix/setresuid.c: Likewise.
17514         * posix/setsid.c: Likewise.
17515         * posix/setuid.c: Likewise.
17516         * posix/sleep.c: Likewise.
17517         * posix/spawni.c: Likewise.
17518         * posix/sysconf.c: Likewise.
17519         * posix/times.c: Likewise.
17520         * posix/wait.c: Likewise.
17521         * posix/wait3.c: Likewise.
17522         * posix/wait4.c: Likewise.
17523         * posix/waitpid.c: Likewise.
17524         * resolv/gai_sigqueue.c: Likewise.
17525         * resource/getpriority.c: Likewise.
17526         * resource/getrlimit.c: Likewise.
17527         * resource/getrusage.c: Likewise.
17528         * resource/nice.c: Likewise.
17529         * resource/setpriority.c: Likewise.
17530         * resource/setrlimit.c: Likewise.
17531         * resource/ulimit.c: Likewise.
17532         * rt/aio_cancel.c: Likewise.
17533         * rt/aio_fsync.c: Likewise.
17534         * rt/aio_read.c: Likewise.
17535         * rt/aio_sigqueue.c: Likewise.
17536         * rt/aio_suspend.c: Likewise.
17537         * rt/aio_write.c: Likewise.
17538         * rt/clock_getres.c: Likewise.
17539         * rt/clock_gettime.c: Likewise.
17540         * rt/clock_nanosleep.c: Likewise.
17541         * rt/clock_settime.c: Likewise.
17542         * rt/lio_listio.c: Likewise.
17543         * rt/mq_close.c: Likewise.
17544         * rt/mq_getattr.c: Likewise.
17545         * rt/mq_notify.c: Likewise.
17546         * rt/mq_open.c: Likewise.
17547         * rt/mq_receive.c: Likewise.
17548         * rt/mq_send.c: Likewise.
17549         * rt/mq_setattr.c: Likewise.
17550         * rt/mq_timedreceive.c: Likewise.
17551         * rt/mq_timedsend.c: Likewise.
17552         * rt/mq_unlink.c: Likewise.
17553         * rt/shm_open.c: Likewise.
17554         * rt/shm_unlink.c: Likewise.
17555         * rt/timer_create.c: Likewise.
17556         * rt/timer_delete.c: Likewise.
17557         * rt/timer_getoverr.c: Likewise.
17558         * rt/timer_gettime.c: Likewise.
17559         * rt/timer_settime.c: Likewise.
17560         * setjmp/__longjmp.c: Likewise.
17561         * setjmp/setjmp.c: Likewise.
17562         * signal/kill.c: Likewise.
17563         * signal/killpg.c: Likewise.
17564         * signal/raise.c: Likewise.
17565         * signal/sigaction.c: Likewise.
17566         * signal/sigaltstack.c: Likewise.
17567         * signal/sigblock.c: Likewise.
17568         * signal/sigignore.c: Likewise.
17569         * signal/sigintr.c: Likewise.
17570         * signal/signal.c: Likewise.
17571         * signal/sigpause.c: Likewise.
17572         * signal/sigpending.c: Likewise.
17573         * signal/sigqueue.c: Likewise.
17574         * signal/sigreturn.c: Likewise.
17575         * signal/sigset.c: Likewise.
17576         * signal/sigsetmask.c: Likewise.
17577         * signal/sigstack.c: Likewise.
17578         * signal/sigsuspend.c: Likewise.
17579         * signal/sigtimedwait.c: Likewise.
17580         * signal/sigvec.c: Likewise.
17581         * signal/sigwait.c: Likewise.
17582         * signal/sigwaitinfo.c: Likewise.
17583         * signal/sysv_signal.c: Likewise.
17584         * socket/accept.c: Likewise.
17585         * socket/accept4.c: Likewise.
17586         * socket/bind.c: Likewise.
17587         * socket/connect.c: Likewise.
17588         * socket/getpeername.c: Likewise.
17589         * socket/getsockname.c: Likewise.
17590         * socket/getsockopt.c: Likewise.
17591         * socket/isfdtype.c: Likewise.
17592         * socket/listen.c: Likewise.
17593         * socket/recv.c: Likewise.
17594         * socket/recvfrom.c: Likewise.
17595         * socket/recvmsg.c: Likewise.
17596         * socket/send.c: Likewise.
17597         * socket/sendmsg.c: Likewise.
17598         * socket/sendto.c: Likewise.
17599         * socket/setsockopt.c: Likewise.
17600         * socket/shutdown.c: Likewise.
17601         * socket/sockatmark.c: Likewise.
17602         * socket/socket.c: Likewise.
17603         * socket/socketpair.c: Likewise.
17604         * stdio-common/ctermid.c: Likewise.
17605         * stdio-common/cuserid.c: Likewise.
17606         * stdio-common/remove.c: Likewise.
17607         * stdio-common/rename.c: Likewise.
17608         * stdio-common/renameat.c: Likewise.
17609         * stdio-common/tempname.c: Likewise.
17610         * stdlib/getcontext.c: Likewise.
17611         * stdlib/makecontext.c: Likewise.
17612         * stdlib/setcontext.c: Likewise.
17613         * stdlib/swapcontext.c: Likewise.
17614         * stdlib/system.c: Likewise.
17615         * streams/fattach.c: Likewise.
17616         * streams/fdetach.c: Likewise.
17617         * streams/getmsg.c: Likewise.
17618         * streams/getpmsg.c: Likewise.
17619         * streams/putmsg.c: Likewise.
17620         * streams/putpmsg.c: Likewise.
17621         * sysdeps/unix/bsd/getpt.c: Likewise.
17622         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
17623         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
17624         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17626         Likewise.
17627         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
17628         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17629         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17630         * sysvipc/msgctl.c: Likewise.
17631         * sysvipc/msgget.c: Likewise.
17632         * sysvipc/msgrcv.c: Likewise.
17633         * sysvipc/msgsnd.c: Likewise.
17634         * sysvipc/semctl.c: Likewise.
17635         * sysvipc/semget.c: Likewise.
17636         * sysvipc/semop.c: Likewise.
17637         * sysvipc/semtimedop.c: Likewise.
17638         * sysvipc/shmat.c: Likewise.
17639         * sysvipc/shmctl.c: Likewise.
17640         * sysvipc/shmdt.c: Likewise.
17641         * sysvipc/shmget.c: Likewise.
17642         * termios/tcdrain.c: Likewise.
17643         * termios/tcflow.c: Likewise.
17644         * termios/tcflush.c: Likewise.
17645         * termios/tcgetattr.c: Likewise.
17646         * termios/tcgetpgrp.c: Likewise.
17647         * termios/tcsendbrk.c: Likewise.
17648         * termios/tcsetattr.c: Likewise.
17649         * termios/tcsetpgrp.c: Likewise.
17650         * time/adjtime.c: Likewise.
17651         * time/clock.c: Likewise.
17652         * time/getitimer.c: Likewise.
17653         * time/gettimeofday.c: Likewise.
17654         * time/setitimer.c: Likewise.
17655         * time/settimeofday.c: Likewise.
17656         * time/stime.c: Likewise.
17657         * time/time.c: Likewise.
17659 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
17661         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
17662         /usr/old/bin.
17664         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
17665         instead of spaces.
17666         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
17668 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
17670         [BZ #14796]
17671         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
17672         FE_TONEAREST before applying Dekker multiplication and Knuth
17673         addition.  Clear inexact exceptions and check for exact zero
17674         results afterwards.
17675         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17676         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17677         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17678         * math/libm-test.inc (fma_test): Add more tests.
17679         (fma_test_towardzero): Likewise.
17680         (fma_test_downward): Likewise.
17681         (fma_test_upward): Likewise.
17682         * sysdeps/generic/math_private.h (default_libc_fesetround): New
17683         function.
17684         (libc_fesetround): New macro.
17685         (libc_fesetroundf): Likewise.
17686         (libc_fesetroundl): Likewise.
17687         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
17688         function.
17689         (libc_fesetround_387): Likewise.
17690         (libc_fesetroundf): New macro.
17691         (libc_fesetround): Likewise.
17692         (libc_fesetroundl): Likewise.
17693         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
17694         function.
17695         (libc_fesetroundf): New macro.
17696         (libc_fesetround): Likewise.
17697         (libc_fesetroundl): Likewise.
17698         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
17699         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
17700         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
17701         libm_hidden_ver.
17702         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
17703         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
17704         libm_hidden_def.
17705         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
17706         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
17707         libm_hidden_ver.
17708         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
17709         libm_hidden_def.
17711         [BZ #3439]
17712         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
17713         integer constant usable in #if and use that to give value to enum
17714         constant.
17715         (FE_DIVBYZERO): Likewise.
17716         (FE_UNDERFLOW): Likewise.
17717         (FE_OVERFLOW): Likewise.
17718         (FE_INVALID): Likewise.
17719         (FE_INVALID_SNAN): Likewise.
17720         (FE_INVALID_ISI): Likewise.
17721         (FE_INVALID_IDI): Likewise.
17722         (FE_INVALID_ZDZ): Likewise.
17723         (FE_INVALID_IMZ): Likewise.
17724         (FE_INVALID_COMPARE): Likewise.
17725         (FE_INVALID_SOFTWARE): Likewise.
17726         (FE_INVALID_SQRT): Likewise.
17727         (FE_INVALID_INTEGER_CONVERSION): Likewise.
17728         (FE_TONEAREST): Likewise.
17729         (FE_TOWARDZERO): Likewise.
17730         (FE_UPWARD): Likewise.
17731         (FE_DOWNWARD): Likewise.
17732         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
17733         (FE_DIVBYZERO): Likewise.
17734         (FE_OVERFLOW): Likewise.
17735         (FE_UNDERFLOW): Likewise.
17736         (FE_INEXACT): Likewise.
17737         (FE_TONEAREST): Likewise.
17738         (FE_DOWNWARD): Likewise.
17739         (FE_UPWARD): Likewise.
17740         (FE_TOWARDZERO): Likewise.
17741         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17742         (FE_UNDERFLOW): Likewise.
17743         (FE_OVERFLOW): Likewise.
17744         (FE_DIVBYZERO): Likewise.
17745         (FE_INVALID): Likewise.
17746         (FE_TONEAREST): Likewise.
17747         (FE_TOWARDZERO): Likewise.
17748         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17749         (FE_OVERFLOW): Likewise.
17750         (FE_UNDERFLOW): Likewise.
17751         (FE_DIVBYZERO): Likewise.
17752         (FE_INEXACT): Likewise.
17753         (FE_TONEAREST): Likewise.
17754         (FE_TOWARDZERO): Likewise.
17755         (FE_UPWARD): Likewise.
17756         (FE_DOWNWARD): Likewise.
17757         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17758         (FE_DIVBYZERO): Likewise.
17759         (FE_OVERFLOW): Likewise.
17760         (FE_UNDERFLOW): Likewise.
17761         (FE_INEXACT): Likewise.
17762         (FE_TONEAREST): Likewise.
17763         (FE_DOWNWARD): Likewise.
17764         (FE_UPWARD): Likewise.
17765         (FE_TOWARDZERO): Likewise.
17767 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
17769         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17771 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
17773         * scripts/cross-test-ssh.sh (command): Use newlines to separate
17774         commands.  Quote $PWD.
17775         (blacklist_exports): Don't use remove_newlines.  Replace "declare
17776         -x" by "export".
17777         (remove_newlines): Remove.
17779 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
17781         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17782         * stdlib/stdlib.h (atof): Moved to ...
17783         * include/bits/stdlib-float.h: Here.  New file.
17784         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17785         * stdlib/bits/stdlib-float.h: New file.
17786         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17787         -mno-sse -mno-mmx.
17788         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17789         <xmmintrin.h>.
17791 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
17793         * conform/conformtest.pl (@headers): Add fenv.h.
17794         * conform/data/fenv.h-data: New file.
17795         * include/fenv.h [_ISOMAC]: Disable all contents of file except
17796         include of <math/fenv.h>.
17798         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17799         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17800         && !UNIX98].  Enables tests for XOPEN2K8.
17801         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17802         POSIX2008]: Likewise.
17804         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17805         (struct rusage): Do not expect type or its members.
17807         [BZ #3439]
17808         * math/math.h (FP_NAN): Define macro to integer constant usable in
17809         #if and use that to give value to enum constant.
17810         (FP_INFINITE): Likewise.
17811         (FP_ZERO): Likewise.
17812         (FP_SUBNORMAL): Likewise.
17813         (FP_NORMAL): Likewise.
17815 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
17817         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17818         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17819         arguments.
17821 2012-11-02  Roland McGrath  <roland@hack.frob.com>
17823         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17824         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17825         autoconf-time if not.
17826         * configure.in: Remove AC_PREREQ.
17828 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17830         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17831         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17832         of the internal implementation.
17834 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
17836         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17837         except include of <misc/sys/syslog.h>.
17839 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
17841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17842         function returns with a NULL context exit with zero.
17844 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17846         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17848 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
17850         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17851         (run_program_cmd): This.
17852         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17853         (tst_langinfo): New variable.  Use it.
17855 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
17857         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17858         floating point opcodes.
17860 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17862         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17863         variable.
17865         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17867         * sysdeps/mach/hurd/powerpc: Remove directory.
17868         * sysdeps/mach/powerpc: Likewise.
17870 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
17872         * scripts/check-local-headers.sh: Ignore c++ headers.
17874 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17876         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17877         __libc_cleanup_region_start argument.
17879 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
17881         [BZ #14784]
17882         [BZ #14785]
17883         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17884         x * y using scaling, not as x * y + z.
17885         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17886         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17887         * math/libm-test.inc (fma_test): Add more tests.
17888         (fma_test_towardzero): Likewise.
17889         (fma_test_downward): Likewise.
17890         (fma_test_upward): Likewise.
17892 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17894         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17896 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
17898         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17899         New variable.
17901 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
17903         * rt/tst-shm.c (worker): Correct checking for mmap failure.
17905 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
17907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17908         Fix sort order.
17909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17910         Likewise.
17912 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17915         Fix the order of the list for glibc 2.17.
17916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17917         Likewise.
17919 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
17921         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17923 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
17925         [BZ #14610]
17926         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17927         for low part of x being zero before using __atanl (y).
17928         * math/libm-test.inc (atan2_test): Add another test.
17930         * manual/install.texi (Configuring and compiling): Document
17931         general use of test-wrapper and test-wrapper-env.
17932         * INSTALL: Regenerated.
17934         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17935         (__fma): Do not extract and scale down low bits on after-rounding
17936         systems when result rounded to normal precision would have normal
17937         exponent.
17938         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17939         (__fmal): Do not extract and scale down low bits on after-rounding
17940         systems when result rounded to normal precision would have normal
17941         exponent.
17942         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17943         (__fmal): Do not extract and scale down low bits on after-rounding
17944         systems when result rounded to normal precision would have normal
17945         exponent.
17946         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17947         macro.
17948         (fma_test): Add more tests.
17949         (fma_test_towardzero): Likewise.
17950         (fma_test_downward): Likewise.
17951         (fma_test_upward): Likewise.
17953 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
17955         * sysdeps/i386/tininess.h: Renamed to ...
17956         * sysdeps/x86/tininess.h: This.
17957         * sysdeps/x86_64/tininess.h: Removed.
17959 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
17961         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17962         input.  Use $(build-program-cmd).
17963         ($(objpfx)tst-array1-static.out): Likewise.
17964         ($(objpfx)tst-array2.out): Likewise.
17965         ($(objpfx)tst-array3.out): Likewise.
17966         ($(objpfx)tst-array4.out): Likewise.
17967         ($(objpfx)tst-array5.out): Likewise.
17968         ($(objpfx)tst-array5-static.out): Likewise.
17970 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
17972         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17973         if defined.
17975         * nss/nsswitch.h (nss_interface_function): Provide new
17976         macro for use with NSS functions.
17977         * grp/initgroups.c: Use new macro.
17978         * nss/getXXbyYY.c: Likewise.
17979         * nss/getXXbyYY_r.c: Likewise.
17980         * nss/getXXent.c: Likewise.
17981         * nss/getXXent_r.c: Likewise.
17982         * sysdeps/posix/getaddrinfo.c: Likewise.
17984 2012-10-30  Andreas Jaeger  <aj@suse.de>
17986         * po/ru.po: Update Russion translation from translation project.
17988 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
17990         [BZ #14152]
17991         [BZ #14783]
17992         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17993         result and shift together with sticky bit instead of replicating
17994         round-to-nearest rounding.
17995         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17996         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17997         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
17998         missing underflow exceptions.
17999         (fma_test_towardzero): Add more tests.
18000         (fma_test_downward): Likewise.
18001         (fma_test_upward): Likewise.
18003         [BZ #14047]
18004         * sysdeps/generic/tininess.h: New file.
18005         * sysdeps/i386/tininess.h: Likewise.
18006         * sysdeps/sh/tininess.h: Likewise.
18007         * sysdeps/x86_64/tininess.h: Likewise.
18008         * stdlib/tst-strtod-underflow.c: Likewise.
18009         * stdlib/tst-tininess.c: Likewise.
18010         * stdlib/strtod_l.c: Include <tininess.h>.
18011         (round_and_return): Do not set errno for exact underflow cases.
18012         Force an underflow exception when setting errno for underflow.
18013         Determine underflow based on rounding to normal precision if
18014         TININESS_AFTER_ROUNDING.
18015         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
18016         ERANGE for exact underflow cases.
18017         * stdlib/Makefile (tests): Add tst-tininess and
18018         tst-strtod-underflow.
18019         ($(objpfx)tst-tininess): Use $(link-libm).
18020         ($(objpfx)tst-strtod-underflow): Likewise.
18022 2012-10-30  Andreas Jaeger  <aj@suse.de>
18024         [BZ#14767]
18025         * elf/Makefile (tests): Remove conditional for have-initfini-array
18026         since this is now always required and the variable does not exist
18027         anymore.
18028         (tests-static): Likewise.
18029         (modules-names): Likewise.
18031         * po/eo.po: Add Esperanto translation from translation project.
18033         * elf/tst-array1.c (fini_array): Make writeable so that it can be
18034         merged with constructor/destructor.
18035         (init_array): Likewise.
18036         * elf/tst-array2dep.c (fini_array): Likewise.
18037         (init_array): Likewise.
18039 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
18041         * manual/message.texi: Delete @cartouche tags.
18043 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
18045         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
18046         EOPNOTSUPP.
18047         * sysdeps/mach/hurd/fsync.c: Likewise.
18049         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
18050         [_POSIX_REALTIME_SIGNALS]: Change condition to
18051         [_POSIX_REALTIME_SIGNALS > 0].
18053 2012-10-27  Andreas Jaeger  <aj@suse.de>
18055         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
18056         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
18057         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
18058         [__WORDSIZE != 64]: Likewise.
18060 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
18062         *  iconvdata/tst-table.sh: Remove ${SHELL}.
18063         *  iconvdata/tst-tables.sh: Likewise.
18065 2012-10-25  David S. Miller  <davem@davemloft.net>
18067         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18068         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
18069         of strtoull.
18071         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
18072         ifunc-impl-list.c
18073         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18074         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
18075         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
18076         file.
18078 2012-10-25  Roland McGrath  <roland@hack.frob.com>
18080         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18081         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
18082         __getdirentries.
18084 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
18085             Jim Blandy  <jimb@codesourcery.com>
18087         * scripts/cross-test-ssh.sh: New file.
18088         * manual/install.texi (Configuring and compiling): Document use of
18089         cross-test-ssh.sh.
18090         * INSTALL: Regenerated.
18092 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
18094         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
18095         EOPNOTSUPP.
18097 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
18099         * Makeconfig (run-program-prefix): Fix comment.
18101 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
18102             Jim Blandy  <jimb@codesourcery.com>
18104         * Makeconfig (test-wrapper): New variable,
18105         (test-wrapper-env): Likewise.
18106         [$(cross-compiling) = yes && $(test-wrapper) != ""]
18107         (run-built-tests): Define to yes.
18108         (run-program-prefix): Use $(test-wrapper).
18109         (built-program-cmd): Likewise.
18110         * Rules (make-test-out): Use $(test-wrapper-env) and
18111         $(host-built-program-cmd).
18112         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
18113         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
18114         tst-pathopt.sh.
18115         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
18116         $(test-wrapper-env) to tst-rtld-load-self.sh.
18117         ($(objpfx)order2.out): Use $(test-wrapper).
18118         ($(objpfx)tst-initorder.out): Likewise.
18119         ($(objpfx)tst-initorder2.out): Likewise.
18120         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
18121         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
18122         (test_wrapper_env): New variable.  Use it to run ld.so.
18123         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
18124         Use it to run ld.so.
18125         (test_wrapper_env): Likewise.
18126         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
18127         $(test-wrapper) to run-iconv-test.sh.
18128         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
18129         (ICONV): Use $test_wrapper.
18130         * posix/Makefile ($(objpfx)globtest.out): Pass
18131         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
18132         globtest.sh, not $(run-program-prefix).
18133         * posix/globtest.sh (run_via_rtld_prefix): New variable.
18134         (test_wrapper): Likewise.
18135         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
18136         set together with run_via_rtld_prefix.
18137         (run_program_prefix): Define in terms of test_wrapper and
18138         run_via_rtld_prefix.
18140 2012-10-24  Roland McGrath  <roland@hack.frob.com>
18142         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
18143         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
18144         Targets removed.
18146         [BZ #14743]
18147         * include/time.h: Remove librt_hidden_proto (clock_gettime).
18148         Declare __clock_getres, __clock_gettime, __clock_settime,
18149         __clock_nanosleep, and __clock_getcpuclockid.
18150         * rt/clock_gettime.c: Define __clock_gettime as an alias.
18151         Remove librt_hidden_def (clock_gettime).
18152         * sysdeps/unix/clock_gettime.c: Likewise.
18153         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
18154         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
18155         * rt/clock_getres.c: Define __clock_getres as an alias.
18156         * sysdeps/posix/clock_getres.c: Likewise.
18157         * rt/clock_settime.c: Define __clock_settime as an alias.
18158         * sysdeps/unix/clock_settime.c: Likewise.
18159         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
18160         * sysdeps/unix/clock_nanosleep.c: Likewise.
18161         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
18162         * rt/clock-compat.c: New file.
18163         * rt/Makefile (librt-routines): Add clock-compat and move
18164         $(clock-routines) to ...
18165         (routines): ... here, new variable.
18166         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
18167         Don't add get_clockfreq here.
18168         * rt/Versions (libc: GLIBC_2.17): New version set.
18169         Add clock_* symbols here.
18170         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
18171         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
18172         (GLIBC_2.17): Add clock_* symbols.
18173         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18174         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18175         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18177         Likewise.
18178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18179         Likewise.
18180         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18181         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
18182         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18183         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18184         * NEWS: Mention the move.
18186         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18187         Use __open, __read, __close rather than their public counterparts.
18188         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18189         (__get_clockfreq_via_cpuinfo): Likewise.
18190         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
18191         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
18193         * config.h.in (HAVE_IFUNC): New #undef.
18194         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
18195         was successful.
18196         * configure: Regenerated.
18198 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
18200         * configure.in: Move READELF check to start of file.
18201         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
18202         libc_cv_asm_gnu_indirect_function in the process.
18203         * configure: Regenerated.
18205 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
18207         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
18208         send the output to /dev/null.
18209         (libc_cv_cc_with_libunwind): Likewise.
18210         (libc_cv_as_noexecstack): Likewise.
18211         * configure: Regenerate.
18213 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
18215         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
18217         * posix/globtest.sh (TMPDIR): Do not set.
18218         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
18219         (testout): Likewise.
18221 2012-10-24  Andreas Jaeger  <aj@suse.de>
18223         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
18224         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
18225         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
18226         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
18227         posix_fadvise64, posix_fallocate64.
18229         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
18230         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
18231         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
18232         Likewise.
18233         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
18234         Likewise.
18235         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
18237         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
18238         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
18239         <bits/fcntl-linux.h>.
18240         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
18242         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
18243         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
18244         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
18245         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
18246         [__WORDSIZE != 64]: Likewise.
18248 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
18250         * Makeconfig (run-built-tests): New variable.
18251         * Rules [$(cross-compiling) = yes]: Change condition to
18252         [$(run-built-tests) = no].
18253         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
18254         to [$(run-built-tests) = yes].
18255         * elf/Makefile [$(cross-compiling) = no]: Likewise
18256         * grp/Makefile [$(cross-compiling) = no]: Likewise.
18257         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
18258         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
18259         * intl/Makefile [$(cross-compiling) = no]: Likewise.
18260         * io/Makefile [$(cross-compiling) = no]: Likewise.
18261         * libio/Makefile [$(cross-compiling) = no]: Likewise.
18262         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
18263         * misc/Makefile [$(cross-compiling) = no]: Likewise.
18264         * posix/Makefile [$(cross-compiling) = no]: Likewise.
18265         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
18266         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
18267         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
18268         * string/Makefile [$(cross-compiling) = no]: Likewise.
18270         * posix/Makefile ($(objpfx)globtest.out): Pass
18271         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
18272         $(rtld-installed-name).
18273         * posix/globtest.sh (elf_objpfx): Remove variable.
18274         (rtld_installed_name): Likewise.
18275         (library_path): Likewise.
18276         (run_program_prefix): New variable.  Use for running globtest
18277         binary.
18279 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
18280             Joseph Myers  <joseph@codesourcery.com>
18282         * Makeconfig (host-built-program-cmd): New variable.
18283         * elf/Makefile (tst-stackguard1-ARGS): Use
18284         $(host-built-program-cmd).
18285         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
18286         (tst-spawn-ARGS): Likewise.
18287         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
18289 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
18290             Jim Blandy  <jimb@codesourcery.com>
18292         * Makeconfig (run-via-rtld-prefix): New variable.
18293         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
18294         (built-program-cmd): Likewise.
18296 2012-10-22  Andreas Jaeger  <aj@suse.de>
18298         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
18299         __O_RSYNC if it exists, otherwise to O_SYNC.
18301 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
18302             Joseph Myers  <joseph@codesourcery.com>
18304         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
18305         /dev/null.
18306         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
18307         from /dev/null
18308         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
18309         /dev/null.
18311 2012-10-22  Andreas Jaeger  <aj@suse.de>
18313         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
18314         Define always.
18315         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
18317         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18318         bits/fcntl-linux.h.
18320         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
18321         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
18323         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
18324         to __O_LARGEFILE.
18325         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
18326         to __O_LARGEFILE.
18328 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
18329             Joseph Myers  <joseph@codesourcery.com>
18331         * config.make.in (NM): New variable.
18333 2012-10-21  Andreas Jaeger  <aj@suse.de>
18335         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
18336         definitions and declarations that are provided by
18337         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18339 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
18341         [BZ #14683]
18342         * elf/Makefile (tests-static): Add tst-leaks1-static.
18343         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
18344         ($(objpfx)tst-leaks1-static): New rule.
18345         ($(objpfx)tst-leaks1-static-mem): Likewise.
18346         (tst-leaks1-static-ENV): New macro.
18347         * elf/dl-open.c (dl_open_worker): Check the main application
18348         only if SHARED is defined.
18349         * elf/tst-leaks1-static.c: New file.
18351 2012-10-20  Andreas Jaeger  <aj@suse.de>
18353         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
18354         generic values for Linux.
18355         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
18356         and declarations that are provided by <bits/fcntl-linux.h> and
18357         include <bits/fcntl-linux.h>.
18358         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18359         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18361 2012-10-20  Roland McGrath  <roland@hack.frob.com>
18363         * io/fcntl.h: Move include of <bits/types.h> to the top and
18364         include it unconditionally.
18366 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
18368         * wcsmbs/Makefile (tests-ifunc): New variable.
18369         (tests): Add $(tests-ifunc).
18370         * wcsmbs/test-wcschr-ifunc.c: New file.
18371         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18372         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
18373         * wcsmbs/test-wcslen-ifunc.c: Likewise.
18374         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
18375         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
18377         * string/Makefile (tests-ifunc): New variable.
18378         (tests): Add $(tests-ifunc).
18379         * string/test-memccpy.c (TEST_NAME): New macro.
18380         * string/test-memchr.c (TEST_NAME): Likewise.
18381         * string/test-memcmp.c (TEST_NAME): Likewise.
18382         * string/test-memcpy.c (TEST_NAME): Likewise.
18383         * string/test-memmem.c (TEST_NAME): Likewise.
18384         * string/test-memmove.c (TEST_NAME): Likewise.
18385         * string/test-memset.c (TEST_NAME): Likewise.
18386         * string/test-rawmemchr.c (TEST_NAME): Likewise.
18387         * string/test-stpcpy.c (TEST_NAME): Likewise.
18388         * string/test-stpncpy.c (TEST_NAME): Likewise.
18389         * string/test-strcasecmp.c (TEST_NAME): Likewise.
18390         * string/test-strcasestr.c (TEST_NAME): Likewise.
18391         * string/test-strcat.c (TEST_NAME): Likewise.
18392         * string/test-strchr.c (TEST_NAME): Likewise.
18393         * string/test-strcmp.c(TEST_NAME): Likewise.
18394         * string/test-strcpy.c (TEST_NAME): Likewise.
18395         * string/test-strcspn.c (TEST_NAME): Likewise.
18396         * string/test-strlen.c (TEST_NAME): Likewise.
18397         * string/test-strncasecmp.c (TEST_NAME): Likewise.
18398         * string/test-strncmp.c (TEST_NAME): Likewise.
18399         * string/test-strncpy.c (TEST_NAME): Likewise.
18400         * string/test-strnlen.c (TEST_NAME): Likewise.
18401         * string/test-strpbrk.c (TEST_NAME): Likewise.
18402         * string/test-strrchr.c (TEST_NAME): Likewise.
18403         * string/test-strspn.c (TEST_NAME): Likewise.
18404         * string/test-strstr.c (TEST_NAME): Likewise.
18405         * string/test-bcopy-ifunc.c: New file.
18406         * string/test-bzero-ifunc.c: Likewise.
18407         * string/test-memccpy-ifunc.c: Likewise.
18408         * string/test-memchr-ifunc.c: Likewise.
18409         * string/test-memcmp-ifunc.c: Likewise.
18410         * string/test-memcpy-ifunc.c: Likewise.
18411         * string/test-memmem-ifunc.c: Likewise.
18412         * string/test-memmove-ifunc.c: Likewise.
18413         * string/test-mempcpy-ifunc.c: Likewise.
18414         * string/test-memset-ifunc.c: Likewise.
18415         * string/test-rawmemchr-ifunc.c: Likewise.
18416         * string/test-stpcpy-ifunc.c: Likewise.
18417         * string/test-stpncpy-ifunc.c: Likewise.
18418         * string/test-strcasecmp-ifunc.c: Likewise.
18419         * string/test-strcasestr-ifunc.c: Likewise.
18420         * string/test-strcat-ifunc.c: Likewise.
18421         * string/test-strchr-ifunc.c: Likewise.
18422         * string/test-strchrnul-ifunc.c: Likewise.
18423         * string/test-strcmp-ifunc.c: Likewise.
18424         * string/test-strcpy-ifunc.c: Likewise.
18425         * string/test-strcspn-ifunc.c: Likewise.
18426         * string/test-strlen-ifunc.c: Likewise.
18427         * string/test-strncasecmp-ifunc.c: Likewise.
18428         * string/test-strncat-ifunc.c: Likewise.
18429         * string/test-strncmp-ifunc.c: Likewise.
18430         * string/test-strncpy-ifunc.c: Likewise.
18431         * string/test-strnlen-ifunc.c: Likewise.
18432         * string/test-strpbrk-ifunc.c: Likewise.
18433         * string/test-strrchr-ifunc.c: Likewise.
18434         * string/test-strspn-ifunc.c: Likewise.
18435         * string/test-strstr-ifunc.c: Likewise.
18437         * debug/Makefile (tests-ifunc): New variable.
18438         (tests): Add $(tests-ifunc).
18439         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
18440         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
18441         * debug/test-stpcpy_chk-ifunc.c: New file.
18442         * debug/test-strcpy_chk-ifunc.c: Likewise.
18444 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18446         [BZ #13601]
18447         * elf/dl-load.c (open_verify): Retry read if the entire ELF
18448         header is not read in.
18450 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
18452         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
18453         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
18454         directly.  Pass built executable to script as
18455         $(built-program-cmd).
18456         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
18457         $testprogram without using LD_LIBRARY_PATH and $ldso.
18459         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
18460         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
18461         $(rtld-installed-name).
18462         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
18463         (rtld_installed_name): Likewise.
18464         (library_path): Likewise.
18465         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
18466         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
18467         $(run-program-prefix) to tst-tables.sh.
18468         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
18469         it to run tst-table-from and tst-table-to.
18470         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
18471         Pass it to tst-table.sh.
18472         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
18473         $(run-program-prefix) to tst-gettext.sh.
18474         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
18475         tst-translit.sh.
18476         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
18477         tst-gettext2.sh.
18478         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
18479         to run tst-gettext.
18480         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
18481         to run tst-gettext2.
18482         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
18483         to run tst-translit.
18484         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
18485         $(run-program-prefix) to tst-mtrace.sh.
18486         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
18487         to run tst-mtrace.
18488         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
18489         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
18490         $(rtld-installed-name).
18491         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
18492         (rtld_installed_name): Likewise.
18493         (run_program_prefix): New variable.  Use it to run wordexp-test.
18495         * Makeconfig (ARCH): Remove all definitions.
18496         (machine): Likewise.
18497         [ARCH]: Remove conditional code.
18498         [!objdir]: Give error.
18499         [!objdir] (objpfx): Remove.
18500         [!objdir] (common-objpfx): Likewise.
18501         [!objdir] (common-objdir): Likewise.
18502         * configure.in (config_makefile): Remove.  Hardcode Makefile in
18503         AC_CONFIG_FILES call.
18504         * configure: Regenerated.
18506         [BZ #13888]
18507         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
18508         or TMPDIR.
18509         (testout): Likewise.
18511         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
18512         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
18513         $(rtld-installed-name).
18514         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
18515         (rtld_installed_name): Likwise.
18516         (runit): Remove function.
18517         (run_getconf): New variable,  Use it for running getconf binary.
18519 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
18521         [BZ #14716]
18522         * string/test-memmem.c (check_result): New function.
18523         (do_one_test): Use it.
18524         (check1): New function.
18525         (test_main): Use it.
18527 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
18529         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
18531 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
18533         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
18534         (_G_LSEEK64): Likewise.
18535         (_G_MMAP64): Likewise.
18536         (_G_FSTAT64): Likewise.
18537         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
18538         (_G_LSEEK64): Likewise.
18539         (_G_MMAP64): Likewise.
18540         (_G_FSTAT64): Likewise.
18541         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
18542         unconditional.  Call __mmap64 directly.
18543         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
18544         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
18545         __lseek64 directly.
18546         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
18547         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
18548         __mmap64 directly.
18549         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
18550         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
18551         __lseek64 directly.
18552         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
18553         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
18554         __lseek64 directly.
18555         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
18556         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
18557         __lseek64 directly.
18558         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
18559         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
18560         __fxstat64 directly.
18561         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
18562         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
18563         unconditional.
18564         (freopen64) [!_G_OPEN64]: Remove conditional code.
18565         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
18566         unconditional.
18567         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
18568         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
18569         unconditional.
18570         (ftello64) [!_G_LSEEK64]: Remove conditional code.
18571         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
18572         unconditional.
18573         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18574         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
18575         unconditional.
18576         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
18577         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
18578         unconditional.
18579         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18580         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
18581         unconditional.
18582         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18583         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
18584         unconditional.
18585         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18587 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18589         [BZ #12140]
18590         * manual/memory.texi (Malloc Tunable Parameters): Add note
18591         about free list pointers overwriting some perturb bytes.
18592         Wording suggested by Roland McGrath.
18594 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
18596         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
18597         (lgamma_test): Likewise.
18598         (tgamma_test): Likewise.
18600 2012-10-16  Florian Weimer  <fweimer@redhat.com>
18602         [BZ #14700]
18603         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
18604         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
18606 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
18608         * NEWS: Mention BZ #14716.
18609         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
18610         when removing AVAILABLE1_USES_J macro.
18612 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
18614         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
18615         (__bswap_64): __uint64_t for unsigned 64-bit int.
18617 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
18619         * include/string.h (memmem): Declare libc hidden alias.
18620         * string/memmem.c (memmem): Define libc hidden alias.
18621         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
18622         __read, __close instead of open, read, close.
18624 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
18626         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
18627         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
18628         global and hidden.
18629         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
18630         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
18631         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
18632         Likewise.
18633         (__rawmemchr_sse2): Likewise.
18634         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
18635         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
18636         (__strchr_sse2): Likewise.
18637         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
18638         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
18639         (__strcasecmp_sse2): Likewise.
18640         (__strncasecmp_sse2): Likewise.
18641         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
18642         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
18643         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
18644         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
18645         (__strrchr_sse2): Likewise.
18646         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
18647         ifunc-impl-list.c.
18648         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18649         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18650         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18651         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18652         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18653         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18654         * sysdeps/x86_64/multiarch/memset.S: Likewise.
18655         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18656         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
18657         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
18658         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
18659         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
18660         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
18661         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18662         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18663         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18664         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18665         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18666         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
18667         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
18668         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
18669         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
18670         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
18671         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18672         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
18673         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18674         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18675         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18676         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18677         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18679         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
18680         global and hidden.
18681         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
18682         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
18683         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
18684         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
18685         Likewise.
18686         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
18687         Likewise.
18688         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
18689         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
18690         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
18691         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
18692         ifunc-impl-list.c.
18693         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18694         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18695         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18696         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18697         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18698         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18699         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18700         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18701         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18702         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18703         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18704         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18705         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18706         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18707         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18708         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18709         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18710         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
18711         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18712         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18713         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18714         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18715         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18716         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18717         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18718         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18719         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18720         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18721         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18722         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18723         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18724         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18725         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18726         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
18727         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18728         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18729         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18730         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18731         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18732         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18733         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
18735         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
18736         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
18737         * include/ifunc-impl-list.h: New file.
18738         * misc/ifunc-impl-list.c: Likewise.
18739         * misc/Makefile (routines): Add ifunc-impl-list.
18740         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18741         * string/test-string.h: Include <ifunc-impl-list.h>.
18742         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18743         impl_array): New variables.
18744         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18745         are defined.
18746         (test_init): Call __libc_ifunc_impl_list to initialize
18747         func_list if TEST_IFUNC and TEST_NAME are defined.
18749         * string/Makefile (strop-tests): Add bcopy and bzero.
18750         * string/test-bcopy.c: New file.
18751         * string/test-bzero.c: Likewise.
18752         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18753         defined.
18754         * string/test-memset.c: Support bzero test if TEST_BZERO is
18755         defined.
18756         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18757         __libc_memmove.
18758         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18759         __libc_memset.
18760         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18761         of memset.
18763 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
18765         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18766         * configure: Regenerated.
18768         * Makeconfig (+link-static-before-libc): Don't include
18769         $(link-static-libc).
18771         * libio/libio.h (_IO_pos_t): Remove.
18773 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
18775         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
18776         McGrath.
18778 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
18780         * crypt/crypt-entry.c: Include fips-private.h.
18781         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18782         * crypt/md5c-test.c (main): Tolerate disabled MD5.
18783         * sysdeps/unix/sysv/linux/fips-private.h: New file.
18784         * sysdeps/generic/fips-private.h: New file, dummy fallback.
18786 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
18788         * crypt/crypt-private.h: Include stdbool.h.
18789         (_ufc_setup_salt_r): Return bool.
18790         * crypt/crypt-entry.c: Include errno.h.
18791         (__crypt_r): Return NULL with EINVAL for bad salt.
18792         * crypt/crypt_util.c (bad_for_salt): New.
18793         (_ufc_setup_salt_r): Check that salt is long enough and within
18794         the specified alphabet.
18795         * crypt/badsalttest.c: New file.
18796         * crypt/Makefile (tests): Add it.
18797         ($(objpfx)badsalttest): New.
18799 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
18801         * NEWS: Add entry for BZ #14602.
18803 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
18805         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18806         type-generic.
18807         * math/libm-test.inc: Update comment listing what functions and
18808         macros are tested.
18809         (isgreater_test): New function.
18810         (isgreaterequal_test): Likewise.
18811         (isless_test): Likewise.
18812         (islessequal_test): Likewise.
18813         (islessgreater_test): Likewise.
18814         (isunordered_test): Likewise.
18815         (main): Call the new functions.
18817 2012-10-09  Roland McGrath  <roland@hack.frob.com>
18819         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18820         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18821         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18822         * sysdeps/i386/configure: Regenerated.
18823         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18824         * sysdeps/mach/configure: Regenerated.
18825         * sysdeps/mach/hurd/configure: Regenerated.
18826         * sysdeps/powerpc/configure: Regenerated.
18827         * sysdeps/powerpc/powerpc32/configure: Regenerated.
18828         * sysdeps/powerpc/powerpc64/configure: Regenerated.
18829         * sysdeps/s390/s390-32/configure: Regenerated.
18830         * sysdeps/s390/s390-64/configure: Regenerated.
18831         * sysdeps/sh/configure: Regenerated.
18832         * sysdeps/sparc/configure: Regenerated.
18833         * sysdeps/unix/sysv/linux/configure: Regenerated.
18834         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18835         * sysdeps/x86_64/configure: Regenerated.
18837         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18838         defined.  Don't check if MAP is NULL.
18840 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
18842         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18843         (_G_stat64): Likewise.
18844         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18845         (_G_stat64): Likewise.
18846         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18847         instead of struct _G_stat64.
18848         * libio/fileops.c (mmap_remap_check): Likewise.
18849         (decide_maybe_mmap): Likewise.
18850         (_IO_new_file_seekoff): Likewise.
18851         (_IO_file_stat): Likewise.
18852         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18853         _G_off64_t.
18854         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18855         instead of struct _G_stat64.
18856         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18858 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
18860         [BZ #14602]
18861         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18862         Replace with ...
18863         (CHECK_EOL): New macro.
18864         (two_way_short_needle): Check beginning of haystack for EOL.  Use
18865         CHECK_EOL.
18866         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18867         Replace with CHECK_EOL.
18868         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18869         Replace with CHECK_EOL.
18871 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
18873         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18874         type-generic.
18875         * math/libm-test.inc: Update comment listing what functions and
18876         macros are tested.
18877         (finite_test): New function.
18878         (isinf_test): Likewise.
18879         (isnan_test): Likewise.
18880         (fpclassify_test): Test subnormal input.
18881         (isfinite_test): Likewise.
18882         (isnormal_test): Likewise.
18883         (main): Call the new functions.
18885 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
18887         [BZ #14660]
18888         * Makerules (%.dynsym): Force C locale when running
18889         $(OBJDUMP) --dynamic-syms.
18891 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
18893         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18894         <stdint.h>.
18896 2012-10-06  David S. Miller  <davem@davemloft.net>
18898         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18899         upper 32-bits of the length value in %o2 since we use branch-on-register
18900         tests which consider the entire 64-bit register.
18902 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
18904         * string/test-strstr.c (check2): Add a test for page boundary.
18906 2012-10-05  David S. Miller  <davem@davemloft.net>
18908         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18909         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18910         file.
18911         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18912         sysdep_routines.
18913         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18914         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18915         and bzero when HWCAP_SPARC_CRYPTO is present.
18917 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
18919         [BZ #14602]
18920         * string/test-strstr.c (check2): New function.
18921         (test_main): Call check2.
18923         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18924         and bug-strchr1.
18925         * string/bug-strcasestr1.c (do_test): Moved to ...
18926         * string/test-strcasestr.c (check1): Here.  New function.
18927         (do_one_test): Break out result checking code into ...
18928         (check_result): This.  New function.
18929         (do_one_test): Call check_result.
18930         (test_main): Call check1.
18931         * string/bug-strchr1.c (do_test): Moved to ...
18932         * string/test-strchr.c (check1): Here.  New function.
18933         (do_one_test): Break out result checking code into ...
18934         (check_result): This.  New function.
18935         (do_one_test): Call check_result.
18936         (test_main): Call check1.
18937         * string/bug-strstr1.c (main): Moved to ...
18938         * string/test-strstr.c (check1): Here.  New function.
18939         (do_one_test): Break out result checking code into ...
18940         (check_result): This.  New function.
18941         (do_one_test): Call check_result.
18942         (test_main): Call check1.
18943         * string/bug-strcasestr1.c: Removed.
18944         * string/bug-strchr1.c: Likewise.
18945         * string/bug-strstr1.c: Likewise.
18947         * elf/Makefile (dl-routines): Add hwcaps.
18948         * elf/dl-support.c (_dl_important_hwcaps): Removed.
18949         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18950         (_dl_important_hwcaps): Moved to ...
18951         * elf/dl-hwcaps.c: Here.  New file.
18952         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18954         [BZ #14557]
18955         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18956         if IS_IN_rtld isn't defined.
18958         * elf/dl-support.c (_dl_sysinfo_map): New.
18959         Include "get-dynamic-info.h" and "setup-vdso.h".
18960         (_dl_non_dynamic_init): Call setup_vdso.
18961         * elf/dynamic-link.h: Don't include <assert.h>.
18962         (elf_get_dynamic_info): Moved to ...
18963         * elf/get-dynamic-info.h: Here.  New file.
18964         * elf/dynamic-link.h: Include "get-dynamic-info.h".
18965         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18966         * elf/setup-vdso.h: Here.  New file.
18967         * elf/rtld.c: Include "setup-vdso.h".
18968         (dl_main): Call setup_vdso.
18970 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
18972         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18973         creal in comment listing functions tested.  List finite, isinf,
18974         isnan, isless, islessequal, isgreater, isgreaterequal,
18975         islessgreater, isunordered, lgamma_r and pow10 as functions and
18976         macros not tested.  Mention which functions not tested are aliases
18977         for other functions.  Fix typo.  Note that signs of NaNs are not
18978         tested.
18980         * scripts/config.guess: Update from config.git.
18981         * scripts/config.sub: Likewise.
18983 2012-10-04  Roland McGrath  <roland@hack.frob.com>
18985         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18986         * misc/madvise.c (madvise): Renamed to __madvise.
18987         Make madvise a weak alias.
18988         * include/sys/mman.h: Declare __madvise.
18989         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18990         * sysdeps/unix/syscalls.list
18991         (madvise): Make __madvise the strong name, and madvise a weak alias.
18992         * sysdeps/unix/sysv/linux/syscalls.list
18993         (madvise, mmap): Remove redundant entries.
18994         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18995         * malloc/malloc.c (mtrim): Likewise.
18996         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18998 2012-10-03  Roland McGrath  <roland@hack.frob.com>
19000         * sysdeps/mach/hurd/dl-cache.c: File removed.
19001         * config.h.in (USE_LDCONFIG): New #undef.
19002         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
19003         * configure: Regenerated.
19004         * elf/Makefile (dl-routines): Add dl-cache only under
19005         [$(use-ldconfig) = yes].
19006         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
19007         cache on [USE_LDCONFIG].
19008         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
19009         [USE_LDCONFIG].
19010         * elf/rtld.c (dl_main): Likewise.
19012 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
19014         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
19015         _SC_LEVEL4_CACHE_LINESIZE.
19017 2012-10-03  Roland McGrath  <roland@hack.frob.com>
19019         * sysdeps/unix/bsd/confstr.h: File removed.
19021 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
19023         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
19024         sys/sdt-config.h.
19026 2012-10-02  Roland McGrath  <roland@hack.frob.com>
19028         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
19029         Make 'mapoff' field ElfW(Off) rather than off_t.
19031 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
19033         * nscd/Makefile: Remove nscd-cflags and all its users.
19034         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
19035         (CFLAGS-nonlib): Add compiler flags for nscd modules.
19037         [BZ #10631]
19038         * malloc.c (malloc_printerr): Clarify error message.
19040 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
19042         [BZ #14648]
19043         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19044         Set bit_FMA_Usable if FMA is supported.
19045         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
19046         macro.
19047         (bit_FMA4_Usable): Updated.
19048         (index_FMA_Usable): New macro.
19049         (CPUID_FMA): Likewise
19050         (HAS_FMA): Defined with bit_FMA_Usable.
19052 2012-10-01  Roland McGrath  <roland@hack.frob.com>
19054         * bits/types.h (__swblk_t): Type removed.
19055         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
19056         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
19057         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19058         (__SWBLK_T_TYPE): Likewise.
19059         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19060         (__SWBLK_T_TYPE): Likewise.
19061         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19062         (__SWBLK_T_TYPE): Likewise.
19063         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19064         (__SWBLK_T_TYPE): Likewise.
19066 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
19067             Honza Horak <hhorak@redhat.com>
19069         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
19070         (xdr_mapname): Use YPMAXMAP as maxsize.
19071         (xdr_peername): Use YPMAXPEER as maxsize.
19072         (xdr_keydat): Use YPAXRECORD as maxsize.
19073         (xdr_valdat): Use YPMAXRECORD as maxsize.
19075 2012-10-01  Roland McGrath  <roland@hack.frob.com>
19077         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
19079         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
19080         * csu/init-first.c: ... here.
19081         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
19082         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
19083         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
19084         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19085         * sysdeps/i386/init-first.c: File removed.
19086         * sysdeps/sh/init-first.c: File removed.
19088 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
19090         [BZ #14645]
19091         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
19092         if x * y might underflow to zero and z is zero.
19093         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19094         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19095         * math/libm-test.inc (min_subnorm_value): New variable.
19096         (fma_test): Add more tests.
19097         (fma_test_towardzero): Likewise.
19098         (fma_test_downward): Likewise
19099         (fma_test_upward): Likewise.
19100         (initialize): Set min_subnorm_value.
19102 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
19104         [BZ #14638]
19105         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
19106         0 + 0.
19107         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
19108         mode for addition resulting in exact zero.
19109         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
19110         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
19111         exact 0 + 0.
19112         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19113         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19114         * math/libm-test.inc (fma_test): Add more tests.
19115         (fma_test_towardzero): New function.
19116         (fma_test_downward): Likewise.
19117         (fma_test_upward): Likewise.
19118         (main): Call the new functions.
19120 2012-09-28  David S. Miller  <davem@davemloft.net>
19122         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
19124 2012-09-28  Roland McGrath  <roland@hack.frob.com>
19126         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
19127         instead of SIGALRM.
19129         * sysdeps/gnu/_G_config.h: Moved to ...
19130         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
19131         * sysdeps/mach/hurd/_G_config.h: Moved to ...
19132         * sysdeps/generic/_G_config.h: ... here.
19134         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
19136         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
19138         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
19139         Conditionalize target on [libnss_test1.so-version].
19141         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
19143         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
19144         (elfobjdir): Move out of conditionals.
19146         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
19147         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
19148         (__nss_lookup_function): Conditionalize label remove_from_tree on
19149         [!DO_STATIC_NSS || SHARED], matching its only use.
19151 2012-09-28  David S. Miller  <davem@davemloft.net>
19153         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
19154         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
19155         file.
19156         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19157         sysdep_routines.
19158         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19159         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
19160         when HWCAP_SPARC_CRYPTO is present.
19162 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
19164         * io/tst-mknodat.c: Create a FIFO instead of a socket.
19166 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
19168         [BZ #6530]
19169         * stdio-common/vfprintf.c (process_string_arg): Revert
19170         2000-07-22 change.
19172 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
19174         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
19175         for testcase.
19176         * stdio-common/tst-sprintf.c: Include <locale.h>
19177         (main): Test sprintf's handling of incomplete multibyte
19178         characters.
19180 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
19182         * elf/dl-runtime.c (VERSYMIDX): Removed.
19183         * elf/dl-version.c (VERSYMIDX): Likewise.
19184         * elf/do-rel.h (VERSYMIDX): Likewise.
19185         (VALIDX): Likewise.
19186         * elf/dynamic-link.h (VERSYMIDX): Likewise.
19187         * elf/rtld.c (VALIDX): Likewise.
19188         (ADDRIDX): Likewise.
19189         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
19190         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
19191         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
19192         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
19193         (VALIDX): Likewise.
19194         (ADDRIDX): Likewise.
19196 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
19198         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
19200 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
19202         [BZ #11438]
19203         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
19204         to global scope.
19205         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
19206         addresses are in the same scope as 192.0.2/24.
19207         * posix/gai.conf: Document new scope table defaults.
19209 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19211         [BZ #5298]
19212         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
19213         for ftell.  Compute offsets from write pointers instead.
19214         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19216 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19218         [BZ #14543]
19219         * libio/Makefile (tests): New test case tst-fseek.
19220         * libio/tst-fseek.c: New test case to verify that fseek/ftell
19221         combination works in wide mode.
19222         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
19223         state when the external buffer state changes.
19225 2012-09-27  David S. Miller  <davem@davemloft.net>
19227         [BZ #14376]
19228         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
19229         pass reloc->r_addend in as the 'high' argument to
19230         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
19232         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19234 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
19236         * rt/tst-aio2.c: Include <pthread.h>.
19237         * rt/tst-aio3.c: Likewise.
19239 2012-09-27  Steve Ellcey  <sellcey@mips.com>
19241         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
19243 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
19245         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
19246         contents on [SHARED].
19248 2012-09-26  Marek Polacek  <polacek@redhat.com>
19250         [BZ #14530]
19251         [BZ #13741]
19252         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
19253         for C++ and GCC <4.3 as well as for non GCC compilers.
19255 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
19257         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19259 2012-09-25  Roland McGrath  <roland@hack.frob.com>
19261         * Makefile.in (all, install): Declare with .PHONY.
19262         Reported by Michael Hope <michael.hope@linaro.org>.
19264 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19266         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
19267         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
19268         system header.
19269         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
19270         Likewise.
19271         (sydep_routines): Add the new and the internal functions.
19272         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
19273         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
19274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
19275         (GLIBC_2.17): Add the new function.
19276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19277         (GLIBC_2.17): Likewise.
19278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
19279         (GLIBC_2.17): Likewise.
19280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
19281         (GLIBC_2.17): Likewise.
19282         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
19284 2012-09-25  Alan Modra  <amodra@gmail.com>
19286         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
19287         Add release barrier before setting once_control to say
19288         initialisation is done.  Add hints on lwarx.  Use macro in
19289         place of isync.
19290         (clear_once_control): Add release barrier.
19292 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
19294         [BZ #13629]
19295         * math/s_clog.c (__clog): Handle more values close to |z| = 1
19296         specially.
19297         * math/s_clog10.c (__clog10): Likewise.
19298         * math/s_clog10f.c (__clog10f): Likewise.
19299         * math/s_clog10l.c (__clog10l): Likewise.
19300         * math/s_clogf.c (__clogf): Likewise.
19301         * math/s_clogl.c (__clogl): Likewise.
19302         * math/Makefile (libm-calls): Add x2y2m1.
19303         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
19304         (__x2y2m1): Likewise.
19305         (__x2y2m1l): Likewise.
19306         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
19307         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
19308         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
19309         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19310         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
19311         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
19312         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
19313         * sysdeps/i386/fpu/libm-test-ulps: Update.
19314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19316         [BZ #14621]
19317         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
19318         int as type of variable DEPTH.
19319         (glob): Use size_t instead of int as type of variables NEWCOUNT
19320         and OLD_PATHC.
19322 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19324         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19325         Add s_sincosf-sse2.
19326         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
19327         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
19328         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
19329         macros for using routine as __sincosf_ia32.
19330         Use macro for function declaration and weak_alias.
19331         * sysdeps/i386/fpu/libm-test-ulps: Update.
19333         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
19334         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19336         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
19337         subnormal argument.
19338         * math/s_cexpf.c (__cexpf): Likewise.
19339         * math/s_csinf.c (__csinf): Likewise.
19340         * math/s_csinhf.c (__csinhf): Likewise.
19341         * math/s_ctanf.c (__ctanf): Likewise.
19342         * math/s_ctanhf.c (__ctanhf): Likewise.
19343         * math/s_ccosh.c (__ccoshf): Likewise.
19344         * math/s_cexp.c (__cexpl): Likewise.
19345         * math/s_csin.c (__csin): Likewise.
19346         * math/s_csinh.c (__csinh): Likewise.
19347         * math/s_ctan.c (__ctan): Likewise.
19348         * math/s_ctanh.c (ctanh): Likewise.
19349         * math/s_ccoshl.c (__ccoshl): Likewise.
19350         * math/s_cexpl.c (__cexpl): Likewise.
19351         * math/s_csinl.c (__csinl): Likewise.
19352         * math/s_csinhl.c (__csinhl): Likewise.
19353         * math/s_ctanl.c (__ctanl): Likewise.
19354         * math/s_ctanhl.c (__ctanhl): Likewise.
19356 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
19358         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
19359         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
19360         (_IO_off_t): Define to __off_t, not _G_off_t.
19361         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
19362         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
19363         (_IO_wint_t): Define to wint_t, not _G_wint_t.
19364         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
19365         type of __dummy and __dummy2 fields.
19366         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
19367         (_G_ssize_t): Likewise.
19368         (_G_off_t): Likewise.
19369         (_G_pid_t): Likewise.
19370         (_G_uid_t): Likewise.
19371         (_G_wchar_t): Likewise.
19372         (_G_wint_t): Likewise.
19373         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
19374         (_G_ssize_t): Likewise.
19375         (_G_off_t): Likewise.
19376         (_G_pid_t): Likewise.
19377         (_G_uid_t): Likewise.
19378         (_G_wchar_t): Likewise.
19379         (_G_wint_t): Likewise.
19380         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
19381         (_G_ssize_t): Likewise.
19382         (_G_off_t): Likewise.
19383         (_G_pid_t): Likewise.
19384         (_G_uid_t): Likewise.
19385         (_G_wchar_t): Likewise.
19386         (_G_wint_t): Likewise.
19388 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19390         * malloc/arena.c: Include malloc-sysdep.h.
19391         (shrink_heap): Use check_may_shrink_heap to decide if madvise
19392         is sufficient to shrink the heap or an unmap is needed.
19393         * sysdeps/generic/malloc-sysdep.h: New file.  Define
19394         new function check_may_shrink_heap.
19395         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
19396         new function check_may_shrink_heap.
19398 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19400         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
19401         comments.
19403 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
19405         * catgets/test-gencat.sh: Add "set -e".
19406         * elf/tst-pathopt.sh: Likewise.
19407         * grp/tst_fgetgrent.sh: Likewise.
19408         * iconvdata/run-iconv-test.sh: Likewise.
19409         * intl/tst-gettext.sh: Likewise.
19410         * intl/tst-gettext2.sh: Likewise.
19411         * intl/tst-gettext4.sh: Likewise.
19412         * intl/tst-gettext6.sh: Likewise.
19413         * intl/tst-translit.sh: Likewise.
19414         * io/ftwtest-sh: Likewise.
19415         * libio/test-freopen.sh: Likewise.
19416         * malloc/tst-mtrace.sh: Likewise.
19417         * posix/globtest.sh: Likewise.
19418         * posix/tst-getconf.sh: Likewise.
19419         * posix/wordexp-tst.sh: Likewise.
19420         * stdio-common/tst-printf.sh: Likewise.
19421         * stdio-common/tst-unbputc.sh: Likewise.
19422         * stdlib/tst-fmtmsg.sh: Likewise.
19423         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19424         * catgets/Makefile: Do not specify -e option when running
19425         testsuite shell scripts.
19426         * elf/Makefile: Likewise.
19427         * grp/Makefile: Likewise.
19428         * iconvdata/Makefile: Likewise.
19429         * intl/Makefile: Likewise.
19430         * io/Makefile: Likewise.
19431         * libio/Makefile: Likewise.
19432         * malloc/Makefile: Likewise.
19433         * posix/Makefile: Likewise.
19434         * stdio-common/Makefile: Likewise.
19435         * stdlib/Makefile: Likewise.
19436         * sysdeps/x86_64/Makefile: Likewise.
19438         * io/ftwtest-sh: Add copyright header.
19439         * posix/globtest.sh: Likewise.
19440         * posix/tst-getconf.sh: Likewise.
19441         * posix/wordexp-tst.sh: Likewise.
19442         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19444 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
19446         [BZ #13679]
19447         * Makeconfig (+link): Defined as $(+link-static) if
19448         $(build-shared) isn't yes.
19449         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
19450         isn't yes.
19451         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
19453         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
19455         [BZ #14562]
19456         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
19457         new chunk size with MALLOC_ALIGN_MASK.
19459 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
19461         [BZ #5044]
19462         * stdio-common/printf_fphex.c: Include <stdbool.h> and
19463         <rounding-mode.h>.
19464         (__printf_fphex): Determine rounding using get_rounding_mode and
19465         round_away.
19466         * stdio-common/tst-printf-round.c (struct hex_test): New
19467         structure.
19468         (hex_tests): New variable.
19469         (test_hex_in_one_mode): New function.
19470         (do_test): Also run tests for hex float output.
19472 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
19474         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19475         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19476         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
19477         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19478         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19479         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
19480         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19481         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19483 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
19485         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
19486         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
19487         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
19488         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
19490 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
19492         [BZ #14579]
19493         * elf/rtld.c (dl_main): Limit the check for self loading to normal
19494         mode only.
19495         * elf/tst-rtld-load-self.sh: New test.
19496         * elf/Makefile: Run it.
19498 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
19500         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
19501         (tst-writev-ENV): Remove.
19502         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
19504 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
19506         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
19508 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
19510         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
19511         unconditional.
19512         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
19513         Likewise.
19514         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
19515         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
19516         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
19517         Likewise.
19519 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
19521         [BZ #14587]
19522         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
19523         * config.make.in (have-cpp-asm-debuginfo): Removed.
19524         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
19525         * configure: Regenerated.
19527 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
19529         [BZ #5044]
19530         * stdio-common/printf_fp.c: Include <stdbool.h> and
19531         <rounding-mode.h>.
19532         (___printf_fp): Determine rounding using get_rounding_mode and
19533         round_away.
19534         * stdio-common/tst-printf-round.c: New file.
19535         * stdio-common/Makefile (tests): Add tst-printf-round.
19536         (link-libm): New variable.
19537         ($(objpfx)tst-printf-round): Depend in $(link-libm).
19539 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
19541         [BZ #14576]
19542         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
19543         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
19544         Likewise.
19545         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
19546         Likewise.
19548 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
19550         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
19551         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19552         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19553         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19555 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
19557         [BZ #14518]
19558         * include/rounding-mode.h: New file.
19559         * sysdeps/generic/get-rounding-mode.h: Likewise.
19560         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
19561         * stdlib/strtod_l.c: Include <rounding-mode.h>.
19562         (MAX_VALUE): New macro.
19563         (MIN_VALUE): Likewise.
19564         (overflow_value): New function.
19565         (underflow_value): Likewise.
19566         (round_and_return): Use overflow_value and underflow_value to
19567         determine return values in overflow and underflow cases.  Use
19568         round_away to determine rounding depending on rounding mode.
19569         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
19570         determine return values in overflow and underflow cases.
19571         * stdlib/tst-strtod-round.c: Include <fenv.h>.
19572         (struct test_results): New structure.
19573         (struct test): Use struct test_results to store expected results
19574         for all rounding modes.
19575         (TEST): Include expected results for all rounding modes.
19576         (test_in_one_mode): New function.
19577         (do_test): Use test_in_one_mode to compute and check results.
19578         Check results for all rounding modes.
19579         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
19580         $(link-libm).
19582 2012-12-09  Allan McRae  <allan@archlinux.org>
19584         * sysdeps/i386/fpu/libm-test-ulps: Update
19586 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
19588         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
19589         (_G_int32_t): Likewise.
19590         (_G_uint16_t): Likewise.
19591         (_G_uint32_t): Likewise.
19592         (_G_HAVE_BOOL): Likewise.
19593         (_G_HAVE_ATEXIT): Likewise.
19594         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19595         (_G_HAVE_IO_FILE_OPEN): Likewise.
19596         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
19597         (_G_int32_t): Likewise.
19598         (_G_uint16_t): Likewise.
19599         (_G_uint32_t): Likewise.
19600         (_G_HAVE_BOOL): Likewise.
19601         (_G_HAVE_ATEXIT): Likewise.
19602         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19603         (_G_HAVE_IO_FILE_OPEN): Likewise.
19604         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
19605         (_G_int32_t): Likewise.
19606         (_G_uint16_t): Likewise.
19607         (_G_uint32_t): Likewise.
19608         (_G_HAVE_BOOL): Likewise.
19609         (_G_HAVE_ATEXIT): Likewise.
19610         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19611         (_G_HAVE_IO_FILE_OPEN): Likewise.
19613 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
19615         * csu/libc-tls.c: Update copyright years.
19617 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
19619         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
19620         [!_G_USING_THUNKS]: Remove conditional code.
19621         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
19622         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
19624         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
19625         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
19626         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19627         (_G_VTABLE_LABEL_PREFIX): Likewise.
19628         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19629         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19630         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19631         (_G_VTABLE_LABEL_PREFIX): Likewise.
19632         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19633         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19634         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19635         (_G_VTABLE_LABEL_PREFIX): Likewise.
19636         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19638 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
19640         * libio/Makefile: Include ../Makeconfig before tests.
19641         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
19642         only if $(build-shared) is yes.
19644         * iconv/gconv_db.c: Update copyright years.
19646 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19648         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
19649         unwind info if defined PIC. Fix special cases description.
19650         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
19652         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
19653         DP_HI_MASK entry.
19654         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
19656 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
19658         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
19660         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
19661         is NULL.
19663         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
19664         (LDLIBS-tst-chk4): This.
19665         (LDFLAGS-tst-chk5): Renamed to ...
19666         (LDLIBS-tst-chk5): This.
19667         (LDFLAGS-tst-chk6): Renamed to ...
19668         (LDLIBS-tst-chk6): This.
19669         (LDFLAGS-tst-lfschk4): Renamed to ...
19670         (LDLIBS-tst-lfschk4): This.
19671         (LDFLAGS-tst-lfschk5): Renamed to ...
19672         (LDLIBS-tst-lfschk5): This.
19673         (LDFLAGS-tst-lfschk6): Renamed to ...
19674         (LDLIBS-tst-lfschk6): This.
19676         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
19677         on $(common-objpfx)soversions.mk.
19679 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
19681         [BZ #10014]
19682         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
19683         example host name.
19685 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
19687         * malloc/arena.c (arena_get_retry): New function that gets
19688         another arena for the caller to try its request on.
19689         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
19690         current arena cannot fulfill the request.
19691         (__libc_memalign): Likewise.
19692         (__libc_memalign): Likewise.
19693         (__libc_pvalloc): Likewise.
19694         (__libc_calloc): Likewise.
19696 2012-09-05  John Tobey  <john.tobey@gmail.com>
19698         [BZ #13542]
19699         * manual/arith.texi (Operations on Complex): Fix description
19700         of carg branch cut.
19702 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
19704         [BZ #10014]
19705         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
19706         host name.
19708         [BZ #10038]
19709         * manual/memory.texi (Memory): Make order of menu items match
19710         order of sections.
19712 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19714         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
19715         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
19716         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
19718 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19720         * csu/libc-tls.c (static_dtv): Renamed to ...
19721         (_dl_static_dtv): This.  Make it global.
19722         (_dl_initial_dtv): Removed.
19723         (__libc_setup_tls): Updated.
19724         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
19725         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
19726         DL_INITIAL_DTV.
19728 2012-09-06  Petr Machata  <pmachata@redhat.com>
19730         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
19731         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
19732         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
19733         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
19735 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19737         [BZ #14545]
19738         * csu/libc-tls.c (_dl_initial_dtv): New variable.
19739         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19740         freeing dtv[-1].
19742 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19744         [BZ #14544]
19745         * Makeconfig (link-static-before-libc): Replace $(+prector)
19746         with $(+prectorT).
19747         (link-static-after-libc): Replace $(+postctor) with
19748         $(+postctorT).
19749         (link-bounded): Replace $(+prector)/$(+postctor) with
19750         $(+prectorT)/$(+postctorT).
19751         (+prectorT): New macro.
19752         (+postctorT): Likewise.
19754 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
19756         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19757         (round_str): Handle values above the maximum for IBM long double
19758         as inexact.
19759         * stdlib/tst-strtod-round.c (tests): Regenerated.
19761 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19763         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19764         assembler flag.
19765         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19766         zarch_nohighgprs around the zarch optimized routines.
19767         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19768         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19769         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19770         for zarch.
19772 2012-09-05  David S. Miller  <davem@davemloft.net>
19774         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19776         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19777         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19778         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19779         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19780         entries.
19782 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19784         * malloc/arena.c: Fold copyright years.
19785         * malloc/mcheck.c, malloc/memusage.c: Likewise.
19787 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19789         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19791 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19793         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
19795 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19797         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19798         change internal state upon failure.
19800 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19802         * malloc/mcheck.c (mcheck_check_all): Fix typo.
19803         * malloc/memusage.c (mmap): Likewise.
19804         (mmap64, mremap): Likewise.  Adjust name in comment.
19806 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19808         * libio/fileops.c: Fix typos in comments.
19809         * libio/oldfileops.c: Likewise.
19810         * libio/wfileops.c: Likewise.
19812 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19814         [BZ #1349]
19815         * malloc/Makefile (tests): Add tst-malloc-usable test case.
19816         (tst-malloc-usable-ENV): Set environment for test case.
19817         * malloc/hooks.c (malloc_check_get_size): New function to get
19818         requested size.
19819         * malloc/malloc.c (musable): Use malloc_check_get_size.
19820         * malloc/tst-malloc-usable.c: New test case.
19822 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
19824         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19826 2012-09-05  Allan McRae  <allan@archlinux.org>
19828         [BZ #13966]
19829         * configure.in (CXX_SYSINCLUDES): Use compiler output to
19830         determine header location.
19831         * configure: Regenerated.
19833 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
19835         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19836         float format.
19837         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
19838         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19839         format.
19840         (test): Regenerate.
19842 2012-09-04  David S. Miller  <davem@davemloft.net>
19844         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19845         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19846         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19848 2012-09-04  Florian Weimer  <fweimer@redhat.com>
19850         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19851         failures.
19853         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19855 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
19857         [BZ #9914]
19858         * libio/iogetdelim.c: Include <limits.h>.
19859         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19860         + len + 1 would overflow.
19862 2012-09-03  Andreas Jaeger  <aj@suse.de>
19864         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19865         * sysdeps/i386/fpu/libm-test-ulps: Update.
19867 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19869         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19870         Add s_sinf-sse2, s_conf-sse2.
19872         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19873         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19874         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19875         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19877         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19878         for using routine as __sinf_ia32.
19879         Use macro for function declaration and weak_alias.
19880         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19881         for using routine as __cosf_ia32.
19882         Use macro for function declaration and weak_alias.
19884         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19885         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19887         * sysdeps/x86_64/fpu/s_sinf.S: New file.
19888         * sysdeps/x86_64/fpu/s_cosf.S: New file.
19889         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19891         * math/libm-test.inc (cos_test): Add more test cases.
19892         (sin_test): Likewise.
19893         (sincos_test): Likewise.
19895 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19897         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19898         (IFUNC_RESOLVE): Make pointers to the specialized implementations
19899         hidden.
19900         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19902 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
19904         [BZ #14538]
19905         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19906         first element of the GOT.
19907         (elf_machine_load_address): Return the difference between
19908         the runtime address of _DYNAMIC and elf_machine_dynamic ().
19910 2012-09-01  Allan McRae  <allan@archlinux.org>
19912         [BZ #13412]
19913         * configure.in (AWK): Require gawk version 3.0 or later.
19914         * configure: Regenerated.
19916 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
19918         * sysdeps/unix/sysv/linux/kernel-features.h
19919         (__ASSUME_POSIX_CPU_TIMERS): Remove.
19920         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19921         [__NR_clock_getres]: Make code unconditional.
19922         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19923         (clock_getcpuclockid): Remove code left unreachable by removal of
19924         conditionals.
19925         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19926         code unconditional.
19927         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19928         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19929         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19930         Make code unconditional.
19931         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19932         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19933         * sysdeps/unix/sysv/linux/clock_settime.c
19934         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19935         conditional code.
19936         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19937         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19939 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
19941         [BZ #14476]
19942         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19943         scripts/test-installation.pl.
19945         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19946         and $ld_so_version if it is set.
19948 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19950         [BZ #14516]
19951         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19952         failure if reading from procfs failed.
19953         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19955 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
19957         * sysdeps/unix/sysv/linux/kernel-features.h
19958         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19959         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19960         Remove conditional code.
19961         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19962         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19963         Remove conditional code.
19964         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19965         * sysdeps/unix/sysv/linux/i386/fxstat.c
19966         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19967         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19968         * sysdeps/unix/sysv/linux/i386/fxstatat.c
19969         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19970         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19971         * sysdeps/unix/sysv/linux/i386/lxstat.c
19972         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19973         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19974         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19975         Remove conditional code.
19976         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19977         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19978         Remove conditional code.
19979         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19980         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19981         <kernel-features.h>.
19982         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19983         Remove.
19984         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19985         Remove conditional code.
19986         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19987         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19988         Remove conditional.
19990 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
19992         [BZ #5400]
19993         * NEWS: Add fixed bug number.
19995 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
19997         [BZ #14519]
19998         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19999         underflowing exponent in case of negative sign.
20000         * stdlib/tst-strtod-round-data: Add more tests.
20001         * stdlib/tst-strtod-round.c (tests): Regenerated.
20003         [BZ #3479]
20004         * stdlib/strtod_l.c (NDIG): Remove.
20005         (HEXNDIG): Likewise.
20006         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
20007         smallest representable value.
20008         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
20009         lie within an exact representation of 1/2 ulp of the result.
20010         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
20011         unconditionally.
20012         (TENS_P9_IDX): Define unconditionally.
20013         (TENS_P9_SIZE): Likewise.
20014         (TENS_P10_IDX): Likewise.
20015         (TENS_P10_SIZE): Likewise.
20016         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
20017         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
20018         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
20019         entries for 10^2^13 and 10^2^14.
20020         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
20021         (TENS_P13_IDX): Define.
20022         (TENS_P13_SIZE): Likewise.
20023         (TENS_P14_IDX): Likewise.
20024         (TENS_P14_SIZE): Likewise.
20025         (_fpioconst_pow10): Change array size to
20026         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
20027         unconditional.
20028         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
20029         1024]: Add entries for 10^2^13 and 10^2^14.
20030         [LAST_POW10 > _LAST_POW10]: Remove #error.
20031         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
20032         (_fpioconst_pow10): Change array size to
20033         FPIOCONST_POW10_ARRAY_SIZE.
20034         * stdlib/gen-fpioconst.c: New file.
20035         * stdlib/gen-tst-strtod-round.c: Likewise.
20036         * stdlib/tst-strtod-round-data: Likewise.
20037         * stdlib/tst-strtod-round.c: Likewise.
20038         * stdlib/Makefile (tests): Add tst-strtod-round.
20040         [BZ #14459]
20041         * stdlib/strtod_l.c: Include <stdint.h>.
20042         (NDEBUG): Do not define.
20043         (round_and_return): Change EXPONENT parameter to type intmax_t.
20044         Rearrange calculations to avoid internal overflow possibilities.
20045         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
20046         Rearrange calculations to avoid internal overflow possibilities.
20047         Assert that number fits inside MPNSIZE limbs.
20048         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
20049         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
20050         calculations and add assertions to avoid internal overflow
20051         possibilities.  Add casts to avoid signed/unsigned operations.
20052         * stdlib/tst-strtod-overflow.c: New file.
20053         * stdlib/Makefile (tests): Add tst-strtod-overflow.
20055 2012-08-25  Marek Polacek  <polacek@redhat.com>
20057         * time/time.h: Fix some typos in comments.
20059 2012-08-23  Roland McGrath  <roland@hack.frob.com>
20061         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
20062         * posix/tst-rfc3484-2.c: Likewise.
20063         * posix/tst-rfc3484-3.c: Likewise.
20065 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
20067         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
20068         (EF_ARM_ABI_FLOAT_HARD): Likewise.
20070 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
20072         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
20073         #include of fxstatat64.c.
20075 2012-08-22  Roland McGrath  <roland@hack.frob.com>
20077         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
20078         * shadow/getspent_r.c: Likewise.
20079         * shadow/getspnam.c: Likewise.
20080         * shadow/getspnam_r.c: Likewise.
20081         * gshadow/getsgent.c: Likewise.
20082         * gshadow/getsgent_r.c: Likewise.
20083         * gshadow/getsgnam.c: Likewise.
20084         * gshadow/getsgnam_r.c: Likewise.
20085         * inet/getnetbyad.c: Likewise.
20086         * inet/getnetbyad_r.c: Likewise.
20087         * inet/getnetbynm.c: Likewise.
20088         * inet/getnetbynm_r.c: Likewise.
20089         * inet/getnetent.c: Likewise.
20090         * inet/getnetent_r.c: Likewise.
20091         * inet/getproto.c: Likewise.
20092         * inet/getproto_r.c: Likewise.
20093         * inet/getprtent.c: Likewise.
20094         * inet/getprtent_r.c: Likewise.
20095         * inet/getprtname.c: Likewise.
20096         * inet/getprtname_r.c: Likewise.
20097         * inet/getrpcbyname.c: Likewise.
20098         * inet/getrpcbyname_r.c: Likewise.
20099         * inet/getrpcbynumber.c: Likewise.
20100         * inet/getrpcbynumber_r.c: Likewise.
20101         * inet/getrpcent.c: Likewise.
20102         * inet/getrpcent_r.c: Likewise.
20103         * inet/getaliasent.c: Likewise.
20104         * inet/getaliasent_r.c: Likewise.
20105         * inet/getaliasname.c: Likewise.
20106         * inet/getaliasname_r.c: Likewise.
20107         * nscd/getgrgid_r.c: Likewise.
20108         * nscd/getgrnam_r.c: Likewise.
20109         * nscd/gethstbyad_r.c: Likewise.
20110         * nscd/gethstbynm3_r.c: Likewise.
20111         * nscd/getpwnam_r.c: Likewise.
20112         * nscd/getpwuid_r.c: Likewise.
20113         * nscd/getsrvbynm_r.c: Likewise.
20114         * nscd/getsrvbypt_r.c: Likewise.
20115         * nscd/gai.c: Likewise.
20117         * configure.in (build_nscd): New substituted variable, set
20118         by --disable-build-nscd and defaults to $use_nscd.
20119         * configure: Regenerated.
20120         * config.make.in (build-nscd): New substituted variable.
20121         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
20122         Change conditional to require [$(build-nscd) = yes] as well.
20123         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
20125         [BZ# 13696]
20126         * configure.in (use_nscd): New substituted variable, set by
20127         --disable-nscd.  If enabled, define USE_NSCD.
20128         * configure: Regenerated.
20129         * config.h.in: Add USE_NSCD.
20130         * config.make.in (use-nscd): New substituted variable.
20131         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
20132         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
20133         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
20134         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
20135         (CFLAGS-getgrnam_r.c): Likewise.
20136         (CFLAGS-initgroups.c): Likewise.
20137         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
20138         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
20139         Variables removed.
20140         * inet/getnetgrent_r.c
20141         (nscd_setnetgrent): New function, broken out of ...
20142         (setnetgrent): ... here.  Call it.
20143         (innetgr): Conditionalize nscd bits on [USE_NSCD].
20144         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
20145         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
20146         * nscd/Makefile (routines, aux): Move definitions after include of
20147         Makeconfig.  Conditionalize on [$(use-nscd) != no].
20148         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
20149         Conditionalize on [USE_NSCD].
20150         (is_nscd, nscd_init_cb): Likewise.
20151         (nss_load_library): Conditionalize init callback on [USE_NSCD].
20152         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
20153         * nss/nss_db/db-init.c: Likewise.
20154         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
20155         [USE_NSCD].
20156         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
20157         (make_request): Use it.
20158         (cache_valid_p): New function.
20159         (__check_pf): Use it.
20160         * NEWS: Add item for --disable-nscd.
20162 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
20164         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
20165         to support sed >= 4.2.1-20-ga9bf076.
20166         * configure: Regenerated.
20168 2012-08-22  Roland McGrath  <roland@hack.frob.com>
20170         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
20171         Conditionalize whole body on [IREL].
20173 2012-08-22  Jeff Law <law@redhat.com>
20175         [BZ #14505]
20176         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
20177         if the family is PF_UNSPEC.
20179 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
20181         * Makerules (lib-version): Rename from V.
20182         (install-lib-nosubdir): Change V to lib-version.
20184 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
20186         [BZ #14252]
20187         * powerpc32/power6/wcschr.c: New file.
20188         * powerpc32/power6/wcscpy.c: New file.
20189         * powerpc32/power6/wcsrchr.c: New file.
20190         * powerpc64/power6/wcschr.c: New file.
20191         * powerpc64/power6/wcscpy.c: New file.
20192         * powerpc64/power6/wcsrchr.c: New file.
20194 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
20196         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
20197         (two_way_short_needle): Use it.
20198         * string/strstr.c (AVAILABLE1_USES_J): Define.
20199         * string/strcasestr.c: Likewise.
20201         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
20202         array references.
20203         * string/strcasestr.c (TOLOWER): Make side-effect safe.
20205         [BZ #11607]
20206         * NEWS: Add an entry.
20207         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
20208         define their defaults.
20209         (two_way_short_needle): Detect end-of-string on-the-fly.
20210         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
20211         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
20212         * string/bug-strcasestr1.c: New test.
20213         * string/Makefile: Run it.
20215 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
20217         [BZ #11607]
20218         * string/str-two-way.h (two_way_short_needle): Optimize matching of
20219         the first character.
20221 2012-08-21  Roland McGrath  <roland@hack.frob.com>
20223         * csu/elf-init.c (__libc_csu_irel): Function removed.
20224         * csu/libc-start.c (apply_irel): New function.
20225         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
20227 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
20229         * sysdeps/unix/sysv/linux/kernel-features.h
20230         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
20231         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20232         <kernel-features.h>.
20233         [__NR_fadvise64_64]: Make code unconditional.
20234         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
20235         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20236         !__NR_fadvise64_64)]: Likewise.
20237         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20238         !__NR_fadvise64_64))]: Likewise.
20239         [__NR_fadvise64]: Make code unconditional.
20240         [!__NR_fadvise64]: Remove conditional code.
20241         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
20242         <kernel-features.h>.
20243         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20244         unconditional.
20245         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20246         conditional code.
20247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
20248         not include <kernel-features.h>.
20249         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20250         unconditional.
20251         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20252         conditional code.
20253         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
20254         include <kernel-features.h>.
20255         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20256         unconditional.
20257         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20258         conditional code.
20260 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
20262         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
20263         slight instruction rearrangements per scrollpipe analysis.
20264         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20266 2012-08-20  Roland McGrath  <roland@hack.frob.com>
20268         * manual/syslog.texi (syslog; vsyslog, closelog):
20269         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
20270         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
20272         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
20273         DSOCAPS to match condition on defining it.
20275 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
20277         * sysdeps/unix/sysv/linux/kernel-features.h
20278         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
20279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
20280         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20281         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
20283         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20284         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
20286         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20287         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20289         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
20290         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
20292         * sysdeps/unix/sysv/linux/kernel-features.h
20293         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
20294         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
20295         unconditional.
20296         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20297         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
20298         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20299         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20300         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
20301         Make code unconditional.
20302         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20303         (__mmap64) [!__NR_mmap2]: Likewise.
20304         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
20305         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20306         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20307         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
20308         [__NR_mmap2]: Make code unconditional.
20309         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20310         (__mmap64) [!__NR_mmap2]: Likewise.
20312 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20314         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
20316 2012-08-18  Andreas Jaeger  <aj@suse.de>
20318         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
20320 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
20322         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
20323         * include/unistd.h (__have_sock_cloexec): Likewise.
20324         (__have_pipe2): Likewise.
20325         (__have_dup3): Likewise.
20327 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
20329         [BZ #9685]
20330         * include/unistd.h (__have_pipe2): Change define into an extern int.
20331         (__have_dup3): Likewise.
20332         * socket/have_sock_cloexec.c: Include fcntl.h.
20333         (__have_pipe2): New variable.
20334         (__have_dup3): Likewise.
20336 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
20338         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
20340 2012-08-17  Marek Polacek  <polacek@redhat.com>
20342         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
20343         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
20345 2012-08-17  Roland McGrath  <roland@hack.frob.com>
20347         * configure.in: Add AC_SUBST for sysheaders.
20348         * configure: Regenerated.
20349         * config.make.in (sysheaders): New substituted variable.
20351         * sysdeps/unix/mkfifo.c: Moved ...
20352         * sysdeps/posix/mkfifo.c: ... here.
20353         * sysdeps/unix/mkfifoat.c: Moved ...
20354         * sysdeps/posix/mkfifoat.c: ... here.
20356         * sysdeps/unix/utime.c: Moved ...
20357         * sysdeps/posix/utime.c: ... here.
20359         * sysdeps/unix/time.c: Moved ...
20360         * sysdeps/posix/time.c: ... here.
20361         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
20362         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
20364         * sysdeps/unix/nice.c: Moved ...
20365         * sysdeps/posix/nice.c: ... here.
20367         * sysdeps/unix/alarm.c: Moved ...
20368         * sysdeps/posix/alarm.c: ... here.
20370         * intl/Makefile ($(codeset_mo)): Depend on the input file.
20372 2012-08-17  Jeff Law <law@redhat.com>
20374         * intl/Makefile (codeset_mo): New variable.
20375         ($(codeset_mo)): New target.
20376         (tst-codeset.out): Depend on that.  Remove explicit rule.
20377         (tst-gettext3.out, tst-gettext5.out): Likewise.
20378         (LOCPATH-ENV, tst-codeset-ENV): New variables.
20379         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
20380         * intl/tst-codeset.sh: Remove.
20381         * intl/tst-gettext3.sh: Likewise.
20382         * intl/tst-gettext5.sh: Likewise.
20384 2012-08-17  Roland McGrath  <roland@hack.frob.com>
20386         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
20387         * sysdeps/unix/syscalls.list: ... here.
20389         * sysdeps/posix/getaddrinfo.c
20390         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
20391         (gaiconf_init, gaiconf_reload): Use them.
20392         [!_STATBUF_ST_NSEC]
20393         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
20394         Define using time_t rather than struct timespec.
20396         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
20397         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
20398         Macros removed.
20399         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
20400         [!NO_THREADS].
20401         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
20402         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
20403         Likewise.
20405         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
20406         __libc_cleanup_push argument.
20408         * bits/param.h: New file.
20409         * misc/sys/param.h: New file.
20410         * include/sys/param.h: New file.
20411         * misc/Makefile (headers): Add bits/param.h.
20412         * sysdeps/generic/sys/param.h: File removed.
20413         * sysdeps/unix/sysv/linux/bits/param.h: New file.
20414         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
20415         * sysdeps/mach/hurd/bits/param.h: New file.
20416         * sysdeps/mach/hurd/sys/param.h: File removed.
20418         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
20419         last change.
20421         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
20422         [_IO_MTSAFE_IO].
20423         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
20424         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
20425         New macros.
20427         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
20428         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
20429         rather than -D_IO_MTSAFE_IO conditionally.
20430         * stdio-common/Makefile (CPPFLAGS): Likewise.
20431         * wcsmbs/Makefile (CPPFLAGS): Likewise.
20432         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
20433         Use $(libio-mtsafe).
20434         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
20435         of -D_IO_MTSAFE_IO.
20436         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
20437         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
20438         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
20439         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
20440         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
20441         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
20442         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
20443         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
20444         (CFLAGS-fread_u_chk.c): Likewise.
20445         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
20446         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
20447         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
20448         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
20449         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
20450         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
20451         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
20452         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
20453         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
20455         * libio/Makefile: Test [$(libc-reentrant) = yes]
20456         instead of [$(filter %REENTRANT, $(defines)) nonempty].
20458         * Makeconfig
20459         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
20460         * sysdeps/pthread/configure: File removed.
20461         * sysdeps/pthread/Makeconfig: New file.
20462         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
20463         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
20465 2012-08-16  Gary Benson  <gbenson@redhat.com>
20467         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
20468         unmapping the first object in a namespace.
20470 2012-08-16  Roland McGrath  <roland@hack.frob.com>
20472         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
20473         (__internal_setnetgrent): ... this.  Add internal_function to
20474         definition.  Add libc_hidden_def.
20475         (setnetgrent): Update caller.
20476         (internal_endnetgrent): Renamed to ...
20477         (__internal_endnetgrent): ... this.  Add internal_function to
20478         definition.  Add libc_hidden_def.
20479         (endnetgrent): Update caller.
20480         (internal_getnetgrent_r): Renamed to ...
20481         (__internal_getnetgrent_r): ... this.  Add internal_function to
20482         definition.  Add libc_hidden_def.
20483         (__getnetgrent_r): Update caller.
20484         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
20486 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
20488         * stdlib/longlong.h: Update from GCC.
20490 2012-08-16  Roland McGrath  <roland@hack.frob.com>
20492         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
20493         on _QL, which is set by umul_ppmm but never used.
20494         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
20495         variables, which are set by GMP macros but never used.
20496         * stdio-common/_itowa.c (_itowa): Likewise.
20497         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
20498         * stdlib/mod_1.c (mpn_mod_1): Likewise.
20500 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
20502         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
20503         struct La_sh_regs is not constant.
20504         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
20505         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
20506         and struct La_sparc64_regs are not constant.
20508 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
20510         * sysdeps/unix/sysv/linux/kernel-features.h
20511         (__ASSUME_POSIX_TIMERS): Remove.
20512         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20513         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20514         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
20515         Make code unconditional.
20516         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20517         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
20518         Make code unconditional.
20519         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20520         * sysdeps/unix/sysv/linux/clock_nanosleep.c
20521         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
20522         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20523         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
20524         Make code unconditional.
20525         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20526         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
20527         (__libc_missing_posix_timers): Remove.
20529 2012-08-15  Roland McGrath  <roland@hack.frob.com>
20531         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
20532         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
20534         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
20536         * elf/dl-sym.c: Include <stdlib.h>.
20538         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
20539         constants, which avoids warnings in 32-bit builds.
20541         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
20542         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
20544         * misc/lseek.c: File moved to ...
20545         * io/lseek.c: ... here.
20547         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
20549         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
20550         shifting LEN more than 31 bits at once.
20552 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20554         [BZ #14195]
20555         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
20556         segmentation fault for a case of two empty input strings.
20557         * string/test-strncasecmp.c (check1): Renamed to...
20558         (bz12205): ...this.
20559         (bz14195): Add new testcase for two empty input strings and N > 0.
20560         (test_main): Call new testcase, adapt for renamed function.
20562 2012-08-15  Andreas Jaeger  <aj@suse.de>
20564         [BZ #14090]
20565         * crypt/md5test2.c: New test, based on test supplied by Serge
20566         Belyshev <belyshev@depni.sinp.msu.ru>.
20567         * crypt/Makefile (xtests): Add md5test-giant..
20568         * crypt/Makefile ($(objpfx)md5test-giant): Add.
20570 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
20572         [BZ #14090]
20573         * crypt/md5.c (md5_process_block): Don't assume the buffer
20574         length is less than 2**32.
20575         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
20576         length is less than 2**64.
20578 2012-08-15  Roland McGrath  <roland@hack.frob.com>
20580         * string/str-two-way.h: Include <sys/param.h>.
20581         (MAX): Macro removed.
20583         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
20584         Move #define and #undef of memmove to just before and after
20585         including <string.h>.
20587         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
20588         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
20589         and after including <string.h>.  Move declarations of
20590         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
20591         to before #include "string/memmove.c".
20593         * include/dirent.h: Declare __getdirentries.
20595         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
20596         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
20598 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
20600         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
20601         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
20602         * sysdeps/i386/configure: Regenerated.
20603         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
20604         STABS_CURRENT_FILE, and STABS_FUN.
20605         (END): Remove call to STABS_FUN_END.
20606         (STABS_CURRENT_FILE1): Delete.
20607         (STABS_CURRENT_FILE): Likewise.
20608         (STABS_FUN): Likewise.
20609         (STABS_FUN_END): Likewise.
20610         (STABS_FUN2): Likewise.
20611         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
20612         * sysdeps/x86_64/configure: Regenerated.
20614 2012-08-14  Roland McGrath  <roland@hack.frob.com>
20616         * elf/dl-open.c: Include <atomic.h>.
20617         * elf/dl-lookup.c: Likewise.
20619 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
20621         * sysdeps/unix/sysv/linux/kernel-features.h
20622         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
20623         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
20624         unconditionally.
20625         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
20626         unconditionally.
20627         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
20628         condition on __ASSUME_CLONE_THREAD_FLAGS.
20630 2012-08-14  Andreas Jaeger  <aj@suse.de>
20632         * sysdeps/i386/fpu/libm-test-ulps: Update.
20634 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
20636         * include/atomic.h (atomic_exchange_and_add): Split into ...
20637         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
20638         New atomic macros.
20640 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
20642         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20644 2012-08-13  Jeff Law <law@redhat.com>
20646         * manual/stdio.texi (snprintf): Clarify handling of the trailing
20647         null byte in the output string.
20649 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
20651         * sysdeps/unix/sysv/linux/kernel-features.h
20652         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20653         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
20654         (__ASSUME_ARG_MAX_STACK_BASED): Define.
20655         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20656         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
20657         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
20658         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
20660 2012-08-09  Jeff Law <law@redhat.com>
20662         [BZ #13939]
20663         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
20664         When avoid_arena is set, don't retry in the that arena.  Pick the
20665         next one, whatever it might be.
20666         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
20667         (arena_lock): Pass in new parameter to arena_get2.
20668         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
20669         arena_get2.
20670         (__libc_malloc): Unify retrying after main arena failure with
20671         __libc_memalign version.
20672         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
20674 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
20676         [BZ #14166]
20677         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
20678         to __redirect_strstr.
20679         (__strstr_sse42): Use typeof __redirect_strstr.
20680         (__strstr_ia32): Likewise.
20681         (__libc_strstr): New prototype.
20682         (strstr): Renamed to ...
20683         (__libc_strstr): This.
20684         (strstr): New strong alias of __libc_strstr.
20685         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20686         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
20687         __redirect_time.
20688         Include <time.h>.
20689         (__libc_time): New prototype.
20690         (time_ifunc): Replace time with __libc_time.
20691         (time): New strong alias and hidden definition of __libc_time.
20692         (__GI_time): Remove strong alias.
20693         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
20694         Include <stddef.h>.
20695         (memmove): Redefined to __redirect_memmove.
20696         (__memmove_sse2): Use typeof __redirect_memmove.
20697         (__memmove_ssse3): Likewise.
20698         (__memmove_ssse3_back): Likewise.
20699         (__libc_memmove): New prototype.
20700         (memmove): Renamed to ...
20701         (__libc_memmove): This.
20702         (memmove): New strong alias of __libc_memmove.
20704 2012-08-08  Mark Salter  <msalter@redhat.com>
20706         * elf/elf.h
20707         (R_MN10300_TLS_GD): Define.
20708         (R_MN10300_TLS_LD): Likewise.
20709         (R_MN10300_TLS_LDO): Likewise.
20710         (R_MN10300_TLS_GOTIE): Likewise.
20711         (R_MN10300_TLS_IE): Likewise.
20712         (R_MN10300_TLS_LE): Likewise.
20713         (R_MN10300_TLS_DTPMOD): Likewise.
20714         (R_MN10300_TLS_DTPOFF): Likewise.
20715         (R_MN10300_TLS_TPOFF): Likewise.
20716         (R_MN10300_SYM_DIFF): Likewise.
20717         (R_MN10300_ALIGN): Likewise.
20718         (R_MN10300_NUM): Update.
20720 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
20722         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
20723         Remove.
20725 2012-08-08  Roland McGrath  <roland@hack.frob.com>
20727         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
20729         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
20730         sysdeps/unix -> sysdeps/posix move.
20731         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20733 2012-08-07      Allan McRae     <allan@archlinux.org>
20735         [BZ #14303]
20736         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
20737         (SUNOS_CPP): Likewise.
20738         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20739         not found.
20740         (open_input): Call CPP using execvp.
20742 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
20744         * sysdeps/unix/sysv/linux/kernel-features.h
20745         (__ASSUME_PROT_GROWSUPDOWN): Remove.
20746         (__ASSUME_NO_CLONE_DETACHED): Likewise.
20747         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20748         (__ASSUME_WAITID_SYSCALL): Likewise.
20749         * sysdeps/unix/sysv/linux/dl-execstack.c
20750         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20751         code unconditional.
20752         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20753         conditional code.
20754         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20755         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20756         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20757         code.
20758         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20759         unconditional.
20760         [__ASSUME_WAITID_SYSCALL]: Likewise.
20761         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20763 2012-08-07  Roland McGrath  <roland@hack.frob.com>
20765         * sysdeps/unix/closedir.c: Renamed to ...
20766         * sysdeps/posix/closedir.c: ... here.
20767         * sysdeps/unix/dirfd.c: Renamed to ...
20768         * sysdeps/posix/dirfd.c: ... here.
20769         * sysdeps/unix/dirstream.h: Renamed to ...
20770         * sysdeps/posix/dirstream.h: ... here.
20771         * sysdeps/unix/fdopendir.c: Renamed to ...
20772         * sysdeps/posix/fdopendir.c: ... here.
20773         * sysdeps/unix/opendir.c: Renamed to ...
20774         * sysdeps/posix/opendir.c: ... here.
20775         * sysdeps/unix/readdir.c: Renamed to ...
20776         * sysdeps/posix/readdir.c: ... here.
20777         * sysdeps/unix/readdir_r.c: Renamed to ...
20778         * sysdeps/posix/readdir_r.c: ... here.
20779         * sysdeps/unix/rewinddir.c: Renamed to ...
20780         * sysdeps/posix/rewinddir.c: ... here.
20781         * sysdeps/unix/seekdir.c: Renamed to ...
20782         * sysdeps/posix/seekdir.c: ... here.
20783         * sysdeps/unix/telldir.c: Renamed to ...
20784         * sysdeps/posix/telldir.c: ... here.
20785         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20786         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20787         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20788         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20790         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20791         * bits/fcntl.h: ... here.
20793         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20794         not 0.
20795         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20796         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20797         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20798         (struct flock): Move l_start, l_len to the beginning.
20799         Use __pid_t for l_pid.
20800         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20801         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20802         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20803         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20804         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20805         [__USE_LARGEFILE64] (struct flock64): New type.
20806         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20808         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20809         * bits/dirent.h: ... here.
20811         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20812         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20814 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
20816         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20817         Change from 2.6.0 to 2.6.16.
20818         * sysdeps/unix/sysv/linux/configure: Regenerated.
20819         * sysdeps/unix/sysv/linux/kernel-features.h
20820         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20821         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20822         version.
20823         (__ASSUME_UTIMES): Likewise.
20824         (__ASSUME_CLONE_STOPPED): Remove.
20825         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20826         architectures, not kernel version.
20827         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20828         (__ASSUME_NO_CLONE_DETACHED): Likewise.
20829         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20830         (__ASSUME_WAITID_SYSCALL): Likewise.
20831         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20832         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20833         * README: State 2.6.16 as minimum Linux kernel version.  Do not
20834         refer to older versions.
20836 2012-08-06  Roland McGrath  <roland@hack.frob.com>
20838         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20839         Define alphasort64 as an alias.
20840         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20841         Define versionsort64 as an alias.
20842         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20843         Define scandir64 as an alias.
20844         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20845         Define scandirat64 as an alias.
20846         * dirent/alphasort64.c (alphasort64):
20847         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20848         * dirent/versionsort64.c: Likewise.
20849         * dirent/scandir64.c: Likewise.
20850         * dirent/scandirat64.c: Likewise.
20851         * sysdeps/wordsize-64/alphasort.c: File removed.
20852         * sysdeps/wordsize-64/alphasort64.c: File removed.
20853         * sysdeps/wordsize-64/scandir.c: File removed.
20854         * sysdeps/wordsize-64/scandir64.c: File removed.
20855         * sysdeps/wordsize-64/scandirat.c: File removed.
20856         * sysdeps/wordsize-64/scandirat64.c: File removed.
20857         * sysdeps/wordsize-64/versionsort.c: File removed.
20858         * sysdeps/wordsize-64/versionsort64.c: File removed.
20859         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20860         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20861         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20862         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20863         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20864         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20865         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20866         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20868         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20869         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20870         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20871         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20872         [defined __arch64__ || defined __sparcv9]
20873         (__INO_T_MATCHES_INO64_T): New macro.
20874         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20875         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20876         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20877         * sysdeps/unix/sysv/linux/bits/dirent.h
20878         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20879         (_DIRENT_MATCHES_DIRENT64): New macro.
20881         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20882         Define lockf64 as an alias.
20883         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20884         Define fseeko64 as an alias.
20885         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20886         Define ftello64 as an alias.
20887         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20888         Define _IO_fgetpos64 and fgetpos64 as aliases.
20889         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20890         Define _IO_fsetpos64 and fsetpos64 as aliases.
20891         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20892         Conditionalize body on this.
20893         * libio/fseeko64.c: Likewise.
20894         * libio/ftello64.c: Likewise.
20895         * libio/iofgetpos64.c: Likewise.
20896         * libio/iofsetpos64.c: Likewise.
20897         * sysdeps/wordsize-64/lockf.c: File removed.
20898         * sysdeps/wordsize-64/lockf64.c: File removed.
20899         * sysdeps/wordsize-64/fseeko.c: File removed.
20900         * sysdeps/wordsize-64/fseeko64.c: File removed.
20901         * sysdeps/wordsize-64/ftello.c: File removed.
20902         * sysdeps/wordsize-64/ftello64.c: File removed.
20903         * sysdeps/wordsize-64/iofgetpos.c: File removed.
20904         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20905         * sysdeps/wordsize-64/iofsetpos.c: File removed.
20906         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20907         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20908         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20909         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20910         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20911         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20912         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20913         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20914         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20915         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20916         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20918         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20919         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20920         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20921         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20922         [defined __arch64__ || defined __sparcv9]
20923         (__OFF_T_MATCHES_OFF64_T): New macro.
20924         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20925         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20926         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20927         (__OFF_T_MATCHES_OFF64_T): New macro.
20929 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
20931         * stdlib/secure-getenv.c (__secure_getenv): Replace
20932         GLIBC_2_16 with GLIBC_2_17.
20934 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
20936         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20937         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20939 2012-08-03  David S. Miller  <davem@davemloft.net>
20941         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20943 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
20945         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20946         Remove.
20947         (__ASSUME_CORRECT_SI_PID): Likewise.
20948         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20949         (__ASSUME_TMPFS_NAME): Likewise.
20950         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20951         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20952         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20953         (HAVE_AUX_SECURE): Make definition unconditional.
20954         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20955         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20957 2012-08-03  Roland McGrath  <roland@hack.frob.com>
20959         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20960         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20961         * sysdeps/mach/hurd/eloop-threshold.h: New file.
20962         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20963         __eloop_threshold instead of SYMLOOP_MAX.
20965         * sysdeps/generic/eloop-threshold.h: New file.
20966         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20967         of MAXSYMLINKS.
20968         * elf/chroot_canon.c (chroot_canon): Likewise.
20970 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
20972         [BZ #13717]
20973         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20974         Change to 2.6.0 everywhere.
20975         * sysdeps/unix/sysv/linux/configure: Regenerated.
20976         * sysdeps/unix/sysv/linux/kernel-features.h
20977         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20978         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20979         kernel versions.
20980         (__ASSUME_POSIX_TIMERS): Define unconditionally.
20981         (__ASSUME_FUTEX_REQUEUE): Remove.
20982         (__ASSUME_STATFS64): Define unconditionally.
20983         (__ASSUME_AT_SECURE): Likewise.
20984         (__ASSUME_CORRECT_SI_PID): Likewise.
20985         (__ASSUME_TGKILL): Define without depending on kernel version for
20986         i386.
20987         (__ASSUME_UTIMES): Likewise.
20988         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20989         kernel version.
20990         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20991         (__ASSUME_TMPFS_NAME): Likewise.
20992         * README: Update reference to Linux kernel versions.
20994 2012-08-02  Marek Polacek  <polacek@redhat.com>
20996         [BZ# 14150]
20997         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
20998         libc_cv_asm_type_prefix with %.
20999         * configure: Regenerated.
21000         * include/libc-symbols.h: Remove comment about
21001         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
21002         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
21003         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
21004         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
21005         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
21006         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
21007         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
21008         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
21009         * elf/tst-unique2mod1.c: Likewise.
21010         * elf/tst-unique1mod2.c: Likewise.
21011         * elf/tst-unique1mod1.c: Likewise.
21012         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
21013         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
21014         Replace ASM_TYPE_DIRECTIVE with .type.
21015         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21016         * sysdeps/i386/sysdep.h: Likewise.
21017         * sysdeps/x86_64/sysdep.h: Likewise.
21018         * sysdeps/sh/sysdep.h: Likewise.
21019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21020         Do not define ASM_TYPE_DIRECTIVE.
21021         * sysdeps/powerpc/sysdep.h: Likewise.
21022         * sysdeps/powerpc/powerpc32/sysdep.h:
21023         Replace ASM_TYPE_DIRECTIVE with .type.
21024         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21025         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21026         * sysdeps/i386/fpu/e_powf.S: Likewise.
21027         * sysdeps/i386/fpu/e_expl.S: Likewise.
21028         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21029         * sysdeps/i386/fpu/e_acosh.S: Likewise.
21030         * sysdeps/i386/fpu/e_pow.S: Likewise.
21031         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
21032         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21033         * sysdeps/i386/fpu/s_expm1.S: Likewise.
21034         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
21035         * sysdeps/i386/fpu/e_log2.S: Likewise.
21036         * sysdeps/i386/fpu/e_log2l.S: Likewise.
21037         * sysdeps/i386/fpu/e_scalb.S: Likewise.
21038         * sysdeps/i386/fpu/e_powl.S: Likewise.
21039         * sysdeps/i386/fpu/e_log10f.S: Likewise.
21040         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
21041         * sysdeps/i386/fpu/e_logl.S: Likewise.
21042         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
21043         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
21044         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
21045         * sysdeps/i386/fpu/e_log2f.S: Likewise.
21046         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21047         * sysdeps/i386/fpu/e_log.S: Likewise.
21048         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21049         * sysdeps/i386/fpu/e_logf.S: Likewise.
21050         * sysdeps/i386/fpu/e_log10l.S: Likewise.
21051         * sysdeps/i386/fpu/e_atanh.S: Likewise.
21052         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
21053         * sysdeps/i386/fpu/e_log10.S: Likewise.
21054         * sysdeps/i386/fpu/s_frexp.S: Likewise.
21055         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21056         * sysdeps/i386/fpu/s_asinh.S: Likewise.
21057         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
21058         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21059         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
21060         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
21061         * sysdeps/i386/i686/strtok.S: Likewise.
21062         * sysdeps/i386/i386-mcount.S: Likewise.
21063         * sysdeps/i386/strtok.S: Likewise.
21064         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
21065         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21066         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21067         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21068         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
21069         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21070         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
21071         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
21072         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21073         * sysdeps/x86_64/_mcount.S: Likewise.
21074         * sysdeps/x86_64/strtok.S: Likewise.
21075         * sysdeps/sh/_mcount.S: Likewise.
21077 2012-08-01  Roland McGrath  <roland@hack.frob.com>
21079         * libio/iofopen.c: Include <fcntl.h>.
21080         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
21081         (_IO_fopen64, fopen64): Define as aliases.
21082         * libio/iofopen64.c: Include <fcntl.h>.
21083         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
21084         Conditionalize body on this.
21085         * sysdeps/wordsize-64/iofopen.c: File removed.
21086         * sysdeps/wordsize-64/iofopen64.c: File removed.
21088 2012-08-01  Marek Polacek  <polacek@redhat.com>
21090         * libc/Makeconfig: Use elf in place of binfmt-subdir.
21091         Use dlfcn directly instead of a variable.
21092         (binfmt-subdir): Do not define.
21093         (dlfcn): Likewise.
21095 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
21097         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
21098         Remove all definitions.
21099         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
21100         <kernel-features.h>.
21101         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21102         (miss_F_GETOWN_EX): Remove all definitions.
21103         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
21104         macro definition.
21105         [!__ASSUME_FCNTL64]: Remove conditional code.
21106         [__ASSUME_FCNTL64]: Make code unconditional.
21107         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
21108         <kernel-features.h>.
21109         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21110         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
21111         (lockf64) [__NR_fcntl64]: Make code unconditional.
21112         (lockf64) [__ASSUME_FCNTL64]: Likewise.
21114         * sysdeps/unix/sysv/linux/kernel-features.h
21115         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
21116         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
21117         Make code unconditional.
21118         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21119         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
21121         [__NR_vfork]: Make code unconditional.
21122         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21123         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
21125         [__NR_vfork]: Make code unconditional.
21126         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21127         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21129 2012-08-01  Roland McGrath  <roland@hack.frob.com>
21131         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
21132         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
21134         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21135         Define mkstemp64 as an alias.
21136         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21137         Define mkstemps64 as an alias.
21138         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21139         Define mkostemp64 as an alias.
21140         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21141         Define mkostemps64 as an alias.
21142         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
21143         Conditionalize body on this.
21144         * misc/mkostemp64.c: Likewise.
21145         * misc/mkostemps64.c: Likewise.
21146         * misc/mkstemps64.c: Likewise.
21147         * sysdeps/wordsize-64/mkstemp64.c: File removed.
21148         * sysdeps/wordsize-64/mkostemp64.c: File removed.
21149         * sysdeps/wordsize-64/mkostemp.c: File removed.
21150         * sysdeps/wordsize-64/mkstemp.c: File removed.
21151         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
21152         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
21153         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
21154         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
21156         [BZ #14138]
21157         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
21158         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
21159         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
21160         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
21162         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
21163         compat_symbol macros from <shlib-compat.h> rather than the underlying
21164         default_symbol_version and symbol_version macros, so that DEFAULT
21165         lines in shlib-versions are respected.
21166         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
21168 2012-08-01  Florian Weimer  <fweimer@redhat.com>
21170         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
21171         Declare with warn_unused_result.
21172         (setgid, setregid, setegid, setresgid): Likewise.
21173         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
21174         Likewise.
21175         * WUR-REPORT: Remove set*id functions.
21177 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
21179         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
21181 2012-07-31  Roland McGrath  <roland@hack.frob.com>
21183         [BZ #10191]
21184         * include/sys/socket.h (__libc_accept, __libc_accept4):
21185         Add attribute_hidden.
21186         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
21188         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
21189         use of PTR_MANGLE.
21190         * inet/getnetgrent_r.c (setup): Likewise.
21192         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
21194 2012-07-31  David S. Miller  <davem@davemloft.net>
21196         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21198 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
21200         [BZ #13629]
21201         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
21202         value between 1.0 and 2.0 and smaller part has absolute value less
21203         than 1.0.
21204         * math/s_clog10.c (__clog10): Likewise.
21205         * math/s_clog10f.c (__clog10f): Likewise.
21206         * math/s_clog10l.c (__clog10l): Likewise.
21207         * math/s_clogf.c (__clogf): Likewise.
21208         * math/s_clogl.c (__clogl): Likewise.
21209         * math/libm-test.inc (clog_test): Add more tests.
21210         (clog10_test): Likewise.
21211         * sysdeps/i386/fpu/libm-test-ulps: Update.
21212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21214 2012-07-31  Florian Weimer  <fweimer@redhat.com>
21216         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
21217         Exit with zero in case no suitable GID is found, and write a
21218         message to standard error.
21220 2012-07-30  Roland McGrath  <roland@hack.frob.com>
21222         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
21223         rather than to 1.
21224         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
21225         (MAXPATHLEN): Removed.
21226         (NOGROUP, NODEV): New macros.
21227         (setbit, clrbit, isset, isclr): New macros.
21228         (howmany, roundup, powerof2): New macros.
21229         (DEV_BSIZE): New macro.
21231         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
21232         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
21234         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
21235         definition on [!__NO_LONG_DOUBLE_MATH].
21237         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
21238         PTR_MANGLE and PTR_DEMANGLE.
21240         * socket/accept4.c (accept4): Rename to __libc_accept4.
21241         Define accept4 as a weak alias.
21243         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
21244         on [_DIRENT_HAVE_D_TYPE].
21245         * io/ftw.c (ftw_dir): Likewise.
21247         * io/xmknod.c (__xmknod): Don't check PATH for being null.
21249         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
21251         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
21252         Use the BSD numbers rather than the arbitrary ones we had.
21253         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
21254         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
21255         (SIGXCPU, SIGXFSZ): New macros.
21256         (_NSIG): Now 32.
21258         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
21259         initializer on [_LIBC_REENTRANT].
21261         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
21262         definitions inside [_POSIX_MAPPED_FILES].
21264         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
21266         * dirent/opendir.c: Include <fcntl.h>.
21268         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
21269         (__libc_getspecific): Likewise.
21270         (__libc_key_create): Likewise.
21272         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
21273         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
21274         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
21275         (tmpfile64): Define as alias.
21276         * sysdeps/wordsize-64/tmpfile.c: File removed.
21277         * sysdeps/wordsize-64/tmpfile64.c: File removed.
21278         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
21279         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
21281         * stdio-common/vfscanf.c: Include <stdbool.h>.
21282         * nss/makedb.c: Likewise.
21283         * stdio-common/_i18n_number.h: Likewise.
21284         * argp/argp-help.c: Likewise.
21285         * posix/wordexp.c: Likewise.
21286         * sysdeps/posix/spawni.c: Likewise.
21287         * nss/nss_files/files-initgroups.c: Likewise.
21288         * stdio-common/reg-modifier.c: Include <stdlib.h>.
21289         * nss/nss_files/files-initgroups.c: Likewise.
21290         * nss/nss_db/db-netgrp.c: Likewise.
21291         * nss/nss_db/db-initgroups.c: Likewise.
21292         * io/fchmodat.c: Include <sys/stat.h>.
21294         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
21295         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
21297         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
21298         [HAVE_MMAP].
21300         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
21301         Add multiple inclusion protection.
21303 2012-07-27  David S. Miller  <davem@davemloft.net>
21305         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21307 2012-07-27  Gary Benson  <gbenson@redhat.com>
21309         [BZ #14298]
21310         * elf/rtld.c: Include <stap-probe.h>.
21311         (dl_main): Added static probes "init_start" and "init_complete".
21312         * elf/dl-load.c: Include <stap-probe.h>.
21313         (lose): Take new parameter "nsid".
21314         Added static probe "map_failed".
21315         (_dl_map_object_from_fd): Pass namespace id to lose.
21316         Added static probe "map_start".
21317         (open_verify): Pass namespace id to lose.
21318         * elf/dl-open.c: Include <stap-probe.h>.
21319         (dl_open_worker) Added static probes "map_complete", "reloc_start"
21320         and "reloc_complete".
21321         * elf/dl-close.c: Include <stap-probe.h>.
21322         (_dl_close_worker): Added static probes "unmap_start" and
21323         "unmap_complete".
21324         * elf/rtld-debugger-interface.txt: New file documenting the above.
21326 2012-07-26  Roland McGrath  <roland@hack.frob.com>
21328         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
21329         rather than a string variable.
21330         * sunrpc/rpc_main.c (h_output): Likewise.
21331         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
21333 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
21335         * inet/check_native.c: New file.
21337 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
21339         [BZ #13629]
21340         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
21341         if larger part has absolute value 1.0.
21342         * math/s_clog10.c (__clog10): Likewise.
21343         * math/s_clog10f.c (__clog10f): Likewise.
21344         * math/s_clog10l.c (__clog10l): Likewise.
21345         * math/s_clogf.c (__clogf): Likewise.
21346         * math/s_clogl.c (__clogl): Likewise.
21347         * math/libm-test.inc (clog_test): Add more tests.
21348         (clog10_test): Likewise.
21349         * sysdeps/i386/fpu/libm-test-ulps: Update.
21350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21352         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
21353         (pltexit): Likewise.
21354         (La_regs): Likewise.
21355         (La_retval): Likewise.
21356         (int_retval): Likewise.
21357         Update #error for removed macros to refer only to definitions in
21358         tst-audit.h.
21359         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
21360         macro.
21361         (pltexit): Likewise.
21362         (La_regs): Likewise.
21363         (La_retval): Likewise.
21364         (int_retval): Likewise.
21365         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
21366         macro.
21367         (pltexit): Likewise.
21368         (La_regs): Likewise.
21369         (La_retval): Likewise.
21370         (int_retval): Likewise.
21371         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
21372         macro.
21373         (pltexit): Likewise.
21374         (La_regs): Likewise.
21375         (La_retval): Likewise.
21376         (int_retval): Likewise.
21377         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
21378         macro.
21379         (pltexit): Likewise.
21380         (La_regs): Likewise.
21381         (La_retval): Likewise.
21382         (int_retval): Likewise.
21383         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
21384         macro.
21385         (pltexit): Likewise.
21386         (La_regs): Likewise.
21387         (La_retval): Likewise.
21388         (int_retval): Likewise.
21389         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
21390         macro.
21391         (pltexit): Likewise.
21392         (La_regs): Likewise.
21393         (La_retval): Likewise.
21394         (int_retval): Likewise.
21395         * sysdeps/generic/tst-audit.h: Update comment to refer only to
21396         macro definitions in tst-audit.h.
21397         * sysdeps/i386/tst-audit.h: New file.
21398         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
21399         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
21400         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
21401         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
21402         * sysdeps/sh/tst-audit.h: Likewise.
21403         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
21404         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
21405         * sysdeps/x86_64/tst-audit.h: Likewise.
21407 2012-07-26  Andreas Jaeger  <aj@suse.de>
21409         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
21410         ptrace.
21412         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
21413         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
21414         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
21415         PTRACE_O_MASK.
21416         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
21417         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
21418         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
21420         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
21421         value.
21423         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
21424         _sigsys.
21425         (si_call_addr, si_syscall, si_arch): Define new macro.
21426         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
21427         _sigsys.
21428         (si_call_addr, si_syscall, si_arch): Define new marcro.
21429         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
21430         _sigsys.
21431         (si_call_addr, si_syscall, si_arch): Define new macro.
21432         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
21433         _sigsys.
21434         (si_call_addr, si_syscall, si_arch): Define new macro.
21436 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
21438         [BZ #13717]
21439         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21440         Change to 2.4.21 where previously 2.4.1.
21441         * sysdeps/unix/sysv/linux/configure: Regenerated.
21442         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
21443         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
21444         Linux kernel version.
21445         (__ASSUME_STD_AUXV): Remove.
21446         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
21447         kernel version.
21448         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
21449         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
21450         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
21451         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
21452         (__ASSUME_NETLINK_SUPPORT): Likewise.
21453         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
21454         (__no_netlink_support): Remove conditional definition.
21455         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
21456         Remove.
21457         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21458         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
21459         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
21460         (if_nameindex_ioctl): Remove.
21461         (if_nameindex_netlink): Do not handle __no_netlink_support.
21462         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21463         code.
21464         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
21465         Remove conditional code.
21466         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21467         code.
21468         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
21469         unconditional.
21470         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21471         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
21472         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
21473         Remove.
21474         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
21475         [!__ASSUME_STD_AUXV]: Remove conditional code.
21476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
21477         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
21478         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
21479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
21480         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
21481         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21482         code.
21483         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21485         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
21486         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21487         conditional code.
21488         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21490         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21491         code.
21492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21493         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21494         conditional code.
21495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
21496         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21497         code unconditional.
21498         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21499         conditional code.
21500         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21501         unconditional.
21502         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21503         conditional code.
21504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21505         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21506         unconditional.
21507         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21508         conditional code.
21509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21510         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21511         code unconditional.
21512         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21513         conditional code.
21514         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21515         unconditional.
21516         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21517         conditional code.
21518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21519         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21520         code unconditional.
21521         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21522         conditional code.
21523         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21524         unconditional.
21525         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21526         conditional code.
21528 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
21530         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
21531         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
21532         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21533         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
21534         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
21535         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
21536         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21537         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
21538         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
21539         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21540         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
21541         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
21542         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
21543         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
21544         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
21545         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
21546         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
21547         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
21548         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
21549         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
21550         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
21551         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
21552         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21554 2012-07-25  Florian Weimer  <fweimer@redhat.com>
21556         * Versions.def: Add GLIBC_2.17.
21557         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
21558         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
21559         Introduce __libc_secure_getenv.
21560         * stdlib/Versions (2.17): Add secure_getenv
21561         (GLIBC_PRIVATE): Add __libc_secure_getenv.
21562         * stdlib/secure-getenv.c: Rename __secure_getenv to
21563         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
21564         symbol __secure_getenv for GLIBC_2.0.
21565         * stdlib/tst-secure-getenv.c: New.
21566         * stdlib/Makefile (tests): Add testcase.
21567         * manual/startup.texi (Environment Access): Document
21568         secure_getenv.
21569         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
21570         __libc_secure_getenv.
21571         * inet/ruserpass.c (ruserpass): Likewise.
21572         * malloc/mtrace.c (mtrace): Likewise.
21573         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
21574         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
21575         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
21576         * sysdeps/posix/tempname.c: Likewise.  Evaluate
21577         HAVE_SECURE_GETENV.
21578         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
21579         __secure_getenv to __libc_secure_getenv.
21580         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
21581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21582         Likewise.
21583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21584         Likewise.
21585         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21586         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21587         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21588         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21589         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21590         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21591         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21593 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
21595         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
21596         (struct La_i86_retval): Likewise.
21597         (struct La_x86_64_regs): Likewise.
21598         (struct La_x86_64_retval): Likewise.
21599         (struct La_x32_regs): Likewise.
21600         (struct La_x32_retval): Likewise.
21601         (struct La_ppc32_regs): Likewise.
21602         (struct La_ppc32_retval): Likewise.
21603         (struct La_ppc64_regs): Likewise.
21604         (struct La_ppc64_retval): Likewise.
21605         (struct La_sh_regs): Likewise.
21606         (struct La_sh_retval): Likewise.
21607         (struct La_s390_32_regs): Likewise.
21608         (struct La_s390_32_retval): Likewise.
21609         (struct La_s390_64_regs): Likewise.
21610         (struct La_s390_64_retval): Likewise.
21611         (struct La_sparc32_regs): Likewise.
21612         (struct La_sparc32_retval): Likewise.
21613         (struct La_sparc64_regs): Likewise.
21614         (struct La_sparc64_retval): Likewise.
21615         (struct audit_ifaces): Remove architecture-specific pltenter and
21616         pltexit members.
21617         * sysdeps/i386/ldsodefs.h: New file.
21618         * sysdeps/powerpc/ldsodefs.h: Likewise.
21619         * sysdeps/s390/ldsodefs.h: Likewise.
21620         * sysdeps/sh/ldsodefs.h: Likewise.
21621         * sysdeps/sparc/ldsodefs.h: Likewise.
21622         * sysdeps/x86_64/ldsodefs.h: Likewise.
21624 2012-07-25  Marek Polacek  <polacek@redhat.com>
21626         [BZ #6808]
21627         * math/libm-test.inc (yn_test): Add another test.
21628         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
21629         to ERANGE when the result is +-Inf.
21630         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21631         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
21632         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
21633         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
21635 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
21637         * conform/data/time.h-data (NULL): Use macro-constant.  Require
21638         equal to 0.
21639         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
21640         clock_t.
21641         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
21643 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
21645         * configure.in <sysdeps resolving>: Correct printing
21646         Implies_before.
21647         * configure: Regenerate.
21649 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
21651         * math/w_ilogb.c: Include <limits.h>.
21652         * math/w_ilogbl.c: Likewise.
21654 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
21656         * manual/lang.texi (__va_copy): Document primarily as ISO C99
21657         va_copy.  Document allowing for unavailable va_copy only as
21658         pre-C99 compatibility.
21659         * manual/string.texi (Copying and Concatenation): Use va_copy
21660         instead of __va_copy in concat example.
21662 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
21664         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
21665         (__sendto): Use create_address_port.  Initialize APORT and deallocate
21666         it if not null.
21668         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
21669         with O_NOLINK passed to __file_name_lookup.
21671         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
21672         with O_NOLINK passed to __file_name_lookup.
21674         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
21675         negative N or less than NGIDS.
21677         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
21678         type to string_t.  Set ERANGE as errno and return it if NAME is not big
21679         enough.  Use memcpy instead of strncpy.
21681 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
21683         * elf/Makefile (check-data): Remove.
21684         (localplt.data): New vpath directive.
21685         ($(objpfx)check-localplt.out): Use localplt.data from vpath
21686         instead of $(check-data).
21687         * scripts/data/localplt-generic.data: Move to ...
21688         * sysdeps/generic/localplt.data: ... here.
21689         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
21690         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
21691         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
21692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21693         ... here.
21694         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
21695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21696         ... here.
21697         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
21698         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
21699         ... here.
21700         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
21701         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21702         ... here.
21703         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
21704         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
21705         ... here.
21706         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
21707         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
21708         ... here.
21710 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21712         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
21713         PPC32 and PPC64 files.
21714         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
21715         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
21717 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21719         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
21720         __makecontext_ret to ...
21721         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21722         ... here and call exit if uc_link is NULL.  New file.
21723         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
21724         __makecontext_ret.S.
21725         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
21726         __makecontext_ret to ...
21727         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21728         ... here and call exit if uc_link is NULL.  New file.
21729         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
21730         __makecontext_ret.S.
21732 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21734         * elf/elf.h (R_390_IRELATIVE): New definition.
21735         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
21736         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
21737         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
21738         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21739         (elf_machine_lazy_rel): Likewise.
21740         * sysdeps/s390/dl-irel.h: New file.
21741         * sysdeps/s390/s390-64/memcpy.S: New asm code.
21742         * sysdeps/s390/s390-64/memset.S: New asm code.
21743         * sysdeps/s390/s390-64/memcmp.S: New asm code.
21744         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21745         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21746         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21747         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21748         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21749         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21750         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21751         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21752         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21753         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21754         * sysdeps/s390/s390-32/memcpy.S: New asm code.
21755         * sysdeps/s390/s390-32/memset.S: New asm code.
21756         * sysdeps/s390/s390-32/memcmp.S: New asm code.
21758 2012-07-17  Marek Polacek  <polacek@redhat.com>
21760         [BZ #14349]
21761         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21762         * sysdeps/s390/s390-64/configure.in: Likewise.
21763         * sysdeps/sparc/configure.in: Likewise.
21764         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21765         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21766         * sysdeps/i386/configure.in: Likewise.
21767         * sysdeps/x86_64/configure.in: Likewise.
21768         * sysdeps/sh/configure.in: Likewise.
21769         * sysdeps/s390/s390-32/configure: Regenerated.
21770         * sysdeps/s390/s390-64/configure: Likewise.
21771         * sysdeps/x86_64/configure: Likewise.
21772         * sysdeps/sh/configure: Likewise.
21773         * sysdeps/powerpc/powerpc64/configure: Likewise.
21774         * sysdeps/powerpc/powerpc32/configure: Likewise.
21775         * sysdeps/sparc/configure: Likwise.
21776         * sysdeps/i386/configure: Likewise.
21778         * elf/dl-open.c: Comment fixes.
21780 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
21782         * Makefile [CXX] (check-data): Remove.
21783         [CXX] (c++-types.data): New vpath directive.
21784         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21785         vpath.  Do not allow for C++ type data being missing.
21786         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21787         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21788         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21789         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21790         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21791         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21792         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21794         ... here.
21795         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21797         ... here.
21798         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21799         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21800         ... here.
21801         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21802         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21803         ... here.
21804         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21805         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21806         ... here.
21807         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21808         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21809         ... here.
21810         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21811         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21812         ... here.
21813         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21814         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21816         * elf/tls-macros.h (TLS_LE): Move architecture-specific
21817         definitions to architecture-specific files.
21818         (TLS_IE): Likewise.
21819         (TLS_LD): Likewise.
21820         (TLS_GD): Likewise.
21821         * sysdeps/i386/tls-macros.h: New file.
21822         * sysdeps/powerpc/tls-macros.h: Likewise.
21823         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21824         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21825         * sysdeps/sh/tls-macros.h: Likewise.
21826         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21827         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21828         * sysdeps/x86_64/tls-macros.h: Likewise.
21830 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
21832         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21833         zero value for regular exit case.
21835         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21836         (__start_context): Preserve zero value for regular exit case.
21838 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
21839             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21841         * manual/setjmp.texi (setcontext): Clarify normal process
21842         termination when uc_link is the null pointer.
21843         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21844         exit call.
21846 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
21848         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21849         preprocessor.  Test for each exception mask separately.
21851 2012-07-16  Andreas Jaeger  <aj@suse.de>
21853         * po/ru.po: Update from translation team.
21855 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
21857         * conform/data/string.h-data (NULL): Use macro-constant.  Require
21858         equal to 0.
21859         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21860         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21861         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21862         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21863         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21865 2012-07-13  Andreas Jaeger  <aj@suse.de>
21867         * po/fr.po: Update from translation team.
21869 2012-07-12  Marek Polacek  <polacek@redhat.com>
21871         [BZ #14173]
21872         * math/libm-test.inc (yn_test): Add test for BZ #14173.
21873         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21874         loop condition.
21876 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
21878         [BZ #13717]
21879         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21880         Change to 2.4.1 where previously 2.4.0.
21881         * sysdeps/unix/sysv/linux/configure: Regenerated.
21882         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21883         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21884         version.
21885         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21886         (__ASSUME_AT_CLKTCK): Remove.
21887         (__ASSUME_AT_PAGESIZE): Likewise.
21888         (__ASSUME_AT_XID): Likewise.
21889         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21890         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21891         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21892         unconditionally.
21893         (HAVE_AUX_PAGESIZE): Likewise.
21894         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21895         [__ASSUME_AT_CLKTCK]: Make code unconditional.
21896         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21898 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
21900         [BZ #14307]
21901         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21902         the temporary buffer used to invoke __gethostbyname2_r,
21903         __gethostbyaddr_r and gethostbyname4_r to make room for struct
21904         host_data / struct gaih_addrtuple.
21905         * resolv/nss_dns/dns-host.c (global scope): Move definition of
21906         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21907         header file nss/nsswitch.h.
21908         * nss/nsswitch.h (global scope): Add definition of implementation
21909         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21910         resolv/nss_dns/dns-host.c).
21912 2012-07-11  Andreas Jaeger  <aj@suse.de>
21914         * po/fr.po: Update from translation team.
21916         * po/sv.po: Update from translation team
21917         * po/fr.po: Another update from translation team.
21919 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21921         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21922         for subnormals or multiply small sinh result by itself.
21923         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21924         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21926 2012-07-11  David S. Miller  <davem@davemloft.net>
21928         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21930 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
21932         [BZ #14347]
21933         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21934         (INTERNAL_MARK): Shift it here.
21936 2012-07-10  Marek Polacek  <polacek@redhat.com>
21938         [BZ #14151]
21939         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
21940         libc_cv_asm_global_directive with .globl.
21941         * configure: Regenerated.
21942         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21943         with .globl.
21944         * sysdeps/i386/configure: Regenerated.
21945         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21946         with .globl.
21947         * sysdeps/x86_64/configure: Regenerated.
21948         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21949         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21950         * elf/tst-unique2mod2.c: Likewise.
21951         * elf/tst-unique2mod1.c: Likewise.
21952         * elf/tst-unique1mod2.c: Likewise.
21953         * elf/tst-unique1mod1.c: Likewise.
21954         * sysdeps/s390/s390-32/sysdep.h: Likewise.
21955         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21956         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21957         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21958         * sysdeps/mach/sysdep.h: Likewise.
21959         * sysdeps/i386/sysdep.h: Likewise.
21960         * sysdeps/i386/i386-mcount.S: Likewise.
21961         * sysdeps/x86_64/_mcount.S: Likewise.
21962         * sysdeps/x86_64/sysdep.h: Likewise.
21963         * sysdeps/sh/_mcount.S: Likewise.
21964         * sysdeps/sh/sysdep.h: Likewise.
21965         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21966         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21967         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21968         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21969         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21970         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21971         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21972         * locale/localeinfo.h: Likewise.
21973         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21974         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21976 2012-07-09  Roland McGrath  <roland@hack.frob.com>
21978         [BZ #14336]
21979         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21980         system".
21981         * manual/message.texi (The Uniforum approach): Likewise.
21982         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21983         (glibc iconv Implementation): Likewise.
21985 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
21987         [BZ #14337]
21988         * math/s_clog.c (__clog): Avoid scaling a value down where that
21989         could result in underflow.
21990         * math/s_clog10.c (__clog10): Likewise.
21991         * math/s_clog10f.c (__clog10f): Likewise.
21992         * math/s_clog10l.c (__clog10l): Likewise.
21993         * math/s_clogf.c (__clogf): Likewise.
21994         * math/s_clogl.c (__clogl): Likewise.
21995         * math/libm-test.inc (clog_test): Add more tests.
21996         (clog10_test): Likewise.
21997         * sysdeps/i386/fpu/libm-test-ulps: Update.
21998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22000 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
22002         [BZ #14283]
22003         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
22004         by 7 not 8 to examine high bit of fractional part.
22006         [BZ #14042]
22007         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
22008         for call to __mcount_internal.
22009         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
22010         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
22011         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
22013 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
22015         [BZ #14154]
22016         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
22017         approximation for values within 0x1p-13f of an odd multiple of
22018         pi/4.
22019         * math/libm-test.inc (tan_test): Do not allow spurious underflow
22020         exception.  Add more tests.
22021         * sysdeps/i386/fpu/libm-test-ulps: Update.
22023         [BZ #6778]
22024         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
22025         inputs and return -1 for them.  Do not check for +Inf in case not
22026         reachable for +Inf.
22027         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
22028         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
22029         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
22030         and return -1 for them.  Do not check for +Inf in case not
22031         reachable for +Inf.
22032         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
22033         define.
22034         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
22035         and return -1 for them.  Do not check for +Inf in case not
22036         reachable for +Inf.
22037         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
22038         spurious underflow.
22039         * sysdeps/i386/fpu/libm-test-ulps: Update.
22040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22042 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
22044         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
22046 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
22048         [BZ #14157]
22049         [BZ #14331]
22050         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
22051         could result in spurious underflow.  Scale down values above
22052         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
22053         * math/s_csqrtf.c (__csqrtf): Likewise.
22054         * math/s_csqrtl.c (__csqrtl): Likewise.
22055         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
22056         spurious underflow.
22057         * sysdeps/i386/fpu/libm-test-ulps: Update.
22058         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22060 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
22062         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
22063         xopen-msg.sed.
22064         * catgets/xopen-msg.awk: New file.
22065         * catgets/xopen-msg.sed: Removed.
22067         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
22068         po2text.sed.
22069         * intl/po2test.awk: New file.
22070         * intl/po2test.sed: Removed.
22072 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
22074         [BZ #14328]
22075         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
22076         or multiply small sinh result by itself.
22077         * math/s_ctanf.c (__ctanf): Likewise.
22078         * math/s_ctanh.c (__ctanh): Likewise.
22079         * math/s_ctanhf.c (__ctanhf): Likewise.
22080         * math/s_ctanhl.c (__ctanhl): Likewise.
22081         * math/s_ctanl.c (__ctanl): Likewise.
22082         * math/libm-test.inc (ctan_test_tonearest): New function.
22083         (ctan_test_towardzero): Likewise.
22084         (ctan_test_downward): Likewise.
22085         (ctan_test_upward): Likewise.
22086         (ctanh_test_tonearest): Likewise.
22087         (ctanh_test_towardzero): Likewise.
22088         (ctanh_test_downward): Likewise.
22089         (ctanh_test_upward): Likewise.
22090         (main): Call these new functions.
22091         * sysdeps/i386/fpu/libm-test-ulps: Update.
22092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22094 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
22096         * .gitignore: Delete /ports entry.
22098 2012-07-03  Andreas Jaeger  <aj@suse.de>
22100         * po/bg.po: Update from translation team.
22101         * po/cs.po: Likewise.
22102         * po/de.po: Likewise.
22103         * po/hr.po: Likewise.
22104         * po/nl.pl: Likewise.
22105         * po/pl.po: Likewise.
22106         * po/vi.po: Likewise.
22108 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
22110         * Makeconfig [!+link] (+link-before-libc): New variable.
22111         [!+link] (+link-after-libc): Likewise.
22112         [!+link] (+link-tests): Likewise.
22113         [!+link] (+link): Define in terms of $(+link-before-libc) and
22114         $(+link-after-libc).
22115         [!+link-static] (+link-static-before-libc): New variable.
22116         [!+link-static] (+link-static-after-libc): Likewise.
22117         [!+link-static] (+link-static-tests): Likewise.
22118         [!+link-static] (+link-static): Define in terms of
22119         $(+link-static-before-libc) and $(+link-static-after-libc).
22120         [build-shared] (link-libc-before-gnulib): New variable.
22121         [build-shared] (link-libc-tests): Likewise.
22122         [build-shared] (link-libc): Define in terms of
22123         $(link-libc-before-gnulib).
22124         [!build-shared] (link-libc-tests): New variable.
22125         (link-libc-static-tests): New variable.
22126         [!gnulib] (gnulib-arch): New variable.
22127         [!gnulib] (gnulib-tests): Likewise.
22128         [!gnulib] (static-gnulib-arch): Likewise.
22129         [!gnulib] (static-gnulib-tests): Likewise.
22130         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
22131         Define with "=" instead of ":=".
22132         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
22133         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
22134         * Rules (binaries-all-notests): New variable.
22135         (binaries-all-tests): Likewise.
22136         (binaries-static-notests): Likewise.
22137         (binaries-static-tests): Likewise.
22138         (binaries-all): Define using $(binaries-all-notests) and
22139         $(binaries-all-tests).
22140         (binaries-static): Define using $(binaries-static-notests) and
22141         $(binaries-static-tests).
22142         (binaries-shared-tests): New variable.
22143         (binaries-shared-notests): Likewise.
22144         (binaries-shared): Remove variable.
22145         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
22146         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
22147         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
22148         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
22149         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
22150         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
22151         * elf/Makefile (sln-modules): New variable.
22152         (extra-objs): Add $(sln-modules:=.o).
22153         (ldconfig-modules): Add static-stubs.
22154         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
22155         * elf/static-stubs.c: New file.
22157         [BZ #14283]
22158         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
22159         by 7 not 8 to examine high bit of fractional part.  Use volatile
22160         variables when splitting into final array of floats if
22161         __FLT_EVAL_METHOD__ != 0.
22162         * math/libm-test.inc (cos_test): Add another test.
22163         (sin_test): Likewise.
22164         * sysdeps/i386/fpu/libm-test-ulps: Update.
22166         [BZ #14273]
22167         * math/libm-test.inc (cosh_test): Add more tests.
22169         * version.h (RELEASE): Set to "development".
22170         (VERSION): Set to "2.16.90".
22172 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
22174         * NEWS: Update copyright. Remove last-updated date.
22175         Mention math library bug fixes and timezone data changes.
22176         * README: Mention GNU/Hurd, x32, and HPPA support status.
22178 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
22180         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
22182 2012-06-27  Andreas Jaeger  <aj@suse.de>
22184         * manual/contrib.texi (Contributors): Add Samuel Thibault.
22186 2012-06-25  Andreas Jaeger  <aj@suse.de>
22188         * sysdeps/s390/fpu/libm-test-ulps: Update.
22190 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
22191             Thomas Schwinge  <thomas@codesourcery.com>
22193         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
22194         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
22195         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
22196         fanotify_mark.
22198 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
22200         * sysdeps/mach/start.c: Remove file.
22201         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
22202         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
22203         * sysdeps/sh/init-first.c: Likewise.
22205         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
22206         registers for frame unwinding purposes, add CFI directives.
22207         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22208         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
22209         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
22210         Likewise.
22212         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
22213         __fortify_fail returning.
22214         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22216         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
22217         sysdeps/sh/____longjmp_chk.S.
22218         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
22219         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
22220         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
22221         (gen-as-const-headers): Append sigaltstack-offsets.sym.
22223         * sysdeps/sh/abort-instr.h: New file.
22224         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
22225         process in case exit returns.
22227         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
22228         initialize the GOT register before use.
22230         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
22231         calculation of ARGC > 4.
22233         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
22234         meaningful names to some local labels.
22236 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
22237             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22239         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
22240         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
22241         (__arch_compare_and_exchange_val_16_acq): Likewise.
22242         (__arch_compare_and_exchange_val_32_acq): Likewise.
22243         (atomic_exchange_and_add): Fix gUSA sequence.
22244         (atomic_add): Likewise.
22245         (atomic_add_negative): Likewise.
22246         (atomic_add_zero): Likewise.
22247         (atomic_bit_test_set): Likewise.
22249 2012-06-22  Andreas Schwab  <schwab@redhat.com>
22251         [BZ #13579]
22252         * include/link.h (struct link_map): Add l_free_initfini.
22253         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
22254         l_initfini.
22255         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
22256         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
22257         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
22258         set.
22260 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
22262         * configure.in: Use AC_LANG_SOURCE.
22263         * configure: Regenerate.
22265 2012-06-22  Roland McGrath  <roland@hack.frob.com>
22267         * configure.in (libc_cv_localstatedir): New substituted variable.
22268         * configure: Regenerated.
22269         * config.make.in (localstatedir): New variable, substituted from
22270         libc_cv_localstatedir.
22271         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
22272         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
22273         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
22274         * sysdeps/gnu/configure: Regenerated.
22276 2012-06-21  Jeff Law  <law@redhat.com>
22278         [BZ #14277]
22279         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
22280         free.  Simplify list management for _LIBC case.
22282 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
22284         [BZ #14273]
22285         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22286         Clear sign bit of 64-bit integer value before comparing against
22287         overflow value.
22289         * sysdeps/mach/configure: Regenerated.
22291 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
22293         [BZ #14278]
22294         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
22296 2012-06-21  Jeff Law  <law@redhat.com>
22298         [BZ #13882]
22299         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
22300         uint16_t for elements in the "seen" array to avoid char overflows.
22301         * elf/dl-fini.c (_dl_sort_fini): Likewise.
22302         * elf/dl-open.c (dl_open_worker): Likewise.
22304 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
22306         * scripts/list-sources.sh: Scan PORTS for translations.
22307         * po/libc.pot: Regenerated.
22309 2012-06-21  Andreas Jaeger  <aj@suse.de>
22311         [BZ #12194]
22312         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
22313         warning.
22314         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
22315         * bits/byteswap-16.h (__bswap_16): Likewise.
22316         * bits/byteswap.h (__bswap_constant_16): Likewise.
22318 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
22320         [BZ #14117]
22321         * sysdeps/i386/fpu_control.h: Removed.
22322         * sysdeps/x86_64/fpu_control.h: Moved to ...
22323         * sysdeps/x86/fpu_control.h: Here.
22325         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
22326         (_FPU_SETCW): Likewise.
22328 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
22330         [BZ #14117]
22331         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
22332         * sysdeps/x86/fpu/bits/mathinline.h: This.
22333         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
22335         [BZ #14050]
22336         [BZ #14117]
22337         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
22338         functions if __x86_64__ is defined.
22340 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
22342         * string/endian.h: Add !__ASSEMBLER__ condition for including
22343         conversion interfaces.
22345 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
22347         [BZ #14241]
22348         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
22349         of ABS(x) in calculating zero to negative powers other than odd
22350         integers.
22351         * math/libm-test.inc (pow_test): Add more tests.
22353 2012-06-15  Andreas Jaeger  <aj@suse.de>
22355         * manual/contrib.texi (Contributors): Update entry of Liubov
22356         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
22357         Machado Filho.
22359 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
22361         * string/string.h: Add __wur to GNU version of strerror_r.
22363 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
22365         [BZ #14229]
22366         * string/Makefile (tests): Add tst-strtok_r.
22367         * string/tst-strtok_r.c: New file.
22368         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
22369         RAX_LP/RDX_LP on SAVE_PTR.
22371 2012-06-14  Roland McGrath  <roland@hack.frob.com>
22373         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
22375 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
22377         * libm_test.inc (csqrt_test): Allow more spurious underflow
22378         exceptions.
22379         (j0_test): Likewise.
22380         (j1_test): Likewise.
22381         (y0_test): Likewise.
22382         (y1_test): Likewise.
22384 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
22386         * po/Makefile (libc.pot): Use UTF-8 charset.
22388 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
22390         [BZ #14210]
22391         Suppress sign-conversion warning from FD_SET.
22392         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
22393         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
22394         not unsigned long int.
22395         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
22397 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
22399         [BZ #14050]
22400         [BZ #14117]
22401         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
22402         __extern_always_inline instead of __extern_inline.
22403         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
22404         (__signbit): Likewise.
22405         (__signbitl): Support C++ namespace.
22406         (lrintf): New inline function.
22407         (lrint): Likewise.
22408         (llrintf): Likewise.
22409         (llrint): Likewise.
22410         (fmaxf): Likewise.
22411         (fmax): Likewise.
22412         (fminf): Likewise.
22413         (fmin): Likewise.
22414         (rint): Likewise.
22415         (rintf): Likewise.
22416         (ceil): Likewise.
22417         (ceilf): Likewise.
22418         (floor): Likewise.
22419         (floorf): Likewise.
22420         (nearbyint): Likewise.
22421         (nearbyintf): Likewise.
22423 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
22425         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
22426         non-default versions.
22428 2012-06-11  Roland McGrath  <roland@hack.frob.com>
22430         [BZ #14218]
22431         * manual/argp.texi (Argp): Reword argp_parse description slightly.
22433 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
22435         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
22436         (FE_UPWARD, FE_DOWNWARD): Don't define.
22437         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
22438         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22440         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
22441         reading it.
22442         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22443         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22445 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22447         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22448         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
22449         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
22450         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
22452 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
22454         [BZ #14117]
22455         * sysdeps/i386/fpu/bits/fenv.h: Removed.
22456         * sysdeps/i386/fpu/Implies: New file.
22457         * sysdeps/x86_64/fpu/Implies: Likewise.
22458         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
22459         * sysdeps/x86/fpu/bits/fenv.h: This.
22461         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
22462         __SSE_MATH__.
22464 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
22466         [BZ #14134]
22467         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
22468         character 0xffff that matches the last element of the
22469         conversion table.
22471 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22473         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
22474         fmodl commit.
22476 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22478         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
22479         values higher than 25.6283.
22481 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22483         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
22484         subnormal exponent extraction and add some __builtin_expect.
22485         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
22486         Fix for subnormal mantissa calculation.
22488 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
22490         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
22491         cpu2 is -1 and errno is not ENOSYS.
22493 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
22495         [BZ #14117]
22496         * sysdeps/i386/i486/bits/string.h: Renamed to ...
22497         * sysdeps/x86/bits/string.h: This.
22498         * sysdeps/x86_64/bits/string.h: Removed.
22500         * sysdeps/i386/i486/bits/string.h: Define inline functions only
22501         if not compiling for x86-64, but compiling for >= i486.
22503         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
22504         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
22506         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
22507         New macro from Linux kernel 3.4.0.
22508         (FP_XSTATE_MAGIC2): Likewise.
22509         (FP_XSTATE_MAGIC2_SIZE): Likewise.
22510         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
22511         (struct _fpx_sw_bytes): New struct.
22512         (struct _xsave_hdr): Likewise.
22513         (struct _ymmh_state): Likewise.
22514         (struct _xstate): Likewise.
22516         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
22517         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
22518         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
22519         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
22520         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
22521         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
22523         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
22524         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
22525         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
22526         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
22527         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
22528         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
22530 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22532         [BZ #13743]
22533         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
22534         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
22535         (sysdep_headers): Include sys/platform/ppc.h.
22536         * sysdeps/powerpc/test-gettimebase.c: Test for
22537         __ppc_get_timebase() to catch future ISA opcode/insn changes.
22538         * manual/Makefile (appendices): Include platform.texi.
22539         * manual/contrib.texi (Contributors): Update @node pointers.
22540         * manual/maint.texi (Maintenance): Likewise.
22541         (Platform): New node.
22542         * manual/platform.texi: New file.  Document the new features.
22544 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22545             Jakub Jelinek  <jakub@redhat.com>
22547         [BZ #14188]
22548         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
22549         where __builtin_expect is unavailable.
22551 2012-06-03  David S. Miller  <davem@davemloft.net>
22553         * stdlib/longlong.h: Updated from GCC.
22555 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
22557         [BZ #14042]
22558         * sysdeps/powerpc/powerpc32/mcount.c: New file.
22559         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
22560         __mcount_internal.
22561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22562         (GLIBC_2.16): Likewise.
22564 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
22566         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
22568 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
22570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
22571         (default-abi): New variable.
22572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
22573         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
22574         variable.
22575         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
22576         Likewise.
22577         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
22578         Likewise.
22579         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
22580         Likewise.
22582         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
22583         definition.  Document in comment.
22585 2012-06-01  David S. Miller  <davem@davemloft.net>
22587         * stdlib/longlong.h: Updated from GCC.
22589 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
22591         [BZ #14117]
22592         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
22593         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
22594         sys/debugreg.h sys/io.h here.
22595         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
22596         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
22597         sys/io.h.
22598         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
22599         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
22600         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
22601         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
22602         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
22603         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
22605         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
22606         Define only if __x86_64__ is defined.
22608 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
22610         [BZ #14048]
22611         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
22612         Use int64_t for variable i.
22613         * math/libm-test.inc (fmod_test): Add more tests.
22615         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
22616         z computation is not scheduled after fetestexcept.
22617         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
22618         Use math_force_eval instead of asm to ensure calculation scheduled
22619         before exception test.
22620         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
22621         Ensure a1 + u.d computation is not scheduled after fetestexcept.
22623 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
22625         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
22626         computation is not scheduled after fetestexcept.
22628 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
22630         [BZ #14117]
22631         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
22632         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
22634 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22636         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
22637         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22639 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
22641         [BZ #14117]
22642         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
22643         <bits/wordsize.h>.
22644         (__WCHAR_MIN): Support __WORDSIZE == 64.
22645         (__WCHAR_MAX): Likewise.
22647         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
22648         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
22650         [BZ #14183]
22651         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
22652         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
22654         [BZ #14117]
22655         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
22656         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
22658         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
22659         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
22661         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
22662         Defined to 1 if __x86_64__ isn't defined.
22663         (_STAT_VER_LINUX_OLD): New.
22664         (st_atime): Remove duplicate.
22665         (st_mtime): Likewise.
22666         (st_ctime): Likewise.
22668 2012-05-31  David S. Miller  <davem@davemloft.net>
22670         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
22671         entries.
22673 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
22675         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
22676         gen-libm-test.pl.
22678         [BZ #14132]
22679         * elf/dl-reloc.c: Include <_itoa.h>.
22680         (_dl_reloc_bad_type): Remove use of INTUSE.
22681         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
22682         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
22683         * stdio-common/psiginfo.c (psiginfo): Likewise.
22684         * stdio-common/psignal.c (psignal): Likewise.
22685         * string/strsignal.c (strsignal): Likewise.
22686         * include/signal.h (_sys_siglist): Declare hidden proto.
22687         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
22688         INTVARDEF with libc_hidden_data_def.
22689         * stdio-common/itoa-udigits.c: Likewise.
22690         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
22691         (_itoa_lower_digits_internal): Remove declaration.
22692         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
22693         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
22694         (_sys_sigabbrev_internal): Remove aliases.
22695         (_sys_siglist): Define hidden alias.
22697 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
22699         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22700         bits/sysctl.h.
22702 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
22704         [BZ #14117]
22705         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
22706         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
22708         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
22709         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
22710         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
22711         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
22712         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
22713         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
22715         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
22716         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
22717         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22719         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
22720         with __addr.
22721         (insw): Likewise.
22722         (insl): Likewise.
22723         (outsb): Likewise.
22724         (outsw): Likewise.
22725         (outsl): Likewise.
22727         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
22728         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
22729         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
22731         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
22732         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
22733         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
22734         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
22735         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
22736         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22738         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22739         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22741         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22742         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22744         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22745         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22746         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22748         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22749         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22750         to ...
22751         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22753         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22754         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22755         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22757         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22758         for x86-64.
22759         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22761 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
22763         * math/math.h (M_El): Use two more decimal places.
22764         (M_LOG2El): Likewise.
22765         (M_LOG10El): Likewise.
22766         (M_LN2l): Likewise.
22767         (M_LN10l): Likewise.
22768         (M_PIl): Likewise.
22769         (M_PI_2l): Likewise.
22770         (M_PI_4l): Likewise.
22771         (M_1_PIl): Likewise.
22772         (M_2_PIl): Likewise.
22773         (M_2_SQRTPIl): Likewise.
22774         (M_SQRT2l): Likewise.
22775         (M_SQRT1_2l): Likewise.
22777 2012-05-31  David S. Miller  <davem@davemloft.net>
22779         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22780         values between float registers.
22781         * sysdeps/sparc/sparc64/memset.S: Likewise.
22782         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22784 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
22786         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22787         -D_FORTIFY_SOURCE=1.
22788         (CPPFLAGS-tst-longjmp_chk.c): Define.
22789         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22790         (CPPFLAGS-tst-longjmp_chk2.c): Define.
22791         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22792         CFLAGS-tst-wchar-h.c.
22794 2012-05-31  Marek Polacek  <polacek@redhat.com>
22796         [BZ #14132]
22797         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22798         __endmntent_internal): Remove declaration.
22799         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22800         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22801         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22803 2012-05-30  David S. Miller  <davem@davemloft.net>
22805         * sysdeps/sparc/sparc32/soft-fp/q_util.c
22806         (___Q_simulate_exceptions): Use real FP ops rather than writing
22807         into the %fsr.
22808         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22809         Likewise.
22811 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22813         [BZ #14117]
22814         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22815         * sysdeps/x86/bits/xtitypes.h: This.
22817         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22818         * sysdeps/x86/bits/wordsize.h: This.
22820         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22821         * sysdeps/x86/bits/huge_vall.h: This.
22823         * sysdeps/i386/bits/select.h: Removed.
22824         * sysdeps/x86_64/bits/select.h: Renamed to ...
22825         * sysdeps/x86/bits/select.h: This.
22827         * sysdeps/i386/bits/setjmp.h: Removed.
22828         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22829         * sysdeps/x86/bits/setjmp.h: This.
22831         * sysdeps/i386/bits/mathdef.h: Removed.
22832         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22833         * sysdeps/x86/bits/mathdef.h: This.
22835 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
22837         [BZ #14132]
22838         * include/sys/socket.h (__connect_internal)
22839         (__libc_sa_len_internal): Remove declaration.
22840         (__connect, __libc_sa_len): Declare hidden_proto.
22841         (SA_LEN): Remove use of INTUSE.
22842         * socket/connect.c: Add libc_hidden_def.
22843         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22844         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22845         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22846         alias.
22847         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22848         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22849         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22850         of adding _internal alias.
22852 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22854         [BZ #14117]
22855         * sysdeps/i386/bits/link.h: Removed.
22856         * sysdeps/i386/bits/linkmap.h: Likewise.
22857         * sysdeps/x86_64/bits/link.h: Renamed to ...
22858         * sysdeps/x86/bits/link.h: This.
22859         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22860         * sysdeps/x86/bits/linkmap.h: This.
22862         * sysdeps/i386/bits/endian.h: Removed.
22863         * sysdeps/x86_64/bits/endian.h: Renamed to ...
22864         * sysdeps/x86/bits/endian.h: This.
22866         * sysdeps/i386/bits/byteswap.h: Removed.
22867         * sysdeps/i386/bits/byteswap-16.h: Likewise.
22868         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22869         * sysdeps/x86/bits/byteswap.h: This.
22870         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22871         * sysdeps/x86/bits/byteswap-16.h: This.
22872         * sysdeps/i386/Implies: Add x86.
22873         * sysdeps/x86_64/Implies: Likewise.
22875 2012-05-30  David S. Miller  <davem@davemloft.net>
22877         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22878         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22879         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22880         (FP_TRAPPING_EXCEPTIONS): Define.
22881         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22882         (FP_TRAPPING_EXCEPTIONS): Define.
22883         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22884         subnormals only when inexact has been signalled or underflow
22885         exceptions are enabled.
22886         (_FP_PACK_CANONICAL): Likewise.
22888 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22890         [BZ #14183]
22891         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22892         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22894 2012-05-30  Richard Henderson  <rth@twiddle.net>
22896         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22897         with #ifndef NOT_IN_libc.
22899         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
22900         marked to avoid plt entry.
22902 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22904         [BZ #14112]
22905         * Makeconfig (default-abi): New macro.
22906         (abi-includes): Likewise.
22907         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
22908         $(abi-$(default-abi)-lib-soname) for soname if defined.
22909         ($(common-objpfx)gnu/lib-names.stmp): Generate from
22910         abi-variants.
22911         * Makefile (installed-stubs): Likewise.
22912         * include/stubs-biarch.h: Removed.
22913         * scripts/lib-names.awk: Only handle one library at a time.
22914         * scripts/soversions.awk: Remove WORDSIZE support.
22915         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22916         entries.
22917         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22918         Removed.
22919         (syscall-list-default-condition): Likewise.
22920         (syscall-list-default-condition): Likewise.
22921         (syscall-list-includes): Likewise.
22922         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22923         syscall-list-* with abi-*.  Handle undefined abi-variants.
22924         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22925         * sysdeps/unix/sysv/linux/i386/Implies: New file.
22926         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22927         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22928         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22929         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22930         Removed.
22931         (syscall-list-32-options): Likewise.
22932         (syscall-list-32-condition): Likewise.
22933         (syscall-list-64-options): Likewise.
22934         (syscall-list-64-condition): Likewise.
22935         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22936         macro.
22937         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22938         Renamed to ...
22939         (abi-*): This.
22940         (abi-64-ld-soname): New macro.
22941         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22942         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22943         Renamed to ...
22944         (abi-*): This.
22945         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22946         * sysdeps/x86_64/x32/shlib-versions: Likewise.
22948 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
22950         * sysdeps/unix/sysv/linux/kernel-features.h
22951         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22952         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22953         include <kernel-features.h>.
22954         [!__NR_ftruncate64]: Remove conditional code.
22955         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22956         [__NR_ftruncate64]: Make code unconditional.
22957         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22958         * sysdeps/unix/sysv/linux/truncate64.c: Do not
22959         include <kernel-features.h>.
22960         [!__NR_ftruncate64]: Remove conditional code.
22961         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22962         [__NR_ftruncate64]: Make code unconditional.
22963         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22965         include <kernel-features.h>.
22966         [!__NR_ftruncate64]: Remove conditional code.
22967         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22968         [__NR_ftruncate64]: Make code unconditional.
22969         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22971         include <kernel-features.h>.
22972         [!__NR_ftruncate64]: Remove conditional code.
22973         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22974         [__NR_ftruncate64]: Make code unconditional.
22975         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22977         * configure.in (libc_cv_fpie): Weaken to a compile test using
22978         LIBC_TRY_CC_OPTION.
22979         * configure: Regenerated.
22981 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22983         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22984         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22985         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22986         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22987         Refreshed.
22988         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22989         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22990         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22991         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22992         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22993         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22994         Refreshed.
22996 2012-05-27  David S. Miller  <davem@davemloft.net>
22998         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22999         (___Q_zero): New.
23000         (__Q_simulate_exceptions): Return void.  Change to simulate
23001         exceptions by writing into the %fsr.
23002         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
23003         (__Qp_handle_exceptions): Likewise.
23004         (numbers): Delete.
23005         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
23006         __Qp_handle_exceptions.
23007         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
23008         __Qp_handle_exceptions.
23009         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
23010         as unused and give dummy FP_RND_NEAREST initializer.
23011         (FP_INHIBIT_RESULTS): Define.
23012         (___Q_simulate_exceptions): Update declaration.
23013         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
23014         formatting.
23015         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
23016         as unused and give dummy FP_RND_NEAREST initializer.
23017         (__Qp_handle_exceptions): Update declaration.
23018         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
23019         formatting.
23021 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
23023         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
23024         the temporary FPU control word.
23025         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
23026         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
23027         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
23028         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23029         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
23030         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
23031         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
23032         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23033         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23034         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
23035         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23037 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23039         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
23040         fields.
23042 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
23044         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
23045         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
23046         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
23047         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
23048         Likewise.
23049         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
23050         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
23051         Likewise.
23053 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
23055         * po/h.po: Update from translation team.
23057 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
23059         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
23061         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
23062         handling of denormals.
23063         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23064         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
23065         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
23066         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
23067         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23068         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
23069         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
23070         Likewise.
23072 2012-05-26  Marek Polacek  <polacek@redhat.com>
23074         [BZ #14152]
23075         * math/libm-test.inc (fma_test): Don't always expect underflow
23076         exception.
23078 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23080         [BZ #12416]
23081         * elf/tst-execstack.c: Include stackinfo.h.
23082         (do_test): Adjust test case to ensure that pthread_getattr_np
23083         behaviour remains the same after marking stack executable.
23085 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
23087         * sysdeps/unix/sysv/linux/kernel-features.h
23088         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
23089         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
23090         kernel-features.h.
23091         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23092         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23093         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
23094         kernel-features.h.
23095         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23096         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23098 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
23100         * configure.in: Define the default includes to being none.
23101         * configure: Regenerated.
23103 2012-05-25  Roland McGrath  <roland@hack.frob.com>
23105         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
23106         * sysdeps/x86_64/setjmp.S: Likewise.
23107         * sysdeps/i386/bsd-setjmp.S: Likewise.
23108         * sysdeps/i386/bsd-_setjmp.S: Likewise.
23109         * sysdeps/i386/setjmp.S: Likewise.
23110         * sysdeps/i386/__longjmp.S: Likewise.
23111         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23112         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
23114         * include/stap-probe.h: New file.
23115         * configure.in: Handle --enable-systemtap.
23116         * configure: Regenerated.
23117         * config.h.in (USE_STAP_PROBE): New #undef.
23118         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
23119         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
23120         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
23122 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
23124         [BZ #13717]
23125         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23126         to 2.4.0 where earlier.
23127         * sysdeps/unix/sysv/linux/configure: Regenerated.
23128         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23129         <kernel-features.h>.
23130         [__ASSUME_32BITUIDS]: Make code unconditional.
23131         [!__ASSUME_32BITUIDS]: Remove conditional code.
23132         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
23133         <kernel-features.h>.
23134         [__ASSUME_32BITUIDS]: Make code unconditional.
23135         [!__ASSUME_32BITUIDS]: Remove conditional code.
23136         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
23137         [__ASSUME_32BITUIDS]: Make code unconditional.
23138         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
23139         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
23140         <kernel-features.h>.
23141         [__ASSUME_32BITUIDS]: Make code unconditional.
23142         [!__ASSUME_32BITUIDS]: Remove conditional code.
23143         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
23144         <kernel-features.h>.
23145         [__ASSUME_32BITUIDS]: Make code unconditional.
23146         [!__ASSUME_32BITUIDS]: Remove conditional code.
23147         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
23148         <kernel-features.h>.
23149         [__ASSUME_32BITUIDS]: Make code unconditional.
23150         [!__ASSUME_32BITUIDS]: Remove conditional code.
23151         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
23152         <kernel-features.h>.
23153         [__ASSUME_32BITUIDS]: Make code unconditional.
23154         [!__ASSUME_32BITUIDS]: Remove conditional code.
23155         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23156         <kernel-features.h>.
23157         [__ASSUME_32BITUIDS]: Make code unconditional.
23158         [!__ASSUME_32BITUIDS]: Remove conditional code.
23159         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23160         <kernel-features.h>.
23161         [__ASSUME_32BITUIDS]: Make code unconditional.
23162         [!__ASSUME_32BITUIDS]: Remove conditional code.
23163         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
23164         <kernel-features.h>.
23165         [__ASSUME_32BITUIDS]: Make code unconditional.
23166         [!__ASSUME_32BITUIDS]: Remove conditional code.
23167         * sysdeps/unix/sysv/linux/i386/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
23180         <kernel-features.h>.
23181         [__NR_setresgid] (__setresgid): Do not declare.
23182         [__ASSUME_32BITUIDS]: Make code unconditional.
23183         [!__ASSUME_32BITUIDS]: Remove conditional code.
23184         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
23185         <kernel-features.h>.
23186         [__NR_setresuid] (__setresuid): Do not declare.
23187         [__ASSUME_32BITUIDS]: Make code unconditional.
23188         [!__ASSUME_32BITUIDS]: Remove conditional code.
23189         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
23190         <kernel-features.h>.
23191         [__ASSUME_32BITUIDS]: Make code unconditional.
23192         [!__ASSUME_32BITUIDS]: Remove conditional code.
23193         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
23194         <kernel-features.h>.
23195         [__ASSUME_32BITUIDS]: Make code unconditional.
23196         [!__ASSUME_32BITUIDS]: Remove conditional code.
23197         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
23198         <kernel-features.h>.
23199         [__ASSUME_32BITUIDS]: Make code unconditional.
23200         [!__ASSUME_32BITUIDS]: Remove conditional code.
23201         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
23202         <kernel-features.h>.
23203         [__ASSUME_32BITUIDS]: Make code unconditional.
23204         [!__ASSUME_32BITUIDS]: Remove conditional code.
23205         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
23206         <kernel-features.h>.
23207         [__ASSUME_32BITUIDS]: Make code unconditional.
23208         [!__ASSUME_32BITUIDS]: Remove conditional code.
23209         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
23210         <kernel-features.h>.
23211         [__ASSUME_32BITUIDS]: Make code unconditional.
23212         [!__ASSUME_32BITUIDS]: Remove conditional code.
23213         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
23214         <kernel-features.h>.
23215         [__ASSUME_32BITUIDS]: Make code unconditional.
23216         [!__ASSUME_32BITUIDS]: Remove conditional code.
23217         * sysdeps/unix/sysv/linux/i386/setreuid.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/setuid.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/shmctl.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/kernel-features.h
23230         (__ASSUME_SETRESUID_SYSCALL): Remove.
23231         (__ASSUME_SETRESGID_SYSCALL): Likewise.
23232         (__ASSUME_32BITUIDS): Likewise.
23233         (__ASSUME_LDT_WORKS): Likewise.
23234         (__ASSUME_O_DIRECTORY): Likewise.
23235         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
23236         architecture but not kernel version.
23237         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
23238         (__ASSUME_MMAP2_SYSCALL): Likewise.
23239         (__ASSUME_STAT64_SYSCALL): Likewise.
23240         (__ASSUME_IPC64): Likewise.
23241         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
23242         <kernel-features.h>.
23243         [__ASSUME_32BITUIDS]: Make code unconditional.
23244         [!__ASSUME_32BITUIDS]: Remove conditional code.
23245         * sysdeps/unix/sysv/linux/opendir.c: Do not include
23246         <kernel-features.h>.
23247         [__ASSUME_O_DIRECTORY]: Make code unconditional.
23248         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
23249         132096]: Remove conditional code.
23250         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
23251         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23252         <kernel-features.h>.
23253         [__ASSUME_32BITUIDS]: Make code unconditional.
23254         [!__ASSUME_32BITUIDS]: Remove conditional code.
23255         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23256         <kernel-features.h>.
23257         [__ASSUME_32BITUIDS]: Make code unconditional.
23258         [!__ASSUME_32BITUIDS]: Remove conditional code.
23259         * sysdeps/unix/sysv/linux/setegid.c: Do not include
23260         <kernel-features.h>.
23261         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
23262         unconditional.
23263         (__setresgid): Do not declare.
23264         [__ASSUME_32BITUIDS]: Make code unconditional.
23265         [!__ASSUME_32BITUIDS]: Remove conditional code.
23266         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
23267         <kernel-features.h>.
23268         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
23269         unconditional.
23270         (__setresuid): Do not declare.
23271         [__ASSUME_32BITUIDS]: Make code unconditional.
23272         [!__ASSUME_32BITUIDS]: Remove conditional code.
23273         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23274         <kernel-features.h>.
23275         [__ASSUME_32BITUIDS]: Make code unconditional.
23276         [!__ASSUME_32BITUIDS]: Remove conditional code.
23277         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
23278         <kernel-features.h>.
23279         [__ASSUME_32BITUIDS]: Make code unconditional.
23280         [!__ASSUME_32BITUIDS]: Remove conditional code.
23282 2012-05-25  Richard Henderson  <rth@twiddle.net>
23284         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
23285         dl_hwcap to ifunc resolver.
23286         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
23287         elf_ifunc_invoke.
23288         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
23289         dl_hwcap to ifunc resolver.
23290         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
23292 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
23294         [BZ #14153]
23295         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
23296         for |x| <= 2**-26, not 2**-57.
23297         * math/libm-test.inc (acos_test): Do not allow spurious underflow
23298         exception.
23300 2012-05-24  Jeff Law  <law@redhat.com>
23302         * stdio-common/Makefile (tests): Add bug25.
23303         * stdio-common/bug25.c: New test.
23305 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
23307         [BZ #13576]
23308         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
23309         multiple of MALLOC_ALIGNMENT in size.
23310         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
23312 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
23314         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
23315         Require >= 256.
23316         (FILENAME_MAX): Use macro-int-constant.
23317         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
23318         (_IOFBF): Use macro-int-constant.
23319         (_IOLBF): Likewise.
23320         (_IONBF): Likewise.
23321         (SEEK_CUR): Likewise.
23322         (SEEK_END): Likewise.
23323         (SEEK_SET): Likewise.
23324         (TMP_MAX): Likewise.
23325         (EOF): Use macro-int-constant.  Require < 0.
23326         (NULL): Use macro-constant.  Require == 0.
23327         (stdin): Require type to be FILE *.
23328         (stdout): Likewise.
23329         (stderr): Likewise.
23330         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
23331         macro-int-constant.
23332         (EXIT_SUCCESS): Likewise.
23333         (NULL): Use macro-constant.  Require == 0.
23334         (RAND_MAX): Use macro-int-constant.
23335         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
23336         [C99-based standards] (strtof): Require function.
23337         [C99-based standards] (strtold): Likewise.
23338         [C99-based standards] (strtoll): Likewise.
23339         [C99-based standards] (strtoull): Likewise.
23340         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23341         [ISO || ISO99 || ISO11] (limits.h): Likewise.
23342         [ISO || ISO99 || ISO11] (math.h): Likewise.
23343         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
23344         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23345         [ISO || ISO99 || ISO11] (*_t): Do not allow.
23347 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
23349         [BZ #14132]
23350         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
23351         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
23352         * intl/dgettext.c (DCGETTEXT): Likewise.
23353         * intl/gettext.c (DCGETTEXT): Likewise.
23354         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
23355         * posix/regex_internal.h (gettext): Likewise.
23356         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
23357         Remove declaration.
23358         * include/argz.h (__argz_count_internal)
23359         (__argz_stringify_internal): Remove declaration.
23360         (__argz_count, __argz_stringify): Declare hidden proto.
23361         * intl/dcgettext.c: Remove use of INTDEF.
23362         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
23363         * string/argz-stringify.c: Likewise.
23364         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23365         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23366         Declare hidden proto.
23367         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23368         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23369         Declare hidden proto.
23370         * include/stdio.h (__asprintf_internal): Don't declare.
23371         (__asprintf): Don't define as macro.  Declare hidden proto.
23372         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
23373         (__fsetlocking): Declare hidden proto.
23374         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
23375         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
23376         hidden proto.
23377         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
23378         (_IO_setlinebuf): Remove use of INTUSE.
23379         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
23380         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
23381         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
23382         Remove declaration.
23383         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
23384         (_IO_do_flush): Remove use of INTUSE.
23385         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
23386         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
23387         (_IO_adjust_column, _IO_least_wmarker)
23388         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
23389         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
23390         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
23391         (_IO_default_doallocate, _IO_wdefault_doallocate)
23392         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
23393         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
23394         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
23395         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
23396         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
23397         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
23398         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
23399         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
23400         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
23401         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
23402         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
23403         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
23404         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
23405         proto.
23406         (_IO_flush_all_internal, _IO_adjust_column_internal)
23407         (_IO_default_uflow_internal, _IO_default_finish_internal)
23408         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
23409         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
23410         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
23411         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
23412         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
23413         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
23414         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
23415         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
23416         (_IO_file_close_internal, _IO_file_close_it_internal)
23417         (_IO_file_underflow_internal, _IO_file_overflow_internal)
23418         (_IO_file_init_internal, _IO_file_attach_internal)
23419         (_IO_file_fopen_internal, _IO_file_read_internal)
23420         (_IO_file_sync_internal, _IO_file_seek_internal)
23421         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
23422         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
23423         (_IO_str_underflow_internal, _IO_str_overflow_internal)
23424         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
23425         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
23426         (_IO_list_all_internal, _IO_link_in_internal)
23427         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
23428         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
23429         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
23430         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
23431         (_IO_do_write_internal, _IO_padn_internal)
23432         (_IO_getline_info_internal, _IO_getline_internal)
23433         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
23434         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
23435         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
23436         (_IO_vfscanf_internal, _IO_vfprintf_internal)
23437         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
23438         (_IO_init_internal, _IO_un_link_internal): Don't declare.
23439         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
23440         with libc_hidden_ver, remove use of INTUSE.
23441         * libio/genops.c: Likewise.
23442         * libio/freopen.c: Likewise.
23443         * libio/freopen64.c: Likewise.
23444         * libio/iofclose.c: Likewise.
23445         * libio/iofdopen.c: Likewise.
23446         * libio/iofflush.c: Likewise.
23447         * libio/iofflush_u.c: Likewise.
23448         * libio/iofgets.c: Likewise.
23449         * libio/iofgets_u.c: Likewise.
23450         * libio/iofopen.c: Likewise.
23451         * libio/iofopncook.c: Likewise.
23452         * libio/iofread.c: Likewise.
23453         * libio/iofread_u.c: Likewise.
23454         * libio/ioftell.c: Likewise.
23455         * libio/iofwrite.c: Likewise.
23456         * libio/iogetline.c: Likewise.
23457         * libio/iogets.c: Likewise.
23458         * libio/iogetwline.c: Likewise.
23459         * libio/iopadn.c: Likewise.
23460         * libio/iopopen.c: Likewise.
23461         * libio/ioseekoff.c: Likewise.
23462         * libio/ioseekpos.c: Likewise.
23463         * libio/iosetbuffer.c: Likewise.
23464         * libio/iosetvbuf.c: Likewise.
23465         * libio/ioungetc.c: Likewise.
23466         * libio/ioungetwc.c: Likewise.
23467         * libio/iovdprintf.c: Likewise.
23468         * libio/iovsprintf.c: Likewise.
23469         * libio/iovsscanf.c: Likewise.
23470         * libio/memstream.c: Likewise.
23471         * libio/obprintf.c: Likewise.
23472         * libio/oldfileops.c: Likewise.
23473         * libio/oldiofclose.c: Likewise.
23474         * libio/oldiofdopen.c: Likewise.
23475         * libio/oldiofopen.c: Likewise.
23476         * libio/oldiopopen.c: Likewise.
23477         * libio/oldstdfiles.c: Likewise.
23478         * libio/putc.c: Likewise.
23479         * libio/setbuf.c: Likewise.
23480         * libio/setlinebuf.c: Likewise.
23481         * libio/stdfiles.c: Likewise.
23482         * libio/strops.c: Likewise.
23483         * libio/vasprintf.c: Likewise.
23484         * libio/vscanf.c: Likewise.
23485         * libio/vsnprintf.c: Likewise.
23486         * libio/vswprintf.c: Likewise.
23487         * libio/wfiledoalloc.c: Likewise.
23488         * libio/wfileops.c: Likewise.
23489         * libio/wgenops.c: Likewise.
23490         * libio/wmemstream.c: Likewise.
23491         * libio/wstrops.c: Likewise.
23492         * libio/__fpurge.c: Likewise.
23493         * libio/__fsetlocking.c: Likewise.
23494         * assert/assert.c: Likewise.
23495         * debug/fgets_chk.c: Likewise.
23496         * debug/fgets_u_chk.c: Likewise.
23497         * debug/fread_chk.c: Likewise.
23498         * debug/fread_u_chk.c: Likewise.
23499         * debug/gets_chk.c: Likewise.
23500         * debug/obprintf_chk.c: Likewise.
23501         * debug/vasprintf_chk.c: Likewise.
23502         * debug/vdprintf_chk.c: Likewise.
23503         * debug/vsnprintf_chk.c: Likewise.
23504         * debug/vsprintf_chk.c: Likewise.
23505         * malloc/mtrace.c: Likewise.
23506         * misc/error.c: Likewise.
23507         * misc/syslog.c: Likewise.
23508         * stdio-common/asprintf.c: Likewise.
23509         * stdio-common/fxprintf.c: Likewise.
23510         * stdio-common/getw.c: Likewise.
23511         * stdio-common/isoc99_fscanf.c: Likewise.
23512         * stdio-common/isoc99_scanf.c: Likewise.
23513         * stdio-common/isoc99_vfscanf.c: Likewise.
23514         * stdio-common/isoc99_vscanf.c: Likewise.
23515         * stdio-common/isoc99_vsscanf.c: Likewise.
23516         * stdio-common/printf-prs.c: Likewise.
23517         * stdio-common/printf_fp.c: Likewise.
23518         * stdio-common/printf_fphex.c: Likewise.
23519         * stdio-common/printf_size.c: Likewise.
23520         * stdio-common/putw.c: Likewise.
23521         * stdio-common/scanf.c: Likewise.
23522         * stdio-common/sprintf.c: Likewise.
23523         * stdio-common/tmpfile.c: Likewise.
23524         * stdio-common/vfprintf.c: Likewise.
23525         * stdio-common/vfscanf.c: Likewise.
23526         * stdlib/strfmon_l.c: Likewise.
23527         * sunrpc/openchild.c: Likewise.
23528         * sunrpc/xdr_stdio.c: Likewise.
23529         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
23530         * sysdeps/mach/hurd/tmpfile.c: Likewise.
23532 2012-05-24  Roland McGrath  <roland@hack.frob.com>
23534         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23536         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
23537         in the third column, to generate for the shared library an IFUNC
23538         that uses _dl_vdso_vsym.
23539         * Makerules (COMPILE.c, compile-stdin.c): New variables.
23540         * Makeconfig (object-suffixes-noshared): New variable.
23542         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
23543         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
23544         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
23545         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
23547         [BZ #14132]
23548         * include/sys/time.h (__gettimeofday): Remove macro.
23549         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
23550         * time/gettimeofday.c (__gettimeofday): Remove #undef.
23551         Remove INTDEF.
23552         (__gettimeofday): Add libc_hidden_def.
23553         (gettimeofday): Add libc_hidden_weak.
23554         * sysdeps/mach/gettimeofday.c: Likewise.
23555         * sysdeps/posix/gettimeofday.c: Likewise.
23556         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
23557         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23558         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
23559         (__gettimeofday_internal): Remove strong_alias.
23560         (__gettimeofday): Add libc_hidden_def.
23561         (gettimeofday): Add libc_hidden_weak.
23562         * sysdeps/unix/syscalls.list (gettimeofday):
23563         Remove __gettimeofday_internal alias.
23565 2012-05-24  Daniel Jacobowitz  <drow@false.org>
23566             H.J. Lu  <hongjiu.lu@intel.com>
23568         [BZ #12495]
23569         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
23570         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
23571         (largebin_index_32_big): New.
23572         (largebin_index): Use it for 16-byte alignment.
23573         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
23574         correction with front_misalign.
23576 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
23578         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
23579         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
23580         Likewise.
23581         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
23582         Likewise.
23583         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23584         Likewise.
23585         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
23586         Likewise.
23587         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
23588         Likewise.
23589         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
23590         Likewise.
23591         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
23592         Likewise.
23593         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23594         Likewise.
23595         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
23596         Likewise.
23597         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
23598         Likewise.
23599         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
23600         Likewise.
23601         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
23602         Likewise.
23604         * scripts/data/c++-types-x32-linux-gnu.data: New file.
23605         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
23607 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
23609         [BZ #10846]
23610         [BZ #14036]
23611         * math/libm-test.inc (exp_test): Add test from bug 14036.
23612         (pow_test): Add test from bug 10846.
23614         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
23615         and other flags.
23616         (special_function): Do not include flags in test name.
23617         (parse_args): Likewise.
23618         * sysdeps/i386/fpu/libm-test-ulps: Update.
23619         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23620         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23621         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23624         * math/gen-libm-test.pl (%beautify): Add entries for underflow
23625         exceptions.
23626         * math/libm-test.inc ("Philosophy"): Update comment about
23627         exception testing.
23628         (UNDERFLOW_EXCEPTION): New macro.
23629         (UNDERFLOW_EXCEPTION_OK): Likewise.
23630         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
23631         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
23632         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
23633         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
23634         (INVALID_EXCEPTION_OK): Update value.
23635         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23636         (OVERFLOW_EXCEPTION_OK): Likewise.
23637         (IGNORE_ZERO_INF_SIGN): Likewise.
23638         (test_exceptions): Handle underflow exceptions.
23639         (acos_test): Update for underflow exception expectations.
23640         (cexp_test): Likewise.
23641         (clog_test): Likewise.
23642         (clog10_test): Likewise.
23643         (csqrt_test): Likewise.
23644         (ctan_test): Likewise.
23645         (ctanh_test): Likewise.
23646         (exp_test): Likewise.
23647         (exp10_test): Likewise.
23648         (exp2_test): Likewise.
23649         (expm1_test): Likewise.
23650         (fma_test): Likewise.
23651         (j0_test): Likewise.
23652         (jn_test): Likewise.
23653         (nexttoward_test): Likewise.
23654         (pow_test): Likewise.
23655         (scalbn_test): Likewise.
23656         (scalbln_test): Likewise.
23657         (tan_test): Likewise.
23658         (y1_test): Likewise.
23659         * sysdeps/i386/fpu/libm-test-ulps: Update.
23660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23662 2012-05-23  David S. Miller  <davem@davemloft.net>
23664         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23665         (__libc_sigaction): Remove unused local variables.
23667 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
23669         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
23671 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
23673         mktime: avoid signed integer overflow
23674         * time/mktime.c (__mktime_internal): Do not mishandle the case
23675         where diff == INT_MIN.
23677         mktime: simplify computation of average
23678         * time/mktime.c (ranged_convert): Use new time_t_avg function
23679         instead of rolling our own (probably-slower) code.
23681         mktime: do not assume signed right shift propagates sign bit
23682         * time/mktime.c (isdst_differ): New static function.
23683         (__mktime_internal): No need to normalize tm_isdst now.
23684         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
23685         tm_isdst values.
23687         mktime: merge another wrapv change from gnulib
23688         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
23689         from some compilers.
23691         mktime: remove incorrect attempt at unusual arithmetics
23692         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
23693         The code didn't really work on such machines anyway.
23694         (TYPE_MINIMUM): Assume two's complement.
23695         (twos_complement_arithmetic): Verify that long_int and time_t
23696         are two's complement (or unsigned, in the latter case).
23698         mktime: check signed shifts on long_int and time_t, too
23699         * time/mktime.c (SHR): Check that shifts work as desired
23700         on the types long_int and time_t too, as SHR is used on
23701         such types.
23703         mktime: do not assume 'long' is wide enough
23704         * time/mktime.c (verify): Move decl up.
23705         (long_int): New type.
23706         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
23707         to remove assumption in the code that 'long' is wide enough to
23708         store year values.  This assumption is not true on x32 and on
23709         some non-glibc platforms.
23711         mktime: merge wrapv change from gnulib
23712         * time/mktime.c (WRAPV): New macro.
23713         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
23714         (guess_time_tm, __mktime_internal): Do not assume that signed
23715         integer overflow wraps around; modern compilers generate code
23716         where this assumption is no longer valid.
23718 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
23720         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23721         Replace "jmp L(pseudo_end)" with "ret".
23722         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
23723         Likewise.
23725 2012-05-23  Andreas Jaeger  <aj@suse.de>
23727         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
23728         * sysdeps/unix/sysv/linux/poll.c: Remove file.
23730 2012-05-23  Andreas Jaeger  <aj@suse.de>
23731             Maximilian Attems  <max@stro.at>
23733         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
23734         New macros.
23736 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
23738         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23739         code so that pseudo_end is just ret and the stack pointer is
23740         correct also for static library in error case.
23742 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
23744         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23745         move to syscalls.list.
23746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23751         * manual/install.texi (Running make install): Do not mention Linux
23752         kernel version for which pt_chown is not needed.
23753         (Linux): Do not mention problems with nscd with 2.0 kernels.
23754         * INSTALL: Regenerated.
23756 2012-05-23  Andreas Jaeger  <aj@suse.de>
23758         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23759         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23760         macro.
23761         * sysdeps/unix/sysv/linux/s390/bits/mman.h
23762         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23763         * sysdeps/unix/sysv/linux/sh/bits/mman.h
23764         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23765         * sysdeps/unix/sysv/linux/i386/bits/mman.h
23766         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23767         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23768         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23769         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23770         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23771         * sysdeps/unix/sysv/linux/bits/in.h
23772         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23774 2012-05-22  Roland McGrath  <roland@hack.frob.com>
23776         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23777         (PREPARE_VERSION): Just use assert instead, it will be elided
23778         under [NDEBUG] anyway.
23780 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23782         * sysdeps/unix/sysv/linux/Makefile: Include
23783         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
23784         (sysdep_routines): Remove sysctl.
23785         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23786         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23787         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23788         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23789         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23791 2012-05-22  Andreas Jaeger  <aj@suse.de>
23793         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23794         that pseudo_end is just ret and the stack pointer is correct also
23795         for static library in error case.
23797 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
23799         [BZ #14122]
23800         * nss/nsswitch.c (defconfig_entries): New variable.
23801         (__nss_database_lookup): Don't leak defconfig entries.
23802         (nss_parse_service_list): Don't leak on error paths.
23803         (free_database_entries): New function.
23804         (free_defconfig): New function.
23805         (free_mem): Move common code to free_database_entries.
23807 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23809         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23810         Add arch_prctl.
23811         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23813         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23814         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23815         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23816         New macro.
23817         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23818         (INTERNAL_SYSCALL_TYPES): Likewise.
23819         (LOAD_ARGS_TYPES_[1-6]): Likewise.
23820         (LOAD_REGS_TYPES_[1-6]): Likewise.
23821         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23822         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23824 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23826         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23827         copysignl for GLIBC_2_0.
23828         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23829         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23830         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23831         logbl for GLIBC_2_0.
23832         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23833         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23835 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23837         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23838         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
23840         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23841         Use "neg %eax".
23843         * time/mktime.c: Update copyright years.
23845 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
23847         mktime: merge comment-quoting-style change from gnulib
23848         * time/mktime.c: Quote 'like this' in comments.
23849         The GNU coding standards suggest that we no longer quote `like this',
23850         as "`" and "'" are typically rendered asymmetrically nowadays.
23851         The typical gnulib style is to quote 'like this' when quoting
23852         code, and "like this" when quoting English.
23854         * time/mktime.c (compile-command): Add "-I.".
23856         mktime: merge mktime-internal.h change from gnulib
23857         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23859         mktime: merge time_r change from gnulib
23860         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23862         mktime: merge DEBUG change from gnulib
23863         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23864         case system <time.h> has a #define.
23866         mktime: merge <sys/types.h> change from gnulib
23867         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23868         since <time.t> is now guaranteed to define time_t.
23870         mktime: merge HAVE_CONFIG_H change from gnulib
23871         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23873 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23875         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23876         Use "neg %eax".
23878         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23879         __rlim_t cast.
23880         (struct rusage): Use anonymous union to pad each field to
23881         __syscall_slong_t.
23883 2012-05-21  David S. Miller  <davem@davemloft.net>
23885         * Makefules (o-iterator): Remove .s cases.
23886         (compile-command.s): Delete.
23887         (COMPILE.s): Delete.
23888         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23890 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
23892         * configure.in (libc_cv_predef_stack_protector): Only consider
23893         "foobar" and "__stack_chk_fail" lines in libc_undefs.
23894         * configure: Regenerated.
23896 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23898         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23899         New macro.  Use R*LP on int and pointer.
23900         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
23901         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23902         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
23903         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23905         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23906         [__WORDSIZE_TIME64_COMPAT32] instead of
23907         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23908         (struct utmp): Likewise.
23909         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23910         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23911         Renamed to ...
23912         (__WORDSIZE_TIME64_COMPAT32): This.
23913         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23914         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23915         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23916         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23917         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23918         (__WORDSIZE_TIME64_COMPAT32): New macro.
23920 2012-05-21  Andreas Jaeger  <aj@suse.de>
23922         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23923         only if [SHARED]. Add prototype for __wcschr_ia32.
23925 2012-05-21  Roland McGrath  <roland@hack.frob.com>
23927         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23928         of %rbp unmolested in the jmp_buf while mangling the low bits.
23929         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23930         unmolested high bits of %rbp while demangling the low bits.
23931         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23933 2012-05-21  Andreas Jaeger  <aj@suse.de>
23935         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23936         * sunrpc/svc_simple.c: Use it for registerrpc.
23937         * sunrpc/xcrypt.c: Use it for passwd2des.
23939         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23941 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23943         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23944         Don't define if [__SYSCALL_WORDSIZE != 32].
23945         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23946         New macro.
23948 2012-05-21  Bruno Haible  <bruno@clisp.org>
23949             Andreas Jaeger  <aj@suse.de>
23951         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23952         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23953         inptr and inend for must_buffer_ch.
23954         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23955         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23956         * stdio-common/Makefile (tests): Remove bug15.
23957         (bug15-ENV): Remove macro.
23958         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23959         anymore.
23961 2012-05-19  Andreas Jaeger  <aj@suse.de>
23962             Roland McGrath  <roland@hack.frob.com>
23964         * manual/contrib.texi: Completely rewritten. It contains now an
23965         alphabetical list of contributors and their contributions.
23967 2012-05-21  Richard Henderson  <rth@twiddle.net>
23969         * misc/getauxval.c (__getauxval): Use unsigned long int.
23970         * misc/sys/auxv.h: Include <sys/cdefs.h>.
23971         (getauxval): Use unsigned long int.
23973 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23975         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23977 2012-05-21  Roland McGrath  <roland@hack.frob.com>
23979         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23980         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23981         __alignof__ (long double).
23983 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23985         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23987 2012-05-20  Richard Henderson  <rth@twiddle.net>
23989         * misc/getauxval.c: New file.
23990         * misc/sys/auxv.h: New file.
23991         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23992         (routines): Add getauxval.
23993         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23994         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23995         * elf/dl-sysdep.c (_dl_auxv): Remove.
23996         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23997         * elf/dl-support.c (_dl_auxv): New variable.
23998         (_dl_aux_init): Initialize it.
23999         * manual/startup.texi (Auxiliary Vector): New node.
24000         * sysdeps/generic/bits/hwcap.h: New file.
24001         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
24002         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
24003         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
24004         * sysdeps/sparc/sysdep.h: ... here.  Include it.
24005         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
24006         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
24007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24008         Update.
24009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
24010         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
24011         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
24012         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
24013         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
24014         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
24015         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
24016         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
24018 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24020         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24022 2012-05-19  David S. Miller  <davem@davemloft.net>
24024         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24026 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
24028         [BZ #14123]
24029         * math/s_ccosh.c: Include <float.h>
24030         (__ccosh): Avoid internal overflow calculating sinh and cosh
24031         values before multiplying by sin and cos values.
24032         * math/s_ccoshf.c: Likewise.
24033         * math/s_ccoshl.c: Likewise.
24034         * math/s_csin.c: Likewise.
24035         * math/s_csinf.c: Likewise.
24036         * math/s_csinl.c: Likewise.
24037         * math/s_csinh.c: Likewise.
24038         * math/s_csinhf.c: Likewise.
24039         * math/s_csinhl.c: Likewise.
24040         * math/libm-test.inc (ccos_test): Add more tests.
24041         (ccosh_test): Likewise.
24042         (csin_test): Likewise.
24043         (csinh_test): Likewise.
24044         * sysdeps/i386/fpu/libm-test-ulps: Update.
24045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24047 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
24049         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
24050         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
24052         * sysdeps/x86_64/x32/_itoa.h: Add comment.
24054 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
24056         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
24057         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
24058         * sysdeps/powerpc/soft-fp/Versions: Likewise.
24059         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
24060         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
24061         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
24062         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
24063         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
24064         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
24065         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
24066         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
24067         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
24068         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
24069         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
24070         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
24071         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
24072         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
24073         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
24074         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
24075         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
24076         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
24077         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
24078         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
24079         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
24080         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
24081         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
24082         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
24083         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
24084         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
24085         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
24086         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
24088 2012-05-18  Andreas Jaeger  <aj@suse.de>
24090         * csu/.gitignore: Delete.
24092 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
24094         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
24095         (timex): Use __syscall_slong_t.
24097 2012-05-18  Andreas Jaeger  <aj@suse.de>
24098             Carlos O'Donell  <carlos_odonell@mentor.com>
24100         * manual/install.texi (Configuring and compiling): Update
24101         description about files modified in the source directory.
24102         * INSTALL: Regenerated.
24104 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
24106         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
24107         value.  Use "or" to set return value to -1.
24108         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
24109         negate return value.
24111 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24113         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
24114         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
24115         failure if the compiler has Graphite support disabled.
24116         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
24117         Likewise.
24118         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
24119         CFLAGS-memmove.c): Likewise.
24120         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
24121         Likewise.
24123 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
24125         * sysdeps/x86_64/x32/_itoa.h: New file.
24127         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
24128         getdents system call only if kernel and user dirents have the
24129         same d_ino and d_off.
24131         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24132         LLONG_MAX != LONG_MAX.
24133         (_itoa_word): Use _ITOA_WORD_TYPE on value.
24134         (_fitoa_word): Likewise.
24136         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
24137         years.
24138         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
24139         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
24140         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
24142         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
24143         include <bits/wordsize.h>.  Check __x86_64__ instead of
24144         __WORDSIZE.
24145         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
24146         if __x86_64__ is defined.  Use anonymous union on fpstate.
24148         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
24149         anonymous union.
24151 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
24153         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
24154         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
24155         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
24156         Refer to _rtld_local_ro instead of _rtld_global_ro.
24157         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
24158         Likewise.
24159         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
24160         Likewise.
24161         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
24162         Likewise.
24163         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
24164         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
24165         of _rtld_global, and rtld_progname instead of _dl_argv[0].
24167         * sysdeps/powerpc/powerpc32/dl-machine.c
24168         (__elf_machine_runtime_setup) [PROF]: Don't reference
24169         _dl_prof_resolve.
24171 2012-05-18  Andreas Jaeger  <aj@suse.de>
24173         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
24174         function only available for GCCs before 3.4 since GCC 3.4
24175         introduced a builtin.
24176         (lrint): Likewise.
24177         (llrintf): Likewise.
24178         (llrint): Likewise.
24179         (fmaxf): Likewise.
24180         (fmax): Likewise.
24181         (fminf): Likewise.
24182         (fmin): Likewise.
24183         (rint): Likewise.
24184         (rintf): Likewise.
24185         (nearbyint): Likewise.
24186         (nearbyintf): Likewise.
24187         (ceil): Likewise.
24188         (ceilf): Likewise.
24189         (floor): Likewise.
24190         (floorf): Likewise.
24192 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
24194         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
24195         on both fields and cast pointer to __syscall_ulong_t.
24197         * bits/types.h (__fsword_t): New type.
24198         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
24199         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
24200         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24201         (__FSWORD_T_TYPE): Likewise.
24202         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24203         (__FSWORD_T_TYPE): Likewise.
24204         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24205         (__FSWORD_T_TYPE): Likewise.
24206         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
24207         (__FSWORD_T_TYPE): Likewise.
24208         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
24209         __SWORD_TYPE with __fsword_t.
24210         (statfs64): Likewise.
24212 2012-05-17  David S. Miller  <davem@davemloft.net>
24214         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
24216 2012-05-17  Andreas Jaeger  <aj@suse.de>
24218         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
24219         warning.
24221 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
24223         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
24225 2012-05-17  Andreas Jaeger  <aj@suse.de>
24227         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
24228         when it is used.
24230 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
24232         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
24234 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
24236         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
24237         * sysdeps/x86_64/tst-mallocalign1.c: New file.
24239 2012-05-17  Andreas Jaeger  <aj@suse.de>
24240             Carlos O'Donell  <carlos_odonell@mentor.com>
24242         [BZ #14059]
24243         * sysdeps/x86_64/multiarch/init-arch.h
24244         (bit_YMM_Usable): Rename to...
24245         (bit_AVX_Usable): ... this.
24246         (bit_FMA4_Usable): New macro.
24247         (bit_XMM_state): New macro.
24248         (bit_YMM_state): New macro.
24249         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
24250         [__ASSEMBLER__] (index_AVX_Usable): ... this.
24251         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
24252         (CPUID_OSXSAVE): New macro.
24253         (CPUID_AVX): New macro.
24254         (CPUID_FMA4): New macro.
24255         (index_YMM_Usable): Rename to...
24256         (index_AVX_Usable): ... this.
24257         (HAS_AVX): Use HAS_ARCH_FEATURE.
24258         (HAS_FMA4): Likewise.
24259         (HAS_YMM_USABLE): Remove.
24260         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24261         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
24262         are present.
24263         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
24264         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
24265         * sysdeps/x86_64/multiarch/Makefile: Likewise.
24266         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
24267         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
24269 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
24271         * math/libm-test.c: Support platforms without multiple rounding modes.
24272         * math/bug-nextafter.c: Support platforms without FP exceptions.
24273         * math/bug-nexttoward.c: Likewise.
24274         * math/test-fenv.c: Likewise.
24275         * math/test-misc.c: Likewise.
24276         * stdlib/bug-getcontext.c: Likewise.
24278 2012-05-17  Andreas Jaeger  <aj@suse.de>
24280         * manual/examples/search.c (critter_cmp): Change signature to
24281         avoid warnings.
24282         * manual/string.texi (Collation Functions): Likewise.
24284 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24286         * bits/types.h: Fold copyright years.
24287         * bits/typesizes.h: Likewise.
24288         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
24289         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24290         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
24291         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
24292         * time/time.h: Likewise.
24294 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
24296         [BZ #208]
24297         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
24298         in instead of returning them.  Return void.
24299         (__libc_mallinfo): Accumulate over all arenas.
24300         (__malloc_stats): Adjust for change in int_mallinfo interface.
24302 2012-05-16  Roland McGrath  <roland@hack.frob.com>
24304         [BZ #10375]
24305         * configure.in (NM): Add AC_CHECK_TOOL for it.
24306         (libc_extra_cflags): New substituted variable.
24307         Check for -fstack-protector being used implicitly.
24308         * configure: Regenerated.
24309         * config.make.in (config-extra-cflags): New variable,
24310         gets @libc_extra_cflags@.
24311         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
24313         [BZ #10375]
24314         * configure.in: Check for _FORTIFY_SOURCE being predefined.
24315         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
24316         * configure: Regenerated.
24317         * config.make.in (CPPUNDEFS): New substituted variable.
24318         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
24319         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
24320         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
24322 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24324         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
24325         (mq_attr): Use __syscall_slong_t.
24327 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24329         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
24330         Check __x86_64__ instead of __WORDSIZE.
24331         (_STAT_VER_LINUX): Likewise.
24332         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
24333         __syscall_ulong_t and __syscall_slong_t.
24334         (stat64): Likewise.
24336 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24338         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
24340 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24342         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
24344 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24346         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
24347         __syscall_ulong_t.
24349         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
24350         include <bits/wordsize.h>.  Check __x86_64__ instead of
24351         __WORDSIZE.
24352         (greg_t): Use "__extension__ long long int" if __x86_64__ is
24353         defined.
24354         (mcontext_t): Replace "unsigned long" with "unsigned long long".
24356         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
24357         include <bits/wordsize.h>.  Check __x86_64__ instead of
24358         __WORDSIZE.
24359         (user_regs_struct): Use "__extension__ unsigned long long"
24360         instead of "unsigned long" if __x86_64__ is defined.
24361         (user): Likewise.  Pad after pointer field if __ILP32__ is
24362         defined.
24364 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
24366         * configure.in (makeinfo): Require version 4.5 or later.  Allow
24367         versions 5 to 9.
24368         * configure: Regenerated.
24369         * manual/install.texi (texinfo): Increase version requirement to
24370         4.5 or later.
24371         * INSTALL: Regenerated.
24373         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
24375 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24377         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
24379         * sysdeps/x86_64/x32/ffs.c: New file.
24381         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
24382         __syscall_ulong_t.
24383         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
24384         defined.  Use __syscall_ulong_t.
24385         (shminfo): Use __syscall_ulong_t.
24386         (shm_info): Likewise.
24388         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
24389         __syscall_ulong_t.
24391         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
24392         <bits/wordsize.h>.
24393         (msgqnum_t): Use __syscall_ulong_t.
24394         (msglen_t): Likewise.
24395         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
24396         __syscall_ulong_t.
24398         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
24399         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
24401         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
24403         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
24404         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
24406         * sysvipc/sys/msg.h (msgbuf): Replace long int with
24407         __syscall_slong_t.
24409         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
24410         include <bits/wordsize.h>.  Check __x86_64__ instead of
24411         __WORDSIZE.
24413         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
24414         "unsigned long long int" if __x86_64__ is defined.
24415         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
24417         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
24418         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
24419         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
24421         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
24422         <stdint.h>.
24423         (GET_PC): Cast to uintptr_t first.
24424         (GET_FRAME): Likewise.
24425         (GET_STACK): Likewise.
24427         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
24428         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
24429         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
24430         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
24431         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
24432         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
24433         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
24434         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
24435         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
24436         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
24437         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
24438         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
24439         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24440         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
24441         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
24442         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
24443         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
24444         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
24445         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
24446         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
24447         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
24448         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
24449         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
24450         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
24451         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
24452         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
24453         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
24454         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
24455         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
24457 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
24459         * Makerules (+depfiles): Also collect depfiles from .oS in
24460         $(extra-objs).
24461         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
24462         .oS, $(libnldbl-routines)).
24464         * Makerules (native-compile-mkdep-flags): Define.
24465         * sunrpc/Makefile (extra-objs): Add $(addprefix
24466         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
24467         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
24468         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
24469         calling $(make-target-directory).
24471 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24473         * bits/types.h (__snseconds_t): Removed.
24474         * time/time.h (struct timespec): Replace __snseconds_t with
24475         __syscall_slong_t.
24476         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
24477         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
24478         Likewise.
24479         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24480         (__SNSECONDS_T_TYPE): Likewise.
24481         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24482         (__SNSECONDS_T_TYPE): Likewise.
24483         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24484         (__SNSECONDS_T_TYPE): Likewise.
24486 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24488         * sysdeps/mach/hurd/bits/typesizes.h
24489         (__SYSCALL_SLONG_TYPE): New macro.
24490         (__SYSCALL_ULONG_TYPE): Likewise.
24492 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24494         * bits/types.h (__syscall_slong_t): New type.
24495         (__syscall_ulong_t): Likewise.
24497         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
24498         (__SYSCALL_ULONG_TYPE): Likewise.
24499         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24500         (__SYSCALL_SLONG_TYPE): Likewise.
24501         (__SYSCALL_ULONG_TYPE): Likewise.
24502         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24503         (__SYSCALL_SLONG_TYPE): Likewise.
24504         (__SYSCALL_ULONG_TYPE): Likewise.
24505         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24506         (__SYSCALL_SLONG_TYPE): Likewise.
24507         (__SYSCALL_ULONG_TYPE): Likewise.
24509 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24511         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
24512         Add sigaltstack-offsets.sym.
24513         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
24514         <sigaltstack-offsets.h>.
24515         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
24516         longjmp_msg pointer.
24517         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
24518         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
24519         signal stack.
24520         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
24522 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
24524         * elf/stackguard-macros.h: Remove file.
24525         * sysdeps/generic/stackguard-macros.h: New file.
24526         * sysdeps/i386/stackguard-macros.h: Likewise.
24527         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24528         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24529         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24530         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24531         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24532         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24533         * sysdeps/x86_64/stackguard-macros.h: Likewise.
24534         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
24535         <elf/stackguard-macros.h>.
24537         [BZ #14109]
24538         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
24539         __aligned__ in attribute.
24540         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
24541         (gregset_t): Likewise.
24543 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24545         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
24546         * sysdeps/x86_64/64/Implies-after: Here.  New file.
24547         * sysdeps/x86_64/x32/Implies-after: New file.
24549 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24551         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
24552         and access return value for _dl_profile_fixup.  Use R10_LP to
24553         load frame size.
24555 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24557         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
24559 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24561         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
24562         * sysdeps/x86_64/x32/sysdep.h: New file.
24564 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24566         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
24567         * sysdeps/x86_64/setjmp.S: Likewise.
24569 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24571         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
24572         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
24573         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
24574         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
24575         remove unused global constant.
24577 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
24579         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
24580         include of <not-cancel.h>.
24582 2012-05-15  Roland McGrath  <roland@hack.frob.com>
24584         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
24586 2012-05-15  Jeff Law  <law@redhat.com>
24587             Andreas Jaeger  <aj@suse.de>
24589         [BZ #13594]
24590         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
24591         out from...
24592         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
24593         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
24594         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
24595         code changing __hst_map_handle.map.
24597 2012-05-15  Roland McGrath  <roland@hack.frob.com>
24599         * configure.in (sysnames): Look for Implies-before and Implies-after
24600         files.
24601         * configure: Regenerated.
24603 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24605         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
24606         8-byte data alignment with LP_SIZE alignment.
24608 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24610         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
24611         into R10_LP.
24613 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24615         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
24617 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24619         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
24620         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
24621         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
24622         Likewise.
24623         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24625 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24627         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
24628         (stackinfo_sub_sp): Likewise.
24630 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24632         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
24633         RAX_LP.
24635 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24637         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
24638         into R*_LP.
24640 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24642         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
24643         sizes into R*_LP.
24645 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24647         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
24649 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24651         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
24652         into R11_LP and load __x86_64_shared_cache_size_half into
24653         R8_LP.
24655 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24657         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
24658         R8_LP.
24660 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24662         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
24663         logb for POWER7.
24664         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
24665         logbf for POWER7.
24666         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
24667         logbl for POWER7.
24668         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
24669         powerpc32/power7/fpu/s_logb.c via #include.
24670         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
24671         powerpc32/power7/fpu/s_logbf.c via #include.
24672         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
24673         powerpc32/power7/fpu/s_logbl.c via #include.
24675 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
24677         * README.libm: Remove file.
24679 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24681         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
24682         count for x32.  Use R*_LP and omit operand-size suffix.
24684 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24686         * shlib-versions: Move x86_64-.*-linux.* entries to ...
24687         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
24688         * sysdeps/x86_64/x32/shlib-versions: New file.
24690 2012-05-14  Roland McGrath  <roland@hack.frob.com>
24692         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
24693         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
24694         Use _dl_fatal_printf instead.
24696 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
24698         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
24699         set if not set by the user.  Do not allow for being unset.
24700         * sysdeps/unix/sysv/linux/configure: Regenerated.
24702 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24704         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
24705         the `q' suffix from lea and replace .quad with ASM_ADDR.
24707 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24709         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
24710         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
24711         instead of $17.
24712         (PTR_DEMANGLE): Likewise.
24714 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24716         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
24717         (LP_OP): Likewise.
24718         (ASM_ADDR): Likewise.
24719         (RAX_LP): Likewise.
24720         (RBP_LP): Likewise.
24721         (RBX_LP): Likewise.
24722         (RCX_LP): Likewise.
24723         (RDI_LP): Likewise.
24724         (RSI_LP): Likewise.
24725         (RSP_LP): Likewise.
24726         (R8_LP): Likewise.
24727         (R9_LP): Likewise.
24728         (R10_LP): Likewise.
24729         (R10_LP): Likewise.
24730         (R11_LP): Likewise.
24731         (R12_LP): Likewise.
24732         (R13_LP): Likewise.
24733         (R14_LP): Likewise.
24734         (R15_LP): Likewise.
24736 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24738         * sysdeps/x86_64/x32/dl-machine.h: New file.
24740 2012-05-14  Andreas Jaeger  <aj@suse.de>
24742         * manual/Makefile (subdir): Remove export of subdir.
24743         (all): Remove target.
24744         (.PHONY): Remove all from list.
24745         (mkinstalldirs): Remove.
24746         (.PHONY): Remove installdirs from list.
24747         ($(inst_infodir)/libc.info): Use make-target-directory.
24748         (installdirs): Remove.
24749         (subdir_%): Remove.
24750         (glibc-targets): Remove.
24751         (lib): Remove.
24752         (stubs): Remove.
24753         ($(objpfx)stubs ../po/manual.pot): Remove.
24754         ($(objpfx)stamp%): Remove.
24755         (make-target-directory): Remove.
24756         (subdir_install): Remove.
24757         (routines): Remove.
24758         (aux): Remove.
24759         (sources): Remove.
24760         (objects): Remove.
24761         (headers): Remove.
24763         [BZ #13750]
24764         * manual/.gitignore: Remove, it's not needed anymore.
24765         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24766         all files in it.
24767         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24768         directory.
24769         (texis): Renamed to $(objpfx)texis.
24770         (texis-path): New, contains path to generated files.
24771         (chapters.%): Use texis-path for complete path, add extra argument
24772         libc-texinfo.sh.
24773         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24774         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24775         (summary,texi, stamp-summary): Use complete path of
24776         files. Generate files in build dir.
24777         (dir-add.texi): Build in build dir.
24778         (libm-err.texi,stamp-libm-err): Likewise.
24779         (version.texi, stamp-version): Likewise.
24780         (.%c.texi): Likewise.
24781         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24782         (mostlyclean): Remove target.
24783         (realclean): Remove target.
24784         (generated): Add new variable with contents from mostlyclean and
24785         realclean, remove entries duplicated in common-mostlyclean, add
24786         stamp-libm-err and stamp-version.
24787         (generated-dirs): Add libc directory.
24788         ($(inst_infodir)/libc.info): Install files from build dir.
24790         * manual/install.texi (Configuring and compiling): Adjust since
24791         the info files are not part of the tar ball anymore.
24793 2012-05-14  Andreas Jaeger  <aj@suse.de>
24795         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24796         variable.
24798 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
24800         [BZ #13717]
24801         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24802         to 2.2.0 where earlier.
24803         * sysdeps/unix/sysv/linux/configure: Regenerated.
24804         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24805         Remove conditional code.
24806         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24807         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24808         Remove conditional code.
24809         [!__NR_lchown]: Likewise.
24810         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24811         [__NR_lchown]: Likewise.
24812         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24813         comment referencing __ASSUME_LCHOWN_SYSCALL.
24814         * sysdeps/unix/sysv/linux/i386/sigaction.c
24815         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24816         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24817         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24818         Remove conditional code.
24819         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24820         (__protocol_available): Remove #if 0 code.
24821         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24822         conditional code.
24823         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24824         * sysdeps/unix/sysv/linux/kernel-features.h
24825         (__ASSUME_GETCWD_SYSCALL): Don't define.
24826         (__ASSUME_REALTIME_SIGNALS): Likewise.
24827         (__ASSUME_PREAD_SYSCALL): Likewise.
24828         (__ASSUME_PWRITE_SYSCALL): Likewise.
24829         (__ASSUME_POLL_SYSCALL): Likewise.
24830         (__ASSUME_LCHOWN_SYSCALL): Likewise.
24831         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24832         non-SPARC.
24833         (__ASSUME_SIOCGIFNAME): Don't define.
24834         (__ASSUME_MSG_NOSIGNAL): Likewise.
24835         (__ASSUME_SENDFILE): Define unconditionally.
24836         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24837         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24838         conditional code.
24839         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24840         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24841         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24842         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24843         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24844         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24845         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24847         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24848         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24850         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24851         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24853         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24854         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24856         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24857         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24859         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24860         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24862         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24863         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24865         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24866         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24868         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24869         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24870         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24871         Remove conditional code.
24872         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24873         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24874         Remove conditional code.
24875         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24876         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24877         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24878         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24879         Remove conditional code.
24880         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24881         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24882         Remove conditional code.
24883         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24884         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24885         Remove conditional code.
24886         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24887         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24888         Remove conditional code.
24889         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24890         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24891         Remove conditional code.
24892         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24893         * sysdeps/unix/sysv/linux/sh/pwrite64.c
24894         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24895         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24896         * sysdeps/unix/sysv/linux/sigaction.c
24897         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24898         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24899         * sysdeps/unix/sysv/linux/sigpending.c
24900         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24901         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24902         * sysdeps/unix/sysv/linux/sigprocmask.c
24903         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24904         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24905         * sysdeps/unix/sysv/linux/sigsuspend.c
24906         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24907         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24908         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24909         (__libc_missing_rt_sigs): Remove.
24910         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24911         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24912         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24913         Remove conditional code.
24914         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24915         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24916         return 1.
24917         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24918         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24919         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24920         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24922 2012-05-14  Andreas Jaeger  <aj@suse.de>
24924         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24925         it's not used in glibc.
24926         (__coshm1): Likewise.
24927         (__acosh1p): Likewise.
24928         (__sgn): Likewise.
24930         * manual/string.texi (Copying and Concatenation): Add missing
24931         variable in concat example.
24932         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24934 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24936         [BZ #14103]
24937         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24938         __builtin_clzl with __builtin_clzll.
24940 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24942         [BZ #14104]
24943         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24944         libc_freeres_ptr.
24946 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24948         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24949         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24950         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24951         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24953 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
24955         * NEWS: Update ia64 info.
24957 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
24959         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24960         used as bcopy.
24962 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
24964         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24965         * sysdeps/unix/syscalls.list (dup3): Likewise.
24966         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24967         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24969 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
24971         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24972         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24974 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
24976         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24977         thread pointer.
24978         (TLS_IE): Use mov/add instead of movq/addq to load thread
24979         pointer.
24980         (TLS_GD_PREFIX): New.
24981         (TLS_GD): Use it.
24983 2012-05-11  David S. Miller  <davem@davemloft.net>
24985         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24986         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24987         (_FPU_SETCW): Likewise.
24989 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24991         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24992         is 32-byte aligned.
24994 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
24996         [BZ #11837]
24997         * iconvdata/gb18030.c: Update tables.
24998         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
24999         characters specially.
25000         (BODY for TO_LOOP): Add encoding of missing ranges.
25002 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
25004         [BZ #13673]
25005         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
25006         * sysdeps/mach/hurd/dup3.c: Likewise.
25007         * sysdeps/mach/hurd/readlinkat.c: Likewise.
25008         * sysdeps/powerpc/memmove.c:: Likewise.
25010 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
25012         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
25013         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
25015 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
25017         * elf/elf.h (R_X86_64_RELATIVE64): New.
25018         (R_X86_64_NUM): Updated.
25019         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25020         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
25021         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
25022         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
25023         tst-quad1pie tst-quad2pie
25024         (modules-names): Add tst-quadmod1 tst-quadmod2.
25025         ($(objpfx)tst-quad1): New dependency.
25026         ($(objpfx)tst-quad2): Likewise.
25027         ($(objpfx)tst-quad1pie): Likewise.
25028         ($(objpfx)tst-quad2pie): Likewise.
25029         * sysdeps/x86_64/tst-quad1.c: New file.
25030         * sysdeps/x86_64/tst-quad1pie.c: New file.
25031         * sysdeps/x86_64/tst-quad2.c: Likewise.
25032         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
25033         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
25034         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
25035         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
25036         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
25038 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25040         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
25041         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
25042         * streams/stropts.h (t_scalar_t): Define type.
25044         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
25045         (_PATH_PRESERVE): Set to "/var/lib".
25046         (_PATH_RWHODIR): Set to "/var/spool/rwho".
25048         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
25049         instead of int.
25051         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
25052         if __dir_mkfile succeeded.
25054         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
25055         checking for _hurd_dtablesize.  Unlock it right after having
25056         finished _hurd_dtable allocation.
25058 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25060         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
25061         * sysdeps/mach/hurd/configure: Regenerated.
25062         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
25063         special-casing to...
25064         * sysdeps/gnu/configure.in: ... this new file.
25065         * sysdeps/unix/sysv/linux/configure: Regenerated.
25066         * sysdeps/gnu/configure: New generated file.
25068         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
25069         for Linux: use nsec instead of usec, as well as:
25070         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
25071         members of type struct timespec.
25072         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
25073         New macros.
25074         (struct stat64): Likewise.
25075         (_STATBUF_ST_NSEC): New macro.
25076         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
25078         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25079         __strtoul_internal rather than strtoul.
25081 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25083         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
25084         and reject them.
25086 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25088         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
25089         which preserves existing values.
25090         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
25092 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25094         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
25095         TIMEOUT values.  Return EINVAL for NFDS values either negative or
25096         greater than FD_SETSIZE.
25098 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25100         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
25101         allocated, call __vm_protect to finish enabling the existing space, and
25102         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
25103         allocate the remainder.
25105 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25107         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
25108         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
25110 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25112         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
25113         sysdeps/mach/hurd/readlink.c.
25115         * posix/tst-sysconf.c (posix_options): Only use
25116         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
25117         _POSIX_SYNCHRONIZED_IO when they are defined
25118         * sysdeps/mach/hurd/bits/posix_opt.h:
25119         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
25120         (_XOPEN_REALTIME): Undefine macro.
25121         (_XOPEN_REALTIME_THREADS): Undefine macro.
25122         (_XOPEN_SHM): Undefine macro.
25123         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
25124         macro to -1.
25125         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
25126         macro to -1.
25127         (_POSIX_ASYNC_IO): Undefine macro.
25128         (_POSIX_PRIORITIZED_IO): Undefine macro.
25129         (_POSIX_SPIN_LOCKS): Define macro to -1.
25131         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
25132         SA_NODEFER, SA_RESETHAND.
25133         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
25134         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
25135         F_DUPFD_CLOEXEC.
25137 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25139         * elf/Makefile (pldd-modules): Define unconditionally.
25141 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25143         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
25145 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25147         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
25148         Return ENOENT when name is empty.
25149         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
25151 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25153         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
25155         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
25157 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25159         Fix mlock in all cases except non-readable pages.
25160         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
25161         instead of VM_PROT_ALL as parameter to __vm_wire function.
25163         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
25164         (__mkdir): When path is `/', just fail with EEXIST.
25165         * sysdeps/mach/hurd/mkdirat.c: Likewise.
25167 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25169         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
25170         <sys/uio.h> (for writev).
25171         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
25172         and <sys/param.h> (for MIN).
25174 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25176         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
25177         REQUESTED_TIME.  Properly set the remaining time and return EINTR
25178         if interrupted.
25180 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25182         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
25183         Depend on against $(link-rpcuserlibs).
25185 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25187         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
25188         (__libc_stack_end): Do not use attribute_relro.
25189         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
25190         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
25191         to libthread-provided value.
25192         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
25193         attribute_relro.
25195 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25197         [BZ #3748]
25198         * bits/libc-lock.h (__libc_once_get): New macro.
25199         * sysdeps/mach/bits/libc-lock.h: Likewise.
25200         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
25201         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
25202         instead of using implementation details.
25204         * libio/fileops.c: Unconditionally include <kernel-features.h>.
25205         * libio/freopen.c: Likewise.
25206         * libio/freopen64.c: Likewise.
25207         * misc/syslog.c: Likewise.
25208         * nscd/connections.c: Likewise.
25209         * nscd/netgroupcache.c: Likewise.
25210         * sysdeps/posix/getcwd.c: Likewise.
25212 2012-05-10  Roland McGrath  <roland@hack.frob.com>
25214         * math/w_ilogbf.c: Add #include <limits.h>.
25216 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25218         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
25219         path instead of returning without unlocking.
25221         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
25222         immediate-write ioctls.
25223         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
25225 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25227         * sysdeps/mach/hurd/i386/init-first.c (init): Use
25228         __builtin_frame_address instead of making assumptions about the
25229         location of the return address relative to DATA.  Force early load of
25230         the return address.
25231         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
25232         __builtin_frame_address.
25234         dup3 for GNU Hurd.
25235         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
25236         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
25237         implement dup3 and do some further code clean-ups.
25238         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
25239         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
25241 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25243         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
25245         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
25246         HURD_CRITICAL_END around holding _hurd_dtable_lock.
25247         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
25248         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
25249         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
25250         d->port.lock.
25252         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
25253         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
25254         when handler == SIG_ERR, not when handler != SIG_ERR.
25256 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25258         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
25259         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
25260         definitions.
25262         accept4 for GNU Hurd.
25263         * include/sys/socket.h (__libc_accept4): New prototype.
25264         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
25265         to implement __libc_accept4.
25266         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
25267         __libc_accept4.
25268         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
25270         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
25271         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
25272         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
25273         signal-defines.sym.
25275 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25277         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
25279 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25281         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
25282         assertion on O_CLOEXEC flag.
25283         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
25284         * hurd/intern-fd.c: Likewise.
25285         * hurd/port2fd.c: Likewise.
25287 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25289         [BZ #3906]
25290         * bits/in.h (IPV6_PKTINFO): Define new macro.
25291         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
25293 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25295         [BZ #13954]
25296         [BZ #13955]
25297         [BZ #13956]
25298         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
25299         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25300         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
25301         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
25302         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25303         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
25304         * math/libm-test.inc (logb_test) : Additional logb tests.
25306 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
25307             Andreas Jaeger  <aj@suse.de>
25309         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
25310         * configure: Regenerated.
25311         * config.h.in (LINK_OBSOLETE_RPC): New macro.
25312         * config.make.in (link-obsolete-rpc): New substituted variable.
25313         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
25314         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
25315         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25316         (shared-only-routines): Don't set it under [link-obsolete-rpc],
25317         so that libc.a contains the symbols.
25318         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25319         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
25320         * sunrpc/auth_none.c: Likewise.
25321         * sunrpc/auth_unix.c: Likewise.
25322         * sunrpc/authdes_prot.c: Likewise.
25323         * sunrpc/authuxprot.c: Likewise.
25324         * sunrpc/clnt_gen.c: Likewise.
25325         * sunrpc/clnt_perr.c: Likewise.
25326         * sunrpc/clnt_raw.c: Likewise.
25327         * sunrpc/clnt_simp.c: Likewise.
25328         * sunrpc/clnt_tcp.c: Likewise.
25329         * sunrpc/clnt_udp.c: Likewise.
25330         * sunrpc/clnt_unix.c: Likewise.
25331         * sunrpc/des_crypt.c: Likewise.
25332         * sunrpc/des_soft.c: Likewise.
25333         * sunrpc/get_myaddr.c: Likewise.
25334         * sunrpc/key_call.c: Likewise.
25335         * sunrpc/key_prot.c: Likewise.
25336         * sunrpc/netname.c: Likewise.
25337         * sunrpc/pm_getmaps.c: Likewise.
25338         * sunrpc/pm_getport.c: Likewise.
25339         * sunrpc/pmap_clnt.c: Likewise.
25340         * sunrpc/pmap_prot.c: Likewise.
25341         * sunrpc/pmap_prot2.c: Likewise.
25342         * sunrpc/pmap_rmt.c: Likewise.
25343         * sunrpc/publickey.c: Likewise.
25344         * sunrpc/rpc_cmsg.c: Likewise.
25345         * sunrpc/rpc_common.c: Likewise.
25346         * sunrpc/rpc_dtable.c: Likewise.
25347         * sunrpc/rpc_prot.c: Likewise.
25348         * sunrpc/rpc_thread.c: Likewise.
25349         * sunrpc/rtime.c: Likewise.
25350         * sunrpc/svc.c: Likewise.
25351         * sunrpc/svc_auth.c: Likewise.
25352         * sunrpc/svc_raw.c: Likewise.
25353         * sunrpc/svc_run.c: Likewise.
25354         * sunrpc/svc_tcp.c: Likewise.
25355         * sunrpc/svc_udp.c: Likewise.
25356         * sunrpc/svc_unix.c: Likewise.
25357         * sunrpc/svcauth_des.c: Likewise.
25358         * sunrpc/xcrypt.c: Likewise.
25359         * sunrpc/xdr.c: Likewise.
25360         * sunrpc/xdr_array.c: Likewise.
25361         * sunrpc/xdr_float.c: Likewise.
25362         * sunrpc/xdr_intXX_t.c: Likewise.
25363         * sunrpc/xdr_mem.c: Likewise.
25364         * sunrpc/xdr_rec.c: Likewise.
25365         * sunrpc/xdr_ref.c: Likewise.
25366         * sunrpc/xdr_sizeof.c: Likewise.
25367         * sunrpc/xdr_stdio.c: Likewise.
25369 2012-05-10  Roland McGrath  <roland@hack.frob.com>
25371         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
25372         change.  Update copyright years.
25374 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
25376         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
25378 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
25379             Joseph Myers  <joseph@codesourcery.com>
25380             Paul Pluzhnikov  <ppluzhnikov@google.com>
25382         [BZ #14012]
25383         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
25384         requiring rpcgen.
25385         [cross-compiling] (extra-libs): Likewise.
25386         [cross-compiling] (extra-libs-others): Likewise.
25387         [cross-compiling] (librpcsvc-routines): Likewise.
25388         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
25389         [cross-compiling] (omit-deps): Likewise.
25390         (sunrpc-CPPFLAGS): New variable.
25391         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
25392         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
25393         (cross-rpcgen-objs): New variable.
25394         (extra-objs): Append $(cross-rpcgen-objs).
25395         ($(cross-rpcgen-objs)): New rule.
25396         ($(objpfx)cross-rpcgen): Likewise.
25397         (rpcgen-cmd): Define to use $(built-program-file).  Expand
25398         comment.
25399         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
25400         ($(objpfx)x%.stmp): Likewise.
25401         * sunrpc/proto.h [IS_IN_build] (_): Define.
25402         [IS_IN_build] (_libc_intl_domainname): Likewise.
25404 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
25406         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
25407         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
25408         and R_X86_64_TPOFF64.
25410 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
25412         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
25413         sysdeps/unix/sysv/syscalls.list.
25414         (stime): Likewise.
25415         (utime): Likewise.
25416         * sysdeps/unix/sysv/syscalls.list: Remove file.
25418 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
25420         [BZ #3440]
25421         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
25422         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
25423         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
25424         (__LC_IDENTIFICATION): Make these macros useful in #if
25425         expressions, as required by C99.
25427 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
25429         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
25430         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
25431         after this.
25433 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
25435         * stdlib/longlong.h: Updated from GCC.
25437 2012-05-09  Andreas Jaeger  <aj@suse.de>
25439         * nscd/nscd.c (run_modes): Make named enum, reorder so that
25440         default is first entry.
25441         (run_mode): Set type.
25442         (main): Remove informal message about syslog.
25443         (options): Fix typo.
25445         [BZ #14053]
25446         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
25447         to asm.
25448         (lrint): Likewise.
25449         (llrintf): Likewise.
25450         (llrint): Likewise.
25451         (rint): Likewise.
25452         (rintf): Likewise.
25453         (nearbyint): Likewise.
25454         (nearbyintf): Likewise.
25456 2012-05-09  Andreas Jaeger  <aj@suse.de>
25457             Pedro Alves  <palves@redhat.com>
25459         * nscd/nscd.c (run_mode): Use enum.
25460         (main): Cleanup coding style issue.
25462 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
25463             Andreas Jaeger  <aj@suse.de>
25465         * nscd/nscd.c (go_background): Replaced with...
25466         (run_mode): ... this.
25467         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
25468         (options): Add -F --foreground.
25469         (main): Implement it.
25470         (parse_opt): Parse it.
25472 2012-05-09  Andreas Jaeger  <aj@suse.de>
25474         [BZ #14083]
25475         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
25476         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
25477         -Wconversion warning.
25478         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
25479         Likewise.
25481 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
25483         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
25484         == 0.
25485         (LC_ALL): Use macro-int-constant.
25486         (LC_COLLATE): Likewise.
25487         (LC_CTYPE): Likewise.
25488         (LC_MESSAGES): Likewise.
25489         (LC_MONETARY): Likewise.
25490         (LC_NUMERIC): Likewise.
25491         (LC_TIME): Likewise.
25492         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
25493         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25494         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25495         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
25496         Specify type.
25497         [C99-based standards] (float_t): Expect type.
25498         [C99-based standards] (double_t): Expect type.
25499         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
25500         type.
25501         [C99-based standards] (HUGE_VALL): Likewise.
25502         [C99-based standards] (INFINITY): Likewise.
25503         [C99-based standards] (NAN): Likewise.
25504         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
25505         [C99-based standards] (FP_NAN): Likewise.
25506         [C99-based standards] (FP_NORMAL): Likewise.
25507         [C99-based standards] (FP_SUBNORMAL): Likewise.
25508         [C99-based standards] (FP_ZERO): Likewise.
25509         [C99-based standards] (FP_FAST_FMA): Use
25510         optional-macro-int-constant.  Specify type.  Require == 1.
25511         [C99-based standards] (FP_FAST_FMAF): Likewise.
25512         [C99-based standards] (FP_FAST_FMAL): Likewise.
25513         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
25514         [C99-based standards] (FP_ILOGBNAN): Likewise.
25515         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
25516         Specify type.
25517         [C99-based standards] (MATH_ERREXCEPT): Likewise.
25518         [C99-based standards] (math_errhandling): Specify type.
25519         [ISO99 || ISO11] (signgam): Do not allow.
25520         [non-C99-based standards] (copysignf): Do not allow.
25521         [non-C99-based standards] (exp2f): Likewise.
25522         [non-C99-based standards] (log2f): Likewise.
25523         [non-C99-based standards] (modff): Allow.
25524         [non-C99-based standards] (erff): Do not allow.
25525         [non-C99-based standards] (erfcf): Likewise.
25526         [non-C99-based standards] (gammaf): Likewise.
25527         [non-C99-based standards] (hypotf): Likewise.
25528         [non-C99-based standards] (j0f): Likewise.
25529         [non-C99-based standards] (j1f): Likewise.
25530         [non-C99-based standards] (jnf): Likewise.
25531         [non-C99-based standards] (lgammaf): Likewise.
25532         [non-C99-based standards] (tgammaf): Likewise.
25533         [non-C99-based standards] (y0f): Likewise.
25534         [non-C99-based standards] (y1f): Likewise.
25535         [non-C99-based standards] (ynf): Likewise.
25536         [non-C99-based standards] (isnanf): Likewise.
25537         [non-C99-based standards] (acoshf): Likewise.
25538         [non-C99-based standards] (asinhf): Likewise.
25539         [non-C99-based standards] (atanhf): Likewise.
25540         [non-C99-based standards] (cbrtf): Likewise.
25541         [non-C99-based standards] (expm1f): Likewise.
25542         [non-C99-based standards] (ilogbf): Likewise.
25543         [non-C99-based standards] (log1pf): Likewise.
25544         [non-C99-based standards] (logbf): Likewise.
25545         [non-C99-based standards] (nextafterf): Likewise.
25546         [non-C99-based standards] (remainderf): Likewise.
25547         [non-C99-based standards] (rintf): Likewise.
25548         [non-C99-based standards] (scalbf): Likewise.
25549         [non-C99-based standards] (copysignl): Likewise.
25550         [non-C99-based standards] (exp2l): Likewise.
25551         [non-C99-based standards] (log2l): Likewise.
25552         [non-C99-based standards] (modfl): Allow.
25553         [non-C99-based standards] (erfl): Do not allow.
25554         [non-C99-based standards] (erfcl): Likewise.
25555         [non-C99-based standards] (gammal): Likewise.
25556         [non-C99-based standards] (hypotl): Likewise.
25557         [non-C99-based standards] (j0l): Likewise.
25558         [non-C99-based standards] (j1l): Likewise.
25559         [non-C99-based standards] (jnl): Likewise.
25560         [non-C99-based standards] (lgammal): Likewise.
25561         [non-C99-based standards] (tgammal): Likewise.
25562         [non-C99-based standards] (y0l): Likewise.
25563         [non-C99-based standards] (y1l): Likewise.
25564         [non-C99-based standards] (ynl): Likewise.
25565         [non-C99-based standards] (isnanl): Likewise.
25566         [non-C99-based standards] (acoshl): Likewise.
25567         [non-C99-based standards] (asinhl): Likewise.
25568         [non-C99-based standards] (atanhl): Likewise.
25569         [non-C99-based standards] (cbrtl): Likewise.
25570         [non-C99-based standards] (expm1l): Likewise.
25571         [non-C99-based standards] (ilogbl): Likewise.
25572         [non-C99-based standards] (log1pl): Likewise.
25573         [non-C99-based standards] (logbl): Likewise.
25574         [non-C99-based standards] (nextafterl): Likewise.
25575         [non-C99-based standards] (remainderl): Likewise.
25576         [non-C99-based standards] (rintl): Likewise.
25577         [non-C99-based standards] (scalbl): Likewise.
25578         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25579         [non-C99-based standards] (FP_*): Do not allow.
25580         [C99-based standards] (FP_*): Change to
25581         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25582         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25583         allow.
25584         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
25585         (SIG_ERR): Likewise.
25586         [X/Open-based standards] (SIG_HOLD): Likewise.
25587         (SIG_IGN): Likewise.
25588         (SIGABRT): Use macro-int-constant.  Specify type.  Require
25589         positive value.
25590         (SIGFPE): Likewise.
25591         (SIGILL): Likewise.
25592         (SIGINT): Likewise.
25593         (SIGSEGV): Likewise.
25594         (SIGTER): Likewise.
25595         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
25596         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
25597         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
25598         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
25599         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
25600         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
25601         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
25602         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
25603         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
25604         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
25605         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
25606         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
25607         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
25608         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
25609         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
25610         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
25611         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
25612         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
25613         [X/Open-based standards] (SIGTRAP): Likewise.
25614         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
25615         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
25616         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
25617         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
25618         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25619         allow.
25621 2012-05-08  Ian Wienand  <ianw@vmware.com>
25623         [BZ #14080]
25624         * time/tzset.c (__tzset_parse_tz): Update default rules for
25625         daylight time changes in the Energy Policy Act of 2005.
25627 2012-05-09  Andreas Jaeger  <aj@suse.de>
25629         [BZ #13983]
25630         * elf/ldconfig.c (parse_conf): Change string to make clear that
25631         ldconfig only issued a warning if ld.so.conf does not exist.
25633 2012-05-08  David S. Miller  <davem@davemloft.net>
25635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
25636         movxtod instead of popping the value on the stack.
25638         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25640 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
25642         * config.h.in: Add HAVE_ARM_PCS_VFP.
25644 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
25646         [BZ #13979]
25647         * include/features.h: Warn if user requests __FORTIFY_SOURCE
25648         checking but the checks are disabled for any reason.
25650 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
25652         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
25653         and ELF64_R_TYPE with ELFW(R_TYPE).
25655 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
25657         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
25658         (ulimit): Likewise.
25660         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
25661         (settimeofday): Likewise.
25663 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
25665         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
25666         a struct th_u2 inside the union, and move tu_block/tu_code into
25667         a new th_u3 union of tu_block/tu_code inside of that.  Move
25668         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
25669         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
25670         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
25671         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
25672         (th_stuff): Change to th_u1.tu_stuff.
25673         (th_data): Define.
25674         (th_msg): Change to th_u1.th_u2.tu_data.
25676 2012-05-07  David S. Miller  <davem@davemloft.net>
25678         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25680         [BZ #14074]
25681         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
25682         (SETUP_PIC_REG): Use it.
25683         (SETUP_PIC_REG_LEAF): Use it.
25685 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
25687         [BZ #13885]
25688         [BZ #13923]
25689         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25690         USE_AS_EXPM1L.
25691         (EXPL_FINITE): Likewise.
25692         (FLDLOG): Likewise.
25693         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25694         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25695         e_expl.S.
25696         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25697         USE_AS_EXPM1L.
25698         (EXPL_FINITE): Likewise.
25699         (FLDLOG): Likewise.
25700         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25701         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25702         e_expl.S.
25703         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
25704         test of -max_value argument for long double.
25705         * sysdeps/i386/fpu/libm-test-ulps: Update.
25706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25708 2012-05-06  David S. Miller  <davem@davemloft.net>
25710         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
25711         quad soft-float symbols whose references which are compiler
25712         generated.
25713         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25715 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
25717         [BZ #13884]
25718         [BZ #13914]
25719         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25720         USE_AS_EXP10L.
25721         (EXPL_FINITE): Likewise.
25722         (FLDLOG): Likewise.
25723         (c0): Likewise.
25724         (c1): Likewise.
25725         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
25726         Adjust comments for base varying.
25727         (__expl_finite): Change alias to EXPL_FINITE.
25728         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
25729         e_expl.S.
25730         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
25731         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25732         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25733         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
25734         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25735         USE_AS_EXP10L.
25736         (EXPL_FINITE): Likewise.
25737         (FLDLOG): Likewise.
25738         (c0): Likewise.
25739         (c1): Likewise.
25740         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
25741         Adjust comments for base varying.
25742         (__expl_finite): Change alias to EXPL_FINITE.
25743         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
25744         tests for bugs.
25745         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25747         [BZ #14064]
25748         * math/libm-test.inc (check_float_internal): Correct ulp
25749         calculation for subnormal expected results.
25751 2012-05-06  Andreas Jaeger  <aj@suse.de>
25753         * Makeconfig (+math-flags): New, set to -frounding-math.
25754         (+cflags): Add +math-flags so that all of glibc gets compiled with
25755         it.
25757         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25759 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
25761         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25762         Disable one test.
25764         [BZ #13787]
25765         [BZ #13922]
25766         [BZ #14036]
25767         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25768         (__ieee754_expl): Allow for and saturate large arguments.
25769         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25770         (u_threshold): Likewise.
25771         (__exp): Call __ieee754_exp before checking for overflow and
25772         underflow.
25773         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25774         (u_threshold): Likewise.
25775         (__expf): Call __ieee754_expf before checking for overflow and
25776         underflow.
25777         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25778         (u_threshold): Likewise.
25779         (__expl): Call __ieee754_expl before checking for overflow and
25780         underflow.
25781         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25782         (__ieee754_expl): Allow for and saturate large arguments.
25783         * math/libm-test.inc (exp_test): Add another test.  Do not allow
25784         missing overflow exception on overflow.
25785         (expm1_test): Do not allow missing overflow exception on overflow.
25787         * sysdeps/i386/fpu/e_expl.c: Move to ...
25788         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
25789         rather than using inline asm.
25790         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25791         * sysdeps/x86_64/fpu/e_expl.S: Copy from
25792         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25794         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25795         (nice): Likewise.
25796         (poll): Likewise.
25797         (signal): Likewise.
25798         (time): Likewise.
25799         (times): Likewise.
25801 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25803         * sysdeps/unix/syscalls.list (adjtime): Add entry from
25804         sysdeps/unix/common/syscalls.list.
25805         (fchmod): Likewise.
25806         (fchown): Likewise.
25807         (ftruncate): Likewise.
25808         (getrusage): Likewise.
25809         (gettimeofday): Likewise.
25810         (setpgid): Likewise.
25811         (setregid): Likewise.
25812         (setreuid): Likewise.
25813         (sigaction): Likewise.
25814         (truncate): Likewise.
25815         (vhangup): Likewise.
25816         * sysdeps/unix/common/syscalls.list: Remove file.
25817         * sysdeps/unix/bsd/Implies: Don't include unix/common.
25818         * sysdeps/unix/sysv/linux/Implies: Likewise.
25820 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
25822         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25823         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25824         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25825         Moved to ...
25826         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25827         Here.
25828         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25829         to ...
25830         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25831         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25832         to ...
25833         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25834         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25835         to ...
25836         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25837         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25838         to ...
25839         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25840         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25841         to ...
25842         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25843         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25844         to ...
25845         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25846         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25847         to ...
25848         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25849         Here.
25850         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25851         to ...
25852         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25853         Here.
25854         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25855         to ...
25856         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25857         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25858         Moved to ...
25859         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25860         Here.
25861         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25862         to ...
25863         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25865 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25867         * sysdeps/unix/common/bits/dirent.h: Remove file.
25868         * sysdeps/unix/common/bits/fcntl.h: Likewise.
25870         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25871         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25872         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25873         * sysdeps/unix/bsd/isatty.c: Likewise.
25874         * sysdeps/unix/bsd/tcdrain.c: Likewise.
25875         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25876         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25878 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25880         [BZ #13563]
25881         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25882         long double comparison inaccuracies.
25883         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25884         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25886 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
25888         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25889         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25891 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25893         [BZ #14049]
25894         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25895         nonzero digits before rounding a hex value.
25896         * stdlib/tst-strtod.c (tests): Add another test.
25898 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25900         * sysdeps/s390/fpu/libm-test-ulps: Update.
25902 2012-05-03  Andreas Jaeger  <aj@suse.de>
25904         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25905         does not get optimized out.
25906         (malloc_opt_barrier): New.
25908 2012-05-03  Andreas Jaeger  <aj@suse.de>
25909             Roland McGrath  <roland@hack.frob.com>
25911         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
25912         intermediate file deletion.
25913         (generated): Add .symlist files.
25915 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
25917         [BZ #13775]
25918         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25919         Redirect under this condition.
25920         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25921         [__USE_GNU] (__dprintf_chk): Not under this condition.
25922         [__USE_GNU] (__vdprintf_chk): Likewise.
25923         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25924         under this condition.
25925         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25926         [__USE_XOPEN2K8] (dprintf): Define under this condition.
25927         [__USE_XOPEN2K8] (vdprintf): Likewise.
25928         [__USE_GNU] (__dprintf_chk): Not under this condition.
25929         [__USE_GNU] (__vdprintf_chk): Likewise.
25930         [__USE_GNU] (dprintf): Likewise.
25931         [__USE_GNU] (vdprintf): Likewise.
25933 2012-05-03  Roland McGrath  <roland@hack.frob.com>
25935         * elf/Makefile (common-generated): Set this instead of generated for
25936         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
25937         $(all-built-dso)-derived lists.
25939 2012-05-03  Andreas Jaeger  <aj@suse.de>
25941         * sysdeps/i386/fpu/libm-test-ulps: Update.
25943         * FAQ: Removed.
25944         * FAQ.in: Likewise.
25945         * scripts/gen-FAQ.pl: Likewise.
25946         * manual/install.texi (Installation): Point to online location of
25947         FAQ.
25948         * Makefile (files-for-dist): Remove FAQ.
25949         (FAQ): Remove.
25951 2012-05-02  Allan McRae  <allan@archlinux.org>
25953         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25954         (LDFLAGS-reldepmod5.so): Likewise.
25955         (LDFLAGS-reldep6mod1.so): Likewise.
25956         (LDFLAGS-reldep6mod4.so): Likewise.
25957         (LDFLAGS-reldep8mod3.so): Likewise.
25958         (LDFLAGS-unload4mod1.so): Likewise.
25959         (LDFLAGS-unload4mod2.so): Likewise.
25960         (LDFLAGS-tst-initorder): Likewise.
25961         (LDFLAGS-tst-initordera2.so): Likewise.
25962         (LDFLAGS-tst-initordera3.so): Likewise.
25963         (LDFLAGS-tst-initordera4.so): Likewise.
25964         (LDFLAGS-tst-initorderb2.so): Likewise.
25965         (LDFLAGS-noload): Likewise.
25966         (LDFLAGS-next): Likewise.
25967         (LDFLAGS-order2mod1.so): Likewise.
25968         (LDFLAGS-order2mod2.so): Likewise.
25969         (LDFLAGS-tst-initorder2): Likewise.
25970         (LDFLAGS-tst-initorder2a.so): Likewise.
25971         (LDFLAGS-tst-initorder2b.so): Likewise.
25972         (LDFLAGS-tst-initorder2c.so): Likewise.
25973         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25975 2012-05-02  David S. Miller  <davem@davemloft.net>
25977         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25979 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
25981         [BZ #14055]
25982         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25984 2012-05-02  Andreas Jaeger  <aj@suse.de>
25986         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25987         since we manipulate rounding mode.
25988         (CPPFLAGS-test-idouble.c): Likewise.
25989         (CPPFLAGS-test-ifloat.c): Likewise.
25990         (CFLAGS-test-ldouble.c): Likewise.
25991         (CFLAGS-test-double.c): Likewise.
25992         (CFLAGS-test-float.c): Likewise.
25993         (CFLAGS-test-misc.c): Likewise.
25994         (CFLAGS-test-test-fenv.c): Likewise.
25996 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25998         [BZ #2550]
25999         [BZ #2570]
26000         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
26001         comparisons to determine direction to adjust input.
26003 2012-05-01  Roland McGrath  <roland@hack.frob.com>
26005         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
26006         output to the target.
26008         * scripts/localplt.awk: New file.
26009         * elf/Makefile ($(objpfx)check-localplt): Target removed.
26010         (check-localplt-CFLAGS): Variable removed.
26011         ($(all-built-dso:=.jmprel)): New static pattern rule.
26012         (generated): Add those targets.
26013         (localplt-built-dso): New variable.
26014         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
26016         * elf/check-localplt.c: File removed.
26018         * scripts/check-execstack.awk: New file.
26019         * elf/Makefile ($(objpfx)check-execstack): Target removed.
26020         (check-execstack-CFLAGS): Variable removed.
26021         ($(objpfx)check-execstack.h): Target removed.
26022         ($(objpfx)execstack-default): New target.
26023         (generated): Add that instead of check-execstack.h.
26024         ($(all-built-dso:=.phdr)): New static pattern rule.
26025         (generated): Add those targets.
26026         * elf/check-execstack.c: File removed.
26028         * scripts/check-textrel.awk: New file.
26029         * elf/Makefile ($(objpfx)check-textrel): Target removed.
26030         (check-textrel-CFLAGS): Variable removed.
26031         (all-built-dso): Use := to define.o
26032         ($(all-built-dso:=.dyn)): New static pattern rule.
26033         (generated): Add those targets.
26034         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
26035         * config.make.in (READELF): New substituted variable.
26036         * elf/check-textrel.c: File removed.
26038 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
26040         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26041         allow.
26042         * conform/data/ctype.h-data [C99-based standards] (isblank):
26043         Expect function.
26044         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
26045         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
26046         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26047         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
26048         Specify type.  Require positive value.
26049         (EILSEQ): Likewise.
26050         (ERANGE): Likewise.
26051         [ISO || POSIX] (EILSEQ): Do not expect.
26052         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
26053         Specify type.  Require positive value.
26054         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
26055         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
26056         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
26057         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
26058         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
26059         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
26060         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
26061         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
26062         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
26063         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
26064         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
26065         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
26066         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
26067         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
26068         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
26069         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
26070         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
26071         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
26072         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
26073         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
26074         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
26075         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
26076         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
26077         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
26078         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
26079         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
26080         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
26081         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
26082         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
26083         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
26084         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
26085         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
26086         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
26087         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
26088         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
26089         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
26090         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
26091         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
26092         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
26093         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
26094         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
26095         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
26096         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
26097         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
26098         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
26099         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
26100         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
26101         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
26102         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
26103         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
26104         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
26105         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
26106         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
26107         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
26108         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
26109         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
26110         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
26111         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
26112         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
26113         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
26114         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
26115         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
26116         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
26117         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
26118         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
26119         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
26120         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
26121         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
26122         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
26123         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
26124         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
26125         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
26126         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
26127         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
26128         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
26129         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
26130         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
26131         Require >= 2.
26132         (FLT_ROUNDS): Expect as macro, not constant.
26133         (FLT_MANT_DIG): Use macro-int-constant.
26134         (DBL_MANT_DIG): Likewise.
26135         (LDBL_MANT_DIG): Likewise.
26136         (FLT_DIG): Likewise.
26137         (DBL_DIG): Likewise.
26138         (LDBL_DIG): Likewise.
26139         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
26140         (DBL_MIN_EXP): Likewise.
26141         (LDBL_MIN_EXP): Likewise.
26142         (FLT_MAX_EXP): Use macro-int-constant.
26143         (DBL_MAX_EXP): Likewise.
26144         (LDBL_MAX_EXP): Likewise.
26145         (FLT_MAX_10_EXP): Likewise.
26146         (DBL_MAX_10_EXP): Likewise.
26147         (LDBL_MAX_10_EXP): Likewise.
26148         (FLT_MAX): Use macro-constant.
26149         (DBL_MAX): Likewise.
26150         (LDBL_MAX): Likewise.
26151         (FLT_EPSILON): Use macro-constant.  Give upper bound.
26152         (DBL_EPSILON): Likewise.
26153         (LDBL_EPSILON): Likewise.
26154         (FLT_MIN): Likewise.
26155         (DBL_MIN): Likewise.
26156         (LDBL_MIN): Likewise.
26157         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
26158         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
26159         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
26160         [ISO11] (FLT_HAS_SUBNORM): Likewise.
26161         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
26162         [ISO11] (DBL_DECIMAL_DIG): Likewise.
26163         [ISO11] (FLT_DECIMAL_DIG): Likewise.
26164         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
26165         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
26166         [ISO11] (FLT_TRUE_MIN): Likewise.
26167         [ISO11] (LDBL_TRUE_MIN): Likewise.
26168         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26169         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
26170         (SCHAR_MIN): Use macro-int-constant.  Specify type.
26171         (SCHAR_MAX): Likewise.
26172         (UCHAR_MAX): Likewise.
26173         (CHAR_MIN): Likewise.
26174         (CHAR_MAX): Likewise.
26175         (MB_LEN_MAX): Use macro-int-constant.
26176         (SHRT_MIN): Use macro-int-constant.  Specify type.
26177         (SHRT_MAX): Likewise.
26178         (USHRT_MAX): Likewise.
26179         (INT_MAX): Likewise.
26180         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
26181         bound negative.
26182         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
26183         bound with "U".
26184         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
26185         bound with "L".
26186         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
26187         bound negative.  Suffix upper bound with "L".
26188         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
26189         bound with "UL".
26190         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
26191         Specify type.
26192         [C99-based standards] (LLONG_MAX): Likewise.
26193         [C99-based standards] (ULLONG_MAX): Likewise.
26194         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
26195         == 0.
26196         [ISO11] (max_align_t): Require type.
26197         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26199         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
26200         from $CFLAGS, without defining away __attribute__ calls.
26201         (checknamespace): Use $CFLAGS_namespace.
26203         * conform/conformtest.pl (@keywords): Only include C99 keywords
26204         for standards based on C99 or C11.
26206         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
26207         Disable tests.
26208         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
26209         UNIX98]: Likewise.
26211         * conform/conformtest.pl: Handle "macro-int-constant" and test for
26212         usability of symbols in #if.
26214         * conform/conformtest.pl: If macro or constant types start
26215         "promoted:", expect the symbol to be of the following type
26216         promoted by the integer promotions.
26218         * conform/conformtest.pl: Parse all "constant" and "macro" lines
26219         in one place.  Also handle "macro-constant".
26221         * conform/conformtest.pl: Only accept expected macro values with
26222         "==".  Parse all "macro" lines in one place.
26223         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
26225         * conform/conformtest.pl: Handle braced types on "constant" lines
26226         instead of handling "typed-constant".
26227         * conform/data/signal.h-data: Use "constant" instead of
26228         "typed-constant".
26230         * conform/conformtest.pl: Handle "optional-" at start of lines in
26231         one place rather than duplicating several cases.  Handle each
26232         format of "macro" line with initial "optional-".
26234         * conform/conformtest.pl: Only accept expected constant or
26235         optional-constant values with "==".  Parse all "constant" lines in
26236         one place.  Parse all "optional-constant" lines in one place.
26237         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
26238         * conform/data/fmtmsg.h-data: Likewise.
26239         * conform/data/netinet/in.h-data: Likewise.
26240         * conform/data/tar.h-data: Likewise.
26241         * conform/data/limits.h-data: Use "==" form on "constant" and
26242         "optional-constant" lines.
26244         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
26245         Use -std=c99 for XOPEN2K.
26246         (@knownproblems): Remove.
26247         (newtoken): Don't check %isknown.
26249         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
26250         Do not expect macro.
26251         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
26252         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
26253         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
26254         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
26255         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
26256         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
26257         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
26258         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
26259         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
26260         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
26261         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
26262         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
26263         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
26264         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
26265         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
26266         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
26267         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
26268         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
26269         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
26270         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
26271         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
26272         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
26273         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
26274         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
26275         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
26276         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
26277         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
26278         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
26279         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
26280         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
26281         [XPG3] (acosh): Likewise.
26282         [XPG3] (asinh): Likewise.
26283         [XPG3] (atanh): Likewise.
26284         [XPG3] (cbrt): Likewise.
26285         [XPG3] (expm1): Likewise.
26286         [XPG3] (ilogb): Likewise.
26287         [XPG3] (log1p): Likewise.
26288         [XPG3] (logb): Likewise.
26289         [XPG3] (nextafter): Likewise.
26290         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
26291         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
26292         [XPG3] (remainder): Likewise.
26293         [XPG3] (rint): Likewise.
26294         [XPG3 || XPG4 || UNIX98] (round): Likewise.
26295         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
26296         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
26297         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
26298         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
26299         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
26300         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
26301         [UNIX98 || XOPEN2K] (scalb): Expect.
26302         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
26303         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
26304         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
26305         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
26306         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
26307         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
26308         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
26309         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
26310         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
26311         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
26312         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
26313         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
26314         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
26315         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
26316         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
26317         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
26318         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
26319         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
26320         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
26321         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
26322         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
26323         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
26324         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
26325         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
26326         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
26327         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
26328         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
26329         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
26330         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
26331         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
26332         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
26333         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
26334         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
26335         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
26336         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
26337         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
26338         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
26339         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
26340         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
26341         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
26342         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
26343         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
26344         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
26345         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
26346         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
26347         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
26348         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
26349         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
26350         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
26351         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
26352         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
26353         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
26354         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
26355         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
26356         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
26357         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
26358         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
26359         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
26360         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
26361         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
26362         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
26363         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
26364         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
26365         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
26366         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
26367         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
26368         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
26369         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
26370         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
26371         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
26372         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
26373         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
26374         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
26375         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
26376         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
26377         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
26378         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
26379         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
26380         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
26381         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
26382         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
26383         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
26384         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
26385         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
26386         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
26387         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
26388         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
26389         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
26390         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
26391         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
26392         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
26393         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
26394         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
26395         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
26396         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
26397         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
26398         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
26399         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
26400         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
26401         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
26402         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
26403         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
26404         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
26405         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
26406         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
26407         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
26408         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
26409         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
26410         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
26411         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
26412         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
26413         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
26414         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
26415         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
26416         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
26417         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
26418         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
26419         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
26420         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
26421         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
26422         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
26423         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
26424         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
26425         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
26426         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
26427         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
26428         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
26429         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
26430         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
26431         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
26432         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
26433         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
26434         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
26435         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
26436         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
26437         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
26438         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
26440         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
26441         _XOPEN_SOURCE_EXTENDED for XPG4.
26443         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
26445         * Makeconfig (localtime): Remove variable.
26446         (inst_localtime-file): Likewise.
26448 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
26450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
26451         Update.
26452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26453         Update.
26454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
26455         Update.
26456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26457         Update.
26458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
26459         Update.
26460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
26461         Update.
26462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26463         Update.
26464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
26465         Update.
26466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26467         Update.
26469 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
26471         [BZ #2550]
26472         [BZ #2570]
26473         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
26474         comparisons to determine direction to adjust input.
26475         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26476         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
26477         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
26478         Likewise.
26479         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
26480         Likewise.
26481         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26482         Likewise.
26483         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
26484         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26485         Likewise.
26486         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26487         Likewise.
26488         * math/libm-test.inc (nexttoward_test): Add more tests.
26490 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
26492         [BZ #14040]
26493         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
26494         in version GLIBC_2.1, not GLIBC_2.0.
26495         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
26496         Likewise.
26498 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
26500         [BZ #13942]
26501         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
26502         (1 - x) * (1 + x).
26503         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26504         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
26505         * math/libm-test.inc (acos_test): Add more tests.
26506         (asin_test): Likewise.
26507         * sysdeps/i386/fpu/libm-test-ulps: Update.
26508         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26510         [BZ #14034]
26511         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
26512         of square root.
26513         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
26514         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26515         * math/libm-test.inc (acos_test_tonearest): New function.
26516         (acos_test_towardzero): Likewise.
26517         (acos_test_downward): Likewise.
26518         (acos_test_upward): Likewise.
26519         (asin_test_tonearest): Likewise.
26520         (asin_test_towardzero): Likewise.
26521         (asin_test_downward): Likewise.
26522         (asin_test_upward): Likewise.
26523         (main): Call the new functions.
26524         * sysdeps/i386/fpu/libm-test-ulps: Update.
26525         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26527         [BZ #13884]
26528         [BZ #13924]
26529         * math/e_exp10.c: Include <float.h>.
26530         (__ieee754_exp10): Handle underflow here rather than multiplying
26531         large negative argument by M_LN10.
26532         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
26533         of __ieee754_expf.
26534         * math/e_exp10l.c: Include <float.h>.
26535         (__ieee754_exp10l): Handle underflow here rather than multiplying
26536         large negative argument by M_LN10l.
26537         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
26538         spurious overflow exception on underflow.
26540 2012-04-29  Marek Polacek  <polacek@redhat.com>
26542         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
26543         (__fortify_function): New macro.
26544         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
26545         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
26546         __extern_always_inline.
26547         * libio/bits/stdio2.h: Likewise.
26548         * libio/bits/stdio.h: Likewise.
26549         * string/string.h: Likewise.
26550         * string/bits/string3.h: Likewise.
26551         * include/stdio.h: Likewise.
26552         * stdlib/bits/stdlib.h: Likewise.
26553         * stdlib/stdlib.h: Likewise.
26554         * rt/bits/mqueue2.h: Likewise.
26555         * rt/mqueue.h: Likewise.
26556         * posix/bits/unistd.h: Likewise.
26557         * posix/unistd.h: Likewise.
26558         * io/bits/poll2.h: Likewise.
26559         * io/bits/fcntl2.h: Likewise.
26560         * io/fcntl.h: Likewise.
26561         * io/sys/poll.h: Likewise.
26562         * misc/bits/syslog.h: Likewise.
26563         * misc/bits/syslog-ldbl.h: Likewise.
26564         * misc/sys/syslog.h: Likewise.
26565         * socket/bits/socket2.h: Likewise.
26566         * socket/sys/socket.h: Likewise.
26567         * debug/tst-chk1.c: Likewise.
26568         * wcsmbs/bits/wchar2.h: Likewise.
26569         * wcsmbs/bits/wchar-ldbl.h: Likewise.
26570         * wcsmbs/wchar.h: Likewise.
26572 2012-04-29  Andreas Jaeger  <aj@suse.de>
26574         * Makerules (tests): Remove enable-check-abi protection.
26575         (check-abi-warn): Remove.
26576         (check-abi-%): Remove check-abi-warn usage.
26578         * configure.in: Remove check-abi configure option.
26579         * configure: Regenerated.
26580         * config.make.in (enable-check-abi): Remove.
26582 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
26584         [BZ #14033]
26585         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
26586         double functions to double *_finite functions.
26588         [BZ #13941]
26589         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
26590         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
26591         LDBL_MIN_EXP.
26592         * stdio-common/Makefile (tests): Add tst-sprintf3.
26593         * stdio-common/tst-sprintf3.c: New file.
26595         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
26596         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
26598 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
26600         * conform/conformtest.pl: Remove duplicate typed-constant
26601         handling.
26603 2012-04-28  David S. Miller  <davem@davemloft.net>
26605         * Makerules (%.abilist): Add vpath on sysdep_dirs.
26606         (check-abi-%): Remove AWK script prerequisite and explicit
26607         abilist directory.
26608         (check-abi): Rewrite to just diff the symlist with the abilist.
26609         (config-tls, config-abi-config): Delete, no longer used.
26610         (update-abi-%): Remove AWK script and explicit abilist directory.
26611         (update-abi): Rewrite to simply compare and conditionally copy the
26612         symlist and the sysdep abilist file.  Remove update-abi-config
26613         checks.
26614         * abilist/ld.abilist: Remove.
26615         * abilist/libBrokenLocale.abilist: Remove.
26616         * abilist/libanl.abilist: Remove.
26617         * abilist/libcrypt.abilist: Remove.
26618         * abilist/libdl.abilist: Remove.
26619         * abilist/librt.abilist: Remove.
26620         * abilist/libthread_db.abilist: Remove.
26621         * abilist/libutil.abilist: Remove.
26622         * scripts/extract-abilist.awk: Remove.
26623         * scripts/merge-abilist.awk: Remove.
26624         * sysdeps/generic/libcidn.abilist: New file.
26625         * sysdeps/generic/libnss_compat.abilist: New file.
26626         * sysdeps/generic/libnss_db.abilist: New file.
26627         * sysdeps/generic/libnss_dns.abilist: New file.
26628         * sysdeps/generic/libnss_files.abilist: New file.
26629         * sysdeps/generic/libnss_hesiod.abilist: New file.
26630         * sysdeps/generic/libnss_nis.abilist: New file.
26631         * sysdeps/generic/libnss_nisplus.abilist: New file.
26632         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
26633         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
26634         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
26635         file.
26636         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
26637         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
26638         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
26639         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
26640         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
26641         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
26642         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
26643         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
26644         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
26645         file.
26646         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
26647         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
26648         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
26649         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
26650         file.
26651         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
26652         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
26653         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
26654         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
26655         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
26656         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
26657         file.
26658         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
26659         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
26660         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
26661         file.
26662         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
26663         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
26664         New file.
26665         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
26666         New file.
26667         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
26668         New file.
26669         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
26670         New file.
26671         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
26672         New file.
26673         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
26674         New file.
26675         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
26676         New file.
26677         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
26678         New file.
26679         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
26680         New file.
26681         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
26682         New file.
26683         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
26684         New file.
26685         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
26686         New file.
26687         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
26688         New file.
26689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
26690         file.
26691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26692         New file.
26693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26694         New file.
26695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
26696         file.
26697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26698         New file.
26699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26700         New file.
26701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
26702         file.
26703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26704         New file.
26705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26706         New file.
26707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26708         New file.
26709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26710         New file.
26711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26712         New file.
26713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26714         New file.
26715         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
26716         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
26717         file.
26718         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26719         New file.
26720         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
26721         file.
26722         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
26723         file.
26724         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
26725         file.
26726         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
26727         file.
26728         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
26729         file.
26730         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26731         New file.
26732         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
26733         file.
26734         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
26735         file.
26736         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26737         New file.
26738         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26739         file.
26740         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26741         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26742         file.
26743         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26744         New file.
26745         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26746         file.
26747         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26748         file.
26749         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26750         file.
26751         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26752         file.
26753         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26754         file.
26755         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26756         New file.
26757         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26758         file.
26759         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26760         file.
26761         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26762         New file.
26763         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26764         file.
26765         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26766         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26767         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26768         file.
26769         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26770         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26771         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26772         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26773         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26774         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26775         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26776         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26777         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26778         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26779         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26780         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26781         file.
26782         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26783         New file.
26784         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26785         file.
26786         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26787         file.
26788         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26789         file.
26790         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26791         file.
26792         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26793         file.
26794         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26795         New file.
26796         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26797         New file.
26798         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26799         file.
26800         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26801         New file.
26802         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26803         file.
26804         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26805         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26806         file.
26807         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26808         New file.
26809         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26810         file.
26811         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26812         file.
26813         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26814         file.
26815         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26816         file.
26817         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26818         file.
26819         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26820         New file.
26821         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26822         New file.
26823         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26824         file.
26825         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26826         New file.
26827         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26828         file.
26830 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
26832         * conform/conformtest.pl: Fix typo in handling typed-constant from
26833         allow-header.
26835 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
26837         * README: Cut down references to pre-2.6 Linux kernels and
26838         Linuxthreads.  Update lists of configurations in libc and ports
26839         and sort alphabetically.  Say "or newer" with Linux kernel version
26840         requirements.
26842         * config.h.in [IS_IN_build]: Allow compiling without optimization.
26844 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26846         [BZ #887]
26847         * math/libm-test.inc (logb_test_downward): New test to expose
26848         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26849         rounding mode.
26851 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
26853         [BZ #14027]
26854         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26855         to be done.
26856         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26857         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26859 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
26861         * sysdeps/unix/i386/brk.S: Remove file.
26862         * sysdeps/unix/i386/dl-brk.S: Likewise.
26863         * sysdeps/unix/i386/pipe.S: Likewise.
26864         * sysdeps/unix/i386/sigreturn.S: Likewise.
26865         * sysdeps/unix/i386/syscall.S: Likewise.
26866         * sysdeps/unix/i386/vfork.S: Likewise.
26867         * sysdeps/unix/i386/wait.S: Likewise.
26869         * sysdeps/unix/common/tcsendbrk.c: Move to ...
26870         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26872         * configure.in (arm*-none*): Do not allow without
26873         --enable-hacker-mode.
26874         (netbsd*): Remove case setting base_os.
26875         (386bsd*): Likewise.
26876         (freebsd*): Likewise.
26877         (bsdi*): Likewise.
26878         (osf*): Likewise.
26879         (sunos*): Likewise.
26880         (ultrix*): Likewise.
26881         (newsos*): Likewise.
26882         (dynix*): Likewise.
26883         (*bsd*): Likewise.
26884         (sysv*): Likewise.
26885         (isc*): Likewise.
26886         (esix*): Likewise.
26887         (sco*): Likewise.
26888         (minix*): Likewise.
26889         (irix4*): Likewise.
26890         (irix6*): Likewise.
26891         (solaris[2-9]*): Likewise.
26892         (none): Likewise.
26893         * configure: Regenerated.
26895 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26897         [BZ #11521]
26898         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26899         overflow or cancellation in calculating denominator.
26900         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26901         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26902         down expression to avoid unexpected rounding in newer GCCs.
26903         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26905 2012-04-26  David S. Miller  <davem@davemloft.net>
26907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26908         long-double compat symbols.
26909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26914         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26915         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26916         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26917         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26918         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26919         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26920         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26921         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26923 2012-04-25  David S. Miller  <davem@davemloft.net>
26925         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26926         HWCAP_* values only after the memory barriers have been defined.
26927         (atomic_full_barrier): Define.
26928         (atomic_read_barrier): Define.
26929         (atomic_write_barrier): Define.
26931 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26933         * shlib-versions: Add libgcc_s version information.
26934         * sysdeps/generic/libgcc_s.h: Remove.
26935         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26936         libgcc_s.h.
26937         * sysdeps/gnu/unwind-resume.c: Likewise.
26938         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26940 2012-04-25  David S. Miller  <davem@davemloft.net>
26942         * sysdeps/unix/sparc/brk.S: Delete.
26943         * sysdeps/unix/sparc/dl-brk.S: Delete.
26944         * sysdeps/unix/sparc/pipe.S: Delete.
26945         * sysdeps/unix/sparc/sysdep.S: Delete.
26946         * sysdeps/unix/sparc/sysdep.h: Delete.
26947         * sysdeps/unix/sparc/vfork.S: Delete.
26948         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26949         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26950         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26951         ret_ERRVAL, r0, r1, MOVE): Define.
26952         (JUMPTARGET): Remove.
26953         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26954         sysdeps/unix/sparc/sysdep.h
26955         (ENTRY, END): Remove.
26956         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26958 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
26960         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26961         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26962         -DIS_IN_build.
26964         * timezone/README: Update upstream location and email address for
26965         tzcode and tzdata.
26966         * timezone/zdump.c: Update from tzcode 2012b.
26967         * timezone/zic.c: Likewise.
26969         * configure.in (libc_cv_as_needed): Remove test.
26970         * configure: Regenerated.
26971         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26972         conditional definition.
26973         [$(have-as-needed) != yes] (no-as-needed): Likewise.
26974         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26975         * config.make.in (have-as-needed): Remove variable.
26977 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26978             Paul Pluzhnikov  <ppluzhnikov@google.com>
26980         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26981         strings correctly.
26983 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
26985         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26986         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26987         * sysdeps/sh/strlen.S: Likewise.
26989 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26991         * sysdeps/unix/fork.S: Remove file.
26992         * sysdeps/unix/i386/fork.S: Likewise.
26993         * sysdeps/unix/sparc/fork.S: Likewise.
26995         * sysdeps/unix/system.c: Remove file.
26996         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26998         * sysdeps/unix/getegid.S: Remove file.
26999         * sysdeps/unix/geteuid.S: Likewise.
27001 2012-04-24  Roland McGrath  <roland@hack.frob.com>
27003         * scripts/check-localplt.awk: New file.
27004         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
27005         of diff.
27006         * scripts/data/localplt-generic.data: Add a comment.
27008         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
27009         NODE when __dir_mkfile failed.
27010         * sysdeps/mach/hurd/symlinkat.c: Likewise.
27011         Reported by Ludovic Courtès <ludo@gnu.org>.
27013 2012-04-24  Andreas Jaeger  <aj@suse.de>
27015         * Makerules (common-clean): Also remove gen-as-const-headers
27016         files.
27018 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
27020         * Makerules (native-compile): Do not change working directory for
27021         build.  Use $(OUTPUT_OPTION) in command.
27022         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
27024 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27026         [BZ #13886]
27027         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
27028         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
27029         * math/libm-test.inc (floor_test): Add more tests.
27030         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
27032 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
27034         * sysdeps/unix/getdents.c: Remove file.
27035         * sysdeps/unix/sysv/getdents.c: Likewise.
27036         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
27038         * sysdeps/unix/syscalls.list (madvise): Add syscall from
27039         sysdeps/unix/mman/syscalls.list.
27040         (mmap): Likewise.
27041         (mprotect): Likewise.
27042         (msync): Likewise.
27043         (munmap): Likewise.
27044         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
27045         * sysdeps/unix/mman/syscalls.list: Remove.
27046         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
27048         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
27049         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
27050         * configure: Regenerated.
27051         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
27052         $(libgcc_s_suffix).
27053         * config.make.in (libgcc_s_suffix): Remove variable.
27055 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
27057         * sysdeps/unix/sysv/gethostname.c: Move to ...
27058         * sysdeps/posix/gethostname.c: ... here.
27060         * sysdeps/unix/execve.S: Remove file.
27062         * sysdeps/unix/_exit.S: Remove file.
27064 2012-04-23  Andreas Jaeger  <aj@suse.de>
27066         [BZ #13739]
27067         * manual/Makefile: Remove make dist support, there's no
27068         need for a stand-alone documentation tar ball.
27069         (TEXI2DVI): Define always, it's not in Makeconfig.
27070         (dist): Removed.
27071         (tar-it): Removed.
27072         (edition): Removed.
27073         (glibc-doc-$(edition).tar): Removed
27074         (%.Z): Removed.
27075         (%.gz): Removed.
27076         (%.uu): Removed.
27077         (ETAGS): Remove, it's in Makeconfig.
27078         (move-if-change): Remove, it's in Makeconfig.
27080 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
27082         [BZ #13970]
27083         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
27084         (strtod, strtof, strtold, strtol, strtoul, strtoq)
27085         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
27086         (strtod_l, strtof_l, strtold_l): Remove __wur.
27087         It is not necessarily an error to ignore strtol's return value.
27088         One can reliably look at the stored endptr to decide whether
27089         the number had valid syntax.
27091 2012-04-21  Andreas Jaeger  <aj@suse.de>
27093         [BZ #13739]
27094         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
27096 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
27098         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
27099         * sysdeps/unix/sysv/Versions: Remove file.
27101 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
27103         [BZ #13927]
27104         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27106 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
27108         [BZ #7064]
27109         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
27110         version from __vm86.
27112 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
27114         * sysdeps/unix/common/lxstat.c: Remove file.
27115         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
27117         * sysdeps/unix/sysv/Makefile: Remove file.
27119         * sysdeps/unix/sysv/direct.h: Remove file.
27121         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
27122         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
27123         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
27124         * sysdeps/unix/sysv/bits/signum.h: Likewise.
27125         * sysdeps/unix/sysv/bits/stat.h: Likewise.
27126         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
27127         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
27129         * sysdeps/unix/sysv/setrlimit.c: Remove file.
27131         * sysdeps/unix/xmknod.c: Remove file.
27132         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
27134         * sysdeps/unix/sysv/settimeofday.c: Remove file.
27136         * sysdeps/unix/sysv/i386/time.S: Remove file.
27138         * sysdeps/unix/fxstat.c: Remove file.
27139         * sysdeps/unix/xstat.c: Likewise.
27140         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
27142         * sysdeps/unix/sysv/sigaction.c: Remove file.
27144         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
27145         (sysdep_headers): Remove variable.
27146         [termio.h not in sysdep_headers] (generated): Likewise.
27147         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
27148         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
27149         * sysdeps/unix/sysv/tcdrain.c: Likewise.
27150         * sysdeps/unix/sysv/tcflow.c: Likewise.
27151         * sysdeps/unix/sysv/tcflush.c: Likewise.
27152         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
27153         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
27154         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
27155         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
27156         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
27158         * sysdeps/unix/siglist.c: Remove file.
27160         * sysdeps/unix/getppid.S: Remove file.
27162         * sysdeps/unix/mkdir.c: Remove file.
27163         * sysdeps/unix/rmdir.c: Likewise.
27165 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
27167         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
27168         ERR_MAX value.
27169         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
27170         errlist-compat value.
27172 2012-04-18  David S. Miller  <davem@davemloft.net>
27174         * sysdeps/generic/memcopy.h (reg_char): Delete.
27175         * debug/strcat_chk.c: Use char, not reg_char.
27176         * debug/strcpy_chk.c: Likewise.
27177         * debug/strncat_chk.c: Likewise.
27178         * debug/strncpy_chk.c: Likewise.
27179         * string/memchr.c: Likewise.
27180         * string/memrchr.c: Likewise.
27181         * string/rawmemchr.c: Likewise.
27182         * string/strcat.c: Likewise.
27183         * string/strchr.c: Likewise.
27184         * string/strchrnul.c: Likewise.
27185         * string/strcmp.c: Likewise.
27186         * string/strcpy.c: Likewise.
27187         * string/strncat.c: Likewise.
27188         * string/strncmp.c: Likewise.
27189         * string/strncpy.c: Likewise.
27191 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
27193         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
27194         __builtin_memcopy is called when src and dest ranges are known to not
27195         overlap.
27197 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
27199         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
27200         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
27201         fwd_align_merge macro call.
27202         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
27203         bwd_align_merge macro call.
27204         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27206 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
27208         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
27209         bwd_align_merge macros.
27210         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
27211         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
27212         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27214 2012-04-18  David S. Miller  <davem@davemloft.net>
27216         * sysdeps/sparc/sparc64/memcopy.h: Delete.
27218 2012-04-18  Andreas Jaeger  <aj@suse.de>
27220         [BZ# 6794]
27221         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
27222         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
27223         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27225         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
27226         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
27227         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27229         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
27230         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
27231         Adjust for changed ldbl-128 files.
27233         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
27234         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
27235         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27237 2012-04-17  David S. Miller  <davem@davemloft.net>
27239         * sysdeps/sparc/sparc32/memcopy.h: Delete.
27241 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
27243         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
27244         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
27245         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
27246         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
27247         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27248         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
27250 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27252         [BZ #6794]
27253         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
27254         * math/libm-test.inc: Add ilogb errno and exception tests.
27255         * math/w_ilogb.c: New file: ilogb wrapper.
27256         * math/w_ilogbf.c: New file: ilogbf wrapper.
27257         * math/w_ilogbl.c: New file: ilogbl wrapper.
27258         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
27259         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
27260         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
27261         exception being thrown with 0.0 as argument.
27262         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
27263         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
27264         exception being thrown with 0.0 as argument.
27265         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
27266         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27267         exception being thrown with 0.0 as argument.
27268         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
27269         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27270         exception being thrown with 0.0 as argument.
27271         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
27272         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
27273         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
27274         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
27275         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
27276         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
27277         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
27278         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
27279         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
27281 2012-04-17  Petr Baudis  <pasky@ucw.cz>
27283         * include/sys/uio.h: Change __vector to __iovec to avoid clash
27284         with altivec.
27286 2012-04-16  Marek Polacek  <polacek@redhat.com>
27288         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
27290 2012-04-16  Marek Polacek  <polacek@redhat.com>
27292         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
27293         operands of fdivp instruction.
27295 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
27297         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
27298         * elf/tst-auditmod3b.c: Likewise.
27299         * elf/tst-auditmod4b.c: Likewise.
27300         * elf/tst-auditmod5b.c: Likewise.
27301         * elf/tst-auditmod6b.c: Likewise.
27302         * elf/tst-auditmod6c.c: Likewise.
27303         * elf/tst-auditmod7b.c: Likewise.
27304         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
27305         * sysdeps/x86_64/preconfigure.in: Likewise.
27306         * sysdeps/x86_64/preconfigure: Regenerated.
27308 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
27310         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
27311         __ILP32__.
27313 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
27315         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27316         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
27318 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
27320         [BZ #13973]
27321         * locale/iso-639.def: Fix gl language name. Spotted by
27322         Yaron Shahrabani.
27324 2012-04-12  Roland McGrath  <roland@hack.frob.com>
27326         [BZ #2074]
27327         * libio/libio.h (__io_write_fn): Update comment.
27329 2012-04-12  Petr Baudis  <pasky@ucw.cz>
27331         [BZ #2074]
27332         * stdio.texi (Hook Functions): The user provided writer function
27333         is not allowed to return -1.
27335 2012-04-11  David S. Miller  <davem@davemloft.net>
27337         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27339 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
27341         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
27342         Add a leading slash to rtkaio.
27344 2012-04-11  Jim Meyering  <meyering@redhat.com>
27346         [BZ #11959]
27347         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
27348         It is not necessarily an error to ignore fwrite's return
27349         value.  One can reliably use ferror to test for errors after
27350         the fact.
27352 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
27354         * bits/types.h (__snseconds_t): New type.
27355         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
27357         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
27358         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27359         (__SNSECONDS_T_TYPE): Likewise.
27360         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27361         (__SNSECONDS_T_TYPE): Likewise.
27362         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27363         (__SNSECONDS_T_TYPE): Likewise.
27365 2012-04-10  Andreas Jaeger  <aj@suse.de>
27367         [BZ #2636]
27368         * manual/time.texi (Processor Time): Return type of times is
27369         elapsed real time since an arbitrary point in the past.
27370         (CPU Time): Move CLK_TCK from here...
27371         (Processor Time): ...to here.  Correct description.
27372         * manual/conf.texi (Constants for Sysconf): Correct description of
27373         _SC_CLK_TCK.
27375 2012-04-10  David S. Miller  <davem@davemloft.net>
27377         [BZ #13967]
27378         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
27379         where the is a gap between DT_REL(A) and DT_JMPREL.
27381 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
27383         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
27384         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27385         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27387 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27389         * elf/dl-support.c (_dl_inhibit_cache): New variable.
27390         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
27391         (dl_main): Handle --inhibit-cache.
27392         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
27393         _dl_inhibit_cache.
27394         * elf/dl-load.c (_dl_map_object): Use it.
27395         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
27397 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
27399         [BZ #13872]
27400         * sysdeps/i386/fpu/e_powl.S (p78): New object.
27401         (__ieee754_powl): Saturate large exponents rather than testing for
27402         overflow of y*log2(x).
27403         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27404         * math/libm-test.inc (pow_test): Do not permit spurious overflow
27405         exceptions.
27407         [BZ #11521]
27408         * math/s_ctan.c: Include <float.h>.
27409         (__ctan): Avoid internal overflow or cancellation in calculating
27410         denominator.
27411         * math/s_ctanf.c: Likewise.
27412         * math/s_ctanl.c: Likewise.
27413         * math/s_ctanh.c: Likewise.
27414         * math/s_ctanhf.c: Likewise.
27415         * math/s_ctanhl.c: Likewise.
27416         * math/libm-test.inc (ctan_test): Add more tests.
27417         (ctanh_test): Likewise.
27418         * sysdeps/i386/fpu/libm-test-ulps: Update.
27419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27421 2012-04-09  Andreas Jaeger  <aj@suse.de>
27423         [BZ #6894]
27424         * manual/filesys.texi (Directory Entries): Mention that d_namlen
27425         is an optional BSD extension.
27427         [BZ #10254]
27428         * manual/stdio.texi (Opening Streams): Document additional fopen
27429         parameters.
27431 2012-04-09  Roland McGrath  <roland@hack.frob.com>
27433         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
27434         %eax without telling the compiler.
27436 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
27438         [BZ # 13963]
27439         * manual/install.texi: Use sourceware.org.
27441 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
27443         [BZ #13873]
27444         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
27445         (__ieee754_pow): Generate overflow and underflow using huge*huge
27446         and tiny*tiny rather than just returning constant infinity or zero
27447         for large exponents.
27448         * math/libm-test.inc (pow_test): Require overflow exceptions for
27449         applicable cases of large exponents.
27451         [BZ #706]
27452         * sysdeps/i386/fpu/e_pow.S (p10): New object.
27453         (__ieee754_pow): Use iterative multiplication algorithm only for
27454         integer exponents with absolute value below 1024.  Check for odd
27455         integer exponents when using algorithm for real exponents.
27456         * math/libm-test.inc (pow_test): Add more tests.
27457         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27459 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
27461         [BZ #13705]
27462         * math/libm-test.inc (exp_test): Do not allow overflow exception
27463         on underflow test.
27465 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
27467         [BZ #13705]
27468         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
27469         instead of __kernel_standard_f.
27471 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
27473         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
27474         * sysdeps/x86_64/memset_chk.S: Likewise.
27476 2012-04-08  Andreas Jaeger  <aj@suse.de>
27478         [BZ #10153]
27479         * manual/startup.texi (Environment Access): Describe return value
27480         for putenv and setenv.
27482         [BZ #6895]
27483         * manual/filesys.texi (Directory Entries): Add description for
27484         DT_LNK.
27486         [BZ #6890]
27487         * manual/filesys.texi (Directory Entries): Clarify that it's file
27488         system not operating system in the description of DT_UNKNOWN.
27490         [BZ #6578]
27491         * manual/syslog.texi (closelog): Fix reference, it's openlog.
27493 2012-04-08  Stephen Compall  <s11@member.fsf.org>
27495         [BZ #6649]
27496         * manual/llio.texi (Opening and Closing Files): Add cross
27497         reference to explain mode argument.
27499 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
27501         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
27502         * sysdeps/x86_64/memset_chk.S: Likewise.
27504 2012-04-07  David S. Miller  <davem@davemloft.net>
27506         * elf/elf.h (R_SPARC_WDISP10): Define.
27507         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
27508         R_SPARC_SIZE32.
27509         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
27510         R_SPARC_SIZE64 and R_SPARC_H34.
27512 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
27514         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
27515         conditions and remove no longer applicable assertion.
27517 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
27519         * bits/byteswap.h: Include <features.h>.
27520         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27521         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27523 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
27525         * bits/byteswap.h (__bswap_16): Removed.
27526         Include <bits/byteswap-16.h> to get __bswap_16.
27527         * sysdeps/i386/bits/byteswap.h: Likewise.
27528         * sysdeps/s390/bits/byteswap.h: Likewise.
27529         * sysdeps/x86_64/bits/byteswap.h: Likewise.
27530         * bits/byteswap-16.h: New file.
27531         * sysdeps/i386/bits/byteswap-16.h: Likewise.
27532         * sysdeps/s390/bits/byteswap-16.h: Likewise.
27533         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
27534         * string/Makefile (headers): Add bits/byteswap-16.h.
27536 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
27538         [BZ #13895]
27539         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
27540         extra indirection.
27541         * nss/Makefile (tests-static, tests): Add tst-nss-static.
27542         * nss/tst-nss-static.c: New.
27544 2012-04-06  Robert Millan  <rmh@gnu.org>
27546         [BZ #6486]
27547         * manual/llio.texi (File Position Primitive): lseek
27548         refers to WHENCE when it really means OFFSET.
27550 2012-04-06  Andreas Jaeger  <aj@suse.de>
27552         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
27553         strncmp declarations.
27555         * abilist/libc.abilist: Add __poll and __ppoll.
27557 2012-04-05  David S. Miller  <davem@davemloft.net>
27559         * scripts/check-local-headers.sh: Accept a host triplet in the
27560         path matched by the exclude regexp.
27562         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
27563         definition.
27564         * sysdeps/powerpc/powerpc32/dl-machine.h
27565         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
27566         * sysdeps/s390/s390-32/dl-machine.h
27567         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27568         * sysdeps/sparc/sparc32/dl-machine.h
27569         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27570         * sysdeps/sparc/sparc64/dl-machine.h
27571         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27573         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
27574         lazy binding.
27575         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
27576         undefined symbol errors.
27578         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
27579         DT_NEEDED entries.
27581 2012-04-05  Michael Matz  <matz@suse.de>
27583         [BZ #13592]
27584         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
27586 2012-04-05  Andreas Jaeger  <aj@suse.de>
27588         [BZ #13908]
27589         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
27590         comment.
27592 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27594         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
27595         which ROUND is no valid rounding mode.
27597 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27599         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
27600         read again.
27601         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
27603 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27605         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
27606         an exception using FPU order intentionally.
27608 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27610         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
27611         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
27612         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
27613         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
27615 2012-04-05  Simon Josefsson  <simon@josefsson.org>
27617         [BZ #12340]
27618         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
27619         EINVAL when BUFLEN is too smal.
27621 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
27623         [BZ #13553]
27624         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
27625         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
27627 2012-04-03  Andreas Jaeger  <aj@suse.de>
27629         [BZ #13938]
27630         * manual/setjmp.texi (System V contexts): Fix sentence.
27632         [BZ #13926]
27633         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
27634         New macro for this case.
27635         [!__GNUC__] (__bswap_64): New inline function for this case.
27636         * sysdeps/x86_64/bits/byteswap.h: Likewise.
27637         * bits/byteswap.h: Likewise.
27638         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
27639         ull, guard with __GLIBC_HAVE_LONG_LONG.
27641         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
27642         __GLIBC_HAVE_LONG_LONG.
27644         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
27645         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
27647 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27649         [BZ #13691]
27650         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
27651         inptr and inend, rather than using last_ch.
27653 2012-04-02  David S. Miller  <davem@davemloft.net>
27655         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
27656         * stdio-common/printf-parse.h (read_int): Change return type to
27657         'int', return -1 on INT_MAX overflow.
27658         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
27659         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
27660         overflows INT_MAX.  Check for overflow of in-format-string precision
27661         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
27662         SIZE_MAX not INT_MAX for integer overflow test.
27663         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
27664         skip the construct in the format string but do not record anything.
27665         * stdio-common/bug22.c: Adjust to test both width/prevision
27666         INT_MAX overflow as well as total length INT_MAX overflow.  Check
27667         explicitly for proper errno values.
27669 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
27671         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
27672         CHAR_MAX.
27673         * string/test-strcmp.c [! WIDE]: Likewise.
27674         * time/tst-mktime2.c: Likewise for INT_MAX.
27675         * string/test-string.h: #include <sys/param.h> for MIN.
27677         * csu/init-first.c (__libc_init_first): Call __ctype_init.
27678         * sysdeps/i386/init-first.c (init): Likewise.
27679         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
27680         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
27681         * sysdeps/sh/init-first.c (init): Likewise.
27683 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
27685         * po/ru.po: Update from translation team.
27686         * po/vi.po: Likewise.
27688 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
27690         * resolv/nss_dns/dns-host.c: Merge copyright years.
27692 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27694         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27695         Optimize memcpy with prefetch if
27696         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
27697         src, dst pointers have unequal 16 byte alignments.
27699 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27701         [BZ #13928]
27702         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
27703         from a CNAME entry and return the minimum ttl for the query.
27704         (gaih_getanswer_slice): Likewise.
27706 2012-03-30  Jeff Law  <law@redhat.com>
27708         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
27709         due to long keys.
27710         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27711         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27713         * resolv/nss_dns/dns-host.c: Update copyright year.
27715 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
27717         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
27718         requests to save a system call.  Fix check that all bytes are sent.
27720         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
27721         comments for sendmmsg.
27723 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27725         [BZ #13691]
27726         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
27727         with only 1 character between 0x0041 and 0x01b0.
27728         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
27729         * wcsmbs/tst-mbsnrtowcs.c: New file.
27731 2012-03-29  David S. Miller  <davem@davemloft.net>
27733         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27734         small copies by hand.
27736 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27738         [BZ #13761]
27739         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27740         _nss_compat_initgroups_dyn): Fall back to malloc/free
27741         for large group memberships.
27743 2012-03-28  David S. Miller  <davem@davemloft.net>
27745         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27746         that branches into memcpy.
27747         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27748         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27749         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27750         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27751         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27752         bits.
27753         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27754         implementation too.
27755         * sysdeps/sparc/mempcpy.S: New file.
27757         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27758         the IFUNC routine in the libc case.
27759         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27761         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27762         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27763         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27764         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27765         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27766         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27767         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27768         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27770         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27771         loop to 256 bytes instead of 64 bytes and fix test signedness.
27773         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27774         * sysdeps/sparc/sparc32/Makefile: rather than here...
27775         * sysdeps/sparc/sparc64/Makefile: and here.
27777 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
27779         * malloc/mallocbug.c: Avoid warnings about unused variables.
27781 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27783         [BZ #13760]
27784         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27785         in the right place. Discard and retry query if response is
27786         larger than input buffer size.
27788 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
27790         [BZ #369]
27791         [BZ #2678]
27792         [BZ #3866]
27793         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27794         x for large integer exponent.
27795         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27796         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
27797         sign of result as needed afterwards.
27798         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27799         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27800         result for underflowing pow the same as for overflow.
27801         (__kernel_standard_l): Handle powl overflow and underflow here
27802         rather than calling __kernel_standard.
27803         * math/libm-test.inc (pow_test): Add more tests.
27805         [BZ #3868]
27806         [BZ #13879]
27807         [BZ #13910]
27808         [BZ #13911]
27809         [BZ #13912]
27810         [BZ #13913]
27811         [BZ #13915]
27812         [BZ #13916]
27813         [BZ #13917]
27814         [BZ #13918]
27815         [BZ #13919]
27816         [BZ #13920]
27817         [BZ #13921]
27818         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27819         * sysdeps/ieee754/k_standard.c: Include <float.h>.
27820         (__kernel_standard_l): New function.
27821         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27822         __kernel_standard.
27823         * math/w_acosl.c (__acosl): Likewise.
27824         * math/w_asinl.c (__asinl): Likewise.
27825         * math/w_atan2l.c (__atan2l): Likewise.
27826         * math/w_atanhl.c (__atanhl): Likewise.
27827         * math/w_coshl.c (__coshl): Likewise.
27828         * math/w_exp10l.c (__exp10l): Likewise.
27829         * math/w_exp2l.c (__exp2l): Likewise.
27830         * math/w_fmodl.c (__fmodl): Likewise.
27831         * math/w_hypotl.c (__hypotl): Likewise.
27832         * math/w_j0l.c (__j0l, __y0l): Likewise.
27833         * math/w_j1l.c (__j1l, __y1l): Likewise.
27834         * math/w_jnl.c (__jnl, __ynl): Likewise.
27835         * math/w_lgammal.c (__lgammal): Likewise.
27836         * math/w_log10l.c (__log10l): Likewise.
27837         * math/w_log2l.c (__log2l): Likewise.
27838         * math/w_logl.c (__logl): Likewise.
27839         * math/w_powl.c (__powl): Likewise.
27840         * math/w_remainderl.c (__remainderl): Likewise.
27841         * math/w_scalbl.c (sysv_scalbl): Likewise.
27842         * math/w_sinhl.c (__sinhl): Likewise.
27843         * math/w_sqrtl.c (__sqrtl): Likewise.
27844         * math/w_tgammal.c (__tgammal): Likewise.
27845         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27846         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27847         * math/libm-test.inc (acos_test): Add more tests.
27848         (acosh_test): Likewise.
27849         (asin_test): Likewise.
27850         (atanh_test): Likewise.
27851         (exp_test): Likewise.
27852         (exp10_test): Likewise.
27853         (exp2_test): Likewise.
27854         (expm1_test): Likewise.
27855         (lgamma_test): Likewise.
27856         (log_test): Likewise.
27857         (log10_test): Likewise.
27858         (log1p_test): Likewise.
27859         (log2_test): Likewise.
27860         (pow_test): Do not allow some spurious overflow exceptions.
27861         (sqrt_test): Add more tests.
27862         (tgamma_test): Likewise.
27863         (y0_test): Likewise.
27864         (y1_test): Likewise.
27865         (yn_test): Likewise.
27867 2012-03-27  Anton Blanchard  <anton@samba.org>
27869         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27870         MAP_HUGETLB.
27871         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27872         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27873         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27875 2012-03-27  David S. Miller  <davem@davemloft.net>
27877         * conform/Makefile: Run run-conformtest.sh using $(BASH).
27879         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27880         have-as-vis3 check.
27882 2012-03-27  Andreas Jaeger  <aj@suse.de>
27884         * sysdeps/x86_64/elf/configure.in: Moved to ...
27885         * sysdeps/x86_64/configure.in: ... here.
27886         * sysdeps/x86_64/elf/start.S: Moved to ...
27887         * sysdeps/x86_64/start.S: ... here.
27888         * sysdeps/x86_64/elf/configure: Delete.
27890         * sysdeps/x86_64/configure.in: Merge contents from
27891         sysdeps/i386/configure.in (without i686 check).
27893         * sysdeps/i386/elf/Versions: Merge into ...
27894         * sysdeps/i386/Versions: ... this.
27895         * sysdeps/i386/elf/Versions: Delete file.
27896         * sysdeps/i386/elf/start.S: Moved to ...
27897         * sysdeps/i386/start.S: ...here.
27898         * sysdeps/i386/elf/configure.in: Merge into...
27899         * sysdeps/i386/configure.in: ...here.
27900         * sysdeps/i386/elf/configure.in: Delete file.
27901         * sysdeps/i386/elf/configure: Delete file.
27903         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27904         * debug/backtracesyms.c: ... here.
27905         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27906         * debug/backtracesymsfd.c: ... here.
27907         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27908         * sysdeps/generic/ifunc-sel.h: ... here.
27910         * sysdeps/unix/i386/start.c: Delete file.
27911         * sysdeps/unix/sparc/start.c: Delete file.
27912         * sysdeps/unix/start.c: Delete file.
27914         * sysdeps/sh/elf/configure.in: Moved to ...
27915         * sysdeps/sh/configure.in: ... here.
27916         * sysdeps/sh/elf/start.S: Moved to ...
27917         * sysdeps/sh/start.S: ... here.
27918         * sysdeps/sh/elf/configure: Delete file.
27920         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27921         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27922         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27923         * sysdeps/powerpc/powerpc64/entry.h: ... here.
27924         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27925         * sysdeps/powerpc/powerpc64/start.S: here.
27926         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27927         * sysdeps/powerpc/powerpc64/Makefile: ... this.
27928         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27929         * sysdeps/powerpc/powerpc64/configure.in: ... this.
27930         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27932         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27933         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27934         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27935         * sysdeps/powerpc/powerpc32/start.S: ... here.
27936         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27937         * sysdeps/powerpc/powerpc32/configure.in: ... this.
27938         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27940         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27941         * sysdeps/powerpc/ifunc-sel.h: ... here.
27942         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27943         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27945         * sysdeps/sparc/elf/configure.in: Moved to ...
27946         * sysdeps/sparc/configure.in: ... here.
27947         * sysdeps/sparc/elf/configure: Delete file.
27948         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27949         * sysdeps/sparc/sparc32/start.S: ... here.
27950         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27951         * sysdeps/sparc/sparc64/start.S: ... here.
27952         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27953         * sysdeps/sparc/sparc32/Makefile: ... this.
27954         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27955         * sysdeps/sparc/sparc64/Makefile: ... this.
27957         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27958         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27959         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27960         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27961         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27962         * sysdeps/s390/s390-32/setjmp.S: ... here.
27963         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27964         * sysdeps/s390/s390-32/configure.in: ... here.
27965         * sysdeps/s390/s390-32/elf/configure: Delete file.
27966         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27967         * sysdeps/s390/s390-32/start.S: ... here.
27969         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27970         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27971         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27972         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27973         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27974         * sysdeps/s390/s390-64/setjmp.S: ... here.
27975         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27976         * sysdeps/s390/s390-64/configure.in: ... here
27977         * sysdeps/s390/s390-64/elf/configure: Delete file.
27978         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27979         * sysdeps/s390/s390-64/start.S: ... here.
27980         * sysdeps/s390/s390-64/elf/configure: Delete.
27982         * configure.in: Remove support for elf directories in sysdeps.
27984         * configure: Regenerated.
27985         * sysdeps/i386/configure: Regenerated.
27986         * sysdeps/powerpc/powerpc32/configure: Regenerated.
27987         * sysdeps/powerpc/powerpc64/configure: Regenerated.
27988         * sysdeps/s390/s390-32/configure: Regenerated.
27989         * sysdeps/s390/s390-64/configure: Regenerated.
27990         * sysdeps/sh/configure: Regenerated.
27991         * sysdeps/sparc/configure: Regenerated.
27992         * sysdeps/x86_64/configure: Regenerated.
27994 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
27996         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27998         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27999         denormal result into account.
28001 2012-03-25  Roland McGrath  <roland@hack.frob.com>
28003         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
28004         Reported by Allan McRae <allan@archlinux.org>.
28006 2012-03-23  Jeff Law  <law@redhat.com>
28008         * nss/getnssent.c (__nss_getent): Fix typo.
28010 2012-03-23  David S. Miller  <davem@davemloft.net>
28012         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28014 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
28016         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
28017         to pad to uint64_t for each field.
28018         (dl_tls_index): Replace unsigned long with uint64_t.
28020 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
28021         Paul Pluzhnikov  <ppluzhnikov@google.com>
28023         [BZ #6528]
28024         * grp/Makefile (otherlibs): Don't set it.
28025         * inet/Makefile (otherlibs): Likewise.
28026         * login/Makefile (otherlibs): Likewise.
28027         * nscd/Makefile (otherlibs): Likewise.
28028         * posix/Makefile (otherlibs): Likewise.
28029         * pwd/Makefile (otherlibs): Likewise.
28030         * rt/Makefile (otherlibs): Likewise.
28031         * sunrpc/Makefile (otherlibs): Likewise.
28032         * nss/Makefile (otherlibs): Likewise.
28033         Add libnss_files to routines and static-only-routines.
28034         ($(objpfx)getent): Remove rule.
28035         * resolv/Makefile: Add libnss_dns and libresolv to routines and
28036         static-only-routines.
28038 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
28040         [BZ #13892]
28041         * math/s_cexp.c: Include <float.h>.
28042         (__cexp): Handle exp result overflowing not necessarily
28043         overflowing both real and imaginary parts of result.
28044         * math/s_cexpf.c: Likewise.
28045         * math/s_cexpl.c: Likewise.
28046         * math/libm-test.inc (cexp_test): Add more tests.
28047         * sysdeps/i386/fpu/libm-test-ulps: Update.
28048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28050 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
28052         * include/link.h (ELFW): New macro.
28053         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
28054         Replace ELF64_R_TYPE with ELFW(R_TYPE).
28056 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
28058         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
28059         with uint64_t.
28061 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
28063         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
28064         declaration.
28065         (struct La_x32_retval): Likewise.
28067 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
28069         * sysdeps/x86_64/preconfigure.in: New file.
28070         * sysdeps/x86_64/preconfigure: New generated file.
28072 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
28074         [BZ #13824]
28075         * math/e_exp2l.c: Include <float.h>.
28076         (__ieee754_exp2l): Handle overflow and underflow cases
28077         separately.  Only pass fractional part of argument to
28078         __ieee754_expl.
28079         * math/libm-test.inc (exp2_test): Add more tests.
28081         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
28082         negating x to take absolute value.
28083         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
28084         Likewise.
28085         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28086         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
28087         Likewise.
28088         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
28089         computing low part if x was negated.
28090         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28092 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
28094         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
28095         la_x32_gnu_pltexit.
28096         (pltexit): Cast int_retval to ptrdiff_t.
28097         * elf/tst-auditmod3b.c: Likewise.
28098         * elf/tst-auditmod4b.c: Likewise.
28099         * elf/tst-auditmod5b.c: Likewise.
28100         * elf/tst-auditmod6b.c: Likewise.
28101         * elf/tst-auditmod6c.c: Likewise.
28102         * elf/tst-auditmod7b.c: Likewise.
28104         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
28105         and x32_gnu_pltexit.
28107         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
28108         __ELF_NATIVE_CLASS.
28109         (La_x32_regs): New macro.
28110         (La_x32_retval): Likewise.
28111         (la_x32_gnu_pltenter): New function prototype.
28112         (la_x32_gnu_pltexit): Likewise.
28114 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
28116         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
28117         exponent.
28119         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28121         * configure.in (libc_cv_cc_nofma): Check for option to disable
28122         generation of FMA instructions.
28123         * configure: Regenerate.
28124         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
28125         * sysdeps/ieee754/dbl-64/Makefile: New file.
28126         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28127         Remove brandred-fma4.
28128         (CFLAGS-brandred-fma4.c): Remove.
28129         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
28130         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
28131         define.
28132         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
28133         define.
28135 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
28137         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28138         LLONG_MAX != LONG_MAX.
28139         (_itoa_word): Use _ITOA_WORD_TYPE on value.
28140         (_fitoa_word): Likewise.
28141         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
28142         LLONG_MAX != LONG_MAX.
28143         * stdio-common/_itowa.h: Include <_itoa.h>.
28144         (_itowa_word): Use _ITOA_WORD_TYPE on value.
28145         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
28146         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
28147         only if not defined.
28148         (_ITOA_WORD_TYPE): Likewise.
28149         (_itoa_word): Use _ITOA_WORD_TYPE on value.
28150         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
28152 2012-03-21  David S. Miller  <davem@davemloft.net>
28154         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28156 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
28158         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
28159         of x86_64 when setting libc_cv_slibdir, libdir and
28160         libc_cv_localedir.
28161         * sysdeps/unix/sysv/linux/configure: Regenerated.
28163 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
28165         * manual/lang.texi (Old Varargs): Remove section.
28166         (How Variadic): Update menu.
28167         (va_start): Do not mention varargs.h.
28169 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
28170             Joseph Myers  <joseph@codesourcery.com>
28172         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
28173         link test.
28174         * configure: Regenerated.
28176 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
28178         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
28179         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
28180         conformtest.pl
28182 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
28184         * NOTES: Remove.
28185         * Makefile (files-for-dist): Remove NOTES.
28186         (NOTES): Remove rule.
28187         * README: Don't refer to NOTES.
28188         * manual/creature.texi: Don't include macros.texi.
28189         * manual/intro.texi (creature.texi): Remove comment referring to
28190         NOTES.
28192         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
28193         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
28194         * configure: Regenerated.
28195         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
28196         LIBC_TRY_CC_OPTION.
28197         (libc_cv_as_i686): Likewise.
28198         (libc_cv_cc_avx): Likewise.
28199         (libc_cv_cc_sse2avx): Likewise.
28200         (libc_cv_cc_fma4): Likewise.
28201         (libc_cv_cc_novzeroupper): Likewise.
28202         * sysdeps/i386/configure: Regenerated.
28204         [BZ #13883]
28205         * sysdeps/i386/fpu/s_cexp.S: Remove.
28206         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28207         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28208         * math/libm-test.inc (cexp_test): Add more tests.
28209         * sysdeps/i386/fpu/libm-test-ulps: Update.
28210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28212 2012-03-21  Allan McRae  <allan@archlinux.org>
28214         * timezone/Makefile: Do not install iso3166.tab and zone.tab
28216 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
28218         [BZ #13871]
28219         * math/w_exp2.c: Do not include <float.h>.
28220         (o_threshold, u_threshold): Remove.
28221         (__exp2): Calculate result before checking finiteness and calling
28222         __kernel_standard.
28223         * math/w_exp2f.c: Likewise.
28224         * math/w_exp2l.c: Likewise.
28225         * math/libm-test.inc (exp2_test): Require overflow exception for
28226         1e6 input.
28228         [BZ #3866]
28229         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
28230         range of signed 64-bit integers before using fistpll.  Remove
28231         checks for whether integers fit in mantissa bits.
28232         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
28233         the range of signed 32-bit integers before using fistpl.  Remove
28234         checks for whether integers fit in mantissa bits.
28235         * sysdeps/i386/fpu/e_powl.S (p64): New object.
28236         (__ieee754_powl): Test for y outside the range of signed 64-bit
28237         integers before using fistpll.  Reduce 64-bit values to 63-bit
28238         ones as needed.
28239         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
28240         divide-by-zero is raised for zero to large negative powers.
28241         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
28242         (__ieee754_powl): Test for y outside the range of signed 64-bit
28243         integers before using fistpll.  Reduce 64-bit values to 63-bit
28244         ones as needed.
28245         * math/libm-test.inc (pow_test): Add more tests.
28247 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
28249         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
28250         <stdio-common/_itoa.h>.
28251         * debug/segfault.c: Likewise.
28252         * elf/dl-cache.c: Likewise.
28253         * elf/dl-minimal.c: Likewise.
28254         * elf/dl-misc.c: Likewise.
28255         * elf/dl-sysdep.c: Likewise.
28256         * elf/dl-version.c: Likewise.
28257         * elf/rtld.c: Likewise.
28258         * hurd/hurdsock.c: Likewise.
28259         * hurd/lookup-retry.c: Likewise.
28260         * malloc/malloc.c: Likewise.
28261         * malloc/mtrace.c: Likewise.
28262         * nscd/nscd_getgr_r.c: Likewise.
28263         * nscd/nscd_getpw_r.c: Likewise.
28264         * nscd/nscd_getserv_r.c: Likewise.
28265         * posix/getopt_init.c: Likewise.
28266         * posix/wordexp.c: Likewise.
28267         * stdio-common/_itoa.c: Likewise.
28268         * stdio-common/printf_fphex.c: Likewise.
28269         * stdio-common/vfprintf.c: Likewise.
28270         * string/_strerror.c: Likewise.
28271         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
28272         * sysdeps/i386/i686/hp-timing.h: Likewise.
28273         * sysdeps/mach/_strerror.c: Likewise.
28274         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
28275         * sysdeps/mach/hurd/sethostid.c: Likewise.
28276         * sysdeps/mach/hurd/xmknodat.c: Likewise.
28277         * sysdeps/mach/xpg-strerror.c: Likewise.
28278         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28279         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28280         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
28281         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
28282         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28283         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
28284         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28285         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28286         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
28287         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
28288         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
28289         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28290         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
28291         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28292         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
28293         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
28294         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
28295         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
28296         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28297         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28298         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
28300         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
28302         * stdio-common/_itoa.h: Moved to ...
28303         * sysdeps/generic/_itoa.h: Here.
28305         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
28307         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
28308         instead of "_itoa.h" and "_itowa.h".
28309         * stdio-common/vfprintf.: Likewise.
28311 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
28313         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
28314         <bits/wordsize.h>.
28315         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
28316         (__signbit): Likwise.
28317         (llrintf): Likwise.
28318         (llrint): Likwise.
28320 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
28322         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
28323         __WORDSIZE != 64.
28325 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
28327         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
28328         OVERFLOW_EXCEPTION_OK.
28329         * math/libm-test.inc ("Philosophy"): Update comment about
28330         exception testing.
28331         (OVERFLOW_EXCEPTION): Define.
28332         (OVERFLOW_EXCEPTION_OK): Likewise.
28333         (INVALID_EXCEPTION_OK): Renumber.
28334         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28335         (IGNORE_ZERO_INF_SIGN): Likewise.
28336         (test_exceptions): Handle FE_OVERFLOW.
28337         (exp10_test): Expect overflow exceptions.
28338         (exp2_test): Likewise.
28339         (expm1_test): Likewise.
28340         (nextafter_test): Likewise.
28341         (pow_test): Likewise.
28342         (scalbn_test): Likewise.
28343         (scalbln_test): Likewise.
28345 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28347         * sysdeps/x86_64/bits/atomic.h
28348         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
28349         64bit integer.
28350         (atomic_exchange_acq): Likewise.
28351         (__arch_exchange_and_add_body): Likewise.
28352         (__arch_add_body): Likewise.
28353         (atomic_add_negative): Likewise.
28354         (atomic_add_zero): Likewise.
28356 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28358         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
28359         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
28361 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28363         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
28364         Check __x86_64__ instead of __WORDSIZE.
28366 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28368         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
28370 2012-03-19  David S. Miller  <davem@davemloft.net>
28372         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28374         * sysdeps/sparc/fpu/fenv_private.h: New file.
28375         * sysdeps/sparc/fpu/math_private.h: Use it.
28376         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
28377         Remove.
28378         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
28379         (libc_feholdexcept_setroundl): Remove.
28380         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
28381         Remove.
28382         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
28383         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
28385 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28387         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
28388         int64_t instead of long int.
28389         (INSERT_WORDS64): Likwise.
28391 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28393         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
28394         _Unwind_GetCFA return to _Unwind_Ptr first.
28396 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
28398         [BZ #13629]
28399         * math/s_clog.c: Include <float.h>.
28400         (__clog): Scale large or subnormal inputs.
28401         * math/s_clogf.c: Likewise.
28402         * math/s_clogl.c: Likewise.
28403         * math/s_clog10.c: Include <float.h>.
28404         (M_LOG10_2): Define.
28405         (__clog10): Scale large or subnormal inputs.
28406         * math/s_clog10f.c: Likewise.
28407         * math/s_clog10l.c: Likewise.
28408         * math/libm-test.inc (clog_test): Add more tests.
28409         (clog10_test): Likewise.
28410         * sysdeps/i386/fpu/libm-test-ulps: Update.
28411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28413         [BZ #11451]
28414         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
28415         x and y.
28416         * math/libm-test.inc (atan2_test): Add another test.
28418         * Makerules (common-objdir-compile): Remove.
28419         * sysdeps/unix/Makefile (config-generated): Do not add
28420         $(unix-generated) to variable.
28421         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
28422         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
28423         Remove rule.
28424         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
28425         Likewise.
28426         [generic bits/local_lim.h] (before-compile): Do not append to
28427         variable.
28428         [generic bits/local_lim.h] (common-generated): Likewise.
28429         [generic sys/param.h] (before-compile): Do not append to variable.
28430         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
28431         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
28432         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
28433         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
28434         include.
28435         [generic sys/param.h] (sys/param.h-includes): Remove variable.
28436         [generic sys/param.h] (sys/param.h-includes): Remove rule.
28437         [generic sys/param.h] ($(addprefix
28438         $(common-objpfx),$(sys/param.h-includes))): Likewise.
28439         [generic sys/param.h] (common-generated): Do not append to
28440         variable.
28441         [generic sys/param.h] (sysdep_headers): Likewise.
28442         [generic bits/errno.h] (before-compile): Do not append to
28443         variable.
28444         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
28445         rule.
28446         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
28447         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
28448         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
28449         [generic bits/errno.h] (common-generated): Do not append to
28450         variable.
28451         [generic bits/ioctls.h] (before-compile): Do not append to
28452         variable.
28453         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
28454         rule.
28455         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
28456         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
28457         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
28458         rule.
28459         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
28460         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
28461         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
28462         [generic bits/ioctls.h] (common-generated): Do not append to
28463         variable.
28464         [generic sys/syscall.h] (syscall.h): Remove variable.
28465         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
28466         rule.
28467         [generic sys/syscall.h] (before-compile): Do not append to
28468         variable.
28469         [generic sys/syscall.h] (common-generated): Likewise.
28470         * sysdeps/unix/errnos-tmpl.c: Remove file.
28471         * sysdeps/unix/errnos.awk: Likewise.
28472         * sysdeps/unix/ioctls-tmpl.c: Likewise.
28473         * sysdeps/unix/ioctls.awk: Likewise.
28474         * sysdeps/unix/mk-local_lim.c: Likewise.
28475         * sysdeps/unix/snarf-ioctls: Likewise.
28477 2012-03-19  Richard Henderson  <rth@twiddle.net>
28479         * sysdeps/i386/fpu/fenv_private.h: New file.
28480         * sysdeps/i386/fpu/math_private.h: Use it.
28481         (math_opt_barrier, math_force_eval): Remove.
28482         (libc_feholdexcept_setround_53bit): Remove.
28483         (libc_feupdateenv_53bit): Remove.
28484         * sysdeps/x86_64/fpu/math_private.h: Likewise.
28485         (math_opt_barrier, math_force_eval): Remove.
28486         (libc_feholdexcept): Remove.
28487         (libc_feholdexcept_setround): Remove.
28488         (libc_fetestexcept, libc_fesetenv): Remove.
28489         (libc_feupdateenv_test): Remove.
28490         (libc_feupdateenv, libc_feholdsetround): Remove.
28491         (libc_feresetround): Remove.
28493         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
28494         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28496         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
28497         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
28498         (libc_feupdateenv_testl): New.
28499         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
28500         (libc_feupdateenv_testf): New.
28501         (libc_feupdateenv): Use libc_feupdateenv_test.
28502         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
28503         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
28505         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
28506         (libc_feholdsetroundf, libc_feholdsetroundl): New.
28507         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
28508         (libc_feresetround_noex): New.
28509         (libc_feresetround_noexf): New.
28510         (libc_feresetround_noexl): New.
28511         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
28512         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
28513         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
28514         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
28515         SET_RESTORE_ROUND.
28516         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28517         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
28518         (__cos): Likewise.
28519         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
28520         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
28521         SET_RESTORE_ROUND_NOEX.
28522         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
28523         SET_RESTORE_ROUND_NOEXF.
28524         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
28525         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
28526         (libc_feholdsetroundf): New.
28527         (libc_feresetround, libc_feresetroundf): New.
28529         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
28530         (libc_feholdexcept_setround_53bit): Convert from macro to function.
28531         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
28533         * sysdeps/generic/math_private.h: Include <fenv.h>.
28534         (default_libc_feholdexcept): New.
28535         (default_libc_feholdexcept_setround): New.
28536         (default_libc_fesetenv, default_libc_feupdateenv): New.
28537         (libc_feholdexcept): Only define if undefined.
28538         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
28539         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
28540         (libc_feholdexcept_setroundl): Likewise.
28541         (libc_feholdexcept_setround_53bit): Likewise.
28542         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
28543         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
28544         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
28545         (libc_feupdateenv_53bit): Likewise.
28546         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
28547         (libc_feholdexcept): Convert from macro to inline function.
28548         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
28549         (libc_fesetenv, libc_feupdateenv): Likewise.
28551         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
28552         not previously defined.
28553         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
28554         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
28555         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
28556         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
28557         * sysdeps/ieee754/flt-32/math_private.h: New file.
28558         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
28559         math_private.h below SET_FLOAT_WORD.
28560         (__isnan, __isinf_ns, __finite): Remove.
28561         (__isnanf, __isinf_nsf, __finitef): Remove.
28563 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
28565         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28567 2012-03-17  David S. Miller  <davem@davemloft.net>
28569         [BZ #6471]
28570         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
28571         for 2.16.
28573 2012-03-16  David S. Miller  <davem@davemloft.net>
28575         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
28576         warnings.
28578         [BZ #6471]
28579         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
28580         properly.
28581         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
28582         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
28583         sysdep_routines when subdir is sysvipc.
28584         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
28585         __getshmlba helper.
28587         * sysdeps/sparc/fpu/libm-test/ulps: Update.
28589 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28591         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
28592         [__LP64__].
28594 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28596         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
28597         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
28598         (__lround): Renamed to ...
28599         (__llround): This.  Replace long int with long long int.
28600         Define lround functions as aliases of llround functions.
28601         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
28603 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28605         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
28606         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
28607         adresses to uintptr_t.  Replace "long int" and "unsigned long
28608         int" with "greg_t" on va_arg.
28610 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28612         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
28613         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
28615         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
28616         Move e_machine check before EI_CLASS check.  Handle x32
28617         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
28618         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
28619         SKIP_EM_IA_64 and include
28620         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
28622         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
28623         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
28624         (add_system_dir): New macro.
28626         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
28627         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
28629 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
28631         [BZ #2551]
28632         [BZ #2552]
28633         [BZ #2553]
28634         [BZ #2554]
28635         [BZ #2562]
28636         [BZ #2563]
28637         [BZ #2565]
28638         [BZ #2566]
28639         [BZ #2576]
28640         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
28641         (y0): Likewise.
28642         * math/w_j0f.c (j0f): Likewise.
28643         (y0f): Likewise.
28644         * math/w_j0l.c (__j0l): Likewise.
28645         (__y0l): Likewise.
28646         * math/w_j1.c (j1): Likewise.
28647         (y1): Likewise.
28648         * math/w_j1f.c (j1f): Likewise.
28649         (y1f): Likewise.
28650         * math/w_j1l.c (__j1l): Likewise.
28651         (__y1l): Likewise.
28652         * math/w_jn.c (jn): Likewise.
28653         (yn): Likewise.
28654         * math/w_jnf.c (jnf): Likewise.
28655         (ynf): Likewise.
28656         * math/w_jnl.c (__jnl): Likewise.
28657         (__ynl): Likewise.
28658         * math/libm-test.inc (j0_test): Add more tests.
28659         (j1_test): Likewise.
28660         (jn_test): Likewise.  Add trailing semicolon to existing test.
28661         (y0_test): Likewise.
28662         (y1_test): Likewise.
28663         * sysdeps/i386/fpu/libm-test-ulps: Update.
28664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28666         [BZ #13851]
28667         [BZ #13854]
28668         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28669         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
28670         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
28671         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
28672         (__tanl): Set errno for infinite argument.
28673         * sysdeps/i386/fpu/mptan.c: Remove.
28674         * sysdeps/i386/fpu/s_tan.S: Likewise.
28675         * sysdeps/i386/fpu/s_tanl.S: Likewise.
28676         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
28677         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
28678         * math/libm-test.inc (tan_test): Add more tests and enable more
28679         tests for double and long double.
28680         * sysdeps/i386/fpu/libm-test-ulps: Update.
28681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28683 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
28685         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
28686         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
28688 2012-03-16  Roland McGrath  <roland@hack.frob.com>
28690         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
28691         * configure.in: Use it for both main tree and add-ons.
28692         * configure: Regenerated.
28694 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28696         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
28698 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
28700         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
28701         in comment.
28703         [BZ #13851]
28704         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
28705         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
28706         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
28707         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
28708         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
28709         infinite argument.
28710         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
28711         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
28712         != 0 for prec == 2.
28713         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
28714         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
28715         * sysdeps/i386/fpu/s_cosl.S: Likewise.
28716         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
28717         * sysdeps/i386/fpu/s_sinl.S: Likewise.
28718         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
28719         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
28720         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
28721         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
28722         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
28723         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
28724         * math/libm-test.inc (cos_test): Add more tests and enable more
28725         tests for long double.
28726         (sin_test): Likewise.
28727         (sincos_test): Likewise.
28728         * sysdeps/i386/fpu/libm-test-ulps: Update.
28729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28731 2012-03-16  David S. Miller  <davem@davemloft.net>
28733         * sysdeps/sparc/fpu/math_private.h: New file.
28735 2012-03-15  David S. Miller  <davem@davemloft.net>
28737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
28738         file.
28739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
28740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28741         file.
28742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28743         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28744         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28745         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28746         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28747         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28748         sysdep routines.
28749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28751         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28752         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28754         * sysdeps/sparc/sparc-ifunc.h: New file.
28755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28756         sparc-ifunc.h
28757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28759         Likewise.
28760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28761         Likewise.
28762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28766         Likewise.
28767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
28771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28772         Likewise.
28773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28774         Likewise.
28775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28779         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28780         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28781         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28782         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28783         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28784         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28785         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28786         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28787         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28788         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28789         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28790         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28791         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28792         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28793         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28794         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28795         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28796         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28797         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28798         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28800 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
28802         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28803         scaling.
28804         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28806 2012-03-15  Andreas Jaeger  <aj@suse.de>
28808         [BZ #13852]
28809         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28810         ieee754/flt-32 implementation for sin, cos and sincos.
28811         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28812         * sysdeps/i386/fpu/s_cosf.S: Likewise.
28813         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28814         * sysdeps/i386/fpu/s_sinf.S: Likewise.
28815         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28816         ieee754/flt-32 implementation for tan.
28818         * math/libm-test.inc (cos_test): Enable some large input tests for
28819         float as well
28820         (sin_test): Likewise.
28821         (sincos_test): Likewise.
28822         (tan_test): Add tests for large input.
28824         * sysdeps/i386/fpu/libm-test-ulps: Update.
28826 2012-03-15  Andreas Jaeger  <aj@suse.de>
28828         [BZ #13658]
28829         * math/libm-test.inc (cos_test): Add more test cases.
28830         (sin_test): Likewise.
28831         (sincos_test): Likewise.
28833 2012-03-15  Andreas Jaeger  <aj@suse.de>
28835         [BZ #13837]
28836         * math/libm-test.inc (cos_test): Add a test case for large input
28837         value.
28838         (sin_test): Likewise.
28839         (sincos_test): Likewise.
28841 2012-03-15  Andreas Jaeger  <aj@suse.de>,
28842         Joseph Myers  <joseph@codesourcery.com>
28844         [BZ #13658]
28845         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
28846         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28847         * sysdeps/i386/fpu/branred.c: Likewise.
28848         * sysdeps/i386/fpu/dosincos.c: Likewise.
28849         * sysdeps/i386/fpu/mpa.c: Likewise.
28850         * sysdeps/i386/fpu/s_cos.S: Likewise.
28851         * sysdeps/i386/fpu/s_sin.S: Likewise.
28852         * sysdeps/i386/fpu/s_sincos.S: Likewise.
28853         * sysdeps/i386/fpu/sincos32.c: Likewise.
28855         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28856         Define.
28857         (libc_feupdateenv_53bit): Define.
28858         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28859         Define.
28860         (libc_feupdateenv_53bit): Define.
28862         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28863         53 bit (without extend i386 double precision).
28865         * math/libm-test.inc (sincos_test): Add tests for large input.
28866         (sin): Likewise.
28867         (cos): Likewise.
28869         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28871 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
28873         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28875 2012-03-15  David S. Miller  <davem@davemloft.net>
28877         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28878         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28879         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28880         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28881         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28882         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28883         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28884         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28885         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28886         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28887         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28888         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28889         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28890         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28891         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
28892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28893         file.
28894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
28895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28896         file.
28897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
28898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28899         file.
28900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
28901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28902         file.
28903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28904         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28905         fmin/fmax sysdep routines.
28906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28908 2012-03-14  David S. Miller  <davem@davemloft.net>
28910         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28911         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28912         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28913         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28914         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28915         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28916         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28917         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28918         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28919         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28920         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28921         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28922         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28923         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28924         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28925         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28926         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28927         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28928         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28929         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28930         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28931         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28932         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28933         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28934         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28935         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28936         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28937         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
28938         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28939         routines.
28940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28941         file.
28942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
28943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28944         file.
28945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
28946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28947         file.
28948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
28949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28950         file.
28951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
28952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28953         file.
28954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
28955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28956         file.
28957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28958         file.
28959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28960         file.
28961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28962         file.
28963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28964         New file.
28965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28966         file.
28967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28968         file.
28969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
28970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28971         file.
28972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
28973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28974         file.
28975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
28976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28977         file.
28978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
28979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28980         VIS3 routines.
28982         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28983         New file.
28985         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28987         * sysdeps/sparc/configure.in: New file.
28988         * sysdeps/sparc/configure: Generate.
28989         * configure.in (libc_cv_sparc_as_vis3): Substitute.
28990         * configure: Regenerate.
28991         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28992         * config.make.in (have-as-vis3): New.
28993         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28994         available use -Av9d instead of -Av9a.
28995         * sysdeps/sparc/sparc64/Makefile: Likewise.
28996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
28997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28998         New file.
28999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
29000         file.
29001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
29002         New file.
29003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
29004         file.
29005         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
29006         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
29007         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
29008         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
29009         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
29011         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
29012         fzeros/fnegs to load 0x80000000 into a float register instead of
29013         using the stack.
29014         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
29016 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
29018         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29019         bits/syscall.h.
29020         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
29021         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
29022         ($(inst_includedir)/bits/syscall.h): Remove rule.
29023         ($(objpfx)bits/syscall.d): Include instead of
29024         $(objpfx)syscall-list.d.
29025         (generated): Change syscall-list.h and syscall-list.d to
29026         bits/syscall.h and bits/syscall.d.
29028 2012-03-14  Roland McGrath  <roland@hack.frob.com>
29030         [BZ #13846]
29031         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
29033 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
29035         [BZ #13841]
29036         * math/s_csqrt.c: Include <float.h>.
29037         (__csqrt): Scale large or subnormal inputs.
29038         * math/s_csqrtf.c: Likewise.
29039         * math/s_csqrtl.c: Likewise.
29040         * math/libm-test.inc (csqrt_test): Add more tests.
29041         * sysdeps/i386/fpu/libm-test-ulps: Update.
29042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29044         [BZ #13840]
29045         * math/libm-test.inc (hypot_test): Add more tests.
29047 2012-03-13  David S. Miller  <davem@davemloft.net>
29049         [BZ #13840]
29050         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
29051         double-precision for the calculation instead of scaling.
29053 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
29055         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
29056         manipulate bits before adding and subtracting TWO52[sx].
29057         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
29058         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
29059         Likewise.
29060         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
29062 2012-03-13  David S. Miller  <davem@davemloft.net>
29064         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
29065         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
29066         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
29067         rtld-global-offsets.h
29068         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29070         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
29071         large parameters.
29073         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
29075         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
29076         'err' in the ifdef scope in which it is actually used.
29078         * nss/nss_db/db-init.c: Include string.h
29080 2012-03-12  David S. Miller  <davem@davemloft.net>
29082         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29083         masking out of the most significant byte of random value used.
29084         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29085         Fix coding style in previous change.
29087         * sysdeps/unix/sysv/linux/kernel-features.h
29088         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
29089         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
29090         expression.
29091         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
29092         later.
29094 2012-03-11  David S. Miller  <davem@davemloft.net>
29096         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
29097         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
29098         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
29099         for 'resultvar' otherwise things get truncated on 64-bit.
29101         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29102         Fix masking out of the most significant byte of random value used.
29104         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29106 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
29108         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29110 2012-03-09  David S. Miller  <davem@davemloft.net>
29112         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
29113         variables with appropriate CPP guards.
29114         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
29115         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
29116         on resulting framesize and the management of the outregs buffer for pltexit.
29117         Preserve floating point return values across _dl_call_pltexit call.
29118         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
29119         framesize and the management of the outregs buffer for pltexit.
29120         Preserve floating point return values across _dl_call_pltexit
29121         call.
29122         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
29123         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
29124         (print_exit): Fix format string for return register value.
29126 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
29128         * sunrpc/Makefile (others): Add rpcgen.
29129         ($(objpfx)rpcgen): Remove special build rule and dependency on
29130         libc.
29131         * sunrpc/rpcgen.c: New file.
29133 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
29135         [BZ #13673]
29136         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
29137         * stdio-common/bug-vfprintf-nargs.c: Likewise.
29138         * sysdeps/i386/crti.S: Likewise.
29139         * sysdeps/i386/crtn.S: Likewise.
29140         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
29141         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
29142         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
29143         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
29144         * sysdeps/sh/crti.S: Likewise.
29145         * sysdeps/sh/crtn.S: Likewise.
29146         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29148         [BZ #13673]
29149         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
29150         with URL.
29151         * locale/programs/locfile-kw.gperf: Likewise.
29152         * locale/programs/charmap-kw.h: Regenerated.
29153         * locale/programs/locfile-kw.h: Likewise.
29155         [BZ #13673]
29156         * intl/plural.y: Replace FSF snail mail address with URL.
29157         * intl/plural.c: Regenerated.
29159 2012-03-09  Richard Henderson  <rth@twiddle.net>
29161         * include/math_private.h: Remove file.
29162         * math/math_private.h: Move file ...
29163         * sysdeps/generic/math_private.h: ... here.
29165         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
29166         * sysdeps/powerpc/fpu/math_private.h: Likewise.
29167         * sysdeps/x86_64/fpu/math_private.h: Likewise.
29169         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
29170         and <math_private.h>.
29171         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29172         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29173         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29174         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29175         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29176         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
29177         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29178         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29179         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29180         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29181         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29182         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29183         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29184         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29185         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29186         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29187         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29188         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29189         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29190         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29191         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29192         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29193         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29194         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29195         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29196         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29197         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29198         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29199         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29200         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29201         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29202         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29203         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29204         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29205         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29206         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29207         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29208         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29209         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29210         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29211         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
29212         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29213         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29214         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29215         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29216         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29217         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
29218         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29219         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29220         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29221         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29222         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
29223         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29224         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29225         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29226         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29227         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29228         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29229         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29230         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
29231         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29232         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29233         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29234         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29235         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
29236         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29237         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29238         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29239         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
29240         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
29241         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29242         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29243         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29244         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29245         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
29246         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
29247         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
29248         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29249         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
29250         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
29251         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29252         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
29253         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29254         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29255         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29256         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
29257         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
29258         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
29259         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29260         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29261         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29262         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29263         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29264         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29265         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29266         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29267         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29268         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29269         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29270         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29271         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29272         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29273         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29274         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29275         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29276         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29277         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29278         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29279         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29280         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29281         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29282         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29283         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29284         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29285         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
29286         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29287         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29288         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29289         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29290         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29291         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29292         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29293         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29294         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
29295         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29296         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29297         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29298         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
29299         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29300         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
29301         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
29302         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29303         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29304         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
29305         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
29306         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29307         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29308         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29309         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
29310         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29311         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29312         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29313         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29314         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
29315         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
29316         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29317         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29318         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29319         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
29320         * sysdeps/ieee754/k_standard.c: Likewise.
29321         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29322         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29323         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29324         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29325         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29326         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29327         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29328         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29329         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29330         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29331         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29332         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29333         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29334         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29335         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29336         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29337         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29338         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29339         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29340         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
29341         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
29342         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
29343         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29344         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29345         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29346         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
29347         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29348         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29349         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29350         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29351         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29352         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29353         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29354         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29355         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29356         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29357         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29358         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
29359         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
29360         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29361         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29362         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29363         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29364         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29365         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29366         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29367         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29368         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29369         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29370         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29371         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29372         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29373         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29374         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
29375         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29376         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29377         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
29378         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
29379         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29380         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29381         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29382         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29383         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29384         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29385         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29386         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29387         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29388         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29389         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29390         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29391         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29392         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29393         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29394         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29395         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29396         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29397         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
29398         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29399         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29400         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29401         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29402         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29403         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29404         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29405         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
29406         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29407         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29408         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29409         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29410         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29411         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
29412         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29413         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
29414         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29415         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29416         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29417         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
29418         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
29419         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
29420         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
29421         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29422         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29423         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29424         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29425         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
29426         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29427         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29428         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
29429         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
29430         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29431         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29432         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29433         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29434         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29435         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29436         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29437         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29438         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29439         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29440         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29441         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29442         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29443         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29444         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29445         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29446         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
29447         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29448         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29449         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29450         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29451         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29452         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29453         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29454         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
29455         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29456         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29457         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
29458         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29459         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29460         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
29461         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
29462         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29463         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
29464         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
29465         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29466         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29467         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29468         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29469         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29470         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
29471         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29472         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29473         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29474         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29475         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
29476         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
29477         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29478         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29479         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29480         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29481         * sysdeps/ieee754/s_lib_version.c: Likewise.
29482         * sysdeps/ieee754/s_matherr.c: Likewise.
29483         * sysdeps/ieee754/s_signgam.c: Likewise.
29484         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29485         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29486         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
29487         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
29488         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
29489         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29490         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
29491         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
29492         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
29493         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
29494         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29495         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
29496         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29497         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29498         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
29499         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29500         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29501         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29502         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29503         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29504         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29506 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
29508         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
29509         * sunrpc/rpc_main.c: Likewise.
29510         * sunrpc/rpc_svcout.c: Likewise.
29512 2012-03-09  David S. Miller  <davem@davemloft.net>
29514         * include/math_private.h: New file.
29516 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
29518         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
29519         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
29520         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
29521         from <bits/socket_type.h>.
29522         (enum __socket_type): Don't define here.
29523         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
29524         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29525         bits/socket_type.h.
29527         [BZ #13566]
29528         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
29529         checking __USE_GNU.
29531         * Makerules ($(inst_includedir)/%.h): New rule.
29532         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
29533         (install-others): Remove variable setting.
29534         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
29536 2012-03-08  Richard Henderson  <rth@twiddle.net>
29538         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
29539         from macro to inline function; merge with the
29540         !__LIBC_INTERNAL_MATH_INLINES version.
29541         (__ieee754_sqrtf): Likewise.
29543         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
29544         to inline function.
29545         (__rintf, __floor, __floorf): Likewise.
29547         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
29548         macro to inline function.
29549         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
29551         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
29552         not <math/math_private.h>.
29554 2012-03-08  David S. Miller  <davem@davemloft.net>
29556         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
29557         copyright year.
29558         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29560 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
29562         * resolv/gai_misc.c (handle_requests): Fix struct timespec
29563         normalization.
29564         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
29565         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29567 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
29569         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
29570         be defined individually, they must be defined as a block.  Define
29571         S for printing a string instead of hidint the different by using a
29572         macro for adding the 'l'.
29573         * stdio-common/tst-fphex-wide.c: Adjust.
29575 2012-03-07  Marek Polacek  <polacek@redhat.com>
29577         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
29579 2012-03-08  Marek Polacek  <polacek@redhat.com>
29581         [BZ #13806]
29582         * stdio-common/Makefile (tests): Add tst-fphex-wide.
29583         * stdio-common/tst-fphex.c: Define a few macros to make the
29584         test reusable.  Use them.
29585         * stdio-common/tst-fphex-wide.c: New file.
29587 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
29589         [BZ #6911]
29590         * manual/macros.texi (gnusystems): New macro.
29591         (nongnusystems): Likewise.
29592         (gnulinuxhurdsystems): Likewise.
29593         (gnuhurdsystems): Likewise..
29594         (gnulinuxsystems): Likewise.
29595         * manual/charset.texi: Use new macros or @theglibc{} to refer to
29596         variants of the GNU system, not "GNU system".
29597         * manual/conf.texi: Likewise.
29598         * manual/errno.texi: Likewise.  Update example of errno macro
29599         expansion.
29600         * manual/filesys.texi: Likewise.
29601         (getumask): Document as specific to GNU/Hurd.
29602         * manual/install.texi: Likewise.  Reword some references to
29603         GNU/Linux.
29604         * manual/intro.texi: Likewise.
29605         * manual/io.texi: Likewise.
29606         (File Name Portability): Detail which constraints are inapplicable
29607         to all GNU systems and which are only inapplicable to GNU/Hurd.
29608         * manual/job.texi: Likewise.
29609         * manual/llio.texi: Likewise.
29610         (O_NOCTTY): Document as present on GNU/Linux.
29611         * manual/maint.texi: Likewise.
29612         * manual/memory.texi: Likewise.
29613         * manual/pattern.texi: Likewise.
29614         * manual/pipe.texi: Likewise.
29615         * manual/process.texi: Likewise.
29616         * manual/resource.texi: Likewise.
29617         (RUSAGE_CHILDREN): Remove statement about specifying a particular
29618         child on GNU/Hurd.
29619         * manual/setjmp.texi: Likewise.
29620         * manual/signal.texi: Likewise.
29621         * manual/startup.texi: Likewise.
29622         * manual/stdio.texi: Likewise.
29623         * manual/terminal.texi: Likewise.
29624         (ONLCR): Document as POSIX.
29625         (OXTABS): Document availability on GNU/Linux as XTABS.
29626         (ONOEOT): Document availability separately from other bits.
29627         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
29628         * manual/time.texi: Likewise.
29629         * manual/users.texi: Likewise.
29630         * INSTALL: Regenerated.
29631         * sysdeps/gnu/errlist.c: Regenerated.
29633         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
29634         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
29635         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
29636         puts.
29637         * configure: Regenerated.
29639 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
29641         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
29642         default includes instead of AC_HEADER_CHECK.
29643         * sysdeps/i386/configure: Regenerated.
29645         [BZ #10716]
29646         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
29647         * math/s_cacoshf.c (__cacoshf): Likewise.
29648         * math/s_cacoshl.c (__cacoshl): Likewise.
29649         * math/s_casinh.c (__casinh): Set signs of result from argument.
29650         * math/s_casinhf.c (__casinhf): Likewise.
29651         * math/s_casinhl.c (__casinhl): Likewise.
29652         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
29653         (casinh_test): Add more tests.
29654         * sysdeps/i386/fpu/libm-test-ulps: Update.
29655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29657 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
29659         * po/zh_TW.po: Update from translation team.
29661         * login/Makefile (distribute): Remove variable.
29662         * catgets/Makefile: Likewise.
29663         * mach/Makefile: Likewise.
29664         * malloc/Makefile: Likewise.
29665         * misc/Makefile: Likewise.
29666         * iconv/Makefile: Likewise.
29667         * nscd/Makefile: Likewise.
29668         * hurd/Makefile: Likewise.
29669         * manual/Makefile: Likewise.
29670         * locale/Makefile: Likewise.
29671         * intl/Makefile: Likewise.
29672         * conform/Makefile: Likewise.
29673         * nss/Makefile: Likewise.
29674         * time/Makefile: Likewise.
29675         * soft-fp/Makefile: Likewise.
29676         * dirent/Makefile: Likewise.
29677         * gmon/Makefile: Likewise.
29678         * po/Makefile: Likewise.
29679         * rt/Makefile: Likewise.
29680         * socket/Makefile: Likewise.
29681         * math/Makefile: Likewise.
29682         * signal/Makefile: Likewise.
29683         * debug/Makefile: Likewise.
29684         * elf/Makefile: Likewise.
29685         * timezone/Makefile: Likewise.
29686         * stdlib/Makefile: Likewise.
29687         * iconvdata/Makefile: Likewise.
29688         * sunrpc/Makefile: Likewise.
29689         * io/Makefile: Likewise.
29690         * argp/Makefile: Likewise.
29691         * inet/Makefile: Likewise.
29692         * hesiod/Makefile: Likewise.
29693         * grp/Makefile: Likewise.
29694         * csu/Makefile: Likewise.
29695         * wctype/Makefile: Likewise.
29696         * crypt/Makefile: Likewise.
29697         * libio/Makefile: Likewise.
29698         * string/Makefile: Likewise.
29699         * nis/Makefile: Likewise.
29700         * resolv/Makefile: Likewise.
29701         * stdio-common/Makefile: Likewise.
29702         * wcsmbs/Makefile: Likewise.
29703         * dlfcn/Makefile: Likewise.
29704         * posix/Makefile: Likewise.
29706         [BZ #6959]
29707         * timezone/Makefile: Don't install timezone files, just the programs
29708         and scripts.
29710 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
29712         * nss/databases.def: Add missing gshadow entry.
29714         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
29716 2012-03-06  Marek Polacek  <polacek@redhat.com>
29718         [BZ #13726]
29719         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
29720         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29721         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
29722         * stdio-common/tst-long-dbl-fphex.c: New file.
29724 2012-03-06  David S. Miller  <davem@davemloft.net>
29726         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29727         (set_obp_int): New function.
29728         (get_obp_int): New function.
29729         (__get_clockfreq_via_dev_openprom): Likewise.
29730         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
29731         Avoid unused variable warnings on 'val' and use builtin_expect.
29732         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
29733         __builtin_expect.
29734         (INLINE_CLONE_SYSCALL): Likewise.
29736 2012-03-05  David S. Miller  <davem@davemloft.net>
29738         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29740 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
29742         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29744         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29745         only for |x| >= 40.
29746         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29748 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
29750         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29751         Replace gettimeofday with __vdso_gettimeofday.
29753         * sysdeps/unix/sysv/linux/x86_64/init-first.c
29754         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29755         __vdso_clock_gettime and __vdso_getcpu.
29757         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29758         time with __vdso_time.
29760 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
29762         * manual/lang.texi (size_t): Note types to which size_t may be
29763         equivalent with the GNU C Library, but do not describe when
29764         differences between them are significant.
29766 2012-03-05  Andreas Jaeger  <aj@suse.de>
29768         * sysdeps/i386/fpu/libm-test-ulps: Update.
29770 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
29772         [BZ #3976]
29773         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29774         (__ieee754_pow): Save and restore rounding mode and use
29775         round-to-nearest for main computations.
29776         * math/libm-test.inc (pow_test_tonearest): New function.
29777         (pow_test_towardzero): Likewise.
29778         (pow_test_downward): Likewise.
29779         (pow_test_upward): Likewise.
29780         (main): Call the new functions.
29781         * sysdeps/i386/fpu/libm-test-ulps: Update.
29782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29784         [BZ #3976]
29785         * math/libm-test.inc (cosh_test_tonearest): New function.
29786         (cosh_test_towardzero): Likewise.
29787         (cosh_test_downward): Likewise.
29788         (cosh_test_upward): Likewise.
29789         (sinh_test_tonearest): Likewise.
29790         (sinh_test_towardzero): Likewise.
29791         (sinh_test_downward): Likewise.
29792         (sinh_test_upward): Likewise.
29793         (main): Call the new functions.
29794         * sysdeps/i386/fpu/libm-test-ulps: Update.
29795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29797 2012-03-05  Tom de Vries  <tom@codesourcery.com>
29799         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29800         default stack guard is set in last bytes.
29801         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29803 2012-03-05  Kees Cook  <keescook@chromium.org>
29805         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
29807         [BZ #13656]
29808         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29809         possibly allocate from heap instead of stack.
29810         * stdio-common/bug-vfprintf-nargs.c: New file.
29811         * stdio-common/Makefile (tests): Add nargs overflow test.
29813 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
29815         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29817 2012-03-03  Marek Polacek  <polacek@redhat.com>
29819         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29820         * math/math_private.h: Likewise.
29821         * stdlib/tst-strtod.c: Likewise.
29822         * sysdeps/i386/i486/bits/atomic.h: Likewise.
29823         * sysdeps/x86_64/bits/atomic.h: Likewise.
29825 2012-03-02  David S. Miller  <davem@davemloft.net>
29827         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29828         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29829         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29830         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29831         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29832         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29833         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29834         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29836 2012-03-02  Roland McGrath  <roland@hack.frob.com>
29838         [BZ #13792]
29839         * manual/examples/README: New file, says the example source files
29840         can be used under GPL>=2.
29841         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29842         line containing just "*/".
29843         * manual/examples/add.c: Add copyright header (GPL>=2).
29844         * manual/examples/argp-ex1.c: Likewise.
29845         * manual/examples/argp-ex2.c: Likewise.
29846         * manual/examples/argp-ex3.c: Likewise.
29847         * manual/examples/argp-ex4.c: Likewise.
29848         * manual/examples/atexit.c: Likewise.
29849         * manual/examples/db.c: Likewise.
29850         * manual/examples/dir.c: Likewise.
29851         * manual/examples/dir2.c: Likewise.
29852         * manual/examples/execinfo.c: Likewise.
29853         * manual/examples/filecli.c: Likewise.
29854         * manual/examples/filesrv.c: Likewise.
29855         * manual/examples/fmtmsgexpl.c: Likewise.
29856         * manual/examples/genpass.c: Likewise.
29857         * manual/examples/inetcli.c: Likewise.
29858         * manual/examples/inetsrv.c: Likewise.
29859         * manual/examples/isockad.c: Likewise.
29860         * manual/examples/longopt.c: Likewise.
29861         * manual/examples/memopen.c: Likewise.
29862         * manual/examples/memstrm.c: Likewise.
29863         * manual/examples/mkfsock.c: Likewise.
29864         * manual/examples/mkisock.c: Likewise.
29865         * manual/examples/mygetpass.c: Likewise.
29866         * manual/examples/pipe.c: Likewise.
29867         * manual/examples/popen.c: Likewise.
29868         * manual/examples/rprintf.c: Likewise.
29869         * manual/examples/search.c: Likewise.
29870         * manual/examples/select.c: Likewise.
29871         * manual/examples/setjmp.c: Likewise.
29872         * manual/examples/sigh1.c: Likewise.
29873         * manual/examples/sigusr.c: Likewise.
29874         * manual/examples/stpcpy.c: Likewise.
29875         * manual/examples/strdupa.c: Likewise.
29876         * manual/examples/strftim.c: Likewise.
29877         * manual/examples/strncat.c: Likewise.
29878         * manual/examples/subopt.c: Likewise.
29879         * manual/examples/swapcontext.c: Likewise.
29880         * manual/examples/termios.c: Likewise.
29881         * manual/examples/testopt.c: Likewise.
29882         * manual/examples/testpass.c: Likewise.
29883         * manual/examples/timeval_subtract.c: Likewise.
29885         [BZ #13792]
29886         * manual/time.texi (Elapsed Time): Move timeval_subtract example
29887         function to ...
29888         * manual/timeval_subtract.c.texi: ... here, new file.
29890 2012-03-02  David S. Miller  <davem@davemloft.net>
29892         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29894 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
29896         [BZ #3976]
29897         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29898         (__sin): Save and restore rounding mode and use round-to-nearest
29899         for all computations.
29900         (__cos): Save and restore rounding mode and use round-to-nearest
29901         for all computations.
29902         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29903         <fenv.h>.
29904         (tan): Save and restore rounding mode and use round-to-nearest for
29905         all computations.
29906         * math/libm-test.inc (cos_test_tonearest): New function.
29907         (cos_test_towardzero): Likewise.
29908         (cos_test_downward): Likewise.
29909         (cos_test_upward): Likewise.
29910         (sin_test_tonearest): Likewise.
29911         (sin_test_towardzero): Likewise.
29912         (sin_test_downward): Likewise.
29913         (sin_test_upward): Likewise.
29914         (tan_test_tonearest): Likewise.
29915         (tan_test_towardzero): Likewise.
29916         (tan_test_downward): Likewise.
29917         (tan_test_upward): Likewise.
29918         (main): Call the new functions.
29919         * sysdeps/i386/fpu/libm-test-ulps: Update.
29920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29922         [BZ #10135]
29923         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29924         small n, then large n, before computing and testing k+n.
29925         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29926         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29927         Likewise.
29928         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29929         Likewise.
29930         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29931         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29932         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29933         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29934         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29935         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29936         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29937         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29938         * math/libm-test.inc (scalbn_test): Add more tests.
29939         (scalbln_test): Likewise.
29941         * manual/filesys.texi (mode_t): Describe constraints on size and
29942         signedness, not exact equivalence to a particular type.
29943         (ino_t): Likewise.
29944         (ino64_t): Likewise.
29945         (dev_t): Likewise.
29946         (nlink_t): Likewise.
29947         (blkcnt_t): Likewise.
29948         (blkcnt64_t): Likewise.
29949         * manual/llio.texi (off_t): Likewise.
29951         [BZ #3976]
29952         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29953         (__ieee754_exp): Save and restore rounding mode and use
29954         round-to-nearest for all computations.
29955         * math/libm-test.inc (exp_test_tonearest): New function.
29956         (exp_test_towardzero): Likewise.
29957         (exp_test_downward): Likewise.
29958         (exp_test_upward): Likewise.
29959         (main): Call the new functions.
29960         * sysdeps/i386/fpu/libm-test-ulps: Update.
29961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29963 2012-03-01  Chris Demetriou  <cgd@google.com>
29965         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29966         have predictable order.
29968 2012-03-01  David S. Miller  <davem@davemloft.net>
29970         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29972         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29973         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29974         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29975         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29977         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29978         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29979         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29980         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29981         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29982         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29983         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29984         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29985         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29987         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29989         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29990         * sysdeps/sparc/fpu/libm-test-ulps: to here.
29991         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29993         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29994         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29995         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29996         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29997         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29998         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29999         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
30000         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30001         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30002         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
30003         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
30004         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30005         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30006         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30007         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30008         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30009         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
30010         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
30011         * sysdeps/sparc/elf/configure: Regenerated.
30013 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
30015         * configure.in (AS, LD): Require binutils 2.20 or later.
30016         * configure: Regenerated.
30017         * manual/install.texi (Tools for Compilation): Give binutils 2.20
30018         as required minimum version.
30019         * INSTALL: Regenerated.
30021         [BZ #2541]
30022         [BZ #4108]
30023         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
30024         before squaring exponent.
30025         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
30026         bottom long double and 27 bits of top long double before squaring
30027         exponent.
30028         * math/libm-test.inc (erfc_test): Add more tests.
30029         * sysdeps/i386/fpu/libm-test-ulps: Update.
30030         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30033 2012-03-01  Kai Tietz  <ktietz@redhat.com>
30035         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
30036         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
30037         containing bit-fields.
30038         * soft-fp/extended.h (_FP_UNION_E): Likewise.
30039         * soft-fp/single.h (_FP_UNION_S): Likewise.
30040         * soft-fp/double.h (_FP_UNION_D): Likewise.
30042 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
30044         [BZ #13786]
30045         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
30046         not include ../strcmp.S.
30047         [USE_AS_STRNCASECMP_L]: Likewise.
30048         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
30049         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
30050         * sysdeps/i386/i686/multiarch/strncase_l-c.c
30051         (__strncasecmp_l_ia32): Define as alias to
30052         __strncasecmp_l_nonascii.
30054         [BZ #5794]
30055         * math/libm-test.inc (expm1_test): Add test for bug 5794.
30056         * sysdeps/i386/fpu/libm-test-ulps: Update.
30057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30059         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
30060         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30062 2012-02-29  Jeff Law  <law@redhat.com>
30064         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
30065         out of bounds read.
30067 2012-02-29  Marek Polacek  <polacek@redhat.com>
30069         [BZ #13706]
30070         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
30071         * elf/Makefile: Add rules to run tst-unused-dep.out.
30073 2012-02-28  David S. Miller  <davem@davemloft.net>
30075         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
30076         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
30077         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
30078         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
30079         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
30080         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
30082 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
30084         * math/libm-test.inc (llround_test): Move one test from
30085         lround_test.  Use TEST_f_L in moved test.
30086         (lround_test): Move misplaced test to llround_test.  Add testcase
30087         from bug 2561.
30089 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
30091         * sysdeps/x86_64/fpu/e_expf.S: New file.
30092         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
30094 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
30096         [BZ #13637]
30097         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
30098         of remain_len that may cause incomplete multi-byte character and
30099         false match.
30100         * posix/bug-regex33.c: New file.
30101         * posix/Makefile (tests): Add bug-regex33.
30103 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
30105         * manual/macros.texi: New file.
30106         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
30107         * manual/libc.texinfo: Include macros.texi.
30108         * manual/creatute.texi: Likewise.
30109         * manual/install.texi: Likewise.
30110         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
30111         @glibcadj{} in references to the GNU C Library.
30112         * manual/charset.texi: Likewise.
30113         * manual/conf.texi: Likewise.
30114         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
30115         when not using those macros.
30116         * manual/creature.texi: Likewise.
30117         * manual/crypt.texi: Likewise.
30118         * manual/errno.texi: Likewise.
30119         * manual/filesys.texi: Likewise.
30120         * manual/header.texi: Likewise.
30121         * manual/install.texi: Likewise.
30122         * manual/intro.texi: Likewise.
30123         * manual/io.texi: Likewise.
30124         * manual/job.texi: Likewise.
30125         * manual/lang.texi: Likewise.
30126         * manual/libc.texiinfo: Likewise.
30127         * manual/llio.texi: Likewise.
30128         * manual/locale.texi: Likewise.
30129         * manual/maint.texi: Likewise.
30130         * manual/math.texi: Likewise.
30131         * manual/memory.texi: Likewise.
30132         * manual/message.texi: Likewise.
30133         * manual/nss.texi: Likewise.
30134         * manual/pattern.texi: Likewise.
30135         * manual/process.texi: Likewise.
30136         * manual/resource.texi: Likewise.
30137         * manual/search.texi: Likewise.
30138         * manual/setjmp.texi: Likewise.
30139         * manual/signal.texi: Likewise.
30140         * manual/socket.texi: Likewise.
30141         * manual/startup.texi: Likewise.
30142         * manual/stdio.texi: Likewise.
30143         * manual/string.texi: Likewise.
30144         * manual/sysinfo.texi: Likewise.
30145         * manual/syslog.texi: Likewise.
30146         * manual/terminal.texi: Likewise.
30147         * manual/time.texi: Likewise.
30148         * manual/users.texi: Likewise.
30149         * INSTALL: Regenerated.
30150         * NOTES: Regenerated.
30151         * sysdeps/gnu/errlist.c: Regenerated.
30153 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
30155         * include/dirent.h: Include <dirstream.h> before
30156         <dirent/dirent.h>.
30158 2012-02-28  David S. Miller  <davem@davemloft.net>
30160         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
30161         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
30162         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
30163         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
30165 2012-02-27  David S. Miller  <davem@davemloft.net>
30167         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
30168         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
30169         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
30170         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
30172         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
30173         frame pointer instead of stack pointer relative arg slot.
30174         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30175         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30176         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30178 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
30180         [BZ #3992]
30181         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
30183 2012-02-27  David S. Miller  <davem@davemloft.net>
30185         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
30186         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30187         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30188         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
30189         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30190         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30191         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
30192         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
30194 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
30196         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
30197         later.  Allow versions 5-9.
30198         * configure: Regenerated.
30199         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
30200         required minimum version and 4.6 as recommended version.  Do not
30201         mention bugs in GCC 2.7 and 2.8.
30202         * INSTALL: Regenerated.
30204 2012-02-27  David S. Miller  <davem@davemloft.net>
30206         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
30207         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
30208         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
30209         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
30210         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
30211         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
30212         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
30213         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
30215         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
30216         manipulate bits before adding and subtracting TWO112[sx].
30217         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30219 2012-02-27  Roland McGrath  <roland@hack.frob.com>
30221         [BZ #13775]
30222         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
30223         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
30224         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
30225         being in POSIX, because they are in 1003.1-2008.
30227         * rt/tst-aio.c: Include <fcntl.h>.
30228         * rt/tst-aio7.c: Likewise.
30229         * rt/tst-aio64.c: Likewise.
30231         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
30233 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
30235         * manual/install.texi (--with-headers): Describe headers as
30236         interface headers, not private headers.
30237         (Specific advice for GNU/Linux systems): Describe use of headers
30238         from "make headers_install", not private headers from older
30239         kernels.
30240         * INSTALL: Regenerated.
30241         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
30242         Change to 2.6.19.
30243         * sysdeps/unix/sysv/linux/configure: Regenerated.
30245         * manual/llio.texi (fclean): Remove documentation.
30247         * manual/Makefile (libc-texi-generated): New variable.  Include
30248         version.texi.
30249         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
30250         $(libc-texi-generated), not duplicated list of files.
30251         (version.texi, stamp-version): New rules.
30252         (realclean): Remove $(libc-texi-generated), not individual files
30253         from that list.  Do not remove dir-add.texinfo.
30254         * manual/libc.texinfo: Comment out uses of edition numbers and
30255         references to printed manual.  Remove last-updated dates.
30256         (EDITION): Comment out.
30257         (ISBN): Likewise.
30258         (VERSION, UPDATED): Remove.
30259         (version.texi): Include.
30261 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
30263         * sysdeps/posix/spawni.c: Include <signal.h>.
30264         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
30265         * sysdeps/pthread/aio_fsync.c: Likewise.
30267 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
30269         * conform/Makefile (tests): Run only when not cross-compiling and
30270         when fast-check is not defined.
30272         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
30273         * conform/data/limits.h-data: Fixes for POSIX2008.
30274         * conform/run-conformtest.sh: Run all tests.
30275         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
30276         headers.
30277         * include/bits/dlfcn.h: Likewise.
30278         * include/langinfo.h: Likewise.
30279         * include/monetary.h: Likewise.
30280         * include/sys/poll.h: Likewise.
30282         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
30283         for __USE_GNU.
30284         * posix/spawn.h: Define __need_sigset_t.
30285         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
30286         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
30287         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
30288         to get sigevent_t only.
30289         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
30290         only for __USE_GNU.
30291         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30292         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30293         process_vm_writev only for __USE_GNU.
30294         * termios/termios.h: Declare tcgetsid also for POSIX2008.
30296         * conform/Makefile: For now ignore errors from run-conformtest.
30297         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
30298         POSIX to avoid namespace pollution.  Don't prepend headers.
30299         * conform/data/aio.h-data: Fixes for POSIX testing.
30300         * conform/data/fcntl.h-data: Likewise.
30301         * conform/data/glob.h-data: Likewise.
30302         * conform/data/grp.h-data: Likewise.
30303         * conform/data/pthread.h-data: Likewise.
30304         * conform/data/pwd.h-data: Likewise.
30305         * conform/data/signal.h-data: Likewise.
30306         * conform/data/spawn.h-data: Likewise.
30307         * conform/data/stdio.h-data: Likewise.
30308         * conform/data/stdlib.h-data: Likewise.
30309         * conform/data/stropts.h-data: Likewise.
30310         * conform/data/sys/mman.h-data: Likewise.
30311         * conform/data/sys/stat.h-data: Likewise.
30312         * conform/data/sys/types.h-data: Likewise.
30313         * conform/data/sys/wait.h-data: Likewise.
30314         * conform/data/time.h-data: Likewise.
30315         * conform/data/unistd.h-data: Likewise.
30316         * conform/data/utime.h-data: Likewise.
30318         * io/sys/stat.h: fchmod was always in POSIX.
30319         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
30320         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
30321         * rt/aio.h: Define __need_timespec before including <time.h>.
30322         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
30323         struct.  Add forward declaration of pthread_attr_t and use it in
30324         sigevent.
30325         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30326         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30327         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
30328         always remove CLK_TCK definition.
30330 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
30332         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
30334 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
30336         * conform/run-conformtest.sh: New file.
30337         * conform/Makefile: Run run-conformtest for tests.
30338         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
30339         support.
30341         * conform/data/uchar.h-data: New file.
30342         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
30343         * conform/data/arpa/inet.h-data: Likewise.
30344         * conform/data/assert.h-data: Likewise.
30345         * conform/data/complex.h-data: Likewise.
30346         * conform/data/cpio.h-data: Likewise.
30347         * conform/data/ctype.h-data: Likewise.
30348         * conform/data/dirent.h-data: Likewise.
30349         * conform/data/dlfcn.h-data: Likewise.
30350         * conform/data/errno.h-data: Likewise.
30351         * conform/data/fcntl.h-data: Likewise.
30352         * conform/data/float.h-data: Likewise.
30353         * conform/data/fmtmsg.h-data: Likewise.
30354         * conform/data/fnmatch.h-data: Likewise.
30355         * conform/data/ftw.h-data: Likewise.
30356         * conform/data/glob.h-data: Likewise.
30357         * conform/data/grp.h-data: Likewise.
30358         * conform/data/iconv.h-data: Likewise.
30359         * conform/data/inttypes.h-data: Likewise.
30360         * conform/data/langinfo.h-data: Likewise.
30361         * conform/data/libgen.h-data: Likewise.
30362         * conform/data/limits.h-data: Likewise.
30363         * conform/data/locale.h-data: Likewise.
30364         * conform/data/math.h-data: Likewise.
30365         * conform/data/monetary.h-data: Likewise.
30366         * conform/data/mqueue.h-data: Likewise.
30367         * conform/data/ndbm.h-data: Likewise.
30368         * conform/data/net/if.h-data: Likewise.
30369         * conform/data/netdb.h-data: Likewise.
30370         * conform/data/netinet/in.h-data: Likewise.
30371         * conform/data/nl_types.h-data: Likewise.
30372         * conform/data/poll.h-data: Likewise.
30373         * conform/data/pthread.h-data: Likewise.
30374         * conform/data/pwd.h-data: Likewise.
30375         * conform/data/regex.h-data: Likewise.
30376         * conform/data/sched.h-data: Likewise.
30377         * conform/data/search.h-data: Likewise.
30378         * conform/data/semaphore.h-data: Likewise.
30379         * conform/data/setjmp.h-data: Likewise.
30380         * conform/data/signal.h-data: Likewise.
30381         * conform/data/spawn.h-data: Likewise.
30382         * conform/data/stdarg.h-data: Likewise.
30383         * conform/data/stdio.h-data: Likewise.
30384         * conform/data/stdlib.h-data: Likewise.
30385         * conform/data/string.h-data: Likewise.
30386         * conform/data/strings.h-data: Likewise.
30387         * conform/data/stropts.h-data: Likewise.
30388         * conform/data/sys/ipc.h-data: Likewise.
30389         * conform/data/sys/mman.h-data: Likewise.
30390         * conform/data/sys/msg.h-data: Likewise.
30391         * conform/data/sys/resource.h-data: Likewise.
30392         * conform/data/sys/select.h-data: Likewise.
30393         * conform/data/sys/sem.h-data: Likewise.
30394         * conform/data/sys/shm.h-data: Likewise.
30395         * conform/data/sys/socket.h-data: Likewise.
30396         * conform/data/sys/stat.h-data: Likewise.
30397         * conform/data/sys/statvfs.h-data: Likewise.
30398         * conform/data/sys/time.h-data: Likewise.
30399         * conform/data/sys/timeb.h-data: Likewise.
30400         * conform/data/sys/times.h-data: Likewise.
30401         * conform/data/sys/types.h-data: Likewise.
30402         * conform/data/sys/uio.h-data: Likewise.
30403         * conform/data/sys/un.h-data: Likewise.
30404         * conform/data/sys/utsname.h-data: Likewise.
30405         * conform/data/sys/wait.h-data: Likewise.
30406         * conform/data/syslog.h-data: Likewise.
30407         * conform/data/tar.h-data: Likewise.
30408         * conform/data/termios.h-data: Likewise.
30409         * conform/data/utime.h-data: Likewise.
30410         * conform/data/utmpx.h-data: Likewise.
30411         * conform/data/varargs.h-data: Likewise.
30412         * conform/data/wchar.h-data: Likewise.
30413         * conform/data/wctype.h-data: Likewise.
30414         * conform/data/wordexp.h-data: Likewise.
30416         * include/stropts.h: New file.
30417         * include/uchar.h: New file.
30418         * include/aio.h: Changes to allow conformtest.pl to use the headers.
30419         * include/assert.h: Likewise.
30420         * include/ctype.h: Likewise.
30421         * include/dirent.h: Likewise.
30422         * include/dlfcn.h: Likewise.
30423         * include/fcntl.h: Likewise.
30424         * include/fnmatch.h: Likewise.
30425         * include/glob.h: Likewise.
30426         * include/grp.h: Likewise.
30427         * include/libio.h: Likewise.
30428         * include/locale.h: Likewise.
30429         * include/math.h: Likewise.
30430         * include/net/if.h: Likewise.
30431         * include/netdb.h: Likewise.
30432         * include/netinet/in.h: Likewise.
30433         * include/pthread.h: Likewise.
30434         * include/pwd.h: Likewise.
30435         * include/regex.h: Likewise.
30436         * include/sched.h: Likewise.
30437         * include/search.h: Likewise.
30438         * include/setjmp.h: Likewise.
30439         * include/signal.h: Likewise.
30440         * include/stdio.h: Likewise.
30441         * include/stdlib.h: Likewise.
30442         * include/string.h: Likewise.
30443         * include/sys/cdefs.h: Likewise.
30444         * include/sys/mman.h: Likewise.
30445         * include/sys/msg.h: Likewise.
30446         * include/sys/resource.h: Likewise.
30447         * include/sys/select.h: Likewise.
30448         * include/sys/socket.h: Likewise.
30449         * include/sys/stat.h: Likewise.
30450         * include/sys/statvfs.h: Likewise.
30451         * include/sys/time.h: Likewise.
30452         * include/sys/times.h: Likewise.
30453         * include/sys/uio.h: Likewise.
30454         * include/sys/utsname.h: Likewise.
30455         * include/sys/wait.h: Likewise.
30456         * include/termios.h: Likewise.
30457         * include/time.h: Likewise.
30458         * include/ulimit.h: Likewise.
30459         * include/unistd.h: Likewise.
30460         * include/utime.h: Likewise.
30461         * include/wchar.h: Likewise.
30462         * include/wctype.h: Likewise.
30463         * include/wordexp.h: Likewise.
30465         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
30467         * time/time.h: TIME_UTC must be a macro.
30468         Make timespec_get available for ISO C11 only as well.
30470 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
30472         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
30473         Reported by Peng Haitao <penght@cn.fujitsu.com>.
30475 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
30477         * configure.in: Use -o not -a in test for unsupported multi-arch.
30479 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
30481         * manual/texinfo.tex: Update to version 2012-01-19.16.
30483 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
30485         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
30487 2012-02-24  Roland McGrath  <roland@hack.frob.com>
30489         [BZ #13738]
30490         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
30491         * manual/fdl-1.3.texi: New file.
30492         * manual/fdl-1.1.texi: File removed.
30494         [BZ #13738]
30495         * manual/libc.texinfo (FDL_VERSION): New @set.
30496         Use it for mention of FDL in cover text.
30497         (Documentation License): Use it in @include file name.
30499 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30500             Roland McGrath  <roland@hack.frob.com>
30502         [BZ #5461]
30503         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
30504         not LONG_LONG_MAX and LONG_LONG_MIN.
30505         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
30506         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
30507         name.
30508         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
30510 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30512         [BZ #2547]
30513         [BZ #11365]
30514         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
30515         manipulate bits before adding and subtracting TWO23[sx].
30516         * math/libm-test.inc (nearbyint_test): Add more tests.
30518 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30520         [BZ #2548]
30521         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
30522         bits before adding and subtracting TWO23[sx].
30523         * math/libm-test.inc (rint_test): Add more tests.
30524         (rint_test_tonearest): Likewise.
30525         (rint_test_towardzero): Likewise.
30526         (rint_test_downward): Likewise.
30527         (rint_test_upward: Likewise.
30529 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30531         [BZ #10110]
30532         * include/stdc-predef.h: New file.  Extracted from features.h.
30533         * include/features.h: Include stdc-predef.h.
30534         * Makefile (headers): Add stdc-predef.h.
30535         * CONFORMANCE (Compiler limitations): Update.
30537 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30539         * manual/libc.texinfo (VERSION, UPDATED): Revert.
30541 2012-02-21  David S. Miller  <davem@davemloft.net>
30543         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
30544         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30546 2012-02-20  David S. Miller  <davem@davemloft.net>
30548         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
30549         using a normal save/restore sequence, rather than allocating a
30550         dummy stack frame just to store a frame pointer and restore.
30551         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30553 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
30555         * manual/install.texi: Fix stray word in line-wrapped comment.
30557 2012-02-20  David S. Miller  <davem@davemloft.net>
30559         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
30560         both binutils and gcc support GOTDATA.
30562         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
30563         "rd %pc" in the PIC register setup sequences.
30565         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
30566         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30567         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30568         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
30569         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30570         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30571         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30572         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30573         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
30574         (SYSCALL_ERROR_HANDLER): Likewise.
30575         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30576         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30577         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
30578         (SYSCALL_ERROR_HANDLER): Likewise.
30580         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
30581         (HAVE_GCC_GOTDATA): New.
30582         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
30583         relocation support in both binutils and gcc.
30584         * sysdeps/sparc/elf/configure: Regenerate.
30586         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
30587         * sysdeps/sparc/sparc32/elf/configure: Delete.
30588         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
30589         * sysdeps/sparc/sparc64/elf/configure: Delete.
30590         * sysdeps/sparc/elf/configure.in: New file.
30591         * sysdeps/sparc/elf/configure: Generate.
30593         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
30594         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
30595         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30596         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
30597         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
30599 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
30601         * manual/install.texi: Do not mention specific glibc version
30602         numbers.
30603         * manual/libc.texinfo (VERSION, UPDATED): Update.
30604         (@copying): Use @copyright{} and range of years.
30606 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
30608         [BZ #13695]
30609         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
30610         [crti.S not in sysdirs] (generated): Do not append.
30611         [crti.S not in sysdirs] (omit-deps): Likewise.
30612         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
30613         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
30614         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
30615         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
30616         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
30617         Likewise.
30618         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
30619         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
30620         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
30621         * csu/defs.awk: Remove file.
30622         * sysdeps/generic/initfini.c: Likewise.
30623         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
30624         variable.
30625         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
30626         Likewise.
30628 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
30630         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
30631         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
30632         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
30633         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
30634         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30635         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
30636         <bits/epoll.h>.
30637         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
30638         (__EPOLL_PACKED): Define to empty if not defined by
30639         <bits/epoll.h>.
30640         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
30641         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30642         bits/epoll.h.
30644 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
30646         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
30647         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
30648         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
30649         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
30650         <bits/timerfd.h>.
30651         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
30652         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30653         bits/timerfd.h.
30655 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
30657         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
30658         in C locale.
30659         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30660         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30661         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
30662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30664 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
30666         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30667         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30669 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
30671         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
30672         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
30673         defined.
30674         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
30675         Likewise.
30676         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
30677         entry for 2.16.
30679 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
30681         * math/w_acos.c: Use non-signaling floating-point comparisons.
30682         * math/w_acosf.c: Likewise.
30683         * math/w_acosh.c: Likewise.
30684         * math/w_acoshf.c: Likewise.
30685         * math/w_acoshl.c: Likewise.
30686         * math/w_acosl.c: Likewise.
30687         * math/w_asin.c: Likewise.
30688         * math/w_asinf.c: Likewise.
30689         * math/w_asinl.c: Likewise.
30690         * math/w_atanh.c: Likewise.
30691         * math/w_atanhf.c: Likewise.
30692         * math/w_atanhl.c: Likewise.
30693         * math/w_exp2.c: Likewise.
30694         * math/w_exp2f.c: Likewise.
30695         * math/w_exp2l.c: Likewise.
30696         * math/w_j0.c: Likewise.
30697         * math/w_j0f.c: Likewise.
30698         * math/w_j0l.c: Likewise.
30699         * math/w_j1.c: Likewise.
30700         * math/w_j1f.c: Likewise.
30701         * math/w_j1l.c: Likewise.
30702         * math/w_jn.c: Likewise.
30703         * math/w_jnf.c: Likewise.
30704         * math/w_log.c: Likewise.
30705         * math/w_log10.c: Likewise.
30706         * math/w_log10f.c: Likewise.
30707         * math/w_log10l.c: Likewise.
30708         * math/w_log2.c: Likewise.
30709         * math/w_log2f.c: Likewise.
30710         * math/w_log2l.c: Likewise.
30711         * math/w_logf.c: Likewise.
30712         * math/w_logl.c: Likewise.
30713         * math/w_sqrt.c: Likewise.
30714         * math/w_sqrtf.c: Likewise.
30715         * math/w_sqrtl.c: Likewise.
30716         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30717         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30718         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30719         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30720         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30722 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
30724         [BZ #9739]
30725         * manual/string.texi (strnlen): Use correct parameter name in
30726         equivalent expression.
30728 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
30730         [BZ #11174]
30731         * manual/users.texi (seteuid): Consistently use neweuid for
30732         argument name.
30734 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
30736         [BZ #13704]
30737         * manual/nss.texi (Services in the NSS configuration): Correct
30738         list of services in example configuration file.
30740 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
30742         [BZ #11322]
30743         * manual/arith.texi: Remove statements about negative zero
30744         behaving identically to zero.
30746 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
30748         [BZ #5993]
30749         * manual/install.texi: Do not document upgrading from libc5.
30751 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
30753         [BZ #4596]
30754         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30756 2012-02-18  David S. Miller  <davem@davemloft.net>
30758         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30759         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30760         %o7 across the call.
30761         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30762         instead.
30763         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30764         SETUP_PIC_REG_LEAF.
30765         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30766         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30767         * sysdeps/sparc/crtn.S: Likewise.
30769 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
30771         * aout/Makefile: Remove.
30773 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
30775         [BZ #13058]
30776         * manual/examples/argp-ex1.c (main): Format definition in GNU
30777         style.
30778         * manual/examples/argp-ex2.c (main): Likewise.
30779         * manual/examples/argp-ex3.c (main): Likewise.
30780         * manual/examples/argp-ex4.c (main): Likewise.
30781         * manual/examples/longopt.c (main): Use new-style prototype
30782         definition.
30783         * manual/examples/strncat.c (main): Specify return type and use
30784         (void) for arguments.
30785         * manual/examples/subopt.c (main): Use char **argv argument.
30787 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30789         [BZ #5077]
30790         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30791         rounding modes.
30793 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
30795         [BZ #6907]
30796         * manual/string.texi (strchr): Change when strchrnul is
30797         recommended.
30799 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
30801         [BZ #174]
30802         * manual/locale.texi (setlocale): Document LOCPATH.
30804 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30806         [BZ #10210]
30807         * manual/process.texi (execle): Move @dots{} before last argument.
30809 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
30811         [BZ #12047]
30812         * manual/charset.texi (Generic Charset Conversion): Fix typo
30813         (LC_TYPE -> LC_CTYPE).
30815 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
30817         [BZ #5805]
30818         * manual/arith.texi (scalbn): Use @var{} on parameter names.
30819         (scalbnf): Likewise.
30820         (scalbnl): Likewise.
30821         (scalbln): Likewise.
30822         (scalblnf): Likewise.
30823         (scalblnl): Likewise.
30824         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30825         (vwarnx): Likewise.
30826         (verr): Likewise.
30827         (verrx): Likewise.
30828         * manual/filesys.texi (telldir): Use braces around return type.
30829         * manual/llio.texi (mmap): Add space after comma.
30830         (mmap64): Likewise.
30831         * manual/math.texi (jn): Use @var{} on parameter names.
30832         (jnf): Likewise.
30833         (jnl): Likewise.
30834         (yn): Likewise.
30835         (ynf): Likewise.
30836         (ynl): Likewise.
30837         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30838         line.
30839         * manual/resource.texi (ulimit): Use @dots{} instead of literal
30840         "...".
30841         (sched_get_priority_min): Remove semicolon on @deftypefun line.
30842         (sched_get_priority_max): Likewise.
30843         * manual/signal.texi (sigvec): Add space after comma.
30844         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30845         names.
30846         (if_indextoname): Likewise.
30847         (if_freenameindex): Likewise.
30848         (sendto): Use ',' instead of '.' in prototype.
30849         * manual/startup.texi (syscall): Use @dots{} instead of literal
30850         "...".
30851         * manual/stdio.texi (__fpending): Separate initial words of
30852         paragraph from @deftypefun line.
30853         * manual/syslog.texi (syslog): Use @dots{} instead of literal
30854         "...".
30855         (vsyslog): Use @var{} on parameter names.
30856         * manual/terminal.texi (stty): Use @var{} on parameter names.
30857         * manual/users.texi (getutmp): Use @var{} on parameter names.
30858         (getutmpx): Likewise.
30860 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30862         [BZ #6884]
30863         * manual/stdio.texi (fopen): Fix typos in description of
30864         ",ccs=STRING".
30866 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
30868         [BZ #4026]
30869         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30870         get clock_id definition.
30872 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
30874         [BZ #4822]
30875         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30876         (madvise): Cast every argument to void on its own.
30878 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30880         [BZ #9902]
30881         * manual/startup.texi (Exit Status): Fix typo.
30883 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30885         [BZ #10140]
30886         * manual/examples/argp-ex1.c: Include <stdlib.h>.
30887         * manual/examples/argp-ex2.c: Likewise.
30888         * manual/examples/argp-ex3.c: Likewise.
30890 2012-02-16  Richard Henderson  <rth@redhat.com>
30892         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30893         * sysdeps/s390/s390-32/initfini.c: Remove.
30894         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30895         * sysdeps/s390/s390-64/initfini.c: Remove.
30897 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30899         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30900         compiler output for sysdeps/generic/initfini.c.
30901         * sysdeps/sh/elf/initfini.c: Remove file.
30903 2012-02-16  David S. Miller  <davem@davemloft.net>
30905         [BZ #11494]
30906         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30908         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30909         * sysdeps/sparc/crti.S: New file.
30910         * sysdeps/sparc/crtn.S: New file.
30911         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30912         * sysdeps/sparc/sparc64/Makefile: Likewise.
30914 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
30916         [BZ #3335]
30917         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30919 2012-02-15  Roland McGrath  <roland@hack.frob.com>
30921         [BZ #4822]
30922         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30924         * mach/devstream.c (cookie_io_functions_t): Macro removed.
30925         (write, read, close): Likewise.
30926         Patch by Aurelien Jarno <aurelien@aurel32.net>.
30928 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
30930         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30931         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30932         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30933         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30934         <bits/signalfd.h>.
30935         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30936         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30937         bits/signalfd.h.
30939 2012-02-14  Marek Polacek  <polacek@redhat.com>
30941         * sysdeps/x86_64/crti.S: New file.
30942         * sysdeps/x86_64/crtn.S: New file.
30943         * sysdeps/x86_64/elf/initfini.c: Remove file.
30945 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
30947         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30948         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30949         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30950         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30951         <bits/inotify.h>.
30952         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30953         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30954         bits/inotify.h.
30956 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
30958         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30959         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30960         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30961         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30962         <bits/eventfd.h>.
30963         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30964         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30965         bits/eventfd.h.
30967 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
30969         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30970         __feraiseexcept instead of feraiseexcept.
30972         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30973         nanosleep invocations.
30974         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30975         strings, and add error checking for a nanosleep invocations.
30977 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
30979         Replace FSF snail mail address with URLs, as per GNU coding standards.
30980         Most of the snail mail addresses were wrong anyway, and omitting
30981         them makes the source code easier to maintain.  Almost all of the
30982         changes are to license notices and to locale LC_IDENTIFICATION
30983         addresses, except for this one:
30984         * manual/libc.texinfo: In "Published by", give the FSF's URL,
30985         not its snail mail address.
30987 2012-02-09  Richard Henderson  <rth@twiddle.net>
30989         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30990         of kernel-features.h.
30992         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30994 2012-02-08  Marek Polacek  <polacek@redhat.com>
30996         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30997         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30998         * sysdeps/gnu/_G_config.h: Likewise.
30999         * sysdeps/generic/_G_config.h: Likewise.
31001 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
31003         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
31004         tests.
31005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31007         * sysdeps/powerpc/powerpc32/crti.S: New file.
31008         * sysdeps/powerpc/powerpc32/crtn.S: New file.
31009         * sysdeps/powerpc/powerpc64/crti.S: New file.
31010         * sysdeps/powerpc/powerpc64/crtn.S: New file.
31012         * Makeconfig (have-initfini): Don't set.
31013         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
31014         * configure.in (nopic_initfini): Don't substitute.
31015         * config.h.in (HAVE_INITFINI): Don't #undef.
31016         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
31017         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
31019 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
31021         Support crti.S and crtn.S provided directly by architectures.
31022         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
31023         [crti.S in sysdirs] (omit-deps): Likewise.
31024         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
31025         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
31026         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
31027         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
31028         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
31029         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
31030         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
31031         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
31032         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
31033         compiler output for sysdeps/generic/initfini.c.
31034         * sysdeps/i386/elf/Makefile: Remove file.
31035         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
31037 2012-02-07  Marek Polacek  <polacek@redhat.com>
31039         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
31040         * sysdeps/gnu/_G_config.h: Likewise.
31041         * sysdeps/mach/hurd/_G_config.h: Likewise.
31043 2012-02-07  Marek Polacek  <polacek@redhat.com>
31045         * math/Makefile (tests): Add tst-CMPLX2.
31046         * math/tst-CMPLX2.c: New file.
31048 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
31050         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31052         * math/libm-test.inc (jn_test): Add missing L suffix.
31054 2012-02-06  Marek Polacek  <polacek@redhat.com>
31056         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
31057         * sysdeps/i386/fpu/e_powf.S: Likewise.
31058         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31059         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
31060         * sysdeps/i386/fpu/e_acosh.S: Likewise.
31061         * sysdeps/i386/fpu/e_pow.S: Likewise.
31062         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31063         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31064         * sysdeps/i386/fpu/s_expm1.S: Likewise.
31065         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31066         * sysdeps/i386/fpu/e_log2.S: Likewise.
31067         * sysdeps/i386/fpu/e_log2l.S: Likewise.
31068         * sysdeps/i386/fpu/e_scalb.S: Likewise.
31069         * sysdeps/i386/fpu/e_powl.S: Likewise.
31070         * sysdeps/i386/fpu/s_log1p.S: Likewise.
31071         * sysdeps/i386/fpu/e_log10f.S: Likewise.
31072         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31073         * sysdeps/i386/fpu/e_logl.S: Likewise.
31074         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31075         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
31076         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31077         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31078         * sysdeps/i386/fpu/e_log2f.S: Likewise.
31079         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31080         * sysdeps/i386/fpu/e_log.S: Likewise.
31081         * sysdeps/i386/fpu/s_cexp.S: Likewise.
31082         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31083         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
31084         * sysdeps/i386/fpu/e_logf.S: Likewise.
31085         * sysdeps/i386/fpu/e_log10l.S: Likewise.
31086         * sysdeps/i386/fpu/e_atanh.S: Likewise.
31087         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
31088         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31089         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
31090         * sysdeps/i386/fpu/e_log10.S: Likewise.
31091         * sysdeps/i386/fpu/s_frexp.S: Likewise.
31092         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31093         * sysdeps/i386/fpu/s_asinh.S: Likewise.
31094         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31095         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31096         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31097         * sysdeps/i386/asm-syntax.h: Likewise.
31098         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31099         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31100         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31101         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
31102         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
31103         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31104         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31105         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31106         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31107         * sysdeps/powerpc/sysdep.h: Likewise.
31108         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
31109         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31111 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
31113         [BZ #411]
31114         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
31116 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
31118         * sysdeps/i386/sysdep.h: Include <features.h>.
31119         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
31120         version.
31122 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
31124         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
31125         Define.
31126         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
31127         LOAD_PIC_REG_STR.
31129 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
31131         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
31132         (SETUP_PIC_REG): Use GET_PC_THUNK.
31133         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
31134         macro.
31136 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
31138         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
31139         for non-PIC compilation.
31140         (SETUP_PIC_REG): Add .p2align directive.
31141         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
31142         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
31143         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31144         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31145         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31146         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31147         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
31148         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31149         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31150         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31151         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31152         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31153         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31154         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31155         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31156         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31157         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31158         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31159         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31160         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31161         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31162         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31163         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31164         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31165         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31166         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31167         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31168         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31169         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31170         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31171         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31172         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31173         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31174         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31175         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31176         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31177         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31178         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31179         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31180         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31181         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31183 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
31185         * math/tst-CMPLX.c: Include <stdio.h>.
31187 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
31189         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
31190         float.
31191         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31192         * sysdeps/sparc/bits/mathdef.h: Likewise.
31194 2012-01-31  Marek Polacek  <polacek@redhat.com>
31196         * libio/libio.h: Don't define _PARAMS.
31197         * locale/programs/config.h: Don't define PARAMS.
31198         * stdlib/strtol_l.c: Likewise.
31199         (__strtol_l): Remove PARAMS from the prototype.
31201 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
31203         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
31204         names.  Just use the correct names.  Remove unnecessary wrapper
31205         functions.
31206         * malloc/arena.c: Likewise.
31207         * malloc/hooks.c: Likewise.
31209         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
31210         ARENA_TEST says not to.  Simplify test for creation of a new arena.
31211         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
31213 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
31215         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
31216         into tail calls.
31217         (update_get_addr): New function.
31218         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
31219         GET_ADDR_MODULE parameter.
31221 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
31223         * crypt/cert.c: Remove __STDC__ conditionals.
31224         * crypt/crypt-entry.c: Likewise.
31225         * crypt/crypt_util.c: Likewise.
31226         * libio/filedoalloc.c: Likewise.
31227         * libio/fileops.c: Likewise.
31228         * libio/genops.c: Likewise.
31229         * libio/iofclose.c: Likewise.
31230         * libio/iofdopen.c: Likewise.
31231         * libio/iofopen.c: Likewise.
31232         * libio/iofopen64.c: Likewise.
31233         * libio/iogetdelim.c: Likewise.
31234         * libio/iopopen.c: Likewise.
31235         * libio/obprintf.c: Likewise.
31236         * libio/oldfileops.c: Likewise.
31237         * libio/oldiofclose.c: Likewise.
31238         * libio/oldiofdopen.c: Likewise.
31239         * libio/oldiofopen.c: Likewise.
31240         * libio/oldiopopen.c: Likewise.
31241         * libio/wfiledoalloc.c: Likewise.
31242         * libio/wgenops.c: Likewise.
31243         * locale/programs/xmalloc.c: Likewise.
31244         * misc/syslog.c: Likewise.
31245         * stdio-common/xbug.c: Likewise.
31246         * string/memchr.c: Likewise.
31247         * string/memcmp.c: Likewise.
31248         * string/memrchr.c: Likewise.
31249         * string/rawmemchr.c: Likewise.
31250         * sysdeps/posix/getcwd.c: Likewise.
31251         * time/strftime_l.c: Likewise.
31253 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
31255         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
31256         * config.make.in (config-cflags-sse2avx): Define.
31257         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
31258         Fix typo.
31260 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
31262         * scripts/config.guess: Update from upstream config git repository.
31263         * scripts/config.sub: Likewise.
31265 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
31267         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
31268         (EM_NUM): Update.
31269         (R_TILEPRO_*, R_TILEGX_*): New macros.
31271         * scripts/firstversions.awk: Fix bug in version range handling.
31273         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
31275         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
31277         * include/sys/epoll.h: New file.
31278         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
31279         libc_hidden_def.
31281 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
31283         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
31284         Avoid unnecessary __WORDSIZE == 64 test.
31285         (fmaxf): Use VEX format if possible.
31286         (fmax): Likewise.
31287         (fminf): Likewise.
31288         (fmin): Likewise.
31290         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
31291         * math/math_private.h: Remove libc_fegetround* and
31292         libc_fesetround*.
31293         * sysdeps/i386/configure.in: Check for -msse2avx.
31294         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
31295         also if SSE2AVX is defined.
31296         Remove libc_fegetround* and libc_fesetround*.
31297         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
31298         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
31299         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
31300         of HAS_YMM_USABLE.
31301         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31302         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31303         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31304         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31305         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31307         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
31309 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31311         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
31312         size is not set.
31313         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31315 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
31317         [BZ #13618]
31318         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
31319         relocation.
31320         * Makeconfig (libm): Define.
31321         * elf/Makefile: Add rules to build and run tst-relsort1.
31322         * elf/tst-relsort1.c: New file.
31323         * elf/tst-relsort1mod1.c: New file.
31324         * elf/tst-relsort1mod2.c: New file.
31326 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
31328         * math/s_ldexp.c: Remove __STDC__ conditionals.
31329         * math/s_ldexpf.c: Likewise.
31330         * math/s_ldexpl.c: Likewise.
31331         * math/s_nextafter.c: Likewise.
31332         * math/s_nexttowardf.c: Likewise.
31333         * math/s_significand.c: Likewise.
31334         * math/s_significandf.c: Likewise.
31335         * math/s_significandl.c: Likewise.
31336         * math/w_jnl.c: Likewise.
31337         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
31338         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
31339         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
31340         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
31341         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
31342         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31343         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
31344         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31345         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31346         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31347         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31348         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31349         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31350         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
31351         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31352         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31353         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31354         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31355         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31356         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31357         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31358         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31359         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31360         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31361         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31362         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31363         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31364         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31365         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
31366         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31367         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31368         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
31369         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31370         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
31371         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
31372         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31373         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
31374         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
31375         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
31376         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
31377         * sysdeps/ieee754/k_standard.c: Likewise.
31378         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31379         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31380         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
31381         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
31382         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
31383         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
31384         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31385         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
31386         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
31387         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
31388         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
31389         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
31390         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
31391         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
31392         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
31393         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
31394         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
31395         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31396         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31397         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
31398         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31399         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31400         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
31401         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
31402         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31403         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31404         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31405         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31406         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31407         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
31408         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
31409         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
31410         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31411         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
31412         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
31413         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
31414         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
31415         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31416         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
31417         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
31418         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
31419         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
31420         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
31421         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
31422         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
31423         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31424         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31425         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31426         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
31427         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
31428         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
31429         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31430         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31431         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
31432         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
31433         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
31434         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
31435         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31436         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31437         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31438         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31439         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
31440         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
31441         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31442         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31443         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31444         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31445         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
31446         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
31447         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31448         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31449         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31450         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31451         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
31452         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
31453         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31454         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
31455         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
31456         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
31457         * sysdeps/ieee754/s_matherr.c: Likewise.
31458         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
31459         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31460         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31461         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31463 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
31465         * crypt/md5.h: Remove __STDC__ conditionals.
31466         * libio/libioP.h: Likewise.
31467         * locale/programs/config.h: Likewise.
31468         * sysdeps/generic/sysdep.h: Likewise.
31469         * sysdeps/i386/asm-syntax.h: Likewise.
31470         * sysdeps/s390/asm-syntax.h: Likewise.
31471         * sysdeps/unix/sysdep.h: Likewise.
31472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31475 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
31477         * libio/libio.h: Remove __STDC__ conditionals.
31478         * malloc/obstack.h: Likewise.
31479         * math/complex.h: Likewise.
31480         * math/math.h: Likewise.
31481         * sysdeps/generic/_G_config.h: Likewise.
31482         * sysdeps/gnu/_G_config.h: Likewise.
31483         * sysdeps/mach/hurd/_G_config.h: Likewise.
31484         * sysdeps/powerpc/bits/mathdef.h: Likewise.
31485         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31486         * sysdeps/sparc/bits/mathdef.h: Likewise.
31488 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
31490         [BZ #13583]
31491         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
31492         Clean up HAS_* macros.
31493         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
31494         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
31495         possible.
31496         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
31497         HAS_AVX.
31498         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31499         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31500         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31501         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31502         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31504 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
31506         * elf/tst-unique3.cc (gets): Remove declaration.
31507         * elf/tst-unique3lib.cc (gets): Likewise.
31508         * elf/tst-unique3lib2.cc (gets): Likewise.
31509         * elf/tst-unique4.cc (gets): Likewise.
31511 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
31513         * include/stdio.h: Add C++ protection.  Add gets declarations and
31514         definitions.
31515         * debug/tst-chk1.c: Don't declare gets here.
31516         * stdio-common/tst-gets.c: Likewise.
31518 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
31520         * posix/glob: Remove directory.
31522 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
31524         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
31526 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
31528         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
31529         of the non-standard EPFNOSUPPORT.
31531 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31533         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
31534         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
31535         ANYWHERE set to 1 only on KERN_NO_SPACE error.
31537 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
31539         * wcsmbs/uchar.h: Test __STDC_VERSION__.
31541 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
31543         * nscd/aicache.c (addhstaiX): Do not cache negative results of
31544         transient errors.
31545         * nscd/grpcache.c (cache_addgr): Likewise.
31546         * nscd/hstcache.c (cache_addhst): Likewise.
31547         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31548         * nscd/pwdcache.c (cache_addpw): Likewise.
31549         * nscd/servicescache.c (cache_addserv): Likewise.
31551 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
31553         * malloc/malloc.c: Various cleanups.
31554         * malloc/hooks.c: Likewise.
31556         * stdlib/Makefile (tests): Add bug-fmtmsg1.
31557         * stdlib/bug-fmtmsg1.c: New file.
31559         * stdlib/fmtmsg.c (init): Add missing unlock.
31560         Patch by Peng Haitao <penght@cn.fujitsu.com>.
31562 2012-01-12  Marek Polacek  <polacek@redhat.com>
31564         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
31565         and _GNU_SOURCE.
31567 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
31569         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
31570         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
31571         macro to ensure uniqueness of label name.
31572         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31573         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31575 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
31577         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
31579         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
31580         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
31581         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31582         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
31584 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
31586         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
31588         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
31589         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
31590         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31592         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
31594         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
31595         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
31596         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
31597         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
31599         * math/bits/math-finite.h: Add ldexp support.
31601 2012-01-10  Marek Polacek  <polacek@redhat.com>
31603         * locale/programs/localedef.h (show_archive_content): Add noreturn
31604         attribute.
31606 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
31608         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
31610 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
31612         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
31614         * io/Makefile (headers): Add bits/poll2.h.
31616 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
31618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
31619         typo #include statement.
31621 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
31623         * include/sys/cdefs.h: Define __attribute_alloc_size.
31624         * catgets/gencat.c: Add alloc_size attribute and apply consistently
31625         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
31626         * elf/pldd.c: Likewise.
31627         * iconv/iconv_charmap.c: Likewise.
31628         * iconv/iconvconfig.c: Likewise.
31629         * iconv/strtab.c: Likewise.
31630         * locale/programs/locale.c: Likewise.
31631         * locale/programs/localedef.h: Likewise.
31632         * locale/programs/simple-hash.c: Likewise.
31633         * nscd/nscd.h: Likewise.
31634         * nss/makedb.c: Likewise.
31635         * sysdeps/generic/ldconfig.h: Likewise.
31636         * locale/programs/localedef.c: Remove xmalloc prototype.
31637         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
31639 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
31641         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
31642         appropriate.
31644 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
31646         * math/Makefile (tests): Add tst-CMPLX.
31647         * math/tst-CMPLX.c: New file.
31649         * math/complex.h (CMPLXL): Fix typo.
31651         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
31652         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
31653         GLIBC_2.16.
31654         * debug/tst-chk1.c: Add poll and ppoll tests.
31655         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
31656         * include/sys/poll.h: Add hidden proto for ppoll.
31657         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
31658         * sysdeps/mach/hurd/ppoll.c: Likewise.
31659         * io/ppoll.c: Likewise.
31660         * debug/poll_chk.c: New file.
31661         * debug/ppoll_chk.c: New file.
31662         * include/bits/poll2.h: New file.
31663         * io/bits/poll2.h: New file.
31665         [BZ #1350]
31666         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
31668         * configure.in: static is always set to yes.  Remove.
31669         * config.make.in: Don't set build-static.
31670         * Makeconfig: Remove use of build-static.
31671         * dlfcn/Makefile: Likewise.
31672         * elf/Makefile: Likewise.
31673         * math/Makefile: Likewise.
31674         * misc/Makefile: Likewise.
31675         * nptl/Makefile: Likewise.
31676         * sysdeps/mach/hurd/Makefile: Likewise.
31678         * configure.in: PWD_P is not used anymore.
31679         * config.make.in: Remove PWD_P entry.
31681         * configure.in: Remove last remnants of RANLIB.
31682         No need to check for signed size_t anymore.
31683         Don't set libc_commonpagesize and libc_relro_required here for Alpha
31684         and IA-64.
31685         Remove __builtin_expect test because we require at least gcc 3.4.
31686         * aclocal.m4: Likewise.
31688         * wcsmbs/mbrtoc16.c: Implement using towc function.
31689         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
31690         * wcsmbs/wcsmbsload.c: Likewise.
31691         * iconv/gconv_simple.c: Likewise.
31692         * iconv/gconv_int.h: Likewise.
31693         * iconv/gconv_builtin.h: Likewise.
31694         * iconv/iconv_prog.c: Remove CHAR16 handling.
31696         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
31698         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
31700         * configure.in: Remove --with-elf and --enable-bounded options.
31701         Dont set base_machine for ia64.  More non-ELF conditions removed.
31702         Remove testing and setting of leading underscore information.
31703         * config.make.in (build-bounded): Set to no.
31704         * config.h.in: Remove NO_UNDERSCORES entry.
31705         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
31706         them.
31707         * csu/start.c: Remove !NO_UNDERSCORE code.
31708         * locale/localeinfo.h: Likewise.
31709         * sysdeps/generic/machine-gmon.h: Likewise.
31710         * sysdeps/generic/sysdep.h: Likewise.
31711         * sysdeps/i386/sysdep.h: Likewise.
31712         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31713         * sysdeps/mach/sysdep.h: Likewise.
31714         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31715         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31716         * sysdeps/sh/sysdep.h: Likewise.
31717         * sysdeps/sparc/sparc32/alloca.S: Likewise.
31718         * sysdeps/unix/i386/sysdep.S: Likewise.
31719         * sysdeps/unix/sparc/start.c: Likewise.
31720         * sysdeps/unix/sparc/sysdep.S: Likewise.
31721         * sysdeps/unix/sparc/sysdep.h: Likewise.
31722         * sysdeps/unix/start.c: Likewise.
31723         * sysdeps/unix/x86_64/sysdep.S: Likewise.
31724         * sysdeps/x86_64/sysdep.h: Likewise.
31726 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
31728         [BZ #13553]
31729         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
31730         for non-gcc.
31731         * argp/argp-fmtstream.h: Use const instead __const.
31732         * argp/argp.h: Likewise.
31733         * assert/assert.h: Likewise.
31734         * bits/fenv.h: Likewise.
31735         * bits/sched.h: Likewise.
31736         * bits/sigset.h: Likewise.
31737         * bits/sigthread.h: Likewise.
31738         * catgets/nl_types.h: Likewise.
31739         * conform/data/pthread.h-data: Likewise.
31740         * crypt/crypt-private.h: Likewise.
31741         * crypt/crypt.h: Likewise.
31742         * crypt/crypt_util.c: Likewise.
31743         * ctype/ctype.h: Likewise.
31744         * debug/execinfo.h: Likewise.
31745         * debug/mbsnrtowcs_chk.c: Likewise.
31746         * debug/mbsrtowcs_chk.c: Likewise.
31747         * debug/wcsnrtombs_chk.c: Likewise.
31748         * debug/wcsrtombs_chk.c: Likewise.
31749         * debug/wcstombs_chk.c: Likewise.
31750         * dirent/dirent.h: Likewise.
31751         * dlfcn/dlfcn.h: Likewise.
31752         * elf/neededtest4.c: Likewise.
31753         * grp/grp.h: Likewise.
31754         * gshadow/gshadow.h: Likewise.
31755         * iconv/gconv.h: Likewise.
31756         * iconv/gconv_int.h: Likewise.
31757         * iconv/gconv_simple.c: Likewise.
31758         * iconv/iconv.h: Likewise.
31759         * iconv/loop.c: Likewise.
31760         * iconv/skeleton.c: Likewise.
31761         * include/aio.h: Likewise.
31762         * include/aliases.h: Likewise.
31763         * include/argz.h: Likewise.
31764         * include/arpa/inet.h: Likewise.
31765         * include/assert.h: Likewise.
31766         * include/dirent.h: Likewise.
31767         * include/dlfcn.h: Likewise.
31768         * include/execinfo.h: Likewise.
31769         * include/fcntl.h: Likewise.
31770         * include/fenv.h: Likewise.
31771         * include/glob.h: Likewise.
31772         * include/grp.h: Likewise.
31773         * include/libintl.h: Likewise.
31774         * include/mntent.h: Likewise.
31775         * include/netdb.h: Likewise.
31776         * include/pwd.h: Likewise.
31777         * include/rpc/netdb.h: Likewise.
31778         * include/sched.h: Likewise.
31779         * include/search.h: Likewise.
31780         * include/shadow.h: Likewise.
31781         * include/signal.h: Likewise.
31782         * include/stdio.h: Likewise.
31783         * include/stdlib.h: Likewise.
31784         * include/string.h: Likewise.
31785         * include/sys/socket.h: Likewise.
31786         * include/sys/stat.h: Likewise.
31787         * include/sys/statfs.h: Likewise.
31788         * include/sys/statvfs.h: Likewise.
31789         * include/sys/syslog.h: Likewise.
31790         * include/sys/time.h: Likewise.
31791         * include/sys/uio.h: Likewise.
31792         * include/time.h: Likewise.
31793         * include/unistd.h: Likewise.
31794         * include/utmp.h: Likewise.
31795         * include/wchar.h: Likewise.
31796         * include/wctype.h: Likewise.
31797         * inet/aliases.h: Likewise.
31798         * inet/arpa/inet.h: Likewise.
31799         * inet/netinet/ether.h: Likewise.
31800         * inet/netinet/in.h: Likewise.
31801         * intl/libintl.h: Likewise.
31802         * io/bits/fcntl2.h: Likewise.
31803         * io/fcntl.h: Likewise.
31804         * io/ftw.h: Likewise.
31805         * io/sys/poll.h: Likewise.
31806         * io/sys/stat.h: Likewise.
31807         * io/sys/statfs.h: Likewise.
31808         * io/sys/statvfs.h: Likewise.
31809         * io/utime.h: Likewise.
31810         * libio/bits/stdio.h: Likewise.
31811         * libio/bits/stdio2.h: Likewise.
31812         * libio/libio.h: Likewise.
31813         * libio/libioP.h: Likewise.
31814         * libio/stdio.h: Likewise.
31815         * locale/lc-ctype.c: Likewise.
31816         * locale/locale.h: Likewise.
31817         * login/utmp.h: Likewise.
31818         * malloc/arena.c: Likewise.
31819         * malloc/malloc.c: Likewise.
31820         * malloc/malloc.h: Likewise.
31821         * malloc/mcheck.c: Likewise.
31822         * malloc/mtrace.c: Likewise.
31823         * math/bits/mathcalls.h: Likewise.
31824         * math/fenv.h: Likewise.
31825         * math/math_private.h: Likewise.
31826         * misc/bits/error.h: Likewise.
31827         * misc/bits/syslog.h: Likewise.
31828         * misc/err.h: Likewise.
31829         * misc/error.h: Likewise.
31830         * misc/fstab.h: Likewise.
31831         * misc/mntent.h: Likewise.
31832         * misc/regexp.h: Likewise.
31833         * misc/search.h: Likewise.
31834         * misc/sgtty.h: Likewise.
31835         * misc/sys/mman.h: Likewise.
31836         * misc/sys/syslog.h: Likewise.
31837         * misc/sys/uio.h: Likewise.
31838         * misc/sys/xattr.h: Likewise.
31839         * misc/ttyent.h: Likewise.
31840         * nis/rpcsvc/ypclnt.h: Likewise.
31841         * nss/nss.h: Likewise.
31842         * posix/bits/unistd.h: Likewise.
31843         * posix/fnmatch.h: Likewise.
31844         * posix/glob.h: Likewise.
31845         * posix/sched.h: Likewise.
31846         * posix/spawn.h: Likewise.
31847         * posix/sys/wait.h: Likewise.
31848         * posix/unistd.h: Likewise.
31849         * posix/wordexp.h: Likewise.
31850         * pwd/pwd.h: Likewise.
31851         * resolv/netdb.h: Likewise.
31852         * resource/sys/resource.h: Likewise.
31853         * rt/aio.h: Likewise.
31854         * rt/bits/mqueue2.h: Likewise.
31855         * rt/mqueue.h: Likewise.
31856         * shadow/shadow.h: Likewise.
31857         * signal/signal.h: Likewise.
31858         * socket/send.c: Likewise.
31859         * socket/sendto.c: Likewise.
31860         * socket/sys/socket.h: Likewise.
31861         * stdio-common/printf.h: Likewise.
31862         * stdlib/bits/stdlib.h: Likewise.
31863         * stdlib/fmtmsg.h: Likewise.
31864         * stdlib/monetary.h: Likewise.
31865         * stdlib/stdlib.h: Likewise.
31866         * stdlib/ucontext.h: Likewise.
31867         * streams/stropts.h: Likewise.
31868         * string/argz.h: Likewise.
31869         * string/bits/string2.h: Likewise.
31870         * string/string.h: Likewise.
31871         * string/strings.h: Likewise.
31872         * sunrpc/rpc/auth.h: Likewise.
31873         * sunrpc/rpc/auth_des.h: Likewise.
31874         * sunrpc/rpc/clnt.h: Likewise.
31875         * sunrpc/rpc/netdb.h: Likewise.
31876         * sunrpc/rpc/pmap_clnt.h: Likewise.
31877         * sunrpc/rpc/xdr.h: Likewise.
31878         * sysdeps/generic/inttypes.h: Likewise.
31879         * sysdeps/generic/net/if.h: Likewise.
31880         * sysdeps/generic/sys/swap.h: Likewise.
31881         * sysdeps/gnu/net/if.h: Likewise.
31882         * sysdeps/gnu/utmpx.h: Likewise.
31883         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31884         * sysdeps/i386/i486/bits/string.h: Likewise.
31885         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31886         * sysdeps/s390/bits/string.h: Likewise.
31887         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31888         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31889         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31890         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31891         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31892         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31893         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31894         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31895         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31896         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31897         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31898         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31899         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31900         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31901         * sysdeps/unix/sysv/linux/readv.c: Likewise.
31902         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31903         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31904         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31905         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31906         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31907         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31908         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31909         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31910         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31911         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31912         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31913         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31914         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31915         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31916         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31917         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31918         * sysvipc/sys/ipc.h: Likewise.
31919         * sysvipc/sys/msg.h: Likewise.
31920         * sysvipc/sys/sem.h: Likewise.
31921         * sysvipc/sys/shm.h: Likewise.
31922         * termios/termios.h: Likewise.
31923         * time/sys/time.h: Likewise.
31924         * time/time.h: Likewise.
31925         * wcsmbs/bits/wchar2.h: Likewise.
31926         * wcsmbs/uchar.h: Likewise.
31927         * wcsmbs/wchar.h: Likewise.
31928         * wctype/wctype.h: Likewise.
31930         [BZ #13551]
31931         * Makeconfig: Remove all but ELF support including AIX support.
31932         * Makerules: Likewise.
31933         * config.h.in: Likewise.
31934         * config.make.in: Likewise.
31935         * configure: Likewise.
31936         * configure.in: Likewise.
31937         * csu/Makefile: Likewise.
31938         * csu/version.c: Likewise.
31939         * debug/Makefile: Likewise.
31940         * dlfcn/Makefile: Likewise.
31941         * elf/Makefile: Likewise.
31942         * extra-lib.mk: Likewise.
31943         * iconv/Makefile: Likewise.
31944         * include/libc-symbols.h: Likewise.
31945         * include/shlib-compat.h: Likewise.
31946         * resolv/Makefile: Likewise.
31947         * resolv/res_libc.c: Likewise.
31948         * rt/Makefile: Likewise.
31949         * sysdeps/i386/asm-syntax.h: Likewise.
31950         * sysdeps/i386/sysdep.h: Likewise.
31951         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31952         * sysdeps/mach/sysdep.h: Likewise.
31953         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31954         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31955         * sysdeps/s390/asm-syntax.h: Likewise.
31956         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31957         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31958         * sysdeps/sh/sysdep.h: Likewise.
31959         * sysdeps/unix/sparc/sysdep.h: Likewise.
31960         * sysdeps/wordsize-32/divdi3.c: Likewise.
31961         * sysdeps/x86_64/sysdep.h: Likewise.
31963         * argp/Versions: Remove _argp_unlock_xxx.
31965         [BZ #13559]
31966         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
31967         * abilist/libBrokenLocale.abilist: Likewise.
31968         * abilist/libanl.abilist: Likewise.
31969         * abilist/libc.abilist: Likewise.
31970         * abilist/libcrypt.abilist: Likewise.
31971         * abilist/libdl.abilist: Likewise.
31972         * abilist/libm.abilist: Likewise.
31973         * abilist/libnsl.abilist: Likewise.
31974         * abilist/libpthread.abilist: Likewise.
31975         * abilist/libresolv.abilist: Likewise.
31976         * abilist/librt.abilist: Likewise.
31977         * abilist/libthread_db.abilist: Likewise.
31978         * abilist/libutil.abilist: Likewise.
31979         * abilist/libnss_db.abilist: New file.
31981         * scripts/abilist.awk: Add support for indirect functions.
31983         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31985         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31987         * shlib-versions: Remove entries for ports architectures.
31989         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
31990         files in ports.
31991         * elf/stackguard-macros.h: Remove support for IA-64.
31992         * elf/tst-auditmod1.c: Likewise.
31993         * sysdeps/generic/ldsodefs.h: Likewise.
31995         * sysdeps/unix/sysv/linux/configure.in: Ports should define
31996         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31997         configure files.
31999         [BZ #13552]
32000         * configure.in: Remove --enable-omitfp support.
32001         * FAQ.in: Adjust.
32002         * config.make.in: Likewise.
32003         * Makeconfig: Likewise.
32004         * manual/install.texi: Likewise.
32006         In case anyone cares, the IA-64 architecture could move to ports.
32007         * sysdeps/ia64/*: Removed.
32008         * sysdeps/unix/sysv/linux/ia64/*: Removed.
32009         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
32011         [BZ #13555]
32012         * configure.in: Remove entries for unsupported architectures.
32014         [BZ #13533]
32015         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
32016         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
32017         routines.
32018         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
32019         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
32020         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
32021         fall back to using wcrtomb.
32022         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
32023         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
32024         renaming.
32025         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
32026         * wcsmbs/tst-c16c32-1.c: New file.
32028         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
32029         local variable.
32031         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
32033         * elf/tst-unique3.cc: Add explicit declaration of gets.
32034         * elf/tst-unique3lib.cc: Likewise.
32035         * elf/tst-unique3lib2.cc: Likewise.
32036         * elf/tst-unique4.cc: Likewise.
32038         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
32040 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
32042         [BZ #13566]
32043         * assert/assert.h (static_assert): Don't define for C++.
32044         * libio/stdio.h (gets): Do declare for C++ <= C++11.
32045         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
32047 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
32049         * iconv/loop.c (single loop): Fix assertion in storing of
32050         remaining bytes.
32052         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
32054 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
32056         * posix/getconf.c: Update copyright year.
32057         * nss/getent.c: Likewise.
32058         * nss/makedb.c: Likewise.
32059         * iconv/iconvconfig.c: Likewise.
32060         * iconv/iconv_prog.c: Likewise.
32061         * elf/ldconfig.c: Likewise.
32062         * elf/pldd.c: Likewise.
32063         * elf/sotruss.ksh: Likewise.
32064         * catgets/gencat.c: Likewise.
32065         * csu/version.c: Likewise.
32066         * elf/ldd.bash.in: Likewise.
32067         * elf/sprof.c (print_version): Likewise.
32068         * locale/programs/locale.c: Likewise.
32069         * locale/programs/localedef.c: Likewise.
32070         * login/programs/pt_chown.c: Likewise.
32071         * nscd/nscd.c (print_version): Likewise.
32072         * debug/xtrace.sh: Likewise.
32073         * malloc/memusage.sh: Likewise.
32074         * malloc/mtrace.pl: Likewise.
32075         * debug/catchsegv.sh: Likewise.
32077 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
32079         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
32080         pure attribute.
32082 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
32084         [BZ #13533]
32085         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
32086         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
32087         transformations.
32088         * iconv/gconv_int.h: Likewise.
32089         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
32090         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
32091         from libc for GLIBC_2.16.
32092         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
32093         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
32094         * wcsmbs/uchar.h: Really define mbstate_t.
32095         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
32096         * wcsmbs/c16rtomb.c: New file.
32097         * wcsmbs/mbrtoc16.c: New file.
32098         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
32099         for C/POSIX locale.
32100         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
32101         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
32103         * wcsmbs/wchar.h: Add missing __restrict.
32105 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
32107         [BZ #13532]
32108         * time/Makefile (routines): Add timespec_get.
32109         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
32110         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
32111         timespec for ISO C11.
32112         * time/timespec_get.c: New file.
32113         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
32114         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
32116         [BZ #13531]
32117         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
32118         * stdlib/stdlib.h: Declare aligned_alloc.
32119         * Versions.def: Add GLIBC_2.16 for libc.
32120         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
32122         [BZ 13527]
32123         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
32124         ISO C11.
32126         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
32127         code.
32129         [BZ #13528]
32130         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
32132         [BZ #13529]
32133         * assert/assert.h (static_assert): Define.
32135         * version.h: Update for 2.16 development version.
32137         [BZ #13526]
32138         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
32139         _ISOC11_SOURCE.
32141         * version.h (RELEASE): Bump for 2.15 release.
32142         * include/features.h (__GLIBC_MINOR__): Bump to 15.
32144         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
32145         Patch by Marek Polacek <mpolacek@redhat.com>.
32147         * bits/byteswap.h: Protect long long constants with __extension__.
32148         * sysdeps/i386/bits/byteswap.h: Likewise.
32149         * sysdeps/ia64/bits/byteswap.h: Likewise.
32150         * sysdeps/s390/bits/byteswap.h: Likewise.
32151         * sysdeps/x86_64/bits/byteswap.h: Likewise.
32153 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32155         [BZ #13540]
32156         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
32157         destination buffer.
32158         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
32160 2011-12-23  Marek Polacek  <polacek@redhat.com>
32162         * elf/dl-addr.c (determine_info): Add inline keyword.
32163         * elf/tst-auditmod4b.c (check_avx): Likewise.
32164         * elf/tst-auditmod6b.c (check_avx): Likewise.
32165         * elf/tst-auditmod6c.c (check_avx): Likewise.
32166         * elf/tst-auditmod7b.c (check_avx): Likewise.
32168 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
32170         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
32171         !__SSE_MATH__.
32173 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32175         [BZ #13540]
32176         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
32177         processing for last bytes.
32179 2011-08-06  Bruno Haible  <bruno@clisp.org>
32181         [BZ #13061]
32182         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
32183         U+0385, not to U+1FEE.
32185         [BZ #13062]
32186         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
32187         entry for U+00A5 U+0301.
32189 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
32191         [BZ #13166]
32192         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
32193         buffer for the output is too small.
32195         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
32196         optimization.
32198         [BZ #13185]
32199         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
32200         SSE flags if possible.
32202 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32204         [BZ #13540]
32205         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
32206         processing for last bytes.
32208 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
32210         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
32211         (syscall-list-default-options, syscall-list-default-condition)
32212         (syscall-list-includes): Define.
32213         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
32214         list of ABIs and options and #if conditions for each ABI.  Do not
32215         handle common syscalls between ABIs specially.
32216         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
32217         Remove.
32218         (syscall-list-variants, syscall-list-32bit-options)
32219         (syscall-list-32bit-condition, syscall-list-64bit-options)
32220         (syscall-list-64bit-condition): Define.
32221         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
32222         (syscall-list-variants, syscall-list-32bit-options)
32223         (syscall-list-32bit-condition, syscall-list-64bit-options)
32224         (syscall-list-64bit-condition): Define.
32225         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
32226         Remove.
32227         (syscall-list-variants, syscall-list-32bit-options)
32228         (syscall-list-32bit-condition, syscall-list-64bit-options)
32229         (syscall-list-64bit-condition): Define.
32230         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
32231         Remove.
32232         (syscall-list-variants, syscall-list-32bit-options)
32233         (syscall-list-32bit-condition, syscall-list-64bit-options)
32234         (syscall-list-64bit-condition): Define.
32236 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
32238         * locale/iso-639.def: Add brx entry.
32240         [BZ #13328]
32241         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
32242         Proposed by Mariusz_Cukr <marcukr@op.pl>.
32244         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
32245         __feraiseexcept_renamed.
32247 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
32249         [BZ #13538]
32250         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
32251         EPOLLET with unsigned values.
32252         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32253         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32255         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
32256         to large cancellation.
32257         * math/s_cacoshf.c: Likewise.
32258         * math/s_cacoshl.c: Likewise.
32260 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
32262         [BZ #13305]
32263         [BZ #12786]
32264         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
32265         * math/s_cacoshf.c: Likewise.
32266         * math/s_cacoshl.c: Likewise.
32268 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
32270         [BZ #13439]
32271         * iconv/gconv.h: Define __GCONV_SWAP.
32272         * iconvdata/unicode.c: The swap bit must be stored in __flags.
32273         * iconvdata/utf-16.c: Likewise.
32274         * iconvdata/utf-32.c: Likewise.
32276 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
32278         [BZ #13524]
32279         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
32280         numerator after shifting it by one limb.
32282 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
32284         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
32285         under [__USE_EXTERN_INLINES].
32287 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
32289         [BZ #13446]
32290         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
32292 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32294         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
32295         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
32296         optimized code.
32297         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
32298         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
32299         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
32300         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
32301         for strncasecmp/strncasecmp_l compilation.
32302         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
32303         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
32305 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
32307         [BZ #13484]
32308         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
32309         of __asm__.
32311 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
32313         [BZ #13506]
32314         * time/tzfile.c (__tzfile_read): Check values from file header.
32316 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
32318         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
32319         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
32320         * powerpc/powerpc32/dl-start.S: Likewise.
32321         * powerpc/powerpc32/elf/start.S: Likewise.
32322         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32323         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
32324         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
32325         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
32326         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32327         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
32328         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
32329         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32330         * powerpc/powerpc32/fpu/s_round.S: Likewise.
32331         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32332         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32333         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32334         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32335         * powerpc/powerpc32/memset.S: Likewise.
32336         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32337         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32338         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32339         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32340         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32341         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32342         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32343         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32344         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
32345         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
32346         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
32347         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32348         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32350 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32352         * math/libm-test.inc: Added more nearbyint tests.
32353         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
32354         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
32355         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
32356         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
32358 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
32360         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
32361         FD_CLOEXEC.
32363 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32365         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
32366         Add wcscpy-ssse3 wcscpy-c.
32367         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
32368         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
32369         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
32370         * sysdeps/x86_64/wcschr.S: New file.
32371         * sysdeps/x86_64/wcsrchr.S: New file.
32372         * string/test-strcmp.c: Remove checking of wcscmp function for
32373         wrong alignments.
32374         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
32375         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
32376         wcsrchr-sse2 wcsrchr-c.
32377         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
32378         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
32379         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
32380         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
32381         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
32382         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
32383         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
32384         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
32385         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
32386         * wcsmbc/wcschr.c (WCSCHR): New macro.
32388 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32390         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
32391         * wcsmbs/test-wcsrchr.c: New file.
32392         * string/test-strrchr.c: Add wcsrchr support.
32393         (WIDE): New macro.
32394         * wcsmbs/test-wcscpy.c: New file.
32395         * string/test-strcpy.c: Add wcscpy support.
32396         (WIDE): New macro.
32398 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
32400         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
32401         the inner loop.
32403 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
32405         [BZ #13472]
32406         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
32408 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
32410         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
32411         Minor optimizations.
32413         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
32414         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
32415         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32417 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
32419         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
32420         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
32421         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
32422         for gcc to avoid warnings.
32423         * inet/Makefile (tests): Add tst-checks.
32424         * inet/tst-checks.c: New file.
32426         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
32427         warning.
32429         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
32430         __wmemcmp_sse2.
32432         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
32433         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
32435         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
32437 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
32439         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
32440         problem.
32442         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
32444 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
32446         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
32447         conditional on GCC version.
32448         (__arch_compare_and_exchange_val_8_acq)
32449         (__arch_compare_and_exchange_val_16_acq)
32450         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
32451         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
32452         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
32454 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
32456         * sysdeps/sh/backtrace.c: New file.
32458 2011-12-02  Andreas Schwab  <schwab@redhat.com>
32460         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
32461         parenthesis.
32463 2011-12-01  Andreas Schwab  <schwab@redhat.com>
32465         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
32466         falling back to utime.
32468 2011-11-30  Andreas Schwab  <schwab@redhat.com>
32470         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
32471         expectations for float.
32473 2011-11-29  Andreas Schwab  <schwab@redhat.com>
32475         * locale/weight.h (findidx): Add parameter len.
32476         * locale/weightwc.h (findidx): Likewise.
32477         * posix/fnmatch_loop.c (FCT): Adjust caller.
32478         * posix/regcomp.c (build_equiv_class): Likewise.
32479         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
32480         * posix/regexec.c (check_node_accept_bytes): Likewise.
32481         * string/strcoll_l.c (STRCOLL): Likewise.
32482         * string/strxfrm_l.c (STRXFRM): Likewise.
32484 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
32486         * Makefile.in: Remove CVSOPT handling.
32487         * configure.in: Remove use of AC_REVISION.
32488         * iconvdata/Makefile (distribute): No need to filter out CVS.
32489         * scripts/list-sources.sh: Remove CVS, subversion and monotone
32490         handling.
32492 2011-11-16  Andreas Schwab  <schwab@redhat.com>
32494         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
32495         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
32496         [USE_AS_STRNCASECMP_L]: Likewise.
32497         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
32498         NO_TLS_DIRECT_SEG_REFS.
32499         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
32500         Fix argument offsets for non-PIC.
32501         [USE_AS_STRNCASECMP_L]: Likewise.
32502         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
32503         NO_TLS_DIRECT_SEG_REFS.
32505 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
32507         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
32508         O_CLOEXEC.
32509         * locale/loadlocale.c (_nl_load_locale): Likewise.
32511 2011-11-15  Andreas Schwab  <schwab@redhat.com>
32513         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
32514         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
32515         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
32516         (SYSCALL_GETTIME): Set errno on error.
32518         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
32519         count references to noai6ai_cached.
32521 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
32523         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
32525         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
32526         FD_CLOEXEC for /proc/self/maps.
32528         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
32529         FD_CLOEXEC for /proc/meminfo.
32531         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
32532         gai.conf.
32534         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
32535         FD_CLOEXEC for given file.
32537         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
32539         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
32540         FD_CLOEXEC for /etc/hosts.
32541         (_gethtent): Likewise.
32543         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
32545         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
32546         cancellation and set FD_CLOEXEC for /etc/netgroup.
32548         * nss/nss_files/files-key.c (search): Don't allow cancellation when
32549         reading /etc/publickey.
32551         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
32552         allow cancellation when reading /etc/group.
32554         * nss/nss_files/files-alias.c (internal_setent): Don't allow
32555         cancellation.
32556         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
32558         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
32559         when using data file.
32561         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
32563         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
32564         (write_nis_obj): Use "c" and "e" in fopen.
32566         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
32568         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
32570         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
32572         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
32574         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
32575         locale.alias.
32577         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
32579         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
32581         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
32583         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
32584         file parsing and set FD_CLOEXEC.
32586 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
32588         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
32590 2011-11-14  Andreas Schwab  <schwab@redhat.com>
32592         * malloc/arena.c (arena_get2): Don't call reused_arena when
32593         _int_new_arena failed.
32595 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
32597         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
32598         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
32599         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
32600         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32601         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32602         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
32603         to compile strcasecmp and strncasecmp.
32604         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
32605         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
32607         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
32609 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
32611         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
32612         locale-defines.sym to gen-as-const-headers.
32613         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
32614         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
32615         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
32616         to compile strcasecmp and strncasecmp.
32617         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
32618         strcasecmp_l and strncasecmp_l.
32619         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
32620         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
32621         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
32622         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
32623         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
32624         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
32625         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
32626         * sysdeps/i386/i686/multiarch/strncase.S: New file.
32627         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
32628         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
32629         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
32631 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
32633         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
32634         result of SYSDEP_GETTIME_CPU to retval.
32635         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
32636         parameter list to macro.  Remove trailing semicolon.  Adjust users.
32638         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
32639         variable.
32641         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
32642         mantissa words.
32643         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32645         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
32646         from unused variable.
32648         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
32649         DWARF definitions.
32650         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
32651         for assembling.
32653         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
32654         over namespaces.
32656         * sunrpc/rpc_prot.c (rejected): Fix case value.
32658         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
32659         unsigned long long int to avoid warnings in shift.
32661         * posix/regex_internal.c (re_string_reconstruct): Actually use result
32662         of use of trans.
32663         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
32664         variable tmp.
32666         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
32667         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32668         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32670         * nis/nis_table.c (nis_list): Use variable of correct type for
32671         result of __follow_path call.
32673 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32675         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
32676         of math functions ceil, trunc, floor, round, and sqrt, when
32677         avaliable on the platform.
32678         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
32679         name clash.
32680         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32681         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32682         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32684 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
32686         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
32687         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32689 2011-11-11  Roland McGrath  <roland@hack.frob.com>
32691         * include/unistd.h: Fix __readlink return type.
32692         Reported by Chris Metcalf <cmetcalf@tilera.com>.
32694 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
32696         * stdlib/ucontext.h: Undo last change for makecontext.
32698 2011-11-11  Andreas Schwab  <schwab@redhat.com>
32700         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
32702         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
32703         * setjmp/setjmp.h: Mark functions as non-leaf.
32704         * setjmp/bits/setjmp2.h: Likewise.
32705         * stdlib/ucontext.h: Likewise.
32707 2011-11-10  Andreas Schwab  <schwab@redhat.com>
32709         * malloc/arena.c (_int_new_arena): Don't increment narenas.
32710         (reused_arena): Don't check arena limit.
32711         (arena_get2): Atomically check arena limit.
32713 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
32715         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
32716         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
32718         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
32719         instructions.
32721 2011-11-07  Andreas Schwab  <schwab@redhat.com>
32723         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
32724         handler when locking.
32726         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32727         Fix size of allocated buffer.
32729 2011-11-04  Andreas Schwab  <schwab@redhat.com>
32731         [BZ #10103]
32732         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
32733         declarations for long double functions.
32734         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
32736         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
32738 2011-11-03  Andreas Schwab  <schwab@redhat.com>
32740         * nscd/nscd.c (main): Don't start AVC thread until credentials are
32741         installed.
32743         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32744         is disabled.
32746 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32748         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32750 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
32752         * include/alloca.h (stackinfo_alloca_round): Define.
32753         (extend_alloca): Use it.
32754         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32755         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32756         here.
32758         * scripts/check-local-headers.sh: Ignore libaudit.h.
32760         * nscd/Makefile (extra-objs): Make recursively expanded.
32762 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
32764         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32765         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32767         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32768         * posix/tst-rfc3484-2.c: Likewise.
32769         * posix/tst-rfc3484-3.c: Likewise.
32771         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32772         process_vm_writev.
32773         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32774         process_vm_writev.
32775         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32776         process_vm_writev from libc using GLIBC_2.15 version.
32778         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32780 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
32782         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32783         stack usage.
32785 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
32787         [BZ #13367]
32788         * nss/getent.c (initgroups_keys): Show error message in case no group
32789         names are given.
32791         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32792         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32793         __bump_nl_timestamp.
32794         * nscd/connections (nscd_init): When host database is served open
32795         netlink socket and request notification about configuration changes.
32796         (main_loop_poll): Track netlink file descriptor and bump timestamp
32797         in case data becomes available.
32798         (main_loop_epoll): Likewise.
32799         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32800         (database_pers_head): Add extra_data fileds.
32801         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32802         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32803         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32804         Adjust caller.
32805         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32806         in6ai data, call __free_in6ai.
32807         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32808         Add -DHAVE_NETLINK.
32809         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
32810         interface information.  Reuse previous data if netlink timestamp
32811         is not changed.
32812         (__bump_nl_timestamp): New function.
32813         (__free_in6ai): New function.
32815 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
32817         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32818         close_not_cancel_no_status here.
32819         (__check_pf): Reorganize code a bit to not call close twice if OOM.
32821 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
32823         [BZ #13276]
32824         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32825         return value.
32827         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
32828         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32829         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32831 2011-07-03  Andreas Jaeger  <aj@suse.de>
32833         [BZ #10709]
32834         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32835         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32836         * math/libm-test.inc (sin_test): Add test case.
32838 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
32840         [BZ #13337]
32841         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32842         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32844         * elf/chroot_canon.c (chroot_canon): Cleanups.
32846         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32848         [BZ #13335]
32849         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32850         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32852         * string/test-strchr.c: Make usable for strchrnul testing.
32853         * string/test-strchrnul.c: New file.
32854         * string/Makefile (strop-tests): Add strchrnul.
32856         * po/it.po: Update from translation team.
32857         * po/es.po: Likewise.
32859 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
32861         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32862         the three constants needed as parameters.  Drop the others.
32863         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32864         __m128i_strloadu_tolower.
32865         Create and initialize variable zero and use it in all the places
32866         where _mm_setzero_si128 was used.
32868         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32869         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32870         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32871         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32872         anymore.
32873         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32874         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32875         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32876         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32877         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32878         __mpranred, __mptan.
32879         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32880         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32881         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32882         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32883         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32884         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32885         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32886         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32887         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32889 2011-10-28  Andreas Schwab  <schwab@redhat.com>
32891         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32892         redefine if SHARED.
32893         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32895         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32896         wide char related routines to wcsmbs subdir.
32898 2011-10-27  Andreas Schwab  <schwab@redhat.com>
32900         [BZ #13344]
32901         * misc/sys/cdefs.h (__THROWNL): Define.
32902         * posix/unistd.h: Use __THREADNL instead of __THREAD
32903         for memory synchronization functions.
32905 2011-10-26  Roland McGrath  <roland@hack.frob.com>
32907         [BZ #13349]
32908         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32909         doesn't exist.
32910         * manual/stdio.texi (Obstack Streams): Node removed.
32912 2011-10-26  Andreas Schwab  <schwab@redhat.com>
32914         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32915         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32916         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32918         * math/math_private.h (math_force_eval): Allow non-addressable
32919         arguments.
32920         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32922 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32924         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32925         file is not needed.
32927         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32928         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32929         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32930         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32931         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32932         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32933         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32934         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32935         Add AVX variants.
32936         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32937         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32938         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32939         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32940         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32941         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32942         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32943         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32944         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32945         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32946         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32947         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32948         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32949         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32950         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32951         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32952         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32953         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32954         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32956         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32957         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
32959         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32960         place.  Use VEX encoding when compiling for AVX.
32962 2011-10-25  Andreas Schwab  <schwab@redhat.com>
32964         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32965         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32967         * string/test-strchr.c (do_test): Don't generate NUL bytes.
32969 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32971         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
32972         useless if() expression.
32973         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32974         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32975         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32976         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32977         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32978         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32979         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32980         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32981         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32982         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32983         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32984         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32985         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32986         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32987         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32988         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32989         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32990         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32991         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32993         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32995 2011-10-25  Andreas Schwab  <schwab@redhat.com>
32997         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32998         condition.
32999         * elf/dl-fini.c (_dl_sort_fini): Likewise.
33001 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
33003         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
33004         .text section.  Avoid duplicate constants.
33005         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33006         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33007         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33008         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33009         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33010         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33011         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33012         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33013         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33014         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
33015         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33016         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33017         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33018         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33019         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33020         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33021         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33022         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33023         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33024         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33025         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33026         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33027         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33028         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
33029         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
33030         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
33031         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
33032         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
33033         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
33034         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
33035         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
33036         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
33037         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33038         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
33039         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
33040         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
33041         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
33042         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
33043         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
33044         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
33045         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
33046         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
33047         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
33048         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
33049         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
33051 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
33053         * sysdeps/x86_64/dla.h: Move to ...
33054         * sysdeps/x86_64/fpu/dla.h: ...here.
33055         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
33056         situations.  Use __builtin_fma only for gcc 4.6 and up.
33058         * config.make.in: Add have-mfma4 entry.
33059         * configure.in: Substitute libc_cv_cc_fma4.
33060         * math/Makefile (dbl-only-routines): Add sincostab.
33061         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
33062         Use __sincostab not sincos.
33063         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
33064         name is a macro.
33065         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33066         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33067         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33068         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
33069         using __copysign.
33070         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
33071         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
33072         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
33073         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
33074         and __inv.
33075         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
33076         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
33077         __copysign.
33078         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
33079         define aliases when function name is a macro.
33080         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
33081         sysdeps/ieee754/dbl-64/sincos.tbl.
33082         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
33083         fma4-enabled routines.
33084         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
33085         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
33086         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
33087         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
33088         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
33089         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
33090         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
33091         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
33092         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
33093         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
33094         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
33095         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
33096         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
33097         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
33098         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
33099         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
33100         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
33101         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
33102         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
33103         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
33104         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
33105         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
33106         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
33107         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
33108         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
33109         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
33110         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
33111         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
33112         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
33113         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
33115         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
33116         rename.
33117         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33118         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33119         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33120         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33121         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33122         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33123         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33124         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33126 2011-10-24  Andreas Schwab  <schwab@redhat.com>
33128         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
33130 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
33132         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
33134         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
33135         prediction.
33136         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
33138         * string/strnlen.c: Don't define STRNLEN, reverse logic.
33139         Remove unused variable magic_bits.
33140         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
33142         * string/strnlen.c: Define and use STRNLEN macro.
33143         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
33144         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
33145         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
33146         * wcsmbs/wcslen.c: Define and use WCSLEN.
33147         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
33148         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
33149         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
33150         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
33151         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
33152         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
33153         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33155 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33157         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33158         strnlen-sse2-no-bsf.
33159         Rename strlen-no-bsf to strlen-sse2-no-bsf.
33160         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
33161         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
33162         Add strnlen support.
33163         (USE_AS_STRNLEN): New macro.
33164         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
33165         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
33166         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
33167         * sysdeps/x86_64/wcslen.S: New file.
33169 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
33171         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33172         XMM-moves are used for copying on small sizes.
33174 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33176         * wcsmbs/Makefile (strop-tests): Add wcschr.
33177         * wcsmbs/test-wcschr.c: New file.
33178         * string/test-strchr.c: Update.
33179         Add wcschr support.
33180         (WIDE): New macro.
33182 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33184         * wcsmbs/Makefile (strop-tests): Add wcslen.
33185         * wcsmbs/test-wcslen.c: New file.
33186         * string/test-strlen.c: Update.
33187         Add wcslen support.
33188         (WIDE): New macro.
33190 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
33192         * po/it.po: Update from translation team.
33194 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33196         * sysdeps/x86_64/wcscmp.S: Update.
33197         Fix wrong comparison semantics.
33198         wcscmp shall use signed comparison not unsigned.
33199         Don't use substraction to avoid overflow bug.
33200         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
33201         * wcsmbc/wcscmp.c: Likewise.
33202         * string/test-strcmp.c: Likewise.
33203         Add new tests to check cases with negative values.
33205 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
33207         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
33208         * sysdeps/x86_64/dla.h: ...here.  New file.
33209         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
33210         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33211         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33212         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33213         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33214         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33215         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33216         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33217         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33219 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
33221         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
33222         __ynl_finite aliases.
33224 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
33226         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33228         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
33229         define DLA_FMA.
33230         [DLA_FMA] (EMULV): Use DLA_FMA.
33231         [DLA_FMA] (MUL12): Use EMULV.
33232         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
33233         that are not needed.
33234         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33235         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33236         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33237         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33238         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33239         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33240         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33242 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
33244         * math/s_nan.c: Undef __nan.
33245         * math/s_nanf.c: Undef __nanf.
33246         * math/s_nanl.c: Undef __nanl.
33247         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
33248         "math_private.h".
33250 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
33252         * math/s_catan.c: Add branch predictions.
33253         * math/s_catanf.c: Likewise.
33254         * math/s_catanh.c: Likewise.
33255         * math/s_catanhf.c: Likewise.
33256         * math/s_catanhl.c: Likewise.
33257         * math/s_catanl.c: Likewise.
33258         * math/s_cexp.c: Likewise.
33259         * math/s_cexpf.c: Likewise.
33260         * math/s_cexpl.c: Likewise.
33261         * math/s_clog.c: Likewise.
33262         * math/s_clog10.c: Likewise.
33263         * math/s_clog10f.c: Likewise.
33264         * math/s_clog10l.c: Likewise.
33265         * math/s_clogf.c: Likewise.
33266         * math/s_clogl.c: Likewise.
33267         * math/s_csqrt.c: Likewise.
33268         * math/s_csqrtf.c: Likewise.
33269         * math/s_csqrtl.c: Likewise.
33270         * math/s_ctanf.c: Likewise.
33271         * math/s_ctanh.c: Likewise.
33272         * math/s_ctanhf.c: Likewise.
33273         * math/s_ctanhl.c: Likewise.
33274         * math/s_ctanl.c: Likewise.
33276         * math/math_private.h: Define __nan, __nanf, __nanl.
33277         * math/s_cacosh.c: Include <math_private.h>.
33278         * math/s_cacoshl.c: Likewise.
33279         * math/s_casinh.c: Likewise.
33280         * math/s_casinhf.c: Likewise.
33281         * math/s_casinhl.c: Likewise.
33282         * math/s_ccos.c: Rely entire on ccosh.
33283         * math/s_ccosf.c: Rely entire on ccoshf.
33284         * math/s_ccosl.c: Rely entirely on ccoshl.
33285         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
33286         Remove tests for FE_INVALID.
33287         * math/s_ccoshf.c: Likewise.
33288         * math/s_ccoshl.c: Likewise.
33289         * math/s_csin.c: Likewise.
33290         * math/s_csinf.c: Likewise.
33291         * math/s_csinh.c Likewise.
33292         * math/s_csinhf.c: Likewise.
33293         * math/s_csinhl.c: Likewise.
33294         * math/s_csinl.c: Likewise.
33295         * math/s_ctan.c: Likewise.
33296         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
33297         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
33298         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
33300 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
33302         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
33303         compilation problems.
33305         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
33306         __builtin_expect.
33308 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
33310         * sysdeps/i386/configure.in: Test for -mfma4 option.
33311         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
33312         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
33313         COMMON_CPUID_INDEX_80000001.
33314         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
33315         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
33316         use it if FMA3 is not supported.
33317         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33319         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
33320         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33322 2011-10-20  Andreas Schwab  <schwab@redhat.com>
33324         [BZ #12892]
33325         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
33326         it would create a cycle with a link time dependency.
33328 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
33330         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
33331         instruction.
33332         * string/Makefile (strop-tests): Add rawmemchr.
33333         * string/test-rawmemchr.c: New file.
33335         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
33336         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
33337         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
33338         when compiling str{,n}casecmp and when AVX is available.  Hook up
33339         new optimized code in initializers.
33341 2011-10-19  Andreas Schwab  <schwab@redhat.com>
33343         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
33344         __feraiseexcept instead of feraiseexcept.
33346 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
33348         * math/math_private.h: Define defaults for libc_fetestexcept and
33349         libc_feupdateenv.
33350         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
33351         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
33352         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33353         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33354         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33355         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33356         libc_fetestexcept and libc_feupdateenv.
33358         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
33359         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
33360         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
33361         * sysdeps/x86_64/fpu/math_private.h: Define special version of
33362         libc_feholdexcept_setround.
33364         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
33365         Add s_nearbyint-c and s_nearbyintf-c.
33366         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
33367         nearbyintf inlines.
33368         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
33369         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
33370         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
33371         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
33373         * math/math_private.h: Define defaults for libc_fegetround,
33374         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
33375         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
33376         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
33377         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
33378         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
33379         standard functions.
33380         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33381         Remove comments and hacks for old compiler versions.
33382         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33383         libc_fegetround, libc_fesetround, libc_feholdexcept, and
33384         libc_feholdexceptl.
33386 2011-10-18  Andreas Schwab  <schwab@redhat.com>
33388         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
33389         (__feraiseexcept_renamed): Add __NTH.
33390         (feraiseexcept): Add __NTH.  Rename local variables to fix
33391         namespace violations.
33393 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
33395         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
33397         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
33399         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
33400         recently added interfaces.
33401         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
33403         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
33404         about macro parameter expansion.
33406         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
33407         __NO_MATH_INLINES is defined.  Cleanups.
33409         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
33410         and __floorf is target has SSE4.1.
33411         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
33412         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
33413         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
33414         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
33416         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
33417         name.
33418         (floorf): Likewise.
33420         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
33422 2011-10-17  Andreas Schwab  <schwab@redhat.com>
33424         * misc/sys/cdefs.h: Fix last change.
33426         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
33427         database lookup.
33429 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
33431         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
33433         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
33434         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33435         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33436         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33437         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33438         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33439         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33440         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33441         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33442         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
33443         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
33444         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
33445         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
33446         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
33447         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
33448         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
33449         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
33450         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
33451         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
33452         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
33453         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
33454         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
33456         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
33457         ceil, ceilf, floor, floorf.
33459         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
33460         Perform IRELATIVE relocations last.
33462         * elf/do-rel.h: Add another parameter nrelative, replacing the
33463         local variable with the same name.  Change name of the function
33464         to end in Rel or Rela (uppercase).
33465         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
33466         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
33467         elf_dynamic_do_##reloc function.
33469 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
33471         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
33472         is sufficient, at least on modern CPUs.
33474         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
33476         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
33477         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
33479         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
33480         __expl_finite.
33481         * math/bits/math-finite.h: Add entries for exp.
33482         * math/e_expl.c: Add __*_finite alias.
33483         * sysdeps/i386/fpu/e_exp.S: Likewise.
33484         * sysdeps/i386/fpu/e_expf.S: Likewise.
33485         * sysdeps/i386/fpu/e_expl.c: Likewise.
33486         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33487         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33488         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33489         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33490         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
33491         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33492         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33494         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
33495         is sufficient, at least on modern CPUs.
33497         * ctype/ctype-info.c (__ctype_init): Define.
33498         * include/ctype.h (__ctype_init): Declare.
33499         (__ctype_b_loc): The variable is always initialized.
33500         (__ctype_toupper_loc): Likewise.
33501         (__ctype_tolower_loc): Likewise.
33502         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
33503         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
33505 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
33507         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
33509         * configure.in: Also look in $cxxmachine/include for C++ system
33510         headers.
33512 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33514         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
33515         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
33516         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
33517         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
33518         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
33519         (USE_AS_WMEMCMP): New macro.
33520         Fixing indents.
33521         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
33522         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
33523         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
33524         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
33525         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33526         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
33527         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
33528         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
33529         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
33530         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
33531         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
33532         (USE_AS_WMEMCMP): New macro.
33533         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
33534         * sysdeps/string/test-memcmp.c: Update.
33535         Fix simple_wmemcmp.
33536         Add new tests.
33537         * wcsmbs/wmemcmp.c: Update.
33538         (WMEMCMP): New macro.
33539         Fix overflow bug.
33541 2011-10-12  Andreas Jaeger  <aj@suse.de>
33543         [BZ #13268]
33544         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
33546 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
33548         * libio/iofwide.c (do_length): Avoid warning.
33550         * ctype/ctype.h (__isctype_f): Add missing __THROW.
33552 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
33554         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
33556         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
33557         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
33558         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
33559         * sysdeps/i386/i686/fpu/e_log.S: New file.
33560         * sysdeps/i386/i686/fpu/e_logf.S: New file.
33561         * sysdeps/i386/i686/fpu/e_logl.S: New file.
33563         * ctype/ctype.h: Add support for inlined isXXX functions when
33564         compiling C++ code.
33566 2011-10-14  Andreas Schwab  <schwab@redhat.com>
33568         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33570         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
33572 2011-10-13  Roland McGrath  <roland@hack.frob.com>
33574         [BZ #13291]
33575         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
33577 2011-10-13  Andreas Schwab  <schwab@redhat.com>
33579         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
33580         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
33581         feraiseexcept.
33583         * sysdeps/x86_64/memrchr.S: Check for zero size.
33585         * string/stratcliff.c: Add memrchr tests.
33587 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33589         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33590         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
33591         rawmemchr-sse2 rawmemchr-sse2-bsf.
33592         * sysdeps/i386/i686/multiarch/memchr.S: New file.
33593         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
33594         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
33595         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
33596         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
33597         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
33598         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
33599         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
33600         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
33601         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
33602         * string/memrchr.c (MEMRCHR): New macro.
33604 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
33606         Add integration with gcc's -ffinite-math-only and optimize wrapper
33607         functions in libm.
33608         * Versions.def: Define GLIBC_2.15 version for libm.
33609         * math/Makefile (headers): Add bits/math-finite.h.
33610         * math/bits/math-finite.h: New file.
33611         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
33612         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
33613         * math/e_acoshl.c: Add __*_finite alias.
33614         * math/e_acosl.c: Likewise.
33615         * math/e_asinl.c: Likewise.
33616         * math/e_atan2l.c: Likewise.
33617         * math/e_atanhl.c: Likewise.
33618         * math/e_coshl.c: Likewise.
33619         * math/e_exp10.c: Likewise.
33620         * math/e_exp10f.c: Likewise.
33621         * math/e_exp10l.c: Likewise.
33622         * math/e_exp2l.c: Likewise.
33623         * math/e_fmodl.c: Likewise.
33624         * math/e_gammal_r.c: Likewise.
33625         * math/e_hypotl.c: Likewise.
33626         * math/e_j0l.c: Likewise.
33627         * math/e_j1l.c: Likewise.
33628         * math/e_jnl.c: Likewise.
33629         * math/e_lgammal_r.c: Likewise.
33630         * math/e_log10l.c: Likewise.
33631         * math/e_log2l.c: Likewise.
33632         * math/e_logl.c: Likewise.
33633         * math/e_powl.c: Likewise.
33634         * math/e_sinhl.c: Likewise.
33635         * math/e_sqrtl.c: Likewise.
33636         * math/e_scalb.c: Completely rewritten and optimized.
33637         * math/e_scalbf.c: Likewise.
33638         * math/e_scalbl.c: Likewise.
33639         * math/w_acos.c: Likewise.
33640         * math/w_acosf.c: Likewise.
33641         * math/w_acosl.c: Likewise.
33642         * math/w_acosh.c: Likewise.
33643         * math/w_acoshf.c: Likewise.
33644         * math/w_acoshl.c: Likewise.
33645         * math/w_asin.c: Likewise.
33646         * math/w_asinf.c: Likewise.
33647         * math/w_asinl.c: Likewise.
33648         * math/w_atan2.c: Likewise.
33649         * math/w_atan2f.c: Likewise.
33650         * math/w_atan2l.c: Likewise.
33651         * math/w_atanh.c: Likewise.
33652         * math/w_atanhf.c: Likewise.
33653         * math/w_atanhl.c: Likewise.
33654         * math/w_exp10.c: Likewise.
33655         * math/w_exp10f.c: Likewise.
33656         * math/w_exp10l.c: Likewise.
33657         * math/w_fmod.c: Likewise.
33658         * math/w_fmodf.c: Likewise.
33659         * math/w_fmodl.c: Likewise.
33660         * math/w_j0.c: Likewise.
33661         * math/w_j0f.c: Likewise.
33662         * math/w_j0l.c: Likewise.
33663         * math/w_j1.c: Likewise.
33664         * math/w_j1f.c: Likewise.
33665         * math/w_j1l.c: Likewise.
33666         * math/w_jn.c: Likewise.
33667         * math/w_jnf.c: Likewise.
33668         * math/w_log.c: Likewise.
33669         * math/w_logf.c: Likewise.
33670         * math/w_logl.c: Likewise.
33671         * math/w_log10.c: Likewise.
33672         * math/w_log10f.c: Likewise.
33673         * math/w_log10l.c: Likewise.
33674         * math/w_log2.c: Likewise.
33675         * math/w_log2f.c: Likewise.
33676         * math/w_log2l.c: Likewise.
33677         * math/w_pow.c: Likewise.
33678         * math/w_powf.c: Likewise.
33679         * math/w_powl.c: Likewise.
33680         * math/w_remainder.c: Likewise.
33681         * math/w_remainderf.c: Likewise.
33682         * math/w_remainderl.c: Likewise.
33683         * math/w_scalb.c: Likewise.
33684         * math/w_scalbf.c: Likewise.
33685         * math/w_scalbl.c: Likewise.
33686         * math/w_sqrt.c: Likewise.
33687         * math/w_sqrtf.c: Likewise.
33688         * math/w_sqrtl.c: Likewise.
33689         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
33690         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
33691         used.
33692         * math/math_private.h: Declare __kernel_standard_f.
33693         * math/w_cosh.c: Remove cruft and optimize a bit.
33694         * math/w_coshf.c: Likewise.
33695         * math/w_coshl.c: Likewise.
33696         * math/w_exp2.c: Likewise.
33697         * math/w_exp2f.c: Likewise.
33698         * math/w_exp2l.c: Likewise.
33699         * math/w_hypot.c: Likewise.
33700         * math/w_hypotf.c: Likewise.
33701         * math/w_hypotl.c: Likewise.
33702         * math/w_lgamma.c: Likewise.
33703         * math/w_lgamma_r.c: Likewise.
33704         * math/w_lgammaf.c: Likewise.
33705         * math/w_lgammaf_r.c: Likewise.
33706         * math/w_lgammal.c: Likewise.
33707         * math/w_lgammal_r.c: Likewise.
33708         * math/w_sinh.c: Likewise.
33709         * math/w_sinhf.c: Likewise.
33710         * math/w_sinhl.c: Likewise.
33711         * math/w_tgamma.c: Likewise.
33712         * math/w_tgammaf.c: Likewise.
33713         * math/w_tgammal.c: Likewise.
33714         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33715         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33716         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
33717         Minor optimizations.  Pretty printing.  Remove cruft.
33718         * sysdeps/i386/fpu/e_acosf.S: Likewise.
33719         * sysdeps/i386/fpu/e_acosh.S: Likewise.
33720         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33721         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33722         * sysdeps/i386/fpu/e_acosl.c: Likewise.
33723         * sysdeps/i386/fpu/e_asin.S: Likewise.
33724         * sysdeps/i386/fpu/e_asinf.S: Likewise.
33725         * sysdeps/i386/fpu/e_atan2.S: Likewise.
33726         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
33727         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
33728         * sysdeps/i386/fpu/e_atanh.S: Likewise.
33729         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33730         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33731         * sysdeps/i386/fpu/e_exp10.S: Likewise.
33732         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
33733         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
33734         * sysdeps/i386/fpu/e_exp2.S: Likewise.
33735         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
33736         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
33737         * sysdeps/i386/fpu/e_fmod.S: Likewise.
33738         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33739         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33740         * sysdeps/i386/fpu/e_hypot.S: Likewise.
33741         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33742         * sysdeps/i386/fpu/e_log.S: Likewise.
33743         * sysdeps/i386/fpu/e_log10.S: Likewise.
33744         * sysdeps/i386/fpu/e_log10f.S: Likewise.
33745         * sysdeps/i386/fpu/e_log10l.S: Likewise.
33746         * sysdeps/i386/fpu/e_log2.S: Likewise.
33747         * sysdeps/i386/fpu/e_log2f.S: Likewise.
33748         * sysdeps/i386/fpu/e_log2l.S: Likewise.
33749         * sysdeps/i386/fpu/e_logf.S: Likewise.
33750         * sysdeps/i386/fpu/e_logl.S: Likewise.
33751         * sysdeps/i386/fpu/e_pow.S: Likewise.
33752         * sysdeps/i386/fpu/e_powf.S: Likewise.
33753         * sysdeps/i386/fpu/e_powl.S: Likewise.
33754         * sysdeps/i386/fpu/e_remainder.S: Likewise.
33755         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33756         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33757         * sysdeps/i386/fpu/e_scalb.S: Likewise.
33758         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33759         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33760         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33761         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33762         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33763         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33764         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33765         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33766         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33767         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33768         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33769         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33770         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33771         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33772         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33773         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33774         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33775         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33776         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33777         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33778         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33779         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33780         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33781         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33782         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33783         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33784         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33785         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33786         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33787         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33788         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33789         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33790         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33791         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33792         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33793         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33794         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33795         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33796         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33797         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33798         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33799         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33800         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33801         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33802         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33803         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33804         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33805         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33806         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33807         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33808         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33809         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33810         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33811         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33812         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33813         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33814         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33815         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33816         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33817         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33818         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33819         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33820         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33821         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33822         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33823         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33824         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33825         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33826         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33827         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33828         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33829         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33830         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33831         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33832         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33833         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33834         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33835         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33836         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33837         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33838         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33839         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33840         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33841         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33842         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33843         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33844         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33845         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33846         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33847         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33848         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33849         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33850         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33851         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33852         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33853         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33854         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33855         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33856         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33857         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33858         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33859         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33860         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33861         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33862         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33863         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33864         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33865         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33866         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33867         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33868         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33869         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33870         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33871         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33872         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33873         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
33874         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33875         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33876         (__isnanf): Likewise.
33877         (__isinf_ns): Likewise.
33878         (__isinf_nsf): Likewise.
33879         (__finite): Likewise.
33880         (__finitef): Likewise.
33881         (__ieee754_sqrt): Define as macro.
33882         (__ieee754_sqrtf): Define as macro.
33883         (__ieee754_sqrtl): Define as macro.
33884         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33885         inlined copy.
33886         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33887         __FINITE_MATH_ONLY__ consistent.
33888         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33890 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
33892         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33893         of rawmemchr.
33895         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33897 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
33899         * po/ja.po: Update from translation team.
33901 2011-10-08  Roland McGrath  <roland@hack.frob.com>
33903         * locale/programs/locarchive.c (prepare_address_space): New function.
33904         (create_archive, enlarge_archive, open_archive): Use it.
33906         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33907         inside [SHARED], where it is used.
33909         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33911         * nss/getent.c (netgroup_keys): Remove unused variable.
33912         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33914 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
33916         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33917         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33918         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33919         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33920         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33921         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33922         * math/Makefile (libm-calls): Add s_isinf_ns.
33923         * math/divtc3.c: Use __isinf_nsl instead of isinf.
33924         * math/multc3.c: Likewise.
33925         * math/s_casin.c: Likewise.
33926         * math/s_casinf.c: Likewise.
33927         * math/s_casinl.c: Likewise.
33928         * math/s_ccos.c: Likewise.
33929         * math/s_ccosf.c: Likewise.
33930         * math/s_ccosl.c: Likewise.
33931         * math/s_ctan.c: Likewise.
33932         * math/s_ctanf.c: Likewise.
33933         * math/s_ctanh.c: Likewise.
33934         * math/s_ctanhf.c: Likewise.
33935         * math/s_ctanhl.c: Likewise.
33936         * math/s_ctanl.c: Likewise.
33937         * math/w_fmod.c: Likewise.
33938         * math/w_fmodf.c: Likewise.
33939         * math/w_fmodl.c: Likewise.
33940         * math/w_remainder.c: Likewise.
33941         * math/w_remainderf.c: Likewise.
33942         * math/w_remainderl.c: Likewise.
33943         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33944         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33945         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33946         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33947         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33948         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33949         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33950         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33952         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33953         of the number.
33954         * stdio-common/printf_fphex.c: Likewise.
33955         * stdio-common/printf_size.c: Likewise.
33957         * math/e_exp10.c: Include math_private.h using <...> not "...".
33958         * math/e_exp10f.c: Likewise.
33959         * math/e_exp10l.c: Likewise.
33960         * math/e_exp2l.c: Likewise.
33961         * math/e_j0l.c: Likewise.
33962         * math/e_j1l.c: Likewise.
33963         * math/e_jnl.c: Likewise.
33964         * math/e_lgammal_r.c: Likewise.
33965         * math/e_rem_pio2l.c: Likewise.
33966         * math/e_scalb.c: Likewise.
33967         * math/e_scalbf.c: Likewise.
33968         * math/e_scalbl.c: Likewise.
33969         * math/k_cosl.c: Likewise.
33970         * math/k_sinl.c: Likewise.
33971         * math/k_tanl.c: Likewise.
33972         * math/s_cacoshf.c: Likewise.
33973         * math/s_catan.c: Likewise.
33974         * math/s_catanf.c: Likewise.
33975         * math/s_catanh.c: Likewise.
33976         * math/s_catanhf.c: Likewise.
33977         * math/s_catanhl.c: Likewise.
33978         * math/s_catanl.c: Likewise.
33979         * math/s_ccosh.c: Likewise.
33980         * math/s_ccoshf.c: Likewise.
33981         * math/s_ccoshl.c: Likewise.
33982         * math/s_cexp.c: Likewise.
33983         * math/s_cexpf.c: Likewise.
33984         * math/s_cexpl.c: Likewise.
33985         * math/s_clog.c: Likewise.
33986         * math/s_clog10.c: Likewise.
33987         * math/s_clog10f.c: Likewise.
33988         * math/s_clog10l.c: Likewise.
33989         * math/s_clogf.c: Likewise.
33990         * math/s_clogl.c: Likewise.
33991         * math/s_csin.c: Likewise.
33992         * math/s_csinf.c: Likewise.
33993         * math/s_csinh.c: Likewise.
33994         * math/s_csinhf.c: Likewise.
33995         * math/s_csinhl.c: Likewise.
33996         * math/s_csinl.c: Likewise.
33997         * math/s_csqrt.c: Likewise.
33998         * math/s_csqrtf.c: Likewise.
33999         * math/s_csqrtl.c: Likewise.
34000         * math/s_ctan.c: Likewise.
34001         * math/s_ctanf.c: Likewise.
34002         * math/s_ctanh.c: Likewise.
34003         * math/s_ctanhf.c: Likewise.
34004         * math/s_ctanhl.c: Likewise.
34005         * math/s_ctanl.c: Likewise.
34006         * math/s_ldexp.c: Likewise.
34007         * math/s_ldexpf.c: Likewise.
34008         * math/s_ldexpl.c: Likewise.
34009         * math/s_significand.c: Likewise.
34010         * math/s_significandf.c: Likewise.
34011         * math/s_significandl.c: Likewise.
34012         * math/w_acos.c: Likewise.
34013         * math/w_acosf.c: Likewise.
34014         * math/w_acosh.c: Likewise.
34015         * math/w_acoshf.c: Likewise.
34016         * math/w_acoshl.c: Likewise.
34017         * math/w_acosl.c: Likewise.
34018         * math/w_asin.c: Likewise.
34019         * math/w_asinf.c: Likewise.
34020         * math/w_asinl.c: Likewise.
34021         * math/w_atan2.c: Likewise.
34022         * math/w_atan2f.c: Likewise.
34023         * math/w_atan2l.c: Likewise.
34024         * math/w_atanh.c: Likewise.
34025         * math/w_atanhf.c: Likewise.
34026         * math/w_atanhl.c: Likewise.
34027         * math/w_cosh.c: Likewise.
34028         * math/w_coshf.c: Likewise.
34029         * math/w_coshl.c: Likewise.
34030         * math/w_dremf.c: Likewise.
34031         * math/w_exp10.c: Likewise.
34032         * math/w_exp10f.c: Likewise.
34033         * math/w_exp10l.c: Likewise.
34034         * math/w_exp2.c: Likewise.
34035         * math/w_exp2f.c: Likewise.
34036         * math/w_fmod.c: Likewise.
34037         * math/w_fmodf.c: Likewise.
34038         * math/w_fmodl.c: Likewise.
34039         * math/w_hypot.c: Likewise.
34040         * math/w_hypotf.c: Likewise.
34041         * math/w_hypotl.c: Likewise.
34042         * math/w_j0.c: Likewise.
34043         * math/w_j0f.c: Likewise.
34044         * math/w_j0l.c: Likewise.
34045         * math/w_j1.c: Likewise.
34046         * math/w_j1f.c: Likewise.
34047         * math/w_j1l.c: Likewise.
34048         * math/w_jn.c: Likewise.
34049         * math/w_jnf.c: Likewise.
34050         * math/w_jnl.c: Likewise.
34051         * math/w_lgamma.c: Likewise.
34052         * math/w_lgamma_r.c: Likewise.
34053         * math/w_lgammaf.c: Likewise.
34054         * math/w_lgammaf_r.c: Likewise.
34055         * math/w_lgammal.c: Likewise.
34056         * math/w_lgammal_r.c: Likewise.
34057         * math/w_log.c: Likewise.
34058         * math/w_log10.c: Likewise.
34059         * math/w_log10f.c: Likewise.
34060         * math/w_log10l.c: Likewise.
34061         * math/w_log2.c: Likewise.
34062         * math/w_log2f.c: Likewise.
34063         * math/w_log2l.c: Likewise.
34064         * math/w_logf.c: Likewise.
34065         * math/w_logl.c: Likewise.
34066         * math/w_pow.c: Likewise.
34067         * math/w_powf.c: Likewise.
34068         * math/w_powl.c: Likewise.
34069         * math/w_remainder.c: Likewise.
34070         * math/w_remainderf.c: Likewise.
34071         * math/w_remainderl.c: Likewise.
34072         * math/w_scalb.c: Likewise.
34073         * math/w_scalbf.c: Likewise.
34074         * math/w_scalbl.c: Likewise.
34075         * math/w_sinh.c: Likewise.
34076         * math/w_sinhf.c: Likewise.
34077         * math/w_sinhl.c: Likewise.
34078         * math/w_sqrt.c: Likewise.
34079         * math/w_sqrtf.c: Likewise.
34080         * math/w_sqrtl.c: Likewise.
34081         * math/w_tgamma.c: Likewise.
34082         * math/w_tgammaf.c: Likewise.
34083         * math/w_tgammal.c: Likewise.
34085         * po/ja.po: Update from translation team.
34087 2011-09-29  Andreas Jaeger  <aj@suse.de>
34089         [BZ #13179]
34090         * sunrpc/netname.c (netname2host): Fix logic.
34092         [BZ #6779]
34093         [BZ #6783]
34094         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
34095         correctly.
34096         * math/w_remainder.c (__remainder): Likewise.
34097         * math/w_remainderf.c (__remainderf): Likewise.
34098         * math/libm-test.inc (remainder_test): Add test cases.
34100 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34102         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
34103         sdiv_qrnnd.
34105 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
34107         * string/test-memcmp.c: Avoid unncessary #defines.
34108         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34110 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34112         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
34113         Use new sse2 version for core i3 - i7 as it's faster
34114         than sse42 version.
34115         (bit_Prefer_PMINUB_for_stringop): New.
34116         * sysdeps/x86_64/rawmemchr.S: Update.
34117         Replace with faster SSE2 version.
34118         * sysdeps/x86_64/memrchr.S: New file.
34119         * sysdeps/x86_64/memchr.S: Update.
34120         Replace with faster SSE2 version.
34122 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
34124         * elf/dl-load.c (lose): Add cast to avoid warning.
34126 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
34128         * po/ca.po: Update from translation team.
34130         * inet/getnetgrent_r.c: Hook up nscd.
34131         * nscd/Makefile (routines): Add nscd_netgroup.
34132         (nscd-modules): Add netgroupcache.
34133         (CFLAGS-netgroupcache.c): Define.
34134         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
34135         (cache_search): Add const to second parameter.
34136         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
34137         INNETGR.
34138         (dbs): Add netgrdb entry.
34139         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
34140         (verify_persistent_db): Handle netgrdb.
34141         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
34142         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
34143         GETFDNETGR.
34144         (netgroup_response_header): Define.
34145         (innetgroup_response_header): Define.
34146         (datahead): Add netgroup_response_header and innetgroup_response_header
34147         elements.
34148         * nscd/nscd.conf: Add entries for netgroup cache.
34149         * nscd/nscd.h (dbtype): Add netgrdb.
34150         (_PATH_NSCD_NETGROUP_DB): Define.
34151         (netgroup_iov_disabled): Declare.
34152         (xmalloc, xcalloc, xrealloc): Move declarations here.
34153         (cache_search): Adjust prototype.
34154         Add netgroup-related prototypes.
34155         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
34156         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
34157         (__nscd_innetgr): Declare.
34158         * nscd/selinux.c (perms): Use access_vector_t as element type and
34159         add netgroup-related initializers.
34160         * nscd/netgroupcache.c: New file.
34161         * nscd/nscd_netgroup.c: New file.
34162         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
34163         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
34164         For four parameters use innetgr.
34165         * nss/nss_files/files-init.c: Add definition and callback for netgr.
34166         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
34167         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
34168         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
34170         * nscd/connections.c (register_traced_file): Don't register file
34171         for disabled databases.
34173 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
34175         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
34177         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
34178         from tree and freeing node.
34180 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
34182         * nss/nsswitch.c (__nss_database_lookup): Handle
34183         nss_parse_service_list out of memory case.
34185 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
34187         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
34188         out of memory case.
34190 2011-10-04  Andreas Schwab  <schwab@redhat.com>
34192         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
34193         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
34194         pass it down.
34195         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
34196         elf_machine_rela, elf_machine_lazy_rel.
34197         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
34198         (ELF_DYNAMIC_DO_REL): Likewise.
34199         (ELF_DYNAMIC_DO_RELA): Likewise.
34200         (ELF_DYNAMIC_RELOCATE): Likewise.
34201         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
34202         to ELF_DYNAMIC_DO_REL.
34203         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
34204         (dl_main): In trace mode always set __RTLD_NOIFUNC.
34205         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
34206         elf_machine_rela.
34207         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
34208         skip_ifunc, don't call ifunc function if non-zero.
34209         (elf_machine_rela): Likewise.
34210         (elf_machine_lazy_rel): Likewise.
34211         (elf_machine_lazy_rela): Likewise.
34212         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
34213         (elf_machine_lazy_rel): Likewise.
34214         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
34215         Likewise.
34216         (elf_machine_lazy_rel): Likewise.
34217         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34218         Likewise.
34219         (elf_machine_lazy_rel): Likewise.
34220         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
34221         (elf_machine_lazy_rel): Likewise.
34222         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
34223         (elf_machine_lazy_rel): Likewise.
34224         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34225         (elf_machine_lazy_rel): Likewise.
34226         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
34227         (elf_machine_lazy_rel): Likewise.
34228         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
34229         (elf_machine_lazy_rel): Likewise.
34230         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34231         (elf_machine_lazy_rel): Likewise.
34233 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
34235         * nss/nss_files/files-init.c (_nss_files_init): Use static
34236         initialization for all the *_traced_file variables.
34238 2011-09-28  Andreas Schwab  <schwab@redhat.com>
34240         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34242 2011-09-27  Roland McGrath  <roland@hack.frob.com>
34244         [BZ #13226]
34245         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
34247 2011-09-27  Andreas Schwab  <schwab@redhat.com>
34249         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34250         Reread the line before reparsing it.
34252 2011-09-26  Andreas Schwab  <schwab@redhat.com>
34254         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
34256 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
34257             Maxim Kuvyrkov  <maxim@codesourcery.com>
34258             Joseph Myers  <joseph@codesourcery.com>
34260         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
34261         if needed for __stack_chk_guard.
34263 2011-09-19  Roland McGrath  <roland@hack.frob.com>
34265         * sysdeps/posix/spawni.c (script_execute): Always define it.
34266         It will be optimized away if unused.
34267         (maybe_script_execute): New function.
34268         (__spawni): Call it.
34270         * Makerules: Don't include tls.make.
34271         (config-tls): Always set to thread.
34272         * tls.make.c: File removed.
34274 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
34276         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
34277         * config.make.in (CPPFLAGS-config): New substituted variable.
34279 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
34281         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
34283         [BZ #13192]
34284         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
34285         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
34287 2011-09-15  Roland McGrath  <roland@hack.frob.com>
34289         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
34290         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
34291         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34292         (CALL_FAIL): Likewise.
34293         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
34294         (CALL_FAIL): Macro removed.
34295         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
34297 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
34299         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
34300         for __FINITE_MATH_ONLY__ == 1.
34302 2011-09-15  Andreas Schwab  <schwab@redhat.com>
34304         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
34305         __ieee754_sqrt instead of sqrt.
34306         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
34307         __ieee754_sqrtf instead of sqrtf.
34308         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
34309         __floorf instead of floorf.
34310         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
34311         __floorf, __truncf instead of floorf, truncf.
34313 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
34315         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
34317         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
34318         __extern_always_inline.
34319         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
34320         32-bit.
34322 2011-09-14  Andreas Schwab  <schwab@redhat.com>
34324         * elf/rtld.c (dl_main): Also relocate in dependency order when
34325         doing symbol dependency testing.
34327 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
34329         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34330         Always define `refsym'.
34332 2011-09-13  Andreas Schwab  <schwab@redhat.com>
34334         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
34335         (__FD_ELT): Renamed from __FDELT.
34336         * misc/bits/select2.h (__FD_ELT): Likewise.
34337         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
34338         __FD_MASK instead of __FDELT, __FDMASK.
34339         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34340         Likewise.
34341         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34342         Likewise.
34344         * elf/Makefile (gen-ldd): Fix pattern.
34346         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
34347         (init_tls): Likewise.
34349 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
34351         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
34353 2011-09-12  Andreas Schwab  <schwab@redhat.com>
34355         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
34356         `struct cmsghdr *' instead of `void *'.
34357         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
34358         Likewise.
34360 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
34362         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
34363         if non-absolute.
34364         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
34365         ldd_rewrite_script.
34367 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
34369         * configure.in: Remove --with-tls option.
34370         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
34371         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
34372         out in case it is missing.
34373         * sysdeps/ia64/elf/configure.in: Likewise.
34374         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
34375         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
34376         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
34377         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
34378         * sysdeps/sh/elf/configure.in: Likewise.
34379         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
34380         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34381         * sysdeps/x86_64/elf/configure.in: Likewise.
34382         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
34383         * sysdeps/mach/hurd/tls.h: Likewise.
34385         [BZ #13067]
34386         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
34388         [BZ #13090]
34389         * configure.in: Fix use of AC_INIT.
34391         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
34393 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
34395         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
34396         __set_errno.
34397         * malloc/hooks.c: Likewise.
34399         [BZ #11929]
34400         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
34401         variables statically.
34402         (narenas): Initialize.
34403         (list_lock): Initialize.
34404         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
34405         initializtion of main_arena and list_lock.  Small cleanups.
34406         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
34407         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
34408         Add initializers to main_arena and mp_.
34409         (malloc_state): Remove pagesize member.  Change all users to use
34410         GLRO(dl_pagesize).
34412         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
34413         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
34414         is always initialized.
34416         * malloc/malloc.c: Removed unused configurations and dead code.
34417         * malloc/arena.c: Likewise.
34418         * malloc/hooks.c: Likewise.
34419         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
34421         * include/tls.h: Removed.  USE___THREAD must always be defined.
34422         * bits/libc-tsd.h: Don't handle !USE___THREAD.
34423         * elf/dl-libc.c: Likewise.
34424         * elf/dl-tsd.c: Likewise.
34425         * include/errno.h: Likewise.
34426         * include/netdb.h: Likewise.
34427         * include/resolv.h: Likewise.
34428         * inet/herrno-loc.c: Likewise.
34429         * inet/herrno.c: Likewise.
34430         * malloc/arena.c: Likewise.
34431         * malloc/hooks.c: Likewise.
34432         * malloc/malloc.c: Likewise.
34433         * resolv/res-state.c: Likewise.
34434         * resolv/res_libc.c: Likewise.
34435         * sysdeps/i386/dl-machine.h: Likewise.
34436         * sysdeps/ia64/dl-machine.h: Likewise.
34437         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
34438         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34439         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
34440         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
34441         * sysdeps/sh/dl-machine.h: Likewise.
34442         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34443         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34444         * sysdeps/unix/i386/sysdep.S: Likewise.
34445         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34446         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
34447         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
34448         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34449         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
34450         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34451         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34452         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34453         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34454         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34455         * sysdeps/unix/x86_64/sysdep.S: Likewise.
34456         * sysdeps/x86_64/dl-machine.h: Likewise.
34457         * tls.make.c: Likewise.
34459         * configure.in: Remove --with-__thread option.  Make tests for
34460         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
34461         tls_model attribute fail if no support is available.  Remove
34462         USE_IN_LIBIO.
34463         * Makeconfig: Adjust for dropped configure option.  All features are
34464         now mandatory.
34465         * Makerules: Likewise.
34466         * Versions.def: Likewise.
34467         * argp/argp-fmtstream.c: Likewise.
34468         * argp/argp-fmtstream.h: Likewise.
34469         * argp/argp-help.c: Likewise.
34470         * assert/assert.c: Likewise.
34471         * config.h.in: Likewise.
34472         * config.make.in: Likewise.
34473         * configure: Likewise.
34474         * configure.in: Likewise.
34475         * csu/Versions: Likewise.
34476         * csu/init.c: Likewise.
34477         * elf/tst-audit2.c: Likewise.
34478         * elf/tst-tls10.c: Likewise.
34479         * elf/tst-tls10.h: Likewise.
34480         * elf/tst-tls11.c: Likewise.
34481         * elf/tst-tls12.c: Likewise.
34482         * elf/tst-tls14.c: Likewise.
34483         * elf/tst-tlsmod11.c: Likewise.
34484         * elf/tst-tlsmod12.c: Likewise.
34485         * elf/tst-tlsmod13.c: Likewise.
34486         * elf/tst-tlsmod13a.c: Likewise.
34487         * elf/tst-tlsmod14a.c: Likewise.
34488         * elf/tst-tlsmod15b.c: Likewise.
34489         * elf/tst-tlsmod16a.c: Likewise.
34490         * elf/tst-tlsmod16b.c: Likewise.
34491         * elf/tst-tlsmod7.c: Likewise.
34492         * elf/tst-tlsmod8.c: Likewise.
34493         * elf/tst-tlsmod9.c: Likewise.
34494         * gmon/gmon.c: Likewise.
34495         * grp/fgetgrent_r.c: Likewise.
34496         * grp/putgrent.c: Likewise.
34497         * hurd/fopenport.c: Likewise.
34498         * include/libc-symbols.h: Likewise.
34499         * include/tls.h: Likewise.
34500         * intl/gettextP.h: Likewise.
34501         * intl/loadinfo.h: Likewise.
34502         * locale/global-locale.c: Likewise.
34503         * locale/localeinfo.h: Likewise.
34504         * mach/devstream.c: Likewise.
34505         * malloc/arena.c: Likewise.
34506         * malloc/set-freeres.c: Likewise.
34507         * misc/err.c: Likewise.
34508         * misc/getttyent.c: Likewise.
34509         * misc/mntent_r.c: Likewise.
34510         * posix/getopt.c: Likewise.
34511         * posix/wordexp.c: Likewise.
34512         * pwd/fgetpwent_r.c: Likewise.
34513         * resolv/Versions: Likewise.
34514         * resolv/res_hconf.c: Likewise.
34515         * shadow/fgetspent_r.c: Likewise.
34516         * shadow/putspent.c: Likewise.
34517         * stdio-common/printf_fphex.c: Likewise.
34518         * stdio-common/tmpfile.c: Likewise.
34519         * stdlib/abort.c: Likewise.
34520         * stdlib/fmtmsg.c: Likewise.
34521         * sunrpc/auth_unix.c: Likewise.
34522         * sunrpc/clnt_perr.c: Likewise.
34523         * sunrpc/clnt_tcp.c: Likewise.
34524         * sunrpc/clnt_udp.c: Likewise.
34525         * sunrpc/clnt_unix.c: Likewise.
34526         * sunrpc/openchild.c: Likewise.
34527         * sunrpc/svc_simple.c: Likewise.
34528         * sunrpc/svc_tcp.c: Likewise.
34529         * sunrpc/svc_udp.c: Likewise.
34530         * sunrpc/svc_unix.c: Likewise.
34531         * sunrpc/xdr.c: Likewise.
34532         * sunrpc/xdr_array.c: Likewise.
34533         * sunrpc/xdr_rec.c: Likewise.
34534         * sunrpc/xdr_ref.c: Likewise.
34535         * sunrpc/xdr_stdio.c: Likewise.
34537 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
34539         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34541 2011-07-03  Andreas Jaeger  <aj@suse.de>
34543         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
34544         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
34545         regenerate with gen-libm-tests.pl.
34547 2010-05-12  Petr Baudis  <pasky@suse.cz>
34549         [BZ #11589]
34550         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
34551         around j0() zero points by switching to j1().
34552         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34553         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34554         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34555         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34557 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
34559         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
34560         instead of 0.
34561         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
34562         instead of 0.
34563         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34564         Patch in part by Pavel Roskin <proski@gnu.org>.
34566         [BZ #13138]
34567         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
34568         realloc.
34569         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
34570         Free memory block if necessary.
34572         [BZ #12847]
34573         * libio/genops.c (INTDEF): For string streams the _lock pointer can
34574         be NULL.  Don't lock in this case.
34576 2011-09-09  Roland McGrath  <roland@hack.frob.com>
34578         * elf/elf.h (ELFOSABI_GNU): New macro.
34579         (ELFOSABI_LINUX): Define to that.
34581 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
34583         * string/strncat.c (strncat): Undef the symbol in case it has been
34584         defined in bits/string.h.
34586 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
34588         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
34590         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
34591         link map.
34593 2011-08-17  Andreas Jaeger  <aj@suse.de>
34595         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
34597 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
34598             Ian Lance Taylor  <iant@google.com>
34600         * math/libm-test.inc (lround_test): New testcase.
34601         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
34603 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
34605         * Makefile: Remove support for automatic cvs check-ins.
34606         * Makerules: Likewise.
34607         * config.make.in: Likewise.
34608         * configure.in: Likewise.
34609         * intl/Makefile: Likewise.
34610         * locale/Makefile: Likewise.
34611         * po/Makefile: Likewise.
34612         * posix/Makefile: Likewise.
34613         * sysdeps/gnu/Makefile: Likewise.
34614         * sysdeps/mach/hurd/Makefile: Likewise.
34615         * sysdeps/sparc/sparc32/Makefile: Likewise.
34617         [BZ #13118]
34618         * posix/Makefile (bug-regex32-ENV): Define.
34619         Patch by John Stanley <jpsinthemix@verizon.net>.
34621         * misc/Makefile (headers): Add bits/select2.h.
34622         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
34623         * misc/bits/select2.h: New file.
34624         * include/bits/select2.h: New file.
34625         * debug/Makefile (routines): Add fdelt_chk.
34626         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
34627         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
34628         FD_ISSET.
34629         * debug/fdelt_chk.c: New file.
34631         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
34632         * wcsmbs/test-wmemcmp.c: Likewise.
34633         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
34634         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
34636 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34638         * string/Makefile (strop-tests): Add memcmp.
34639         * string/test-wmemcmp.c: New file.
34640         * string/test-memcmp.c: Add wmemcmp support.
34642 2011-09-08  Roland McGrath  <roland@hack.frob.com>
34644         [BZ #13153]
34645         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
34646         2011-07-19 change.
34648         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
34649         garbage value in a __mach_port_mod_refs call in the cases of the
34650         task-self and thread-self ports.
34652 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34654         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
34656 2011-09-08  Andreas Schwab  <schwab@redhat.com>
34658         * elf/dl-load.c (lose): Check for non-null L.
34660 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
34662         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
34664         * elf/dl-libc.c (dlerror_run): Pass back error code from
34665         dl_catch_error.
34667         [BZ #13123]
34668         * elf/dl-load.c (lose): Free l_origin if it is valid.
34670         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
34671         names.
34672         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34673         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34674         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34675         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34676         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34677         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
34679 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34681         * sysdeps/powerpc/fpu/e_hypot.c: New file.
34682         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
34683         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
34684         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
34685         * sysdeps/powerpc/fpu/k_cosf.c: New file.
34686         * sysdeps/powerpc/fpu/k_sinf.c: New file.
34687         * sysdeps/powerpc/fpu/s_cosf.c: New file.
34688         * sysdeps/powerpc/fpu/s_sinf.c: New file.
34689         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
34690         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
34692 2011-08-15  Alan Modra  <amodra@gmail.com>
34694         [BZ #13092]
34695         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
34696         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
34697         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
34698         ppc_mcount to static-only-routines.
34699         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
34700         __mcount_internal.
34701         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
34702         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
34704 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
34706         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
34707         for finite and infinity parameters.
34709 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
34711         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
34712         and add nop instructions for throughput optimization.
34713         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34715 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
34717         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
34718         aligned copy for power7 with vector-scalar instructions.
34719         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34721 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
34723         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
34724         AVX check.
34726 2011-09-07  Andreas Schwab  <schwab@redhat.com>
34728         [BZ #13144]
34729         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
34730         last change.
34732 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
34734         * sysdeps/unix/sysv/linux/x86_64/init-first.c
34735         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
34736         syscall wrapper around clock_gettime in __vdso_clock_gettime.
34737         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
34738         clock_gettime.
34740 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
34742         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34743         Forgot to demangle the pointer.
34745         * sysdeps/i386/sysdep.h: Define atom_text_section.
34746         * sysdeps/x86_64/sysdep.h: Likewise.
34747         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34748         section with atom_text_section.
34749         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34750         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34751         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34752         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34753         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34755         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34756         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34757         already be defined.  Change to take two parameters and don't assign
34758         result to variable.  Adjust all users.
34759         Define INTERNAL_GETTIME if not already defined.
34760         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34761         call.
34762         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34763         HAVE_CLOCK_GETTIME_VSYSCALL.
34764         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34766         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34767         gettimeofday vsyscall, just use time.
34769 2011-09-06  Andreas Schwab  <schwab@redhat.com>
34771         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34772         <errno.h>.
34774 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
34776         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34777         syscall on x86-64.
34778         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34779         syscall.
34780         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34781         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34782         syscall if possible.
34784 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34786         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34787         e_ident.  Don't pass to find_mapsXX.
34788         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34790 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34792         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34793         strchr-sse2-no-bsf strrchr-sse2-no-bsf
34794         * sysdeps/x86_64/multiarch/strchr.S: Update.
34795         Check bit_slow_BSF bit.
34796         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34797         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34798         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34800 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34802         [BZ #13134]
34803         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34804         before glibc 2.15.
34805         (tryshell): Define.
34806         (__spawni): Change last parameter to be flag.  Test
34807         SPAWN_XFLAGS_USE_PATH flag to use path or not.
34808         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34809         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34810         * posix/spawni.c: Likewise.
34811         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34812         * posix/spawnp.c: Likewise.  Change normal version to use
34813         SPAWN_XFLAGS_USE_PATH.
34814         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34815         SPAWN_XFLAGS_TRY_SHELL.
34817         [BZ #13150]
34818         * posix/glob.h: Remove gcc 1.x support.
34820         [BZ #13068]
34821         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34823 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34825         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34826         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34827         strrchr-sse2-bsf
34828         * sysdeps/i386/i686/multiarch/strchr.S: New file.
34829         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34830         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34831         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34832         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34833         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34835 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34837         * sysdeps/x86_64/wcscmp.S: New file.
34839         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34840         wcscmp-c wcscmp-sse2
34841         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34842         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34843         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34844         * wcsmbs/wcscmp.c: Allow renaming.
34846 2011-09-05  David S. Miller  <davem@davemloft.net>
34848         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34849         stack slot, rather than the struct return pointer slot.
34850         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34851         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34852         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34853         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34855 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34857         * po/ja.po: Update from translation team.
34859         [BZ #13144]
34860         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34861         kernel in 64-bit binaries.
34863 2011-09-01  David S. Miller  <davem@davemloft.net>
34865         * elf/elf.h (HWCAP_SPARC_*): Move to..
34866         * sysdeps/sparc/sysdep.h: this new file and add new values.
34867         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34868         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34869         _DL_HWCAP_COUNT to 24.
34870         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34871         entries.
34872         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34873         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34874         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34875         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34876         instead of magic constants.
34877         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34879 2011-08-31  David S. Miller  <davem@davemloft.net>
34881         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34882         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34883         Reimplement to do errno handling inline.
34884         (SYSCALL_ERROR_HANDLER): New macro.
34885         (__SYSCALL_STRING): Do not do errno handling in asm.
34886         (__CLONE_SYSCALL_STRING): Delete.
34887         (__INTERNAL_SYSCALL_STRING): Delete.
34888         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34889         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34890         (PSEUDO): Reimplement to do errno handling inline.
34891         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34892         (SYSCALL_ERROR_HANDLER): New macro.
34893         (__SYSCALL_STRING): Do not do errno handling in asm.
34894         (__CLONE_SYSCALL_STRING): Delete.
34895         (__INTERNAL_SYSCALL_STRING): Delete.
34896         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34897         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34898         i386.
34899         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34900         (inline_syscall*): Add 'err' argument.
34901         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34902         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34903         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34904         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34906         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34907         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34909 2011-08-30  Andreas Schwab  <schwab@redhat.com>
34911         * elf/rtld.c (dl_main): Relocate objects in dependency order.
34913 2011-08-29  Jiri Olsa <jolsa@redhat.com>
34915         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34916         directive.
34918 2011-08-24  David S. Miller  <davem@davemloft.net>
34920         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34922 2011-08-24  Andreas Schwab  <schwab@redhat.com>
34924         * elf/Makefile: Add rules to build and run unload8 test.
34925         * elf/unload8.c: New file.
34926         * elf/unload8mod1.c: New file.
34927         * elf/unload8mod1x.c: New file.
34928         * elf/unload8mod2.c: New file.
34929         * elf/unload8mod3.c: New file.
34931         * elf/dl-close.c (_dl_close_worker): Reset private search list if
34932         it wasn't used.
34934 2011-08-23  David S. Miller  <davem@davemloft.net>
34936         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34937         subtract stack bias.
34938         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34939         %sp not %fp in calculations.
34940         (_JMPBUF_UNWINDS_ADJ): Likewise.
34942         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34943         (aio_suspend): Call it to force an exception region around the
34944         AIO_MISC_WAIT() invocation.
34946 2011-08-23  Andreas Schwab  <schwab@redhat.com>
34948         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34949         backslash.
34951 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
34953         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34954         protection macro.
34955         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34956         and <dl-machine.h>.
34957         (Elf64_FuncDesc): Remove.
34959 2011-08-22  David S. Miller  <davem@davemloft.net>
34961         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34962         sigaltstack check, add missing cfi directives.
34963         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34964         missing cfi directives, and sigaltstack handling.
34966 2011-08-16  Andreas Schwab  <schwab@redhat.com>
34968         [BZ #11724]
34969         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34970         object is seen twice.
34971         * elf/dl-fini.c (_dl_sort_fini): Likewise.
34973         * elf/Makefile (distribute): Add tst-initorder2.c.
34974         (tests): Add tst-initorder2.
34975         (modules-names): Add tst-initorder2a tst-initorder2b
34976         tst-initorder2c tst-initorder2d.  Add rules to build them.
34977         ($(objpfx)tst-initorder2.out): New rule.
34978         * elf/tst-initorder2.c: New file.
34979         * elf/tst-initorder2.exp: New file.
34981 2011-08-22  Andreas Schwab  <schwab@redhat.com>
34983         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34985         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34986         dependencies back to end of function.
34988         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34989         $(elfobjdir)/ld.so.
34991 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
34993         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34994         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34995         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34996         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34997         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34998         of __vdso_gettimeofday.
34999         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
35000         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
35001         attribute_hidden.
35002         (_libc_vdso_platform_setup): Remove initialization of
35003         __vdso_gettimeofday and __vdso_time.
35005 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
35007         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
35008         and fgetc_unlocked.
35009         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
35010         getc_unlocked.
35012         * elf/dl-open.c (add_to_global): Report additions to the global scope
35013         for LD_DEBUG=scopes.
35014         (dl_open_worker): Also print scope of newly loaded dependencies.
35015         (_dl_show_scope): Indicate if there is no scope.
35017         [BZ #13114]
35018         * stdio-common/Makefile (tests): Add bug24.
35019         * stdio-common/bug24.c: New file.
35021 2011-08-19  Andreas Jaeger  <aj@suse.de>
35023         [BZ #13114]
35024         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
35025         non-existant file when using close-on-exec mode.
35027 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
35029         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
35030         the very first instruction.
35032         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
35033         the CFI state in the end.
35034         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
35035         inclusion of dl-trampoline.h.
35036         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
35038 2011-08-19  Andreas Schwab  <schwab@redhat.com>
35040         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
35041         expectations for long double.
35043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
35044         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
35046 2011-08-14  David S. Miller  <davem@davemloft.net>
35048         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
35049         artificual limit depends upon the system page size.
35051 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
35053         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
35054         * resolv/Makefile: Define CFLAGS-libresolv.
35056 2011-08-17  Andreas Schwab  <schwab@redhat.com>
35058         * nss/makedb.c (compute_tables): Make variables used in nested
35059         function static.
35061 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
35063         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
35064         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
35065         if buffer was too small.
35067         * elf/pldd.c (main): Attach to all threads in the process.
35068         Rewrite /proc handling to use *at functions.
35070 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
35072         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
35073         specifies first scope to show.
35074         (dl_open_worker): Update callers.  Move printing scope of new
35075         object to before the relocation.
35076         * elf/rtld.c (dl_main): Update _dl_show_scope call.
35077         * sysdeps/generic/ldsodefs.h: Update declaration.
35079         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
35080         string for the scope number.
35082 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
35084         * nscd/servicescache.c (cache_addserv): Make sure written is always
35085         initialized.
35087 2011-08-14  Roland McGrath  <roland@hack.frob.com>
35089         * sysdeps/i386/i486/bits/atomic.h
35090         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
35091         statement expression, so as to suppress "set but not used" warning.
35092         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
35094         * string/strncat.c (STRNCAT): Use prototype definition.
35096         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
35097         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
35098         -Iprograms here.
35099         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
35100         (localedef-modules): Add localedef.
35101         (locale-modules): Add locale.
35103         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
35104         * elf/rtld.c (dl_main): Invert order of assignment in last change,
35105         to avoid a warning.
35107 2011-08-14  David S. Miller  <davem@davemloft.net>
35109         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
35110         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
35112 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
35114         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
35115         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
35116         * elf/rtld.c (dl_main): Set l_name of vDSO.
35117         Call _dl_show_scope when DL_DEBUG_SCOPES.
35118         (process_dl_debug): Recognize scopes flag and also set it for all.
35119         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
35120         Declare _dl_show_scope.
35122         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
35123         (do_dlopen): Pass caller_dlopen to dl_open.
35124         (__libc_dlopen_mode): Initialize caller_dlopen.
35126         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
35127         of libc.  Make tolower call locale-independent.  Optimize a bit by
35128         using isdigit instead of isalnum.
35129         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
35131 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
35133         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
35134         was a dependency or dynamically loaded.
35136 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
35138         * intl/l10nflist.c: Allow architecture-specific pop function.
35139         * sysdeps/x86_64/l10nflist.c: New file.
35141         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
35142         classification.
35144 2011-08-10  Andreas Schwab  <schwab@redhat.com>
35146         * include/dirent.h: Add libc_hidden_proto for scandirat and
35147         scandirat64.  Don't declare __scandirat64.
35148         * dirent/scandirat.c: Add libc_hidden_def.
35149         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
35150         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
35152 2011-08-10  David S. Miller  <davem@davemloft.net>
35154         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
35155         enum.
35156         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35157         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35158         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35160 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
35162         * Versions.def [libc]: Add GLIBC_2.15.
35163         * dirent/Makefile (routines): Add scandirat and scandirat64.
35164         * dirent/Versions [libc]: Export scandirat and scandirat64 for
35165         GLIBC_2.15.
35166         * dirent/dirent.h: Declare scandirat and scandirat64.
35167         * dirent/scandirat.c: New file.
35168         * dirent/scandirat64.c: New file.
35169         * sysdeps/wordsize-64/scandirat.c: New file.
35170         * sysdeps/wordsize-64/scandirat64.c: New file.
35171         * dirent/opendir.c: Define opendirat.
35172         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
35173         using scandirat.
35174         * dirent/scandir64.c: Adjust for scandir.c change.
35175         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
35176         __scandirat64, and __scandir_cancel_handler.
35177         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
35178         additional parameter and use openat instead of open (outside of ld.so).
35179         Add new __opendir as wrapper around __opendirat.
35180         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
35181         here without requiring old scandirat implementation.
35183 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
35185         * dirent/scandir.c (cancel_handler): Renamed to
35186         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
35187         defined.  Adjust users.
35188         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
35189         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
35191 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
35193         * string/test-string.h (IMPL): Use __STRING to expand name and then
35194         stringify it.
35196         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
35197         of cleanups.
35199 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35201         * string/Makefile: Update.
35202         (strop-tests): Append strncat.
35203         * string/test-wcscmp.c: New file.
35204         New comprehensive test for wcscmp.
35205         * string/test-strcmp.c: Update.
35206         (WIDE): New define.
35208 2011-07-22  Andreas Schwab  <schwab@redhat.com>
35210         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
35211         line.
35213 2011-07-26  Andreas Schwab  <schwab@redhat.com>
35215         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35216         encoding to ACE if AI_IDN.
35218 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
35220         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
35221         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
35223 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35225         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
35226         Fix overflow bug in strncat.
35227         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
35229         * string/test-strncat.c: Update.
35230         Add new tests for checking overflow bugs.
35232 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35234         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35235         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
35236         * sysdeps/i386/i686/multiarch/strcat.S: New file.
35237         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
35238         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
35239         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
35240         * sysdeps/i386/i686/multiarch/strncat.S: New file.
35241         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
35242         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
35244         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
35245         (USE_AS_STRCAT): Define.
35246         Add strcat and strncat support.
35247         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35249 2011-07-25  Andreas Schwab  <schwab@redhat.com>
35251         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
35252         __n bigger than INT_MAX+1.
35253         (__strncmp_g): Likewise.
35255 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
35257         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
35258         * libio/stido.h: Likewise.
35260         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
35261         (AF_NFC): Define.
35262         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
35263         (AF_NFC): Define.
35265         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
35266         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35267         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35268         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35269         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35271         [BZ #13021]
35272         * scripts/test-installation.pl: Don't expect libnss_test1 to be
35273         installed.
35275         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
35276         typo.
35277         (_dl_x86_64_save_sse): Likewise.
35279 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
35281         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
35282         OSXSAVE.
35283         (_dl_x86_64_save_sse): Likewise.
35285         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
35287         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
35289 2011-07-21  Andreas Schwab  <schwab@redhat.com>
35291         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
35292         change.
35293         (_dl_x86_64_save_sse): Use correct AVX check.
35295 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35297         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
35298         bug in strncpy/strncat.
35299         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
35301 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
35303         * string/tester.c (test_strcat): Add tests for different alignments
35304         of source and destination.
35305         (test_strncat): Likewise.
35307 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
35309         [BZ #12852]
35310         * posix/glob.c (glob): Check passed in values before using them in
35311         expressions to avoid some overflows.
35312         (glob_in_dir): Likewise.
35314         [BZ #13007]
35315         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
35316         check for AVX enablement so that we don't crash with old kernels and
35317         new hardware.
35318         * elf/tst-audit4.c: Add same checks here.
35319         * elf/tst-audit6.c: Likewise.
35321         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
35323 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
35325         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
35327 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
35329         * po/cs.po: Update from translation team.
35330         * po/bg.po: Likewise.
35332 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
35334         * misc/sys/cdefs.h: Add support for const attribute.
35335         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
35336         to gnu_dev_{major,minor,makedev} functions.
35338 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
35340         * intl/dcigettext.c (get_output_charset): Add missing bracket.
35342 2011-07-20  Andreas Schwab  <schwab@redhat.com>
35344         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
35345         strlen results.
35347 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35349         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
35350         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
35351         register in order to avoid conflicts with the soft frame pointer
35352         being held in r11 when necessary.
35353         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
35354         (INTERNAL_VSYSCALL_NCS): Likewise.
35356 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
35358         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
35359         * elf/dl-fini.c (_dl_fini): Adjust caller.
35360         * elf/dl-close.c (_dl_close_worker): Likewise.
35361         * sysdeps/generic/ldsodefs.h: Adjust declaration.
35363 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
35365         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
35366         "aux_cache->nlibs < 0".
35368         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
35369         in the reload-count case.
35371 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35373         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35374         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
35375         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
35376         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
35377         * sysdeps/x86_64/multiarch/strcat.S: New file.
35378         * sysdeps/x86_64/multiarch/strncat.S: New file.
35379         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
35380         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
35381         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
35382         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
35383         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
35384         (USE_AS_STRCAT): Define.
35385         Add strcat and strncat support.
35386         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35387         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
35388         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
35389         * string/strncat.c: Update.
35390         (USE_AS_STRNCAT): Define.
35391         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35392         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
35393         and i7.
35394         * sysdeps/x86_64/multiarch/init-arch.h
35395         (bit_Prefer_PMINUB_for_stringop): New.
35396         (index_Prefer_PMINUB_for_stringop): Likewise.
35397         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
35398         bit_Prefer_PMINUB_for_stringop.
35400 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
35402         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
35403         buffer64.
35404         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
35405         of casting of buffer.
35406         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
35407         buffer32 and buffer64.
35408         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
35409         writes instead of casting of buffer.
35410         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
35411         buffer32.
35412         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
35413         casting of buffer.
35415 2011-07-19  Andreas Schwab  <schwab@redhat.com>
35417         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
35419 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
35421         * nscd/nscd.c (termination_handler): Don't do anything for a database
35422         if it has not yet been initialized.
35424 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
35426         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35428 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
35430         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35432 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
35434         * po/nl.po: Update from translation team.
35435         * po/sv.po: Likewise.
35437 2011-07-16  Roland McGrath  <roland@hack.frob.com>
35439         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
35440         now disallowed by GCC.
35442         * configure.in (use-default-link): Default to yes if a test -shared
35443         link meets our qualifications.
35444         * configure: Regenerated.
35446         * config.make.in (output-format): New variable.
35447         * configure.in: Check for ld --print-output-format support.
35448         * configure: Regenerated.
35449         * Makerules ($(common-objpfx)format.lds)
35450         [$(output-format) != unknown]: Just use $(output-format),
35451         instead of the linker-script munging.
35453 2011-07-14  Roland McGrath  <roland@hack.frob.com>
35455         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
35456         of $(common-objpfx)shlib.lds.
35457         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
35459         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
35460         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
35462         * configure.in (-z relro check): Adjust test code to add a large
35463         writable data section after it.
35464         * configure: Regenerated.
35466 2011-07-11  Roland McGrath  <roland@hack.frob.com>
35468         * configure.in (-z relro check): Fix test code to make the variable
35469         truly const.
35470         * configure: Regenerated.
35472 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
35474         * nscd/nscd.h (struct traced_file): Define.
35475         (struct database_dyn): Remove inotify_descr, reset_res, and filename
35476         elements.  Add traced_files.
35477         (inotify_fd): Declare.
35478         (register_traced_file): Declare.
35479         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
35480         (inotify_fd): Export.
35481         (resolv_conf_descr): Remove.
35482         (nscd_init): Move inotify descriptor creation to main.
35483         Don't register files for notification here.
35484         (register_traced_file): New function.
35485         (invalidate_cache): Don't use reset_res to determine whether to call
35486         res_init, go through the list of registered files.
35487         (main_loop_poll): The inotify descriptors are now stored in the
35488         structures for the traced files.
35489         (main_loop_epoll): Likewise
35490         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
35491         to __nss_disable_nscd.
35492         * nscd/cache.c (prune_cache): There is no single inotify descriptor
35493         for a database anymore.  Check the records for all the registered
35494         files instead.
35495         * nss/Makefile (libnss_files-routines): Add files-init.
35496         (libnss_db-routines): Add db-init.
35497         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
35498         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
35499         * nss/nss_db/db-init.c: New file.
35500         * nss/nss_files/files-init.c: New file.
35501         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
35502         __nss_lookup_function.
35503         (__nss_lookup_function): Call nss_load_library.
35504         (nss_load_all_libraries): New function.
35505         (__nss_disable_nscd): Take parameter with callback function for files
35506         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
35507         used for the cached services.
35508         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
35509         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
35510         options for features to all the files in nscd.
35512         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
35514 2011-07-10  Roland McGrath  <roland@hack.frob.com>
35516         * csu/elf-init.c (__libc_csu_init): Comment typo.
35518 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
35520         * po/pl.po: Update from translation team.
35521         * po/ja.po: Likewise.
35522         * po/ru.po: Likewise.
35523         * po/ko.po: Likewise.
35524         * po/fr.po: Likewise.
35526 2011-07-09  Roland McGrath  <roland@hack.frob.com>
35528         * configure.in (.ctors/.dtors header and trailer check):
35529         Use an empirical test on a built program.
35530         * configure: Regenerated.
35532         * configure.in (-z relro check): Use an empirical test on a built DSO.
35533         Detect, but do not require, on ia64.
35534         * configure: Regenerated.
35536         * configure.in (READELF): Find it with AC_CHECK_TOOL.
35537         Update tests that use readelf to use $READELF instead.
35538         * configure: Regenerated.
35540 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
35542         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
35543         if the result is not used.
35545 2011-07-05  Andreas Jaeger  <aj@suse.de>
35547         [BZ#9696]
35548         * stdlib/tst-strtod.c: Add testcase.
35550 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
35552         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
35553         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
35554         The latter has a higher limit.  Take additional parameter to pass to
35555         the new function.
35556         (__pathconf): Pass file to __statfs_link_max.
35557         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
35558         __statfs_link_max.
35559         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
35560         __statfs_link_max.
35562         [BZ #12868]
35563         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
35564         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35565         Handle Lustre.
35566         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
35567         (__statfs_filesize_max): Likewise.
35568         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
35570 2011-07-05  Andreas Jaeger  <aj@suse.de>
35572         * resolv/res_comp.c (dn_skipname): Remove unused variable.
35574 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
35576         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
35577         `status' variable.
35578         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
35579         Likewise.
35581 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
35583         * Makefile (strop-tests): Add strncat.
35584         * string/test-strncat.c: New file.
35586 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
35588         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
35590 2011-06-21  Andreas Jaeger  <aj@suse.de>
35592         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
35593         Copy rule from iconvdata/Makefile.
35595 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
35597         [BZ #12922]
35598         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
35599         but no long options are defined, just return 'W'.
35601 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
35603         [BZ #9696]
35604         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
35606 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
35608         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
35609         netgroups to read.
35610         (innetgr): Likewise.
35612 2011-07-05  Roland McGrath  <roland@hack.frob.com>
35614         * config.make.in (install_root): Default to $(DESTDIR).
35616 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
35618         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
35620 2011-07-02  Roland McGrath  <roland@hack.frob.com>
35622         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
35624         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
35625         containing directory rather than embedding absolute directory names.
35627         * scripts/check-local-headers.sh: Rewritten using awk.
35628         Match by word, not by line.  Print error messages for matches.
35629         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
35631         * Makerules [shlib-lds-flags empty]:
35632         ($(common-objpfx)libc_pic.opts): New target.
35633         ($(common-objpfx)libc_pic.os.clean): New target.
35634         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
35636         * config.make.in (OBJCOPY): New variable.
35637         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
35638         * configure: Regenerated.
35640         * config.make.in (use-default-link): New variable.
35641         * configure.in (use_default_link): Grok --with-default-link to set it.
35642         * configure: Regenerated.
35643         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
35644         (shlib-lds, shlib-lds-flags): Define to empty.
35646         * Makerules (shlib-lds): New variable.
35647         (shlib-lds-flags): New variable.
35648         (build-shlib, build-moduile, build-module-asneeded): Use it.
35649         ($(common-objpfx)libc.so): Use $(shlib-lds).
35650         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
35651         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
35653         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
35654         DT_FLAGS/DT_FLAGS_1 with zero flags.
35656         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
35657         linker script munging.
35659 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
35661         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
35662         as 128-bit value.
35663         * crypt/sha512.c (sha512_process_block): Perform total addition using
35664         128-bit if possible.
35665         (__sha512_finish_ctx): Likewise.
35666         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
35667         as 64-bit value.
35668         * crypt/sha256.c (SWAP64): Define.
35669         (sha256_process_block): Perform total addition using 64-bit if
35670         possible.
35671         (__sha256_finish_ctx): Likewise.
35673 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
35675         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
35676         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35677         * nscd/hstcache.c (cache_addhst): Likewise.
35678         * nscd/grpcache.c (cache_addgr): Likewise.
35679         * nscd/aicache.c (addhstaiX): Likewise
35680         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
35682 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
35684         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
35685         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35686         * nscd/hstcache.c (cache_addhst): Likewise.
35687         * nscd/grpcache.c (cache_addgr): Likewise.
35688         * nscd/aicache.c (addhstaiX): Likewise
35690 2011-07-01  Andreas Schwab  <schwab@redhat.com>
35692         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
35693         domain only when needed.
35695 2011-06-30  Andreas Schwab  <schwab@redhat.com>
35697         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
35698         is always restored.
35700 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
35702         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
35703         are re-adding the entry.
35704         * nscd/servicescache.c (cache_addserv): Likewise.
35706 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
35708         * sysdeps/generic/dl-irel.h: fix protection against multiple
35709         inclusions.
35710         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
35712 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
35714         [BZ #12935]
35715         * malloc/memusage.sh: Fix quoting in message.
35716         * debug/xtrace.sh: Likewise.
35718         * configure.in: Remove support for --experimental-malloc option, make
35719         it the default.
35720         * config.make.in: Likewise.
35721         * malloc/Makefile: Likewise.
35723 2011-06-27  Andreas Schwab  <schwab@redhat.com>
35725         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
35726         two-byte characters.
35728 2011-06-27  Roland McGrath  <roland@hack.frob.com>
35730         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
35731         AC_CACHE_CHECK invocation.
35732         * configure: Regenerated.
35734         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
35736 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
35738         [BZ #12350]
35739         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
35740         bit from old_res_options.
35742         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35744         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35745         value type for setfct.
35747 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
35749         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35750         __gettimeofday instead of gettimeofday.
35752 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
35754         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35756 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
35758         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35760         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35761         info.
35763 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
35765         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35766         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35767         strcpy-sse2-unaligned strncpy-sse2-unaligned
35768         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35769         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35770         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35771         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35772         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35773         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35774         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35775         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35776         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35777         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35778         (STRCPY): Support SSE2 and SSSE3 versions.
35780 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
35782         [BZ #12874]
35783         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35784         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35785         kernels which artificially limit size of requests.
35787 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
35789         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35790         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35791         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35792         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35793         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35794         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35795         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35796         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35797         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35798         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35799         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35800         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35801         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35802         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35803         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35804         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35805         Enable unaligned load optimization for Intel Core i3, i5 and i7
35806         processors.
35807         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35808         Define.
35809         (index_Fast_Unaligned_Load): Define.
35810         (HAS_FAST_UNALIGNED_LOAD): Define.
35812 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
35814         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35816 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
35818         [BZ #12907]
35819         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35820         until it is clear that the information is realy needed.
35821         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35823 2011-06-22  Andreas Schwab  <schwab@redhat.com>
35825         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35827 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
35829         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35830         /sys/devices/system/cpu/online if it is usable.
35832         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35833         reading the information from the /proc filesystem to once a second.
35835 2011-06-21  Andreas Jaeger  <aj@suse.de>
35837         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35838         NULL after inclusion of kernel headers.
35840 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
35842         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35843         calls to internal_setent.
35845         [BZ #12885]
35846         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35847         addresses using gethostbyname4_r ignore IPv4 addresses.
35849         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35850         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
35852         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35854 2011-06-20  David S. Miller  <davem@davemloft.net>
35856         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35857         inclusions.
35858         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35860         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35861         (elf_irel): Use it.
35862         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35863         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35864         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35865         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35866         * sysdeps/x86_64/dl-irel.h: Likewise.
35868         * elf/dl-runtime.c: Use elf_ifunc_invoke.
35869         * elf/dl-sym.c: Likewise.
35871 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
35873         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
35874         need to dereference resplen2.
35876 2011-06-14  Andreas Schwab  <schwab@redhat.com>
35878         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35880 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
35882         * Makeconfig: Define vardbdir and inst_vardbdir.
35883         * nss/Makefile: Add rules to install db-Makefile.
35885         * nss/nss_db/db-XXX.c: Cleanup.
35887         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35888         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35889         GLIBC_PRIVATE.
35890         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35891         * nss/makedb.c: Implement -g option to specify that value strings
35892         are generated and should not be added to table iterated over for
35893         get*ent calls.
35894         * nss/nss_db/db-initgroups.c: New file.
35896         * nss/getent.c: Add support for initgroups lookups through getgrouplist
35897         interface.
35899         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35900         (internal_getgrouplist): Adjust to name change.
35901         Update use_initgroups_entry if this is not the first call.
35902         * nss/databases.def: Add initgroups entry.
35904         * nss/makedb.c (compute_tables): Check result of multiple hash table
35905         sizes to minimize maximum chain length.
35907 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
35909         * Versions.def: Add entry for libnss_db.
35910         * shlib-versions: Likewise.
35911         * nss/Makefile: Add rules to build libnss_db.
35912         * nss/Versions: Add libnss_db information.  Organize libnss_files
35913         entries better.
35914         * nss/db-Makefile: Add gshadow support.  Change rules for the new
35915         makedb progra.  Some minor improvements to generate smaller files.
35916         * nss/nss_db/nss_db.h: Move NSS database header data structures to
35917         here from...
35918         * nss/makedb.c: ...here.
35919         Improve database format to be smaller and require less memory at
35920         runtime.
35921         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
35922         db anymore.
35923         * nss/nss_db/db-netgrp.c: Likewise.
35924         * nss/nss_db/db-open.c: Likewise.
35925         * nss/nss_files/flies-XXX.x: Adjust comments.
35926         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35927         * nss/nss_files/files-grp.c: Likewise.
35928         * nss/nss_files/files-hosts.c: Likewise.
35929         * nss/nss_files/files-network.c: Likewise.
35930         * nss/nss_files/files-proto.c: Likewise.
35931         * nss/nss_files/files-pwd.c: Likewise.
35932         * nss/nss_files/files-rpc.c: Likewise.
35933         * nss/nss_files/files-service.c: Likewise.
35934         * nss/nss_files/files-sgrp.c: Likewise.
35935         * nss/nss_files/files-spwd.c: Likewise.
35936         * nss/nss_db/db-alias.c: Removed.
35937         * nss/nss_db/dummy-db.h: Removed.
35939 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
35941         * nss/makedb.c: Rewritten to not use database library.
35942         * nss/Makefile: Update to build new makedb program.
35944 2011-06-14  Andreas Jaeger  <aj@suse.de>
35946         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35947         memset declaration.
35949 2011-06-10  Andreas Schwab  <schwab@redhat.com>
35951         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35952         tmpbuf.
35954 2011-06-10  Roland McGrath  <roland@hack.frob.com>
35956         * Makerules (shlib.lds): Fail if the linker script comes out empty.
35957         * elf/Makefile ($(objpfx)ld.so): Likewise.
35959         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35960         Don't list ld.so twice in dependencies.
35962         * posix/bug-regex31.c: Include <stdlib.h>.
35964         * nscd/hstcache.c (cache_addhst): Remove unused variable.
35966         * nis/nss_compat/compat-spwd.c
35967         (getspent_next_nss_netgr): Remove unused variable.
35968         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35970         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35971         nonmembers" output to use the right array.
35973         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35975         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35977         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35978         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35979         * catgets/gencat.c (read_input_file): Likewise.
35980         * locale/programs/locarchive.c (enlarge_archive): Likewise.
35982         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35983         variable definition inside #if's controlling its use.
35985         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35987         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35989         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35991         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35992         unreachable code.
35994         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35996         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35997         * configure: Regenerated.
35999         * Makerules: Revert last change.
36000         * elf/Makefile: Likewise.
36002 2011-06-09  Roland McGrath  <roland@hack.frob.com>
36004         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
36005         * elf/Makefile ($(objpfx)librtld.os): Likewise.
36006         (reloc-link): Likewise.
36008 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
36010         * elf/Makefile: Add rules to build pldd.
36011         * elf/pldd.c: New file.
36012         * elf/pldd-xx.c: New file.
36014 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
36016         * version.h: Update for 2.15 development version.
36018 2011-06-07  David S. Miller  <davem@davemloft.net>
36020         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
36021         ifuncs.
36022         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
36023         elf_machine_lazy_rel): Likewise.
36024         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
36025         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
36026         elf_machine_lazy_rel): Likewise.
36027         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
36028         dl_hwcap via passed in argument.
36029         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
36030         Likewise.
36032 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36034         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
36036 2011-06-06  Roland McGrath  <roland@hack.frob.com>
36038         [BZ #12849]
36039         * manual/fdl-1.1.texi: New file, verbatim from:
36040         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
36041         * manual/lgpl-2.1.texi: New file, verbatim from:
36042         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
36043         * manual/Makefile (licenses): New variable, list those new file names.
36044         (texis): Use it.
36045         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
36047         * manual/fdl.texi: File removed.
36048         * manual/lesser.texi: File removed.
36049         * manual/libc.texinfo (Copying, Documentation License):
36050         Use new @include file names, put @appendix directive before @include.
36052 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
36054         [BZ #12841]
36055         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
36056         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
36057         (mq_open): Add __NTH.
36059 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
36061         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36062         Assume Intel Core i3/i5/i7 processor if AVX is available.
36064 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
36066         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36067         typo.
36069 2011-05-31  Andreas Schwab  <schwab@redhat.com>
36071         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
36072         memory.  Use alloca_account.  Fix memory leak when retrying.
36074 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
36076         * version.h (RELEASE): Bump for 2.14 release.
36077         * include/features.h (__GLIBC_MINOR__): Bump to 14.
36079         * config.make.in (RANLIB): Remove entry.
36081 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
36083         * po/Makefile (po-sed-cmd): Add ksh to extensions.
36084         (libc.pot): Work around missing support for .ksh extension in xgettext.
36086         [BZ #12684]
36087         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
36088         if both request failed.
36089         (send_dg): In case of server errors clear resplen or *resplen2.
36091         [BZ #12454]
36092         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
36093         when there are multiple maps.
36094         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
36095         (_dl_fini): Remove test here.
36097         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
36099 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
36101         [BZ #12350]
36102         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
36103         bit from old_res_options.
36104         (gaih_inet): Likewise.
36106         [BZ #11099]
36107         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
36108         as signed.
36110         * resolv/res_init.c (res_setoptions): Make the code more compact.
36112         [BZ #11558]
36113         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
36114         set RES_USEVC.
36116         [BZ #11634]
36117         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
36119         * malloc/malloc.h: Mark malloc hook variables as deprecated.
36121         [BZ #11781]
36122         * malloc/malloc.h: Declare malloc hook variables as volatile.
36124         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
36125         in last patch.
36127         [BZ #11799]
36128         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
36129         raise in the comment.
36130         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36131         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36132         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
36134 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
36136         [BZ #12811]
36137         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
36138         grow the buffers more if it already has to be sufficient.
36139         (build_wcs_upper_buffer): Likewise.
36140         * posix/regexec.c (check_matching): Likewise.
36141         (clean_state_log_if_needed): Likewise.
36142         (extend_buffers): Don't enlarge buffers beyond size of the input
36143         buffer.
36144         Patches mostly by Emil Wojak <emil@wojak.eu>.
36145         * posix/bug-regex32.c: New file.
36146         * posix/Makefile (tests): Add bug-regex32.
36148         * locale/findlocale.c (_nl_find_locale): Return right away if
36149         _nl_explode_name failed.
36150         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
36152         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
36154         * debug/xtrace.sh: Unify messages.
36155         * malloc/memusage.sh: Likewise.
36157         [BZ #12813]
36158         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
36159         time symbol from vDSO.  Substitute with vsyscall if not available.
36160         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
36161         __vdso_time.
36163         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
36164         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
36165         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
36166         Add sendmmsg and internal_sendmmsg.
36167         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
36168         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
36169         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
36171         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
36172         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
36173         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
36175 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
36177         [BZ #12813]
36178         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
36179         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
36180         available.
36181         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
36182         __vdso_getcpu.
36184         [BZ #12814]
36185         * iconvdata/Makefile (tests): Add bug-iconv9.
36186         * iconvdata/bug-iconv9.c: New file.
36188 2011-05-27  Andreas Schwab  <schwab@redhat.com>
36190         [BZ #12814]
36191         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
36193 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
36195         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36196         (struct user_regs_struct): Change intcs field back to cs.
36198 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
36200         * po/ja.po: Update from translation team.
36202 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
36204         [BZ #12795]
36205         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
36206         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
36208 2011-05-20  Andreas Schwab  <schwab@redhat.com>
36210         * stdlib/longlong.h: Update from GCC.
36212 2011-05-23  Andreas Schwab  <schwab@redhat.com>
36214         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
36215         parameter name.
36216         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
36217         Add parameter name.
36218         (__sysconf): Pass it down.
36220 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
36222         [BZ #12671]
36223         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
36224         some situations.
36225         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36226         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
36227         add in in __libc_use_alloca calls.  Adjust callers.
36228         (glob): Use malloc in some situations.
36230         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
36231         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
36232         pltexit.
36234 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
36236         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
36237         and CLOCK_BOOTTIME_ALARM.
36239         [BZ #12782]
36240         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
36241         is returned.
36243         * string/_strerror.c (__strerror_r): Print negative errors as signed
36244         numbers.
36246         [BZ #12777]
36247         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
36248         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
36249         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
36251         * configure.in: Fix typo in redirection and correct removal of test
36252         files in two cases.
36254         [BZ #12788]
36255         * locale/setlocale.c (new_composite_name): Fix test to check for
36256         identical name of all categories.
36258         [BZ #12792]
36259         * libio/filedoalloc.c (local_isatty): New function.
36260         (_IO_file_doallocate): Use local_isatty.
36261         * stdio-common/perror.c (perror): In case a new stream is used
36262         forward the stream error.
36263         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
36264         error flag.
36266 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
36268         [BZ #11869]
36269         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
36270         alloca.
36271         * include/alloca.h (extend_alloca_account): Define.
36273         [BZ #11857]
36274         * posix/regex.h: Fix comments with documentation of user-accessible
36275         fields after compilation and describe correct free'ing of pattern
36276         after re_compile_pattern.
36277         Patch by Reuben Thomas <rrt@sc3d.org>.
36279 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
36281         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
36282         and -mno-altivec to prevent the compiler from using Altivec and/or
36283         VSX instructions when the corresponding registers are not available.
36285 2011-05-19  Andreas Schwab  <schwab@redhat.com>
36287         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
36289 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
36291         * libio/freopen.c (freopen): Use __dup2, not dup2.
36292         * libio/freopen64.c (freopen64): Likewise.
36294 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
36296         [BZ #12775]
36297         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
36298         * math/Makefile (tests): Add test-powl.
36299         (CFLAGS-test-powl.c): Define.
36300         * math/test-powl.c: New file.
36302 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36304         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
36306 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
36308         [BZ #11837]
36309         * iconvdata/gb18030.c: Update to GB18020-2005.
36311 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
36313         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
36314         RE_SYNTAX_POSIX_AWK): Update to match recent development.
36315         Patch by Aharon Robbins <arnold@skeeve.com>.
36317         [BZ #11892]
36318         * stdlib/putenv.c (putenv): Don't always create copy of the variable
36319         on the stack.
36321         [BZ #11895]
36322         * misc/pselect.c (__pselect): Handle timeout value errors hidden
36323         through underflows.
36325         [BZ #12766]
36326         * misc/error.c (error_at_line): Ensure file_name and old_file_name
36327         point to strings before performing equality test for error_one_per_line
36328         mode.
36330         [BZ #11697]
36331         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
36333         [BZ #11820]
36334         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36335         (struct user_fpregs_struct): Avoid __uint*_t types.
36337         [BZ #6420]
36338         * malloc/mtrace.c (tr_where): Add additional parameter to point to
36339         symbol info.  Use it instead of calling _dl_addr locally.
36340         (lock_and_info): New function.
36341         (tr_freehook): Call lock_and_info and pass symbol info as additional
36342         parameter to tr_where.
36343         (tr_mallochook): Likewise.
36344         (tr_reallochook): Likewise.
36345         (tr_memalignhook): Likewise.
36347         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
36348         used and couldn't be at all thread-safe.
36350 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
36352         * libio/freopen.c (freopen): Don't close old file descriptor
36353         before the new one is opened.  Instead dup the new file descriptor
36354         to the old one after the new stream is created.
36355         * libio/freopen64.c (freopen64): Likewise.
36356         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
36357         * libio/fileops.c (_IO_new_file_close_it): Handle new
36358         _IO_FLAGS2_NOCLOSE flag.
36359         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
36360         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
36361         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
36362         _IO_FLAGS2_NOCLOSE flag.
36363         * include/unistd.h: Add hidden_proto for dup3.
36364         Define __have_dup3.
36365         * io/dup3.c: Define hidden symbol.
36366         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
36368         [BZ #7101]
36369         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
36370         when an incomplete long option is used.
36371         * posix/tst-getopt_long1.c: New file.
36372         * posix/Makefile (tests): Add tst-getopt_long1.
36374         [BZ #10138]
36375         * scripts/config.guess: Update from autoconf-2.68.
36376         * scripts/config.sub: Likewise.
36378         [BZ #10157]
36379         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
36380         tests into ...
36381         (has_cpuclock): ...this.  New function.
36382         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
36383         macro here based on has_cpuclock code.
36385         [BZ #10149]
36386         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36387         First byte (not low byte) is now always NUL.
36388         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
36390         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36391         Use non-cancelable interfaces.
36393         [BZ #9809]
36394         * locale/iso-639.def: Add entry for Sorani.
36396         [BZ #11901]
36397         * include/stdlib.h: Move include protection to the right place.
36398         Define abort_msg_s.  Declare __abort_msg with it.
36399         * stdlib/abort.c (__abort_msg): Adjust type.
36400         * assert/assert.c (__assert_fail_base): New function.  Majority
36401         of code from __assert_fail.  Allocate memory for __abort_msg with
36402         mmap.
36403         (__assert_fail): Now call __assert_fail_base.
36404         * assert/assert-perr.c: Remove bulk of implementation.  Use
36405         __assert_fail_base.
36406         * include/assert.hL Declare __assert_fail_base.
36407         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
36408         mmap.
36409         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
36411 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
36413         [BZ #11952]
36414         [BZ #12453]
36415         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
36416         until all modules are registered in the DTV.
36417         * elf/Makefile: Add rules to build and run tst-tls19.
36418         * elf/tst-tls19.c: New file.
36419         * elf/tst-tls19mod1.c: New file.
36420         * elf/tst-tls19mod2.c: New file.
36421         * elf/tst-tls19mod3.c: New file.
36422         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
36424         [BZ #12083]
36425         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
36426         correctly.
36428         [BZ #12601]
36429         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
36430         two-byte sequence errors.
36431         * iconvdata/Makefile (tests): Add bug-iconv8.
36432         * iconvdata/bug-iconv8.c: New file.
36434         [BZ #12626]
36435         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
36436         buf2 definition.
36438         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
36440         [BZ #12432]
36441         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
36442         (dummy_getcfa): New function.
36443         (init): Get _Unwind_GetCFA address, use dummy if not found.
36444         (backtrace_helper): In recursion check, also check whether CFA changes.
36445         (__backtrace): Completely initialize arg.
36447         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
36448         storing incomplete byte sequence in state object.  Avoid testing for
36449         guaranteed too small input if we know there is enough data available.
36451 2011-05-11  Andreas Schwab  <schwab@redhat.com>
36453         * Makeconfig (+link-pie): Indent.
36454         * Rules (binaries-pie): Define if $(have-fpie) and
36455         $(build-shared).
36456         (binaries-shared): Also filter out $(binaries-pie).
36457         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
36458         * nscd/Makefile (others-pie): Add nscd.
36459         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
36460         ($(objpfx)nscd): Remove command override.
36461         * login/Makefile (others-pie): Add pt_chown.
36462         ($(objpfx)pt_chown): Remove command override.
36463         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
36464         remove command overrides.
36466 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
36468         * libio/tst_putwc.c: Fix error messages.
36470         [BZ #12724]
36471         * libio/fileops.c (_IO_new_file_close_it): Always flush when
36472         currently writing and seek to current position when not.
36473         * libio/Makefile (tests): Add bug-fclose1.
36474         * libio/bug-fclose1.c: New file.
36476 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
36478         [BZ #12511]
36479         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
36480         don't set DF_1_NODELETE here.
36481         (do_lookup_x): When entering new entry test for copy relocation
36482         and if necessary set DF_1_NODELETE flag.
36483         * elf/tst-unique4.cc: New file.
36484         * elf/tst-unique4.h: New file.
36485         * elf/tst-unique4lib.cc: New file.
36486         * elf/Makefile: Add rules to build and run tst-unique4.
36487         Patch by Piotr Bury <pbury@goahead.com>.
36489 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
36491         [BZ #12052]
36492         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
36494         [BZ #12625]
36495         * misc/mntent_r.c (addmntent): Flush the stream after the output
36497         [BZ #12393]
36498         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
36499         (is_trusted_path_normalize): Skip initial colon.  Append slash
36500         to empty buffer.  Duplicate is_trusted_path code but allow
36501         constructed patch to be prefix.
36502         (is_dst): Allow $ORIGIN followed by /.
36503         (_dl_dst_substitute): Correct clearing of check_for_trusted.
36504         Correct testing of result of is_trusted_path_normalize
36505         (decompose_rpath): Fix warning.
36507 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
36509         [BZ #11257]
36510         * grp/initgroups.c (internal_getgrouplist): When we found the service
36511         list through the initgroups entry in nsswitch.conf do not always
36512         continue on a successful lookup.  Don't always use the
36513         __nss_group_database value if it is set.
36514         * nss/nsswitch.conf (initgroups): Change action for successful db
36515         lookup to continue for compatibility.
36517 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
36519         [BZ #11532]
36520         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
36521         and CP774 modules.
36522         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
36523         and CP774 modules.
36524         * iconvdata/tst-tables.sh: Likewise.
36525         * iconvdata/cp770.c: New file.
36526         * iconvdata/cp771.c: New file.
36527         * iconvdata/cp772.c: New file.
36528         * iconvdata/cp773.c: New file.
36529         * iconvdata/cp774.c: New file.
36530         * iconvdata/testdata/CP770: New file.
36531         * iconvdata/testdata/CP770..UTF8: New file.
36532         * iconvdata/testdata/CP771: New file.
36533         * iconvdata/testdata/CP771..UTF8: New file.
36534         * iconvdata/testdata/CP772: New file.
36535         * iconvdata/testdata/CP772..UTF8: New file.
36536         * iconvdata/testdata/CP773: New file.
36537         * iconvdata/testdata/CP773..UTF8: New file.
36538         * iconvdata/testdata/CP774: New file.
36539         * iconvdata/testdata/CP774..UTF8: New file.
36541         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
36542         END CHARMAP line.
36543         * iconvdata/gen-8bit-gap.sh: Likewise.
36544         * iconvdata/gen-8bit.sh: Likewise.
36546         * locale/iso-639.def: Add ary entry.
36548         [BZ #11258]
36549         * locale/C-translit.h.in: Add U20A1 transliteration.
36551         [BZ #12178]
36552         * locale/iso-639.def: Add wae entry.
36553         Patch by Kevin Bortis <bortis@translate-wae.ch>.
36555         [BZ #12545]
36556         * locale/programs/localedef.c (construct_output_path): Use ssize_t
36557         for n.
36559         [BZ #12711]
36560         * locale/C-translit.h.in: Add entry for U20B9.
36561         Patch by pravin.d.s@gmail.com.
36563 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
36565         [BZ #12713]
36566         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
36567         ENAMETOOLONG use generic getcwd.
36568         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
36569         in rtld.  Use *stat64.
36570         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
36571         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
36572         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
36573         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
36574         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
36575         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
36576         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
36577         __fstatat64 macros.
36578         * include/dirent.h: Add libc_hidden_proto for rewinddir.
36579         * dirent/rewinddir.c: Add libc_hidden_def.
36580         * sysdeps/mach/hurd/rewinddir.c: Likewise.
36581         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
36583         * include/dirent.h (__alloc_dir): Add flags parameter.
36584         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
36585         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
36586         __alloc_dir.
36587         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
36588         from fdopendir if O_CLOEXEC is already set.
36590 2011-03-15  Alan Modra  <amodra@gmail.com>
36592         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
36593         l_tls_firstbyte_offset non-zero.  Save padding offset in
36594         l_tls_firstbyte_offset for later use.
36595         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
36596         freeing static tls block.
36598 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
36600         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
36601         where #ifdef was intended.  The intent is to prevent ARG_MAX from
36602         being defined by the kernel headers.
36604 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
36606         [BZ #12734]
36607         * resolv/resolv.h: Define RES_NOTLDQUERY.
36608         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
36609         no-tld-query and set RES_NOTLDQUERY.
36610         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
36611         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
36612         modern BIND to search name as TLD unless forbidden.
36614 2011-05-07  Petr Baudis  <pasky@suse.cz>
36615             Ulrich Drepper  <drepper@gmail.com>
36617         [BZ #12393]
36618         * elf/dl-load.c (fillin_rpath): Move trusted path check...
36619         (is_trusted_path): ...to here.
36620         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
36621         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
36622         using is_trusted_path_normalize() in setuid scripts.
36624 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
36626         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
36627         __BEGIN/__END_DECLS.
36629 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
36631         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
36632         NSS_STATUS_NOTFOUND if no record was found.
36634 2011-05-05  Andreas Schwab  <schwab@redhat.com>
36636         * sunrpc/Makefile (headers): Add rpc/netdb.h.
36637         (headers-not-in-tirpc): Remove rpc/netdb.h
36638         * resolv/netdb.h: Revert last change.
36640 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
36642         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
36643         circular dependency between libgcc.a and libc.a.
36645 2011-05-05  Andreas Schwab  <schwab@redhat.com>
36647         * resolv/netdb.h: Don't include <rpc/netdb.h>.
36648         * nis/Makefile: Don't install rpcsvc/*.
36649         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
36650         instead of <rpc/types.h>.
36651         (MAXHOSTNAMELEN): Define.
36653 2011-05-03  Andreas Schwab  <schwab@redhat.com>
36655         * elf/ldconfig.c (add_dir): Don't crash on empty path.
36657 2011-04-28  Maciej Babinski  <mbabinski@google.com>
36659         [BZ #12714]
36660         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
36661         gethostbyname4_r when IPv6 results are possible.
36663 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
36665         [BZ #12723]
36666         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
36667         _PC_PIPE_BUF handling.
36669 2011-04-30  Bruno Haible  <bruno@clisp.org>
36671         [BZ #12717]
36672         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
36673         * resolv/netdb.h (getnameinfo): Change type of flags parameter
36674         to 'int'.
36675         * inet/getnameinfo.c (getnameinfo): Likewise.
36677 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
36679         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
36680         to groups setting in database lookup.
36681         * nss/nsswitch.conf: Add initgroups entry.
36683 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
36685         [BZ #12685]
36686         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
36687         mode string.
36688         Patch by Eric Blake <eblake@redhat.com>.
36690 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
36692         * sunrpc/Makefile (need-export-routines): Add svc_run.
36693         (routines): Remove svc_run.
36694         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
36695         * sunrpc/clnt_perr.c (clnt_perrno): Export.
36696         * sunrpc/svc_run.c (svc_run): Likewise.
36697         * sunrpc/svc_udp.c (svcudp_create): Likewise.
36699 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
36701         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
36702         problem in reallocation in last patch.
36704 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
36706         * sunrpc/Makefile: Move inclusion of Rules.
36708 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
36710         * nss/nss_files/files-initgroups.c: New file.
36711         * nss/Makefile (libnss_files-routines): Add files-initgroups.
36712         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
36713         _nss_files_initgroups_dyn.
36715 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
36717         * elf/elf.h (R_ARM_IRELATIVE): Define.
36719 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
36721         * po/ru.po: Update from translation team.
36723 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
36725         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
36726         dependencies.
36728 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
36730         [BZ #12653]
36731         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
36732         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
36733         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36734         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36735         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36737 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
36739         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36740         differing bytes.
36741         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36742         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36743         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36745 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
36747         [BZ #12420]
36748         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36749         storing it.
36750         * stdlib/bug-getcontext.c: New file.
36751         * stdlib/Makefile: Add rules to build and run bug-getcontext.
36753 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36755         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36756         instructions into .machine "z9-109".
36757         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36758         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36760 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36762         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36763         between environment variables and auxiliary vector.
36765 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
36767         * Makefile: Add rules to build linkobj/libc.so.
36768         * include/libc-symbols.h: Define libc_hidden_nolink.
36769         * include/rpc/auth.h: Mark functions which are to be hidden.
36770         * include/rpc/auth_des.h: Likewise.
36771         * include/rpc/auth_unix.h: Likewise.
36772         * include/rpc/clnt.h: Likewise.
36773         * include/rpc/des_crypt.h: Likewise.
36774         * include/rpc/key_prot.h: Likewise.
36775         * include/rpc/pmap_clnt.h: Likewise.
36776         * include/rpc/pmap_prot.h: Likewise.
36777         * include/rpc/pmap_rmt.h: Likewise.
36778         * include/rpc/rpc_msg.h: Likewise.
36779         * include/rpc/svc.h: Likewise.
36780         * include/rpc/svc_auth.h: Likewise.
36781         * include/rpc/xdr.h: Likewise.
36782         * nis/Makefile: Link all DSOs against linkobj/libc.so.
36783         * nss/Makefile: Likewise.
36784         * sunrpc/Makefile: Don't install headers.  Build library with normal
36785         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
36786         * sunrpc/auth_des.c: Hide exported symbols by default, export some
36787         for the compat linking library.  Remove use of INTDEF/INTUSE.
36788         * sunrpc/auth_none.c: Likewise.
36789         * sunrpc/auth_unix.c: Likewise.
36790         * sunrpc/authdes_prot.c: Likewise.
36791         * sunrpc/authuxprot.c: Likewise.
36792         * sunrpc/clnt_gen.c: Likewise.
36793         * sunrpc/clnt_perr.c: Likewise.
36794         * sunrpc/clnt_raw.c: Likewise.
36795         * sunrpc/clnt_simp.c: Likewise.
36796         * sunrpc/clnt_tcp.c: Likewise.
36797         * sunrpc/clnt_udp.c: Likewise.
36798         * sunrpc/clnt_unix.c: Likewise.
36799         * sunrpc/des_crypt.c: Likewise.
36800         * sunrpc/des_soft.c: Likewise.
36801         * sunrpc/get_myaddr.c: Likewise.
36802         * sunrpc/key_call.c: Likewise.
36803         * sunrpc/key_prot.c: Likewise.
36804         * sunrpc/netname.c: Likewise.
36805         * sunrpc/pm_getmaps.c: Likewise.
36806         * sunrpc/pm_getport.c: Likewise.
36807         * sunrpc/pmap_clnt.c: Likewise.
36808         * sunrpc/pmap_prot.c: Likewise.
36809         * sunrpc/pmap_prot2.c: Likewise.
36810         * sunrpc/pmap_rmt.c: Likewise.
36811         * sunrpc/publickey.c: Likewise.
36812         * sunrpc/rpc_cmsg.c: Likewise.
36813         * sunrpc/rpc_common.c: Likewise.
36814         * sunrpc/rpc_dtable.c: Likewise.
36815         * sunrpc/rpc_prot.c: Likewise.
36816         * sunrpc/rpc_thread.c: Likewise.
36817         * sunrpc/rtime.c: Likewise.
36818         * sunrpc/svc.c: Likewise.
36819         * sunrpc/svc_auth.c: Likewise.
36820         * sunrpc/svc_authux.c: Likewise.
36821         * sunrpc/svc_raw.c: Likewise.
36822         * sunrpc/svc_run.c: Likewise.
36823         * sunrpc/svc_simple.c: Likewise.
36824         * sunrpc/svc_tcp.c: Likewise.
36825         * sunrpc/svc_udp.c: Likewise.
36826         * sunrpc/svc_unix.c: Likewise.
36827         * sunrpc/svcauth_des.c: Likewise.
36828         * sunrpc/xcrypt.c: Likewise.
36829         * sunrpc/xdr.c: Likewise.
36830         * sunrpc/xdr_array.c: Likewise.
36831         * sunrpc/xdr_float.c: Likewise.
36832         * sunrpc/xdr_intXX_t.c: Likewise.
36833         * sunrpc/xdr_mem.c: Likewise.
36834         * sunrpc/xdr_rec.c: Likewise.
36835         * sunrpc/xdr_ref.c: Likewise.
36836         * sunrpc/xdr_sizeof.c: Likewise.
36837         * sunrpc/xdr_stdio.c: Likewise.
36839 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
36841         [BZ #12650]
36842         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36843         * sysdeps/ia64/dl-tls.h: Likewise.
36844         * sysdeps/powerpc/dl-tls.h: Likewise.
36845         * sysdeps/s390/dl-tls.h: Likewise.
36846         * sysdeps/sh/dl-tls.h: Likewise.
36847         * sysdeps/sparc/dl-tls.h: Likewise.
36848         * sysdeps/x86_64/dl-tls.h: Likewise.
36849         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36851 2011-03-14  Andreas Schwab  <schwab@redhat.com>
36853         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36854         rpath element also skip the following colon.
36855         (expand_dynamic_string_token): Add is_path parameter and pass
36856         down to DL_DST_REQUIRED and _dl_dst_substitute.
36857         (decompose_rpath): Call expand_dynamic_string_token with
36858         non-zero is_path.  Ignore empty rpaths.
36859         (_dl_map_object_from_fd): Call expand_dynamic_string_token
36860         with zero is_path.
36862 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
36864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36865         Make cancelable.
36867 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
36869         [BZ #12655]
36870         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36871         Patch by Filipe David Manana <fdmanana@apache.org>.
36873 2011-04-07  Andreas Schwab  <schwab@redhat.com>
36875         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36876         Maintain aligned stack.
36877         (CHECK_RSP): Remove unused macro.
36879 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
36881         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36882         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36884 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
36886         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36888         * include/features.h: Mention __USE_XOPEN2K8 in comment.
36890 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
36892         [BZ #12518]
36893         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36894         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36895         * sysdeps/x86_64/memmove.c: New file.
36896         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36897         (memcpy): Renamed to ...
36898         (__new_memcpy): This.
36899         (memcpy): Provide GLIBC_2_14 memcpy.
36900         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36901         (memcpy): Provide GLIBC_2_2_5 memcpy.
36903 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36905         [BZ #12631]
36906         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36908 2011-03-30  Andreas Schwab  <schwab@redhat.com>
36910         * misc/syncfs.c: New file.
36911         * misc/Makefile (routines): Add syncfs.
36912         * posix/unistd.h: Declare syncfs.
36913         * sysdeps/unix/syscalls.list: Add syncfs.
36915 2011-04-01  Andreas Schwab  <schwab@redhat.com>
36917         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36918         open_by_handle_at.
36919         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36920         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36921         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36922         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36923         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36924         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36925         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36927 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36929         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36930         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36931         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36932         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36933         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36934         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36935         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36937         * io/Makefile: Compile fallocate.c, fallocate64.c, and
36938         sync_file_range.c with -fexceptions.
36939         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36940         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36941         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36942         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36943         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36944         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36945         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
36946         sync_file_range as cancellation point
36947         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
36948         now a wrapper around __call_sync_file_range with cancellation handling.
36949         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36950         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
36951         function name to __call_sync_file_range.
36952         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36953         Add call_sync_file_range.
36955 2011-04-01  Andreas Schwab  <schwab@redhat.com>
36957         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36958         bits/timex.h.
36960 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36962         * iconv/iconv.h: Fix typo in comment.
36963         * io/fcntl.h: Likewise.
36964         * libio/stdio.h: Likewise.
36965         * posix/spawn.h: Likewise.
36966         * posix/unistd.h: Likewise.
36967         * stdlib/stdlib.h: Likewise.
36968         * time/time.h: Likewise.
36969         * wcsmbs/wchar.h: Likewise.
36971         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36972         open_by_handle): Add.
36973         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36974         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
36975         Augment a few comments.
36976         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36977         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36978         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36979         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36980         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36981         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36982         open_by_handle.
36984         * io/fcntl.h (AT_EMPTY_PATH): Define.
36986 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
36988         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36989         * sysdeps/unix/sysv/linux/bits/time.h: New file.
36990         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36991         to...
36992         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
36993         * Versions.def: Add GLIBC_2.14.
36994         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36995         Export.
36997 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
36999         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
37000         round counter.
37001         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
37003 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37005         [BZ #12597]
37006         * string/test-strncmp.c (do_page_test): New function.
37007         (check2): Likewise.
37008         (test_main): Call check2.
37009         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
37011 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
37013         [BZ #12587]
37014         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
37015         Handle cache information in CPU leaf 4.
37016         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
37018 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
37020         [BZ #12583]
37021         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
37022         character representation.
37023         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
37025 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
37027         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
37028         END(__isnan) to END(__isnanf) to match function entry point/label
37029         EALIGN(__isnanf,...).
37031 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
37033         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
37035 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
37037         [BZ #12510]
37038         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
37039         copy from the symbol referenced in the relocation to initialize the
37040         used variable.
37041         Patch by Piotr Bury <pbury@goahead.com>.
37042         * elf/Makefile: Add rules to build and tst-unique3.
37043         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
37044         * elf/tst-unique3.cc: New file.
37045         * elf/tst-unique3.h: New file.
37046         * elf/tst-unique3lib.cc: New file.
37047         * elf/tst-unique3lib2.cc: New file.
37049         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
37051 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
37053         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
37054         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
37055         to _start.
37057 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
37059         * elf/dl-load.c (_dl_map_object): If we are looking for the first
37060         to-be-loaded object along a path to loader is ld.so.
37062 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
37063             Ulrich Drepper  <drepper@gmail.com>
37065         * sysdeps/x86_64/memset.S: After aligning destination, code
37066         branches to different locations depending on the value of
37067         misalignment, when multiarch is enabled. Fix this.
37069 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
37071         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
37072         Set _x86_64_preferred_memory_instruction for AMD processsors.
37073         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37074         Set bit_Prefer_SSE_for_memop for AMD processors.
37076 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
37078         * libio/fmemopen.c (fmemopen): Optimize a bit.
37080 2011-03-03  Andreas Schwab  <schwab@redhat.com>
37082         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
37084 2011-03-03  Roland McGrath  <roland@redhat.com>
37086         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
37088 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
37090         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
37091         __bzero_ultra1 instead of __memset_ultra1.
37093 2011-02-23  Andreas Schwab  <schwab@redhat.com>
37094             Ulrich Drepper  <drepper@gmail.com>
37096         [BZ #12509]
37097         * include/link.h (struct link_map): Add l_orig_initfini.
37098         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
37099         returning unsuccessfully.
37100         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
37101         close of a file loaded at startup, restore the original l_initfini
37102         list.
37103         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
37104         list, store the pointer.
37105         * elf/Makefile ($(objpfx)noload-mem): New rule.
37106         (noload-ENV): Define.
37107         (tests): Add $(objpfx)noload-mem.
37108         * elf/noload.c: Include <memcheck.h>.
37109         (main): Call mtrace.  Close all opened handles.
37111 2011-02-17  Andreas Schwab  <schwab@redhat.com>
37113         [BZ #12454]
37114         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
37115         dependencies are missing.
37117 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37119         Fix __if_freereq crash: Unlike the generic version which uses free,
37120         Hurd needs munmap.
37121         * sysdeps/mach/hurd/ifreq.h: New file.
37123 2011-01-27  Petr Baudis  <pasky@suse.cz>
37124             Ulrich Drepper  <drepper@gmail.com>
37126         [BZ 12445]#
37127         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
37128         to extend_alloca().
37129         * stdio-common/bug23.c: New file.
37130         * stdio-common/Makefile (tests): Add bug23.
37132 2010-09-28  Andreas Schwab  <schwab@redhat.com>
37133             Ulrich Drepper  <drepper@gmail.com>
37135         [BZ #12489]
37136         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
37137         before performing relro protection.  At old place add assertion
37138         to make sure nothing changed.
37140 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
37141             Glauber de Oliveira Costa  <glommer@gmail.com>
37143         * elf/elf.h: Add new ARM TLS relocs.
37145 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
37147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37148         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
37149         cast from r3.
37150         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
37151         'tests' variable.
37152         * sysdeps/wordsize-64/tst-writev.c: New file.
37154 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
37156         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
37157         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
37158         insns in _dl_start to prevent a TOC reference before relocs are
37159         resolved.
37161 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
37163         [BZ #12469]
37164         * Makeconfig: Remove RANLIB definition.
37165         * Makerules: Don't use RANLIB.
37166         * aclocal.m4: Remove ranlib test.
37167         * configure.in: No need to check for ranlib.
37168         * elf/rtld-Rules: Don't use RANLIB.
37170 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37172         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
37173         protection macro.
37174         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
37175         inclusion protection macro.
37177         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
37178         SIGRTMIN and SIGRTMAX and print information in that case only when
37179         SIGRTMIN is defined.
37181 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
37183         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
37184         arginfo fn returning -1.
37186         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
37187         and thousands string is zero terminated.
37189 2011-02-03  Andreas Schwab  <schwab@redhat.com>
37191         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
37192         sysdeps/unix/sysv/linux/bits/socket.h.
37194 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37196         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
37197         (__CPU_COUNT): Remove old macros.
37198         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
37199         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
37200         (__CPU_ALLOC, __CPU_FREE): Add macros.
37201         (__sched_cpualloc, __sched_cpufree): Add declarations.
37203 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
37205         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
37206         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
37207         * nscd/aicache.c (addhstaiX): Return timeout of added value.
37208         (readdhstai): Return value of addhstaiX call.
37209         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
37210         (addgrbyX): Return value returned by cache_addgr.
37211         (readdgrbyname): Return value returned by addgrbyX.
37212         (readdgrbygid): Likewise.
37213         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
37214         (addpwbyX): Return value returned by cache_addpw.
37215         (readdpwbyname): Return value returned by addhstbyX.
37216         (readdpwbyuid): Likewise.
37217         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
37218         (addservbyX): Return value returned by cache_addserv.
37219         (readdservbyname): Return value returned by addservbyX:
37220         (readdservbyport): Likewise.
37221         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
37222         (addhstbyX): Return value returned by cache_addhst.
37223         (readdhstbyname): Return value returned by addhstbyX.
37224         (readdhstbyaddr): Likewise.
37225         (readdhstbynamev6): Likewise.
37226         (readdhstbyaddrv6): Likewise.
37227         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
37228         (readdinitgroups): Return value returned by addinitgroupsX.
37229         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
37230         (prune_cache): Keep track of timeout value of re-added entries.
37231         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
37232         * nscd/nscd.h: Adjust prototypes of readd* functions.
37234 2011-02-04  Roland McGrath  <roland@redhat.com>
37236         * nis/nis_server.c (nis_servstate): Use the right name for 0.
37237         (nis_stats): Likewise.
37238         * nis/nis_modify.c (nis_modify): Likewise.
37239         * nis/nis_remove.c (nis_remove): Likewise.
37240         * nis/nis_add.c (nis_add): Likewise.
37242         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
37244         * posix/fnmatch_loop.c: Add some consts.
37246         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
37248 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
37250         [BZ #12460]
37251         * config.make.in (config-cflags-novzeroupper): Define.
37252         * configure.in: Substitute libc_cv_cc_novzeroupper.
37253         * elf/Makefile (AVX-CFLAGS): Define.
37254         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
37255         (CFLAGS-tst-auditmod4a.c): Likewise.
37256         (CFLAGS-tst-auditmod4b.c): Likewise.
37257         (CFLAGS-tst-auditmod6b.c): Likewise.
37258         (CFLAGS-tst-auditmod6c.c): Likewise.
37259         (CFLAGS-tst-auditmod7b.c): Likewise.
37260         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
37262 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
37264         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
37265         function to the callback.
37266         Patch partly by Jiri Olsa <jolsa@redhat.com>.
37268 2011-02-02  Andreas Schwab  <schwab@redhat.com>
37270         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
37271         of errno.
37273 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
37275         [BZ #11724]
37276         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
37277         of constructors.
37278         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
37279         of destructors.
37280         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
37282         [BZ #11724]
37283         * elf/Makefile: Add rules to build and run new test.
37284         * elf/tst-initorder.c: New file.
37285         * elf/tst-initorder.exp: New file.
37286         * elf/tst-initordera1.c: New file.
37287         * elf/tst-initordera2.c: New file.
37288         * elf/tst-initordera3.c: New file.
37289         * elf/tst-initordera4.c: New file.
37290         * elf/tst-initorderb1.c: New file.
37291         * elf/tst-initorderb2.c: New file.
37292         * elf/tst-order-a1.c: New file.
37293         * elf/tst-order-a2.c: New file.
37294         * elf/tst-order-a3.c: New file.
37295         * elf/tst-order-a4.c: New file.
37296         * elf/tst-order-b1.c: New file.
37297         * elf/tst-order-b2.c: New file.
37298         * elf/tst-order-main.c: New file.
37299         New test case by George Gensure <werkt0@gmail.com>.
37301 2010-10-01  Andreas Schwab  <schwab@redhat.com>
37303         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
37304         decoding ACE if AI_CANONIDN.
37306 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
37308         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
37310 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
37312         * version.h (RELEASE): Bump for 2.13 release.
37313         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
37315         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
37317         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
37318         MADV_NOHUGEPAGE.
37319         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
37320         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37321         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37322         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37323         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37324         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37326         * posix/getconf.c: Update copyright year.
37327         * catgets/gencat.c: Likewise.
37328         * csu/version.c: Likewise.
37329         * debug/catchsegv.sh: Likewise.
37330         * debug/xtrace.sh: Likewise.
37331         * elf/ldconfig.c: Likewise.
37332         * elf/ldd.bash.in: Likewise.
37333         * elf/sprof.c (print_version): Likewise.
37334         * iconv/iconv_prog.c: Likewise.
37335         * iconv/iconvconfig.c: Likewise.
37336         * locale/programs/locale.c: Likewise.
37337         * locale/programs/localedef.c: Likewise.
37338         * malloc/memusage.sh: Likewise.
37339         * malloc/mtrace.pl: Likewise.
37340         * nscd/nscd.c (print_version): Likewise.
37341         * nss/getent.c: Likewise.
37343         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
37344         PF_CAIF, and PF_ALG.
37345         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37347 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
37349         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
37350         (modules-names): Use them.
37351         (ifunc-test-modules, ifunc-pie-tests): Define.
37352         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
37353         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
37354         (test-extras): Likewise.
37355         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
37356         $(compile-command.c).
37357         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
37358         (all-built-dso): Define.
37359         (check-textrel.out, check-execstack.out): Depend on it.
37361         * configure.in: Don't override --enable-multi-arch.
37363 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
37365         [BZ #6812]
37366         * nscd/hstcache.c (tryagain): Define.
37367         (cache_addhst): Return tryagain not notfound for temporary errors.
37368         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
37369         failed.
37371 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
37373         [BZ #10563]
37374         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
37375         to make the syscall.
37376         * sysdeps/unix/sysv/linux/setgroups.c: New file.
37378         [BZ #12378]
37379         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
37380         and fall back to matching as normal character if the string ends before
37381         the matching ']' is found.  This is what POSIX requires.
37382         * posix/testfnm.c: Adjust test result.
37383         * posix/globtest.sh: Adjust test result.  Add new test.
37384         * posix/tst-fnmatch.input: Likewise.
37385         * posix/tst-fnmatch2.c: Add new test.
37387 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
37389         * elf/Makefile (check-execstack): Revert last change.  Depend on
37390         check-execstack.h.
37391         (check-execstack.h): New target.
37392         (generated): Add check-execstack.h.
37393         * elf/check-execstack.c: Include "check-execstack.h".
37394         (main): Revert last change.
37395         (handle_file): Return zero if GNU_STACK is absent and
37396         DEFAULT_STACK_PERMS doesn't include PF_X.
37398 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
37400         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
37401         in child fails because the descriptor is already closed.
37402         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
37403         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
37404         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
37406         [BZ #12397]
37407         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
37408         syscall.
37410         [BZ #10484]
37411         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
37412         temporary buffer used to handle multi lookups locally.
37413         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
37415 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
37417         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
37418         loader is ld.so.
37420 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
37422         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
37423         alignment for SSE2.
37425 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
37427         [BZ #12394]
37428         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
37429         characters.  When rounding increased number of integer digits recompute
37430         number of groups.
37431         * stdio-common/tst-grouping.c: New file.
37432         * stdio-common/Makefile: Add rules to build and run tst-grouping.
37434 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
37436         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
37437         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
37439         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
37440         void.
37441         * bits/select.h: Likewise.
37443 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
37445         * po/ja.po: Update from translation team.
37447 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
37449         [BZ #11155]
37450         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
37451         implementation just like for lxstat, fxstatat, et al.
37453 2010-12-27  Jim Meyering  <meyering@redhat.com>
37455         [BZ #12348]
37456         * posix/regexec.c (build_trtable): Return failure indication upon
37457         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
37459 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
37461         [BZ #12201]
37462         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
37463         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
37464         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
37465         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
37467         [BZ #12207]
37468         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
37470         [BZ #12204]
37471         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
37472         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
37474 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
37476         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
37477         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
37478         script has SORT_BY_INIT_PRIORITY.
37479         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
37480         NO_CTORS_DTORS_SECTIONS is defined.
37481         * elf/soinit.c: Likewise.
37482         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
37483         NO_CTORS_DTORS_SECTIONS is defined.
37484         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
37485         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
37486         * sysdeps/sh/init-first.c: Likewise.
37487         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
37489 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
37491         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
37492         always use the slow path.
37494 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
37496         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
37497         similar rule which adds the sysdep directories to the header search in
37498         order to pick up the correct platform stackinfo.h.
37499         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
37500         perform test if it is, otherwise return successfully without testing.
37501         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
37502         DEFAULT_STACK_PERMS define in stackinfo.h.
37503         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
37504         defined in stackinfo.h.
37505         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
37506         DEFAULT_STACK_PERMS defined in stackinfo.h.
37507         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
37508         * sysdeps/ia64/stackinfo.h: Likewise.
37509         * sysdeps/s390/stackinfo.h: Likewise.
37510         * sysdeps/sh/stackinfo.h: Likewise.
37511         * sysdeps/sparc/stackinfo.h: Likewise.
37512         * sysdeps/x86_64/stackinfo.h: Likewise.
37513         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
37514         PF_X for powerpc64.  Retain PF_X for powerpc32.
37516 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
37518         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
37519         accurately.
37520         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
37521         GETDENTS_64BIT_ALIGNED.
37523 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
37525         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
37527 2010-12-10  Andreas Schwab  <schwab@redhat.com>
37529         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
37530         _GNU_SOURCE.
37532         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
37533         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
37534         Remove __restrict.
37535         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
37536         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
37538 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
37540         [BZ #11655]
37541         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
37542         are initialized.
37544 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
37546         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
37548 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
37550         * po/it.po: Update from translation team.
37552 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
37554         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
37555         unused codes.
37557 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
37559         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
37561 2010-11-24  Andreas Schwab  <schwab@redhat.com>
37563         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
37564         specially.
37565         (gaih_getanswer_slice): Likewise.
37567 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
37569         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
37571 2010-05-31  Petr Baudis  <pasky@suse.cz>
37573         [BZ #11149]
37574         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
37575         silently even in the chroot mode.
37577 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
37579         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
37580         last patch a bit.  Pretty printing
37582 2010-05-31  Petr Baudis <pasky@suse.cz>
37584         [BZ #10085]
37585         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
37586         initialization of skip_initgroups_dyn.
37588 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
37590         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
37591         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37593 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
37595         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
37597 2010-11-11  Andreas Schwab  <schwab@redhat.com>
37599         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
37600         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
37601         (tst-fnmatch-ENV): Set MALLOC_TRACE.
37602         ($(objpfx)tst-fnmatch-mem): New rule.
37603         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
37604         * posix/tst-fnmatch.c (main): Call mtrace.
37606 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
37608         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37609         Support Intel processor model 6 and model 0x2c.
37611 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
37613         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
37614           signed comparison.
37616 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
37618         [BZ #12205]
37619         * string/test-strncasecmp.c (check_result): New function.
37620         (do_one_test): Use it.
37621         (check1): New function.
37622         (test_main): Use it.
37623         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
37624         Support strcasecmp and strncasecmp.
37626 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
37628         [BZ #12194]
37629         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
37630         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37632 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
37634         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
37635         IFUNC support.
37636         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37637         memset-x86-64.
37638         * sysdeps/x86_64/multiarch/bzero.S: New file.
37639         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
37640         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
37641         * sysdeps/x86_64/multiarch/memset.S: New file.
37642         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
37643         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37644         Set bit_Prefer_SSE_for_memop for Intel processors.
37645         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
37646         Define.
37647         (index_Prefer_SSE_for_memop): Define.
37648         (HAS_PREFER_SSE_FOR_MEMOP): Define.
37650 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
37652         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
37653         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
37655 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
37657         [BZ #12191]
37658         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37659         (__x86_64_raw_data_cache_size_half): Likewise.
37660         (__x86_64_raw_shared_cache_size): Likewise.
37661         (__x86_64_raw_shared_cache_size_half): Likewise.
37663         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37664         (__x86_64_raw_data_cache_size_half): Likewise.
37665         (__x86_64_raw_shared_cache_size): Likewise.
37666         (__x86_64_raw_shared_cache_size_half): Likewise.
37667         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
37668         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
37669         and __x86_64_raw_shared_cache_size_half.  Round
37670         __x86_64_data_cache_size_half, __x86_64_data_cache_size
37671         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
37672         to multiple of 256 bytes.
37674 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
37676         [BZ #12167]
37677         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
37678         of inacessible symlinks.  Verify result of symlink before returning it.
37679         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37680         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
37682 2010-10-28  Erich Ritz  <erichritz@gmail.com>
37684         * math/math.h (isinf): Fix typo in comment.
37686 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
37688         * po/da.po: Update from translation team.
37690 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
37692         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
37693         is added to the list.
37695 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37696             Ulrich Drepper  <drepper@gmail.com>
37698         * elf/dl-object.c (_dl_new_object): Don't append the new object to
37699         the global list here.  Move code to...
37700         (_dl_add_to_namespace_list): ...here.  New function.
37701         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
37702         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
37703         * elf/dl-load.c (lose): Don't remove the element from the list.
37704         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
37705         (_dl_map_object): Likewise.
37707 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
37709         [BZ #12159]
37710         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
37711         into all bytes of SSE register.
37712         Patch by Richard Li <richardpku@gmail.com>.
37714 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
37716         [BZ #12140]
37717         * malloc/malloc.c (_int_free): Fill correct number of bytes when
37718         perturbing.
37720 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
37722         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
37723         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
37724         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
37725         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
37727         submachine.
37728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
37730 2010-10-22  Andreas Schwab  <schwab@redhat.com>
37732         * include/dlfcn.h (__RTLD_SECURE): Define.
37733         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
37734         mode & __RTLD_SECURE instead.
37735         (open_path): Rename preloaded parameter to secure.
37736         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
37737         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
37738         * elf/dl-deps.c (openaux): Likewise.
37739         * elf/rtld.c (struct map_args): Remove is_preloaded.
37740         (map_doit): Don't use it.
37741         (dl_main): Likewise.
37742         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37743         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37745 2010-09-09  Andreas Schwab  <schwab@redhat.com>
37747         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37748         (sysd-rules-targets): Remove duplicates.
37749         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37750         rtld-%.$o dependency.
37752 2010-10-18  Andreas Schwab  <schwab@redhat.com>
37754         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37755         _dl_map_object do it.
37757 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
37759         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37760         fast fma builtins, define the macros in the C99 standard.
37761         (FP_FAST_FMAF): Likewise.
37762         (FP_FAST_FMAL): Likewise.
37763         * sysdeps/x86_64/bits/mathdef.h: Likewise.
37765         * bits/mathdef.h: Update copyright year.
37766         * sysdeps/powerpc/bits/mathdef.h: Likewise.
37768 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
37770         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37771         builtins, define the macros in the C99 standard.
37772         (FP_FAST_FMAF): Likewise.
37773         (FP_FAST_FMAL): Likewise.
37774         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37775         multiply/add.
37776         (FP_FAST_FMAF): Likewise.
37778 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
37780         [BZ #3268]
37781         * math/libm-test.inc (fma_test): Some new testcases.
37782         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37783         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37784         y and infinite z.  Do multiplication by C already in long double.
37785         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37786         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37787         y and infinite z.  Do bitwise or of inexact bit into u.d.
37788         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37789         * sysdeps/i386/fpu/s_fmaf.S: Removed.
37790         * sysdeps/i386/fpu/s_fma.S: Removed.
37791         * sysdeps/i386/fpu/s_fmal.S: Removed.
37793 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
37795         [BZ #3268]
37796         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37797         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37798         computation is not scheduled after fetestexcept.  Fix value
37799         of minimum denormal long double.
37801 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
37803         [BZ #3268]
37804         * math/libm-test.inc (fma_test): Add some more tests.
37805         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37806         correctly.
37808 2010-10-15  Andreas Schwab  <schwab@redhat.com>
37810         * scripts/data/localplt-s390-linux-gnu.data: New file.
37811         * scripts/data/localplt-s390x-linux-gnu.data: New file.
37813 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
37815         [BZ #3268]
37816         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37817         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37818         instead of dbl-64.
37819         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37820         inlines.
37821         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37822         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37823         if one of x and y is very large and the other is subnormal.
37824         * sysdeps/s390/fpu/s_fmaf.c: New file.
37825         * sysdeps/s390/fpu/s_fma.c: New file.
37826         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37827         * sysdeps/powerpc/fpu/s_fma.S: New file.
37828         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37829         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37830         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37832 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
37834         [BZ #3268]
37835         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37836         fma tests.
37837         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37838         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37839         * sysdeps/i386/i686/multiarch/s_fma.c: Include
37840         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37841         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37842         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37843         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37845 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
37847         [BZ #12078]
37848         * posix/regcomp.c (parse_branch): One more memory leak plugged.
37849         * posix/bug-regex31.input: Add test case.
37851 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
37853         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37854         * posix/bug-regex31.input: New file.
37856         [BZ #12078]
37857         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37858         (parse_sub_exp): Fix last change, use postorder.
37860         * posix/bug-regex31.c: New file.
37861         * posix/Makefile: Add rules to build and run bug-regex31.
37863         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37865         [BZ #12078]
37866         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37868         [BZ #12108]
37869         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37870         to have entries in sys_siglist.
37872         [BZ #12093]
37873         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37874         be NULL.
37876 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
37878         [BZ #3268]
37879         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37880         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37881         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37882         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37883         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37884         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37885         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37886         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37887         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37888         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37889         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37890         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37891         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37892         * math/ftestexcept.c (fetestexcept): Likewise.
37893         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37894         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37895         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37896         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37897         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37898         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37899         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37901 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
37903         [BZ #12107]
37904         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37905         newline.
37907 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
37909         * string/bug-strstr1.c: New file.
37910         * string/Makefile: Add rules to build and run bug-strstr1.
37912 2010-10-05  Eric Blake  <eblake@redhat.com>
37914         [BZ #12092]
37915         * string/str-two-way.h (two_way_long_needle): Always clear memory
37916         when skipping input due to the shift table.
37918 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
37920         [BZ #12005]
37921         * malloc/mcheck.c: Handle large requests.
37923         [BZ #12077]
37924         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37925         for strncmp and strncasecmp.
37926         * string/stratcliff.c: Add tests for strcmp and strncmp.
37927         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37929 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37931         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37932         __set_fpscr.
37934 2010-09-30  Andreas Jaeger  <aj@suse.de>
37936         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37937         (CGROUP_SUPER_MAGIC): Define.
37938         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37939         Handle btrfs and cgroup file systems.
37940         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37941         Likewise.
37943 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
37945         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37946         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37948 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37950         [BZ #12067]
37951         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37952         trying to locate the ELF header.
37954 2010-09-27  Andreas Schwab  <schwab@redhat.com>
37956         [BZ #11611]
37957         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37958         Mask out sign-bit copies when constructing f_fsid.
37960 2010-09-24  Petr Baudis <pasky@suse.cz>
37962         * debug/stack_chk_fail_local.c: Add missing licence exception.
37963         * debug/warning-nop.c: Likewise.
37965 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
37967         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37968         implementing getdents64 using getdents syscall, set d_type if
37969         __ASSUME_GETDENTS32_D_TYPE.
37971 2010-09-16  Andreas Schwab  <schwab@redhat.com>
37973         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37974         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37976 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
37978         [BZ #12037]
37979         * posix/unistd.h: Undo change of feature selection for ftruncate from
37980         2010-01-11.
37982 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
37984         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
37985         detection.
37987 2010-09-20  Andreas Schwab  <schwab@redhat.com>
37989         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37990         fanotify_mark.
37991         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37993 2010-09-14  Andreas Schwab  <schwab@redhat.com>
37995         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37996         variables after CHECK_SP call.
37997         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37999 2010-09-13  Andreas Schwab  <schwab@redhat.com>
38000             Ulrich Drepper  <drepper@redhat.com>
38002         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
38003         re-relocationg ld.so.
38004         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
38005         _dl_init_paths call.
38006         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
38007         here anymore.
38009 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
38011         * resolv/res_init.c (__res_vinit): Count the default server we added.
38013 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
38014             Ulrich Drepper  <drepper@redhat.com>
38016         [BZ #11968]
38017         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38018         (____longjmp_chk): Use %ebx for saving value across system call.
38019         Add unwind info.
38021 2010-09-06  Andreas Schwab  <schwab@redhat.com>
38023         * manual/Makefile: Don't mix pattern rules with normal rules.
38025 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
38027         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
38028         operation.
38029         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
38030         * libio/iofopncook.c (_IO_cookie_init): Likewise.
38031         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
38032         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
38033         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38034         Likewise.
38036 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
38038         [BZ #11979]
38039         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
38040         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
38042 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
38044         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
38045         * sysdeps/x86_64/addmul_1.S: Likewise.
38046         * sysdeps/x86_64/lshift.S: Likewise.
38047         * sysdeps/x86_64/mul_1.S: Likewise.
38048         * sysdeps/x86_64/rshift.S: Likewise.
38049         * sysdeps/x86_64/sub_n.S: Likewise.
38050         * sysdeps/x86_64/submul_1.S: Likewise.
38052 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38054         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
38055         Define __sched_param instead of SCHED_* and sched_param when
38056         <bits/sched.h> is included with __need_schedparam defined.
38057         * bits/sched.h [__need_schedparam]
38058         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
38059         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
38060         (__defined_schedparam): Define to 1.
38061         (__sched_param): New structure, identical to sched_param.
38062         (__need_schedparam): Undefine.
38064 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
38066         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
38067         (epoll_create1): Declare.
38069         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
38071 2010-08-31  Andreas Schwab  <schwab@redhat.com>
38073         [BZ #7066]
38074         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
38075         shifting retval into place.
38077 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
38079         * nis/rpcsvc/nis.h: Update copyright notice.
38080         * nis/rpcsvc/nis.x: Likewise.
38081         * nis/rpcsvc/nis_callback.h: Likewise.
38082         * nis/rpcsvc/nis_callback.x: Likewise.
38083         * nis/rpcsvc/nis_object.x: Likewise.
38084         * nis/rpcsvc/nis_tags.h: Likewise.
38085         * nis/rpcsvc/yp.h: Likewise.
38086         * nis/rpcsvc/yp.x: Likewise.
38087         * nis/rpcsvc/ypupd.h: Likewise.
38088         * nis/yp_xdr.c: Likewise.
38089         * nis/ypupdate_xdr.c: Likewise.
38091         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
38092         mainly the body of pmap_getport.  Add parameters to specify timeouts.
38093         (pmap_getport): Use __libc_rpc_getport.
38094         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
38095         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
38096         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
38098 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
38100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
38101         fanotify_mark.
38103 2010-08-27  Roland McGrath  <roland@redhat.com>
38105         * sysdeps/i386/i686/multiarch/Makefile
38106         (CFLAGS-varshift.c): New variable.
38108 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
38110         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
38111         * sysdeps/i386/i686/multiarch/varshift.c: New file.
38113         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
38115         * sysdeps/x86_64/strlen.S: Minimal code improvement.
38117 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
38119         * sysdeps/x86_64/strlen.S: Unroll the loop.
38120         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38121         strlen-sse2 strlen-sse2-bsf.
38122         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
38123         __strlen_no_bsf if bit_Slow_BSF is set.
38124         (__strlen_sse42): Removed.
38125         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
38126         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
38128 2010-08-25  Roland McGrath  <roland@redhat.com>
38130         * sysdeps/x86_64/multiarch/varshift.S: File removed.
38131         * sysdeps/x86_64/multiarch/varshift.c: New file.
38132         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
38133         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
38134         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
38135         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
38137 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
38139         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38140         strlen-sse2 strlen-sse2-bsf.
38141         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
38142         __strlen_sse2_bsf if bit_Slow_BSF is unset.
38143         (__strlen_sse2): Removed.
38144         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
38145         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
38146         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
38147         bit_Slow_BSF for Atom.
38148         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
38149         (index_Slow_BSF): Define.
38150         (HAS_SLOW_BSF): Define.
38152 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
38154         [BZ #10851]
38155         * resolv/res_init.c (__res_vinit): When no server address at all
38156         is given default to loopback.
38158 2010-08-24  Roland McGrath  <roland@redhat.com>
38160         * configure.in: Remove config-name.h generation.
38161         * configure: Regenerated.
38162         * config-name.in: File removed.
38163         * scripts/config-uname.sh: New file.
38164         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
38165         ($(objdir)config-name.h): New target.
38167         * sunrpc/rpc_parse.h: Avoid nested comment.
38169 2010-08-24  Richard Henderson  <rth@redhat.com>
38170             Ulrich Drepper  <drepper@redhat.com>
38171             H.J. Lu  <hongjiu.lu@intel.com>
38173         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
38174         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
38175         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
38176         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
38177         _mm_alignr_epi8 with _mm_loadu_si128.
38178         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
38179         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
38180         (__m128i_shift_right): Removed.
38181         * sysdeps/i386/i686/multiarch/varshift.h: New file.
38182         * sysdeps/i386/i686/multiarch/varshift.S: New file.
38183         * sysdeps/x86_64/multiarch/varshift.h: New file.
38184         * sysdeps/x86_64/multiarch/varshift.S: New file.
38186 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
38188         * configure.in: Move assembler checks to before sysdep dir checking.
38190 2010-08-20  Petr Baudis  <pasky@suse.cz>
38192         * LICENSES: Sync the sunrpc license.
38194 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
38196         * sunrpc/auth_des.c: Update copyright notice once again.
38197         * sunrpc/auth_none.c: Likewise.
38198         * sunrpc/auth_unix.c: Likewise.
38199         * sunrpc/authdes_prot.c: Likewise.
38200         * sunrpc/authuxprot.c: Likewise.
38201         * sunrpc/bindrsvprt.c: Likewise.
38202         * sunrpc/clnt_gen.c: Likewise.
38203         * sunrpc/clnt_perr.c: Likewise.
38204         * sunrpc/clnt_raw.c: Likewise.
38205         * sunrpc/clnt_simp.c: Likewise.
38206         * sunrpc/clnt_tcp.c: Likewise.
38207         * sunrpc/clnt_udp.c: Likewise.
38208         * sunrpc/clnt_unix.c: Likewise.
38209         * sunrpc/des_crypt.c: Likewise.
38210         * sunrpc/des_soft.c: Likewise.
38211         * sunrpc/get_myaddr.c: Likewise.
38212         * sunrpc/getrpcport.c: Likewise.
38213         * sunrpc/key_call.c: Likewise.
38214         * sunrpc/key_prot.c: Likewise.
38215         * sunrpc/openchild.c: Likewise.
38216         * sunrpc/pm_getmaps.c: Likewise.
38217         * sunrpc/pm_getport.c: Likewise.
38218         * sunrpc/pmap_clnt.c: Likewise.
38219         * sunrpc/pmap_prot.c: Likewise.
38220         * sunrpc/pmap_prot2.c: Likewise.
38221         * sunrpc/pmap_rmt.c: Likewise.
38222         * sunrpc/rpc/auth.h: Likewise.
38223         * sunrpc/rpc/auth_unix.h: Likewise.
38224         * sunrpc/rpc/clnt.h: Likewise.
38225         * sunrpc/rpc/des_crypt.h: Likewise.
38226         * sunrpc/rpc/key_prot.h: Likewise.
38227         * sunrpc/rpc/netdb.h: Likewise.
38228         * sunrpc/rpc/pmap_clnt.h: Likewise.
38229         * sunrpc/rpc/pmap_prot.h: Likewise.
38230         * sunrpc/rpc/pmap_rmt.h: Likewise.
38231         * sunrpc/rpc/rpc.h: Likewise.
38232         * sunrpc/rpc/rpc_des.h: Likewise.
38233         * sunrpc/rpc/rpc_msg.h: Likewise.
38234         * sunrpc/rpc/svc.h: Likewise.
38235         * sunrpc/rpc/svc_auth.h: Likewise.
38236         * sunrpc/rpc/types.h: Likewise.
38237         * sunrpc/rpc/xdr.h: Likewise.
38238         * sunrpc/rpc_clntout.c: Likewise.
38239         * sunrpc/rpc_cmsg.c: Likewise.
38240         * sunrpc/rpc_common.c: Likewise.
38241         * sunrpc/rpc_cout.c: Likewise.
38242         * sunrpc/rpc_dtable.c: Likewise.
38243         * sunrpc/rpc_hout.c: Likewise.
38244         * sunrpc/rpc_main.c: Likewise.
38245         * sunrpc/rpc_parse.c: Likewise.
38246         * sunrpc/rpc_parse.h: Likewise.
38247         * sunrpc/rpc_prot.c: Likewise.
38248         * sunrpc/rpc_sample.c: Likewise.
38249         * sunrpc/rpc_scan.c: Likewise.
38250         * sunrpc/rpc_scan.h: Likewise.
38251         * sunrpc/rpc_svcout.c: Likewise.
38252         * sunrpc/rpc_tblout.c: Likewise.
38253         * sunrpc/rpc_util.c: Likewise.
38254         * sunrpc/rpc_util.h: Likewise.
38255         * sunrpc/rpcinfo.c: Likewise.
38256         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
38257         * sunrpc/rpcsvc/key_prot.x: Likewise.
38258         * sunrpc/rpcsvc/klm_prot.x: Likewise.
38259         * sunrpc/rpcsvc/mount.x: Likewise.
38260         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
38261         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
38262         * sunrpc/rpcsvc/rex.x: Likewise.
38263         * sunrpc/rpcsvc/rstat.x: Likewise.
38264         * sunrpc/rpcsvc/rusers.x: Likewise.
38265         * sunrpc/rpcsvc/sm_inter.x: Likewise.
38266         * sunrpc/rpcsvc/spray.x: Likewise.
38267         * sunrpc/rpcsvc/yppasswd.x: Likewise.
38268         * sunrpc/rtime.c: Likewise.
38269         * sunrpc/svc.c: Likewise.
38270         * sunrpc/svc_auth.c: Likewise.
38271         * sunrpc/svc_authux.c: Likewise.
38272         * sunrpc/svc_raw.c: Likewise.
38273         * sunrpc/svc_run.c: Likewise.
38274         * sunrpc/svc_simple.c: Likewise.
38275         * sunrpc/svc_tcp.c: Likewise.
38276         * sunrpc/svc_udp.c: Likewise.
38277         * sunrpc/svc_unix.c: Likewise.
38278         * sunrpc/svcauth_des.c: Likewise.
38279         * sunrpc/xcrypt.c: Likewise.
38280         * sunrpc/xdr.c: Likewise.
38281         * sunrpc/xdr_array.c: Likewise.
38282         * sunrpc/xdr_float.c: Likewise.
38283         * sunrpc/xdr_mem.c: Likewise.
38284         * sunrpc/xdr_rec.c: Likewise.
38285         * sunrpc/xdr_ref.c: Likewise.
38286         * sunrpc/xdr_sizeof.c: Likewise.
38287         * sunrpc/xdr_stdio.c: Likewise.
38289         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
38290         handling.
38292 2010-08-19  Andreas Schwab  <schwab@redhat.com>
38294         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
38296 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
38298         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
38299         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
38300         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
38301         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
38302         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
38303         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
38304         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
38305         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
38306         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
38307         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
38308         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
38309         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
38310         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
38311         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
38313 2010-07-26  Anton Blanchard  <anton@samba.org>
38315         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
38316         * malloc/arena.c (heap_trim): Likewise.
38318 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
38320         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
38321         here.  Not...
38322         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
38323         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
38325 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
38327         * sysdeps/i386/elf/Makefile: New file.
38329 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
38331         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
38332         from fanotify_init.
38333         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
38334         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38336 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
38338         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
38339         of strncasecmp_l.
38340         * sysdeps/multiarch/strcmp.S: Likewise.
38342 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
38344         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38345         strncase_l-nonascii.
38346         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38347         Add strncase_l-ssse3.
38348         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
38349         * sysdeps/x86_64/strcmp.S: Likewise.
38350         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
38351         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
38352         * sysdeps/x86_64/strncase.S: New file.
38353         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
38354         * sysdeps/x86_64/strncase_l.S: New file.
38355         * string/Makefile (strop-tests): Add strncasecmp.
38356         * string/test-strncasecmp.c: New file.
38358         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
38359         warning.
38361         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
38362         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
38364 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
38366         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
38368 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
38370         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
38371         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
38372         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
38374 2010-05-01  Alan Modra  <amodra@gmail.com>
38376         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
38377         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
38378         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
38379         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
38380         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
38381         tidying.  Don't tail-call __sigjmp_save for static lib.
38382         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
38383         save location.
38384         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
38385         (CALL_MCOUNT): Add eh info, and nop after bl.
38386         (TAIL_CALL_SYSCALL_ERROR): New macro.
38387         (PSEUDO_RET): Use it.
38388         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
38389         Correct save location of integer regs and cr.
38390         (_dl_profile_resolve): Correct cr save location.  Delete nops
38391         after bl when SHARED.  Reduce cfi size a little by better
38392         placement of cfi directives.
38393         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
38394         make a stack frame.  Instead use parm save area as a temp.
38395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
38396         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
38397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
38398         Don't make a stack frame for parent, use parm save area.
38399         Increase child stack frame to 112 bytes.  Don't save unused reg,
38400         and adjust reg usage.  Set up cfi on error recovery and
38401         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
38402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38403         (__makecontext): Add dummy nop after jump to exit.
38404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
38405         Use correct parm save area and cr save, reduce stack frame.
38406         Correct cfi for possible PSEUDO_RET frame setup.
38407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
38408         Branch to local label emitted by PSEUDO_RET rather than
38409         __syscall_error.
38411 2010-08-12  Andreas Schwab  <schwab@redhat.com>
38413         [BZ #11904]
38414         * locale/programs/locale.c (print_assignment): New function.
38415         (show_locale_vars): Use it.
38417 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
38419         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
38420         field.
38421         (struct statfs64): Likewise.
38422         (_STATFS_F_FLAGS): Define.
38423         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
38424         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38425         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
38426         (ST_VALID): Define locally.
38427         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
38428         __statvfs_getflags, use the provided value.
38429         * sysdeps/unix/sysv/linux/kernel-features.h: Define
38430         __ASSUME_STATFS_F_FLAGS.
38432         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
38434         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
38435         Add sys/fanotify.h.
38436         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
38437         fanotify_mask for GLIBC_2.13.
38438         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
38439         fanotify_init and fanotify_mark.
38440         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38441         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
38443         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
38444         Add prlimit.
38445         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
38446         prlimit64 for GLIBC_2.13.
38447         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
38448         prlimit64.
38449         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
38450         syscall.
38451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
38452         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38453         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
38454         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
38455         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
38456         add prlimit alias.
38457         * sysdeps/unix/sysv/linux/prlimit.c: New file.
38459         [BZ #11903]
38460         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
38461         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
38463         * nss/Makefile: Add rules to build and run tst-nss-test1.
38464         * shlib-versions: Add entry for libnss_test1.
38465         * nss/nss_test1.c: New file.
38466         * nss/tst-nss-test1.c: New file.
38468         * nss/nsswitch.c (__nss_database_custom): Define new variable.
38469         (__nss_configure_lookup): Set appropriate entry in
38470         __nss_configure_lookup to true.
38471         * nss/nsswitch.h: Define enum with indeces of databases in
38472         databases and __nss_database_custom arrays.  Declare
38473         __nss_database_custom.
38474         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
38475         to avoid using nscd when custom rules are installed.
38476         * nss/getXXbyYY_r.c: Likewise.
38477         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38479         * nss/nss_files/files-parse.c: Whitespace fixes.
38481 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
38483         [BZ #11883]
38484         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
38485         * posix/fnmatch_loop.c: Likewise.
38487 2010-07-17  Andi Kleen  <ak@linux.intel.com>
38489         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
38490         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
38491         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
38492         * Versions.def [GLIBC_2.13]: Add.
38494 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
38496         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38497         Also fail if tpwd after pwuid call is NULL.
38499 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38501         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
38502         when converting to ms.
38504 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38506         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
38507         EOPNOTSUPP errors with ENOTTY.
38508         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
38509         EOPNOTSUPP errors with ENOTTY.
38511 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
38513         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38514         Add strcasecmp_l-ssse3.
38515         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
38516         strcasecmp.
38517         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
38518         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
38519         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
38521 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
38523         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
38525         * string/Makefile (strop-tests): Add strcasecmp.
38526         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38527         strcasecmp_l-nonascii.
38528         (gen-as-const-headers): Add locale-defines.sym.
38529         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
38530         * sysdeps/x86_64/strcasecmp.S: New file.
38531         * sysdeps/x86_64/strcasecmp_l.S: New file.
38532         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
38533         * sysdeps/x86_64/locale-defines.sym: New file.
38534         * string/test-strcasecmp.c: New file.
38536         * string/test-strcasestr.c: Test both ends of the range of characters.
38537         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
38539 2010-07-29  Roland McGrath  <roland@redhat.com>
38541         [BZ #11856]
38542         * manual/locale.texi (Yes-or-No Questions): Fix example code.
38544 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
38546         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
38547         for ld.so.
38549 2010-07-27  Andreas Schwab  <schwab@redhat.com>
38551         * manual/memory.texi (Malloc Tunable Parameters): Document
38552         M_PERTURB.
38554 2010-07-26  Roland McGrath  <roland@redhat.com>
38556         [BZ #11840]
38557         * configure.in (-fgnu89-inline check): Set and substitute
38558         gnu89_inline, not libc_cv_gnu89_inline.
38559         * configure: Regenerated.
38560         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
38562 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
38564         * string/test-strnlen.c: New file.
38565         * string/Makefile (strop-tests): Add strnlen.
38566         * string/tester.c (test_strnlen): Add a few more test cases.
38567         * string/tst-strlen.c: Better error reporting.
38569         * sysdeps/x86_64/strnlen.S: New file.
38571 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
38573         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
38574         lower-latency instructions.
38576 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
38578         * string/test-strcasestr.c: New file.
38579         * string/test-strstr.c: New file.
38580         * string/Makefile (strop-tests): Add strstr and strcasestr.
38581         * string/str-two-way.h: Don't undefine MAX.
38582         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
38584 2010-07-21  Andreas Schwab  <schwab@redhat.com>
38586         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38587         strcasestr-nonascii.
38588         (CFLAGS-strcasestr-nonascii.c): Define.
38589         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
38590         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
38591         Remove unused attribute.
38593 2010-07-20  Roland McGrath  <roland@redhat.com>
38595         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
38596         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
38597         ld.so.cache was broken.  With it, there is no way to disable dsocaps
38598         like LD_HWCAP_MASK can disable hwcaps.
38600 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
38602         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
38604 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
38606         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
38607         call in strcasestr.
38608         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
38609         __strcasestr_sse42_nonascii.
38610         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
38611         strcasestr-nonascii.c.
38612         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
38614 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
38616         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
38617         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
38618         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
38619         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
38621 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
38623         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
38624         fcntl.
38626 2010-07-06  Andreas Schwab  <schwab@redhat.com>
38628         [BZ #11577]
38629         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
38630         dl_signal_cerror.
38632 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
38634         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
38635         _PC_PIPE_BUF using F_GETPIPE_SZ.
38637 2010-07-05  Roland McGrath  <roland@redhat.com>
38639         * manual/arith.texi (Rounding Functions): Fix rint description
38640         implicit in round description.
38642 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
38644         * elf/Makefile: Fix linking for a few tests to make recent linker
38645         happy.
38647 2010-06-30  Andreas Schwab  <schwab@redhat.com>
38649         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38650         $(common-objpfx)libc_nonshared.a.
38652 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
38654         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
38655         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
38656         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38657         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38658         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
38659         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
38660         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38661         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
38663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
38664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
38665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
38667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
38669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
38670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
38671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
38672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
38674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
38676         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
38677         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
38678         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
38679         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
38680         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
38681         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
38682         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
38683         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
38684         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
38685         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
38686         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
38687         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
38688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
38689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
38690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
38691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
38692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
38693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
38694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
38695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
38696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
38697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
38698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
38699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
38700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
38701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
38703 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
38705         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
38706         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
38707         * string/memmove.c (memmove): Renamed to ...
38708         (MEMMOVE): ...this.  Default to memmove.
38709         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
38710         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
38711         (END_CHK): Define.
38712         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38713         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
38714         mempcpy-ssse3-back memmove-ssse3-back.
38715         * sysdeps/x86_64/multiarch/bcopy.S: New file .
38716         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
38717         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
38718         * sysdeps/x86_64/multiarch/memcpy.S: New file.
38719         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
38720         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
38721         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
38722         * sysdeps/x86_64/multiarch/memmove.c: New file.
38723         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
38724         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
38725         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
38726         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
38727         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
38728         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
38729         Define.
38730         (index_Fast_Copy_Backward): Define.
38731         (HAS_ARCH_FEATURE): Define.
38732         (HAS_FAST_REP_STRING): Define.
38733         (HAS_FAST_COPY_BACKWARD): Define.
38735 2010-06-21  Andreas Schwab  <schwab@redhat.com>
38737         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38738         Restore proper fallback handling.
38740 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
38742         [BZ #11701]
38743         * posix/group_member.c (__group_member): Correct checking loop.
38745         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38746         OOM in getpwuid_r correctly.  Return error number when the caller
38747         should return, otherwise -1.
38748         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38749         call returning > 0 value.
38750         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38752 2010-06-07  Andreas Schwab  <schwab@redhat.com>
38754         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38755         libc_nonshared.a from targets in modules-names.
38757 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
38759         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38760         requires it.
38762 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
38764         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38765         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38766         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38767         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38769 2010-06-02  Andreas Schwab  <schwab@redhat.com>
38771         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38773 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
38775         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38776         and F_GETPIPE_SZ.
38777         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38778         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38779         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38780         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38781         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38782         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38784 2010-06-14  Roland McGrath  <roland@redhat.com>
38786         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38788 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
38790         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38791         __REDIRECT followed by __THROW.
38792         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38793         * posix/getopt.h (getopt): Likewise.
38795 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
38797         * hurd/lookup-at.c (__file_name_lookup_at): Accept
38798         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
38799         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38800         in AT_FLAGS.
38801         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38802         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38804 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
38806         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38808 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
38810         [BZ #11640]
38811         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38812         Properly check family and model.
38814 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
38816         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38818 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
38820         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38822 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
38824         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38825         symbol reference.
38827 2010-05-19  Andreas Schwab  <schwab@redhat.com>
38829         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38830         symbol reference.
38832 2010-05-21  Andreas Schwab  <schwab@redhat.com>
38834         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38835         and internal_recvmmsg.
38836         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38837         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38838         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38839         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38841         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38842         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38843         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38845 2010-05-20  Andreas Schwab  <schwab@redhat.com>
38847         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38849 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
38851         POWER7 optimizations.
38852         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38853         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38855 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
38857         * version.h: Update for 2.13 development version.
38859 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
38861         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38862         exceptions.  Return 0.
38864 2010-05-07  Roland McGrath  <roland@redhat.com>
38866         * elf/ldconfig.c (main): Add a const.
38868 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
38870         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38871         (args_options): Add no-idn option.
38872         (ahosts_keys_int): Add idn_flags to ai_flags.
38873         (parse_option): Handle 'i' option to clear idn_flags.
38875         * malloc/malloc.c (_int_free): Possible race in the most recently
38876         added check.  Only act on the data if no current modification
38877         happened.
38879 See ChangeLog.17 for earlier changes.