PowerPC: Fix bzero definition for static libc for PPC32
[glibc.git] / ChangeLog
blob61b22d62ccd7c33fc6a8d7c6e93a4e17e5e2e831
1 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3         [BZ #16689]
4         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
5         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6         static build.
7         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
8         selector for static builds.
10 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
13         selector for static builds.
15 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17         [BZ #16683]
18         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
19         Define it for static builds as well.
20         (NO_BZERO_IMPL): Likewise.
22 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
24         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
25         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
26         multiarch strspn for PPC64.
27         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
28         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
29         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30         (__libc_ifunc_impl_list): Likewise.
31         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
32         multiarch optimizations
33         * string/strspn.c (strspn): Using macro to redefine symbol name.
35 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
39         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
40         multiarch strncat for PPC64.
41         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
42         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
43         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44         (__libc_ifunc_impl_list): Likewise.
45         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
46         multiarch optimizations
48 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
50         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
51         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
52         implementation.
53         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
54         (__libc_ifunc_impl_list): Likewise.
55         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
56         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
57         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
58         * string/strrchr.c: Define STRRCHR.
60 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
63         implementation.
64         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
65         POWER8 llround ifunc implementation.
66         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
67         POWER8 implementation.
68         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
69         POWER8 llround implementation.
71 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
74         implementation.
75         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
76         POWER8 llrint ifunc implementation.
77         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
78         POWER8 implementation.
79         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
80         POWER8 llrint implementation.
82 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
85         implementation.
86         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
87         POWER8 finite ifunc implementation.
88         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
89         POWER8 implementation.
90         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
91         Likewise.
92         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
93         POWER8 finite implementation.
94         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
96 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
98         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
99         implementation.
100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
101         POWER8 isinf ifunc implementation.
102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
103         POWER8 implementation.
104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
105         Likewise.
106         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
107         POWER8 isinf implementation.
108         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
110 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
112         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
113         Add hwcap2 initialization.
114         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
115         implementation.
116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
117         POWER8 isnan ifunc implementation.
118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
119         POWER8 implementation.
120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
121         Likewise.
122         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
123         POWER8 isnan implementation.
124         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
126 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
128         [BZ #16545]
129         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
130         model 1.
132 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
134         [BZ #16529]
135         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
137 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
139         * manual/contrib.texi: Update entry for Carlos O'Donell,
140         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
142 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
144         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
146         * sysdeps/unix/sysv/linux/kernel-features.h
147         [__LINUX_KERNEL_VERSION >= 0x020621]
148         (__ASSUME_PROC_PID_TASK_COMM): Define.
150 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
152         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
153         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
154         Leonard and Allan McRae.
156 2014-02-04  David S. Miller  <davem@davemloft.net>
158         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
159         32-bit.
161 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
164         file
165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
166         New file
167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
168         file.
169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
170         file.
171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
172         New file.
173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
174         file.
175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
176         file.
177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
178         New file.
179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
180         New file.
181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
182         New file.
183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
184         New file.
185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
186         New file.
187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
188         New file.
190 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
192         * nptl/shlib-versions: Change powerpc*le start to 2.17.
193         * shlib-versions: Likewise.
195 2014-02-04  Roland McGrath  <roland@hack.frob.com>
196             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
198         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
199         (abilist-pattern): New variable, set to %-le.abilist.
201         * Makerules (abilist-pattern): New variable.
202         (vpath): Use $(abilist-pattern) in place of %.abilist.
203         (check-abi-% pattern rule): Likewise.
204         (check-abi, update-abi): Likewise.
206 2014-02-04  Eric Wong  <normalperson@yhbt.net>
208         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
210 2014-02-04  Eric Wong  <normalperson@yhbt.net>
212         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
214 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
216         * manual/startup.texi: Add next, previous, and top entries for
217         the `Program Arguments' and `Environment Variables' nodes.
219 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
221         * manual/macros.texi: Add comments before MTASC-safety macros.
223         * manual/users.texi: Document MTASC-safety properties.
225         * manual/threads.texi (pthread_key_create, pthread_key_delete,
226         pthread_getspecific, pthread_setspecific): Format with
227         @deftypefun, and add @safety note.
228         * manual/signal.texi: Move comments that analyze the above
229         functions to their home place.
231 2014-02-03  Allan McRae  <allan@archlinux.org>
233         * po/sl.po: Update Slovenian translation from translation project.
235 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
237         * manual/time.texi (timegm): Add missing blank after @c.
238         Reported by Joseph Myers <joseph@codesourcery.com>.
240 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
242         * manual/check-safety.sh: New.
243         * manual/Makefile ($(objpfx)stamp-summary): Run it.
245         * manual/terminal.texi: Document MTASC-safety properties.
247         * manual/filesys.texi: Document MTASC-safety properties.
249         * manual/errno.texi: Document MTASC-safety properties.
251         * manual/intro.texi: Document safety identifiers and
252         conditionals.
254         * manual/string.texi (wcstok): Fix prototype.
255         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
257         * manual/time.texi: Document MTASC-safety properties.
259         * manual/string.texi: Document MTASC-safety properties.
261         * manual/threads.texi: Document MTASC-safety properties.
263         * manual/stdio.texi: Document MTASC-safety properties.
265         * manual/syslog.texi: Document MTASC-safety properties.
267         * manual/sysinfo.texi: Document MTASC-safety properties.
269         * manual/startup.texi: Document MTASC-safety properties.
271         * manual/socket.texi: Document MTASC-safety properties.
273         * manual/signal.texi: Document MTASC-safety properties.
275 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
277         * manual/setjmp.texi: Document MTASC-safety properties.
279         * manual/search.texi: Document MTASC-safety properties.
281         * manual/resource.texi: Document MTASC-safety properties.
283         * manual/process.texi: Document MTASC-safety properties.
285         * manual/platform.texi: Document MTASC-safety properties.
287         * manual/pipe.texi: Document MTASC-safety properties.
289         * manual/pattern.texi: Document MTASC-safety properties.
291         * manual/message.texi: Document MTASC-safety properties.
293         [BZ #12751]
294         * manual/memory.texi: Document MTASC-safety properties.
296         * manual/math.texi: Document MTASC-safety properties.
298         * manual/locale.texi: Document MTASC-safety properties.
300         * manual/llio.texi: Document MTASC-safety properties.
302         * manual/libdl.texi: New.
304         * manual/lang.texi: Document MTASC-safety properties.
306         * manual/job.texi: Document MTASC-safety properties.
308         * manual/getopt.texi: Document MTASC-safety properties.
310         * manual/ctype.texi: Document MTASC-safety properties.
312 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
314         [BZ #16046]
315         * csu/libc-tls.c (static_map): Remove variable.
316         (__libc_setup_tls): Use main executable's link map for TLS data.
317         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
318         casing for LM_ID_BASE and GL(dl_nns).
319         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
320         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
321         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
322         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
323         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
324         member.
325         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
326         l_phnum members.
328 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
330         * manual/debug.texi: Document MTASC-safety properties.
332 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
334         [BZ #16510]
335         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
336         of __x86_64__ when disabling x87 inline functions.
338 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
340         * manual/charset.texi: Document MTASC-safety properties.
342         * manual/crypt.texi: Document MTASC-safety properties.
344         * manual/conf.texi: Document MTASC-safety properties.
346         * manual/arith.texi: Document MTASC-safety properties.
348         * manual/argp.texi: Document MTASC-safety properties.
350         * manual/macros.texi: Introduce macros to document multi
351         thread, asynchronous signal and asynchronous cancellation
352         safety properties.
353         * manual/intro.texi: Introduce the properties themselves.
355 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
357         * sysdeps/sh/sh4/Makefile: New file.
359 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
361         * math/gen-libm-test.pl ($srcdir): New variable.
362         ($auto_input): Use it.
364 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
366         [BZ #16506]
367         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
368         access beyond array bounds when parsing netgroups file.
370         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
371         the old buffer before realloc.
373 2014-01-27  Allan McRae  <allan@archlinux.org>
375         * po/fr.po: Update French translation from translation project.
377 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
379         * sysdeps/sh/libm-test-ulps: Regenerate.
381 2014-01-24  David S. Miller  <davem@davemloft.net>
383         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
385 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
387         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
388         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
390 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
392         [BZ #16474]
393         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
394         string pointers after reallocation.
396 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
398         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
399         __SH4A__ instead of __SH_FPU_ANY__.
401 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
403         * sysdeps/sh/fpu_control.h: New file.
404         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
405         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
406         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
407         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
408         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
409         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
410         * sysdeps/sh/sys/ucontext.h: Remove.
411         * sysdeps/sh/sys: Remove directory.
413 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
415         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
416         s390/sys/ucontext.h.
417         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
418         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
420 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
422         [BZ #15605]
423         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
425 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
427         [BZ#16431]
428         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
429         Adjust the vDSO correctly for internal calls.
430         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
432 2014-01-20  Allan McRae  <allan@archlinux.org>
434         * po/ca.po: Update Catalan translation from translation project.
436 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
438         * sysdeps/s390/sotruss-lib.c: New file.
440 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
442         [BZ#16430]
443         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
444         (__GI___gettimeofday): Alias for a different internal symbol to avoid
445         local calls issues by not having a PLT stub required for IFUNC calls.
446         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
448 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
450         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
451         * math/test-fpucw-static.c: Likewise.
453 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
455         [BZ #16453]
456         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
458 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
460         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
461         implementation for powerpc.
463 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
465         [BZ #14782]
466         * sysdeps/posix/system.c (__libc_system): Do not enable
467         asynchronous cancellation.
469 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
471         [BZ #16427]
472         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
473         handling only for numbers special also in the IEEE case.
475 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
477         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
479 2014-01-11  Allan McRae  <allan@archlinux.org>
481         * po/bg.po: Update Bulgarian translation from translation project.
483         * po/de.po: Update German translation from translation project.
485 2014-01-10  Roland McGrath  <roland@hack.frob.com>
487         * sysdeps/generic/gcc-compat.h: New file.
489 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
491         * benchtests/asin-inputs: Correct slow inputs.
492         * benchtests/acos-inputs: Likewise.
494 2014-01-10  Allan McRae  <allan@archlinux.org>
496         * po:sv.po: Update Swedish translation from translation project.
498         * po/vi.po: Update Vietnamese translation from translation project.
500         * po/eo.po: Update Esperanto translation from translation project.
502         * po/cs.po: Update Czech translation from translation project.
504         * po/nl.po: Update Dutch translation from translation project.
506         * po/pl.po: Update Polish translation from translation project.
508         * po/ru.po: Update Russian translation from translation project.
510         * po/uk.po: Update Ukrainian translation from translation project.
512 2014-01-08  Brooks Moses  <bmoses@google.com>
514         * elf/dl-load.c: Fix comment typo.
516 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
518         * po/header.pot: Rename to...
519         * po/pot.header: ... this.
520         * po/Makefile: Use pot.header.
522 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
523             Maxim Kuvyrkov  <maxim@kugelworks.com>
525         [BZ #16394]
526         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
527         SRC and DEST against LEN.
529 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
531         [BZ #16414]
532         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
533         implementation.
534         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
536 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
538         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
540 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
542         [BZ #16408]
543         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
544         for large positive arguments.
546 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
548         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
550         * math/auto-libm-test-in: Mark various tests with
551         xfail-rounding:ldbl-128ibm.
552         * math/auto-libm-test-out: Regenerated.
554         [BZ #16407]
555         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
556         Increase overflow threshold.
558 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
560         [BZ #14286]
561         * stdio-common/vfprintf.c: Check for integer overflow.
563 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
565         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
566         the first argument and return value of __tls_get_addr_internal.
568 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
570         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
571         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
573 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
575         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
576         * sysdeps/s390/rtld-global-offsets.sym: New file.
577         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
578         GLIBC_2.19 symbol.
579         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
580         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
581         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
582         ... this.
583         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
584         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
585         ... this.
586         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
587         Regenerate.
588         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
589         Regenerate.
590         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
591         halfs of GPRs for high_gprs contexts.
592         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
593         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
594         field.
595         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
596         uc_flags field.
597         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
598         64 bit versions:
599         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
600         for high GPRs (uc_high_gprs) and for future extensions
601         (__reserved).
602         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
603         for future extensions (__reserved).
604         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
605         64 bit versions:
606         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
607         SC_HIGHGPRS offset definition.
608         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
609         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
611 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
613         * Versions.def: Add GLIBC_2.19 for libpthread.
614         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
615         siglongjmp for libpthread with GLIBC_2.19 symver.
616         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
617         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
618         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
619         * sysdeps/s390/__longjmp.c: New file.
620         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
621         * sysdeps/s390/longjmp.c: New file.
622         * sysdeps/s390/setjmp.S: New file.
623         * sysdeps/s390/sigjmp.S: New file.
624         * sysdeps/s390/v1-longjmp.c: New file.
625         * sysdeps/s390/v1-setjmp.h: New file.
626         * sysdeps/s390/v1-sigjmp.c: New file.
627         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
628         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
629         GLIBC_2.19 version.
630         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
631         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
632         versioned symbols for ____longjmp_chk.
633         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
634         Likewise.
635         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
636         Regenerate.
637         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
638         Regenerate.
639         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
640         Regenerate.
641         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
642         Regenerate.
643         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
644         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
645         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
646         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
647         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
648         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
649         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
650         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
651         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
652         * sysdeps/s390/rtld-__longjmp.c: New file.
653         * sysdeps/s390/rtld-setjmp.S: New file.
655 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
657         [BZ #16400]
658         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
659         Return -__logl (x) for small positive arguments without evaluating
660         a polynomial.
662 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
664         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
665         Rename to ...
666         (__ptrace_peeksiginfo_args): ... this.
667         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
668         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
669         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
671 2014-01-06  Allan McRae  <allan@archlinux.org>
673         * inet/netinet/in.h: Fix typo in comment.
675 2014-01-05  Andreas Jaeger  <aj@suse.de>
677         * sysdeps/i386/fpu/libm-test-ulps: Update.
679 2014-01-05  Allan McRae  <allan@archlinux.org>
681         * po/libc.pot: Regenerated.
683         * malloc/memusagestat.c: Fix gettext call formatting.
685 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
687         * nscd/nscd.c: Improve usage() output.
689 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
691         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
692         * sysdeps/unix/sysv/linux/configure: Regenerated.
693         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
694         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
696 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
698         [BZ #16390]
699         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
700         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
702 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
704         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
705         extra tokens at end of #undef directive.
706         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
707         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
708         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
710 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
712         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
714         * math/auto-libm-test-in: Mark various tests with
715         xfail-rounding:ldbl-128ibm.
716         * math/auto-libm-test-out: Regenerated.
718 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
720         [BZ #16386]
721         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
722         numbers with subnormal high part when calculating exponent.
724         [BZ #16385]
725         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
726         fabs.
728         [BZ #16384]
729         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
730         M_LN2l.
731         (__ieee754_acoshl): Use __log1pl not __log1p.
733 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
735         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
736         ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
737         __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
738         heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
739         Convert to GNU style.
740         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
741         mem2mem_check, mem2chunk_check, top_check, realloc_check,
742         memalign_check, __malloc_set_state): Likewise.
743         * malloc/mallocbug.c (main): Likewise.
744         * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
745         do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
746         mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
747         _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
748         musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
749         * malloc/malloc.h: Likewise.
750         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
751         memalignhook, reallochook, mabort): Likewise.
752         * malloc/mcheck.h: Likewise.
753         * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
754         mmap64, mremap, munmap, dest): Likewise.
755         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
756         * malloc/morecore.c (__default_morecore): Likewise.
757         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
758         * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
759         _obstack_allocated_p, obstack_free, _obstack_memory_used,
760         print_and_abort): Likewise.
761         * malloc/obstack.h: Likewise.
762         * malloc/set-freeres.c (__libc_freeres): Likewise.
763         * malloc/tst-mallocstate.c (main): Likewise.
764         * malloc/tst-mtrace.c (main): Likewise.
765         * malloc/tst-realloc.c (do_test): Likewise.
767 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
769         [BZ #16366]
770         * nscd/netgroupcache.c (do_notfound): New function.
771         (addgetnetgrentX): Use it.
773         [BZ # 16365]
774         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
775         NSS_STATUS_NOTFOUND.
777 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
779         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
782 2014-01-01  Allan McRae  <allan@archlinux.org>
784         * scripts/update-copyrights: Update configure input file suffix.
786         * NEWS: Update copyright year.
787         * catgets/gencat.c: Likewise.
788         * csu/version.c: Likewise.
789         * debug/catchsegv.sh: Likewise.
790         * debug/pcprofiledump.c: Likewise.
791         * debug/xtrace.sh: Likewise.
792         * elf/ldconfig.c: Likewise.
793         * elf/ldd.bash.in: Likewise.
794         * elf/pldd.c: Likewise.
795         * elf/sotruss.ksh: Likewise.
796         * elf/sprof.c: Likewise.
797         * iconv/iconv_prog.c: Likewise.
798         * iconv/iconvconfig.c: Likewise.
799         * locale/programs/locale.c: Likewise.
800         * locale/programs/localedef.c: Likewise.
801         * login/programs/pt_chown.c: Likewise.
802         * malloc/memusage.sh: Likewise.
803         * malloc/memusagestat.c: Likewise.
804         * malloc/mtrace.pl: Likewise.
805         * manual/libc.texinfo: Likewise.
806         * nscd/nscd.c: Likewise.
807         * nss/getent.c: Likewise.
808         * nss/makedb.c: Likewise.
809         * posix/getconf.c: Likewise.
810         * scripts/test-installation.pl: Likewise.
812         * All files with FSF copyright notices: Update copyright dates
813         using scripts/update-copyrights.
814         * intl/plural.c: Regenerated.
815         * locale/programs/charmap-kw.h: Likewise.
816         * locale/programs/locfile-kw.h: Likewise.
818 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
820         * sysdeps/unix/sysv/linux/configure: Regenerated.
821         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
822         the linux/fanotify.h header.
823         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
824         HAVE_LINUX_FANOTIFY_H is defined.
826 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
828         * benchtests/cos-inputs: New inputs.
829         * benchtests/sin-inputs: Likewise.
831         * benchtests/atan-inputs: New inputs. Fix name of multiple
832         precision fallback inputs.
834         * benchtests/atanh-inputs: New inputs.
835         * benchtests/tanh-inputs: Likewise.
837         * benchtests/acosh-inputs: New inputs.
838         * benchtests/asinh-inputs: Likewise.
840         * benchtests/cosh-inputs: New inputs.
841         * benchtests/sinh-inputs: Likewise.
843         * benchtests/acos-inputs: Add more inputs.
844         * benchtests/asin-inputs: Likewise.
846 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
848         [BZ #16375]
849         * manual/arith.texi: Fix spelling.
850         * manual/charset.texi: Likewise.
851         * manual/errno.texi: Likewise.
852         * manual/filesys.texi: Likewise.
853         * manual/lang.texi: Likewise.
854         * manual/llio.texi: Likewise.
855         * manual/locale.texi: Likewise.
856         * manual/message.texi: Likewise.
857         * manual/resource.texi: Likewise.
858         * manual/search.texi: Likewise.
859         * manual/setjmp.texi: Likewise.
860         * manual/stdio.texi: Likewise.
861         * manual/string.texi: Likewise.
862         * manual/sysinfo.texi: Likewise.
863         * manual/time.texi: Likewise.
865 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
867         * po/sl.po: New file.
869 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
871         * .gitignore: Add core/.gdbinit/.gdb_history.
873 2013-12-27  Allan McRae  <allan@archlinux.org>
875         [BZ #16369]
876         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
877         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
879 2013-12-24  Brooks Moses  <bmoses@google.com>
881         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
882         all compilers that claim C++98 compliance, not just GCC.
883         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
884         Likewise.
886 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
888         * NEWS: Restore accidentally deleted bug-fix entries.
890 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
891             Ondřej Bílka  <neleai@seznam.cz>
893         [BZ #15073]
894         * malloc/malloc.c (_int_free): Perform sanity check only if we
895         have_lock.
897 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
899         [BZ #12986]
900         * manual/stdio.texi (String Input Conversions): Clarify that character
901         classes are not supported.
903 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
905         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
907 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
909         [BZ #16337]
910         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
911         Calculate results for small negative arguments directly rather
912         than using reflection formula with special underflow handling.
914         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
915         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
916         sysdeps/unix/bsd/bsd4.4/syscalls.list.
917         (fchflags): Likewise.
918         (revoke): Likewise.
919         (setlogin): Likewise.
920         (sigaltstack): Likewise.
921         (wait4): Likewise.
922         (sigblock): Remove.
923         (sigsetmask): Likewise.
924         (wait3): Likewise.
925         (waitpid): Likewise.
926         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
927         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
928         file.
929         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
930         * sysdeps/unix/bsd/Makefile: ... here.
931         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
932         * sysdeps/unix/bsd/Versions: ... here.
933         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
934         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
935         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
936         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
937         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
938         * sysdeps/unix/bsd/sigblock.c: ... here.
939         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
940         * sysdeps/unix/bsd/sigsetmask.c: ... here.
941         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
942         * sysdeps/unix/bsd/sigvec.c: ... here.
943         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
944         * sysdeps/unix/bsd/tcdrain.c: ... here.
945         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
946         * sysdeps/unix/bsd/tcgetattr.c: ... here.
947         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
948         * sysdeps/unix/bsd/tcsetattr.c: ... here.
949         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
950         * sysdeps/unix/bsd/wait.c: ... here.
951         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
952         * sysdeps/unix/bsd/wait3.c: ... here.
953         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
954         * sysdeps/unix/bsd/waitpid.c: ... here.
956 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
958         [BZ #16356]
959         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
960         round-to-nearest for [!USE_AS_EXPM1L].
961         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
962         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
963         more tests of exp and exp10.  Expect some exp10 tests to miss
964         exceptions or fail in directed rounding modes.
965         * math/auto-libm-test-out: Regenerated.
966         * math/libm-test.inc (exp10_tonearest_test_data): New array.
967         (exp10_test_tonearest): New function.
968         (exp10_towardzero_test_data): New array.
969         (exp10_test_towardzero): New function.
970         (exp10_downward_test_data): New array.
971         (exp10_test_downward): New function.
972         (exp10_upward_test_data): New array.
973         (exp10_test_upward): New function.
974         (main): Call the new functions.
975         * sysdeps/i386/fpu/libm-test-ulps: Update.
976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
978 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
980         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
981         asinh, atan, atan2, atanh, cbrt, cos and cosh.
982         * math/auto-libm-test-out: Regenerated.
983         * math/libm-test.inc (acosh_test_data): Add more tests.
984         (atanh_test_data): Likewise.
985         (ceil_test_data): Likewise.
986         (copysign_test_data): Likewise.
987         * sysdeps/i386/fpu/libm-test-ulps: Update.
988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
990         * timezone/checktab.awk: Update from tzcode 2013i.
991         * timezone/private.h: Likewise.
992         * timezone/scheck.c: Likewise.
993         * timezone/tzfile.h: Likewise.
994         * timezone/tzselect.ksh: Likewise.
995         * timezone/zdump.c: Likewise.
996         * timezone/zic.c: Likewise.
998         * math/auto-libm-test-in: Add tests of cpow.
999         * math/auto-libm-test-out: Regenerated.
1000         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
1001         * * math/gen-auto-libm-tests.c (func_calc_method): Add value
1002         mpc_cc_c.
1003         (func_calc_desc): Add mpc_cc_c union field.
1004         (test_functions): Add cpow.
1005         (special_fill_2pi): New function.
1006         (special_real_inputs): Add 2pi.
1007         (calc_generic_results): Handle mpc_cc_c.
1008         * sysdeps/i386/fpu/libm-test-ulps: Update.
1009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1011         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
1012         csqrt, ctan and ctanh.
1013         * math/auto-libm-test-out: Regenerated.
1014         * math/libm-test.inc (TEST_COND_x86_64): New macro.
1015         (TEST_COND_x86): Likewise.
1016         (ccos_test_data): Use AUTO_TESTS_c_c.
1017         (ccosh_test_data): Likewise.
1018         (cexp_test_data): Likewise.
1019         (clog_test_data): Likewise.
1020         (csqrt_test_data): Likewise.
1021         (ctan_test_data): Likewise.
1022         (ctan_tonearest_test_data): Likewise.
1023         (ctan_towardzero_test_data): Likewise.
1024         (ctan_downward_test_data): Likewise.
1025         (ctan_upward_test_data): Likewise.
1026         (ctanh_test_data): Likewise.
1027         (ctanh_tonearest_test_data): Likewise.
1028         (ctanh_towardzero_test_data): Likewise.
1029         (ctanh_downward_test_data): Likewise.
1030         (ctanh_upward_test_data): Likewise.
1031         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1032         mpc_c_c.
1033         (func_calc_desc): Add mpc_c_c union field.
1034         (FUNC_mpc_c_c): New macro.
1035         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
1036         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
1037         ctanh.
1038         (special_fill_min_subnorm_p120): New function.
1039         (special_real_inputs): Add min_subnorm_p120.
1040         (calc_generic_results): Handle mpc_c_c.
1041         * sysdeps/i386/fpu/libm-test-ulps: Update.
1042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1044 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
1046         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
1047         do_sin_slow): New functions.
1048         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
1049         cslow2, csloww1, csloww2): Use the new functions.
1051         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
1052         Use M to change sign of result instead of X.  Assume X is
1053         positive.
1054         (csloww1): Likewise.
1055         (__sin): Adjust.
1056         (__cos): Adjust.
1058         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
1059         arguments A and DA.
1060         (__sin): Adjust.
1061         (__cos): Likewise.
1063         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
1064         (__cos): Likewise.
1065         (sloww1): Don't adjust sign of DX.
1066         (csloww1): Likewise.
1067         (sloww2): Use X directly and don't adjust sign of DX.
1068         (csloww2): Likewise.
1070 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
1072         * math/auto-libm-test-in: Add tests of cabs and carg.
1073         * math/auto-libm-test-out: Regenerated.
1074         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
1075         (carg_test_data): Likewise.
1076         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1077         mpc_c_f.
1078         (func_calc_desc): Add mpc_c_f union field.
1079         (test_functions): Add cabs and carg.
1080         (calc_generic_results): Handle mpc_c_f.
1082         * sysdeps/powerpc/powerpc32/libgcc-compat.S
1083         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
1084         as a macro and a compat symbol.
1085         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
1086         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
1087         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
1088         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
1089         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
1090         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
1091         not use .hidden.
1092         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
1093         Likewise.
1094         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
1095         Likewise.
1096         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
1097         Likewise.
1098         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
1099         Likewise.
1100         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
1101         Likewise.
1102         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
1103         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
1104         from GLIBC_2.3.2.
1106 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1108         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1110 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
1112         * manual/texinfo.tex: Update to version 2013-11-26.10 with
1113         trailing whitespace removed.
1114         * scripts/config.guess: Update to version 2013-11-29.
1115         * scripts/config.sub: Update to version 2013-10-01.
1117         * math/auto-libm-test-in: Add tests of sincos.
1118         * math/auto-libm-test-out: Regenerated.
1119         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
1120         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1121         mpfr_f_11.
1122         (func_calc_desc): Add mpfr_f_11 union field.
1123         (test_functions): Add sincos.
1124         (calc_generic_results): Handle mpfr_f_11.
1125         * sysdeps/i386/fpu/libm-test-ulps: Update.
1126         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1128 2013-12-19  Andreas Schwab  <schwab@suse.de>
1130         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
1131         CALL_MCOUNT.
1132         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1133         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
1134         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
1136 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
1138         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
1139         * sysdeps/i386/fpu/libm-test-ulps: Update.
1140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1142         [BZ #16293]
1143         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
1144         round-to-nearest mode when using frndint.
1145         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
1146         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1147         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1148         Likewise.
1149         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
1150         sinh test to fail.
1151         * math/auto-libm-test-out: Regenerated.
1152         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
1153         (TEST_COND_x86): Likewise.
1154         (expm1_tonearest_test_data): New array.
1155         (expm1_test_tonearest): New function.
1156         (expm1_towardzero_test_data): New array.
1157         (expm1_test_towardzero): New function.
1158         (expm1_downward_test_data): New array.
1159         (expm1_test_downward): New function.
1160         (expm1_upward_test_data): New array.
1161         (expm1_test_upward): New function.
1162         (main): Run the new test functions.
1163         * sysdeps/i386/fpu/libm-test-ulps: Update.
1164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1166         * include/features.h: Update comment documenting feature test
1167         macros.  Mention _DEFAULT_SOURCE in comment.
1168         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
1169         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
1170         _BSD_SOURCE and _SVID_SOURCE.
1171         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
1172         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
1173         !_SVID_SOURCE]: Likewise.
1174         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1175         (__USE_POSIX_IMPLICITLY): Define.
1176         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1177         (_POSIX_SOURCE): Undefine and redefine.
1178         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1179         (_POSIX_C_SOURCE): Likewise.
1180         * manual/creature.texi (_DEFAULT_SOURCE): Document.
1181         (Feature Test Macros): Update documentation of default features.
1183 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1185         * benchtests/Makefile: Add bench-strtok.
1186         * benchtests/bench-strtok.c: New file: strtok benchtest.
1188 2013-12-19  Allan McRae  <allan@archlinux.org>
1190         * manual/install.texi: Suppress menu for plain text output.
1191         * INSTALL: Regenerated.
1193 2013-12-18  Brooks Moses  <bmoses@google.com>
1195         [BZ #15846]
1196         * misc/getauxval.c: Include errno.h.
1197         (__getauxval): Set errno to ENOENT if the requested type is not
1198         found.
1199         * misc/sys/auxv.h (getauxval): Document that it may set errno;
1200         don't declare with __attribute_const__.
1201         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
1202         * manual/startup.texi: Document that getauxval sets errno.
1204 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
1206         * math/auto-libm-test-in: Add tests of jn and yn.
1207         * math/auto-libm-test-out: Regenerated.
1208         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
1209         (yn_test_data): Likewise.
1210         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1211         mpfr_if_f.
1212         (func_calc_desc): Add mpfr_if_f union field.
1213         (FUNC_mpfr_if_f): New macro.
1214         (test_functions): Add jn and yn.
1215         (calc_generic_results): Assert type of second input for
1216         mpfr_ff_f.  Handle mpfr_if_f.
1217         (output_for_one_input_case): Disable all checking for arguments
1218         fitting floating-point types in case of an integer argument.
1219         * sysdeps/i386/fpu/libm-test-ulps: Update.
1220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1223         Don't expect fegetround reference in libm.so.
1225 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1227         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
1228         $(config-cflags-nofma).
1230 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
1232         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
1233         * math/auto-libm-test-out: Regenerated.
1235         [BZ #16338]
1236         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
1237         to determine exponent and adjust argument to have exponent of -1.
1238         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
1239         log2.
1240         * math/auto-libm-test-out: Regenerated.
1241         * sysdeps/i386/fpu/libm-test-ulps: Update.
1242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1244 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
1246         * manual/probes.texi: Remove cases when per-thread arenas are
1247         disabled.
1249 2013-12-18  Andreas Schwab  <schwab@suse.de>
1251         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
1252         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
1253         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
1254         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
1255         * sysdeps/i386/i686/multiarch/Makefile: Update.
1256         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
1258 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
1260         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
1261         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
1263 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
1265         [BZ #15968]
1266         Support TZ transition times < 00:00:00.
1267         This is needed for version-3 tz-format files; it supports time
1268         stamps past 2037 for America/Godthab (the only entry in the tz
1269         database for which this change is relevant).
1270         * manual/time.texi (TZ Variable): Document transition times
1271         from -167:59:59 through -00:00:01.
1272         * time/tzset.c (tz_rule): Time of day is now signed.
1273         (__tzset_parse_tz): Parse negative time of day.
1275         Document TZ transition times >= 25:00:00.
1276         * manual/time.texi (TZ Variable): Document transition times from
1277         25:00:00 through 167:59:59.  These are already supported, and this
1278         support will help with version-3 tz-format files.
1280         * manual/time.texi (TZ Variable): Modernize North America example
1281         to reflect current (i.e., 2007-and-later) daylight saving rules.
1283         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
1285 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
1287         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
1288         * sysdeps/unix/bsd/bits/stat.h: Likewise.
1289         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
1290         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1291         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
1292         * sysdeps/unix/bsd/bsdstat.h: Likewise.
1293         * sysdeps/unix/bsd/clock.c: Likewise.
1294         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
1295         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
1296         * sysdeps/unix/bsd/init-posix.c: Likewise.
1297         * sysdeps/unix/bsd/poll.c: Likewise.
1298         * sysdeps/unix/bsd/ptsname.c: Likewise.
1299         * sysdeps/unix/bsd/seekdir.c: Likewise.
1300         * sysdeps/unix/bsd/setegid.c: Likewise.
1301         * sysdeps/unix/bsd/seteuid.c: Likewise.
1302         * sysdeps/unix/bsd/setgid.c: Likewise.
1303         * sysdeps/unix/bsd/setrgid.c: Likewise.
1304         * sysdeps/unix/bsd/setruid.c: Likewise.
1305         * sysdeps/unix/bsd/setsid.c: Likewise.
1306         * sysdeps/unix/bsd/setuid.c: Likewise.
1307         * sysdeps/unix/bsd/sigaction.c: Likewise.
1308         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
1309         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
1310         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
1311         * sysdeps/unix/bsd/telldir.c: Likewise.
1312         * sysdeps/unix/bsd/times.c: Likewise.
1313         * sysdeps/unix/bsd/usleep.c: Likewise.
1315         * misc/Makefile (install-lib): Remove libbsd-compat.a.
1316         ($(objpfx)libbsd-compat.a): Remove rule.
1318         * include/features.h (__FAVOR_BSD): Do not define.
1319         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
1320         features conflicting with POSIX.
1321         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
1322         (_BSD_SOURCE): Remove description of not being a subset of other
1323         feature test macros.
1324         * manual/job.texi (getpgrp): Do not document BSD version.
1325         (getpgid): Do not document by reference to BSD getpgrp.
1326         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
1327         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
1328         * signal/signal.h [__FAVOR_BSD]: Likewise.
1329         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
1330         instead of making contents conditional on [__FAVOR_BSD].
1331         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
1333 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1335         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1337 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
1339         [BZ #16314]
1340         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
1341         values below 2**-450, not 2**-500.
1342         * math/auto-libm-test-in: Don't allow spurious underflow from
1343         hypot.
1344         * math/auto-libm-test-out: Regenerated.
1346         [BZ #16316]
1347         [BZ #16330]
1348         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
1349         values of ha and hb and sort them after adjusting subnormal
1350         arguments.
1351         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
1352         Likewise.
1353         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
1354         values of ea and eb and sort them after adjusting subnormal
1355         arguments.
1356         * math/auto-libm-test-in: Do not expect some hypot tests of
1357         subnormals to fail.  Add more hypot tests.
1358         * math/auto-libm-test-out: Regenerated.
1360 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1362         [BZ #13304]
1363         * sysdeps/sh/s_fma.c: New file.
1364         * sysdeps/sh/s_fmaf.c: New file.
1365         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
1366         version.
1367         * sysdeps/sh/Implies: Add sh/soft-fp.
1369 2013-12-16  Roland McGrath  <roland@hack.frob.com>
1371         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
1372         level of indirection to members `objname', `errstring', `malloced'.
1373         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
1374         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
1375         it as the __longjmp argument (just pass 1 instead).
1376         (_dl_catch_error): Initialize C with argument pointers and address of
1377         volatile local ERRCODE rather than copying values out of C at return.
1379 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
1381         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
1382         * math/auto-libm-test-out: Regenerated.
1383         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
1384         (hypot_test_data): Likewise.
1385         (pow_test_data): Likewise.
1386         (pow_tonearest_test_data): Likewise.
1387         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1388         mpfr_ff_f.
1389         (func_calc_desc): Add mpfr_ff_f union field.
1390         (FUNC_mpfr_ff_f): New macro.
1391         (test_functions): Add atan2, hypot and pow.
1392         (special_fill_min): New function.
1393         (special_fill_minus_min): Likewise.
1394         (special_fill_min_subnorm): Likewise.
1395         (special_fill_minus_min_subnorm): Likewise.
1396         (special_real_inputs): Add min, -min, min_subnorm and
1397         -min_subnorm.
1398         (calc_generic_results): Handle mpfr_ff_f.
1399         * sysdeps/i386/fpu/libm-test-ulps: Update.
1400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1402 2013-12-16  Will Newton  <will.newton@linaro.org>
1404         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
1405         (Aligned Memory Blocks): Add documentation for aligned_alloc
1406         and suggest it as an alternative to posix_memalign.
1407         (Hooks for Malloc): Document __memalign_hook is also called
1408         for aligned_alloc.  (Summary of Malloc): Add summary for
1409         aligned alloc.  Document __memalign_hook is also called
1410         for aligned_alloc.
1412 2013-12-16  Will Newton  <will.newton@linaro.org>
1414         * manual/memory.texi (Malloc Examples): Clarify default
1415         alignment documentation.  Suggest posix_memalign rather
1416         than memalign or valloc.
1417         (Aligned Memory Blocks): Remove suggestion to use memalign
1418         or valloc.  Remove obsolete comment about BSD.
1419         Document memalign errno values and mark the function obsolete.
1420         Document posix_memalign returned error codes.  Mark valloc
1421         as obsolete.  (Hooks for Malloc): __memalign_hook is also
1422         called for posix_memalign and valloc.
1423         (Summary of Malloc): Add posix_memalign to function summary.
1424         __memalign_hook is also called for posix_memalign and valloc.
1426 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1428         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
1429         TAYLOR_SIN.
1430         (__sin): Adjust.
1431         (__cos): Likewise.
1432         (sloww): Use mynumber union.  Expand ternary operator into
1433         if-else statements.
1434         (cslow): use mynumber union.
1436 2013-12-16  Allan McRae  <allan@archlinux.org>
1438         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
1439         * configure: Regenerated.
1441         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
1443         [BZ #14120]
1444         * configure.ac: Added --enable-maintainer-mode. Check for
1445         autoconf when enabled.
1446         * configure: Regenerated.
1448         * nscd/nscd.service: New file.
1449         * nscd/nscd.tmpfiles: New file.
1451 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
1453         [BZ #12100]
1454         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
1455         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
1456         * sysdeps/x86_64/multiarch/strstr.c: ... here.
1457         (strstr): Add __strstr_sse2_unaligned ifunc.
1458         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
1459         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
1460         (strcasestr): Remove __strcasestr_sse42 ifunc.
1461         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
1462         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1463         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1465 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1467         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
1468         * sysdeps/sh/bits/fenv.h: ... here.
1469         * sysdeps/sh/sh4/fpu/bits: Remove directory.
1471 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1473         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
1475 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1477         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
1478         hypotf multiarch implementations.
1479         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
1480         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
1481         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
1482         multiarch hypot for PPC64.
1483         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
1484         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
1485         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
1486         multiarch hypotf for PPC64.
1488 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1490         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
1491         modff multiarch implementations.
1492         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
1493         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
1494         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
1495         multiarch modf for PPC64.
1496         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
1497         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
1498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
1499         multiarch modff for PPC64.
1501 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1503         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
1504         and logl multiarch implementations.
1505         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
1506         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
1507         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
1508         multiarch logb for PPC64.
1509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
1510         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
1511         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
1512         multiarch logb for PPC64.
1513         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
1514         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
1515         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
1516         multiarch logb for PPC64.
1518 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1520         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
1521         isinff multiarch implementation.
1522         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
1523         file.
1524         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
1525         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
1526         multiarch isinf for PPC64.
1527         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
1528         file.
1529         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
1530         multiarch isinff for PPC64.
1532 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1534         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
1535         finitef multiarch implementation.
1536         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
1537         file.
1538         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
1539         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
1540         multiarch finite for PPC64.
1541         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
1542         file.
1543         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
1544         multiarch finitef for PPC64.
1546 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1548         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
1549         lrint multiarch implementation.
1550         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
1551         file.
1552         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
1553         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
1554         multiarch llrint for PPC64.
1555         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
1556         multiarch lrint for PPC64.
1558 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1560         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
1561         copysignf multiarch implementation.
1562         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
1563         file.
1564         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
1565         file.
1566         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
1567         multiarch copysign for PPC64.
1568         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
1569         multiarch copysignf for PPC64.
1571 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1573         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
1574         multiarch implementation.
1575         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
1576         file.
1577         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
1578         file.
1579         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
1580         file.
1581         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
1582         file.
1583         multiarch llround for PPC64.
1584         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
1585         multiarch trunc for PPC64.
1586         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
1587         multiarch truncf for PPC64.
1589 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1591         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
1592         multiarch implementation.
1593         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
1594         file.
1595         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
1596         file.
1597         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
1598         file.
1599         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
1600         file.
1601         multiarch llround for PPC64.
1602         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
1603         multiarch round for PPC64.
1604         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
1605         multiarch roundf for PPC64.
1607 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1609         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
1610         multiarch implementation.
1611         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
1612         file.
1613         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
1614         file.
1615         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
1616         file.
1617         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
1618         file.
1619         multiarch llround for PPC64.
1620         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
1621         multiarch floor for PPC64.
1622         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
1623         multiarch floorf for PPC64.
1625 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1627         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
1628         multiarch implementation.
1629         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
1630         file.
1631         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
1632         file.
1633         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
1634         file.
1635         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
1636         file.
1637         multiarch llround for PPC64.
1638         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
1639         multiarch ceil for PPC64.
1640         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
1641         multiarch ceilf for PPC64.
1643 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1645         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
1646         multiarch implementation.
1647         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
1648         file.
1649         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
1650         file.
1651         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
1652         file.
1653         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
1654         multiarch llround for PPC64.
1655         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
1656         multiarch lround for PPC64.
1658 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1660         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
1661         multiarch implementation.
1662         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
1663         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
1664         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
1665         file.
1666         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
1667         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
1668         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
1669         multiarch isnan for PPC64.
1670         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
1671         multiarch isnanf for PPC64.
1673 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1675         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
1676         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
1677         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
1678         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
1679         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
1680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
1682 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1684         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
1685         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1686         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1687         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1689 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1691         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
1692         multiarch implementations.
1693         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1694         (__libc_ifunc_impl_list): Likewise.
1695         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1696         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
1697         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
1698         multiarch stpcpy for PPC64.
1700 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1702         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
1703         multiarch implementations.
1704         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1705         (__libc_ifunc_impl_list): Likewise.
1706         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
1707         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
1708         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
1709         multiarch strcpy for PPC64.
1711 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1713         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
1714         redefine function name.
1715         (_wordcopy_fwd_dest_aligned): Likewise.
1716         (_wordcopy_bwd_aligned): Likewise.
1717         (_wordcopy_bwd_dest_aligned): Likewise.
1718         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
1719         multiarch implementations.
1720         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1721         (__libc_ifunc_impl_list): Likewise.
1722         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
1723         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
1724         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
1725         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
1726         multiarch wcscpy for PPC64.
1728 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1730         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
1731         multiarch implementations.
1732         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1733         (__libc_ifunc_impl_list): Likewise.
1734         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
1735         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
1736         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
1737         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
1738         multiarch wcscpy for PPC64.
1740 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1742         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
1743         multiarch implementations.
1744         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1745         (__libc_ifunc_impl_list): Likewise.
1746         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
1747         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
1748         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
1749         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
1750         multiarch wcsrchr for PPC64.
1752 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1754         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
1755         multiarch implementations.
1756         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1757         (__libc_ifunc_impl_list): Likewise.
1758         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
1759         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
1760         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
1761         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
1762         multiarch wcschr for PPC64.
1764 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1766         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
1767         multiarch implementations.
1768         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1769         (__libc_ifunc_impl_list): Likewise.
1770         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
1771         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
1772         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1773         multiarch strchrnul for PPC64.
1775 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1777         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1778         implementations.
1779         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1780         (__libc_ifunc_impl_list): Likewise.
1781         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1782         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1783         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1784         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1785         strchr for PPC64.
1787 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1789         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1790         implementations.
1791         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1792         (__libc_ifunc_impl_list): Likewise.
1793         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1794         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1795         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1796         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1797         strncmp for PPC64.
1799 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1801         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1802         multiarch implementations.
1803         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1804         (__libc_ifunc_impl_list): Likewise.
1805         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1806         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1807         strncasecmp for PPC64.
1808         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1809         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1810         multiarch strncasecmp_l for PPC64.
1812 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1814         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1815         multiarch implementations.
1816         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1817         (__libc_ifunc_impl_list): Likewise.
1818         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1819         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1820         multiarch strcasecmp for PPC64.
1821         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1822         file.
1823         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1824         multiarch strcasecmp_l for PPC64.
1826 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1828         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1829         implementations.
1830         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1831         (__libc_ifunc_impl_list): Likewise.
1832         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1833         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1834         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1835         strnlen for PPC64.
1837 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1839         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1840         implementations.
1841         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1842         (__libc_ifunc_impl_list): Likewise.
1843         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1844         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1845         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1846         strlen for PPC64.
1848 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1850         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1851         implementations.
1852         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1853         (__libc_ifunc_impl_list): Likewise.
1854         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1855         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1856         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1857         rawmemrchr for PPC64.
1859 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1861         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1862         implementation.
1863         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1864         (__libc_ifunc_impl_list): Likewise.
1865         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1866         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1867         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1868         memrchr for PPC64.
1870 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1872         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1873         implementation.
1874         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1875         (__libc_ifunc_impl_list): Likewise.
1876         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1877         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1878         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1879         memchr for PPC64.
1881 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1883         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1884         implementation.
1885         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1886         (__libc_ifunc_impl_list): Likewise.
1887         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1888         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1889         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1890         mempcpy for PPC64.
1892 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1894         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1895         avoid cretion of __bzero symbol.
1896         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1897         Likewise.
1898         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1899         Likewise.
1900         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1901         Likewise.
1902         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1903         multiarch implementations.
1904         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1905         (__libc_ifunc_impl_list): Likewise.
1906         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1907         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1908         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1909         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1910         bzero for PPC32.
1911         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1912         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1913         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1914         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1915         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1916         memset for PPC64.
1917         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1919 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1921         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1922         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1923         implementations.
1924         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1925         (__libc_ifunc_impl_list): Likewise.
1926         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1927         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1928         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1929         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1930         memcmp for PPC64.
1932 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1934         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1935         multiarch for POWER/PPC64.
1936         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1937         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1938         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1939         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1940         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1941         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1942         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1943         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1944         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1945         memcpy for PPC64.
1947 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1949         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1950         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1951         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1952         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1953         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1954         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1955         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1956         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1957         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1958         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1959         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1960         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1961         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1962         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1963         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1972 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1974         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1976 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
1978         * benchtests/Makefile (bench): Add exp2 and log2.
1979         (LDLIBS-bench-exp2): Add -lm.
1980         (LDLIBS-bench-log2): Likewise.
1981         * benchtests/exp2-inputs: New inputs file.
1982         * benchtests/log2-inputs: New inputs file.
1983         * benchtests/log-inputs: Add new inputs.
1984         * benchtests/tan-inputs: Likewise.
1986 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1988         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1989         definition...
1990         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1991         csloww1, csloww2): ... from here.
1993         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1994         instead of structures.
1995         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1996         (POLYNOMIAL): Likewise.
1997         (TAYLOR_SLOW): Likewise.
1998         (__sin): Likewise.
1999         (__cos): Likewise.
2000         (slow1): Likewise.
2001         (slow2): Likewise.
2002         (sloww): Likewise.
2003         (sloww1); Likewise.
2004         (sloww2): Likewise.
2005         (bsloww1): Likewise.
2006         (bsloww2): Likewise.
2007         (cslow2): Likewise.
2008         (csloww): Likewise.
2009         (csloww1): Likewise.
2010         (csloww2): Likewise.
2012 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
2014         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
2015         (__malloc_assert, __libc_realloc, __libc_calloc,
2016         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
2017         memcpy and memset.
2018         * malloc/hooks.c (realloc_check): Likewise.
2020 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
2022         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
2023         * malloc/arena.c: Remove PER_THREAD conditional.
2024         [!PER_THREAD]: Remove code.
2025         (ptmalloc_unlock_all2): Likewise.
2026         (ptmalloc_init): Likewise.
2027         (_int_new_arena): Likewise.
2028         (arena_get2): Likewise.
2029         * malloc/hooks.c (__malloc_get_state): Likewise.
2030         (__malloc_set_state): Likewise.
2031         * malloc/malloc.c: Likewise.
2032         (struct malloc_state): Likewise.
2033         (struct malloc_par): Likewise.
2034         (__libc_realloc): Likewise.
2035         (__libc_mallopt): Likewise.
2037 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2039         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
2041 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
2043         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
2044         macro to a function.  Check for zero perturb_byte.
2045         (_int_malloc, _int_free): Remove zero perturb_byte checks.
2047 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
2049         * malloc/malloc.c: (force_reg): Remove.
2050         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
2051         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
2052         force_reg by atomic_forced_read.
2053         * malloc/arena.c (ptmalloc_init): Likewise.
2054         * malloc/hooks.c (top_check): Likewise.
2056 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2058         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2060 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
2062         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2064 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
2066         * math/auto-libm-test-in: Add tests of lgamma.
2067         * math/auto-libm-test-out: Regenerated.
2068         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
2069         (M_LOG_2_SQRT_PIl): Likewise.
2070         (lgamma_test_data): Use AUTO_TESTS_f_f1.
2071         * math/gen-auto-libm-tests.c (func_calc_method): Add value
2072         mpfr_f_f1.
2073         (func_calc_desc): Add mpfr_f_f1 union field.
2074         (ARGS1): New macro.
2075         (ARGS2): Likewise.
2076         (ARGS3): Likewise.
2077         (ARGS4): Likewise.
2078         (RET1): Likewise.
2079         (RET2): Likewise.
2080         (CALC): Likewise.
2081         (FUNC): Likewise.
2082         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
2083         (test_functions): Add lgamma.
2084         (calc_generic_results): Handle mpfr_f_f1.
2085         * sysdeps/i386/fpu/libm-test-ulps: Update.
2086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2088 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2090         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
2091         __mpn_add_n for PowerPC64/POWER7.
2092         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
2093         __mpn_sub_n for PowerPC64/POWER7.
2095 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2097         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
2098         __mpn_addmul_1 for PowerPC64.
2099         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
2100         __mpn_submul_1 for PowerPC64.
2101         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
2102         for PowerPC64.
2103         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
2104         for PowerPC64.
2106 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
2108         [BZ #15089]
2109         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
2111 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2113         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
2115 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2117         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
2118         add multiarch folders.
2119         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
2120         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
2121         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
2122         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
2123         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
2124         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
2125         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
2126         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
2127         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
2128         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
2129         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
2130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
2131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
2132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
2133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
2134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
2135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
2137 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2140         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
2141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
2142         New file.
2143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
2144         New file.
2145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
2146         multiarch __ieee754_hypot for PowerPC32.
2147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
2148         New file.
2149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
2150         New file.
2151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
2152         multiarch __ieee754_hypotf for PowerPC32.
2154 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2156         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
2157         long_double_symbol only if __logbl is defined.
2158         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
2159         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
2160         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
2161         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
2162         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
2163         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
2164         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
2165         path for implementation.
2166         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
2167         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
2168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
2169         logb, and logbl multiarch implementations for PowerPC32.
2170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
2171         file.
2172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
2173         file.
2174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
2175         multiarch logb for PowerPC32.
2176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
2177         file.
2178         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
2179         file.
2180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
2181         multiarch logbf for PowerPC32.
2182         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
2183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
2184         file.
2185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
2186         multiarch logbl implementation for PowerPC32.
2188 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2190         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
2191         and modff multiarch implementations.
2192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
2193         New file.
2194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
2195         New file.
2196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
2197         multiarch modf for PowerPC32.
2198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
2199         New file.
2200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
2201         New file.
2202         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
2203         multiarch modff for PowerPC32.
2205 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
2208         and lrintf multiarch implementations.
2209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
2210         New file.
2211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
2212         New file.
2213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
2214         multiarch lrint for PowerPC32.
2215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
2216         file: multiarch lrintf for PowerPC32.
2218 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
2221         and lroundf multiarch implementations.
2222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
2223         New file.
2224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
2225         New file.
2226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
2227         New file.
2228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
2229         multiarch lround for PowerPC32.
2230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
2231         file: multiarch lroundf for PowerPC32.
2233 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2236         copysign and copysignf multiarch implementations.
2237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
2238         New file.
2239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
2240         New file.
2241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
2242         file: multiarch copysign for PowerPC32.
2243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
2244         file: multiarch copysignf for PowerPC32.
2246 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
2249         and truncf multiarch implementations.
2250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
2251         New file.
2252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
2253         file.
2254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
2255         multiarch trunc for PowerPC32.
2256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
2257         New file.
2258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
2259         New file.
2260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
2261         multiarch truncf for PowerPC32.
2263 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
2266         and roundf multiarch implementations.
2267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
2268         New file.
2269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
2270         file.
2271         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
2272         multiarch round for PowerPC32.
2273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
2274         New file.
2275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
2276         New file.
2277         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
2278         multiarch roundf for PowerPC32.
2280 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2282         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
2283         and floorf multiarch implementations.
2284         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
2285         New file.
2286         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
2287         file.
2288         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
2289         multiarch floor for PowerPC32.
2290         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
2291         New file.
2292         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
2293         New file.
2294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
2295         multiarch floorf for PowerPC32.
2297 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2299         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
2300         and ceilf multiarch implementations.
2301         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
2302         New file.
2303         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
2304         file.
2305         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
2306         multiarch ceil for PowerPC32.
2307         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
2308         New file.
2309         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
2310         file.
2311         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
2312         multiarch ceilf for PowerPC32.
2314 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2316         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
2317         is defined.
2318         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
2319         FINITEF is defined.
2320         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
2321         and finitef multiarch implementations.
2322         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
2323         New file.
2324         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
2325         file.
2326         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
2327         multiarch finite for PowerPC32.
2328         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
2329         New file.
2330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
2331         file: multiarch finitef for PowerPC32.
2333 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
2336         and isinff multiarch implementations.
2337         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
2338         file.
2339         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
2340         file.
2341         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
2342         multiarch isinf for PowerPC32.
2343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
2344         New file.
2345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
2346         multiarch isinff for PowerPC32.
2348 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2350         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
2351         alias when __isnan is defined.
2352         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
2353         and isnanf multiarch implementations.
2354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
2355         file.
2356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
2357         file.
2358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
2359         file.
2360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
2361         file.
2362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
2363         multiarch isnan for PowerPC32.
2364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
2365         New file.
2366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
2367         New file.
2368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
2369         multiarch isnanf for PowerPC32.
2371 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2373         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
2374         and sqrtf multiarch implementations.
2375         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
2376         file.
2377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
2378         file.
2379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
2380         multiarch sqrt for PowerPC32.
2381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
2382         file.
2383         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
2384         file.
2385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
2386         multiarch sqrtf for PowerPC32.
2388 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2390         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
2391         and llroundf multiarch implementations.
2392         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2393         New file.
2394         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2395         New file.
2396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2397         New file.
2398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
2399         file: multiarch llround for PowerPC32.
2400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
2401         file: multiarch llroundf for PowerPC32.
2403 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
2406         multiarch PowerPC32 fpu implementations.
2407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
2408         New file.
2409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
2410         New file.
2411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
2412         multiarch llrint for PowerPC32.
2413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
2414         New file.
2415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
2416         New file.
2417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
2418         file.
2420 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
2424 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2426         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
2427         file.
2428         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
2429         file.
2430         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
2431         file.
2432         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
2433         multiarch wordcopy for PPC32.
2434         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2435         wordcopy objects.
2436         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2437         (__libc_ifunc_impl_list): Likewise.
2438         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
2439         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
2440         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
2441         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
2442         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
2443         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
2445 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2447         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
2448         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
2449         file.
2450         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
2451         file.
2452         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
2453         file.
2454         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
2455         multiarch wcscpy for PPC32.
2456         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2457         multiarch objects.
2458         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2459         (__libc_ifunc_impl_list): Likewise.
2460         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2461         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2462         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
2463         sysdeps/powerpc/power6/wcscpy.c.
2465 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2467         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
2468         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
2469         file.
2470         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
2471         file.
2472         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
2473         file.
2474         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
2475         multiarch wcsrchr for PPC32.
2476         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2477         multiarch objects.
2478         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2479         (__libc_ifunc_impl_list): Likewise.
2480         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2481         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2482         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
2483         sysdeps/powerpc/power6/wcsrchr.c.
2485 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2487         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
2488         file.
2489         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
2490         file.
2491         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
2492         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
2493         multiarch wcschr for PPc32.
2494         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2495         multiarch objects.
2496         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2497         (__libc_ifunc_impl_list): Likewise.
2498         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
2499         * sysdeps/powerpc/power6/wcschr.c: ... to here.
2500         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
2501         sysdeps/powerpc/power6/wcschr.c.
2503 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2505         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
2506         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
2507         file.
2508         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
2509         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
2510         file: multiarch strchr for PPC32.
2511         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
2512         multiarch objects.
2513         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2514         (__libc_ifunc_impl_list): Likewise.
2516 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2518         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
2519         name.
2520         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
2521         file.
2522         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
2523         file.
2524         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
2525         multiarch strchrnul for PPC32.
2526         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
2527         multiarch objects.
2528         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2529         (__libc_ifunc_impl_list): Likewise.
2531 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2533         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
2534         file.
2535         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
2536         multiarch strncasecmp for PPC32.
2537         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
2538         file.
2539         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
2540         multiarch strncasecmp_l for PPC32.
2541         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
2542         strncasecmp multiarch objects.
2543         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2544         (__libc_ifunc_impl_list): Likewise.
2546 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2548         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
2549         file.
2550         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
2551         multiarch strncasecmp for PPC32.
2552         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2553         New file.
2554         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
2555         multiarch strcasecmp_l for PPC32.
2556         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
2557         multiarch objects.
2558         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2559         (__libc_ifunc_impl_list): Likewise.
2561 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2563         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
2564         file.
2565         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
2566         file.
2567         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
2568         multiarch strncmp for PPC32.
2569         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
2570         multiarch objects.
2571         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2572         (__libc_ifunc_impl_list): Likewise.
2574 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2576         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
2577         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
2578         file.
2579         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
2580         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
2581         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
2582         multiarch objects.
2583         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2584         (__libc_ifunc_impl_list): Likewise.
2586 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2588         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
2589         file.
2590         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
2591         file.
2592         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
2593         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
2594         multiarch objects.
2595         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2596         (__libc_ifunc_impl_list): Likewise.
2598 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2600         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
2601         file.
2602         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
2603         file.
2604         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
2605         multiarch rawmemchr for PPC32.
2606         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
2607         multiarch objects.
2608         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2609         (__libc_ifunc_impl_list): Likewise.
2611 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2613         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
2614         file.
2615         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
2616         file.
2617         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
2618         file: memrchr multiarch for PPC32.
2619         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
2620         multiarch objects.
2621         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2622         (__libc_ifunc_impl_list): Likewise.
2624 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2626         * string/memchr.c (__memchr): Using macro to redefine symbol name.
2627         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
2628         file.
2629         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
2630         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
2631         multiarch memchr for PPC32.
2632         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
2633         multiarch objects.
2634         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2635         (__libc_ifunc_impl_list): Likewise.
2637 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2639         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
2640         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
2641         file.
2642         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
2643         file.
2644         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
2645         file: multiarch mempcpy for PPC32.
2646         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
2647         multiarch objects.
2648         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2649         (__libc_ifunc_impl_list): Likewise.
2651 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2653         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
2654         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
2655         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
2656         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
2657         multiarch bzero for PPC32.
2658         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
2659         file.
2660         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
2661         file.
2662         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
2663         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
2664         file: multiarch memset for PPC32.
2665         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
2666         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
2667         memset multiarch objects.
2668         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2669         (__libc_ifunc_impl_list): Likewise.
2671 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2673         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
2674         file.
2675         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
2676         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
2677         memcmp for PPC32.
2678         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
2679         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
2680         multiarch objects.
2681         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2682         (__libc_ifunc_impl_list): Likewise.
2684 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2686         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
2687         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
2688         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
2689         file.
2690         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
2691         file.
2692         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
2693         file.
2694         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
2695         multiarch memcpy for PPC32.
2696         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
2697         multiarch objects.
2698         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2699         (__libc_ifunc_impl_list): Likewise.
2701 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2703         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
2704         support multiarch for POWER/PPC32.
2705         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2706         Likewise.
2707         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
2709         Implies file to make multiarch folder appers before the fpu and
2710         default folder for power4 configuration.
2712 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
2714         * scripts/bench.pl: Append volatile keyword to type.
2716 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2718         * sysdeps/sh/sotruss-lib.c: New file.
2719         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
2721 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2723         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2725 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
2727         [BZ #6810]
2728         * math/w_tgamma.c: Include <errno.h>.
2729         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
2730         * math/w_tgammaf.c: Include <errno.h>.
2731         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
2732         * math/w_tgammal.c: Include <errno.h>.
2733         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
2734         * math/auto-libm-test-in: Do not allow missing errno on tgamma
2735         underflow.  Add more tgamma tests.
2736         * math/auto-libm-test-out: Regenerated.
2737         * sysdeps/i386/fpu/libm-test-ulps: Update.
2738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2740         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
2741         sin, sinh, tan, tanh, tgamma, y0 and y1.
2742         * math/auto-libm-test-out: Regenerated.
2743         * math/libm-test.inc (TEST_COND_x86_64): New macro.
2744         (TEST_COND_x86): Likewise.
2745         (M_E2l): Remove macro.
2746         (M_E3l): Likewise.
2747         (M_2_SQRT_PIl): Likewise.
2748         (M_SQRT_PIl): Likewise.
2749         (M_1_DIV_El): Likewise.
2750         (log_test_data): Use AUTO_TESTS_f_f.
2751         (log10_test_data): Likewise.
2752         (log1p_test_data): Likewise.
2753         (log2_test_data): Likewise.
2754         (sin_test_data): Likewise.
2755         (sin_tonearest_test_data): Likewise.
2756         (sin_towardzero_test_data): Likewise.
2757         (sin_downward_test_data): Likewise.
2758         (sin_upward_test_data): Likewise.
2759         (sinh_test_data): Likewise.
2760         (sinh_tonearest_test_data): Likewise.
2761         (sinh_towardzero_test_data): Likewise.
2762         (sinh_downward_test_data): Likewise.
2763         (sinh_upward_test_data): Likewise.
2764         (tan_test_data): Likewise.
2765         (tan_tonearest_test_data): Likewise.
2766         (tan_towardzero_test_data): Likewise.
2767         (tan_downward_test_data): Likewise.
2768         (tan_upward_test_data): Likewise.
2769         (tanh_test_data): Likewise.
2770         (tgamma_test_data): Likewise.
2771         (y0_test_data): Likewise.
2772         (y1_test_data): Likewise.
2773         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2774         (special_real_inputs): Add pi/4.
2775         * sysdeps/i386/fpu/libm-test-ulps: Update.
2776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2778 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2780         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2781         "longjmp_target" static probes.
2782         (__longjmp): Rename to __longjmp_symbol.
2783         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2784         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2785         on which longjmp to generate.
2786         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2787         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2788         probe.
2789         (__sigsetjmp): Rename to __sigsetjmp_symbol.
2790         (__sigjmp_save): Rename to __sigjmp_save_symbol.
2791         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2792         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2793         and __sigjmp_save_symbol based on which sigsetjmp to generated.
2794         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2796         __longjmp_symbol based on which __longjmp to generate.
2797         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2798         probe.
2799         (setjmp): Rename to setjmp_symbol.
2800         (__sigsetjmp): Rename to __sigsetjmp_symbol.
2801         (_setjmp): Rename to _setjmp_symbol.
2802         (__sigsetjmp): Rename to __sigsetjmp_symbol.
2803         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2804         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2805         which setjmp to generate.
2806         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2807         "longjmp_target" static probes.
2809 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
2811         * benchtests/README: Add note about output arguments.
2812         * benchtests/bench-sincos.c: Remove file.
2813         * benchtests/sincos-inputs: New file.
2814         * scripts/bench.pl: Identify output arguments and define
2815         static variables for them.
2817         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2819         [BZ #15941]
2820         * Makefile (INSTALL): Add install-plain.texi as the primary
2821         dependency.
2822         * manual/install-plain.texi: New file.
2823         * manual/install.texi: Include node directive only for
2824         non-plaintext output.
2826 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
2828         * stdlib/longlong.h: Update from GCC.
2830         [BZ #6807]
2831         [BZ #15901]
2832         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2833         * math/w_j0f.c (y0f): Likewise.
2834         * math/w_j0l.c (__y0l): Likewise.
2835         * math/w_j1.c (y1): Likewise.
2836         * math/w_j1f.c (y1f): Likewise.
2837         * math/w_j1l.c (__y1l): Likewise
2838         * math/w_jn.c (yn): Likewise.
2839         * math/w_jnf.c (ynf): Likewise.
2840         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2841         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
2842         value for Bessel function domain errors outside _SVID_ mode.
2843         Adjust sign of return value for yn (negative integer, 0).
2844         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2845         by zero in return for negative x and set sign appropriately for
2846         negative n.
2847         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2848         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2849         * math/libm-test.inc (y0_test_data): Add more tests and adjust
2850         expectations in error cases.
2851         (y1_test_data): Likewise.
2852         (yn_test_data): Likewise.
2853         * sysdeps/i386/fpu/libm-test-ulps: Update.
2854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2856 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2858         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2859         "64" to "64-v1".  Add "64-v2".
2860         (abi-64-options): Rename to ...
2861         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
2862         (abi-64-condition): Rename to ...
2863         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
2864         (abi-64-ld-soname): Rename to ...
2865         (abi-64-v1-ld-soname): ... this.
2866         (abi-64-v2-options): Define.
2867         (abi-64-v2-condition): Likewise.
2868         (abi-64-v2-ld-soname): Likewise.
2869         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2870         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2875 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2876             Alan Modra  <amodra@gmail.com>
2878         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2879         New versions for use with the ELFv2 ABI.
2880         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2881         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2882         declaration.
2883         (struct La_ppc64v2_retval): Likewise.
2884         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2885         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2886         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2887         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2888         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2889         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2890         Do not save or restore CR.
2891         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2892         (_dl_profile_resolve): Do no save or restore CR.  Support extended
2893         return values for ELFv2 ABI.  Fix location of FPR return registers.
2894         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2895         updated values for _CALL_ELF == 2.
2896         (La_regs, La_retval, int_retval): Likewise.
2898 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2900         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2901         (FRAME_MIN_SIZE_PARM): Likewise.
2902         (FRAME_BACKCHAIN): Likewise.
2903         (FRAME_CR_SAVE): Likewise.
2904         (FRAME_LR_SAVE): Likewise.
2905         (FRAME_TOC_SAVE): Likewise.
2906         (FRAME_PARM_SAVE): Likewise.
2907         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2908         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2909         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2910         (call_mcount_parm_offset): New macro.
2911         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2912         (PROF): Use symbolic stack frame offsets.
2913         (TAIL_CALL_SYSCALL_ERROR): Likewise.
2914         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2915         Redefine in terms of FRAME_MIN_SIZE.
2916         (_dl_runtime_resolve): Use symbolic stack frame offsets.
2917         (_dl_profile_resolve): Likewise.  Update comment.
2918         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2919         symbols stack frame offsets.
2920         (__sigsetjmp): Likewise.
2921         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2922         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2923         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2924         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2927         (FRAME_BACKCHAIN): Remove.
2928         (FRAME_CR_SAVE): Likewise.
2929         (FRAME_LR_SAVE): Likewise.
2930         (FRAME_COMPILER_DW): Likewise.
2931         (FRAME_LINKER_DW): Likewise.
2932         (FRAME_TOC_SAVE): Likewise.
2933         (FRAME_PARM_SAVE): Likewise.
2934         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2935         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2936         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2938         (CHECK_SP): Use symbolic stack frame offsets.
2939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2940         zone" instead of caller's parameter save area for temp storage.
2941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2942         Likewise.  Also, use symbolic stack frame offsets.
2943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2944         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2945         our own stack frame instead of the caller's.
2946         (__socket): Use symbolic stack frame offsets.
2948 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2949             Alan Modra  <amodra@gmail.com>
2951         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2952         Define.
2953         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2954         PPC64_LOCAL_ENTRY_OFFSET): Define.
2955         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2956         New function.
2957         (elf_machine_fixup_plt): Call it.
2958         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
2959         reloc arguments.
2960         (elf_machine_rela): Update call to elf_machine_plt_conflict.
2961         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2962         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
2963         r2 before calling target.
2965 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2966             Alan Modra  <amodra@gmail.com>
2968         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2969         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2970         versions of macros to support ELFv2 ABI.
2971         (LOCALENTRY): New macro.
2972         (ENTRY, EALIGN): Use it.
2973         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2974         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2975         fall through into ENTRY entry point.
2976         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2977         Only define if _CALL_ELF != 2.
2979         (elf_machine_matches_host): Verify ABI version matches.
2980         (RTLD_START): Use LOCALENTRY.
2981         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2982         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2983         (PLT_ENTRY_WORDS): New macro.
2984         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2985         (elf_machine_runtime_setup): Support ELFv2 ABI.
2986         (elf_machine_fixup_plt): Likewise.
2987         (elf_machine_plt_conflict): Likewise.
2988         (resolve_ifunc): Likewise.
2989         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2990         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2991         Likewise.
2992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2993         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2995         (makecontext): Support ELFv2 ABI.
2996         * elf/elf.h (EF_PPC64_ABI): Define.
2998 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3000         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
3001         New assembler macro.
3002         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
3003         [ASSEMBLER] (ENTRY): ... but instead here ...
3004         [ASSEMBLER] (EALIGN): ... and here.
3005         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
3006         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
3007         [!ASSEMBLER] (ENTRY_2): Use it.
3008         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
3009         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
3010         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
3011         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
3012         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
3013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
3014         Use PPC64_LOAD_FUNCPTR.
3016 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3018         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
3020 2013-12-04  Alan Modra  <amodra@gmail.com>
3022         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
3023         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
3024         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
3025         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
3027         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
3028         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
3029         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
3030         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
3031         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
3032         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
3034 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3037         (__makecontext): Fix incorrect CFI when backtracing out of
3038         context created via makecontext.
3039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
3040         (__setcontext): Fix incorrect CFI during switch to new context.
3041         (__novec_setcontext): Likewise.
3043 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
3045         [BZ #4772]
3046         * time/strptime_l.c (__strptime_internal): Allow modifiers
3047         in strptime.
3048         * time/tst-strptime.c (day_tests): Add testcase.
3051 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3053         * scripts/bench.pl: Skip over blank lines.
3055 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
3057         [BZ #926]
3058         * manual/time.texi (Calendar Time): Clarify what timezone functions
3059         use.
3061 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3063         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3065 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
3067         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
3068         implementation.
3069         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
3070         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
3071         * debug/memset_chk.c (__memset_chk): Likewise.
3072         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
3073         * debug/strncpy_chk.c: Likewise.
3075 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
3077         [BZ #15268]
3078         [BZ #15425]
3079         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
3080         (__ieee754_exp): For possibly underflowing results, check size of
3081         result and force underflow exception if required.
3082         * math/auto-libm-test-in: Add more tests of exp.
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         [BZ #16283]
3088         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
3089         * math/w_exp2f.c (__exp2f): Likewise.
3090         * math/w_exp2l.c (__exp2l): Likewise.
3091         * math/auto-libm-test-in: Do not allow missing errno on exp2
3092         underflow.
3093         * math/auto-libm-test-out: Regenerated.
3095 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
3097         [BZ #16274]
3098         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
3099         handle filename validation.
3100         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
3101         (do_open): Delete.
3103 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
3105         [BZ #6786]
3106         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
3107         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
3108         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
3109         <float.h>.
3110         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
3111         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
3112         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3113         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
3114         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3115         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
3116         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3117         * math/auto-libm-test-in: Don't allow missing errno from erfc.
3118         Add more erfc tests.
3119         * math/auto-libm-test-out: Regenerated.
3120         * sysdeps/i386/fpu/libm-test-ulps: Update.
3121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3123         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
3124         exp2, expm1, j0 and j1.
3125         * math/auto-libm-test-out: Regenerated.
3126         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
3127         (erfc_test_data): Likewise.
3128         (exp_test_data): Likewise.
3129         (exp_tonearest_test_data): Likewise.
3130         (exp_towardzero_test_data): Likewise.
3131         (exp_downward_test_data): Likewise.
3132         (exp_upward_test_data): Likewise.
3133         (exp10_test_data): Likewise.
3134         (exp2_test_data): Likewise.
3135         (expm1_test_data): Likewise.
3136         (j0_test_data): Likewise.
3137         (j1_test_data): Likewise.
3138         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
3139         (input_flag_type): Add flag_xfail_rounding.
3140         (input_flags): Add xfail-rounding.
3141         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
3142         (output_for_one_input_case): Handle flag_xfail_rounding.
3143         * sysdeps/i386/fpu/libm-test-ulps: Update.
3144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3146 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
3148         [BZ #16289]
3149         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
3150         division by 0.
3152 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
3154         [BZ #16195]
3155         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
3156         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
3157         (STAP_PROBE0): New macro.
3158         (STAP_PROBE1): Likewise.
3159         (STAP_PROBE2): Likewise.
3160         (STAP_PROBE3): Likewise.
3161         (STAP_PROBE4): Likewise.
3163 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
3165         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
3167 2013-12-02  Steve Ellcey  <sellcey@mips.com>
3169         * benchtests/Makefile (bench): Add sqrt.
3170         (LDLIBS-bench-sqrt): New.
3171         * benchtests/sqrt-input: New.
3173 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
3175         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
3176         (GAIH_EAI): Likewise.
3177         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
3178         (gaih_inet): Likewise.
3179         (getaddrinfo): Don't use GAIH_EAI.
3181         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
3182         (struct gaih): Remove definition.
3184 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3186         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
3187         Use HERRNOP directly.
3189 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3191         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3193 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
3195         * math/gen-auto-libm-tests.c (test_functions): Add more
3196         single-argument functions.
3197         (special_fill_pi_2): New function.
3198         (special_fill_minus_pi_2): Likewise.
3199         (special_fill_pi_6): Likewise.
3200         (special_fill_minus_pi_6): Likewise.
3201         (special_fill_pi_3): Likewise.
3202         (special_fill_2pi_3): Likewise.
3203         (special_fill_e): Likewise.
3204         (special_fill_1_e): Likewise.
3205         (special_fill_e_minus_1): Likewise.
3206         (special_real_inputs): Add more special inputs.
3207         (output_for_one_input_case): Do not require ERANGE on underflow to
3208         zero if round-to-nearest result does not underflow to zero, unless
3209         exact results required.
3210         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
3211         atan, atanh, cbrt, cos and cosh.
3212         * math/auto-libm-test-out: Regenerated.
3213         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
3214         (acos_tonearest_test_data): Likewise.
3215         (acos_towardzero_test_data): Likewise.
3216         (acos_downward_test_data): Likewise.
3217         (acos_upward_test_data): Likewise.
3218         (acosh_test_data): Likewise.
3219         (asin_test_data): Likewise.
3220         (asin_tonearest_test_data): Likewise.
3221         (asin_towardzero_test_data): Likewise.
3222         (asin_upward_test_data): Likewise.
3223         (asinh_test_data): Likewise.
3224         (atan_test_data): Likewise.
3225         (atanh_test_data): Likewise.
3226         (cbrt_test_data): Likewise.
3227         (cos_test_data): Likewise.
3228         (cos_tonearest_test_data): Likewise.
3229         (cos_towardzero_test_data): Likewise.
3230         (cos_downward_test_data): Likewise.
3231         (cos_upward_test_data): Likewise.
3232         (cosh_test_data): Likewise.
3233         (cosh_tonearest_test_data): Likewise.
3234         (cosh_towardzero_test_data): Likewise.
3235         (cosh_downward_test_data): Likewise.
3236         (cosh_upward_test_data): Likewise.
3237         * sysdeps/i386/fpu/libm-test-ulps: Update.
3238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3240 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
3242         [BZ #6787]
3243         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
3244         * math/w_exp10f.c (__exp10f): Likewise.
3245         * math/w_exp10l.c (__exp10l): Likewise.
3246         * math/libm-test.inc (exp10_test_data): Add more tests and expect
3247         errno settings in existing tests.
3249         [BZ #14032]
3250         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
3251         precision control set to double precision.
3252         * sysdeps/i386/fpu/w_sqrt.c: New file.
3253         * math/auto-libm-test-in: Add more tests.
3254         * math/auto-libm-test-out: Update.
3256         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
3257         (sqrt_test_tonearest): New function.
3258         (sqrt_towardzero_test_data): New variable.
3259         (sqrt_test_towardzero): New function.
3260         (sqrt_downward_test_data): New variable.
3261         (sqrt_test_downward): New function.
3262         (sqrt_upward_test_data): New variable.
3263         (sqrt_test_upward): New function.
3264         (main): Call the new functions.
3266         * math/gen-auto-libm-tests.c: New file.
3267         * math/auto-libm-test-in: Likewise.
3268         * math/auto-libm-test-out: New generated file.
3269         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
3270         variables.
3271         (%beautify): Add generated representations of zero.
3272         (top level): Set $auto_input and call parse_auto_input.
3273         (beautify): Remove trailing "f" from hex float constants.
3274         (parse_args): Handle XFAIL_TEST.
3275         (convert_condition): New function.
3276         (or_value): Likewise.
3277         (or_cond_value): Likewise.
3278         (generate_testfile): Handle AUTO_TESTS_* lines.
3279         (parse_auto_input): New function.
3280         * math/libm-test.inc (XFAIL_TEST): New macro.
3281         (ERRNO_UNCHANGED): Update value.
3282         (ERRNO_EDOM): Likewise.
3283         (ERRNO_ERANGE): Likewise.
3284         (IGNORE_RESULT): Likewise.
3285         (TEST_COND_flt_32): New macro.
3286         (TEST_COND_dbl_64): Likewise.
3287         (TEST_COND_ldbl_96_intel): Likewise.
3288         (TEST_COND_ldbl_96_m68k): Likewise.
3289         (TEST_COND_ldbl_128): Likewise.
3290         (TEST_COND_ldbl_128ibm): Likewise.
3291         (TEST_COND_long32): Likewise.
3292         (TEST_COND_long64): Likewise.
3293         (TEST_COND_before_rounding): Likewise.
3294         (TEST_COND_after_rounding): Likewise.
3295         (enable_test): Handle XFAIL_TEST flag.
3296         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
3297         with finite results.
3298         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
3299         auto-libm-test-out.
3301 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3302             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3304         [BZ #16214]
3305         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
3306         __tls_get_addr_internal instead of __tls_get_offset in order to
3307         avoid GOT pointer dependency.  Make rtld export
3308         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
3309         __tls_get_addr since we are a __tls_get_offset platform.
3310         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
3311         GOT pointer being set up before.
3312         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
3314 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
3316         * manual/math.texi (Errors in Math Functions): Document accuracy
3317         goals.
3319         [BZ #15004]
3320         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
3321         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
3322         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3323         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3324         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3325         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3326         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3327         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3328         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3329         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3330         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3331         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3332         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3333         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3334         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3335         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3337         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
3338         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
3339         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
3340         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
3341         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
3342         Likewise.
3343         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
3344         Likewise.
3345         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
3346         Likewise.
3347         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
3348         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
3349         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
3350         atomic-feupdateenv and flt-rounds.
3351         * sysdeps/powerpc/nofpu/Versions (libc): Add
3352         __atomic_feholdexcept, __atomic_feclearexcept,
3353         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
3354         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
3355         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
3356         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
3357         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
3358         here.
3359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3360         Update.
3362         * manual/arith.texi (FP Exceptions): Document that exceptions may
3363         not be raised when matherr is used.
3364         (Math Error Reporting): Document overflow in directed rounding
3365         modes.  Document that errno may not be set when finite values are
3366         returned on overflow.  Document intent to set errno on underflow
3367         only for underflow to zero.
3369         [BZ #16271]
3370         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
3371         round-to-nearest then adjust result for other rounding modes.
3372         * include/fenv.h (fegetround): Use libm_hidden_proto.
3373         * math/fegetround.c (fegetround): Use libm_hidden_def.
3374         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3375         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3376         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3377         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3378         Likewise.
3379         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
3380         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3381         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3382         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
3384 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3386         [BZ #16077]
3387         * nss/Versions (libnss_files): Add
3388         _nss_files_gethostbyname3_r.
3389         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
3390         New function.
3391         (HOST_DB_LOOKUP): Remove macro.
3392         (_nss_files_gethostbyname_r): Implement function without the
3393         HOST_DB_LOOKUP macro.
3394         (_nss_files_gethostbyname2_r): Likewise.
3396 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
3398         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
3400 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
3402         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
3403         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
3404         warning.
3406 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3408         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
3409         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
3410         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3411         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3412         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
3413         __fe_nomask_env_priv and attribute_hidden.
3414         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
3415         (libc_feupdateenv_test_ppc): Likewise.
3416         (libc_feresetround_ppc): Likewise.
3417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3418         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
3419         compat_symbol macro.
3420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3421         (__fe_nomask_env): Likewise.
3422         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
3424 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3426         * string/Makefile: Remove ifunc tests.
3427         * string/test-string.h: Define TEST_IFUNC.
3428         * string/test-bcopy-ifunc.c: Remove.
3429         * string/test-bzero-ifunc.c: Likewise.
3430         * string/test-memccpy-ifunc.c: Likewise.
3431         * string/test-memchr-ifunc.c: Likewise.
3432         * string/test-memcmp-ifunc.c: Likewise.
3433         * string/test-memcpy-ifunc.c: Likewise.
3434         * string/test-memmem-ifunc.c: Likewise.
3435         * string/test-memmove-ifunc.c: Likewise.
3436         * string/test-mempcpy-ifunc.c: Likewise.
3437         * string/test-memrchr-ifunc.c: Likewise.
3438         * string/test-memset-ifunc.c: Likewise.
3439         * string/test-rawmemchr-ifunc.c: Likewise.
3440         * string/test-stpcpy-ifunc.c: Likewise.
3441         * string/test-stpncpy-ifunc.c: Likewise.
3442         * string/test-strcasecmp-ifunc.c: Likewise.
3443         * string/test-strcasestr-ifunc.c: Likewise.
3444         * string/test-strcat-ifunc.c: Likewise.
3445         * string/test-strchr-ifunc.c: Likewise.
3446         * string/test-strchrnul-ifunc.c: Likewise.
3447         * string/test-strcmp-ifunc.c: Likewise.
3448         * string/test-strcpy-ifunc.c: Likewise.
3449         * string/test-strcspn-ifunc.c: Likewise.
3450         * string/test-strlen-ifunc.c: Likewise.
3451         * string/test-strncasecmp-ifunc.c: Likewise.
3452         * string/test-strncat-ifunc.c: Likewise.
3453         * string/test-strncmp-ifunc.c: Likewise.
3454         * string/test-strncpy-ifunc.c: Likewise.
3455         * string/test-strnlen-ifunc.c: Likewise.
3456         * string/test-strpbrk-ifunc.c: Likewise.
3457         * string/test-strrchr-ifunc.c: Likewise.
3458         * string/test-strspn-ifunc.c: Likewise.
3459         * string/test-strstr-ifunc.c: Likewise.
3461 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3463         * benchtests/Makefile: Remove ifunc tests.
3464         * benchtests/bench-string.h: Define TEST_IFUNC.
3465         * benchtests/bench-bcopy-ifunc.c: Remove.
3466         * benchtests/bench-bzero-ifunc.c: Likewise.
3467         * benchtests/bench-memccpy-ifunc.c: Likewise.
3468         * benchtests/bench-memchr-ifunc.c: Likewise.
3469         * benchtests/bench-memcmp-ifunc.c: Likewise.
3470         * benchtests/bench-memcpy-ifunc.c: Likewise.
3471         * benchtests/bench-memmem-ifunc.c: Likewise.
3472         * benchtests/bench-memmove-ifunc.c: Likewise.
3473         * benchtests/bench-mempcpy-ifunc.c: Likewise.
3474         * benchtests/bench-memrchr-ifunc.c: Likewise.
3475         * benchtests/bench-memset-ifunc.c: Likewise.
3476         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
3477         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
3478         * benchtests/bench-stpcpy-ifunc.c: Likewise.
3479         * benchtests/bench-stpncpy-ifunc.c: Likewise.
3480         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
3481         * benchtests/bench-strcasestr-ifunc.c: Likewise.
3482         * benchtests/bench-strcat-ifunc.c: Likewise.
3483         * benchtests/bench-strchr-ifunc.c: Likewise.
3484         * benchtests/bench-strchrnul-ifunc.c: Likewise.
3485         * benchtests/bench-strcmp-ifunc.c: Likewise.
3486         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
3487         * benchtests/bench-strcpy-ifunc.c: Likewise.
3488         * benchtests/bench-strcspn-ifunc.c: Likewise.
3489         * benchtests/bench-strlen-ifunc.c: Likewise.
3490         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
3491         * benchtests/bench-strncat-ifunc.c: Likewise.
3492         * benchtests/bench-strncmp-ifunc.c: Likewise.
3493         * benchtests/bench-strncpy-ifunc.c: Likewise.
3494         * benchtests/bench-strnlen-ifunc.c: Likewise.
3495         * benchtests/bench-strpbrk-ifunc.c: Likewise.
3496         * benchtests/bench-strrchr-ifunc.c: Likewise.
3497         * benchtests/bench-strsep-ifunc.c: Likewise.
3498         * benchtests/bench-strspn-ifunc.c: Likewise.
3499         * benchtests/bench-strstr-ifunc.c: Likewise.
3501 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3503         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
3505 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3507         * resolv/netdb.h: Use __glibc_reserved instead __unused.
3508         * rt/aio.h: Likewise.
3509         * sysdeps/gnu/bits/utmp.h: Likewise.
3510         * sysdeps/gnu/bits/utmpx.h: Likewise.
3511         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3512         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
3513         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
3514         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
3515         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
3516         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
3517         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
3518         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
3519         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
3520         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
3521         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
3522         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
3523         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
3524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
3525         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3526         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
3527         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
3528         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
3529         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
3530         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
3531         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
3532         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
3533         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
3534         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3535         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
3536         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3537         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
3538         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
3539         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
3540         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
3541         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
3542         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
3543         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
3544         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3545         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
3546         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
3547         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
3548         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
3549         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
3550         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
3551         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3552         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3554 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
3556         [BZ #16245]
3557         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
3558         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
3560 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
3562         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
3563         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3564         Likewise.
3566 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3568         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
3569         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
3570         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
3571         (__fesetround): Remove define.
3572         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
3573         rounding and exceptions handling.
3574         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
3575         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
3576         (__fe_nomask_env): Likewise.
3577         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
3578         __fegetround instead of fegetround.
3579         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3580         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3582 2013-11-21  Roland McGrath  <roland@hack.frob.com>
3584         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
3585         it's there.
3587         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
3589 2013-11-21  Meador Inge  <meadori@codesourcery.com>
3591         [BZ #11157]
3592         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
3593         (encrypt_r): Likewise.
3594         * malloc/obstack.h (obstack_free): Likewise.
3595         * posix/unistd.h (encrypt): Likewise.
3597 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
3599         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
3600         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
3601         DL_CALL_DT_FINI() that call the functions directly.
3602         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
3603         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
3604         * elf/dl-fini.c: Likewise.
3606 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
3608         * malloc/hooks.c (memalign_check): Add alignment rounding.
3609         * malloc/malloc.c (_mid_memalign): New function.
3610         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
3611         Implement by calling _mid_memalign.
3612         * manual/probes.texi (Memory Allocation Probes): Remove
3613         memory_valloc_retry and memory_pvalloc_retry.
3615 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
3617         * locale/programs/locarchive.c (open_archive): Add const
3618         qualifier to ARCHIVEFNAME and copy default fname to
3619         DEFAULT_FNAME.
3621         [BZ #15601]
3622         * libio/tst-widetext.input: Rename Oriya to Odia.
3623         * locale/iso-639.def: Likewise.
3625         * manual/probes.texi (Mathematical Function Probes): Add
3626         documentation for sin, cos, asin and acos probes.
3627         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
3628         (__sin32): Add slowasin probe.
3629         (__cos32): Add slowacos probe.
3630         (__mpsin): Add slowsin probe.
3631         (__mpcos): Add slowcos probe.
3633 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
3635         [BZ #15483]
3636         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
3637         thread-local __sim_exceptions_thread and global
3638         __sim_exceptions_global.
3639         (__sim_disabled_exceptions): Change to thread-local
3640         __sim_disabled_exceptions_thread and global
3641         __sim_disabled_exceptions_global.
3642         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3643         and global __sim_round_mode_global.
3644         (__simulate_exceptions): Use thread-local floating-point state and
3645         set global state from it as needed.
3646         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
3647         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
3648         __sim_round_mode_thread.
3649         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
3650         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
3651         and global __sim_exceptions_global.
3652         (__sim_disabled_exceptions): Change to thread-local
3653         __sim_disabled_exceptions_thread and global
3654         __sim_disabled_exceptions_global.
3655         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3656         and global __sim_round_mode_global.
3657         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
3658         (SIM_SET_GLOBAL): Likewise.
3659         * sysdeps/powerpc/soft-fp/sfp-machine.h
3660         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
3661         __sim_round_mode_thread.
3662         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
3663         __sim_disabled_exceptions_thread.
3664         (__sim_exceptions): Change to __sim_exceptions_thread.
3665         (__sim_disabled_exceptions): Change to
3666         __sim_disabled_exceptions_thread.
3667         (__sim_round_mode): Change to __sim_round_mode_thread.
3668         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
3669         thread-local floating-point state and set global state from it as
3670         needed.
3671         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
3672         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
3673         (__sim_disabled_exceptions): Remove extern declaration.
3674         (feenableexcept): Use thread-local floating-point state and set
3675         global state from it as needed.
3676         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
3677         extern declaration.
3678         (__sim_disabled_exceptions): Likewise.
3679         (__sim_round_mode): Likewise.
3680         (__fegetenv): Use thread-local floating-point state.
3681         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
3682         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3683         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
3684         floating-point state and set global state from it as needed.
3685         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
3686         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3687         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
3688         Likewise.
3689         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3690         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
3691         Likewise.
3692         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
3693         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
3694         Use __sim_round_mode_thread.
3695         * math/test-fenv-tls.c: New file.
3696         * math/Makefile (tests): Add test-fenv-tls.
3697         ($(objpfx)test-fenv-tls): Depend on
3698         $(common-objpfx)nptl/libpthread.so.
3700 2013-11-19  Andreas Schwab  <schwab@suse.de>
3702         * locale/programs/locale.c (show_info): Decode wordarray elements.
3703         * locale/categories.def (LC_MONETARY): Add element for
3704         _NL_MONETARY_CRNCYSTR.
3705         * locale/C-monetary.c (conversion_rate): New variable.
3706         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
3707         element.
3709 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
3711         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
3712         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
3714 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
3716         * elf/Makefile (tst-auxv): New test.
3717         * elf/tst-auxv.c: New
3718         * elf/rtld.c (dl_main): Adjust AT_EXECFN
3720 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
3722         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
3723         (hidden_proto): Caller changed.
3724         (hidden_tls_proto): New macro.
3725         (libc_hidden_tls_proto): Likewise.
3726         (rtld_hidden_tls_proto): Likewise.
3727         (libm_hidden_tls_proto): Likewise.
3728         (libresolv_hidden_tls_proto): Likewise.
3729         (librt_hidden_tls_proto): Likewise.
3730         (libdl_hidden_tls_proto): Likewise.
3731         (libnss_files_hidden_tls_proto): Likewise.
3732         (libnsl_hidden_tls_proto): Likewise.
3733         (libnss_nisplus_hidden_tls_proto): Likewise.
3734         (libutil_hidden_tls_proto): Likewise.
3736 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
3738         [BZ #10253]
3739         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
3740         (decompose_rpath): Defer expansion to fillin_rpath.
3741         (_dl_init_paths): Pass linkmap to fillin_rpath.
3743 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3745         * benchtests/Makefile: Add strsep.
3746         * benchtests/bench-strsep.c: New file: strsep benchtest.
3747         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
3749 2013-11-18  Andreas Schwab  <schwab@suse.de>
3751         * locale/programs/locale.c (show_info) [case byte]: Check for
3752         '\377' instead of '\177'.
3753         * locale/C-monetary.c (not_available): Always use "\377".
3754         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
3755         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
3756         detect unavailable sign_posn locale elements.
3757         * locale/localeconv.c (__localeconv): For grouping and
3758         mon_grouping handle "\177" and "\377" like no grouping.
3759         (INT_ELEM): New macro.  Use it to set all numeric members.
3760         * locale/programs/ld-monetary.c (monetary_read)
3761         <tok_mon_grouping>: Normalize single -1 to the empty string.
3762         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
3763         Likewise.
3765 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
3767         [BZ #16055]
3768         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
3769         when we match (nil).
3770         * stdio-common/tst-sscanf.c (struct test): Add testcase.
3772 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
3774         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3775         (NO_TEST_INLINE): Update value.
3776         (ERRNO_UNCHANGED): Likewise.
3777         (ERRNO_EDOM): Likewise.
3778         (ERRNO_ERANGE): Likewise.
3779         (IGNORE_RESULT): Likewise.
3780         (check_float_internal): Check signs of NaN results if
3781         TEST_NAN_SIGN used.
3782         (check_complex): Pass TEST_NAN_SIGN flag through to second
3783         check_float_internal call.
3784         (copysign_test_data): Add tests with quiet NaNs as second
3785         argument.  Use TEST_NAN_SIGN.
3786         (fabs_test_data): Add test of negative quiet NaN argument.  Use
3787         TEST_NAN_SIGN.
3788         (signbit_test_data): Add tests of quiet NaN argument.
3789         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3791         * math/gen-libm-test.pl (show_exceptions): Take extra argument
3792         $ignore_result.
3793         (parse_args): Handle function results specified as IGNORE.
3794         * math/libm-test.inc (IGNORE_RESULT): New macro.
3795         (check_float_internal): Do not check numerical result if flag
3796         IGNORE_RESULT set.
3797         (check_complex): Pass through IGNORE_RESULT to second
3798         check_float_internal call.
3799         (check_int): Do not check numerical result if flag IGNORE_RESULT
3800         set.
3801         (check_long): Likewise.
3802         (check_bool): Likewise.
3803         (check_longlong): Likewise.
3804         (lrint_test_data): Add tests of infinite and NaN arguments.
3805         (lrint_tonearest_test_data): Likewise.
3806         (lrint_towardzero_test_data): Likewise.
3807         (lrint_downward_test_data): Likewise.
3808         (lrint_upward_test_data): Likewise.
3809         (llrint_test_data): Likewise.
3810         (llrint_tonearest_test_data): Likewise.
3811         (llrint_towardzero_test_data): Likewise.
3812         (llrint_downward_test_data): Likewise.
3813         (llrint_upward_test_data): Likewise.
3814         (lround_test_data): Likewise.
3815         (llround_test_data): Likewise.
3817         * math/libm-test.inc (NO_TEST_INLINE): New macro.
3818         (ERRNO_UNCHANGED): Update value.
3819         (ERRNO_EDOM): Likewise.
3820         (ERRNO_ERANGE): Likewise.
3821         (NO_TEST_INLINE_FLOAT): New macro.
3822         (NO_TEST_INLINE_DOUBLE): Likewise.
3823         (enable_test): New function.
3824         (RUN_TEST_f_f): Check enable_test before running test.
3825         (RUN_TEST_2_f): Likewise.
3826         (RUN_TEST_fff_f): Likewise.
3827         (RUN_TEST_c_f): Likewise.
3828         (RUN_TEST_f_f1): Likewise.
3829         (RUN_TEST_fF_f1): Likewise.
3830         (RUN_TEST_fI_f1): Likewise.
3831         (RUN_TEST_ffI_f1): Likewise.
3832         (RUN_TEST_c_c): Likewise.
3833         (RUN_TEST_cc_c): Likewise.
3834         (RUN_TEST_f_i): Likewise.
3835         (RUN_TEST_f_i_tg): Likewise.
3836         (RUN_TEST_ff_i_tg): Likewise.
3837         (RUN_TEST_f_b): Likewise.
3838         (RUN_TEST_f_b_tg): Likewise.
3839         (RUN_TEST_f_l): Likewise.
3840         (RUN_TEST_f_L): Likewise.
3841         (RUN_TEST_fFF_11): Likewise.
3842         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3843         conditionals.
3844         (cosh_test_data): Likewise.
3845         (exp_test_data): Likewise.
3846         (expm1_test_data): Likewise.
3847         (hypot_test_data): Likewise.
3848         (pow_test_data): Likewise.
3849         (sinh_test_data): Likewise.
3850         (tanh_test_data): Likewise.
3851         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3852         flags argument.
3854         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3855         tests with quiet NaN input and output.
3856         (acosh_test_data): Likewise.
3857         (asin_test_data): Likewise.
3858         (asinh_test_data): Likewise.
3859         (atan_test_data): Likewise.
3860         (atanh_test_data): Likewise.
3861         (atan2_test_data): Likewise.
3862         (cbrt_test_data): Likewise.
3863         (cos_test_data): Likewise.
3864         (cosh_test_data): Likewise.
3865         (erf_test_data): Likewise.
3866         (erfc_test_data): Likewise.
3867         (exp_test_data): Likewise.
3868         (exp10_test_data): Likewise.
3869         (exp2_test_data): Likewise.
3870         (expm1_test_data): Likewise.
3871         (hypot_test_data): Likewise.
3872         (j0_test_data): Likewise.
3873         (j1_test_data): Likewise.
3874         (jn_test_data): Likewise.
3875         (lgamma_test_data): Likewise.
3876         (log_test_data): Likewise.
3877         (log10_test_data): Likewise.
3878         (log1p_test_data): Likewise.
3879         (log2_test_data): Likewise.
3880         (pow_test_data): Likewise.
3881         (scalb_test_data): Likewise.
3882         (sin_test_data): Likewise.
3883         (sincos_test_data): Likewise.
3884         (sinh_test_data): Likewise.
3885         (tan_test_data): Likewise.
3886         (tanh_test_data): Likewise.
3887         (tgamma_test_data): Likewise.
3888         (y0_test_data): Likewise.
3889         (y1_test_data): Likewise.
3890         (yn_test_data): Likewise.
3892         [BZ #16167]
3893         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3894         argument being NaN and avoid computations with second argument in
3895         that case.
3896         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3897         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3898         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3900 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
3902         * locale/iso-639.def: Add Chitwani Tharu (the).
3904 2013-11-14  Andreas Schwab  <schwab@suse.de>
3906         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3907         word instead of empty string.
3909 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3912         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3914         (__fe_nomask_env): Likewise.
3916 2013-11-13  Steve Ellcey  <sellcey@mips.com>
3918         * benchtests/bench-timing.h: Include time.h.
3920 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
3922         [BZ #15997]
3923         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3924         to 3.4.0 for x32.
3925         * sysdeps/unix/sysv/linux/configure: Regenerated.
3927 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
3929         [BZ #16151]
3930         * stdlib/strtod_l.c (round_and_return): Do not consider
3931         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3932         exponent one less than half the least subnormal exponent.
3933         * stdlib/test-strtod-round-data: Add more tests.
3934         * stdlib/tst-strtod-round.c (tests): Regenerated.
3936 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3938         [BZ #14143]
3939         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3940         (__fe_mask_env): Likewise.
3941         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3942         libm_hidden_proto and add function prototype.
3943         (__fe_mask_env): Add function prototype.
3944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3945         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3947         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3949         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3951 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3953         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
3954         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3956 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3958         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3959         of htab_find_slot().
3961 2013-11-11  David S. Miller  <davem@davemloft.net>
3963         [BZ #16150]
3964         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3965         symbol in the non-vis3 case in static builds.
3966         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3967         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3968         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3969         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3971 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
3973         [BZ #387]
3974         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3975         it is empty.
3977 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3979         * benchtests/Makefile: Add bench-strtod.
3980         * benchtests/bench-strtod.c: New file: strtod benchtest
3982 2013-11-11  Andreas Schwab  <schwab@suse.de>
3984         [BZ #16153]
3985         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3986         terminating NUL in key length.
3988 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3990         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3991         Add artificial ODP entry for vDSO symbol for PPC64.
3992         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3993         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3995 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
3997         [BZ #15374]
3998         * nss/getent.c (services_keys): Recognize services starting with digit.
4000 2013-11-06  David S. Miller  <davem@davemloft.net>
4002         [BZ #15985]
4003         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
4004         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
4006 2013-11-06  Will Newton  <will.newton@linaro.org>
4008         * manual/memory.texi (Malloc Examples): Remove register
4009         keyword from examples.
4011 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
4013         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
4015 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
4017         [BZ #6981]
4018         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
4019         depending on [__GCC_IEC_559 > 0].
4020         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
4021         depending on [__GCC_IEC_559_COMPLEX > 0].
4023 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
4025         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
4026         to iso-639.def.
4028 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
4030         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
4032 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
4034         [BZ #16112]
4035         * malloc/malloc (malloc_info): Do not handle first bin as
4036         special case.
4038 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
4040         * locale/iso-639.def: Add Central Nahuatl (nhn).
4042 2013-11-01  Bruno Haible  <bruno@clisp.org>
4044         [BZ #7003]
4045         * manual/math.texi (BSD Random): Specify range upper bound as
4046         in POSIX.
4048 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
4050         * locale/iso-639.def: Add Meadow Mari (mhr).
4052 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
4054         [BZ #14752], [BZ #15763]
4055         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
4056         Validate name.
4057         * rt/tst_shm.c: Add test for escaping directory.
4059 2013-10-31  Andreas Schwab  <schwab@suse.de>
4061         [BZ #15917]
4062         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
4063         followed by 'x' as part of digit sequence.
4064         * stdio-common/tst-sscanf.c (double_tests2): New tests.
4066 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
4068         [BZ #16037]
4069         * configure.ac: allow GNU Make 4.0 and greater.
4070         * configure: Regenerated.
4072 2013-10-30  Will Newton  <will.newton@linaro.org>
4074         [BZ #16038]
4075         * malloc/hooks.c (memalign_check): Limit alignment to the
4076         maximum representable power of two.
4077         * malloc/malloc.c (__libc_memalign): Likewise.
4078         * malloc/tst-memalign.c (do_test): Add test for very
4079         large alignment values.
4080         * malloc/tst-posix_memalign.c (do_test): Likewise.
4082 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
4084         [BZ #11087]
4085         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
4086         (munmap_chunk): Likewise.
4087         (mremap_chunk): Likewise.
4089 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
4091         [BZ #15799]
4092         * stdlib/div.c (div): Remove obsolete code.
4093         * stdlib/ldiv.c (ldiv): Likewise.
4094         * stdlib/lldiv.c (lldiv): Likewise.
4096 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4098         [BZ #16071]
4099         * nss/nss_files/files-XXX.c (get_contents_ret): New
4100         enumerator.
4101         (get_contents): New function.
4102         (internal_getent): Use it.  Expand size of LINEBUFLEN.
4104 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
4106         * configure.in: Moved to ...
4107         * configure.ac: ... here. Change reference to configure.in
4108         to configure.ac.
4109         * sysdeps/arm/preconfigure.ac: ... here.
4110         configure.in to configure.ac.
4111         * sysdeps/gnu/configure.in: Moved to ...
4112         * sysdeps/gnu/configure.ac: ... here.
4113         * sysdeps/i386/configure.in: Moved to ...
4114         * sysdeps/i386/configure.ac: ... here.
4115         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
4116         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
4117         * sysdeps/mach/configure.in: Moved to ...
4118         * sysdeps/mach/configure.ac: ... here.
4119         * sysdeps/mach/hurd/configure.in: Moved to ...
4120         * sysdeps/mach/hurd/configure.ac: ... here.
4121         * sysdeps/powerpc/configure.in: Moved to ...
4122         * sysdeps/powerpc/configure.ac: ... here.
4123         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
4124         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
4125         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
4126         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
4127         * sysdeps/s390/s390-32/configure.in: Moved to ...
4128         * sysdeps/s390/s390-32/configure.ac: ... here.
4129         * sysdeps/s390/s390-64/configure.in: Moved to ...
4130         * sysdeps/s390/s390-64/configure.ac: ... here.
4131         * sysdeps/sh/configure.in: Moved to ...
4132         * sysdeps/sh/configure.ac: ... here.
4133         * sysdeps/sparc/configure.in: Moved to ...
4134         * sysdeps/sparc/configure.ac: ... here.
4135         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
4136         * sysdeps/unix/sysv/linux/configure.ac: ... here.
4137         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
4138         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
4139         * sysdeps/x86_64/configure.in: Moved to ...
4140         * sysdeps/x86_64/configure.ac: ... here.
4141         * sysdeps/x86_64/preconfigure.in: Moved to ...
4142         * sysdeps/x86_64/preconfigure.ac: ... here.
4143         * aclocal.m4: Change reference to configure.in to configure.ac.
4144         * config.h.in: Likewise.
4145         * manual/install.texi: Likewise.
4146         * manual/maint.texi: Likewise.
4147         * Makefile: Likewise.
4148         * malloc/Makefile: Likewise.
4149         * nscd/Makefile: Likewise.
4150         * Makeconfig: Change reference to configure.in and
4151         preconfigure.in to configure.ac and preconfigure.ac
4152         respectively.
4153         * INSTALL: Regenerated.
4154         * configure: Likewise.
4155         * sysdeps/gnu/configure: Likewise.
4156         * sysdeps/i386/configure: Likewise.
4157         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
4158         * sysdeps/mach/configure: Likewise.
4159         * sysdeps/mach/hurd/configure: Likewise.
4160         * sysdeps/powerpc/configure: Likewise.
4161         * sysdeps/powerpc/powerpc32/configure: Likewise.
4162         * sysdeps/powerpc/powerpc64/configure: Likewise.
4163         * sysdeps/s390/s390-32/configure: Likewise.
4164         * sysdeps/s390/s390-64/configure: Likewise.
4165         * sysdeps/sh/configure: Likewise.
4166         * sysdeps/sparc/configure: Likewise.
4167         * sysdeps/unix/sysv/linux/configure: Likewise.
4168         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
4169         * sysdeps/x86_64/configure: Likewise.
4170         * sysdeps/x86_64/preconfigure: Likewise.
4172 2013-10-29  Andreas Schwab  <schwab@suse.de>
4174         * stdio-common/Makefile (tst-swscanf-ENV): Define.
4176 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4178         * benchtests/pow-inputs: Add new inputs.
4180         * benchtests/exp-inputs: Add new inputs.
4182         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
4183         conditional check for return value.
4184         (__cos32): Likewise.
4186 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4188         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
4189         to provide a boost for large inputs with word alignment.
4190         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
4191         implementation based on optimized PPC64 strcpy.
4192         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
4193         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
4194         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
4195         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
4197 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
4199         [BZ #2801]
4200         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
4202 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
4204         [BZ #14876]
4205         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
4206         * time/tst-strptime.c (day_tests): Add testcase.
4208 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
4210         [BZ #14029]
4211         * manual/pattern.texi: Acknowledge that fnmatch can fail.
4213 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
4215         [BZ #16074]
4216         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
4217         MAP_FAILED on error.
4219 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
4221         [BZ #16072]
4222         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
4223         heap for large requests.
4225 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
4227         [BZ #9954]
4228         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
4229         result if the result has no associated interface.
4230         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
4231         interface for all 127.X.Y.Z addresses.
4233 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
4235         * locale/iso-639.def: Add Ligurian (lij)
4237 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
4239         [BZ #15825]
4240         * sunrpc/rpc_main.c: Document rpcgen -5.
4242 2013-10-19  Michael Stahl  <mstahl@redhat.com>
4244         * elf/rtld.c (do_preload): Print the reason why preloading failed.
4246 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
4248         [BZ #10278]
4249         * posix/glob.c: Match only directories when trailing slash is present.
4250         * posix/tst-gnuglob.c (my_opendir): Do not open files.
4251         (main): Add testcase.
4253 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
4255         [BZ #15670]
4256         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
4258 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
4260         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
4261         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
4262         AUTH_DES and cindex for FIPS 140-2.
4263         (DES Encryption): Add cindex FIPS 46-3.
4265         * locale/locarchive.h (struct locarhandle): Add fname.
4266         * locale/programs/localedef.c (main): Pass ARGV[remaining]
4267         if an optional argument was specified to --list-archive,
4268         otherwise NULL.
4269         * locale/programs/locarchive.c (show_archive_content): Take new
4270         argument fname and pass it via ah.fname to open_archive.
4271         * locale/programs/localedef.h: Update decl.
4272         (open_archive): If AH->fname is non-null, open that file
4273         rather than the default file name, and don't ignore ENOENT.
4274         (create_archive): Set AH.fname to NULL.
4275         (delete_locales_from_archive): Likewise.
4276         (add_locales_to_archive): Likewise.
4277         * locale/programs/locfile.c (write_all_categories): Likewise.
4279 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
4280             Aldy Hernandez  <aldyh@redhat.com>
4282         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
4283         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
4284         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
4285         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
4286         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
4287         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
4288         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
4289         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
4290         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
4291         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
4292         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
4293         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
4294         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
4295         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
4296         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
4297         Likewise.
4298         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
4299         Likewise.
4300         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
4301         Likewise.
4302         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
4303         Likewise.
4304         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
4305         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
4306         Likewise.
4307         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
4308         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
4309         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
4310         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
4311         Likewise.
4312         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
4313         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
4314         * sysdeps/powerpc/preconfigure: Likewise.
4315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
4316         Likewise.
4317         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
4318         Replace contents of file by #include of <fenv_libc.h>.
4319         * sysdeps/powerpc/soft-fp/sfp-machine.h
4320         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
4321         and <sys/prctl.h>.
4322         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
4323         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
4324         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
4325         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
4326         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
4327         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
4328         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
4329         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
4330         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
4331         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
4332         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
4333         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
4334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4335         Allow copysignl PLT reference to be missing.
4337 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
4338             Joseph Myers  <joseph@codesourcery.com
4340         [BZ #15948]
4341         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
4342         single character.
4343         (add_to_tablewc): Assert sequence of wide characters is nonempty.
4345 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4347         * elf/tst-tls-dlinfo.c: Don't include tls.h.
4348         * elf/tst-tls1.c: Likewise.
4349         * elf/tst-tls10.h: Likewise.
4350         * elf/tst-tls14.c: Likewise.
4351         * elf/tst-tls2.c: Likewise.
4352         * elf/tst-tls3.c: Likewise.
4353         * elf/tst-tls4.c: Likewise.
4354         * elf/tst-tls5.c: Likewise.
4355         * elf/tst-tls6.c: Likewise.
4356         * elf/tst-tls7.c: Likewise.
4357         * elf/tst-tls8.c: Likewise.
4358         * elf/tst-tls9.c: Likewise.
4359         * elf/tst-tlsmod1.c: Likewise.
4360         * elf/tst-tlsmod13.c: Likewise.
4361         * elf/tst-tlsmod13a.c: Likewise.
4362         * elf/tst-tlsmod14a.c: Likewise.
4363         * elf/tst-tlsmod16a.c: Likewise.
4364         * elf/tst-tlsmod16b.c: Likewise.
4365         * elf/tst-tlsmod2.c: Likewise.
4366         * elf/tst-tlsmod3.c: Likewise.
4367         * elf/tst-tlsmod4.c: Likewise.
4368         * elf/tst-tlsmod5.c: Likewise.
4369         * elf/tst-tlsmod6.c: Likewise.
4371 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
4373         [BZ #12486]
4374         * malloc/malloc.c: remove checks for statistics.
4376 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
4378         [BZ #15277]
4379         * inet/inet_net.c (inet_network): Detect additional invalid strings.
4380         * inet/tst-network.c: Add testcase.
4382 2013-10-17  Andreas Schwab  <schwab@suse.de>
4384         [BZ #15218]
4385         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
4386         to determine canonical name.
4388 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
4390         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
4391         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
4392         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4393         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4394         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4395         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4396         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4397         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4398         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4399         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4400         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4401         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4402         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4403         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4404         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4405         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4406         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4407         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4408         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4409         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4410         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4411         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4412         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4413         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
4414         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
4415         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4416         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4417         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
4418         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4419         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
4420         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4421         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4422         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4423         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4424         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4425         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4426         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4427         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4428         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4429         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4430         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4431         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4432         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4433         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4434         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4435         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4436         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4437         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4438         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4439         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4440         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4441         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4442         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4443         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4444         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4445         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4446         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4447         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4449 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
4451         [BZ #16041]
4452         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
4453         make result into a quiet NaN.
4455 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
4457         * soft-fp/adddf3.c: Fix horizontal whitespace.
4458         * soft-fp/addsf3.c: Likewise.
4459         * soft-fp/addtf3.c: Likewise.
4460         * soft-fp/divdf3.c: Likewise.
4461         * soft-fp/divsf3.c: Likewise.
4462         * soft-fp/divtf3.c: Likewise.
4463         * soft-fp/double.h: Likewise.
4464         * soft-fp/eqdf2.c: Likewise.
4465         * soft-fp/eqsf2.c: Likewise.
4466         * soft-fp/eqtf2.c: Likewise.
4467         * soft-fp/extenddftf2.c: Likewise.
4468         * soft-fp/extended.h: Likewise.
4469         * soft-fp/extendsfdf2.c: Likewise.
4470         * soft-fp/extendsftf2.c: Likewise.
4471         * soft-fp/extendxftf2.c: Likewise.
4472         * soft-fp/fixdfdi.c: Likewise.
4473         * soft-fp/fixdfsi.c: Likewise.
4474         * soft-fp/fixdfti.c: Likewise.
4475         * soft-fp/fixsfdi.c: Likewise.
4476         * soft-fp/fixsfsi.c: Likewise.
4477         * soft-fp/fixsfti.c: Likewise.
4478         * soft-fp/fixtfdi.c: Likewise.
4479         * soft-fp/fixtfsi.c: Likewise.
4480         * soft-fp/fixtfti.c: Likewise.
4481         * soft-fp/fixunsdfdi.c: Likewise.
4482         * soft-fp/fixunsdfsi.c: Likewise.
4483         * soft-fp/fixunsdfti.c: Likewise.
4484         * soft-fp/fixunssfdi.c: Likewise.
4485         * soft-fp/fixunssfsi.c: Likewise.
4486         * soft-fp/fixunssfti.c: Likewise.
4487         * soft-fp/fixunstfdi.c: Likewise.
4488         * soft-fp/fixunstfsi.c: Likewise.
4489         * soft-fp/fixunstfti.c: Likewise.
4490         * soft-fp/floatdidf.c: Likewise.
4491         * soft-fp/floatdisf.c: Likewise.
4492         * soft-fp/floatditf.c: Likewise.
4493         * soft-fp/floatsidf.c: Likewise.
4494         * soft-fp/floatsisf.c: Likewise.
4495         * soft-fp/floatsitf.c: Likewise.
4496         * soft-fp/floattidf.c: Likewise.
4497         * soft-fp/floattisf.c: Likewise.
4498         * soft-fp/floattitf.c: Likewise.
4499         * soft-fp/floatundidf.c: Likewise.
4500         * soft-fp/floatundisf.c: Likewise.
4501         * soft-fp/floatunditf.c: Likewise.
4502         * soft-fp/floatunsidf.c: Likewise.
4503         * soft-fp/floatunsisf.c: Likewise.
4504         * soft-fp/floatunsitf.c: Likewise.
4505         * soft-fp/floatuntidf.c: Likewise.
4506         * soft-fp/floatuntisf.c: Likewise.
4507         * soft-fp/floatuntitf.c: Likewise.
4508         * soft-fp/fmadf4.c: Likewise.
4509         * soft-fp/fmasf4.c: Likewise.
4510         * soft-fp/fmatf4.c: Likewise.
4511         * soft-fp/gedf2.c: Likewise.
4512         * soft-fp/gesf2.c: Likewise.
4513         * soft-fp/getf2.c: Likewise.
4514         * soft-fp/ledf2.c: Likewise.
4515         * soft-fp/lesf2.c: Likewise.
4516         * soft-fp/letf2.c: Likewise.
4517         * soft-fp/muldf3.c: Likewise.
4518         * soft-fp/mulsf3.c: Likewise.
4519         * soft-fp/multf3.c: Likewise.
4520         * soft-fp/negdf2.c: Likewise.
4521         * soft-fp/negsf2.c: Likewise.
4522         * soft-fp/negtf2.c: Likewise.
4523         * soft-fp/op-1.h: Likewise.
4524         * soft-fp/op-2.h: Likewise.
4525         * soft-fp/op-4.h: Likewise.
4526         * soft-fp/op-8.h: Likewise.
4527         * soft-fp/op-common.h: Likewise.
4528         * soft-fp/quad.h: Likewise.
4529         * soft-fp/single.h: Likewise.
4530         * soft-fp/soft-fp.h: Likewise.
4531         * soft-fp/sqrtdf2.c: Likewise.
4532         * soft-fp/sqrtsf2.c: Likewise.
4533         * soft-fp/sqrttf2.c: Likewise.
4534         * soft-fp/subdf3.c: Likewise.
4535         * soft-fp/subsf3.c: Likewise.
4536         * soft-fp/subtf3.c: Likewise.
4537         * soft-fp/truncdfsf2.c: Likewise.
4538         * soft-fp/trunctfdf2.c: Likewise.
4539         * soft-fp/trunctfsf2.c: Likewise.
4540         * soft-fp/trunctfxf2.c: Likewise.
4541         * soft-fp/unorddf2.c: Likewise.
4542         * soft-fp/unordsf2.c: Likewise.
4543         * soft-fp/unordtf2.c: Likewise.
4545 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
4547         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
4548         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
4550 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
4552         * elf/dl-libc.c: Clear initfini list after freeing.
4554 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
4556         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
4557         * soft-fp/addsf3.c: Likewise.
4558         * soft-fp/addtf3.c: Likewise.
4559         * soft-fp/divdf3.c: Likewise.
4560         * soft-fp/divsf3.c: Likewise.
4561         * soft-fp/divtf3.c: Likewise.
4562         * soft-fp/double.h: Likewise.
4563         * soft-fp/eqdf2.c: Likewise.
4564         * soft-fp/eqsf2.c: Likewise.
4565         * soft-fp/eqtf2.c: Likewise.
4566         * soft-fp/extenddftf2.c: Likewise.
4567         * soft-fp/extended.h: Likewise.
4568         * soft-fp/extendsfdf2.c: Likewise.
4569         * soft-fp/extendsftf2.c: Likewise.
4570         * soft-fp/extendxftf2.c: Likewise.
4571         * soft-fp/fixdfdi.c: Likewise.
4572         * soft-fp/fixdfsi.c: Likewise.
4573         * soft-fp/fixdfti.c: Likewise.
4574         * soft-fp/fixsfdi.c: Likewise.
4575         * soft-fp/fixsfsi.c: Likewise.
4576         * soft-fp/fixsfti.c: Likewise.
4577         * soft-fp/fixtfdi.c: Likewise.
4578         * soft-fp/fixtfsi.c: Likewise.
4579         * soft-fp/fixtfti.c: Likewise.
4580         * soft-fp/fixunsdfdi.c: Likewise.
4581         * soft-fp/fixunsdfsi.c: Likewise.
4582         * soft-fp/fixunsdfti.c: Likewise.
4583         * soft-fp/fixunssfdi.c: Likewise.
4584         * soft-fp/fixunssfsi.c: Likewise.
4585         * soft-fp/fixunssfti.c: Likewise.
4586         * soft-fp/fixunstfdi.c: Likewise.
4587         * soft-fp/fixunstfsi.c: Likewise.
4588         * soft-fp/fixunstfti.c: Likewise.
4589         * soft-fp/floatdidf.c: Likewise.
4590         * soft-fp/floatdisf.c: Likewise.
4591         * soft-fp/floatditf.c: Likewise.
4592         * soft-fp/floatsidf.c: Likewise.
4593         * soft-fp/floatsisf.c: Likewise.
4594         * soft-fp/floatsitf.c: Likewise.
4595         * soft-fp/floattidf.c: Likewise.
4596         * soft-fp/floattisf.c: Likewise.
4597         * soft-fp/floattitf.c: Likewise.
4598         * soft-fp/floatundidf.c: Likewise.
4599         * soft-fp/floatundisf.c: Likewise.
4600         * soft-fp/floatunsidf.c: Likewise.
4601         * soft-fp/floatunsisf.c: Likewise.
4602         * soft-fp/floatuntidf.c: Likewise.
4603         * soft-fp/floatuntisf.c: Likewise.
4604         * soft-fp/floatuntitf.c: Likewise.
4605         * soft-fp/fmadf4.c: Likewise.
4606         * soft-fp/fmasf4.c: Likewise.
4607         * soft-fp/fmatf4.c: Likewise.
4608         * soft-fp/gedf2.c: Likewise.
4609         * soft-fp/gesf2.c: Likewise.
4610         * soft-fp/getf2.c: Likewise.
4611         * soft-fp/ledf2.c: Likewise.
4612         * soft-fp/lesf2.c: Likewise.
4613         * soft-fp/letf2.c: Likewise.
4614         * soft-fp/muldf3.c: Likewise.
4615         * soft-fp/mulsf3.c: Likewise.
4616         * soft-fp/multf3.c: Likewise.
4617         * soft-fp/negdf2.c: Likewise.
4618         * soft-fp/negsf2.c: Likewise.
4619         * soft-fp/negtf2.c: Likewise.
4620         * soft-fp/op-1.h: Likewise.
4621         * soft-fp/op-2.h: Likewise.
4622         * soft-fp/op-4.h: Likewise.
4623         * soft-fp/op-8.h: Likewise.
4624         * soft-fp/op-common.h: Likewise.
4625         * soft-fp/quad.h: Likewise.
4626         * soft-fp/single.h: Likewise.
4627         * soft-fp/soft-fp.h: Likewise.
4628         * soft-fp/sqrtdf2.c: Likewise.
4629         * soft-fp/sqrtsf2.c: Likewise.
4630         * soft-fp/sqrttf2.c: Likewise.
4631         * soft-fp/subdf3.c: Likewise.
4632         * soft-fp/subsf3.c: Likewise.
4633         * soft-fp/subtf3.c: Likewise.
4634         * soft-fp/truncdfsf2.c: Likewise.
4635         * soft-fp/trunctfdf2.c: Likewise.
4636         * soft-fp/trunctfsf2.c: Likewise.
4637         * soft-fp/trunctfxf2.c: Likewise.
4638         * soft-fp/unorddf2.c: Likewise.
4639         * soft-fp/unordsf2.c: Likewise.
4640         * soft-fp/unordtf2.c: Likewise.
4642 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
4644         [BZ #15672]
4645         * misc/error.c (error_tail): Fix possible buffer overflow.
4647 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
4649         [BZ #13028]
4650         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
4651         address.
4653 2013-10-14  P. J. McDermott  <pj@pehjota.net>
4655         [BZ #832]
4656         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
4657         testing pipefail option.
4659 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
4661         * soft-fp/double.h: Indent preprocessor directives inside #if.
4662         * soft-fp/extended.h: Likewise.
4663         * soft-fp/op-2.h: Likewise.
4664         * soft-fp/op-4.h: Likewise.
4665         * soft-fp/op-common.h: Likewise.
4666         * soft-fp/quad.h: Likewise.
4667         * soft-fp/single.h: Likewise.
4668         * soft-fp/soft-fp.h: Likewise.
4670 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
4672         * iconv/iconv_prog.c: Fix typos.
4673         * stdio-common/psiginfo-data.h: Likewise.
4675 2013-10-12   Reuben Thomas <rrt@sc3d.org>
4677         [BZ #15764]
4678         * locale/setlocale.c: Fix typo.
4680 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
4682         [BZ #16036]
4683         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
4684         signaling NaN arguments.
4685         * soft-fp/unordsf2.c (__unordsf2): Likewise.
4686         * soft-fp/unordtf2.c (__unordtf2): Likewise.
4688         [BZ #14910]
4689         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
4690         unordered operands.
4691         * soft-fp/gesf2.c (__gesf2): Likewise.
4692         * soft-fp/getf2.c (__getf2): Likewise.
4693         * soft-fp/ledf2.c (__ledf2): Likewise.
4694         * soft-fp/lesf2.c (__lesf2): Likewise.
4695         * soft-fp/letf2.c (__letf2): Likewise.
4697         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
4698         * soft-fp/eqsf2.c (__eqsf2): Likewise.
4699         * soft-fp/eqtf2.c (__eqtf2): Likewise.
4700         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
4701         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
4702         * soft-fp/fixdfti.c (__fixdfti): Likewise.
4703         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
4704         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
4705         * soft-fp/fixsfti.c (__fixsfti): Likewise.
4706         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
4707         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
4708         * soft-fp/fixtfti.c (__fixtfti): Likewise.
4709         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
4710         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
4711         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
4712         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
4713         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
4714         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
4715         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
4716         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
4717         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
4718         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
4719         * soft-fp/floatdisf.c (__floatdisf): Likewise.
4720         * soft-fp/floatsisf.c (__floatsisf): Likewise.
4721         * soft-fp/floattidf.c (__floattidf): Likewise.
4722         * soft-fp/floattisf.c (__floattisf): Likewise.
4723         * soft-fp/floattitf.c (__floattitf): Likewise.
4724         * soft-fp/floatundidf.c (__floatundidf): Likewise.
4725         * soft-fp/floatundisf.c (__floatundisf): Likewise.
4726         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
4727         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
4728         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
4729         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
4730         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
4731         * soft-fp/gesf2.c (__gesf2): Likewise.
4732         * soft-fp/getf2.c (__getf2): Likewise.
4733         * soft-fp/ledf2.c (__ledf2): Likewise.
4734         * soft-fp/lesf2.c (__lesf2): Likewise.
4735         * soft-fp/letf2.c (__letf2): Likewise.
4737         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
4738         Undefine and redefine.
4739         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
4740         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
4741         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
4742         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
4743         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4744         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
4745         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4746         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
4747         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4748         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
4749         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4750         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
4751         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4752         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
4753         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4755         [BZ #16032]
4756         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
4757         without decrementing exponent if mantissa >= that for the
4758         denominator, not >.
4759         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
4760         denominator, not >.  Decrement exponent in < case instead of
4761         incrementing in >= case.
4762         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
4763         without decrementing exponent if mantissa >= that for the
4764         denominator, not >.
4766         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4767         computing saturated result for unsigned overflow.
4769 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4770             Jeff Law  <law@redhat.com>
4772         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
4773         (atan2Mp): Add systemtap probe marker.
4774         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4775         (__ieee754_log): Add systemtap probe marker.
4776         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4777         (atanMp): Add systemtap probe marker.
4778         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4779         (tanMp): Add systemtap probe marker.
4780         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4781         (__slowexp): Add systemtap probe marker.
4782         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4783         (__slowpow): Add systemtap probe marker.
4784         * manual/probes.texi: Document probes.
4786 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
4788         [BZ #15362]
4789         * libio/fileops.c (_IO_new_file_write): Return count of bytes
4790         written.
4791         (_IO_new_file_xsputn): Don't return EOF if nothing has been
4792         written.
4793         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4794         written to buffer but not flushed.
4795         * libio/iofwrite_u.c:  Likewise.
4796         * libio/iopadn.c:  Return bytes returned even if EOF was
4797         encountered.
4798         * libio/iowpadn.c:  Likewise.
4799         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4800         if _IO_padn does not write the whole buffer.
4801         [!COMPILE_WPRINTF] (PAD): Likewise.
4803 2013-10-10  David S. Miller  <davem@davemloft.net>
4805         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4806         directory block.
4808 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
4810         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
4811         instead of FSF address.
4812         * soft-fp/fixdfti.c: Likewise.
4813         * soft-fp/fixsfti.c: Likewise.
4814         * soft-fp/fixtfti.c: Likewise.
4815         * soft-fp/fixunsdfti.c: Likewise.
4816         * soft-fp/fixunssfti.c: Likewise.
4817         * soft-fp/fixunstfti.c: Likewise.
4818         * soft-fp/floattidf.c: Likewise.
4819         * soft-fp/floattisf.c: Likewise.
4820         * soft-fp/floattitf.c: Likewise.
4821         * soft-fp/floatuntidf.c: Likewise.
4822         * soft-fp/floatuntisf.c: Likewise.
4823         * soft-fp/floatuntitf.c: Likewise.
4824         * soft-fp/trunctfxf2.c: Likewise.
4826         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
4827         * soft-fp/fixdfti.c: Likewise.
4828         * soft-fp/fixsfti.c: Likewise.
4829         * soft-fp/fixtfti.c: Likewise.
4830         * soft-fp/fixunsdfti.c: Likewise.
4831         * soft-fp/fixunssfti.c: Likewise.
4832         * soft-fp/fixunstfti.c: Likewise.
4833         * soft-fp/floattidf.c: Likewise.
4834         * soft-fp/floattisf.c: Likewise.
4835         * soft-fp/floattitf.c: Likewise.
4836         * soft-fp/floatuntidf.c: Likewise.
4837         * soft-fp/floatuntisf.c: Likewise.
4838         * soft-fp/floatuntitf.c: Likewise.
4839         * soft-fp/trunctfxf2.c: Likewise.
4841 2013-10-10  David S. Miller  <davem@davemloft.net>
4843         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4845 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
4847         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4848         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4849         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4850         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4851         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4852         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4853         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4855         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4856         for NaNs before doing comparisons on argument.
4857         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4858         Likewise.
4860 2013-10-10  Will Newton  <will.newton@linaro.org>
4862         * malloc/hooks.c (memalign_check): Ensure the value of bytes
4863         passed to _int_memalign does not overflow.
4865 2013-10-10  Torvald Riegel  <triegel@redhat.com>
4867         * scripts/bench.pl: Add include-sources directive.
4868         * benchtests/README: Update documentation.
4870 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
4872         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4873         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4874         instead of FP_INIT_ROUNDMODE.
4875         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4876         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4878         [BZ #16034]
4879         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
4880         copy class of input value.
4881         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
4882         not handle exceptions.
4883         * soft-fp/negsf2.c (__negsf2): Likewise.
4884         * soft-fp/negtf2.c (__negtf2): Likewise.
4885         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4887 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
4889         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4890         semicolon.  From Linux kernel.
4892 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
4894         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4896 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
4898         [BZ #156]
4899         * manual/socket.texi: Added statement about buffer
4900         for gethostbyname2_r.
4902 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
4904         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4905         Use .p2align directive instead, throughout.
4906         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4907         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4908         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4909         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4910         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4911         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4912         * sysdeps/x86_64/strchr.S: Likewise.
4913         * sysdeps/x86_64/strrchr.S: Likewise.
4915 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
4917         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4919         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4921         * sysdeps/generic/math_private.h (__mpsin1): Remove
4922         declaration.
4923         (__mpcos1): Likewise.
4924         (__mpsin): New argument __range_reduce.
4925         (__mpcos): Likewise.
4926         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4927         (slow): Use __mpsin and __mpcos.
4928         (slow1): Likewise.
4929         (slow2): Likewise.
4930         (sloww): Likewise.
4931         (sloww1): Likewise.
4932         (sloww2): Likewise.
4933         (bsloww): Likewise.
4934         (bsloww1): Likewise.
4935         (bsloww2): Likewise.
4936         (cslow2): Likewise.
4937         (csloww): Likewise.
4938         (csloww1): Likewise.
4939         (csloww2): Likewise.
4940         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4941         range_reduce.  Merge in __mpsin1.
4942         (__mpcos): Likewise.
4943         (__mpsin1): Remove.
4944         (__mpcos1): Likewise.
4946 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
4948         * locale/loadlocale.c (_nl_intern_locale_data): Use
4949         LOCFILE_ALIGNED_P.
4950         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4951         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4952         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4953         obstack data is appropriately aligned.
4954         (obstack_int32_grow_fast): Likewise.
4955         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4956         * locale/programs/locfile.c (add_locale_uint32): Likewise.
4957         (add_locale_uint32_array): Likewise.
4959 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
4961         * benchtests/Makefile: Remove ARGLIST and RET variables.
4962         ($(objpfx)bench-%.c): Pass only function name to the script.
4963         * benchtests/README: Update documentation.
4964         * benchtests/acos-inputs: Add new directives.
4965         * benchtests/acosh-inputs: Likewise.
4966         * benchtests/asin-inputs: Likewise.
4967         * benchtests/asinh-inputs: Likewise.
4968         * benchtests/atan-inputs: Likewise.
4969         * benchtests/atanh-inputs: Likewise.
4970         * benchtests/cos-inputs: Likewise.
4971         * benchtests/cosh-inputs: Likewise.
4972         * benchtests/exp-inputs: Likewise.
4973         * benchtests/log-inputs: Likewise.
4974         * benchtests/pow-inputs: Likewise.
4975         * benchtests/rint-inputs: Likewise.
4976         * benchtests/sin-inputs: Likewise.
4977         * benchtests/sinh-inputs: Likewise.
4978         * benchtests/tan-inputs: Likewise.
4979         * benchtests/tanh-inputs: Likewise.
4980         * scripts/bench.pl: Add support for new directives.
4982 2013-10-07  Alan Modra  <amodra@gmail.com>
4984         * README: Fix careless merge.
4986 2013-10-05  Alan Modra  <amodra@gmail.com>
4988         * NEWS: Mention powerpc64le support and bugs fixed.
4989         * README: Both big-endian and little-endian powerpc64 supported.
4991 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4993         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4994         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4995         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4996         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4998 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
5000         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
5001         match prototype.
5003 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
5005         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
5006         Move -mhard-float appending from
5007         ports/sysdeps/powerpc/powerpc32/Makefile.
5008         [$(with-fp) = yes] (ASFLAGS): Likewise.
5009         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
5010         * sysdeps/powerpc/nofpu: Move directory from
5011         ports/sysdeps/powerpc/nofpu.
5012         * sysdeps/powerpc/soft-fp: Move directory from
5013         ports/sysdeps/powerpc/soft-fp.
5014         * sysdeps/powerpc/powerpc32/405: Move directory from
5015         ports/sysdeps/powerpc/powerpc32/405.
5016         * sysdeps/powerpc/powerpc32/440: Move directory from
5017         ports/sysdeps/powerpc/powerpc32/440.
5018         * sysdeps/powerpc/powerpc32/464: Move directory from
5019         ports/sysdeps/powerpc/powerpc32/464.
5020         * sysdeps/powerpc/powerpc32/476: Move directory from
5021         ports/sysdeps/powerpc/powerpc32/476.
5022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
5023         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
5024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
5025         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
5026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
5027         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
5028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
5029         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
5030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
5031         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
5032         * README: Update for powerpc-*-linux-gnu software floating point
5033         support in libc.
5035         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
5036         case to powerpc/powerpc32*.
5037         * sysdeps/unix/sysv/linux/configure: Regenerated.
5039         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
5040         (_FPU_MASK_OM): Define as 0x04.
5041         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
5042         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
5043         0x00c10080.
5044         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
5045         0x0000003c.
5046         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
5048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
5049         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
5050         getcontext_e500.
5051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
5052         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
5053         setcontext_e500.
5054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
5055         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
5056         and setcontext_e500.
5058 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
5060         * locale/iso-3166.def: Update iso-1366.def and related occurrences
5062 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
5064         * manual/threads.texi (Default Thread Attributes): Fix typo.
5066 2013-10-04  Will Newton  <will.newton@linaro.org>
5068         * malloc/Makefile: Add tst-memalign.
5069         * malloc/tst-memalign.c: New file.
5071         * malloc/tst-posix_memalign.c: Add comments.
5072         (do_test): Add comments and call free on all potentially
5073         allocated pointers. Add space after cast.
5075         * malloc/tst-pvalloc.c: Add comments.
5076         (do_test): Add comments and call free on all potentially
5077         allocated pointers. Remove duplicate check for NULL pointer.
5078         Add space after cast.
5080         * malloc/tst-valloc.c: Add comments.
5081         (do_test): Add comments and call free on all potentially
5082         allocated pointers. Remove duplicate check for NULL pointer.
5083         Add space after cast.
5085 2013-10-04  Alan Modra  <amodra@gmail.com>
5087         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5088         Use stdint types in rather than __attribute__((mode())).
5089         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5091 2013-10-04  Alan Modra  <amodra@gmail.com>
5093         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5094         Correct handling of unaligned relocs for little-endian.
5095         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5097 2013-10-04  Alan Modra  <amodra@gmail.com>
5099         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
5100         * configure: Regenerate.
5101         * nptl/shlib-versions: Powerpc*le starts at 2.18.
5102         * shlib-versions: Likewise.
5104 2013-10-04  Alan Modra  <amodra@gmail.com>
5106         * string/tester.c (test_memrchr): Increment reported test cycle.
5108 2013-10-04  Alan Modra  <amodra@gmail.com>
5110         * string/test-memcpy.c (do_one_test): When reporting errors, print
5111         string address and don't overrun end of string.
5113 2013-10-04  Alan Modra  <amodra@gmail.com>
5115         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
5116         insrdi.  Make better use of reg selection to speed exit slightly.
5117         Schedule entry path a little better.  Remove useless "are we done"
5118         checks on entry to main loop.  Handle wrapping around zero address.
5119         Correct main loop count.  Handle single left-over word from main
5120         loop inline rather than by using loop_small.  Remove extra word
5121         case in loop_small caused by wrong loop count.  Add little-endian
5122         support.
5123         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
5124         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
5125         cache hint.
5126         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
5127         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
5128         support.  Avoid rlwimi.
5129         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
5131 2013-10-04  Alan Modra  <amodra@gmail.com>
5133         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
5134         insrdi.  Formatting.
5135         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
5136         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5137         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5138         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
5139         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5140         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
5142 2013-10-04  Alan Modra  <amodra@gmail.com>
5144         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
5145         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5146         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5147         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
5148         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5149         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5150         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5151         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
5152         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
5153         use of regs.  Use power7 mtocrf.  Tidy function tails.
5155 2013-10-04  Alan Modra  <amodra@gmail.com>
5157         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
5158         Formatting.  Consistently use rXXX register defines or rN defines.
5159         Use early exit labels that avoid restoring unused non-volatile regs.
5160         Make cr field use more consistent with rWORDn compares.  Rename
5161         regs used as shift registers for unaligned loop, using rN defines
5162         for short lifetime/multiple use regs.
5163         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5164         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
5165         addi 1,1,64 to pop stack frame.  Simplify return value code.
5166         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5168 2013-10-04  Alan Modra  <amodra@gmail.com>
5170         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
5171         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
5172         rather than rlwimi.
5173         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
5174         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
5175         little-endian support.  Correct typos.
5176         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
5177         rather than rlwimi.
5178         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
5179         in loop and entry code to keep "and." results.
5180         (strchr): Add little-endian support.  Comment.  Move cntlzd
5181         earlier in tail.
5182         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
5184 2013-10-04  Alan Modra  <amodra@gmail.com>
5186         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
5187         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
5188         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
5189         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
5191 2013-10-04  Alan Modra  <amodra@gmail.com>
5193         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
5194         (rTMP): Define as r11.
5195         (strcmp): Add little-endian support.  Optimise tail.
5196         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
5197         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5198         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
5199         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5200         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5201         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5202         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5204 2013-10-04  Alan Modra  <amodra@gmail.com>
5206         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
5207         little-endian support.  Remove unnecessary "are we done" tests.
5208         Handle "s" wrapping around zero and extremely large "size".
5209         Correct main loop count.  Handle single left-over word from main
5210         loop inline rather than by using small_loop.  Correct comments.
5211         Delete "zero" tail, use "end_max" instead.
5212         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
5214 2013-10-04  Alan Modra  <amodra@gmail.com>
5216         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
5217         support.  Don't branch over align.
5218         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
5219         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
5220         support.  Rearrange tmp reg use to suit.  Comment.
5221         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
5223 2013-10-04  Alan Modra  <amodra@gmail.com>
5225         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
5227 2013-10-04  Alan Modra  <amodra@gmail.com>
5229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
5230         conditional form of branch and link when obtaining pc.
5231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5233 2013-10-04  Alan Modra  <amodra@gmail.com>
5235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
5236         HIWORD/LOWORD.
5237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
5238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
5240 2013-10-04  Alan Modra  <amodra@gmail.com>
5242         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
5243         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
5244         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5245         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
5246         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5247         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5248         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
5249         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5250         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5251         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
5253 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5254             Alistair Popple <alistair@ozlabs.au.ibm.com>
5255             Alan Modra <amodra@gmail.com>
5257         [BZ #15723]
5258         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
5259         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
5260         _dl_hwcap access for little-endian.
5261         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
5262         destroy vmx regs when saving unaligned.
5263         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
5264         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
5265         destroy vmx regs when saving unaligned.
5267 2013-10-04  Alan Modra  <amodra@gmail.com>
5269         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
5270         Don't use a union to pack hi/low value.
5272 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5274         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
5275         for little-endian.
5276         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5277         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
5278         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5279         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5280         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5282 2013-10-04  Alan Modra  <amodra@gmail.com>
5284         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
5285         constants to usual value for .cst8 section, and remove redundant
5286         high address load.
5287         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
5288         constant for 0x1p52.  Load little-endian words of double from
5289         correct stack offsets.
5291 2013-10-04  Alan Modra  <amodra@gmail.com>
5293         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
5294         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
5295         words of double from correct stack offsets.
5296         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5297         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
5298         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5299         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5300         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5301         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5302         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5303         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5304         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5305         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5306         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5307         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5308         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5309         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5310         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5311         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
5312         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5314 2013-10-04  Alan Modra  <amodra@gmail.com>
5316         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
5317         64-bit int/double union.
5318         (_FPU_SETCW): Likewise.
5319         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5320         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
5322 2013-10-04  Alan Modra  <amodra@gmail.com>
5324         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
5325         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
5327 2013-10-04  Alan Modra  <amodra@gmail.com>
5329         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
5330         use vector int constants.
5331         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
5333 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5335         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
5336         array with long long.
5337         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
5338         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
5339         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
5340         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
5341         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
5342         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
5343         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
5344         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
5345         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
5346         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
5347         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
5348         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
5349         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
5351 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5353         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
5354         (__signbit): Likewise.  Correct for little-endian.
5355         (__signbitl): Call __signbit.
5356         (lrint): Correct for little-endian.
5357         (lrintf): Call lrint.
5359 2013-10-04  Alan Modra  <amodra@gmail.com>
5361         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
5362         union 32-bit int array member with 64-bit int array.
5363         (t515, tm256): Double rather than long double.
5364         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
5366 2013-10-04  Alan Modra  <amodra@gmail.com>
5368         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
5369         Delete.
5370         (IEEE854_LONG_DOUBLE_BIAS): Delete.
5371         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
5372         version of math_ldbl.h.
5374 2013-10-04  Alan Modra  <amodra@gmail.com>
5376         [BZ #15734], [BZ #15735]
5377         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
5378         all uses of ieee875 long double macros and unions.  Simplify test
5379         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
5380         ldbl_extract_mantissa value for ix,iy exponents.  Properly
5381         normalize after ldbl_extract_mantissa, and don't add hidden bit
5382         already handled.  Don't treat low word of ieee854 mantissa like
5383         low word of IBM long double and mask off bit when testing for
5384         zero.
5385         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
5386         all uses of ieee875 long double macros and unions.  Simplify tests
5387         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
5388         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
5389         two1022, instead use their values.  Recognise that tests for large
5390         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
5391         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
5392         Rewrite all uses of ieee875 long double macros and unions.  Simplify
5393         test for 0.0L and nan.  Correct negation.
5394         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
5395         ieee875 long double macros and unions.  Correct output for large
5396         magnitude x.  Correct absolute value calculation.
5397         (__erfcl): Likewise.
5398         * math/libm-test.inc: Add tests for errors discovered in IBM long
5399         double versions of fmodl, remainderl, erfl and erfcl.
5401 2013-10-04  Alan Modra  <amodra@gmail.com>
5403         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
5404         all uses of ieee854 long double macros and unions.  Simplify tests
5405         for long doubles that are fully specified by the high double.
5406         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5407         Likewise.
5408         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
5409         Remove dead code too.
5410         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5411         (__ieee754_ynl): Likewise.
5412         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5413         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
5414         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5415         Remove dead code too.
5416         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
5417         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
5418         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
5419         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
5420         Simplify.
5421         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
5422         Simplify.
5423         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
5424         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
5425         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
5426         Comment on variable precision.
5427         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
5428         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5429         Likewise.
5430         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5431         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5432         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5433         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
5434         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
5436 2013-10-04  Alan Modra  <amodra@gmail.com>
5438         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
5439         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
5440         all uses of ieee854 long double macros and unions.
5441         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
5442         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5443         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
5444         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
5445         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
5446         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5447         Likewise.
5448         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
5449         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5450         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
5451         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5452         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
5453         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
5454         Simplify sign and nan test too.
5455         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
5456         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
5457         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
5458         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
5459         Likewise.
5460         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5461         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
5462         Likewise.
5463         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5464         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
5465         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
5466         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
5467         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
5468         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
5470 2013-10-04  Alan Modra  <amodra@gmail.com>
5472         * stdio-common/printf_size.c (__printf_size): Don't use
5473         union ieee854_long_double in fpnum union.
5474         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
5475         signbit macro to retrieve sign from long double.
5476         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
5477         retrieve sign from long double.
5478         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
5479         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
5480         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
5481         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5482         * math/test-misc.c (main): Don't use union ieee854_long_double.
5484 2013-10-04  Alan Modra  <amodra@gmail.com>
5486         [BZ #15680]
5487         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
5488         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
5489         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
5490         calculation.  Remove unnecessary test for denormal exponent.
5491         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
5492         Correct handling of denormals.  Avoid undefined shift behaviour.
5493         Correct normalisation of low mantissa when low double is denormal.
5494         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
5495         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
5496         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
5497         Correct normalisation of low mantissa.  Test for overflow of high
5498         mantissa and normalise.
5499         (ldbl_nearbyint): Use more readable constant for two52.
5500         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
5501         (__mpn_construct_long_double): Fix test for overflow of high
5502         mantissa and correct normalisation.  Avoid undefined shift.
5504 2013-10-04  Alan Modra  <amodra@gmail.com>
5506         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5507         (union ibm_extended_long_double): Define as an array of ieee754_double.
5508         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
5509         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
5510         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
5511         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5512         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5513         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
5514         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5515         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5516         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5517         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
5518         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5520 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
5522         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
5523         page size instead of calling getpagesize.
5525         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
5526         (LOCFILE_ALIGN_MASK): Likewise.
5527         (LOCFILE_ALIGN_UP): Likewise.
5528         (LOCFILE_ALIGNED_P): Likewise.
5529         * locale/programs/ld-collate.c (collate_output): Use the new
5530         macros instead of __alignof__ (int32_t).
5531         * locale/weight.h (findidx): Likewise.
5533 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
5535         [BZ #431]
5536         * manual/string.texi: Fix strncat and wcsncat.
5538 2013-10-03  Brooks Moses  <bmoses@google.com>
5540         [BZ #15915]
5541         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
5542         * Makerules: ...here, and adjust associated comments.
5544 2013-10-02  Will Newton  <will.newton@linaro.org>
5546         * malloc/Makefile: Add tst-pvalloc.
5547         * malloc/tst-pvalloc.c: New file.
5549 2013-10-02  Will Newton  <will.newton@linaro.org>
5551         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
5552         improve test coverage.
5554 2013-10-02  Will Newton  <will.newton@linaro.org>
5556         * malloc/Makefile: Add tst-posix_memalign.
5557         * malloc/tst-posix_memalign.c: New file.
5559 2013-10-01  Eric Blake  <eblake@redhat.com>
5561         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
5562         Use __THROWNL rather than __THROW on static functions.
5564 2013-09-30  Petr Machata  <pmachata@redhat.com>
5566         * elf/elf.h (R_AARCH64_ABS16): New macro.
5567         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
5568         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
5569         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
5570         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
5571         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
5572         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
5573         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
5574         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
5575         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
5576         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
5577         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
5578         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
5579         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
5580         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
5581         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
5582         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
5583         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
5584         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
5585         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
5586         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
5587         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
5588         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
5589         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
5590         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
5591         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
5592         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
5593         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
5594         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
5595         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
5596         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
5597         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
5598         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
5599         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
5600         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
5601         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
5602         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
5603         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
5604         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
5605         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
5606         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
5607         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
5608         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
5609         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
5610         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
5611         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
5612         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
5613         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
5614         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
5615         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
5616         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
5617         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
5618         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
5619         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
5620         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
5621         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
5622         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
5623         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
5624         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
5625         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
5626         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
5627         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
5628         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
5629         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
5630         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
5631         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
5632         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
5633         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
5634         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
5635         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
5636         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
5637         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
5638         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
5639         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
5640         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
5641         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
5642         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
5643         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
5644         (R_AARCH64_TLSDESC_LDR): Likewise.
5645         (R_AARCH64_TLSDESC_ADD): Likewise.
5646         (R_AARCH64_TLSDESC_CALL): Likewise.
5648 2013-09-30  Andreas Schwab  <schwab@suse.de>
5650         [BZ #15048]
5651         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
5652         the nss database lookup.
5653         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5654         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5656 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
5658         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
5660 2013-09-28  P. J. McDermott  <pj@pehjota.net>
5662         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
5663         ${Bash-specific parameter/pattern/string} parameter expansion.
5664         * sysdeps/unix/make-syscalls.sh: Likewise.
5666 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5668         * sysdeps/sh/stackguard-macros.h: New file.
5670 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
5672         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5673         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
5674         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
5675         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
5676         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5677         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
5679 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5681         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
5682         Fix thread ID register.
5684 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
5686         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
5687         [POSIX || UNIX98]: Require rather than permitting all symbols from
5688         <time.h>.
5689         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
5690         element of struct sched_param.
5691         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
5692         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
5693         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
5694         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
5695         constant.
5697 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
5699         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
5700         argument calculation.
5702 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
5704         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
5705         Expect macro.
5706         [POSIX] (pthread_attr_t): Do not require type.
5707         [POSIX] (pthread_cond_t): Likewise.
5708         [POSIX] (pthread_condattr_t): Likewise.
5709         [POSIX] (pthread_key_t): Likewise.
5710         [POSIX] (pthread_mutex_t): Likewise.
5711         [POSIX] (pthread_mutexattr_t): Likewise.
5712         [POSIX] (pthread_once_t): Likewise.
5713         [POSIX] (pthread_t): Likewise.
5714         [POSIX-based standards] (pthread_atfork): Expect function.
5716 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
5717             Richard Sandiford  <richard@codesourcery.com>
5719         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
5720         (swap_endianness_p): New extern variable.
5721         (set_big_endian): New inline function.
5722         (maybe_swap_uint32): Likewise.
5723         (maybe_swap_uint32_array): Likewise.
5724         (maybe_swap_uint32_obstack): Likewise.
5725         * locale/programs/locfile.c: Include <stdbool.h>.
5726         (swap_endianness_p): New variable.
5727         (add_locale_uint32): Call maybe_swap_uint32.
5728         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
5729         (write_locale_data): Call maybe_swap_uint32_array.
5730         * locale/programs/ld-collate.c (obstack_int32_grow): Call
5731         maybe_swap_uint32.
5732         (obstack_int32_grow_fast): Likewise.
5733         (output_weightwc): Call maybe_swap_uint32_obstack.
5734         (collate_output): Likewise.
5735         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
5736         (OPT_LITTLE_ENDIAN): Likewise.
5737         (options): Add --little-endian and --big-endian options.
5738         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
5739         * locale/programs/locarchive.c: Include "locfile.h".
5740         (GET): New macro.
5741         (SET): Likewise.
5742         (INC): Likewise.
5743         (create_archive): Use the new macros to access fields of
5744         structures directly mapped from or written to locale archives.
5745         (oldlocrecentcmp): Likewise.
5746         (enlarge_archive): Likewise.
5747         (insert_name): Likewise.
5748         (add_alias): Likewise.
5749         (add_locale): Likewise.
5750         (delete_locales_from_archive): Likewise.
5751         (show_archive_content): Likewise.
5752         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
5753         locale data.
5755 2013-09-24  Roland McGrath  <roland@hack.frob.com>
5757         * manual/freemanuals.texi: Updated from (newly) canonical copy at
5758         http://www.gnu.org/doc/freemanuals.texi.
5759         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
5761 2013-09-24  Will Newton  <will.newton@linaro.org>
5763         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
5764         macro.
5766 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
5768         * locale/hashval.h (compute_hashval): Interpret bytes of key as
5769         unsigned char.
5771 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
5773         * manual/threads.texi (POSIX Threads): Fix a typo.
5775 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
5777         [BZ #14547]
5778         * string/tst-strcoll-overflow.c: New test case.
5779         * string/Makefile (xtests): Add tst-strcoll-overflow.
5780         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5781         cache if string sizes may cause integer overflow.
5783         [BZ #14547]
5784         * string/strcoll_l.c (coll_seq): New members rule, idx,
5785         save_idx and back_us.
5786         (get_next_seq_nocache): New function.
5787         (do_compare_nocache): New function.
5788         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5789         when malloc fails.
5791 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
5793         [BZ #15754]
5794         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5795         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5796         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5798         [BZ #15754]
5799         * elf/Makefile (tests): Add tst-ptrguard1.
5800         (tests-static): Add tst-ptrguard1-static.
5801         (tst-ptrguard1-ARGS): Define.
5802         (tst-ptrguard1-static-ARGS): Define.
5803         * elf/tst-ptrguard1.c: New file.
5804         * elf/tst-ptrguard1-static.c: New file.
5805         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5806         * sysdeps/i386/stackguard-macros.h: Likewise.
5807         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5808         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5809         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5810         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5811         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5812         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5814 2013-09-23  Hector Marco  <hecmargi@upv.es>
5815             Ismael Ripoll  <iripoll@disca.upv.es>
5816             Carlos O'Donell  <carlos@redhat.com>
5818         [BZ #15754]
5819         * sysdeps/generic/stackguard-macros.h: Define
5820         __pointer_chk_guard_local and POINTER_CHK_GUARD.
5821         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5822         Define __pointer_chk_guard_local.
5823         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5824         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5826 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
5828         [BZ #15859]
5829         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5831 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
5833         * include/string.h (__ffs): Declare as hidden.
5834         * string/ffs.c (__ffs): Define as hidden.
5835         * sysdeps/i386/ffs.c (__ffs): Likewise.
5836         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5837         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5838         * sysdeps/s390/ffs.c (__ffs): Likewise.
5839         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5841 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
5843         * NEWS: Mention malloc probes.
5845         * malloc/arena.c (new_heap): New memory_heap_new probe.
5846         (grow_heap): New memory_heap_more probe.
5847         (shrink_heap): New memory_heap_less probe.
5848         (heap_trim): New memory_heap_free probe.
5849         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5850         (systrim): New memory_sbrk_less probe.
5851         * manual/probes.texi: Document them.
5853         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5854         * manual/probes.texi: Document it.
5856         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5857         (__libc_realloc): Add memory_realloc_retry probe.
5858         (__libc_memalign): Add memory_memalign_retry probe.
5859         (__libc_valloc): Add memory_valloc_retry probe.
5860         (__libc_pvalloc): Add memory_pvalloc_retry probe.
5861         (__libc_calloc): Add memory_calloc_retry probe.
5862         * manual/probes.texi: Document them.
5864         * malloc/arena.c (get_free_list): Add probe
5865         memory_arena_reuse_free_list.
5866         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5867         and memory_arena_reuse.
5868         (arena_get2) [!PER_THREAD]: Likewise.
5869         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5870         memory_arena_reuse_realloc.
5871         * manual/probes.texi: Document them.
5873         * malloc/malloc.c (__libc_free): Add
5874         memory_mallopt_free_dyn_thresholds probe.
5875         (__libc_mallopt): Add multiple memory_mallopt probes.
5876         * manual/probes.texi: Document them.
5878         * malloc/malloc.c: Include stap-probe.h.
5879         (__libc_mallopt): Add memory_mallopt probe.
5880         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5881         * manual/probes.texi: New.
5882         * manual/Makefile (chapters): Add probes.
5883         * manual/threads.texi: Set next node.
5885 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
5887         [BZ #15963, #13985]
5888         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5889         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5890         Add `Chinese' to `nan' entry name.
5892 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5894         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5895         (POLYNOMIAL): Likewise.
5896         (TAYLOR_SINCOS): Likewise.
5897         (TAYLOR_SLOW): Likewise.
5898         (__sin): Use TAYLOR_SINCOS.
5899         (__cos): Likewise.
5900         (slow): Use TAYLOR_SLOW.
5901         (sloww): Likewise.
5902         (bsloww): Likewise.
5903         (csloww): Likewise.
5905 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5907         * stdlib/strtod_l.c: Fix buffer overrun.
5909 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5911         * benchtests/Makefile (bench): Add sincos.
5912         * benchtests/bench-sincos.c: New file.
5914         * math/libm-test.inc (cos_test_data): New test inputs.
5915         (sin_test_data): Likewise.
5917         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5918         macro.
5919         (__sin): Use it.
5920         (__cos): Likewise.
5921         (slow1): Likewise.
5922         (slow2): Likewise.
5923         (sloww1): Likewise.
5924         (sloww2): Likewise.
5925         (bsloww1): Likewise.
5926         (bsloww2): Likewise.
5927         (cslow2): Likewise.
5928         (csloww1): Likewise.
5929         (csloww2): Likewise.
5931         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5932         function.
5933         (__sin): Use it.
5934         (__cos): Likewise.
5936         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5937         gotos.
5938         (__cos): Likewise.
5940 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
5942         * config.h.in (HAVE_MIPS_NAN2008): New macro.
5943         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5944         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5945         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5946         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5947         * elf/cache.c (print_entry): Handle the new cache flags.
5949 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
5950             Aldy Hernandez  <aldyh@redhat.com>
5952         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5953         Change condition to [_SOFT_FLOAT].
5954         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5955         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5956         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5957         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5958         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5959         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5960         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5961         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5962         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5963         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5964         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5965         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5966         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5967         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5968         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5969         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5970         declaration.
5972 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
5974         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5975         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5976         (__longjmp): Use LOAD_GP to load saved GPRs.
5977         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5978         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5979         (__sigsetjmp): Use SAVE_GP to save GPRs.
5981         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5982         Do not append -msoft-float.
5983         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5985 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5987         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5989 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
5991         [BZ #15966]
5992         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5993         (_FPU_GETCW): Use initial "__" on variable and field names but not
5994         on macro parameter name.
5995         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
5996         parentheses around reference to macro parameter.
5998 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
6000         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
6001         prototype.
6002         (ctype_startup): Use uint32_t in cast and sizeof for
6003         ctype->charnames.
6005 2013-09-11  Jia Liu  <proljc@gmail.com>
6007         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
6008         __daddr_t_defined.
6009         [__FreeBSD__]: Likewise.
6011 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
6013         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6014         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
6015         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
6016         (strchr): Remove __strchr_sse42 ifunc selection.
6017         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
6018         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
6020 2013-09-11  Will Newton  <will.newton@linaro.org>
6022         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
6023         parameter to RES. Remove hardcoded 1000 value.
6024         * benchtests/bench-skeleton.c (main): Pass RES parameter
6025         to TIMING_INIT and multiply result by 1000.
6027 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6029         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6031 2013-09-11  Andreas Schwab  <schwab@suse.de>
6033         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
6034         if not defined.
6035         (O_TMPFILE) [__USE_GNU]: Define.
6036         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
6037         Define.
6039 2013-09-11  Will Newton  <will.newton@linaro.org>
6041         [BZ #15857]
6042         * malloc/malloc.c (__libc_memalign): Check the value of bytes
6043         does not overflow.
6045 2013-09-11  Will Newton  <will.newton@linaro.org>
6047         [BZ #15856]
6048         * malloc/malloc.c (__libc_valloc): Check the value of bytes
6049         does not overflow.
6051 2013-09-11  Will Newton  <will.newton@linaro.org>
6053         [BZ #15855]
6054         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
6055         does not overflow.
6057 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
6059         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
6060         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6061         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6062         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6063         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6065 2013-09-10  Allan McRae  <allan@archlinux.org>
6067         [BZ #15748]
6068         * manual/arith.texi (Parsing of Floats): Clarify
6069         cross-reference.
6071         [BZ #15849]
6072         * manual/install.texi (Running make install): Mention
6073         --enable-pt-chown.
6074         * INSTALL: Regenerated.
6076 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
6078         * csu/init-first.c (_init): Remove the !SHARED condition around
6079         FPU control word initialization.
6080         * elf/dl-support.c (_dl_fpu_control): New variable.
6081         (_dl_aux_init) <AT_FPUCW>: Initialize it.
6082         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
6083         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
6084         * math/test-fpucw-static.c: New file.
6085         * math/test-fpucw-ieee.c: New file.
6086         * math/test-fpucw-ieee-static.c: New file.
6087         * math/Makefile (tests): Add `test-fpucw-ieee' and
6088         `$(tests-static)'.
6089         (tests-static): New variable.
6090         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
6091         dependency to...
6092         [($(build-shared),yes)]
6093         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
6094         ... this.
6095         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
6096         New dependency.
6098 2013-09-09  Allan McRae  <allan@archlinux.org>
6100         [BZ #15939]
6101         * manual/string.texi (Collation Functions): Fix typo in
6102         strcoll example.
6103         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
6105         [BZ #15893]
6106         * stdlib/isomac.c (get_null_defines): Fix memory leak.
6108         [BZ #15892]
6109         * libio/memstream.c (open_memstream): Fix memory leak.
6110         * libio/wmemstream.c (open_wmemstream): Likewise.
6112         [BZ #15895]
6113         * nscd/netgroupcache.c: Fix nesting of ifdefs.
6115 2013-09-09  Will Newton  <will.newton@linaro.org>
6117         * malloc/Makefile: Add tst-realloc to tests.
6118         * malloc/tst-realloc.c: New file.
6120 2013-09-09  Allan McRae  <allan@archlinux.org>
6122         [BZ #15844]
6123         * COPYING: Update from GNU website to fix FSF address.
6124         * COPYING.LIB: Likewise.
6126 2013-09-06  David S. Miller  <davem@davemloft.net>
6128         * po/zh_TW.po: Update Chinese (traditional) translation from
6129         translation project.
6131 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
6132             Joseph Myers  <joseph@codesourcery.com>
6134         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
6135         "localeinfo.h".
6136         (obstack_chunk_alloc): New macro.
6137         (obstack_chunk_free): Likewise.
6138         (record_offset): New function.
6139         (init_locale_data): Likewise.
6140         (align_locale_data): Likewise.
6141         (add_locale_empty): Likewise.
6142         (add_locale_raw_data): Likewise.
6143         (add_locale_raw_obstack): Likewise.
6144         (add_locale_string): Likewise.
6145         (add_locale_wstring): Likewise.
6146         (add_locale_uint32): Likewise.
6147         (add_locale_uint32_array): Likewise.
6148         (add_locale_char): Likewise.
6149         (start_locale_structure): Likewise.
6150         (end_locale_structure): Likewise.
6151         (start_locale_prelude): Likewise.
6152         (end_locale_prelude): Likewise.
6153         (write_locale_data): Take locale_file structure rather than an
6154         iovec.
6155         * locale/programs/locfile.h: Include "obstack.h".
6156         (struct locale_file): Change to store locale file contents instead
6157         of header.
6158         (init_locale_data): New prototype.
6159         (align_locale_data): Likewise.
6160         (add_locale_empty): Likewise.
6161         (add_locale_raw_data): Likewise.
6162         (add_locale_raw_obstack): Likewise.
6163         (add_locale_string): Likewise.
6164         (add_locale_wstring): Likewise.
6165         (add_locale_uint32): Likewise.
6166         (add_locale_uint32_array): Likewise.
6167         (add_locale_char): Likewise.
6168         (start_locale_structure): Likewise.
6169         (end_locale_structure): Likewise.
6170         (start_locale_prelude): Likewise.
6171         (end_locale_prelude): Likewise.
6172         (write_locale_data): Update prototype.
6173         * locale/programs/3level.h (struct TABLE): Remove result field.
6174         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
6175         Use new locale_file interface.
6176         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
6177         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
6178         * locale/programs/ld-address.c (address_output): Use new
6179         locale_file interface.
6180         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
6181         NO_ADD_LOCALE.
6182         (collate_finish): Don't call collseq_table_finalize.
6183         (collate_output): Use new locale_file interface.
6184         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
6185         in file.
6186         (NO_FINALIZE): Change to NO_ADD_LOCALE.
6187         (TABLE): Move defines earlier in file.
6188         (ELEMENT): Likewise.
6189         (DEFAULT): Likewise.
6190         (wctrans_table_add): Move macro and inline function earlier in
6191         file.
6192         (struct wctype_table): Move type earlier in file.
6193         (add_locale_wctype_table): New static prototype.
6194         (struct locale_ctype_t): Use logical types instead of struct iovec
6195         pointers for members.
6196         (ctype_output): Use new locale_file interface.
6197         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
6198         new locale_file interface.
6199         (allocate_arrays): Update for use of new locale_file interface.
6200         * locale/programs/ld-identification.c (identification_output): Use
6201         new locale_file interface.
6202         * locale/programs/ld-measurement.c (measurement_output): Likewise.
6203         * locale/programs/ld-messages.c (messages_output): Likewise.
6204         * locale/programs/ld-monetary.c (monetary_output): Likewise.
6205         * locale/programs/ld-name.c (name_output): Likewise.
6206         * locale/programs/ld-numeric.c (numeric_output): Likewise.
6207         * locale/programs/ld-paper.c (paper_output): Likewise.
6208         * locale/programs/ld-telephone.c (telephone_output): Likewise.
6209         * locale/programs/ld-time.c (time_output): Likewise.
6211 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6213         * benchtests/Makefile: Add memrchr benchmark.
6214         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
6215         benchmark as memrchr.
6216         * benchtests/bench-memrchr-ifunc.c: New file.
6217         * benchtests/bench-memrchr.c: New file.
6219 2013-09-06   Will Newton  <will.newton@linaro.org>
6221         * benchtests/Makefile (string-bench): Add memcpy.
6223 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
6224             Cong Wang  <amwang@redhat.com>
6226         [BZ #15850]
6227         * sysdeps/unix/sysv/linux/bits/in.h
6228         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
6229         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
6230         before __USE_KERNEL_IPV6_DEFS uses.
6231         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
6232         IPPROTO_BEETPH.
6233         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
6234         sockaddr_in6, or ipv6_mreq.
6236 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6238         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
6239         memory access for final bytes in some large inputs.
6240         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
6242 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6244         * string/test-memrchr.c: New file.
6245         * string/test-memrchr-ifunc.c: New file.
6246         * string/Makefile: Add new memrchr testcase.
6248 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
6250         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
6251         fanotify_init returns EPERM.
6253 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
6255         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
6256         errors.
6257         (top level): Treat second token from macro or constant entries for
6258         allowed headers as allowed.
6259         * include/complex.h: Condition internal declarations on
6260         [!_ISOMAC].
6261         * include/fenv.h: Condition include of <stdbool.h> and internal
6262         declarations on [!_ISOMAC].
6264 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
6266         [BZ #15923]
6267         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
6269 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
6271         * configure.in (--enable-versioning): Remove configure option.
6272         (libc_cv_asm_symver_directive): Remove configure test.
6273         (libc_cv_ld_version_script_option): Likewise.
6274         (VERSIONING): Remove variable and AC_SUBST.
6275         (DO_VERSIONING): Remove AC_DEFINE.
6276         * configure: Regenerated.
6277         * config.h.in (DO_VERSIONING): Remove macro.
6278         * Makerules [$(versioning) = yes]: Change conditionals to
6279         [$(build-shared) = yes].
6280         * config.make.in (versioning): Remove variable.
6281         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
6282         [$(build-shared) = yes].
6283         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
6284         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
6285         * elf/Makefile [$(versioning) = yes]: Change conditionals to
6286         [$(build-shared) = yes].
6287         * extra-lib.mk [$(versioning) = yes]: Likewise.
6288         * hurd/Makefile [$(versioning) = yes]: Likewise.
6289         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
6290         [SHARED].
6291         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
6292         [SHARED].
6293         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6294         [SHARED && !NO_HIDDEN].
6295         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
6296         [SHARED].
6297         [SHARED && DO_VERSIONING]: Likewise..
6298         * libio/Makefile [$(versioning) = yes]: Change conditionals to
6299         [$(build-shared) = yes].
6300         * manual/install.texi (--disable-versioning): Remove
6301         documentation.
6302         * INSTALL: Regenerated.
6303         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
6304         to [SHARED].
6305         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
6306         [$(build-shared) = yes].
6307         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
6308         * sysdeps/i386/i686/multiarch/strstr-c.c
6309         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6310         [SHARED && !NO_HIDDEN].
6311         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
6312         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
6313         * sysdeps/powerpc/powerpc32/dl-machine.c
6314         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
6315         * sysdeps/powerpc/powerpc32/sysdep.h
6316         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
6317         to [SHARED && PIC && !NO_HIDDEN].
6318         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
6319         conditional to [SHARED].
6321 2013-09-04   Will Newton  <will.newton@linaro.org>
6323         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
6324         * benchtests/bench-string.h: Include bench-timing.h instead
6325         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
6326         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
6327         call to HP_TIMING_DIFF_INIT.
6328         * benchtests/bench-memccpy.c: Use bench-timing.h macros
6329         instead of hp-timing.h macros.
6330         * benchtests/bench-memchr.c: Likewise.
6331         * benchtests/bench-memcmp.c: Likewise.
6332         * benchtests/bench-memcpy.c: Likewise.
6333         * benchtests/bench-memmem.c: Likewise.
6334         * benchtests/bench-memmove.c: Likewise.
6335         * benchtests/bench-memset.c: Likewise.
6336         * benchtests/bench-rawmemchr.c: Likewise.
6337         * benchtests/bench-strcasecmp.c: Likewise.
6338         * benchtests/bench-strcasestr.c: Likewise.
6339         * benchtests/bench-strcat.c: Likewise.
6340         * benchtests/bench-strchr.c: Likewise.
6341         * benchtests/bench-strcmp.c: Likewise.
6342         * benchtests/bench-strcpy.c: Likewise.
6343         * benchtests/bench-strcpy_chk.c: Likewise.
6344         * benchtests/bench-strlen.c: Likewise.
6345         * benchtests/bench-strncasecmp.c: Likewise.
6346         * benchtests/bench-strncat.c: Likewise.
6347         * benchtests/bench-strncmp.c: Likewise.
6348         * benchtests/bench-strncpy.c: Likewise.
6349         * benchtests/bench-strnlen.c: Likewise.
6350         * benchtests/bench-strpbrk.c: Likewise.
6351         * benchtests/bench-strrchr.c: Likewise.
6352         * benchtests/bench-strspn.c: Likewise.
6353         * benchtests/bench-strstr.c: Likewise.
6355 2013-09-04  Will Newton  <will.newton@linaro.org>
6357         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
6359 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
6361         [BZ #15427]
6362         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6363         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
6364         * math/libm-test.inc (lgamma_test_data): Add more tests.
6365         * sysdeps/i386/fpu/libm-test-ulps: Update.
6366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6368 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
6370         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
6371         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6372         Add ifunc.
6373         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6374         Add strcmp-sse2-unaligned
6375         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
6377 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
6379         * Versions.def (libc): Add GLIBC_2.19.
6381 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
6383         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
6384         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
6386 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
6388         [BZ #14155]
6389         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
6390         intermediate calculations in recurrence.
6391         (__ieee754_ynf): Likewise.
6392         * math/libm-test.inc (jn_test_data): Do not allow spurious
6393         underflow exception.  Add more tests.
6394         (yn_test_data): Add more tests.
6395         * sysdeps/i386/fpu/libm-test-ulps: Update.
6396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6398 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
6400         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
6402 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
6404         * csu/init-first.c: Fix then/than typos.
6405         * locale/programs/ld-collate.c: Likewise.
6406         * locale/programs/linereader.h: Likewise.
6407         * manual/charset.texi: Likewise.
6408         * manual/filesys.texi: Likewise.
6409         * manual/stdio.texi: Likewise.
6410         * manual/string.texi: Likewise.
6411         * stdlib/fmtmsg.c: Likewise.
6412         * sysdeps/i386/stpncpy.S: Likewise.
6413         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6414         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6415         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6416         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6418 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
6420         * elf/dl-open.c: Fix typos.
6421         * iconvdata/gbbig5.c: Likewise.
6422         * iconvdata/iso-2022-jp.c: Likewise.
6423         * iconv/gconv_int.h: Likewise.
6424         * iconv/loop.c: Likewise.
6425         * nis/rpcsvc/nis.h: Likewise.
6426         * resolv/ns_name.c: Likewise.
6427         * stdio-common/vfscanf.c: Likewise.
6428         * streams/stropts.h: Likewise.
6429         * sunrpc/rpc_thread.c: Likewise.
6430         * sysdeps/i386/strpbrk.S: Likewise.
6431         * sysdeps/ieee754/k_standard.c: Likewise.
6432         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6433         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6434         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
6435         * sysdeps/mach/hurd/profil.c: Likewise.
6436         * sysdeps/s390/dl-procinfo.h: Likewise.
6437         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6438         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6439         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
6440         * sysdeps/x86_64/dl-trampoline.S: Likewise.
6441         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6443 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
6445         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
6446         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
6448 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
6450         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
6451         aix specific files.
6452         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
6453         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
6454         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
6455         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
6456         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
6457         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
6458         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
6459         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
6461 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
6462             Roland McGrath  <roland@hack.frob.com>
6464         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
6465         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6467 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6469         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
6470         __executable_start symbol instead of _start.
6472 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
6474         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
6475         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
6476         Move macros to...
6477         * sysdeps/gnu/ldsodefs.h: ... this new file.
6479         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
6480         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
6481         instead of ELFOSABI_LINUX.
6483         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
6484         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
6485         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
6486         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
6487         Likewise.
6488         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
6489         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
6490         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
6491         Likewise.
6492         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6493         (ibm_extended_long_double): Add ieee_nan member.
6494         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
6495         (do_test): New function.
6497         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
6498         TEST_TRUNC.
6499         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
6500         functions, renamed from truncdfsf_test, trunctfsf_test,
6501         trunctfdf_test.
6502         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
6503         functions.
6504         (do_test): Run all these.
6506 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
6508         * argp/argp-help.c: Fix typos.
6509         * argp/argp-parse.c: Likewise.
6510         * debug/backtracesyms.c: Likewise.
6511         * elf/elf.h: Likewise.
6512         * malloc/malloc.c: Likewise.
6513         * nis/nis_print.c: Likewise.
6514         * resolv/res_comp.c: Likewise.
6515         * stdlib/stdlib.h: Likewise.
6516         * sunrpc/clnt_tcp.c: Likewise.
6517         * sunrpc/clnt_udp.c: Likewise.
6518         * sunrpc/clnt_unix.c: Likewise.
6519         * sysdeps/unix/bsd/ptsname.c: Likewise.
6520         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6521         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
6522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
6523         Likewise.
6524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
6525         Likewise.
6526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6527         Likewise.
6528         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6530 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6532         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
6533         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6535 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
6537         [BZ #15897]
6538         * dlfcn/Makefile (tests): Add bug-dl-leaf.
6539         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
6540         ($(objpfx)bug-dl-leaf): New rule.
6541         ($(objpfx)bug-dl-leaf.so): Likewise.
6542         ($(objpfx)bug-dl-leaf.out): Likewise.
6543         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
6544         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
6545         * dlfcn/bug-dl-leaf.c: New test.
6546         * dlfcn/bug-dl-leaf-lib.c: Likewise.
6547         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
6548         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
6549         (dlclose): Likewise.
6550         (dlmopen): Likewise.
6552 2013-08-27  Roland McGrath  <roland@hack.frob.com>
6554         * include/netdb.h [!_ISOMAC]:
6555         Don't include <tls.h>.
6556         (h_errno, __libc_h_errno): Move declaration and macros out of
6557         [_LIBC_REENTRANT].
6559         * include/resolv.h [_RESOLV_H_]:
6560         Don't include <tls.h>.
6561         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
6562         * resolv/res_libc.c: Don't include <tls.h>.
6563         (_res): Use __attribute__ ((nocommon)) in place of
6564         __attribute__ ((section (".bss"))).
6566         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
6567         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
6569         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
6571         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
6572         only under [SIOCGIFCONF && SIOCGIFNETMASK].
6574         * resolv/res_mkquery.c: Include <sys/time.h>.
6576         * inet/ifreq.c: Moved to ...
6577         * sysdeps/unix/ifreq.c: ... here.
6578         * inet/ifreq.c: New file, true stub version.
6580         * socket/sa_len.c: New file.
6581         * socket/Makefile (aux): Add it.
6582         * sysdeps/unix/sysv/linux/Makefile
6583         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
6584         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
6585         and #include <socket/sa_len.c>.
6586         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
6587         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
6589         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
6590         * bits/socket.h: ... here.
6592         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
6593         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
6594         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
6596 2013-08-27  Andreas Schwab  <schwab@suse.de>
6598         [BZ #15736]
6599         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
6600         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
6601         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
6602         * string/test-strcasecmp.c (test_main): Run tests in several
6603         locales.
6604         * string/test-strncasecmp.c (test_main): Likewise.
6606         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
6607         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
6608         to __strcasecmp_nonascii and __strncasecmp_nonascii.
6609         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
6610         (__strncasecmp_ssse3) [PIC]: Likewise.
6612 2013-08-26  Roland McGrath  <roland@hack.frob.com>
6614         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
6616         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
6617         instead of explicitly declaring xdecrypt.
6618         * nis/nss_nis/nis-publickey.c: Likewise.
6620 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6622         [BZ #15890]
6623         * nscd/aicache.c: Include res_hconf.h.
6624         (addhstaiX): Initialize res_hconf.
6626 2013-08-26  Andreas Schwab  <schwab@suse.de>
6628         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
6629         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
6631 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6633         * nscd/aicache.c (addhstaiX): Fix indentation.
6635 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
6637         * configure.ac: Quote $build_pt_chown test.
6638         * configure: Regenerated.
6640 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
6642         [BZ #15532]
6643         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
6644         * math/s_cexpf.c (__cexpf): Likewise.
6645         * math/s_cexpl.c (__cexpl): Likewise.
6646         * math/libm-test.inc (cexp_test_data): Correct expected return
6647         value for NaN + i0.  Add another test.
6649 2013-08-22  David S. Miller  <davem@davemloft.net>
6651         * po/ca.po: Update Catalan translation from translation project.
6652         * po/uk.po: Add Ukrainian translations from translation project.
6654 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
6656         [BZ #15797]
6657         * math/s_fdim.c (__fdim): Check for infinite arguments if result
6658         is infinite, not alongside NaN test.
6659         * math/s_fdimf.c (__fdimf): Likewise.
6660         * math/s_fdiml.c (__fdiml): Likewise.
6661         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
6662         errno is unchanged.
6664 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
6666         * argp/argp-help.c: Fix typos.
6667         * crypt/speeds.c: Likewise.
6668         * csu/check_fds.c: Likewise.
6669         * elf/dl-load.c: Likewise.
6670         * elf/dl-open.c: Likewise.
6671         * elf/reldep3.c: Likewise.
6672         * elf/reldep.c: Likewise.
6673         * elf/sprof.c: Likewise.
6674         * iconv/iconv_charmap.c: Likewise.
6675         * iconv/skeleton.c: Likewise.
6676         * iconv/strtab.c: Likewise.
6677         * io/lockf64.c: Likewise.
6678         * libio/libioP.h: Likewise.
6679         * resolv/gai_notify.c: Likewise.
6680         * resolv/ns_name.c: Likewise.
6681         * resolv/ns_samedomain.c: Likewise.
6682         * resolv/res_send.c: Likewise.
6683         * stdlib/random.c: Likewise.
6684         * sunrpc/rpc/xdr.h: Likewise.
6685         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
6686         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6687         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6688         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6689         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6690         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6691         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6692         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6693         * sysdeps/mach/hurd/check_fds.c: Likewise.
6694         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6695         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6696         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6697         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6698         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6699         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6700         * sysdeps/pthread/aio_notify.c: Likewise.
6701         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6702         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
6703         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
6704         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6705         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6707 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6709         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
6710         version if bit_Slow_SSE4_2 is set.
6711         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6712         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6714 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6716         [BZ #15867]
6717         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
6718         trampoline stack frame information.
6719         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
6720         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
6721         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
6722         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
6723         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
6724         * sysdeps/unix/sysv/linux/powerpc/init-first.c
6725         (_libc_vdso_platform_setup): Initialize the signal trampolines.
6726         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
6727         sa_flags value.
6728         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
6729         interrupting a syscall and set with option SA_SIGINFO.
6731 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
6733         [BZ #15531]
6734         * math/s_cproj.c (__cproj): Only return an infinity if one part of
6735         argument is infinite.
6736         * math/s_cprojf.c (__cprojf): Likewise.
6737         * math/s_cprojl.c (__cprojl): Likewise.
6738         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
6739         * math/libm-test.inc (cproj_test_data): Add more tests.
6741         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
6743         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
6744         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
6745         size.  Use __ffs to determine corresponding shift.
6747 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
6748             Roland McGrath  <roland@hack.frob.com>
6750         * Makefile (INSTALL): Remove trailing blank lines from output of
6751         makeinfo.
6753 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6755         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
6756         Align 32 bit compat elf_greg to 8 bytes.
6758 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6760         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
6762 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
6764         * string/strcoll_l.c (coll_seq): New structure.
6765         (get_next_seq_cached): New function.
6766         (get_next_seq): New function.
6767         (do_compare): New function.
6768         (STRCOLL): Use GNU style definition.  Simplify implementation
6769         by using get_next_seq, get_next_seq_cached and do_compare.
6771 2013-08-16  Florian Weimer  <fweimer@redhat.com>
6773         [BZ #14699]
6774         CVE-2013-4237
6775         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6776         member.
6777         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6778         member.
6779         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6780         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6781         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
6782         conditional.
6783         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6784         GETDENTS_64BIT_ALIGNED.
6785         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6786         * manual/filesys.texi (Reading/Closing Directory): Document
6787         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
6788         strongly.
6789         * manual/conf.texi (Limits for Files): Add portability note to
6790         NAME_MAX, PATH_MAX.
6791         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6793 2013-08-13  Andreas Schwab  <schwab@suse.de>
6795         [BZ #15749]
6796         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6797         of fabs.
6798         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6799         LDBL_MAX_EXP >= 16384]: Add tests for it.
6801 2013-08-12  David S. Miller  <davem@davemloft.net>
6803         * version.h (RELEASE): Set to "development".
6804         (VERSION): Set to "2.18.90".
6805         * NEWS: Add 2.19 section.
6807 2013-08-03  David S. Miller  <davem@davemloft.net>
6809         * po/ko.po: Update Korean translation from translation project.
6811 2013-08-01  David S. Miller  <davem@davemloft.net>
6813         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
6814         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6815         Bilka.
6817 2013-07-30  David S. Miller  <davem@davemloft.net>
6819         * po/fr.po: Update French translation from translation project.
6821 2013-07-28  David S. Miller  <davem@davemloft.net>
6823         * po/cs.po: Update Czech translation from translation project.
6825         * po/sv.po: Update Swedish translation from translation project.
6827 2013-07-27  David S. Miller  <davem@davemloft.net>
6829         * po/eo.po: Update Esperanto translation from translation project.
6831         * po/vi.po: Update Vietnamese translation from translation project.
6833         * po/de.po: Update German translation from translation project.
6835 2013-07-26  David S. Miller  <davem@davemloft.net>
6837         * po/bg.po: Update Bulgarian translation from translation project.
6839         * po/nl.po: Update Dutch translation from translation project.
6840         * po/pl.po: Update Polish translation from translation project.
6841         * po/ru.po: Update Russian translation from translation project.
6843 2013-07-24  David S. Miller  <davem@davemloft.net>
6845         * po/libc.pot: Update.
6847 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6849         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6850         variable page size.
6851         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6852         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6853         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6855 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6857         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6859 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6860             Andreas Schwab  <schwab@suse.de>
6861             Roland McGrath  <roland@hack.frob.com>
6862             Joseph Myers  <joseph@codesourcery.com>
6863             Carlos O'Donell  <carlos@redhat.com>
6865         [BZ #15755]
6866         * config.h.in: Define HAVE_PT_CHOWN.
6867         * config.make.in (build-pt-chown): New variable.
6868         * configure.in (--enable-pt_chown): New configure option.
6869         * configure: Regenerate.
6870         * login/Makefile: Include Makeconfig.  Build pt_chown only if
6871         build-pt-chown is enabled.
6872         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6873         pt_chown to fix pty ownership.
6874         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6875         CLOSE_ALL_FDS.
6876         * manual/install.texi (Configuring and compiling): Mention
6877         --enable-pt_chown. Add @findex for grantpt.
6878         * INSTALL: Regenerate.
6880 2013-07-20  David S. Miller  <davem@davemloft.net>
6882         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6883         difference between 32-bit and 64-bit.
6885 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
6887         [BZ #15711]
6888         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6889         Avoid system header dependency with -ffreestanding.
6890         ($(objpfx)bits/syscall%d): Likewise.
6892 2013-07-13  David S. Miller  <davem@davemloft.net>
6894         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6895         underflows from atanl/atan2l due to bug 15319.
6896         (casinh_test_data): Likewise.
6898 2013-07-07  David S. Miller  <davem@davemloft.net>
6900         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6902 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
6904         * sysdeps/i386/fpu/libm-test-ulps: Update.
6905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6907 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6909         * configure.in (--enable-lock-elision): Fix message text.
6910         * INSTALL: Regenerate.
6911         * configure: Regenerate.
6913 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6915         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6917 2013-07-03  Andreas Jaeger  <aj@suse.de>
6919         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6920         define.
6921         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6922         (ptrace_peeksiginfo_args): Add.
6923         (__ptrace_peeksiginfo_flags): Add.
6924         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6925         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6926         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6928 2013-07-03  Allan McRae  <allan@archlinux.org>
6930         * sysdeps/i386/fpu/libm-test-ulps: Update.
6932 2013-07-02  David S. Miller  <davem@davemloft.net>
6934         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6936 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
6938         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6940 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
6942         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6945 2013-07-02  Andi Kleen <ak@linux.intel.com>
6947         * config.h.in (ENABLE_LOCK_ELISION): Add.
6948         * configure.in (--enable-lock-elision): Add option.
6949         * manual/install.texi: Document --enable lock elision.
6950         * configure: Regenerate
6951         * INSTALL: Regenerate.
6953 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
6955         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6956         SSE4.2 strcasecmp for libc.a.
6957         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6959 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
6961         [BZ #13304]
6962         * soft-fp/op-common.h (_FP_FMA): New macro.
6963         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6964         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
6965         (_FP_MUL_MEAT_1_imm): ... here.
6966         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
6967         (_FP_MUL_MEAT_1_wide): ... here.
6968         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
6969         (_FP_MUL_MEAT_1_hard): ... here.
6970         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6971         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
6972         (_FP_MUL_MEAT_2_wide): ... here.
6973         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
6974         (_FP_MUL_MEAT_2_wide_3mul): ... here.
6975         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
6976         (_FP_MUL_MEAT_2_gmp): ... here.
6977         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6978         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
6979         (_FP_MUL_MEAT_4_wide): ... here.
6980         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
6981         (_FP_MUL_MEAT_4_gmp): ... here.
6982         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6983         (_FP_WFRACBITS_DW_S): Likewise.
6984         (_FP_WFRACXBITS_DW_S): Likewise.
6985         (_FP_HIGHBIT_DW_S): Likewise.
6986         (FP_FMA_S): Likewise.
6987         (_FP_FRAC_HIGH_DW_S): Likewise.
6988         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6989         (_FP_WFRACBITS_DW_D): Likewise.
6990         (_FP_WFRACXBITS_DW_D): Likewise.
6991         (_FP_HIGHBIT_DW_D): Likewise.
6992         (FP_FMA_D): Likewise.
6993         (_FP_FRAC_HIGH_DW_D): Likewise.
6994         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6995         (_FP_WFRACBITS_DW_E): Likewise.
6996         (_FP_WFRACXBITS_DW_E): Likewise.
6997         (_FP_HIGHBIT_DW_E): Likewise.
6998         (FP_FMA_E): Likewise.
6999         (_FP_FRAC_HIGH_DW_E): Likewise.
7000         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
7001         (_FP_WFRACBITS_DW_Q): Likewise.
7002         (_FP_WFRACXBITS_DW_Q): Likewise.
7003         (_FP_HIGHBIT_DW_Q): Likewise.
7004         (FP_FMA_Q): Likewise.
7005         (_FP_FRAC_HIGH_DW_Q): Likewise.
7006         * soft-fp/fmasf4.c: New file.
7007         * soft-fp/fmadf4.c: Likewise.
7008         * soft-fp/fmatf4.c: Likewise.
7010 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7012         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
7013         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
7014         Silvermont.
7015         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
7016         macro.
7017         (index_Slow_SSE4_2): Likewise.
7018         (index_Prefer_PMINUB_for_stringop): Likewise.
7019         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
7020         bit_Slow_SSE4_2 is set.
7021         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7022         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7024 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7026         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
7027         rtld_global._dl_hwcap2.
7028         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
7029         POWER8.
7030         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
7031         POWER8 feature descriptions defined in _dl_hwcap2.
7032         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
7033         string handling for POWER8 feature bits.
7034         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
7035         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
7036         _dl_powerpc_cap_flags.
7037         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
7038         * sysdeps/powerpc/rtld-global-offsets.sym
7039         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
7040         _dl_hwcap2 in the rtld_global_ro structure.
7042 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7044         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
7045         hardware capabilities in support of AT_HWCAP2.
7046         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
7047         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
7048         GLRO(dl_hwcap2).
7049         (_dl_show_auxv): Add support for calling _dl_procinfo to display
7050         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
7051         explicitly the unknown a_type display mechanism is used.
7052         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
7053         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
7054         struct member.
7055         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
7056         to macro prototype for AT_HWCAP2 support.
7057         * sysdeps/i386/dl-procinfo.h: Likewise.
7058         * sysdeps/s390/dl-procinfo.h: Likewise.
7059         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
7060         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
7061         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
7062         return -1 for unknown a_type display fallback.
7063         * sysdeps/sparc/dl-procinfo.h: Likewise.
7064         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
7065         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
7067 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
7069         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
7070         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
7072 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
7074         [BZ #12492]
7075         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
7076         mprotect making __stack_prot writable.
7078 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
7079             Joseph Myers  <joseph@codesourcery.com>
7081         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
7082         as being properly aligned.
7084 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
7086         * dlfcn/modstatic5.c: New file.
7087         * dlfcn/tststatic5.c: New file.
7088         * dlfcn/Makefile (tests): Add tststatic5.
7089         (tests-static): Likewise.
7090         (modules-names): Add modstatic5.
7091         (tststatic5-ENV): New variable.
7092         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
7094         [BZ #15022]
7095         * elf/dl-support.c (_dl_main_map): New variable.
7096         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
7097         (_dl_nns, _dl_load_adds): Set to 1.
7098         (_dl_initial_searchlist): Refer to _dl_main_map.
7099         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
7100         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
7101         call to _dl_get_origin.
7102         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
7103         around call_map.
7104         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
7105         * dlfcn/modstatic3.c: New file.
7106         * dlfcn/tststatic3.c: New file.
7107         * dlfcn/tststatic4.c: New file.
7108         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
7109         (tests-static): Likewise.
7110         (modules-names): Add modstatic3.
7111         (tststatic3-ENV, tststatic4-ENV): New variables.
7112         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
7113         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
7115 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
7117         * configure.in (CC): Require GCC version 4.4 or later.
7118         * configure: Regenerated.
7119         * manual/install.texi (Tools for Compilation): Update GCC version
7120         requirement.
7121         * INSTALL: Regenerated.
7123 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7125         [BZ #15674]
7126         * string/test-memcmp.c (check2): New.
7127         (main): Call check2.
7129         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
7131 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
7133         [BZ #15022]
7134         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
7135         over to...
7136         (dl_open_worker) [!SHARED]: ... here.
7138 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7140         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
7142 2013-06-25  Richard Henderson  <rth@redhat.com>
7144         * locale/programs/locarchive.c: Include <libc-internal.h>
7146 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
7148         * manual/texinfo.tex: Update to version 2013-06-21.17, with
7149         trailing whitespace removed.
7151 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
7153         [BZ #10283]
7154         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
7155         * locale/programs/locarchive.c: Include libc-mmap.h.
7156         (prepare_address_space): Take two new outputs (the mmap base and len).
7157         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
7158         values.
7159         (create_archive): Declare new mmap base and len values for
7160         prepare_address_space, and store the result in ah.
7161         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
7162         (enlarge_archive): If ah->mmap_base is not NULL, use that and
7163         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7164         Declare new mmap base and len values for
7165         prepare_address_space, and store the result in new_ah.
7166         (open_archive): Declare new mmap base and len values for
7167         prepare_address_space, and store the result in ah.
7168         (close_archive): If ah->mmap_base is not NULL, use that and
7169         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7170         * sysdeps/generic/libc-mmap.h: New file.
7172 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
7174         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
7175         (ALIGN_UP): Likewise.
7176         (PTR_ALIGN_DOWN): Likewise.
7177         (PTR_ALIGN_UP): Likewise.
7179 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7181         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
7182         entry mapped to PPC_PLATFORM_POWER8.
7183         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
7184         POWER8.
7185         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
7186         (_dl_string_platform): Add case for exporting platform position for
7187         POWER8.
7188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
7189         search path to sysdeps/powerpc/powerpc32/power8 directory.
7190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
7191         search path to sysdeps/powerpc/powerpc64/power8 directory.
7192         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
7193         power7 directories.
7194         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
7195         power7 directories.
7197 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7199         * INSTALL: Regenerate.
7201         * nscd/connections.c (nscd_init): Fix comment.
7203 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
7205         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
7207         [BZ #15667]
7208         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
7209         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
7211 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
7213         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
7214         DL_DST_REQ_STATIC.
7215         (DL_DST_REQ_STATIC): Remove macro.
7217 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
7219         [BZ #7006]
7220         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
7221         with a shift of 0 bits.
7223 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
7225         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
7226         $(tststatic-ENV).
7228 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7230         [BZ #15655]
7231         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
7233 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7235         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
7236         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
7237         accepts -fno-tree-loop-distribute-patterns.
7238         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
7239         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
7240         recursive call.
7241         * string/memset.c (memset): Likewise.
7242         * string/test-memmove.c (simple_memmove): Disable loop transformation
7243         to library calls.
7244         * string/test-memset.c (simple_memset): Likewise.
7245         * benchtests/bench-memmove.c (simple_memmove): Likewise.
7246         * benchtests/bench-memset.c (simple_memset): Likewise.
7247         * configure: Regenerated.
7249 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
7251         * math/test-misc.c (main): Ignore fesetround failure when failures
7252         of subsequent rounding tests would be ignored.
7254         [BZ #15654]
7255         * math/fedisblxcpt.c (fedisableexcept): Return 0.
7256         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
7257         * math/fegetenv.c (__fegetenv): Return 0.
7258         * math/fegetexcept.c (fegetexcept): Return 0.
7259         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
7260         FE_TONEAREST.
7261         * math/feholdexcpt.c (feholdexcept): Return 0.
7262         * math/fesetenv.c (__fesetenv): Return 0.
7263         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
7264         argument FE_TONEAREST.
7265         * math/feupdateenv.c (__feupdateenv): Return 0.
7266         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
7268 2013-06-18  Roland McGrath  <roland@hack.frob.com>
7270         * elf/rtld-Rules (rtld-compile-command.S): New variable.
7271         (rtld-compile-command.s, rtld-compile-command.c): New variables.
7272         ($(objpfx)rtld-%.os rules): Use them.
7274 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7276         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
7277         fields.
7279 2013-06-17  Roland McGrath  <roland@hack.frob.com>
7281         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
7282         length of target pattern, then descending length of dependency pattern.
7283         * configure.in (AWK): Require gawk 3.1.2 or newer.
7284         * manual/install.texi (Tools for Compilation): Say that we do.
7285         * configure: Regenerated.
7287         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
7288         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
7289         * scripts/sysd-rules.awk: ... this new script.
7290         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
7291         than a glob-style pattern.
7293 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
7295         * math/test-misc.c (main): Do not treat incorrectly rounded
7296         conversions as failure unless ROUNDING_TESTS passes.
7298 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
7300         [BZ #15631]
7301         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
7302         restore exception state around main square root computation, then
7303         check for inexactness explicitly.
7305         * math/libm-test.inc (fma_test_data): Add another test.
7307 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7309         * manual/threads.texi (Non-POSIX Extensions): New document
7310         node.  Document pthread_getattr_default_np and
7311         pthread_setattr_default_np.
7313         * Versions.def (libpthread): Add GLIBC_2.18.
7314         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
7315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7316         Likewise.
7317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7318         Likewise.
7319         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7320         Likewise.
7321         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7322         Likewise.
7323         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
7324         Likewise.
7325         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7326         Likewise.
7327         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7328         Likewise.
7329         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7330         Likewise.
7331         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7332         Likewise.
7334 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7336         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7337         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
7339 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7340             H.J. Lu  <hjl.tools@gmail.com>
7342         [BZ #15627]
7343         * sysdeps/x86_64/rtld-memset.c: Remove file.
7344         * sysdeps/x86_64/rtld-memset.S: New file.
7346 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
7348         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
7349         (test_in_one_mode): Take arguments for whether the rounding mode
7350         is supported for each floating-point type.
7351         (do_test): Pass new arguments to test_in_one_mode using
7352         ROUNDING_TESTS.
7354 2013-06-13  Roland McGrath  <roland@hack.frob.com>
7356         * posix/tst-waitid.c (do_test): Distinguish different instances of
7357         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
7358         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
7359         before entering the kernel for waitpid.
7361 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
7363         * NEWS: Fix note on clock function precision.  Text by Roland
7364         McGrath.
7366 2013-06-13  Roland McGrath  <roland@hack.frob.com>
7368         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
7369         it into place only when and if the sanity check passes.
7371 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
7373         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
7374         output for whether conversion result is exact.  Take argument
7375         indicating whether type is IBM long double.
7376         (round_for_all): Change need_exact field to ibm_ld.
7377         * stdlib/tst-strtod-round.c (struct exactness): New type.
7378         (struct test): Change bool ld_ok field to struct exactness exact.
7379         (TEST): Update all definitions for change to field.
7380         (tests): Regenerate array contents.
7381         (test_in_one_mode): Take pointer to new field instead of old ld_ok
7382         field value.  Check for IBM long double here.
7383         (do_test): Update calls to test_in_one_mode.
7385 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
7387         [BZ #12515]
7388         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
7389         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
7391 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7393         [BZ #15605]
7394         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
7395         generated by the compiler on loop optimizations.
7396         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
7397         general definitions.
7399 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
7401         * math/bug-nextafter.c: Include <math-tests.h>.
7402         (main): Only test for exceptions if EXCEPTION_TESTS is true for
7403         the relevant type.
7404         * math/bug-nexttoward.c: Include <math-tests.h>.
7405         (main): Only test for exceptions if EXCEPTION_TESTS is true for
7406         the relevant type.
7407         * math/test-misc.c: Include <math-tests.h>.
7408         (main): Only test for exceptions if EXCEPTION_TESTS is true for
7409         the relevant type.
7411 2013-06-12  Andreas Jaeger  <aj@suse.de>
7413         * po/ia.po: Update Interlingua translation from translation
7414         project.
7416 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7418         * include/fenv.h: Include stdbool.h.
7419         (struct rm_ctx): New structure.
7420         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
7421         Define macro.
7422         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
7423         (SET_RESTORE_ROUNDF): Likewise.
7424         (SET_RESTORE_ROUNDL): Likewise.
7425         (SET_RESTORE_ROUND_NOEX): Likewise.
7426         (SET_RESTORE_ROUND_NOEXF): Likewise.
7427         (SET_RESTORE_ROUND_NOEXL): Likewise.
7428         (SET_RESTORE_ROUND_53BIT): Likewise.
7429         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
7430         (libc_feresetround_noexf_ctx): Likewise.
7431         (libc_feresetround_noexl_ctx): Likewise.
7432         (libc_feholdsetround_53bit_ctx): Likewise.
7433         (libc_feresetround_53bit_ctx): Likewise.
7434         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
7435         (libc_feholdexcept_setround_sse_ctx): New function.
7436         (libc_fesetenv_sse_ctx): Likewise.
7437         (libc_feupdateenv_sse_ctx): Likewise.
7438         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
7439         (libc_feholdexcept_setround_387_ctx): Likewise.
7440         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
7441         (libc_feholdsetround_387_prec_ctx): Likewise.
7442         (libc_feholdsetround_387_ctx): Likewise.
7443         (libc_feholdsetround_387_53bit_ctx): Likewise.
7444         (libc_feholdsetround_sse_ctx): Likewise.
7445         (libc_feresetround_sse_ctx): Likewise.
7446         (libc_feresetround_387_ctx): Likewise.
7447         (libc_feupdateenv_387_ctx): Likewise.
7448         (libc_feholdexcept_setroundf_ctx): Define macro.
7449         (libc_fesetenvf_ctx): Likewise.
7450         (libc_feupdateenvf_ctx): Likewise.
7451         (libc_feholdsetroundf_ctx): Likewise.
7452         (libc_feresetroundf_ctx): Likewise.
7453         (libc_feholdexcept_setround_ctx): Likewise.
7454         (libc_fesetenv_ctx): Likewise.
7455         (libc_feupdateenv_ctx): Likewise.
7456         (libc_feholdsetround_ctx): Likewise.
7457         (libc_feresetround_ctx): Likewise.
7458         (libc_feholdexcept_setroundl_ctx): Likewise.
7459         (libc_feupdateenvl_ctx): Likewise.
7460         (libc_feholdsetroundl_ctx): Likewise.
7461         (libc_feresetroundl_ctx): Likewise.
7462         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
7463         (libc_feresetround_53bit_ctx): Likewise.
7465 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7467         * locale/iso-639.def: Convert to UTF-8.
7469 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
7471         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
7472         (EXCEPTION_TESTS_double): Likewise.
7473         (EXCEPTION_TESTS_long_double): Likewise.
7474         (EXCEPTION_TESTS): Likewise.
7475         * math/libm-test.inc (test_exceptions): Only test exceptions if
7476         EXCEPTION_TESTS (FLOAT).
7478 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7480         * benchtests/Makefile (string-bench): Add strcpy_chk and
7481         stpcpy_chk.
7482         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
7483         * benchtests/bench-stpcpy_chk.c: New file.
7484         * benchtests/bench-strcpy_chk-ifunc.c: New file.
7485         * benchtests/bench-strcpy_chk.c: New file.
7486         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
7487         code.
7488         (do_test): Likewise.
7490 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7492         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
7493         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
7494         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
7495         with tabs where appropriate.
7496         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
7497         dl-procinfo.h.
7498         [PPC_PLATFORM_PPC440]: Likewise.
7499         [PPC_PLATFORM_PPC464]: Likewise.
7500         [PPC_PLATFORM_PPC476]: Likewise.
7501         (_dl_string_platform): Add support for detecting ppc405, ppc440,
7502         ppc464, and ppc476 platform strings merging from ports/
7503         dl-procinfo.h.
7505 2013-06-11  Andreas Schwab  <schwab@suse.de>
7507         [BZ #14991]
7508         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
7509         (from_ucs4_idx): Regenerate.
7510         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
7511         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
7512         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
7513         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
7514         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
7515         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
7516         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
7517         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
7518         from FROM_LOOP and TO_LOOP specific macros.
7519         (BODY): Handle combining characters.
7520         * iconvdata/BIG5HKSCS.irreversible: Update.
7521         * iconvdata/BIG5HKSCS.precomposed: New file.
7522         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
7523         characters.
7524         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
7526 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7528         * include/sys/time.h: Fix indentation and add copyright header.
7530         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
7531         (do_test): Likewise.
7532         * string/test-memchr.c (do_one_test): Likewise.
7533         (do_test): Likewise.
7534         * string/test-memcmp.c (do_one_test): Likewise.
7535         (do_test): Likewise.
7536         * string/test-memcpy.c (do_one_test): Likewise.
7537         (do_test): Likewise.
7538         * string/test-memmem.c (do_one_test): Likewise.
7539         (do_test): Likewise.
7540         (do_random_tests): Likewise.
7541         * string/test-memmove.c (do_one_test): Likewise.
7542         (do_test): Likewise.
7543         * string/test-memset.c (do_one_test): Likewise.
7544         (do_test): Likewise.
7545         * string/test-rawmemchr.c (do_one_test): Likewise.
7546         (do_test): Likewise.
7547         * string/test-strcasecmp.c (do_one_test): Likewise.
7548         (do_test): Likewise.
7549         * string/test-strcasestr.c (do_one_test): Likewise.
7550         (do_test): Likewise.
7551         * string/test-strcat.c (do_one_test): Likewise.
7552         (do_test): Likewise.
7553         * string/test-strchr.c (do_one_test): Likewise.
7554         (do_test): Likewise.
7555         * string/test-strcmp.c (do_one_test): Likewise.
7556         (do_test): Likewise.
7557         * string/test-strcpy.c (do_one_test): Likewise.
7558         (do_test): Likewise.
7559         * string/test-string.h: Likewise.
7560         (test_init): Likewise.
7561         * string/test-strlen.c (do_one_test): Likewise.
7562         (do_test): Likewise.
7563         * string/test-strncasecmp.c (do_one_test): Likewise.
7564         (do_test): Likewise.
7565         * string/test-strncat.c (do_one_test): Likewise.
7566         (do_test): Likewise.
7567         * string/test-strncmp.c (do_one_test): Likewise.
7568         (do_test_limit): Likewise.
7569         (do_test): Likewise.
7570         * string/test-strncpy.c (do_one_test): Likewise.
7571         (do_test): Likewise.
7572         * string/test-strnlen.c (do_one_test): Likewise.
7573         (do_test): Likewise.
7574         * string/test-strpbrk.c (do_one_test): Likewise.
7575         (do_test): Likewise.
7576         * string/test-strrchr.c (do_one_test): Likewise.
7577         (do_test): Likewise.
7578         * string/test-strspn.c (do_one_test): Likewise.
7579         (do_test): Likewise.
7580         * string/test-strstr.c (do_one_test): Likewise.
7581         (do_test): Likewise.
7583         * benchtests/Makefile (string-bench): Add string benchmarks.
7584         * benchtests/bench-bcopy-ifunc.c: New file.
7585         * benchtests/bench-bcopy.c: New file.
7586         * benchtests/bench-bzero-ifunc.c: New file.
7587         * benchtests/bench-bzero.c: New file.
7588         * benchtests/bench-memccpy-ifunc.c: New file.
7589         * benchtests/bench-memccpy.c: New file.
7590         * benchtests/bench-memchr-ifunc.c: New file.
7591         * benchtests/bench-memchr.c: New file.
7592         * benchtests/bench-memcmp-ifunc.c: New file.
7593         * benchtests/bench-memcmp.c: New file.
7594         * benchtests/bench-memmem-ifunc.c: New file.
7595         * benchtests/bench-memmem.c: New file.
7596         * benchtests/bench-memmove-ifunc.c: New file.
7597         * benchtests/bench-memmove.c: New file.
7598         * benchtests/bench-mempcpy-ifunc.c: New file.
7599         * benchtests/bench-mempcpy.c: New file.
7600         * benchtests/bench-memset-ifunc.c: New file.
7601         * benchtests/bench-memset.c: New file.
7602         * benchtests/bench-rawmemchr-ifunc.c: New file.
7603         * benchtests/bench-rawmemchr.c: New file.
7604         * benchtests/bench-stpcpy-ifunc.c: New file.
7605         * benchtests/bench-stpcpy.c: New file.
7606         * benchtests/bench-stpncpy-ifunc.c: New file.
7607         * benchtests/bench-stpncpy.c: New file.
7608         * benchtests/bench-strcasecmp-ifunc.c: New file.
7609         * benchtests/bench-strcasecmp.c: New file.
7610         * benchtests/bench-strcasestr-ifunc.c: New file.
7611         * benchtests/bench-strcasestr.c: New file.
7612         * benchtests/bench-strcat-ifunc.c: New file.
7613         * benchtests/bench-strcat.c: New file.
7614         * benchtests/bench-strchr-ifunc.c: New file.
7615         * benchtests/bench-strchr.c: New file.
7616         * benchtests/bench-strchrnul-ifunc.c: New file.
7617         * benchtests/bench-strchrnul.c: New file.
7618         * benchtests/bench-strcmp-ifunc.c: New file.
7619         * benchtests/bench-strcmp.c: New file.
7620         * benchtests/bench-strcpy-ifunc.c: New file.
7621         * benchtests/bench-strcpy.c: New file.
7622         * benchtests/bench-strcspn-ifunc.c: New file.
7623         * benchtests/bench-strcspn.c: New file.
7624         * benchtests/bench-strlen-ifunc.c: New file.
7625         * benchtests/bench-strlen.c: New file.
7626         * benchtests/bench-strncasecmp-ifunc.c: New file.
7627         * benchtests/bench-strncasecmp.c: New file.
7628         * benchtests/bench-strncat-ifunc.c: New file.
7629         * benchtests/bench-strncat.c: New file.
7630         * benchtests/bench-strncmp-ifunc.c: New file.
7631         * benchtests/bench-strncmp.c: New file.
7632         * benchtests/bench-strncpy-ifunc.c: New file.
7633         * benchtests/bench-strncpy.c: New file.
7634         * benchtests/bench-strnlen-ifunc.c: New file.
7635         * benchtests/bench-strnlen.c: New file.
7636         * benchtests/bench-strpbrk-ifunc.c: New file.
7637         * benchtests/bench-strpbrk.c: New file.
7638         * benchtests/bench-strrchr-ifunc.c: New file.
7639         * benchtests/bench-strrchr.c: New file.
7640         * benchtests/bench-strspn-ifunc.c: New file.
7641         * benchtests/bench-strspn.c: New file.
7642         * benchtests/bench-strstr-ifunc.c: New file.
7643         * benchtests/bench-strstr.c: New file.
7645         * benchtests/Makefile: Disable parallel execution of targets.
7646         (string-bench): Add memcpy.
7647         (benchset): New variable to store a list of benchmark sets.
7648         (bench-func): Renamed from bench.
7649         (bench-set): New target.
7650         (bench): Depend on bench-func and bench-set.
7651         * benchtests/README: Add section on benchmark sets.
7652         * benchtests/bench-memcpy-ifunc.c: New file.
7653         * benchtests/bench-memcpy.c: New file.
7654         * benchtests/bench-string.h: New file.
7656 2013-06-11  Andreas Schwab  <schwab@suse.de>
7658         [BZ #15577]
7659         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
7660         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
7661         values in the triple.
7662         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
7663         terminator in the group key.
7665 2013-06-11  Andreas Jaeger  <aj@suse.de>
7667         * po/zh_TW.po: Update Chinese (traditional) translation from
7668         translation project.
7670 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7672         * include/time.h (__clock_gettime): Add libc_hidden_proto.
7673         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
7674         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
7675         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7676         (clock_getcpuclockid): Likewise.
7677         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
7678         Add weak_alias and libc_hidden_def.
7679         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7680         * rt/clock_gettime.c (clock_gettime): Rename to
7681         __clock_gettime.  Add weak_alias and libc_hidden_def.
7682         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
7683         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
7684         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
7685         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
7686         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
7687         Likewise.
7688         * rt/clock_settime.c (clock_settime): Rename to
7689         __clock_settime.  Add weak_alias and libc_hidden_def.
7690         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
7692 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
7694         * mach/err_boot.sub: Remove trailing whitespace.
7695         * mach/err_ipc.sub: Likewise.
7696         * mach/err_mach.sub: Likewise.
7698         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
7699         (ROUNDING_TESTS_double): Likewise.
7700         (ROUNDING_TESTS_long_double): Likewise.
7701         (ROUNDING_TESTS): Likewise.
7702         * math/libm-test.inc: Include <math-tests.h>.
7703         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
7704         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7705         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7706         (IF_ROUND_INIT_FE_UPWARD): Likewise.
7708 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7710         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
7711         of assigning.
7713 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
7715         * sysdeps/gnu/errlist.awk: Do not generate space at end of
7716         otherwise empty TRANS lines.
7717         * sysdeps/gnu/errlist.c: Regenerated.
7719         * catgets/gencat.c (error_print): Use (void) in function
7720         definition.
7721         * crypt/crypt_util.c (__init_des): Likewise.
7722         * crypt/speeds.c (Stop): Likewise.
7723         (main): Likewise.
7724         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
7725         * inet/ruserpass.c (token): Likewise.
7726         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
7727         * intl/localealias.c (extend_alias_table): Likewise.
7728         * intl/plural-exp.c (init_germanic_plural): Likewise.
7729         * libio/fcloseall.c (__fcloseall): Likewise.
7730         * libio/genops.c (_IO_flush_all): Likewise.
7731         (_IO_flush_all_linebuffered): Likewise.
7732         (_IO_cleanup): Likewise.
7733         (_IO_iter_begin): Likewise.
7734         (_IO_iter_end): Likewise.
7735         (_IO_list_lock): Likewise.
7736         (_IO_list_unlock): Likewise.
7737         (_IO_list_resetlock): Likewise.
7738         * libio/getchar.c (getchar): Likewise.
7739         * libio/getchar_u.c (getchar_unlocked): Likewise.
7740         * libio/getwchar.c (getwchar): Likewise.
7741         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7742         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
7743         * login/getpt.c (__getpt): Likewise.
7744         * login/tst-utmp.c (main): Likewise.
7745         * malloc/hooks.c (__malloc_check_init): Likewise.
7746         * malloc/malloc.c (__malloc_stats): Likewise.
7747         * malloc/mtrace.c (tr_break): Likewise.
7748         (mtrace): Likewise.
7749         (muntrace): Likewise.
7750         * misc/fstab.c (endfsent): Likewise.
7751         * misc/getclktck.c (__getclktck): Likewise.
7752         * misc/getdtsz.c (__getdtablesize): Likewise.
7753         * misc/gethostid.c (gethostid): Likewise.
7754         * misc/getpagesize.c (__getpagesize): Likewise.
7755         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
7756         (__get_nprocs): Likewise.
7757         (__get_phys_pages): Likewise.
7758         (__get_avphys_pages): Likewise.
7759         * misc/getttyent.c (getttyent): Likewise.
7760         (setttyent): Likewise.
7761         (endttyent): Likewise.
7762         * misc/getusershell.c (getusershell): Likewise.
7763         (endusershell): Likewise.
7764         (setusershell): Likewise.
7765         (initshells): Likewise.
7766         * misc/hsearch.c (__hdestroy): Likewise.
7767         * misc/sync.c (sync): Likewise.
7768         * misc/syslog.c (closelog_internal): Likewise.
7769         (closelog): Likewise.
7770         * misc/ttyslot.c (ttyslot): Likewise.
7771         * misc/vhangup.c (vhangup): Likewise.
7772         * posix/fork.c (__fork): Likewise.
7773         * posix/getegid.c (__getegid): Likewise.
7774         * posix/geteuid.c (__geteuid): Likewise.
7775         * posix/getgid.c (__getgid): Likewise.
7776         * posix/getpid.c (__getpid): Likewise.
7777         * posix/getppid.c (__getppid): Likewise.
7778         * posix/getuid.c (__getuid): Likewise.
7779         * posix/pause.c (pause): Likewise.
7780         * posix/setpgrp.c (setpgrp): Likewise.
7781         * posix/setsid.c (__setsid): Likewise.
7782         * posix/test-vfork.c (noop): Likewise.
7783         * resolv/gethnamaddr.c (_endhtent): Likewise.
7784         (_gethtent): Likewise.
7785         (ht_endhostent): Likewise.
7786         (gethostent): Likewise.
7787         (dns_service): Likewise.
7788         * stdlib/drand48.c (drand48): Likewise.
7789         * stdlib/lrand48.c (lrand48): Likewise.
7790         * stdlib/mrand48.c (mrand48): Likewise.
7791         * stdlib/rand.c (rand): Likewise.
7792         * stdlib/random.c (__random): Likewise.
7793         * stdlib/setenv.c (clearenv): Likewise.
7794         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7795         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7796         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7797         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7798         (__get_nprocs): Likewise.
7799         (__get_phys_pages): Likewise.
7800         (__get_avphys_pages): Likewise.
7801         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7802         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7803         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7804         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7805         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7806         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7807         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7808         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7809         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7810         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7811         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7812         * sysdeps/mach/hurd/sync.c (sync): Likewise.
7813         * sysdeps/posix/clock.c (clock): Likewise.
7814         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7815         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7816         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7817         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7818         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7819         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7820         (__get_nprocs_conf): Likewise.
7821         (__get_phys_pages): Likewise.
7822         (__get_avphys_pages): Likewise.
7823         * time/clock.c (clock): Likewise.
7824         * time/tzset.c (__tzname_max): Likewise.
7826 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
7828         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7829         (__bswap_32): Do not use "register".
7830         * crypt/crypt.c (_ufc_doit_r): Likewise.
7831         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7832         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7833         * gmon/gmon.c (__monstartup): Likewise.
7834         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7835         * hurd/hurdmalloc.c (more_memory): Likewise.
7836         (malloc): Likewise.
7837         (free): Likewise.
7838         (realloc): Likewise.
7839         (malloc_fork_prepare): Likewise.
7840         (malloc_fork_parent): Likewise.
7841         (malloc_fork_child): Likewise.
7842         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7843         (_svcauth_des): Likewise.
7844         * inet/inet_lnaof.c (inet_lnaof): Likewise.
7845         * inet/inet_net.c (inet_network): Likewise.
7846         * inet/inet_netof.c (inet_netof): Likewise.
7847         * inet/rcmd.c (__validuser2_sa): Likewise.
7848         * io/fts.c (fts_open): Likewise.
7849         (fts_load): Likewise.
7850         (fts_close): Likewise.
7851         (fts_read): Likewise.
7852         (fts_children): Likewise.
7853         (fts_build): Likewise.
7854         (fts_stat): Likewise.
7855         (fts_sort): Likewise.
7856         (fts_alloc): Likewise.
7857         (fts_lfree): Likewise.
7858         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7859         (_IO_file_xsgetn): Likewise.
7860         (_IO_file_xsgetn_mmap): Likewise.
7861         * libio/iofopncook.c (_IO_cookie_read): Likewise.
7862         (_IO_cookie_write): Likewise.
7863         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7864         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7865         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7866         * malloc/obstack.c (_obstack_begin): Likewise.
7867         (_obstack_begin_1): Likewise.
7868         (_obstack_newchunk): Likewise.
7869         (_obstack_allocated_p): Likewise.
7870         (obstack_free): Likewise.
7871         (_obstack_memory_used): Likewise.
7872         * misc/getttyent.c (getttynam): Likewise.
7873         (getttyent): Likewise.
7874         (skip): Likewise.
7875         (value): Likewise.
7876         * misc/getusershell.c (initshells): Likewise.
7877         * misc/syslog.c (__vsyslog_chk): Likewise.
7878         * misc/ttyslot.c (ttyslot): Likewise.
7879         * nis/nis_hash.c (__nis_hash): Likewise.
7880         * posix/fnmatch_loop.c (FCT): Likewise.
7881         * posix/getconf.c (print_all): Likewise.
7882         (main): Likewise.
7883         * posix/getopt.c (exchange): Likewise.
7884         * posix/glob.c (globfree): Likewise.
7885         (prefix_array): Likewise.
7886         (__glob_pattern_type): Likewise.
7887         * resolv/arpa/nameser.h (NS_GET16): Likewise.
7888         (NS_GET32): Likewise.
7889         (NS_PUT16): Likewise.
7890         (NS_PUT32): Likewise.
7891         * resolv/gethnamaddr.c (getanswer): Likewise.
7892         (gethostbyname2): Likewise.
7893         (gethostbyaddr): Likewise.
7894         (_gethtent): Likewise.
7895         (_gethtbyname2): Likewise.
7896         (_gethtbyaddr): Likewise.
7897         * resolv/ns_print.c (dst_s_get_int16): Likewise.
7898         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7899         * resolv/res_init.c (__res_vinit): Likewise.
7900         (net_mask): Likewise.
7901         * resolv/res_mkquery.c (outchar): Likewise.
7902         (PRINT): Likewise.
7903         * stdio-common/printf_fp.c (outchar): Likewise.
7904         (PRINT): Likewise.
7905         * stdio-common/printf_fphex.c (outchar): Likewise.
7906         (PRINT): Likewise.
7907         * stdio-common/printf_size.c (outchar): Likewise.
7908         (PRINT): Likewise.
7909         * stdio-common/test_rdwr.c (main): Likewise.
7910         * stdio-common/tfformat.c (matches): Likewise.
7911         * stdio-common/vfprintf.c (outchar): Likewise.
7912         (printf_unknown): Likewise.
7913         (buffered_vfprintf): Likewise.
7914         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7915         * stdio-common/xbug.c (AppendToBuffer): Likewise.
7916         (ReadFile): Likewise.
7917         * stdlib/qsort.c (SWAP): Likewise.
7918         (_quicksort): Likewise.
7919         * stdlib/setenv.c (__add_to_environ): Likewise.
7920         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7921         * stdlib/strtol_l.c (__strtol_l): Likewise.
7922         * stdlib/tst-strtod.c (main): Likewise.
7923         * stdlib/tst-strtol.c (main): Likewise.
7924         * stdlib/tst-strtoll.c (main): Likewise.
7925         * string/bits/string2.h (__strcmp_cc): Likewise.
7926         (__strcmp_cg): Likewise.
7927         (__strcspn_c1): Likewise.
7928         (__strcspn_c2): Likewise.
7929         (__strcspn_c3): Likewise.
7930         (__strspn_c1): Likewise.
7931         (__strspn_c2): Likewise.
7932         (__strspn_c3): Likewise.
7933         (__strsep_1c): Likewise.
7934         (__strsep_2c): Likewise.
7935         (__strsep_3c): Likewise.
7936         * string/memccpy.c (__memccpy): Likewise.
7937         * string/stpcpy.c (__stpcpy): Likewise.
7938         * string/strcmp.c (strcmp): Likewise.
7939         * string/strrchr.c (strrchr): Likewise.
7940         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7941         Likewise.
7942         * sysdeps/mach/hurd/getcwd.c
7943         (_hurd_canonicalize_directory_name_internal): Likewise.
7944         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7945         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7946         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7947         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7948         Likewise, in both definitions.
7949         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7950         definitions.
7951         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7952         64] (__bswap_64): Likewise.
7953         * time/test_time.c (main): Likewise.
7954         * time/tzfile.c (__tzfile_read): Likewise.
7955         (__tzfile_compute): Likewise.
7956         * time/tzset.c (__tzset_parse_tz): Likewise.
7957         (tzset_internal): Likewise.
7958         (compute_change): Likewise.
7959         * wcsmbs/wcscat.c (__wcscat): Likewise.
7960         * wcsmbs/wcschr.c (wcschr): Likewise.
7961         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7962         * wcsmbs/wcscspn.c (wcscspn): Likewise.
7963         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7964         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7965         * wcsmbs/wcsspn.c (wcsspn): Likewise.
7966         * wcsmbs/wcsstr.c (wcsstr): Likewise.
7967         * wcsmbs/wmemchr.c (wmemchr): Likewise.
7968         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7969         * wcsmbs/wmemset.c (wmemset): Likewise.
7971 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
7973         * scripts/config.guess: Update to version 2013-05-16.
7974         * scripts/config.sub: Update to version 2013-04-24.
7975         * scripts/install-sh: Update to version 2011-11-20.07.
7976         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7977         * scripts/move-if-change: Update to version 2012-01-06 07:23.
7979 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
7981         * debug/fgetws_u_chk.c: Fix leading whitespaces.
7982         * elf/sln.c: Likewise.
7983         * hurd/hurd/ioctl.h: Likewise.
7984         * hurd/hurdmalloc.c: Likewise.
7985         * hurd/xattr.c: Likewise.
7986         * include/shlib-compat.h: Likewise.
7987         * inet/ruserpass.c: Likewise.
7988         * libio/iofgets_u.c: Likewise.
7989         * libio/iofgetws_u.c: Likewise.
7990         * locale/programs/ld-identification.c: Likewise.
7991         * locale/programs/ld-time.c: Likewise.
7992         * mach/msg-destroy.c: Likewise.
7993         * nss/nss_files/files-netgrp.c: Likewise.
7994         * resolv/res_data.c: Likewise.
7995         * soft-fp/op-1.h: Likewise.
7996         * soft-fp/op-2.h: Likewise.
7997         * soft-fp/op-4.h: Likewise.
7998         * soft-fp/op-common.h: Likewise.
7999         * stdio-common/printf_fphex.c: Likewise.
8000         * stdlib/strtod_l.c: Likewise.
8001         * sunrpc/rpc/clnt.h: Likewise.
8002         * sysdeps/generic/framestate.c: Likewise.
8003         * sysdeps/i386/bsd-_setjmp.S: Likewise.
8004         * sysdeps/i386/bsd-setjmp.S: Likewise.
8005         * sysdeps/i386/__longjmp.S: Likewise.
8006         * sysdeps/i386/setjmp.S: Likewise.
8007         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8008         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8009         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8010         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8011         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8012         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8013         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8014         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8015         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8016         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8017         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8018         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8019         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8020         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8021         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8022         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8023         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8024         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
8025         * sysdeps/ieee754/support.c: Likewise.
8026         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8027         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
8028         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
8029         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
8030         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
8031         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
8032         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
8033         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
8034         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
8035         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
8036         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
8037         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
8038         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
8039         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
8040         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
8041         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
8042         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8045 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
8047         * posix/transbug.c: Remove executable mode.
8049 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
8051         * crypt/speeds.c: Remove trailing whitespace.
8052         * dlfcn/default.c: Likewise.
8053         * elf/ifuncdep2.c: Likewise.
8054         * elf/ifuncmain1.c: Likewise.
8055         * elf/ifuncmain1vis.c: Likewise.
8056         * elf/testobj.h: Likewise.
8057         * elf/tst-stackguard1.c: Likewise.
8058         * gmon/sys/gmon.h: Likewise.
8059         * hurd/hurdmsg.c: Likewise.
8060         * hurd/new-fd.c: Likewise.
8061         * hurd/ports-get.c: Likewise.
8062         * iconvdata/ibm1008_420.c: Likewise.
8063         * inet/tst-getni1.c: Likewise.
8064         * inet/tst-getni2.c: Likewise.
8065         * libio/ioungetc.c: Likewise.
8066         * libio/wfiledoalloc.c: Likewise.
8067         * manual/libm-err-tab.pl: Likewise.
8068         * math/w_dremf.c: Likewise.
8069         * misc/ftruncate.c: Likewise.
8070         * posix/bug-glob2.c: Likewise.
8071         * posix/tst-pcre.c: Likewise.
8072         * posix/wait4.c: Likewise.
8073         * resolv/README: Likewise.
8074         * resolv/res_debug.h: Likewise.
8075         * resolv/tst-inet_ntop.c: Likewise.
8076         * setjmp/bug269-setjmp.c: Likewise.
8077         * soft-fp/extended.h: Likewise.
8078         * soft-fp/op-1.h: Likewise.
8079         * soft-fp/op-2.h: Likewise.
8080         * soft-fp/op-4.h: Likewise.
8081         * soft-fp/op-8.h: Likewise.
8082         * soft-fp/testit.c: Likewise.
8083         * stdio-common/bug16.c: Likewise.
8084         * stdlib/random.c: Likewise.
8085         * sunrpc/rpcsvc/rquota.x: Likewise.
8086         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
8087         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8088         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8089         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8090         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8091         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8092         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8093         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8094         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8095         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8096         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8097         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8098         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8099         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8100         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8101         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8102         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8103         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8104         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8105         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8106         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8107         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8108         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
8109         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8110         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8111         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8112         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8113         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8114         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8115         * sysdeps/ieee754/s_lib_version.c: Likewise.
8116         * sysdeps/mach/hurd/check_fds.c: Likewise.
8117         * sysdeps/mach/hurd/getsockname.c: Likewise.
8118         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
8119         * sysdeps/mach/hurd/recvfrom.c: Likewise.
8120         * sysdeps/powerpc/bits/link.h: Likewise.
8121         * sysdeps/powerpc/dl-procinfo.c: Likewise.
8122         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
8123         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
8124         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
8125         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8126         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8127         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
8128         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8129         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
8130         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8131         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
8132         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
8133         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
8134         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8135         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8136         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8137         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
8138         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
8139         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8140         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8141         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8142         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
8143         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8144         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8145         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
8146         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
8147         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
8148         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8149         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8150         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
8151         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
8152         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
8153         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8154         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8155         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
8156         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8157         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
8158         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
8159         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
8160         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
8161         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
8162         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
8163         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
8164         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
8165         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
8166         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
8167         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
8168         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
8169         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
8170         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
8171         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8172         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8173         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8174         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8175         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
8176         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
8177         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
8178         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8179         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
8180         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
8181         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
8182         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
8183         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
8184         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8185         * sysdeps/powerpc/sysdep.h: Likewise.
8186         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8187         * sysdeps/s390/s390-64/sub_n.S: Likewise.
8188         * sysdeps/sh/dl-trampoline.S: Likewise.
8189         * sysdeps/sh/memset.S: Likewise.
8190         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
8191         * sysdeps/sh/strlen.S: Likewise.
8192         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
8193         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
8194         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
8195         * sysdeps/sparc/sparc32/rem.S: Likewise.
8196         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
8197         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
8198         * sysdeps/sparc/sparc32/strchr.S: Likewise.
8199         * sysdeps/sparc/sparc32/udiv.S: Likewise.
8200         * sysdeps/sparc/sparc32/urem.S: Likewise.
8201         * sysdeps/sparc/sparc64/add_n.S: Likewise.
8202         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8203         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
8204         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
8205         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
8206         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
8207         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
8208         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
8209         * sysdeps/unix/bsd/times.c: Likewise.
8210         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
8211         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
8212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8215         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
8216         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8217         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
8218         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
8219         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
8220         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
8221         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8222         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
8223         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8224         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8225         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
8226         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8227         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
8228         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
8229         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
8230         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
8231         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
8232         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8233         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
8234         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
8235         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8236         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
8237         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8238         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
8239         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
8240         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
8241         * sysdeps/x86_64/strcspn.S: Likewise.
8243 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8245         * locale/C-translit.h: Revert #include <stdint.h> because this is a
8246         generated file.  Regenerate properly from gen-translit.pl.
8247         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
8248         locale/C-translit.h.
8250 2013-06-05  Andreas Schwab  <schwab@suse.de>
8252         [BZ #15100]
8253         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
8254         week as 6 instead of -1.
8255         * time/tst-strptime.c (day_tests): Add test case.
8257 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8259         * sysdeps/generic/math_private.h
8260         (libc_feholdexcept_setround_53bit): Replace with
8261         libc_feholdsetround_53bit.
8262         (libc_feupdateenv_53bit): Replace with
8263         libc_feresetround_53bit.
8264         (SET_RESTORE_ROUND_53BIT): Adjust.
8266 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
8268         * string/test-strchrnul.c: Add copyright header.
8270         * posix/tst-getaddrinfo4.c: Increase test timeout.
8272 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
8274         [BZ #15536]
8275         * math/libm-test.inc (MAX_EXP): Remove
8276         (MIN_EXP): Define.
8277         (ulp): Use MIN_EXP - MANT_DIG.
8278         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
8280 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
8282         * po/be.po: Revert last change.
8283         * po/zh_CN.po: Likewise.
8284         * po/header.pot: Likewise.
8286 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
8288         * Makefile ($(common-objpfx)linkobj/libc.so): Define
8289         link-libc-deps to empty as target-specific variable.
8290         * Makerules (link-libc-args): New variable.
8291         (libc-for-link): Likewise.
8292         (link-libc-deps): Likewise.
8293         (lib%.so): Depend on $(link-libc-deps).  Link with
8294         $(link-libc-args).
8295         (build-module): Link with $(link-libc-args).
8296         (build-module-asneeded): Likewise.
8297         (build-module-helper-objlist): Filter out $(link-libc-deps) from
8298         list of objects.
8299         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
8300         target-specific variable.
8301         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
8302         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
8303         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
8304         libc.
8305         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
8306         libc and ld.so.
8307         ($(objpfx)libpcprofile.so): Likewise.
8308         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
8309         libc_nonshared.a.
8310         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
8311         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
8312         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
8313         $(link-libc-deps).
8314         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
8315         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
8316         * login/Makefile ($(objpfx)libutil.so): Likewise.
8317         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
8318         * math/Makefile ($(objpfx)libm.so): Likewise.
8319         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
8320         $(objpfx)libnsl.so): Define libc-for-link as target-specific
8321         variable instead of depending directly on libc.
8322         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
8323         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
8324         $(link-libc-deps).
8325         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
8326         libc.
8327         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
8328         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
8329         ($(objpfx)libanl.so): Likewise.
8330         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
8331         ld.so.
8332         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
8333         $(link-libc-deps).
8334         * sysdeps/i386/fpu/Makefile: Remove file.
8335         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
8336         ($(objpfx)libm.so): Remove dependency on ld.so.
8338 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
8340         [BZ # 15553]
8341         * nis/yp_xdr.c (XDRMAXNAME): Define.
8342         (XDRMAXRECORD): Define.
8343         (xdr_domainname): Use XDRMAXNAME.
8344         (xdr_mapname): Likewise.
8345         (xdr_peername): Likewise.
8346         (xdr_keydat): Use XDRMAXRECORD.
8347         (xdr_valdat): Likewise.
8349 2013-05-30  Jeff Law  <law@redhat.com>
8351         [BZ #14256]
8352         * manual/errno.texi (ESTALE): Update to account for more than
8353         just NFS file systems.
8354         * sysdeps/gnu/errlist.c: Regenerated.
8356 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8358         [BZ #15465]
8359         * elf/Makefile (tests): Add tst-null-argv.
8360         (modules-names):  Add tst-null-argv-lib.
8361         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
8362         (tst-null-argv-ENV): Set environment for tst-null-argv.
8363         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
8364         (RTLD_PROGNAME): New macro.
8365         * elf/tst-null-argv.c: New test case.
8366         * elf/tst-null-argv-lib.c: Library for test case.
8367         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
8368         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8369         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
8370         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
8371         * elf/dl-init.c (call_init): Likewise.
8372         (_dl_init): Likewise.
8373         * elf/dl-load.c (print_search_path): Likewise.
8374         (_dl_map_object): Likewise.
8375         * elf/dl-lookup.c (do_lookup_x): Likewise.
8376         (add_dependency): Likewise.
8377         (_dl_lookup_symbol_x): Likewise.
8378         (_dl_debug_bindings): Likewise.
8379         * elf/dl-open.c (_dl_show_scope): Likewise.
8380         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8381         * elf/dl-version.c (match_symbol): Likewise.
8382         (_dl_check_map_versions): Likewise.
8383         * elf/rtld.c (dl_main): Likewise.
8384         (print_unresolved): Use RTLD_PROGNAME.
8385         (print_missing_version): Likewise.
8386         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
8387         (elf_machine_rela): Likewise.
8388         * sysdeps/powerpc/powerpc32/dl-machine.c
8389         (__process_machine_rela): Likewise.
8390         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8391         Likewise.
8392         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8393         Likewise.
8394         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8395         Likewise.
8396         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8397         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
8398         Likewise.
8399         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
8400         Likewise.
8401         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8403 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
8405         * po/be.po: Add descriptive title.
8406         * po/zh_CN.po: Likewise.
8407         * po/header.pot: Likewise.
8409 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
8411         * locale/programs/locarchive.c (create_archive): Inlucde fname in
8412         error message.
8413         (enlarge_archive): Likewise.
8415 2013-05-28  Ben North  <ben@redfrontdoor.org>
8417         * manual/arith.texi (frexp): It is the magnitude of the return
8418         value which lies in [0.5, 1), not the return value itself.
8420 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8422         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8424 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
8426         * stdio-common/bug26.c (main): Correct fscanf template.
8428         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
8429         declare _dl_skip_args.
8431         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
8432         Don't declare.
8434         * manual/platform.texi: Add missing @end deftypefun.
8436 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
8438         [BZ #15529]
8439         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
8440         bit of mantissa of 2^16382.
8441         * math/libm-test.inc (hypot_test_data): Add more tests.
8443         * math/libm-test.inc: Add drem and pow10 to list of tested
8444         functions.
8445         (pow10_test): New function.
8446         (drem_test): Likewise.
8447         (drem_test_tonearest): Likewise.
8448         (drem_test_towardzero): Likewise.
8449         (drem_test_downward): Likewise.
8450         (drem_test_upward): Likewise.
8451         (main): Call the new functions.
8453         * math/libm-test.inc (finite_test_data): Remove.
8454         (finite_test): Run tests from isfinite_test_data.
8455         (gamma_test_data): Remove.
8456         (gamma_test): Run tests from lgamma_test_data.
8457         * sysdeps/i386/fpu/libm-test-ulps: Update.
8458         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8460 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8462         * manual/platform.texi: Add PowerPC PPR function set documentation.
8463         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
8464         implementation.
8466 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
8468         * math/libm-test.inc (MAX_EXP): Define.
8469         (ULPDIFF): Define.
8470         (ulp): New function.
8471         (check_float_internal): Use ULPDIFF.
8472         (cpow_test): Disable failing test.
8473         (check_ulp): Test ulp() implemetnation.
8474         (main): Call check_ulp before starting tests.
8476 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
8478         * math/gen-libm-test.pl (generate_testfile): Do not handle
8479         START_DATA and END_DATA.
8480         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
8481         END_DATA.
8482         (acos_tonearest_test_data): Likewise.
8483         (acos_towardzero_test_data): Likewise.
8484         (acos_downward_test_data): Likewise.
8485         (acos_upward_test_data): Likewise.
8486         (acosh_test_data): Likewise.
8487         (asin_test_data): Likewise.
8488         (asin_tonearest_test_data): Likewise.
8489         (asin_towardzero_test_data): Likewise.
8490         (asin_downward_test_data): Likewise.
8491         (asin_upward_test_data): Likewise.
8492         (asinh_test_data): Likewise.
8493         (atan_test_data): Likewise.
8494         (atanh_test_data): Likewise.
8495         (atan2_test_data): Likewise.
8496         (cabs_test_data): Likewise.
8497         (cacos_test_data): Likewise.
8498         (cacosh_test_data): Likewise.
8499         (carg_test_data): Likewise.
8500         (casin_test_data): Likewise.
8501         (casinh_test_data): Likewise.
8502         (catan_test_data): Likewise.
8503         (catanh_test_data): Likewise.
8504         (cbrt_test_data): Likewise.
8505         (ccos_test_data): Likewise.
8506         (ccosh_test_data): Likewise.
8507         (ceil_test_data): Likewise.
8508         (cexp_test_data): Likewise.
8509         (cimag_test_data): Likewise.
8510         (clog_test_data): Likewise.
8511         (clog10_test_data): Likewise.
8512         (conj_test_data): Likewise.
8513         (copysign_test_data): Likewise.
8514         (cos_test_data): Likewise.
8515         (cos_tonearest_test_data): Likewise.
8516         (cos_towardzero_test_data): Likewise.
8517         (cos_downward_test_data): Likewise.
8518         (cos_upward_test_data): Likewise.
8519         (cosh_test_data): Likewise.
8520         (cosh_tonearest_test_data): Likewise.
8521         (cosh_towardzero_test_data): Likewise.
8522         (cosh_downward_test_data): Likewise.
8523         (cosh_upward_test_data): Likewise.
8524         (cpow_test_data): Likewise.
8525         (cproj_test_data): Likewise.
8526         (creal_test_data): Likewise.
8527         (csin_test_data): Likewise.
8528         (csinh_test_data): Likewise.
8529         (csqrt_test_data): Likewise.
8530         (ctan_test_data): Likewise.
8531         (ctan_tonearest_test_data): Likewise.
8532         (ctan_towardzero_test_data): Likewise.
8533         (ctan_downward_test_data): Likewise.
8534         (ctan_upward_test_data): Likewise.
8535         (ctanh_test_data): Likewise.
8536         (ctanh_tonearest_test_data): Likewise.
8537         (ctanh_towardzero_test_data): Likewise.
8538         (ctanh_downward_test_data): Likewise.
8539         (ctanh_upward_test_data): Likewise.
8540         (erf_test_data): Likewise.
8541         (erfc_test_data): Likewise.
8542         (exp_test_data): Likewise.
8543         (exp_tonearest_test_data): Likewise.
8544         (exp_towardzero_test_data): Likewise.
8545         (exp_downward_test_data): Likewise.
8546         (exp_upward_test_data): Likewise.
8547         (exp10_test_data): Likewise.
8548         (exp2_test_data): Likewise.
8549         (expm1_test_data): Likewise.
8550         (fabs_test_data): Likewise.
8551         (fdim_test_data): Likewise.
8552         (finite_test_data): Likewise.
8553         (floor_test_data): Likewise.
8554         (fma_test_data): Likewise.
8555         (fma_towardzero_test_data): Likewise.
8556         (fma_downward_test_data): Likewise.
8557         (fma_upward_test_data): Likewise.
8558         (fmax_test_data): Likewise.
8559         (fmin_test_data): Likewise.
8560         (fmod_test_data): Likewise.
8561         (fpclassify_test_data): Likewise.
8562         (frexp_test_data): Likewise.
8563         (gamma_test_data): Likewise.
8564         (hypot_test_data): Likewise.
8565         (ilogb_test_data): Likewise.
8566         (isfinite_test_data): Likewise.
8567         (isgreater_test_data): Likewise.
8568         (isgreaterequal_test_data): Likewise.
8569         (isinf_test_data): Likewise.
8570         (isless_test_data): Likewise.
8571         (islessequal_test_data): Likewise.
8572         (islessgreater_test_data): Likewise.
8573         (isnan_test_data): Likewise.
8574         (isnormal_test_data): Likewise.
8575         (issignaling_test_data): Likewise.
8576         (isunordered_test_data): Likewise.
8577         (j0_test_data): Likewise.
8578         (j1_test_data): Likewise.
8579         (jn_test_data): Likewise.
8580         (ldexp_test_data): Likewise.
8581         (lgamma_test_data): Likewise.
8582         (lrint_test_data): Likewise.
8583         (lrint_tonearest_test_data): Likewise.
8584         (lrint_towardzero_test_data): Likewise.
8585         (lrint_downward_test_data): Likewise.
8586         (lrint_upward_test_data): Likewise.
8587         (llrint_test_data): Likewise.
8588         (llrint_tonearest_test_data): Likewise.
8589         (llrint_towardzero_test_data): Likewise.
8590         (llrint_downward_test_data): Likewise.
8591         (llrint_upward_test_data): Likewise.
8592         (log_test_data): Likewise.
8593         (log10_test_data): Likewise.
8594         (log1p_test_data): Likewise.
8595         (log2_test_data): Likewise.
8596         (logb_test_data): Likewise.
8597         (logb_downward_test_data): Likewise.
8598         (lround_test_data): Likewise.
8599         (llround_test_data): Likewise.
8600         (modf_test_data): Likewise.
8601         (nearbyint_test_data): Likewise.
8602         (nextafter_test_data): Likewise.
8603         (nexttoward_test_data): Likewise.
8604         (pow_test_data): Likewise.
8605         (pow_tonearest_test_data): Likewise.
8606         (pow_towardzero_test_data): Likewise.
8607         (pow_downward_test_data): Likewise.
8608         (pow_upward_test_data): Likewise.
8609         (remainder_test_data): Likewise.
8610         (remainder_tonearest_test_data): Likewise.
8611         (remainder_towardzero_test_data): Likewise.
8612         (remainder_downward_test_data): Likewise.
8613         (remainder_upward_test_data): Likewise.
8614         (remquo_test_data): Likewise.
8615         (rint_test_data): Likewise.
8616         (rint_tonearest_test_data): Likewise.
8617         (rint_towardzero_test_data): Likewise.
8618         (rint_downward_test_data): Likewise.
8619         (rint_upward_test_data): Likewise.
8620         (round_test_data): Likewise.
8621         (scalb_test_data): Likewise.
8622         (scalbn_test_data): Likewise.
8623         (scalbln_test_data): Likewise.
8624         (signbit_test_data): Likewise.
8625         (sin_test_data): Likewise.
8626         (sin_tonearest_test_data): Likewise.
8627         (sin_towardzero_test_data): Likewise.
8628         (sin_downward_test_data): Likewise.
8629         (sin_upward_test_data): Likewise.
8630         (sincos_test_data): Likewise.
8631         (sinh_test_data): Likewise.
8632         (sinh_tonearest_test_data): Likewise.
8633         (sinh_towardzero_test_data): Likewise.
8634         (sinh_downward_test_data): Likewise.
8635         (sinh_upward_test_data): Likewise.
8636         (sqrt_test_data): Likewise.
8637         (tan_test_data): Likewise.
8638         (tan_tonearest_test_data): Likewise.
8639         (tan_towardzero_test_data): Likewise.
8640         (tan_downward_test_data): Likewise.
8641         (tan_upward_test_data): Likewise.
8642         (tanh_test_data): Likewise.
8643         (tgamma_test_data): Likewise.
8644         (trunc_test_data): Likewise.
8645         (y0_test_data): Likewise.
8646         (y1_test_data): Likewise.
8647         (yn_test_data): Likewise.
8648         (significand_test_data): Likewise.
8650         * math/gen-libm-test.pl (@functions): Remove variable.
8651         (generate_testfile): Don't handle START and END lines.
8652         * math/libm-test.inc (START): New macro.
8653         (END): Likewise.
8654         (END_COMPLEX): Likewise.
8655         (acos_test): Use END macro without arguments.
8656         (acos_test_tonearest): Likewise.
8657         (acos_test_towardzero): Likewise.
8658         (acos_test_downward): Likewise.
8659         (acos_test_upward): Likewise.
8660         (acosh_test): Likewise.
8661         (asin_test): Likewise.
8662         (asin_test_tonearest): Likewise.
8663         (asin_test_towardzero): Likewise.
8664         (asin_test_downward): Likewise.
8665         (asin_test_upward): Likewise.
8666         (asinh_test): Likewise.
8667         (atan_test): Likewise.
8668         (atanh_test): Likewise.
8669         (atan2_test): Likewise.
8670         (cabs_test): Likewise.
8671         (cacos_test): Use END_COMPLEX macro without arguments.
8672         (cacosh_test): Likewise.
8673         (carg_test): Use END macro without arguments.
8674         (casin_test): Use END_COMPLEX macro without arguments.
8675         (casinh_test): Likewise.
8676         (catan_test): Likewise.
8677         (catanh_test): Likewise.
8678         (cbrt_test): Use END macro without arguments.
8679         (ccos_test): Use END_COMPLEX macro without arguments.
8680         (ccosh_test): Likewise.
8681         (ceil_test): Use END macro without arguments.
8682         (cexp_test): Use END_COMPLEX macro without arguments.
8683         (cimag_test): Use END macro without arguments.
8684         (clog_test): Use END_COMPLEX macro without arguments.
8685         (clog10_test): Likewise.
8686         (conj_test): Likewise.
8687         (copysign_test): Use END macro without arguments.
8688         (cos_test): Likewise.
8689         (cos_test_tonearest): Likewise.
8690         (cos_test_towardzero): Likewise.
8691         (cos_test_downward): Likewise.
8692         (cos_test_upward): Likewise.
8693         (cosh_test): Likewise.
8694         (cosh_test_tonearest): Likewise.
8695         (cosh_test_towardzero): Likewise.
8696         (cosh_test_downward): Likewise.
8697         (cosh_test_upward): Likewise.
8698         (cpow_test): Use END_COMPLEX macro without arguments.
8699         (cproj_test): Likewise.
8700         (creal_test): Use END macro without arguments.
8701         (csin_test): Use END_COMPLEX macro without arguments.
8702         (csinh_test): Likewise.
8703         (csqrt_test): Likewise.
8704         (ctan_test): Likewise.
8705         (ctan_test_tonearest): Likewise.
8706         (ctan_test_towardzero): Likewise.
8707         (ctan_test_downward): Likewise.
8708         (ctan_test_upward): Likewise.
8709         (ctanh_test): Likewise.
8710         (ctanh_test_tonearest): Likewise.
8711         (ctanh_test_towardzero): Likewise.
8712         (ctanh_test_downward): Likewise.
8713         (ctanh_test_upward): Likewise.
8714         (erf_test): Use END macro without arguments.
8715         (erfc_test): Likewise.
8716         (exp_test): Likewise.
8717         (exp_test_tonearest): Likewise.
8718         (exp_test_towardzero): Likewise.
8719         (exp_test_downward): Likewise.
8720         (exp_test_upward): Likewise.
8721         (exp10_test): Likewise.
8722         (exp2_test): Likewise.
8723         (expm1_test): Likewise.
8724         (fabs_test): Likewise.
8725         (fdim_test): Likewise.
8726         (finite_test): Likewise.
8727         (floor_test): Likewise.
8728         (fma_test): Likewise.
8729         (fma_test_towardzero): Likewise.
8730         (fma_test_downward): Likewise.
8731         (fma_test_upward): Likewise.
8732         (fmax_test): Likewise.
8733         (fmin_test): Likewise.
8734         (fmod_test): Likewise.
8735         (fpclassify_test): Likewise.
8736         (frexp_test): Likewise.
8737         (gamma_test): Likewise.
8738         (hypot_test): Likewise.
8739         (ilogb_test): Likewise.
8740         (isfinite_test): Likewise.
8741         (isgreater_test): Likewise.
8742         (isgreaterequal_test): Likewise.
8743         (isinf_test): Likewise.
8744         (isless_test): Likewise.
8745         (islessequal_test): Likewise.
8746         (islessgreater_test): Likewise.
8747         (isnan_test): Likewise.
8748         (isnormal_test): Likewise.
8749         (issignaling_test): Likewise.
8750         (isunordered_test): Likewise.
8751         (j0_test): Likewise.
8752         (j1_test): Likewise.
8753         (jn_test): Likewise.
8754         (ldexp_test): Likewise.
8755         (lgamma_test): Likewise.
8756         (lrint_test): Likewise.
8757         (lrint_test_tonearest): Likewise.
8758         (lrint_test_towardzero): Likewise.
8759         (lrint_test_downward): Likewise.
8760         (lrint_test_upward): Likewise.
8761         (llrint_test): Likewise.
8762         (llrint_test_tonearest): Likewise.
8763         (llrint_test_towardzero): Likewise.
8764         (llrint_test_downward): Likewise.
8765         (llrint_test_upward): Likewise.
8766         (log_test): Likewise.
8767         (log10_test): Likewise.
8768         (log1p_test): Likewise.
8769         (log2_test): Likewise.
8770         (logb_test): Likewise.
8771         (logb_test_downward): Likewise.
8772         (lround_test): Likewise.
8773         (llround_test): Likewise.
8774         (modf_test): Likewise.
8775         (nearbyint_test): Likewise.
8776         (nextafter_test): Likewise.
8777         (nexttoward_test): Likewise.
8778         (pow_test): Likewise.
8779         (pow_test_tonearest): Likewise.
8780         (pow_test_towardzero): Likewise.
8781         (pow_test_downward): Likewise.
8782         (pow_test_upward): Likewise.
8783         (remainder_test): Likewise.
8784         (remainder_test_tonearest): Likewise.
8785         (remainder_test_towardzero): Likewise.
8786         (remainder_test_downward): Likewise.
8787         (remainder_test_upward): Likewise.
8788         (remquo_test): Likewise.
8789         (rint_test): Likewise.
8790         (rint_test_tonearest): Likewise.
8791         (rint_test_towardzero): Likewise.
8792         (rint_test_downward): Likewise.
8793         (rint_test_upward): Likewise.
8794         (round_test): Likewise.
8795         (scalb_test): Likewise.
8796         (scalbn_test): Likewise.
8797         (scalbln_test): Likewise.
8798         (signbit_test): Likewise.
8799         (sin_test): Likewise.
8800         (sin_test_tonearest): Likewise.
8801         (sin_test_towardzero): Likewise.
8802         (sin_test_downward): Likewise.
8803         (sin_test_upward): Likewise.
8804         (sincos_test): Likewise.
8805         (sinh_test): Likewise.
8806         (sinh_test_tonearest): Likewise.
8807         (sinh_test_towardzero): Likewise.
8808         (sinh_test_downward): Likewise.
8809         (sinh_test_upward): Likewise.
8810         (sqrt_test): Likewise.
8811         (tan_test): Likewise.
8812         (tan_test_tonearest): Likewise.
8813         (tan_test_towardzero): Likewise.
8814         (tan_test_downward): Likewise.
8815         (tan_test_upward): Likewise.
8816         (tanh_test): Likewise.
8817         (tgamma_test): Likewise.
8818         (trunc_test): Likewise.
8819         (y0_test): Likewise.
8820         (y1_test): Likewise.
8821         (yn_test): Likewise.
8822         (significand_test): Likewise.
8824 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
8826         [BZ #15381]
8827         * libio/genops.c (_IO_no_init): Initialize wide struct info.
8829 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
8831         [BZ #14894]
8832         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8833         __ppc_mdoio and __ppc_mdoom.
8834         * manual/platform.texi: Document new functions __ppc_yield,
8835         __ppc_mdoio and __ppc_mdoom.
8837 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
8839         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8840         (main): Mention "tls" pseudo-hwcap is legacy.
8841         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8843 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
8845         * math/gen-libm-test.pl (parse_args): Output only string of
8846         arguments as text for test name, not full call or descriptions of
8847         tests for extra outputs.
8848         (generate_testfile): Do not pass function name to parse_args.
8849         Generate this_func variable from START.
8850         * math/libm-test.inc (struct test_f_f_data): Rename test_name
8851         field to arg_str.
8852         (struct test_ff_f_data): Likewise.
8853         (test_ff_f_data_nexttoward): Likewise.
8854         (struct test_fi_f_data): Likewise.
8855         (struct test_fl_f_data): Likewise.
8856         (struct test_if_f_data): Likewise.
8857         (struct test_fff_f_data): Likewise.
8858         (struct test_c_f_data): Likewise.
8859         (struct test_f_f1_data): Likewise.  Remove field extra_name.
8860         (struct test_fF_f1_data): Likewise.
8861         (struct test_ffI_f1_data): Likewise.
8862         (struct test_c_c_data): Rename test_name field to arg_str.
8863         (struct test_cc_c_data): Likewise.
8864         (struct test_f_i_data): Likewise.
8865         (struct test_ff_i_data): Likewise.
8866         (struct test_f_l_data): Likewise.
8867         (struct test_f_L_data): Likewise.
8868         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
8869         and extra2_name.
8870         (COMMON_TEST_SETUP): New macro.
8871         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8872         (COMMON_TEST_CLEANUP): Likewise.
8873         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8874         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
8875         macros.
8876         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8877         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
8878         macros.
8879         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8880         (RUN_TEST_fff_f): Take argument string.  Call new setup and
8881         cleanup macros.
8882         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8883         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
8884         macros.
8885         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8886         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
8887         macros.
8888         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8889         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
8890         cleanup macros.
8891         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8892         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
8893         cleanup macros.
8894         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8895         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
8896         cleanup macros.
8897         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8898         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
8899         macros.
8900         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8901         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
8902         macros.
8903         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8904         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
8905         macros.
8906         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8907         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
8908         cleanup macros.
8909         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8910         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
8911         cleanup macros.
8912         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8913         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
8914         macros.
8915         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8916         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
8917         cleanup macros.
8918         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8919         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
8920         macros.
8921         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8922         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
8923         macros.
8924         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8925         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
8926         cleanup macros.
8927         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8929 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
8931         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8932         to _sifields.sigfault.
8933         (si_addr_lsb): Define new macro.
8934         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8935         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8936         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8938 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
8940         [BZ #15441]
8941         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8942         returns -1.
8943         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8944         null return -1.
8945         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8946         loading the domain.
8948 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
8950         * math/gen-libm-test.pl (parse_args): Do not include expected
8951         result in test name.
8952         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8953         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8954         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8955         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8956         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8959 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
8961         * benchtests/Makefile: Sort function entries.
8963         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8964         tanh, asinh, acosh, atanh.
8965         * benchtests/acos-inputs: New file.
8966         * benchtests/acosh-inputs: New file.
8967         * benchtests/asin-inputs: New file.
8968         * benchtests/asinh-inputs: New file.
8969         * benchtests/atanh-inputs: New file.
8970         * benchtests/cosh-inputs: New file.
8971         * benchtests/log-inputs: New file.
8972         * benchtests/sinh-inputs: New file.
8973         * benchtests/tanh-inputs: New file.
8975 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
8977         [BZ #15339]
8978         * posix/tst-getaddrinfo4.c: New test.
8979         * posix/Makefile (tests): Add it.
8981 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8983         [BZ #15339]
8984         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8985         when no services were used.
8986         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8987         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8989 2013-05-21  Andreas Schwab  <schwab@suse.de>
8991         [BZ #15014]
8992         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8993         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8994         successful.
8995         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8996         redundant variable declarations and reallocation of buffer when
8997         parsing as IPv6 address.  Always set NSS status when called from
8998         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
8999         buffer too small.  Correct computation of needed size.
9000         * nss/Makefile (tests): Add test-digits-dots.
9001         * nss/test-digits-dots.c: New test.
9003 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9005         * benchtests/Makefile: Remove instructions for adding
9006         benchmark tests.
9007         * benchtests/README: New file to explain how to execute and
9008         enhance the benchmark tests.
9010 2013-05-21  Andreas Schwab  <schwab@suse.de>
9012         [BZ #15493]
9013         * setjmp/Makefile (tests): Add tst-sigsetjmp.
9014         * setjmp/tst-sigsetjmp.c: New test.
9016 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
9018         * sysdeps/x86_64/memset.S (memset): New implementation.
9019         (__bzero): Likewise.
9020         (__memset_tail): New function.
9022 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
9024         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
9025         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
9026         __memcpy_sse2_unaligned ifunc selection.
9027         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9028         Add memcpy-sse2-unaligned.S.
9029         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9030         Add: __memcpy_sse2_unaligned.
9032 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
9034         [BZ #15490]
9035         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9036         math_force_eval before restoring floating-point envrionment.
9037         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
9038         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
9039         Likewise.
9040         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
9041         <math_private.h>.
9042         (__nearbyintl): Use math_force_eval before restoring
9043         floating-point environment.
9044         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
9046         * math/gen-libm-test.pl (special_functions): Remove.
9047         (parse_args): Don't handle TEST_extra.  Handle functions with no
9048         return value.
9049         * math/libm-test.inc (struct test_sincos_data): Replace with
9050         struct test_fFF_11_data.
9051         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
9052         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
9053         (sincos_test_data): Change element type to struct
9054         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
9055         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
9056         RUN_TEST_LOOP_sincos.
9057         * math/README.libm-test: Don't mention special handling of
9058         individual functions.
9059         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
9060         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9061         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9062         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9063         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9066         * math/gen-libm-test.pl (get_variable): Remove function.
9067         (parse_args): Don't show pointer parameters to call in test
9068         names.  Use "extra output N" in test names for extra outputs
9069         rather than naming variables.
9071 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
9073         [BZ #15488]
9074         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
9075         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
9076         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
9077         double tests.
9078         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
9079         disable.
9080         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
9081         check_long_double.
9083         * math/gen-libm-test.pl (@tests): Remove variable.
9084         ($count): Likewise.
9085         (new_test): Remove function.
9086         (show_exceptions): New function.
9087         (special_functions): Use show_exceptions instead of new_test.
9088         (parse_args): Likewise.
9089         (generate_testfile): Pass only function name in generated call to
9090         print_max_error or print_complex_max_error.
9091         (get_ulps): Do not handle complex tests specially.
9092         (output_test): Rename to ...
9093         (get_all_ulps_for_test): ... this.  Return a string rather than
9094         printing to a file.  Require ulps to be present.
9095         (output_ulps): Generate arrays rather than #defines.
9096         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
9097         (struct ulp_data): New type.
9098         (BUILD_COMPLEX_ULP): Remove macro.
9099         (compare_ulp_data): New function.
9100         (find_ulps): Likewise.
9101         (find_test_ulps): Likewise.
9102         (find_function_ulps): Likewise.
9103         (find_complex_function_ulps): Likewise.
9104         (print_max_error): Determine allowed ulps using
9105         find_function_ulps.
9106         (print_complex_max_error): Determine allowed ulps using
9107         find_complex_function_ulps.
9108         (check_float_internal): Determine max ulps using find_test_ulps.
9109         (check_float): Do not take max_ulp parameter.  Update call to
9110         check_float_internal.
9111         (check_complex): Likewise.
9112         (check_int): Do not take max_ulp parameter.
9113         (check_long): Likewise.
9114         (check_bool): Likewise.
9115         (check_longlong): Likewise.
9116         (struct test_f_f_data): Remove max_ulp field.
9117         (struct test_ff_f_data): Likewise.
9118         (struct test_ff_f_data_nexttoward): Likewise.
9119         (struct test_fi_f_data): Likewise.
9120         (struct test_fl_f_data): Likewise.
9121         (struct test_if_f_data): Likewise.
9122         (struct test_fff_f_data): Likewise.
9123         (struct test_c_f_data): Likewise.
9124         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
9125         (struct test_fF_f1_data): Likewise.
9126         (struct test_ffI_f1_data): Likewise.
9127         (struct test_c_c_data): Remove max_ulp field.
9128         (struct test_cc_c_data): Likewise.
9129         (struct test_f_i_data): Likewise.
9130         (struct test_ff_i_data): Likewise.
9131         (struct test_f_l_data): Likewise.
9132         (struct test_f_L_data): Likewise.
9133         (struct test_sincos_data): Likewise.
9134         (RUN_TEST_f_f): Do not handle ulps.
9135         (RUN_TEST_LOOP_f_f): Likewise.
9136         (RUN_TEST_2_f): Likewise.
9137         (RUN_TEST_LOOP_2_f): Likewise.
9138         (RUN_TEST_fff_f): Likewise.
9139         (RUN_TEST_LOOP_fff_f): Likewise.
9140         (RUN_TEST_c_f): Likewise.
9141         (RUN_TEST_LOOP_c_f): Likewise.
9142         (RUN_TEST_f_f1): Likewise.
9143         (RUN_TEST_LOOP_f_f1): Likewise.
9144         (RUN_TEST_fF_f1): Likewise.
9145         (RUN_TEST_LOOP_fF_f1): Likewise.
9146         (RUN_TEST_fI_f1): Likewise.
9147         (RUN_TEST_LOOP_fI_f1): Likewise.
9148         (RUN_TEST_ffI_f1): Likewise.
9149         (RUN_TEST_LOOP_ffI_f1): Likewise.
9150         (RUN_TEST_c_c): Likewise.
9151         (RUN_TEST_LOOP_c_c): Likewise.
9152         (RUN_TEST_cc_c): Likewise.
9153         (RUN_TEST_LOOP_cc_c): Likewise.
9154         (RUN_TEST_f_i): Likewise.
9155         (RUN_TEST_LOOP_f_i): Likewise.
9156         (RUN_TEST_f_i_tg): Likewise.
9157         (RUN_TEST_LOOP_f_i_tg): Likewise.
9158         (RUN_TEST_ff_i_tg): Likewise.
9159         (RUN_TEST_LOOP_ff_i_tg): Likewise.
9160         (RUN_TEST_f_b): Likewise.
9161         (RUN_TEST_LOOP_f_b): Likewise.
9162         (RUN_TEST_f_b_tg): Likewise.
9163         (RUN_TEST_LOOP_f_b_tg): Likewise.
9164         (RUN_TEST_f_l): Likewise.
9165         (RUN_TEST_LOOP_f_l): Likewise.
9166         (RUN_TEST_f_L): Likewise.
9167         (RUN_TEST_LOOP_f_L): Likewise.
9168         (RUN_TEST_sincos): Likewise.
9169         (RUN_TEST_LOOP_sincos): Likewise.
9171 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
9173         [BZ #15480]
9174         [BZ #15485]
9175         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
9176         main case of finite arguments, set rounding mode to FE_TONEAREST
9177         and discard exceptions.
9178         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
9179         exceptions.
9180         (remainder_tonearest_test_data): New variable.
9181         (remainder_test_tonearest): New function.
9182         (remainder_towardzero_test_data): New variable.
9183         (remainder_test_towardzero): New function.
9184         (remainder_downward_test_data): New variable.
9185         (remainder_test_downward): New function.
9186         (remainder_upward_test_data): New variable.
9187         (remainder_test_upward): New function.
9188         (main): Call the new test functions.
9190         * math/libm-test.inc (struct test_f_f1_data): Remove field
9191         extra_init.
9192         (struct test_fF_f1_data): Likewise.
9193         (struct test_ffI_f1_data): Likewise.
9194         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
9195         based on value of EXTRA_EXPECTED.
9196         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9197         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
9198         EXTRA_VAR based on value of EXTRA_EXPECTED.
9199         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9200         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
9201         EXTRA_VAR based on value of EXTRA_EXPECTED.
9202         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9203         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
9204         EXTRA_VAR based on value of EXTRA_EXPECTED.
9205         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9206         * math/gen-libm-test.pl (parse_args): Don't output initializers
9207         for extra output values.
9209         * math/libm-test.inc (check_int): Expect result to be exactly
9210         equal to expected value and do not handle ulps.
9211         (check_long): Likewise.
9212         (check_longlong): Likewise.
9214         * math/libm-test.inc (ceil_test_data): Test for "inexact"
9215         exceptions.
9216         (cimag_test_data): Likewise.
9217         (conj_test_data): Likewise.
9218         (copysign_test_data): Likewise.
9219         (cproj_test_data): Likewise.
9220         (creal_test_data): Likewise.
9221         (fabs_test_data): Likewise.
9222         (fdim_test_data): Likewise.
9223         (finite_test_data): Likewise.
9224         (floor_test_data): Likewise.
9225         (fmax_test_data): Likewise.
9226         (fmin_test_data): Likewise.
9227         (fmod_test_data): Likewise.
9228         (fpclassify_test_data): Likewise.
9229         (frexp_test_data): Likewise.
9230         (ilogb_test_data): Likewise.
9231         (isfinite_test_data): Likewise.
9232         (isgreater_test_data): Likewise.
9233         (isgreaterequal_test_data): Likewise.
9234         (isinf_test_data): Likewise.
9235         (isless_test_data): Likewise.
9236         (islessequal_test_data): Likewise.
9237         (islessgreater_test_data): Likewise.
9238         (isnan_test_data): Likewise.
9239         (isnormal_test_data): Likewise.
9240         (issignaling_test_data): Likewise.
9241         (isunordered_test_data): Likewise.
9242         (ldexp_test_data): Likewise.
9243         (lrint_test_data): Likewise.
9244         (lrint_test_data) [TEST_FLOAT]: Disable one test.
9245         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
9246         (lrint_tonearest_test_data): Test for "inexact" exceptions.
9247         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9248         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
9249         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9250         test input.
9251         (lrint_towardzero_test_data): Test for "inexact" exceptions.
9252         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9253         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
9254         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
9255         that test input.
9256         (lrint_downward_test_data): Test for "inexact" exceptions.
9257         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9258         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
9259         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9260         test input.
9261         (lrint_upward_test_data): Test for "inexact" exceptions.
9262         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
9263         test input.
9264         (llrint_test_data): Test for "inexact" exceptions.
9265         (llrint_test_data) [TEST_FLOAT]: Disable one test.
9266         (llrint_tonearest_test_data): Test for "inexact" exceptions.
9267         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9268         (llrint_towardzero_test_data): Test for "inexact" exceptions.
9269         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9270         (llrint_downward_test_data): Test for "inexact" exceptions.
9271         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9272         (llrint_upward_test_data): Test for "inexact" exceptions.
9273         (logb_test_data): Likewise.
9274         (logb_downward_test_data): Likewise.
9275         (nextafter_test_data): Likewise.
9276         (nexttoward_test_data): Likewise.
9277         (remainder_test_data): Likewise.
9278         (remquo_test_data): Likewise.
9279         (scalbn_test_data): Likewise.
9280         (scalbln_test_data): Likewise.
9281         (signbit_test_data): Likewise.
9282         (sqrt_test_data): Likewise.
9283         (significand_test_data): Likewise.
9285 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
9287         [BZ #15424]
9288         * benchtests/bench-modf.c (struct args): Mark arg0 as
9289         volatile.
9290         * scripts/bench.pl: Mark members of struct args as volatile.
9292 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9294         [BZ # 15497]
9295         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
9296         negative infinity on POWER6 or lower.
9297         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
9299 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
9301         [BZ #15442]
9302         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
9303         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
9304         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
9305         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
9306         (_FP_SETQNAN): New macro.
9307         (_FP_SETQNAN_SEMIRAW): Likewise.
9308         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
9309         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
9310         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
9311         (FP_EXTEND): Use _FP_FRAC_SNANP.
9312         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
9313         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
9314         into account.
9315         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9316         New macro.
9317         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9318         Likewise.
9320 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
9322         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
9323         with DIVIDE_BY_ZERO_EXCEPTION.
9324         (gamma_test_data): Likewise.
9325         (lgamma_test_data): Likewise.
9326         (log_test_data): Likewise.
9327         (log10_test_data): Likewise.
9328         (log2_test_data): Likewise.
9329         (tgamma_test_data): Likewise.
9331         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
9332         (acos_test_tonearest): Likewise.
9333         (acos_test_towardzero): Likewise.
9334         (acos_test_downward): Likewise.
9335         (acos_test_upward): Likewise.
9336         (acosh_test): Likewise.
9337         (asin_test): Likewise.
9338         (asin_test_tonearest): Likewise.
9339         (asin_test_towardzero): Likewise.
9340         (asin_test_downward): Likewise.
9341         (asin_test_upward): Likewise.
9342         (asinh_test): Likewise.
9343         (atan_test): Likewise.
9344         (atanh_test): Likewise.
9345         (atan2_test): Likewise.
9346         (cabs_test): Likewise.
9347         (cacos_test): Likewise.
9348         (cacosh_test): Likewise.
9349         (casin_test): Likewise.
9350         (casinh_test): Likewise.
9351         (catan_test): Likewise.
9352         (catanh_test): Likewise.
9353         (cbrt_test): Likewise.
9354         (ccos_test): Likewise.
9355         (ccosh_test): Likewise.
9356         (cexp_test): Likewise.
9357         (clog_test): Likewise.
9358         (clog10_test): Likewise.
9359         (cos_test): Likewise.
9360         (cos_test_tonearest): Likewise.
9361         (cos_test_towardzero): Likewise.
9362         (cos_test_downward): Likewise.
9363         (cos_test_upward): Likewise.
9364         (cosh_test): Likewise.
9365         (cosh_test_tonearest): Likewise.
9366         (cosh_test_towardzero): Likewise.
9367         (cosh_test_downward): Likewise.
9368         (cosh_test_upward): Likewise.
9369         (cpow_test): Likewise.
9370         (csin_test): Likewise.
9371         (csinh_test): Likewise.
9372         (csqrt_test): Likewise.
9373         (ctan_test): Likewise.
9374         (ctan_test_tonearest): Likewise.
9375         (ctan_test_towardzero): Likewise.
9376         (ctan_test_downward): Likewise.
9377         (ctan_test_upward): Likewise.
9378         (ctanh_test): Likewise.
9379         (ctanh_test_tonearest): Likewise.
9380         (ctanh_test_towardzero): Likewise.
9381         (ctanh_test_downward): Likewise.
9382         (ctanh_test_upward): Likewise.
9383         (erf_test): Likewise.
9384         (erfc_test): Likewise.
9385         (exp_test): Likewise.
9386         (exp_test_tonearest): Likewise.
9387         (exp_test_towardzero): Likewise.
9388         (exp_test_downward): Likewise.
9389         (exp_test_upward): Likewise.
9390         (exp10_test): Likewise.
9391         (exp2_test): Likewise.
9392         (expm1_test): Likewise.
9393         (fmod_test): Likewise.
9394         (gamma_test): Likewise.
9395         (hypot_test): Likewise.
9396         (j0_test): Likewise.
9397         (j1_test): Likewise.
9398         (jn_test): Likewise.
9399         (lgamma_test): Likewise.
9400         (log_test): Likewise.
9401         (log10_test): Likewise.
9402         (log1p_test): Likewise.
9403         (log2_test): Likewise.
9404         (logb_test_downward): Likewise.
9405         (pow_test): Likewise.
9406         (pow_test_tonearest): Likewise.
9407         (pow_test_towardzero): Likewise.
9408         (pow_test_downward): Likewise.
9409         (pow_test_upward): Likewise.
9410         (remainder_test): Likewise.
9411         (remquo_test): Likewise.
9412         (sin_test): Likewise.
9413         (sin_test_tonearest): Likewise.
9414         (sin_test_towardzero): Likewise.
9415         (sin_test_downward): Likewise.
9416         (sin_test_upward): Likewise.
9417         (sincos_test): Likewise.
9418         (sinh_test): Likewise.
9419         (sinh_test_tonearest): Likewise.
9420         (sinh_test_towardzero): Likewise.
9421         (sinh_test_downward): Likewise.
9422         (sinh_test_upward): Likewise.
9423         (sqrt_test): Likewise.
9424         (tan_test): Likewise.
9425         (tan_test_tonearest): Likewise.
9426         (tan_test_towardzero): Likewise.
9427         (tan_test_downward): Likewise.
9428         (tan_test_upward): Likewise.
9429         (tanh_test): Likewise.
9430         (tgamma_test): Likewise.
9431         (y0_test): Likewise.
9432         (y1_test): Likewise.
9433         (yn_test): Likewise.
9435         * math/gen-libm-test.pl (adjust_arg): Remove function.
9436         (special_function): Remove argument $in_func.  Only handle
9437         generating output for tables of tests, not inside functions.
9438         (parse_args): Likewise.
9439         (generate_testfile): Remove variable $in_func.  Update call to
9440         parse_args.
9441         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
9442         (MINUS_ZERO_INIT): Rename macro to minus_zero.
9443         (PLUS_INFTY_INIT): Rename macro to plus_infty.
9444         (MINUS_INFTY_INIT): Rename macro to minus_infty.
9445         (QNAN_VALUE_INIT): Rename macro to qnan_value.
9446         (MAX_VALUE_INIT): Rename macro to max_value.
9447         (MIN_VALUE_INIT): Rename macro to min_value.
9448         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
9449         (plus_zero): Remove variable.
9450         (minus_zero): Likewise.
9451         (plus_infty): Likewise.
9452         (minus_infty): Likewise.
9453         (qnan_value): Likewise.
9454         (max_value): Likewise.
9455         (min_value): Likewise.
9456         (min_subnorm_value): Likewise.
9458 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
9460         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
9461         uint64_t or uint32_t usage.
9462         * crypt/sha256-block.c: Likewise.
9463         * crypt/sha256-crypt.c: Likewise.
9464         * crypt/sha256.c: Likewise.
9465         * crypt/sha512-block.c: Likewise.
9466         * crypt/sha512-crypt.c: Likewise.
9467         * crypt/sha512.c: Likewise.
9468         * debug/backtrace-tst.c: Likewise.
9469         * debug/pcprofiledump.c: Likewise.
9470         * elf/cache.c: Likewise.
9471         * elf/dl-cache.c: Likewise.
9472         * elf/dl-misc.c: Likewise.
9473         * elf/dl-profile.c: Likewise.
9474         * elf/dl-support.c: Likewise.
9475         * elf/ldconfig.c: Likewise.
9476         * elf/sprof.c: Likewise.
9477         * iconv/dummy-repertoire.c: Likewise.
9478         * iconv/iconv_charmap.c: Likewise.
9479         * iconv/skeleton.c: Likewise.
9480         * iconvdata/8bit-generic.c: Likewise.
9481         * iconvdata/cp737.h: Likewise.
9482         * iconvdata/cp775.h: Likewise.
9483         * iconvdata/ibm1008.h: Likewise.
9484         * iconvdata/ibm1025.h: Likewise.
9485         * iconvdata/ibm1046.h: Likewise.
9486         * iconvdata/ibm1097.h: Likewise.
9487         * iconvdata/ibm1112.h: Likewise.
9488         * iconvdata/ibm1122.h: Likewise.
9489         * iconvdata/ibm1123.h: Likewise.
9490         * iconvdata/ibm1124.h: Likewise.
9491         * iconvdata/ibm1129.h: Likewise.
9492         * iconvdata/ibm1130.h: Likewise.
9493         * iconvdata/ibm1132.h: Likewise.
9494         * iconvdata/ibm1133.h: Likewise.
9495         * iconvdata/ibm1137.h: Likewise.
9496         * iconvdata/ibm1140.h: Likewise.
9497         * iconvdata/ibm1141.h: Likewise.
9498         * iconvdata/ibm1142.h: Likewise.
9499         * iconvdata/ibm1143.h: Likewise.
9500         * iconvdata/ibm1144.h: Likewise.
9501         * iconvdata/ibm1145.h: Likewise.
9502         * iconvdata/ibm1146.h: Likewise.
9503         * iconvdata/ibm1147.h: Likewise.
9504         * iconvdata/ibm1148.h: Likewise.
9505         * iconvdata/ibm1149.h: Likewise.
9506         * iconvdata/ibm1153.h: Likewise.
9507         * iconvdata/ibm1154.h: Likewise.
9508         * iconvdata/ibm1155.h: Likewise.
9509         * iconvdata/ibm1156.h: Likewise.
9510         * iconvdata/ibm1157.h: Likewise.
9511         * iconvdata/ibm1158.h: Likewise.
9512         * iconvdata/ibm1160.h: Likewise.
9513         * iconvdata/ibm1161.h: Likewise.
9514         * iconvdata/ibm1162.h: Likewise.
9515         * iconvdata/ibm1163.h: Likewise.
9516         * iconvdata/ibm1164.h: Likewise.
9517         * iconvdata/ibm1166.h: Likewise.
9518         * iconvdata/ibm1167.h: Likewise.
9519         * iconvdata/ibm12712.h: Likewise.
9520         * iconvdata/ibm1390.h: Likewise.
9521         * iconvdata/ibm1399.h: Likewise.
9522         * iconvdata/ibm16804.h: Likewise.
9523         * iconvdata/ibm4517.h: Likewise.
9524         * iconvdata/ibm4899.h: Likewise.
9525         * iconvdata/ibm4909.h: Likewise.
9526         * iconvdata/ibm4971.h: Likewise.
9527         * iconvdata/ibm5347.h: Likewise.
9528         * iconvdata/ibm803.h: Likewise.
9529         * iconvdata/ibm856.h: Likewise.
9530         * iconvdata/ibm901.h: Likewise.
9531         * iconvdata/ibm902.h: Likewise.
9532         * iconvdata/ibm9030.h: Likewise.
9533         * iconvdata/ibm9066.h: Likewise.
9534         * iconvdata/ibm921.h: Likewise.
9535         * iconvdata/ibm922.h: Likewise.
9536         * iconvdata/ibm9448.h: Likewise.
9537         * iconvdata/isiri-3342.h: Likewise.
9538         * iconvdata/jis0201.h: Likewise.
9539         * include/link.h: Likewise.
9540         * include/netdb.h: Likewise.
9541         * inet/check_native.c: Likewise.
9542         * inet/check_pf.c: Likewise.
9543         * inet/getipv4sourcefilter.c: Likewise.
9544         * inet/getnameinfo.c: Likewise.
9545         * inet/getsourcefilter.c: Likewise.
9546         * inet/htonl.c: Likewise.
9547         * inet/setipv4sourcefilter.c: Likewise.
9548         * inet/setsourcefilter.c: Likewise.
9549         * inet/test-inet6_opt.c: Likewise.
9550         * inet/tst-network.c: Likewise.
9551         * locale/C-collate.c: Likewise.
9552         * locale/C-ctype.c: Likewise.
9553         * locale/C-time.c: Likewise.
9554         * locale/C-translit.h: Likewise.
9555         * locale/loadarchive.c: Likewise.
9556         * locale/programs/3level.h: Likewise.
9557         * locale/programs/charmap.c: Likewise.
9558         * locale/programs/charmap.h: Likewise.
9559         * locale/programs/ld-address.c: Likewise.
9560         * locale/programs/ld-collate.c: Likewise.
9561         * locale/programs/ld-ctype.c: Likewise.
9562         * locale/programs/ld-identification.c: Likewise.
9563         * locale/programs/ld-measurement.c: Likewise.
9564         * locale/programs/ld-messages.c: Likewise.
9565         * locale/programs/ld-monetary.c: Likewise.
9566         * locale/programs/ld-name.c: Likewise.
9567         * locale/programs/ld-numeric.c: Likewise.
9568         * locale/programs/ld-paper.c: Likewise.
9569         * locale/programs/ld-telephone.c: Likewise.
9570         * locale/programs/ld-time.c: Likewise.
9571         * locale/programs/linereader.c: Likewise.
9572         * locale/programs/locale.c: Likewise.
9573         * locale/programs/locarchive.c: Likewise.
9574         * locale/programs/locfile.h: Likewise.
9575         * locale/programs/repertoire.c: Likewise.
9576         * locale/programs/simple-hash.c: Likewise.
9577         * locale/programs/simple-hash.h: Likewise.
9578         * malloc/memusage.c: Likewise.
9579         * malloc/memusagestat.c: Likewise.
9580         * nis/nis_defaults.c: Likewise.
9581         * nis/nis_hash.c: Likewise.
9582         * nis/nis_print.c: Likewise.
9583         * nis/nis_xdr.c: Likewise.
9584         * nscd/connections.c: Likewise.
9585         * nscd/hstcache.c: Likewise.
9586         * nscd/nscd_gethst_r.c: Likewise.
9587         * nscd/nscd_getserv_r.c: Likewise.
9588         * nscd/nscd_helper.c: Likewise.
9589         * nscd/servicescache.c: Likewise.
9590         * nss/makedb.c: Likewise.
9591         * nss/nss_db/db-XXX.c: Likewise.
9592         * nss/nss_db/db-initgroups.c: Likewise.
9593         * nss/nss_db/db-netgrp.c: Likewise.
9594         * nss/nss_files/files-network.c: Likewise.
9595         * nss/nss_files/files-parse.c: Likewise.
9596         * posix/bug-regex5.c: Likewise.
9597         * posix/fnmatch_loop.c: Likewise.
9598         * posix/regcomp.c: Likewise.
9599         * posix/regexec.c: Likewise.
9600         * posix/tst-rfc3484-2.c: Likewise.
9601         * posix/tst-rfc3484-3.c: Likewise.
9602         * posix/tst-rfc3484.c: Likewise.
9603         * resolv/nss_dns/dns-canon.c: Likewise.
9604         * resolv/nss_dns/dns-network.c: Likewise.
9605         * resolv/res_init.c: Likewise.
9606         * resolv/res_mkquery.c: Likewise.
9607         * resolv/tst-aton.c: Likewise.
9608         * stdlib/cxa_atexit.c: Likewise.
9609         * stdlib/cxa_finalize.c: Likewise.
9610         * stdlib/gen-fpioconst.c: Likewise.
9611         * stdlib/strtol_l.c: Likewise.
9612         * string/tst-endian.c: Likewise.
9613         * sunrpc/auth_des.c: Likewise.
9614         * sunrpc/clnt_udp.c: Likewise.
9615         * sunrpc/rtime.c: Likewise.
9616         * sunrpc/svcauth_des.c: Likewise.
9617         * sunrpc/xdr.c: Likewise.
9618         * sunrpc/xdr_intXX_t.c: Likewise.
9619         * sunrpc/xdr_rec.c: Likewise.
9620         * sysdeps/generic/ldconfig.h: Likewise.
9621         * sysdeps/generic/ldsodefs.h: Likewise.
9622         * sysdeps/generic/memusage.h: Likewise.
9623         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9624         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
9625         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
9626         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9627         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9628         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9629         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9630         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9631         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9632         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9633         * sysdeps/posix/getaddrinfo.c: Likewise.
9634         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9635         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9636         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9637         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9638         * sysdeps/powerpc/test-gettimebase.c: Likewise.
9639         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9640         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
9641         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
9642         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9643         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
9644         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9645         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9646         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
9647         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
9648         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
9649         * sysdeps/x86_64/dl-tls.h: Likewise.
9650         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
9651         * time/alt_digit.c: Likewise.
9652         * time/era.c: Likewise.
9653         * wcsmbs/tst-c16c32-1.c: Likewise.
9655 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
9657         * math/libm-test.inc (struct test_sincos_data): New type.
9658         (RUN_TEST_LOOP_sincos): New macro.
9659         (sincos_test_data): New variable.
9660         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
9662 2013-05-16  Richard Henderson  <rth@redhat.com>
9664         * math/atest-exp2.c (LIMB64): New macro.
9665         (CONSTSZ): New macro.
9666         (mp_exp1, mp_exp_m1, mp_log2): New variables.
9667         (hexdig): Move ...
9668         (print_mpn_fp): ... to function scope.
9669         (read_mpn_hex): Remove.
9670         (get_log2): Remove.
9671         (exp2_mpn): Use mp_log2.
9672         (main): Use mp_exp1.
9674 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
9676         * math/libm-test.inc: Remove comment about not testing "inexact"
9677         exceptions.
9678         (INEXACT_EXCEPTION): New macro.
9679         (NO_INEXACT_EXCEPTION): Likewise.
9680         (INVALID_EXCEPTION_OK): Update value.
9681         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9682         (OVERFLOW_EXCEPTION_OK): Likewise.
9683         (UNDERFLOW_EXCEPTION_OK): Likewise.
9684         (IGNORE_ZERO_INF_SIGN): Likewise.
9685         (ERRNO_UNCHANGED): Likewise.
9686         (ERRNO_EDOM): Likewise.
9687         (ERRNO_ERANGE): Likewise.
9688         (test_exceptions): Handle testing "inexact" exceptions.
9689         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
9690         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
9691         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
9692         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
9693         INEXACT_EXCEPTION.
9694         (rint_towardzero_test_data): Likewise.
9695         (rint_downward_test_data): Likewise.
9696         (rint_upward_test_data): Likewise.
9698         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
9699         with OVERFLOW_EXCEPTION.
9700         (exp10_test_data): Likewise.
9701         (exp2_test_data): Likewise.
9702         (expm1_test_data): Likewise.
9703         (lgamma_test_data): Likewise.
9704         (pow_test_data): Likewise.
9705         (tgamma_test_data): Likewise.
9706         (yn_test_data): Remove duplicate test of overflow.
9708         * math/libm-test.inc (struct test_cc_c_data): New type.
9709         (RUN_TEST_LOOP_cc_c): New macro.
9710         (cpow_test_data): New variable.
9711         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
9713         * math/libm-test.inc (struct test_f_L_data): New type.
9714         (RUN_TEST_LOOP_f_L): New macro.
9715         (llrint_test_data): New variable.
9716         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
9717         (llrint_tonearest_test_data): New variable.
9718         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
9719         (llrint_towardzero_test_data): New variable.
9720         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
9721         (llrint_downward_test_data): New variable.
9722         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
9723         (llrint_upward_test_data): New variable.
9724         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
9725         (llround_test_data): New variable.
9726         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
9728 2013-05-13  Peter Collingbourne  <pcc@google.com>
9730         * math/atest-exp2.c (get_log2): Remove const attribute.
9732 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
9734         * math/libm-test.inc (struct test_f_l_data): New type.
9735         (RUN_TEST_LOOP_f_l): New macro.
9736         (lrint_test_data): New variable.
9737         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
9738         (lrint_tonearest_test_data): New variable.
9739         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
9740         (lrint_towardzero_test_data): New variable.
9741         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
9742         (lrint_downward_test_data): New variable.
9743         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
9744         (lrint_upward_test_data): New variable.
9745         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
9746         (lround_test_data): New variable.
9747         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
9749 2013-05-15  Peter Collingbourne  <pcc@google.com>
9751         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
9752         (EXTRACT_WORDS64) Use where appropriate.
9753         (INSERT_WORDS64) Likewise.
9755         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
9756         constraints with x constraints.
9757         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
9759         * malloc/obstack.c (_obstack_compat): Add initializer.
9761 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
9763         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
9764         si_trapno and add si_addr_lsb to _sifields.sigfault.
9765         (si_trapno): Remove macro.
9766         (si_addr_lsb): Define new macro.
9767         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9769 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
9771         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
9772         instead of TEST_f_l.
9773         (llrint_test_tonearest): Likewise.
9774         (llrint_test_towardzero): Likewise.
9775         (llrint_test_downward): Likewise.
9776         (llrint_test_upward): Likewise.
9777         (llround_test): Likewise.
9779         * math/libm-test.inc (struct test_f_i_data): Add comment.
9780         (RUN_TEST_LOOP_f_b): New macro.
9781         (RUN_TEST_LOOP_f_b_tg): Likewise.
9782         (finite_test_data): New variable.
9783         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9784         (isfinite_test_data): New variable.
9785         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9786         (isinf_test_data): New variable.
9787         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9788         (isnan_test_data): New variable.
9789         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9790         (isnormal_test_data): New variable.
9791         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9792         (issignaling_test_data): New variable.
9793         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9794         (signbit_test_data): New variable.
9795         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9797         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9798         with INVALID_EXCEPTION.
9799         (acosh_test_data): Likewise.
9800         (asin_test_data): Likewise.
9801         (atanh_test_data): Likewise.
9802         (fmod_test_data): Likewise.
9803         (log_test_data): Likewise.
9804         (log10_test_data): Likewise.
9805         (log2_test_data): Likewise.
9806         (pow_test_data): Likewise.
9807         (sqrt_test_data): Likewise.
9808         (y0_test_data): Likewise.
9809         (y1_test_data): Likewise.
9810         (yn_test_data): Likewise.
9812         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9813         function contents.
9815         * math/libm-test.inc (struct test_ff_i_data): New type.
9816         (RUN_TEST_LOOP_ff_i_tg): New macro.
9817         (isgreater_test_data): New variable.
9818         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9819         (isgreaterequal_test_data): New variable.
9820         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9821         (isless_test_data): New variable.
9822         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9823         (islessequal_test_data): New variable.
9824         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9825         (islessgreater_test_data): New variable.
9826         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9827         (isunordered_test_data): New variable.
9828         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9830 2013-05-14  David S. Miller  <davem@davemloft.net>
9832         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9834 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
9836         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9838         * math/libm-test.inc (struct test_fF_f1_data): Change type of
9839         extra_test to int.
9840         (struct test_f_i_data): Change type of max_ulp to int.
9842         * math/libm-test.inc (test_ffI_f1_data): New type.
9843         (RUN_TEST_LOOP_ffI_f1): New macro.
9844         (remquo_test_data): New variable.
9845         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9847         * setjmp/tst-setjmp-fp.c: New file.
9848         * setjmp/Makefile (tests): Add tst-setjmp-fp.
9849         (link-libm): New variable.
9850         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9852         * math/libm-test.inc (struct test_f_i_data): New type.
9853         (RUN_TEST_LOOP_f_i): New macro.
9854         (RUN_TEST_LOOP_f_i_tg): Likewise.
9855         (fpclassify_test_data): New variable.
9856         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9857         (ilogb_test_data): New variable.
9858         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9860         * math/libm-test.inc (scalbln_test): Correct function name in END
9861         call.
9863         * math/libm-test.inc (struct test_f_f1_data): Add comment.
9864         (RUN_TEST_LOOP_fI_f1): New macro.
9865         (frexp_test_data): New variable.
9866         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9868         * math/libm-test.inc (struct test_fF_f1_data): New type.
9869         (RUN_TEST_LOOP_fF_f1): New macro.
9870         (modf_test_data): New variable.
9871         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9873         * math/libm-test.inc (struct test_f_f1_data): New type.
9874         (RUN_TEST_LOOP_f_f1): New macro.
9875         (gamma_test_data): New variable.
9876         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9877         (lgamma_test_data): New variable.
9878         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9880 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
9882         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9883         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9884         (main): Comment "tls" pseudo-hwcap.
9886 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
9888         * math/libm-test.inc (struct test_fl_f_data): New type.
9889         (RUN_TEST_LOOP_fl_f): New variable.
9890         (scalbln_test_data): New variable.
9891         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9893         * math/libm-test.inc (struct test_fi_f_data): New type.
9894         (RUN_TEST_LOOP_fi_f): New macro.
9895         (ldexp_test_data): New variable.
9896         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9897         (scalbn_test_data): New variable.
9898         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9900         * math/libm-test.inc (struct test_c_f_data): New type.
9901         (RUN_TEST_LOOP_c_f): New macro.
9902         (cabs_test_data): New variable.
9903         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9904         (carg_test_data): New variable.
9905         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9906         (cimag_test_data): New variable.
9907         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9908         (creal_test_data): New variable.
9909         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9911         * math/libm-test.inc (struct test_if_f_data): New type.
9912         (RUN_TEST_LOOP_if_f): New macro.
9913         (jn_test_data): New variable.
9914         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9915         (yn_test_data): New variable.
9916         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9918         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9920 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9922         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9923         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9925 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
9927         * benchtests/Makefile (CPPFLAGS-nonlib): Add
9928         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9929         (bench-deps): Add bench-timing.h.
9930         * benchtests-bench-skeleton.c: Include bench-timing.h.
9931         (main): Use TIMING_* macros instead of clock_gettime.
9932         * benchtests/bench-timing.h: New file.
9934         [BZ #14582]
9935         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9936         Renamed from _LIB_VERSION.
9937         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9939 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
9941         * math/libm-test.inc (struct test_fff_f_data): New type.
9942         (RUN_TEST_LOOP_fff_f): New macro.
9943         (fma_test_data): New variable.
9944         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9945         (fma_towardzero_test_data): New variable.
9946         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9947         (fma_downward_test_data): New variable.
9948         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9949         (fma_upward_test_data): New variable.
9950         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9952         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9953         (struct test_c_c_data): New type.
9954         (RUN_TEST_LOOP_c_c): New macro.
9955         (cacos_test_data): New variable.
9956         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9957         (cacosh_test_data): New variable.
9958         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9959         (casin_test_data): New variable.
9960         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9961         (casinh_test_data): New variable.
9962         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9963         (catan_test_data): New variable.
9964         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9965         (catanh_test_data): New variable.
9966         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9967         (ccos_test_data): New variable.
9968         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9969         (ccosh_test_data): New variable.
9970         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9971         (cexp_test_data): New variable.
9972         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9973         (clog_test_data): New variable.
9974         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9975         (clog10_test_data): New variable.
9976         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9977         (conj_test_data): New variable.
9978         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9979         (cproj_test_data): New variable.
9980         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9981         (csin_test_data): New variable.
9982         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9983         (csinh_test_data): New variable.
9984         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9985         (csqrt_test_data): New variable.
9986         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9987         (ctan_test_data): New variable.
9988         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9989         (ctan_tonearest_test_data): New variable.
9990         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9991         (ctan_towardzero_test_data): New variable.
9992         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9993         (ctan_downward_test_data): New variable.
9994         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9995         (ctan_upward_test_data): New variable.
9996         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9997         (ctanh_test_data): New variable.
9998         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9999         (ctanh_tonearest_test_data): New variable.
10000         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
10001         (ctanh_towardzero_test_data): New variable.
10002         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
10003         (ctanh_downward_test_data): New variable.
10004         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
10005         (ctanh_upward_test_data): New variable.
10006         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
10007         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
10008         of BUILD_COMPLEX.
10010         * math/libm-test.inc (struct test_ff_f_data): New type.
10011         (struct test_ff_f_data_nexttoward): Likewise.
10012         (RUN_TEST_LOOP_2_f): New macro.
10013         (RUN_TEST_LOOP_ff_f): Likewise.
10014         (atan2_test_data): New variable.
10015         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
10016         (copysign_test_data): New variable.
10017         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
10018         (fdim_test_data): New variable.
10019         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
10020         (fmax_test_data): New variable.
10021         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
10022         (fmin_test_data): New variable.
10023         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
10024         (fmod_test_data): New variable.
10025         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
10026         (hypot_test_data): New variable.
10027         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
10028         (nextafter_test_data): New variable.
10029         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
10030         (nexttoward_test_data): New variable.
10031         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
10032         (pow_test_data): New variable.
10033         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
10034         (pow_tonearest_test_data): New variable.
10035         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
10036         (pow_towardzero_test_data): New variable.
10037         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
10038         (pow_downward_test_data): New variable.
10039         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
10040         (pow_upward_test_data): New variable.
10041         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
10042         (remainder_test_data): New variable.
10043         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
10044         (scalb_test_data): New variable.
10045         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
10046         * sysdeps/i386/fpu/libm-test-ulps: Update.
10048 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
10050         * math/libm-test.inc (fma_test): Use max_value instead of local
10051         variable fltmax.
10052         (nextafter_test): Likewise.
10054         * math/libm-test.inc (acos_towardzero_test_data): New variable.
10055         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10056         (acos_downward_test_data): New variable.
10057         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10058         (acos_upward_test_data): New variable.
10059         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10060         (acosh_test_data): New variable.
10061         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
10062         (asin_test_data): New variable.
10063         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
10064         (asin_tonearest_test_data): New variable.
10065         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10066         (asin_towardzero_test_data): New variable.
10067         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10068         (asin_downward_test_data): New variable.
10069         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10070         (asin_upward_test_data): New variable.
10071         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10072         (asinh_test_data): New variable.
10073         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
10074         (atan_test_data): New variable.
10075         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
10076         (atanh_test_data): New variable.
10077         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
10078         (cbrt_test_data): New variable.
10079         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
10080         (ceil_test_data): New variable.
10081         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
10082         (cos_test_data): New variable.
10083         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
10084         (cos_tonearest_test_data): New variable.
10085         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10086         (cos_towardzero_test_data): New variable.
10087         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10088         (cos_downward_test_data): New variable.
10089         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10090         (cos_upward_test_data): New variable.
10091         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10092         (cosh_test_data): New variable.
10093         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
10094         (cosh_tonearest_test_data): New variable.
10095         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10096         (cosh_towardzero_test_data): New variable.
10097         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10098         (cosh_downward_test_data): New variable.
10099         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10100         (cosh_upward_test_data): New variable.
10101         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10102         (erf_test_data): New variable.
10103         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
10104         (erfc_test_data): New variable.
10105         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
10106         (exp_test_data): New variable.
10107         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
10108         (exp_tonearest_test_data): New variable.
10109         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10110         (exp_towardzero_test_data): New variable.
10111         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10112         (exp_downward_test_data): New variable.
10113         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10114         (exp_upward_test_data): New variable.
10115         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10116         (exp10_test_data): New variable.
10117         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
10118         (exp2_test_data): New variable.
10119         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
10120         (expm1_test_data): New variable.
10121         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
10122         (fabs_test_data): New variable.
10123         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
10124         (floor_test_data): New variable.
10125         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
10126         (j0_test_data): New variable.
10127         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
10128         (j1_test_data): New variable.
10129         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
10130         (log_test_data): New variable.
10131         (log_test): Run tests with RUN_TEST_LOOP_f_f.
10132         (log10_test_data): New variable.
10133         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
10134         (log1p_test_data): New variable.
10135         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
10136         (log2_test_data): New variable.
10137         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
10138         (logb_test_data): New variable.
10139         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
10140         (logb_downward_test_data): New variable.
10141         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10142         (nearbyint_test_data): New variable.
10143         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
10144         (rint_test_data): New variable.
10145         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
10146         (rint_tonearest_test_data): New variable.
10147         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10148         (rint_towardzero_test_data): New variable.
10149         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10150         (rint_downward_test_data): New variable.
10151         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10152         (rint_upward_test_data): New variable.
10153         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10154         (round_test_data): New variable.
10155         (round_test): Run tests with RUN_TEST_LOOP_f_f.
10156         (sin_test_data): New variable.
10157         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
10158         (sin_tonearest_test_data): New variable.
10159         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10160         (sin_towardzero_test_data): New variable.
10161         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10162         (sin_downward_test_data): New variable.
10163         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10164         (sin_upward_test_data): New variable.
10165         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10166         (sinh_test_data): New variable.
10167         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
10168         (sinh_tonearest_test_data): New variable.
10169         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10170         (sinh_towardzero_test_data): New variable.
10171         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10172         (sinh_downward_test_data): New variable.
10173         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10174         (sinh_upward_test_data): New variable.
10175         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10176         (sqrt_test_data): New variable.
10177         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
10178         (tan_test_data): New variable.
10179         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
10180         (tan_tonearest_test_data): New variable.
10181         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10182         (tan_towardzero_test_data): New variable.
10183         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10184         (tan_downward_test_data): New variable.
10185         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10186         (tan_upward_test_data): New variable.
10187         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10188         (tanh_test_data): New variable.
10189         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
10190         (tgamma_test_data): New variable.
10191         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
10192         (trunc_test_data): New variable.
10193         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
10194         (y0_test_data): New variable.
10195         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
10196         (y1_test_data): New variable.
10197         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
10198         (significand_test_data): New variable.
10199         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
10201 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
10203         [BZ #12387]
10204         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
10206 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
10208         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
10210 2013-05-10  Andreas Jaeger  <aj@suse.de>
10212         [BZ #15448]
10213         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
10214         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
10216 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
10218         * math/gen-libm-test.pl (adjust_arg): New function.
10219         (special_functions): Handle generating output in both functions
10220         and arrays.
10221         (parse_args): Likewise.
10222         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
10223         $in_func argument to parse_args.
10224         * math/libm-test.inc (struct test_f_f_data): New type.
10225         (IF_ROUND_INIT_): New macro.
10226         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
10227         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10228         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10229         (IF_ROUND_INIT_FE_UPWARD): Likewise.
10230         (ROUND_RESTORE_): Likewise.
10231         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
10232         (ROUND_RESTORE_FE_TONEAREST): Likewise.
10233         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
10234         (ROUND_RESTORE_FE_UPWARD): Likewise.
10235         (RUN_TEST_LOOP_f_f): New macro.
10236         (acos_test_data): New variable.
10237         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
10238         (acos_tonearest_test_data): New variable.
10239         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10241 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10243         * benchtests/bench-skeleton.c (startup): Fix coding style.
10245 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
10247         [BZ #6809]
10248         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
10249         negative infinity argument.
10250         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
10251         negative infinity argument.
10252         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
10253         negative infinity argument.
10254         * math/libm-test.inc (tgamma_test): Expect errno to be set for
10255         domain errors.
10257 2013-05-10  Florian Weimer  <fweimer@redhat.com>
10259         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
10260         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
10261         * iconv/iconv_prog.c (main): Likewise.
10262         * locale/programs/charmap-dir.c (charmap_readdir)
10263         (fopen_uncompressed): Likewise.
10264         * locale/programs/locfile.c (siblings_uncached)
10265         (write_locale_data): Use lstat64 instead of lstat.
10266         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
10267         stat.
10269 2013-05-10  Andreas Jaeger  <aj@suse.de>
10271         [BZ #15395]
10272         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
10273         localization.
10274         Include <locale.h>.
10276 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
10278         * elf/dl-close.c (_dl_close_worker): Add comments.
10280 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
10282         [BZ #15359]
10283         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
10284         high part of pi/2.
10285         (__ieee754_rem_pio2l): Update comments.
10287         [BZ #15429]
10288         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
10289         high part of pi/2.
10290         (__ieee754_rem_pio2l): Update comments.
10292         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
10293         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
10295         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
10296         M_PI_4l.
10298         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
10299         (M_PI_34_LOG10El): Likewise.
10300         (M_PI2_LOG10El): Likewise.
10301         (M_PI4_LOG10El): Likewise.
10302         (M_PI_LOG10El): Likewise.
10304 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10306         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10308 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
10310         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
10311         (MINUS_ZERO_INIT): Likewise.
10312         (PLUS_INFTY_INIT): Likewise.
10313         (MINUS_INFTY_INIT): Likewise.
10314         (QNAN_VALUE_INIT): Likewise.
10315         (MAX_VALUE_INIT): Likewise.
10316         (MIN_VALUE_INIT): Likewise.
10317         (MIN_SUBNORM_VALUE_INIT): Likewise.
10318         (plus_zero): Initialize with PLUS_ZERO_INIT.
10319         (minus_zero): Initialize with MINUS_ZERO_INIT.
10320         (plus_infty): Initialize with PLUS_INFTY_INIT.
10321         (minus_infty): Initialize with MINUS_INFTY_INIT.
10322         (qnan_value): Initialize with QNAN_VALUE_INIT.
10323         (max_value): Initialize with MAX_VALUE_INIT.
10324         (min_value): Initialize with MIN_VALUE_INIT.
10325         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
10327         * math/libm-test.inc (RUN_TEST_if_f): New macro.
10328         (jn_test): Use TEST_if_f instead of TEST_ff_f.
10329         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
10330         (yn_test): Use TEST_if_f instead of TEST_ff_f.
10332         * math/libm-test.inc (RUN_TEST_f_f): New macro.
10333         (RUN_TEST_2_f): Likewise.
10334         (RUN_TEST_ff_f): Likewise.
10335         (RUN_TEST_fi_f): Likewise.
10336         (RUN_TEST_fl_f): Likewise.
10337         (RUN_TEST_fff_f): Likewise.
10338         (RUN_TEST_c_f): Likewise.
10339         (RUN_TEST_f_f1): Likewise.
10340         (RUN_TEST_fF_f1): Likewise.
10341         (RUN_TEST_fI_f1): Likewise.
10342         (RUN_TEST_ffI_f1): Likewise.
10343         (RUN_TEST_c_c): Likewise.
10344         (RUN_TEST_cc_c): Likewise.
10345         (RUN_TEST_f_i): Likewise.
10346         (RUN_TEST_f_i_tg): Likewise.
10347         (RUN_TEST_ff_i_tg): Likewise.
10348         (RUN_TEST_f_b): Likewise.
10349         (RUN_TEST_f_b_tg): Likewise.
10350         (RUN_TEST_f_l): Likewise.
10351         (RUN_TEST_f_L): Likewise.
10352         (RUN_TEST_sincos): Likewise.
10353         * math/gen-libm-test.pl (new_test): Take new argument to indicate
10354         whether to show exceptions.  Do not include ");\n" in return
10355         value.
10356         (special_functions): Output call to RUN_TEST_sincos instead of
10357         check_float calls.  Update calls to new_test.
10358         (parse_args): Output call to single RUN_TEST_* macro instead of
10359         check_* calls and other assignments.  Update calls to new_test.
10361         [BZ #2546]
10362         [BZ #2560]
10363         [BZ #5159]
10364         [BZ #15426]
10365         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
10366         input to result for tgamma overflow.
10367         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
10368         (gamma_coeff): New variable.
10369         (NCOEFF): New macro.
10370         (gamma_positive): New function.
10371         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
10372         underflow here.  Use gamma_positive instead of exp (lgamma) for
10373         other arguments.
10374         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
10375         (gamma_coeff): New variable.
10376         (NCOEFF): New macro.
10377         (gammaf_positive): New function.
10378         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
10379         underflow here.  Use gamma_positive instead of exp (lgamma) for
10380         other arguments.
10381         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
10382         (gamma_coeff): New variable.
10383         (NCOEFF): New macro.
10384         (gammal_positive): New function.
10385         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
10386         underflow here.  Use gamma_positive instead of exp (lgamma) for
10387         other arguments.
10388         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
10389         (gamma_coeff): New variable.
10390         (NCOEFF): New macro.
10391         (gammal_positive): New function.
10392         (__ieee754_gammal_r): Handle positive infinity, overflow and
10393         underflow here.  Handle NaN the same as positive infinity.  Remove
10394         check x < 0xffffffff for negative integers.  Use gamma_positive
10395         instead of exp (lgamma) for other arguments.
10396         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
10397         (gamma_coeff): New variable.
10398         (NCOEFF): New macro.
10399         (gammal_positive): New function.
10400         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
10401         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
10402         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10403         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
10404         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10405         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10406         * sysdeps/generic/math_private.h (__gamma_productf): New
10407         prototype.
10408         (__gamma_product): Likewise.
10409         (__gamma_productl): Likewise.
10410         * math/Makefile (libm-calls): Add gamma_product.
10411         * math/libm-test.inc (tgamma_test): Add more tests.
10412         * sysdeps/i386/fpu/libm-test-ulps: Update.
10413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10415 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
10417         * benchtests/bench-skeleton.c (main): Preheat CPU.
10419 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
10421         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
10423 2013-05-07  Roland McGrath  <roland@hack.frob.com>
10425         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
10426         and _dl_skip_args_internal.
10428 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
10430         * manual/message.texi (Message Translation): Talk about users.
10431         Message to key mapping impacts design.
10433 2013-05-06  Roland McGrath  <roland@hack.frob.com>
10435         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
10437         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
10439         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
10440         * sysdeps/wordsize-64/glob64.c: ... here.
10442         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
10443         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
10444         New macros.
10446         * debug/getlogin_r_chk.c: Moved to ...
10447         * login/getlogin_r_chk.c: ... here.
10448         * debug/Makefile (routines): Move getlogin_r_chk to ...
10449         * login/Makefile (routines): ... here.
10450         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
10451         * login/Versions (libc: GLIBC_2.4): ... here.
10453         * io/poll.c (__poll): Renamed from poll.
10454         Add libc_hidden_def.
10455         (poll): Define as weak alias.
10457         * debug/ptsname_r_chk.c: Moved to ...
10458         * login/ptsname_r_chk.c: ... here.
10459         * debug/Makefile (routines): Move ptsname_r_chk to ...
10460         * login/Makefile (routines): ... here.
10461         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
10462         * login/Versions (libc: GLIBC_2.4): ... here.
10464         * posix/getlogin.c: Moved to ...
10465         * login/getlogin.c: ... here.
10466         * posix/getlogin_r.c: Moved to ...
10467         * login/getlogin_r.c: ... here.
10468         * posix/getlogin_r.c: Moved to ...
10469         * login/getlogin_r.c: ... here.
10470         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
10471         * login/Makefile (routines): ... here.
10472         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
10473         * login/Versions (libc: GLIBC_2.0): ... here.
10475         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
10476         (setrlimit): Define as weak alias.
10478         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
10479         Call __ names for open, ftruncate, and close.
10480         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
10481         (truncate): Define as weak alias.
10483 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
10485         * math/gen-libm-test.pl (parse_args): Initialize x before each
10486         test of frexp, modf and remquo.
10488         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
10489         test signgam value.
10491 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10493         [BZ #15418]
10494         [BZ #15419]
10495         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
10496         internal tests.
10497         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10499 2013-05-06  Roland McGrath  <roland@hack.frob.com>
10501         * elf/dl-writev.h: New file.
10502         * elf/dl-misc.c: Include it.
10503         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
10504         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
10506 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
10508         * math/libm-test.inc (noXFails): Remove variable.
10509         (noXPasses): Likewise.
10510         (BUILD_COMPLEX_INT): Remove macro.
10511         (print_screen): Remove xfail argument.
10512         (print_screen_max_error): Likewise.
10513         (update_stats): Likewise.
10514         (print_max_error): Likewise.  Update calls to other affected
10515         functions.
10516         (print_complex_max_error): Likewise.
10517         (test_single_exception): Update calls to print_screen.
10518         (test_single_errno): Likewise.
10519         (check_float_internal): Remove xfail argument.  Update calls to
10520         other affected functions.
10521         (check_float): Likewise.
10522         (check_complex): Likewise.
10523         (check_int): Likewise.
10524         (check_long): Likewise.
10525         (check_bool): Likewise.
10526         (check_longlong): Likewise.
10527         (main): Don't print noXFails and noXPasses.
10528         * math/gen-libm-test.pl (top level): Don't mention expected
10529         failure handling in comment.
10530         (new_test): Don't handle expected failures.
10531         (parse_args): Don't mention expected failure handling in comment.
10532         (generate_testfile): Don't handle expected failures.
10533         (parse_ulps): Likewise.
10534         (print_ulps_file): Likewise.
10535         (get_failure): Remove function.
10536         (output_test): Don't handle expected failures.
10537         * make/README.libm-test: Don't mention expected failure handling.
10539         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
10540         (minus_zero): Likewise.
10541         (plus_infty): Likewise.
10542         (minus_infty): Likewise.
10543         (qnan_value): Likewise.
10544         (max_value): Likewise.
10545         (min_value): Likewise.
10546         (min_subnorm_value): Likewise.
10547         (initialize): Do not initialize those variables dynamically.
10549 2013-05-03  Roland McGrath  <roland@hack.frob.com>
10551         * io/open.c (__open_2): Moved to ...
10552         * io/open_2.c: ... this new file.
10553         * io/open64.c (__open64_2): Moved to ...
10554         * io/open64_2.c: ... this new file.
10555         * io/openat.c (__openat_2): Moved to ...
10556         * io/openat_2.c: ... this new file.
10557         * io/openat64.c (__openat64_2): Moved to ...
10558         * io/openat64_2.c: ... this new file.
10559         * io/Makefile (routines): Add them.
10560         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
10561         * sysdeps/unix/sysv/linux/open_2.c: File removed.
10562         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
10563         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
10564         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
10565         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
10566         (__openat64): Add hidden_ver.
10567         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
10568         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
10570         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
10571         Separately conditionalize setting of GLRO(dl_sysinfo) so
10572         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
10573         as well, but the actual setting is only under [NEED_DL_SYSINFO].
10575 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10577         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
10578         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
10579         definition.
10580         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
10581         * sysdeps/unix/sysv/linux/powerpc/init-first.c
10582         (_libc_vdso_platform_setup): Add __vdso_time initialization.
10583         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
10584         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
10586 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
10588         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
10589         test signgam value.
10591         * math/libm-test.inc (hypot_test): Do not use
10592         IGNORE_ZERO_INF_SIGN.
10594 2013-05-03  Andreas Jaeger  <aj@suse.de>
10596         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
10597         Linux 3.9.
10598         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
10599         (PF_MAX): Adjust for VSOCK change.
10601 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10603         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10605 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
10607         [BZ #15264]
10608         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
10609         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
10610         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
10612 2013-05-02  David S. Miller  <davem@davemloft.net>
10614         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10616 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
10618         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
10620 2013-05-01  Roland McGrath  <roland@hack.frob.com>
10622         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
10624 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
10626         [BZ #14952]
10627         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
10628         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10629         Use __attribute__ ((__gnu_inline__)).
10630         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10631         Don't use __attribute__ ((__gnu_inline__)).
10633 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
10635         [BZ #15423]
10636         * math/s_catan.c (__catan): Handle small real or imaginary part of
10637         input specially to avoid spurious underflow.
10638         * math/s_catanf.c (__catanf): Likewise.
10639         * math/s_catanh.c (__catanh): Likewise.
10640         * math/s_catanhf.c (__catanhf): Likewise.
10641         * math/s_catanhl.c (__catanhl): Likewise.
10642         * math/s_catanl.c (__catanl): Likewise.
10643         * math/libm-test.inc (catan_test): Add more tests.
10644         (catanh_test): Likewise.
10645         * sysdeps/i386/fpu/libm-test-ulps: Update.
10646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10648 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10650         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10652 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
10654         [BZ #15416]
10655         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
10656         accurately for denominator in atan2.
10657         * math/s_catanf.c (__catanf): Likewise.
10658         * math/s_catanh.c (__catanh): Likewise.
10659         * math/s_catanhf.c (__catanhf): Likewise.
10660         * math/s_catanhl.c (__catanhl): Likewise.
10661         * math/s_catanl.c (__catanl): Likewise.
10662         * math/libm-test.inc (catan_test): Add more tests.
10663         (catanh_test): Likewise.
10664         * sysdeps/i386/fpu/libm-test-ulps: Update.
10665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10667 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10669         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
10671         * benchtests/Makefile (bench): Remove slow benchmarks.
10672         * benchtests/atan-inputs: Add slow benchmark inputs.
10673         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
10674         (BENCH_FUNC): Accept variant offset.
10675         (VARIANT): Define.
10676         * benchtests/bench-skeleton.c (main): Run benchmark for each
10677         variant.
10678         * benchtests/cos-inputs: Add slow benchmark inputs.
10679         * benchtests/exp-inputs: Likewise.
10680         * benchtests/pow-inputs: Likewise.
10681         * benchtests/sin-inputs: Likewise.
10682         * benchtests/slowatan-inputs: Remove.
10683         * benchtests/slowatan.c: Remove.
10684         * benchtests/slowcos-inputs: Remove.
10685         * benchtests/slowcos.c: Remove.
10686         * benchtests/slowexp-inputs: Remove.
10687         * benchtests/slowexp.c: Remove.
10688         * benchtests/slowpow-inputs: Remove.
10689         * benchtests/slowpow.c: Remove.
10690         * benchtests/slowsin-inputs: Remove.
10691         * benchtests/slowsin.c: Remove.
10692         * benchtests/slowtan-inputs: Remove.
10693         * benchtests/slowtan.c: Remove.
10694         * benchtests/tan-inputs: Add slow benchmark inputs.
10695         * scripts/bench.pl: Parse comments and directives.
10697         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
10698         in CPPFLAGS.
10699         ($(objpfx)bench-%.c): Remove *-ITER.
10700         * benchtests/bench-modf.c: Remove definition of ITER.
10701         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
10702         (main): Loop for DURATION seconds instead of fixed number of
10703         iterations.
10704         * scripts/bench.pl: Don't expect iterations in parameters.
10706 2013-04-29  Roland McGrath  <roland@hack.frob.com>
10708         * io/fchdir.c (__fchdir): Renamed from fchdir.
10709         (fchdir): Define as weak alias.
10711 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
10713         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
10714         (ERRNO_EDOM): Likewise.
10715         (ERRNO_ERANGE): Likewise.
10716         (noErrnoTests): New variable.
10717         (init_max_error): Set errno to 0.
10718         (test_single_errno): New function.
10719         (test_errno): Likewise.
10720         (check_float_internal): Call test_errno.  Set errno to 0.
10721         (check_complex): Refer to errno tests in comment.
10722         (check_int): Call test_errno.  Set errno to 0.
10723         (check_long): Likewise.
10724         (check_bool): Likewise.
10725         (check_longlong): Likewise.
10726         (cos_test): Use ERRNO_* flags for errno tests instead of
10727         check_int.
10728         (expm1_test): Likewise.
10729         (fmod_test): Likewise.
10730         (ilogb_test): Likewise.
10731         (lgamma_test): Likewise.
10732         (pow_test): Likewise.
10733         (remainder_test): Likewise.
10734         (sin_test): Likewise.
10735         (tan_test): Likewise.
10736         (yn_test): Likewise.
10737         (initialize): Set errno to 0.
10738         (main): Print number of errno tests.
10739         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
10741 2013-04-29  Andreas Jaeger  <aj@suse.de>
10743         [BZ #15084]
10744         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
10745         and RES_USEVC.
10747         [BZ #15085]
10748         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
10749         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
10750         unimplemented.
10752         [BZ #15380]
10753         * stdlib/random.c (__initstate): Return NULL if
10754         __initstate fails.
10756         [BZ #15086]
10757         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
10758         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
10759         RES_SNGLKUPREOP.
10761 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10763         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10765 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
10767         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
10768         of individual tests.
10769         (casin_test): Likewise.
10770         (casinh_test): Likewise.
10772 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
10774         [BZ #15409]
10775         * math/s_catan.c (__catan): Handle arguments with large real or
10776         imaginary part separately without squaring.
10777         * math/s_catanf.c (__catanf): Likewise.
10778         * math/s_catanh.c (__catanh): Likewise.
10779         * math/s_catanhf.c (__catanhf): Likewise.
10780         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10781         and redefine.
10782         (__catanhl): Handle arguments with large real or imaginary part
10783         separately without squaring.
10784         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10785         and redefine.
10786         (__catanl): Handle arguments with large real or imaginary part
10787         separately without squaring.
10788         * math/libm-test.inc (catan_test): Add more tests.
10789         (catanh_test): Likewise.
10790         * sysdeps/i386/fpu/libm-test-ulps: Update.
10791         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10793 2013-04-27  Andreas Jaeger  <aj@suse.de>
10795         [BZ #15007]
10796         * stdlib/stdlib.h: Update guards for qecvt.
10797         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10798         <stdlib.h>.
10800 2013-04-27  Allan McRae  <allan@archlinux.org>
10802         * sysdeps/i386/fpu/libm-test-ulps: Update.
10804 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
10806         [BZ #15406]
10807         * math/s_catan.c: Include <float.h>.
10808         (__catan): Ensure underflow exception occurs for underflowed
10809         result.
10810         * math/s_catanf.c: Include <float.h>.
10811         (__catanf): Ensure underflow exception occurs for underflowed
10812         result.
10813         * math/s_catanh.c: Include <float.h>.
10814         (__catanh): Ensure underflow exception occurs for underflowed
10815         result.
10816         * math/s_catanhf.c: Include <float.h>.
10817         (__catanhf): Ensure underflow exception occurs for underflowed
10818         result.
10819         * math/s_catanhl.c: Include <float.h>.
10820         (__catanhl): Ensure underflow exception occurs for underflowed
10821         result.
10822         * math/s_catanl.c: Include <float.h>.
10823         (__catanl): Ensure underflow exception occurs for underflowed
10824         result.
10825         * math/libm-test.inc (catan_test): Add more tests.
10826         (catanh_test): Likewise.
10828         [BZ #15405]
10829         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10830         underflowed result.
10831         * math/s_ccoshf.c (__ccoshf): Likewise.
10832         * math/s_ccoshl.c (__ccoshl): Likewise.
10833         * math/s_csin.c (__csin): Likewise.
10834         * math/s_csinf.c (__csinf): Likewise.
10835         * math/s_csinh.c (__csinh): Likewise.
10836         * math/s_csinhf.c (__csinhf): Likewise.
10837         * math/s_csinhl.c (__csinhl): Likewise.
10838         * math/s_csinl.c (__csinl): Likewise.
10839         * math/libm-test.inc (ccos_test): Add more tests.
10840         (ccosh_test): Likewise.
10841         (csin_test): Likewise.
10842         (csinh_test): Likewise.
10844 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10846         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10847         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10848         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10849         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10850         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10851         powerpc/power5+/fpu folders.
10852         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10855 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
10857         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10859 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
10861         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10862         additions to variable.
10863         [$(config-machine) = x86_64] (modules-names): Likewise.
10864         ($(objpfx)tst-audit3): Remove dependency.
10865         ($(objpfx)tst-audit3.out): Likewise.
10866         ($(objpfx)tst-audit4): Likewise.
10867         ($(objpfx)tst-audit4.out): Likewise.
10868         ($(objpfx)tst-audit5): Likewise.
10869         ($(objpfx)tst-audit5.out): Likewise.
10870         ($(objpfx)tst-audit6): Likewise.
10871         ($(objpfx)tst-audit6.out): Likewise.
10872         ($(objpfx)tst-audit7): Likewise.
10873         ($(objpfx)tst-audit7.out): Likewise.
10874         (tst-audit3-ENV): Remove variable.
10875         (tst-audit4-ENV): Likewise.
10876         (tst-audit5-ENV): Likewise.
10877         (tst-audit6-ENV): Likewise.
10878         (tst-audit7-ENV): Likewise.
10879         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10880         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10881         addition to variable.
10882         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10883         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10884         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10885         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10886         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10887         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10888         tst-audit3, tst-audit4 and tst-audit5.
10889         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10890         tst-audit6 and tst-audit7.
10891         [$(subdir) = elf] (modules-names): Add audit modules for those
10892         tests.
10893         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10894         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10895         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10896         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10897         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10898         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10899         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10900         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10901         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10902         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10903         [$(subdir) = elf] (tst-audit3-ENV): New variable.
10904         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10905         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10906         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10907         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10908         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10909         Likewise.
10910         [$(subdir) = elf && $(config-cflags-avx) = yes]
10911         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10912         [$(subdir) = elf && $(config-cflags-avx) = yes]
10913         (CFLAGS-tst-auditmod4a.c): Likewise.
10914         [$(subdir) = elf && $(config-cflags-avx) = yes]
10915         (CFLAGS-tst-auditmod4b.c): Likewise.
10916         [$(subdir) = elf && $(config-cflags-avx) = yes]
10917         (CFLAGS-tst-auditmod6b.c): Likewise.
10918         [$(subdir) = elf && $(config-cflags-avx) = yes]
10919         (CFLAGS-tst-auditmod6c.c): Likewise.
10920         [$(subdir) = elf && $(config-cflags-avx) = yes]
10921         (CFLAGS-tst-auditmod7b.c): Likewise.
10922         * elf/tst-audit3.c: Move to ...
10923         * sysdeps/x86_64/tst-audit3.c: ... here.
10924         * elf/tst-audit4.c: Move to ...
10925         * sysdeps/x86_64/tst-audit4.c: ... here.
10926         * elf/tst-audit5.c: Move to ...
10927         * sysdeps/x86_64/tst-audit5.c: ... here.
10928         * elf/tst-audit6.c: Move to ...
10929         * sysdeps/x86_64/tst-audit6.c: ... here.
10930         * elf/tst-audit7.c: Move to ...
10931         * sysdeps/x86_64/tst-audit7.c: ... here.
10932         * elf/tst-auditmod3a.c: Move to ...
10933         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10934         * elf/tst-auditmod3b.c: Move to ...
10935         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10936         * elf/tst-auditmod4a.c: Move to ...
10937         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10938         * elf/tst-auditmod4b.c: Move to ...
10939         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10940         * elf/tst-auditmod5a.c: Move to ...
10941         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10942         * elf/tst-auditmod5b.c: Move to ...
10943         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10944         * elf/tst-auditmod6a.c: Move to ...
10945         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10946         * elf/tst-auditmod6b.c: Move to ...
10947         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10948         * elf/tst-auditmod6c.c: Move to ...
10949         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10950         * elf/tst-auditmod7a.c: Move to ...
10951         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10952         * elf/tst-auditmod7b.c: Move to ...
10953         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10955 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
10957         [BZ #15366]
10958         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10959         define unconditionally.
10960         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10961         define unconditionally.
10962         (INT8_C, INT16_C, etc.): Likewise.
10964 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
10966         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10967         __ehdr_start with hidden visibility.
10969         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10971 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
10973         * math/libm-test.inc (cos_test): Use accurate hex constants.
10974         (sincost_test): Likewise.
10976 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
10978         * math/libm-test.inc (catan_test): Add more tests.
10979         (catanh_test): Likewise.
10981         * math/s_catanf.c (__catanf): Use suffixed floating-point
10982         constants.
10983         * math/s_catanhf.c (__catanhf): Likewise.
10984         * math/s_catanhl.c (__catanhl): Likewise.
10985         * math/s_catanl.c (__catanl): Likewise.
10987         [BZ #15394]
10988         * math/s_catan.c (__catan): Calculate imaginary part of result
10989         with log1p not log unless computing log of number close to 0.
10990         * math/s_catanf.c (__catanf): Likewise.
10991         * math/s_catanl.c (__catanl): Likewise.
10992         * math/s_catanh.c (__catanh): Calculate real part of result with
10993         log1p not log unless computing log of number close to 0.
10994         * math/s_catanhf.c (__catanhf): Likewise.
10995         * math/s_catanhl.c (__catanhl): Likewise.
10996         * math/libm-test.inc (catan_test): Add more tests.
10997         (catanh_test): Likewise.
10998         * sysdeps/i386/fpu/libm-test-ulps: Update.
10999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11001 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11003         * benchtests/Makefile: Mention files in which fast and slow
11004         paths of math functions are implemented.
11006 2013-04-23  Roland McGrath  <roland@hack.frob.com>
11008         * sysdeps/posix/timespec_get.c: New file.
11010 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11012         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
11013         POWER.
11014         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
11015         for POWER.
11016         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
11017         powerpc/power5/fpu folders.
11018         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
11019         * benchtests/Makefile: Add modf testcase.
11020         * benchtests/bench-modf.c: New file: Benchmark test for mo
11022 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
11024         [BZ #14888]
11025         * time/Makefile (tests): Add tst-strptime-whitespace.
11026         * time/strptime_l.c (get_number): Use ISSPACE.
11027         (__strptime_internal): Likewise.
11028         * time/tst-strptime-whitespace.c: New test case.
11030 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
11032         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
11033         member.
11034         (_nss_files_init): Set it here.
11036 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
11038         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
11039         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
11040         unsigned.
11042 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
11044         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
11046 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
11048         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
11049         size just once.
11051 2013-04-21  David S. Miller  <davem@davemloft.net>
11053         * po/ru.po: Update Russion translation from translation project.
11055 2013-04-17  Adam Conrad  <adconrad@0c3.net>
11057         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
11058         and setfsgid.
11060 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
11062         * configure.in: Remove i386 configure warning. Remove i386 case.
11063         * configure: Regenerate.
11064         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
11065         Add example to error message.
11066         * sysdeps/i386/configure: Regenerate.
11068 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
11070         * benchtests/Makefile (bench): Add cos, tan, slowcos and
11071         slowtan.
11072         * benchtests/cos-inputs: New file.
11073         * benchtests/slowcos-inputs: New file.
11074         * benchtests/slowcos.c: New file.
11075         * benchtests/slowtan-inputs: New file.
11076         * benchtests/slowtan.c: New file.
11077         * benchtests/tan-inputs: New file.
11079 2013-04-16  Roland McGrath  <roland@hack.frob.com>
11081         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
11082         considered kosher.
11084 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11086         * benchtests/Makefile: Include cppflags-iterator.mk to add
11087         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
11089         * Makefile.in (bench-clean): New target.
11090         * benchtests/Makefile (bench-clean): Likewise.
11092 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
11094         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
11096 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
11098         * stdio-common/tstdiomisc.c: Fix coding-style violation.
11100 2013-04-15  Andreas Schwab  <schwab@suse.de>
11102         * nscd/grpcache.c (cache_addgr): Properly check for short write.
11103         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11104         * nscd/pwdcache.c (cache_addpw): Likewise.
11105         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
11106         more than recsize.
11108 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11110         * benchtests/Makefile (bench): Write all output to
11111         bench-out.tmp together.
11113 2013-04-15  Andreas Schwab  <schwab@suse.de>
11115         * nscd/nscd.c (main): Don't fork again after closing files.
11117 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11119         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
11121         * benchtests/Rules (bench-deps): Collect dependencies into a
11122         single variable.  Add Makefile to dependencies.
11123         ($(objpfx)bench-%.c): Depend on bench-deps.
11125 2013-04-12  Roland McGrath  <roland@hack.frob.com>
11126             Xavier Roche  <roche+kml2@exalead.com>
11128         [BZ #15361]
11129         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
11130         just that it's a file descriptor.
11131         * manual/llio.texi (Synchronizing AIO Operations): Update description
11132         for EBADF error from aio_fsync.
11134 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11136         * Rules (bench): Move target definition...
11137         * benchtests/Makefile: ... here.
11139 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
11141         * math/libm-test.inc (cos_test): Fix PI/2 test.
11142         (sincos_test): Likewise.
11143         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11144         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
11146 2013-04-11  Andreas Schwab  <schwab@suse.de>
11148         [BZ #13988]
11149         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
11150         accept exponent character only when digits were seen.
11151         * stdio-common/Makefile (tests): Add bug26.
11152         * stdio-common/bug26.c: New file.
11154         [BZ #14293]
11155         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
11156         non-freeable.
11158 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11160         * Makeconfig (rtld-prefix): Define built linker prefix.
11161         * Rules (run-bench): Use it.
11162         * math/Makefile (run-regen-ulps): Likewise.
11164         * Rules (bench): Remove eval.
11166 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11167             Roland McGrath  <roland@hack.frob.com>
11168             Ondrej Bilka  <neleai@seznam.cz>
11170         [BZ #15346]
11171         * time/getdate.c: Include ctype.h and alloca.h.
11172         (__getdate_r): Trim leading and trailing spaces of input.
11173         * time/tst-getdate.c (tests): Add tests with leading and
11174         trailing spaces.
11176 2013-04-08  Roland McGrath  <roland@hack.frob.com>
11178         [BZ #14280]
11179         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
11180         when computing value.
11182 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11184         * math/README.libm-test (How can I generate "libm-test-ulps"?):
11185         Use testrun.sh to run libm tests.
11187         [BZ #15309]
11188         * elf/dl-open.c (dl_open_worker): memset all of seen array.
11190 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
11192         [BZ #15264]
11193         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
11195 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11197         * Makefile.in (regen-ulps): New target.
11198         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
11199         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
11200         [ifneq (no,$(PERL)] (regen-ulps): New target.
11201         [ifeq (no,$(PERL)] (regen-ulps): New target.
11202         * math/libm-test.inc (ulps_file_name): Define.
11203         (output_dir): New variable.
11204         (options): Add "output-dir" option.
11205         (parse_opt): Handle 'o' case.
11206         (main): If output_dir is non-NULL use it as a prefix
11207         otherwise use "".
11208         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
11210 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11212         [BZ #10060, #10062]
11213         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
11214         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
11215         fail configure if __sync_val_compare_and_swap is not inlined.
11216         * sysdeps/i386/configure: Regenerate.
11217         * configure.in: Build for i686 when configured for i386.
11218         * configure: Regenerate.
11219         * README: Remove i386 reference.
11221 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11223         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
11224         * sysdeps/s390/s390-64/sysdep.h: Likewise.
11226 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
11228         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
11229         (lmsnanval): New variables.
11230         (F): Add conversion tests.
11231         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
11232         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
11234         * stdio-common/tstdiomisc.c (F): Properly collect individual
11235         tests' results.
11237         [BZ #14686, #15336]
11238         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
11239         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11240         Instead, use input NaN values or generate a qNaN by arithmetic
11241         operation.  Also fix bugs to comply with the standard.
11242         * math/libm-test.inc (remainder_test): Add more tests.
11244         [BZ #15335, #15342]
11245         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
11246         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
11247         input NaN values or generate a qNaN by arithmetic operation.
11249         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
11250         unreachable code.
11252         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
11253         definitions.
11255 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
11257         [BZ #14478]
11258         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
11259         underflowed result.
11260         * math/s_cexpf.c (__cexpf): Likewise.
11261         * math/s_cexpl.c (__cexpl): Likewise.
11262         * math/libm-test.inc (cexp_test): Add more tests.
11264 2013-04-03  Andreas Schwab  <schwab@suse.de>
11266         [BZ #15330]
11267         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
11268         order arrays from heap if bigger than alloca cutoff.
11270 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
11272         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
11273         (SNAN_TESTS_double): Refer to GCC PR56831.
11274         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
11275         GCC PR56828.
11277 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
11279         * Rules (bench): Move bench.out after the run is complete.
11281         * Rules (bench): Echo currently running benchmark.
11283         * benchtests/Makefile (bench): Add atan and slowatan.
11284         * benchtests/atan-inputs: New file.
11285         * benchtests/slowatan-inputs: New file.
11286         * benchtests/slowatan.c: New file.
11288         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
11289         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
11290         its value.
11292         [BZ #15305]
11293         * sysdeps/unix/sysv/linux/kernel-features.h
11294         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
11295         __ASSUME_XFS_RESTRICTED_CHOWN.
11296         * sysdeps/unix/sysv/linux/pathconf.c
11297         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
11298         Save and restore errno.
11300 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
11302         [BZ #15327]
11303         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
11304         arguments using __kernel_casinh.
11305         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
11306         arguments using __kernel_casinhf.
11307         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
11308         arguments using __kernel_casinhl.
11309         * math/libm-test.inc (cacosh_test): Add more tests.
11310         * sysdeps/i386/fpu/libm-test-ulps: Update.
11311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11313 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11315         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
11316         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
11318         * bench/Makefile (bench): Add sin and slowsin.
11319         * benchtests/sin-inputs: New file.
11320         * benchtests/slowsin-inputs: New file.
11321         * benchtests/slowsin.c: New file.
11323         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
11324         (bench): Add slowexp and slowpow.
11325         (exp-ITER): Increase iterations.
11326         (pow-ITER): Likewise.
11327         * benchtests/exp-inputs: Change input.
11328         * benchtests/pow-inputs: Likewise.
11329         * benchtests/slowexp-inputs: New file.
11330         * benchtests/slowexp.c: New file.
11331         * benchtests/slowpow-inputs: New file.
11332         * benchtests/slowpow.c: New file.
11334 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11336         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
11337         instructions.
11338         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11339         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
11340         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11341         * benchtests/Makefile: Add rint benchtest.
11342         * benchtests/rint-inputs: Input for rint benchtest.
11344 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
11346         * Versions.def (libm): Add GLIBC_2.18.
11347         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
11348         hidden libm prototypes.
11349         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
11350         * math/Makefile (libm-calls): Add s_issignaling.
11351         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
11352         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
11353         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
11354         declaration.
11355         * math/math.h [__USE_GNU] (issignaling): New macro.
11356         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
11357         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
11358         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
11359         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
11360         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
11361         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
11362         * manual/arith.texi (issignaling): New section.
11363         * manual/libm-err-tab.pl (@all_functions): Update comment.
11364         * math/gen-libm-test.pl (parse_args): Apply special handling for
11365         issignaling.
11366         * math/libm-test.inc (print_float, issignaling_test): New
11367         functions.
11368         (check_float_internal): Add issignaling checks.
11369         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
11370         default definition.
11371         * sysdeps/powerpc/math-tests.h: New file.
11372         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
11373         tests.
11374         * math/test-snan.c (TEST_FUNC): Likewise.
11376 2013-03-30  David S. Miller  <davem@davemloft.net>
11378         * po/de.po: Update from translation team.
11380 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
11382         [BZ #10357]
11383         * math/k_casinh.c (__kernel_casinh): Handle arguments with
11384         imaginary part less than 1.0 and real part less than 0.5
11385         specially.
11386         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11387         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11388         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
11389         (cacos_test): Add more tests.
11390         (casin_test): Likewise.
11391         (casinh_test): Likewise.
11392         * sysdeps/i386/fpu/libm-test-ulps: Update.
11393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11395 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11397         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
11398         ONE with its value.
11400         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
11401         (__pow_mp): Replace ONE and MONE with their values.
11402         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11403         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
11404         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11405         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
11406         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11407         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11409         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
11411         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
11412         (__pow_mp): Replace ZERO and MZERO with their values.
11413         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11414         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11415         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11416         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11417         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11418         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
11419         (__sqr): Likewise.
11421         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
11423         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
11425 2013-03-28  Roland McGrath  <roland@hack.frob.com>
11427         * include/stdlib.h [!SHARED] (__call_tls_dtors):
11428         Declare with __attribute__ ((weak)).
11429         * stdlib/exit.c (__libc_atexit) [!SHARED]:
11430         Call __call_tls_dtors only if it's not NULL.
11432 2013-03-28  Roland McGrath  <roland@hack.frob.com>
11434         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
11435         didn't do it already, then set _dl_phdr and _dl_phnum based on the
11436         magic __ehdr_start linker symbol if it's defined.
11437         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
11438         them up here if it was already done.
11440         * elf/dl-support.c (_dl_phdr): Make pointer to const.
11441         (_dl_aux_init): Use const in cast when setting it.
11442         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
11443         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
11444         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
11446         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
11447         Declare them here.
11448         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
11449         * csu/libc-tls.c: Nor here.
11450         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
11452         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
11453         (__libc_message): Never call vsyslog.
11455 2013-03-28  Alan Modra  <amodra@gmail.com>
11457         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
11458         Define as empty.
11459         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
11460         Likewise.
11462 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11464         [BZ #15214]
11465         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
11466         underflow.
11467         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11469 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11471         [BZ #15304]
11472         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11473         Don't add gid passed as argument.
11475         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
11477 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
11479         [BZ #15307]
11480         * math/k_casinh.c (__kernel_casinh): Handle arguments with
11481         imaginary part between 1.0 and 1.5 and real part less than 0.5
11482         specially.
11483         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11484         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11485         * math/libm-test.inc (cacos_test): Add more tests.
11486         (casin_test): Likewise.
11487         (casinh_test): Likewise.
11488         * sysdeps/i386/fpu/libm-test-ulps: Update.
11489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11491 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11493         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
11494         constants.
11495         (norm): Likewise.
11496         (denorm): Likewise.
11497         (__dbl_mp): Likewise.
11498         (add_magnitudes): Likewise.
11499         (sub_magnitudes): Likewise.
11500         (__add): Likewise.
11501         (__sub): Likewise.
11502         (__mul): Likewise.
11503         (__sqr): Likewise.
11504         (__inv): Likewise.
11505         (__dvd): Likewise.
11507         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
11508         commented code.
11509         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
11510         (__dubcos): Likewise.
11511         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
11512         (__ieee754_acos): Likewise.
11513         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11514         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
11515         (__exp1): Likewise.
11516         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11517         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11518         (log1): Likewise.
11519         (my_log2): Likewise.
11520         (checkint): Likewise.
11521         * sysdeps/ieee754/dbl-64/e_remainder.c
11522         (__ieee754_remainder): Likewise.
11523         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11524         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11525         (bsloww): Likewise.
11526         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11528         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11529         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
11530         MANTISSA_STORE_T to store computations on mantissa.  Use
11531         macros for rounding and division.
11532         (denorm): Likewise.
11533         (__dbl_mp): Likewise.
11534         (add_magnitudes): Likewise.
11535         (sub_magnitudes): Likewise.
11536         (__mul): Likewise.
11537         (__sqr): Likewise.
11538         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
11539         powers of two in terms of TWOPOW macro.
11540         (mp_no): Make type of mantissa as MANTISSA_T.
11541         [!RADIXI]: Define RADIXI.
11542         [!TWO52]: Define TWO52.
11543         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11545 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11547         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
11548         llroundl symbol when building for PPC32.
11550 2013-03-24  Mark H Weaver  <mhw@netris.org>
11552         * manual/arith.texi (Normalization Functions): Fix prototypes for
11553         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
11555 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11557         [BZ #13889]
11558         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
11559         high value to check if expl overflow.
11560         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
11561         to check for underflow and overflow.
11562         * math/libm-test.inc: Add exp test.
11564 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
11566         [BZ #11120]
11567         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
11568         with NOT_IN_libc.
11570 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11572         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
11573         symbol.
11575 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
11577         * math/gen-libm-test.pl (parse_args, special_functions): Properly
11578         wrap blocks consisting of several statements.
11580         * sysdeps/generic/math-tests.h: New file.
11581         * sysdeps/i386/fpu/math-tests.h: Likewise.
11582         * math/test-snan.c: Include it.
11583         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
11585 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
11587         [BZ #15285]
11588         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
11589         (__ieee754_j0l): Do not improve calculations using cos of twice
11590         input for inputs above LDBL_MAX / 2.0L.
11591         (__ieee754_y0l): Likewise.
11592         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
11593         (__ieee754_j1l): Do not improve calculations using cos of twice
11594         input for inputs above LDBL_MAX / 2.0L.
11595         (__ieee754_y1l): Likewise.
11596         * math/libm-test.inc (j0_test): Add another test.
11597         (j1_test): Likewise.
11598         (y0_test): Likewise.
11599         (y1_test): Likewise.
11600         * sysdeps/i386/fpu/libm-test-ulps: Update.
11602 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11604         * Rules ($(objpfx)bench-%.c): Include code from a C source
11605         file.
11607 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
11609         [BZ #15287]
11610         * math/k_casinh.c (__kernel_casinh): Handle arguments with
11611         imaginary part 1.0 and real part less than 0.5 specially.
11612         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11613         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11614         * math/libm-test.inc (cacos_test): Add more tests.
11615         (casin_test): Likewise.
11616         (casinh_test): Likewise.
11617         * sysdeps/i386/fpu/libm-test-ulps: Update.
11618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11620 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11622         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
11623         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
11625 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
11627         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
11628         * config.make.in (config-cflags-sse4): Remove variable.
11629         (config-cflags-avx): Likewise.
11630         (config-cflags-sse2avx): Likewise.
11631         (config-cflags-novzeroupper): Likewise.
11632         (config-asflags-i686): Likewise.
11633         (have-mfma4): Likewise.
11634         (have-as-vis3): Likewise.
11635         (MIG): Likewise.
11636         * configure.in (MIG): Do not AC_SUBST.
11637         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
11638         (libc_cv_cc_sse4): Do not AC_SUBST.
11639         (libc_cv_cc_avx): Likewise.
11640         (libc_cv_cc_sse2avx): Likewise.
11641         (libc_cv_cc_novzeroupper): Likewise.
11642         (libc_cv_cc_fma4): Likewise.
11643         (libc_cv_as_i686): Likewise.
11644         (libc_cv_sparc_as_vis3): Likewise.
11645         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
11646         LIBC_CONFIG_VAR.
11647         (config-asflags-i686): Likewise.
11648         (config-cflags-avx): Likewise.
11649         (config-cflags-sse2avx): Likewise.
11650         (have-mfma4): Likewise.
11651         (config-cflags-novzeroupper): Likewise.
11652         * sysdeps/mach/configure.in (MIG): Likewise.
11653         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
11654         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
11655         LIBC_CONFIG_VAR.
11656         (config-cflags-avx): Likewise.
11657         (config-cflags-sse2avx): Likewise.
11658         (have-mfma4): Likewise.
11659         (config-cflags-novzeroupper): Likewise.
11660         * configure: Regenerated.
11661         * sysdeps/i386/configure: Likewise.
11662         * sysdeps/mach/configure: Likewise.
11663         * sysdeps/sparc/configure: Likewise.
11664         * sysdeps/x86_64/configure: Likewise.
11666 2013-03-20  Roland McGrath  <roland@hack.frob.com>
11668         [BZ #14812]
11669         * locale/programs/localedef.c (options): Put N_ translation marker
11670         on argument names, not just descriptions.
11672 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11674         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
11676 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
11678         [BZ #14176]
11679         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
11681 2013-03-19  Roland McGrath  <roland@hack.frob.com>
11683         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
11684         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
11685         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
11686         [!BEFORE_ABORT] (before_abort): New function.
11687         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
11688         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
11689         (writev_for_fatal): New function.
11690         (WRITEV_FOR_FATAL): New macro; call that.
11691         (backtrace_and_maps): New function.
11692         (BEFORE_ABORT): New macro; call that.
11693         (struct str_list): Type removed.
11694         (__libc_message, __libc_fatal): Functions removed.
11695         Include <sysdeps/posix/libc_fatal.c> instead.
11697 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
11699         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
11700         constants.
11701         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
11702         double constants.
11704 2013-03-19  Andreas Schwab  <schwab@suse.de>
11706         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
11707         * sysdeps/gnu/configure: Regenerate.
11709         * configure.in: Substitute libc_cv_rtlddir.
11710         * configure: Regenerate.
11711         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
11712         * Makeconfig (rtlddir, inst_rtlddir): New variables.
11713         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
11714         * elf/Makefile (install-others, CFLAGS-interp.c)
11715         (ldso_install, common-ldd-rewrite): Likewise.
11716         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
11717         $(inst_slibdir)/$(rtld-installed-name).
11718         * scripts/rellns-sh: Add -p option.
11719         * Makerules (make-shlib-link): Use rellns-sh to get relative name
11720         for source.
11722 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11724         * manual/nptl.texi: Renamed to ...
11725         * manual/threads.texi: ... this.
11726         * manual/Makefile (chapters): Update.
11728 2013-03-18  Roland McGrath  <roland@hack.frob.com>
11730         [BZ #14812]
11731         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
11732         on argument names, not just descriptions.
11733         * malloc/memusagestat.c (options): Likewise.
11734         * nss/getent.c (options): Likewise.
11736 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
11738         [BZ #14812]
11739         * iconv/iconv_prog.c (options): Put N_ translation marker
11740         on argument names, not just descriptions.
11741         * iconv/iconvconfig.c (options): Likewise.
11743 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
11745         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
11746         implementation which is faster on all x86_64 architectures.
11747         Tested on AMD, Intel Nehalem, SNB, IVB.
11748         * sysdeps/x86_64/strnlen.S: Likewise.
11750         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11751         Remove all multiarch strlen and strnlen versions.
11752         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11753         Remove strlen and strnlen related parts.
11755         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
11756         Inline strlen part.
11757         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11759         * sysdeps/x86_64/multiarch/strlen.S: Remove.
11760         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
11761         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
11762         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
11763         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11764         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
11766 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
11768         * manual/memory.texi (Malloc Tunable Parameters):
11769         Sort parameters alphabetically. Add comments for missing entries.
11771 2013-03-17  David S. Miller  <davem@davemloft.net>
11773         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11775 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
11777         [BZ #15283]
11778         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11779         for arguments at most half maximum finite value.
11780         * math/libm-test.inc (j0_test): Add more tests.
11781         (j1_test): Likewise.
11782         (y0_test): Likewise.
11783         (y1_test): Likewise.
11784         * sysdeps/i386/fpu/libm-test-ulps: Update.
11785         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11787         [BZ #14155]
11788         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11789         1 / x and functions P and Q for arguments above 0x1p256L.
11790         (__ieee754_y0l): Likewise.
11791         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11792         (__ieee754_y1l): Likewise.
11793         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11794         (j1_test): Likewise.
11795         (y0_test): Likewise.
11796         (y1_test): Likewise.
11798 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
11800         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11801         variable.
11803 2013-03-15  Roland McGrath  <roland@hack.frob.com>
11805         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11806         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11807         zero since it's initialized to EXEC_PAGESIZE.
11809         * sysdeps/unix/sysv/linux/ldsodefs.h
11810         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11811         * sysdeps/generic/ldsodefs.h: ... here.
11813 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
11815         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11817         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11818         math/test-snan.c.
11819         * math/test-snan.c: Renamed from
11820         sysdeps/powerpc/fpu/test-powerpc-snan.c.
11821         * math/Makefile (tests): Add test-snan.
11822         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11823         test-powerpc-snan.
11825         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11826         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
11827         functions.
11828         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
11829         __builtin_nan family of functions.
11830         * math/libm-test.inc (initialize): Initialize qnan_value with
11831         __builtin_nan family of functions.
11832         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11833         Remove variables.
11834         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11835         Remove functions.
11836         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
11837         storage class.  Initialize qNaN_var and sNaN_var with
11838         __builtin_nan and __builtin_nans families of functions,
11839         respectively.
11841         * math/libm-test.inc (acosh_test): Also test with qNaN input.
11842         (sqrt_test): Remove duplicate test with qNaN input.
11843         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11844         (round_test, signbit_test, significand_test): Note missing +/-Inf
11845         as well as qNaN tests.
11847         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11848         qNaN_var.  Fix a few strings, too.
11849         * math/libm-test.inc (nan_value): Rename to qnan_value.
11850         * math/gen-libm-test.pl (%beautify): Adjust to that.
11851         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11852         * math/test-misc.c (main): Likewise.
11853         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11854         to __qnan_bytes, and __qnan_union, respectively.
11855         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11856         Likewise.
11857         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11858         and lqnanval, respectively.
11859         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11860         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11861         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11862         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11864         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11865         * math/test-misc.c (main) [__x86_64__]: Enable test for long
11866         doubles.
11868         * math/test-misc.c (main): Fix copy'n'pastos.
11869         * misc/tst-efgcvt.c (special): Likewise.
11871         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11872         Remove declarations.
11874 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11876         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11877         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11878         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11879         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11881 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11883         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11884         macro to return vdso values correctly in IFUNC implementations.
11885         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11886         Optimization by using IFUNC.
11888 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11889             Richard Henderson  <rth@redhat.com>
11890             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11892         * Makefile.in (bench): New target.
11893         * NEWS: Mention the benchmark framework.
11894         * Rules (bench): Likewise.
11895         (binaries-bench): Generate binaries for functions to
11896         benchmark.
11897         * benchtests/Makefile: New makefile for benchmark tests.
11898         * benchtests/bench-skeleton.c: New skeleton file for benchmark
11899         programs.
11900         * benchtests/exp-inputs: New input file for EXP function.
11901         * benchtests/pow-inputs: New input file for POW function.
11902         * scripts/bench.pl: New script to generate source files for
11903         benchmark programs.
11905 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11907         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11908         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11909         computations on mantissa.  Use macros for rounding and
11910         division.
11911         (denorm): Likewise.
11912         (__dbl_mp): Likewise.
11913         (add_magnitudes): Likewise.
11914         (sub_magnitudes): Likewise.
11915         (__mul): Likewise.
11916         (__sqr): Likewise.
11917         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
11918         powers of two in terms of TWOPOW macro.
11919         (mp_no): Make type of mantissa as MANTISSA_T.
11920         [!RADIXI]: Define RADIXI.
11921         [!TWO52]: Define TWO52.
11922         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11924         * manual/nptl.texi (cindex): Modify threads to pthreads.
11926 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
11928         * sysdeps/x86_64/preconfigure: Regenerated.
11930 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
11932         [BZ #14155]
11933         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11934         0x1p28 and above.
11935         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11936         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11937         0x1p28 and above.
11938         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11939         * math/libm-test.inc (j0_test): Do not allow one spurious
11940         underflow exception.
11941         (y1_test): Likewise.
11943 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11945         * manual/Makefile (chapters): Add nptl.
11946         * manual/debug.texi (Debugging Support): Add link to Threads
11947         chapter.
11948         * manual/nptl.texi: New file.
11950         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11952 2013-03-14  Petr Baudis  <pasky@ucw.cz>
11954         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11955         for non-NULL pointer before the memory validity test. Pointed
11956         out by Holger Brunck <holger.brunck@keymile.com>.
11958 2013-03-13  Andreas Schwab  <schwab@suse.de>
11960         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11961         instead of .os.
11963 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
11965         * timezone/zic.c: Update from tzcode 2013b.
11967 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
11969         * manual/install.texi (Configuring and compiling):
11970         Mention i686 and i586.
11971         * INSTALL: Regenerate.
11973 2013-03-12  Roland McGrath  <roland@hack.frob.com>
11975         * sysdeps/init_array/elf-init.c: New file.
11976         * csu/elf-init.c
11977         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11978         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11980         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11981         __gmon_start__ as global, but as static with a .preinit_array pointer.
11982         * sysdeps/init_array/gmon-start.c: New file.  Use that.
11983         * sysdeps/init_array/crti.S: New file, empty except for comments.
11984         * sysdeps/init_array/crtn.S: Likewise.
11986 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
11988         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11989         definining bcopy.
11990         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11991         Remove Prefer_SSE_for_memop.
11992         * sysdeps/x86_64/multiarch/init-arch.h: Remove
11993         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11994         HAS_PREFER_SSE_FOR_MEMOP.
11995         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11996         memset-x86-64.
11997         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11998         Remove bzero, memset ifunc support.
11999         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
12000         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
12001         * sysdeps/x86_64/multiarch/memset.S: Likewise.
12002         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12004 2013-03-11  Andreas Schwab  <schwab@suse.de>
12006         [BZ #15234]
12007         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
12008         by SHLIB_COMPAT.
12009         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
12010         (GLIBC_2.16): Remove pthread_atfork.
12012 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
12014         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
12015         (ptestcases.h): Likewise.
12017 2013-03-08  Roland McGrath  <roland@hack.frob.com>
12019         * Makeconfig ($(common-objpfx)config.status): Depend on
12020         sysdeps/*/preconfigure{,.in} too.
12022 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
12024         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
12025         (__free_hook): Use void * instead of __malloc_ptr_t.
12026         (__malloc_hook): Likewise.
12027         (__realloc_hook): Likewise.
12028         (__memalign_hook): Likewise.
12029         (__after_morecore_hook): Likewise.
12030         * malloc/arena.c (save_malloc_hook): Likewise.
12031         (save_free_hook): Likewise.
12032         * malloc/hooks.c (malloc_hook_ini): Likewise.
12033         (realloc_hook_ini): Likewise.
12034         (memalign_hook_ini): Likewise.
12035         * malloc/malloc.c (malloc_hook_ini): Likewise.
12036         (realloc_hook_ini): Likewise.
12037         (memalign_hook_ini): Likewise.
12038         (__free_hook): Likewise.
12039         (__malloc_hook): Likewise.
12040         (__realloc_hook): Likewise.
12041         (__memalign_hook): Likewise.
12042         (__libc_malloc): Likewise.
12043         (__libc_free): Likewise.
12044         (__libc_realloc): Likewise.
12045         (__libc_memalign): Likewise.
12046         (__libc_valloc): Likewise.
12047         (__libc_pvalloc): Likewise.
12048         (__libc_calloc): Likewise.
12049         (__posix_memalign): Likewise.
12050         * malloc/morecore.c (__sbrk): Likewise.
12051         (__default_morecore): Likewise.
12053         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
12055         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
12056         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
12057         __malloc_ptrdiff_t.
12059         * malloc/malloc.h (__malloc_size_t): Remove macro.
12060         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
12061         __malloc_size_t.
12062         (old_memalign_hook): Likewise.
12063         (old_realloc_hook): Likewise.
12064         (struct hdr): Likewise.
12065         (flood): Likewise.
12066         (mallochook): Likewise.
12067         (memalignhook): Likewise.
12068         (reallochook): Likewise.
12069         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
12070         (tr_old_realloc_hook): Likewise.
12071         (tr_old_memalign_hook): Likewise.
12072         (tr_mallochook): Likewise.
12073         (tr_reallochook): Likewise.
12074         (tr_memalignhook): Likewise.
12076 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12078         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
12079         default_ldbl_pack and using as default implementation.
12080         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
12081         implementation.
12082         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
12083         redundant definition.
12084         (ldbl_insert_mantissa): Likewise.
12085         (ldbl_canonicalize): Likewise.
12086         (ldbl_nearbyint): Likewise.
12087         (ldbl_pack): Rename to ldbl_pack_ppc.
12088         (ldbl_unpack): Rename to ldbl_unpack_ppc.
12089         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
12090         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
12092 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
12094         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
12095         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
12096         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
12097         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
12098         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
12099         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
12100         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
12101         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
12103 2013-03-07  Andreas Jaeger  <aj@suse.de>
12105         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12106         bits/mman-linux.h.
12108 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
12110         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
12111         Include mpa.h and declare __MPEXP.
12112         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
12113         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12114         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
12115         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
12116         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12117         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
12118         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
12120         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
12121         (__slowpow): Use long double EXPL and LOGL functions to
12122         compute POW.
12123         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12124         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12125         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
12126         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12127         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12128         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
12130         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
12131         intermediate variable to calculate exponent.
12132         (__sqr): Likewise.
12133         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12134         Likewise.
12135         (__sqr): Likewise.
12137         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
12138         [!NO__SQR]: Define __sqr.
12139         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
12140         and NO__SQR.  Remove all code except __mul and __sqr.  Include
12141         sysdeps/ieee754/dbl-64/mpa.c.
12142         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12144         [BZ #12723]
12145         * posix/Makefile (tests): Add tst-pathconf.
12146         * posix/tst-pathconf.c: New test case.
12147         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
12148         _PC_PIPE_BUF.
12149         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
12151 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
12153         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
12155 2013-03-06  Andreas Jaeger  <aj@suse.de>
12157         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
12158         definition via __MAP_ANONYMOUS.
12160         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
12161         it's not part of Linux headers.
12163         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
12164         (MAP_HUGE_MASK): Define.
12166         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12167         Define.
12168         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12169         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12170         Define.
12171         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12172         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12173         Define.
12174         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12175         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
12176         Define.
12177         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12179         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
12180         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
12181         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
12182         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
12183         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
12184         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
12186         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12187         Handle f2fs.
12189         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12190         Handle f2fs and efivarfs.
12192         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
12193         f2fs.
12195         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
12196         (EFIVARFS_MAGIC): Add.
12197         (F2FS_LINK_MAX): Add.
12199 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
12201         * stdio-common/vfprintf.c: Replace __builtin_expect with
12202         __glibc_unlikely.
12204 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
12206         [BZ #13550]
12207         * sysdeps/generic/bp-sym.h: Remove file.
12208         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
12209         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
12210         <bp-sym.h> and <bp-asm.h>.
12211         (__longjmp): Don't use BP_SYM.
12212         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
12213         and <bp-asm.h>.
12214         (memcpy): Don't use BP_SYM.
12215         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
12216         <bp-sym.h> and <bp-asm.h>.
12217         (memcpy): Don't use BP_SYM.
12218         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
12219         <bp-asm.h>.
12220         (memcpy): Don't use BP_SYM.
12221         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
12222         <bp-asm.h>.
12223         (memset): Don't use BP_SYM.
12224         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12225         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12226         (__bzero): Don't use BP_SYM.
12227         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12228         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12229         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
12230         <bp-sym.h> and <bp-asm.h>.
12231         (memcmp): Don't use BP_SYM.  Remove comment about bounded
12232         pointers.
12233         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
12234         <bp-sym.h> and <bp-asm.h>.
12235         (memcpy): Don't use BP_SYM.
12236         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
12237         <bp-sym.h> and <bp-asm.h>.
12238         (memset): Don't use BP_SYM.
12239         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12240         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12241         (__bzero): Don't use BP_SYM.
12242         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12243         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12244         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
12245         <bp-sym.h> and <bp-asm.h>.
12246         (strncmp): Don't use BP_SYM.  Remove comment about bounded
12247         pointers.
12248         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
12249         <bp-sym.h> and <bp-asm.h>.
12250         (memcpy): Don't use BP_SYM.
12251         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
12252         <bp-sym.h> and <bp-asm.h>.
12253         (memset): Don't use BP_SYM.
12254         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12255         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12256         (__bzero): Don't use BP_SYM.
12257         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12258         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12259         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
12260         <bp-sym.h> and <bp-asm.h>.
12261         (__memchr): Don't use BP_SYM.
12262         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
12263         <bp-sym.h> and <bp-asm.h>.
12264         (memcmp): Don't use BP_SYM.  Remove comment about bounded
12265         pointers.
12266         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
12267         <bp-sym.h> and <bp-asm.h>.
12268         (memcpy): Don't use BP_SYM.
12269         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
12270         <bp-sym.h> and <bp-asm.h>.
12271         (__mempcpy): Don't use BP_SYM.
12272         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
12273         <bp-sym.h> and <bp-asm.h>.
12274         (__memrchr): Don't use BP_SYM.
12275         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
12276         <bp-sym.h> and <bp-asm.h>.
12277         (memset): Don't use BP_SYM.
12278         (__bzero): Likewise.
12279         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
12280         <bp-sym.h> and <bp-asm.h>.
12281         (__rawmemchr): Don't use BP_SYM.
12282         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
12283         <bp-sym.h> and <bp-asm.h>.
12284         (__STRCMP): Don't use BP_SYM.
12285         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
12286         <bp-sym.h> and <bp-asm.h>.
12287         (strchr): Don't use BP_SYM.
12288         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
12289         <bp-sym.h> and <bp-asm.h>.
12290         (__strchrnul): Don't use BP_SYM.
12291         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
12292         <bp-sym.h> and <bp-asm.h>.
12293         (strlen): Don't use BP_SYM.
12294         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
12295         <bp-sym.h> and <bp-asm.h>.
12296         (strncmp): Don't use BP_SYM.  Remove comment about bounded
12297         pointers.
12298         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
12299         <bp-sym.h> and <bp-asm.h>.
12300         (__strnlen): Don't use BP_SYM.
12301         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
12302         <bp-sym.h> and <bp-asm.h>.
12303         (__GI__setjmp): Don't use BP_SYM.
12304         (_setjmp): Likewise.
12305         (__sigsetjmp): Likewise.
12306         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
12307         (L(start_addresses)): Don't use BP_SYM.
12308         (_start): Likewise.
12309         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
12310         <bp-asm.h>.
12311         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
12312         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
12313         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12314         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12315         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
12316         <bp-asm.h>.
12317         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
12318         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
12319         about bounded pointers.
12320         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12321         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12322         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
12323         <bp-asm.h>.
12324         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
12325         about bounded pointers.  Remove GKM FIXME comments.
12326         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12327         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
12328         <bp-asm.h>.
12329         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
12330         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
12331         Remove GKM FIXME comments.
12332         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12333         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12334         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
12335         <bp-asm.h>.
12336         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
12337         about bounded pointers.  Remove GKM FIXME comment.
12338         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
12339         and <bp-asm.h>.
12340         (strncmp): Don't use BP_SYM.  Remove comment about bounded
12341         pointers.
12342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
12343         <bp-sym.h> and <bp-asm.h>.
12344         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
12346         <bp-sym.h> and <bp-asm.h>.
12347         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
12348         comment.
12350 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
12352         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
12353         call free(NULL).
12355 2013-03-05  David S. Miller  <davem@davemloft.net>
12357         * po/es.po: Update from translation team.
12359 2013-03-05  Andreas Jaeger  <aj@suse.de>
12361         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
12362         <bits/mman-linux.h>.
12363         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12364         is fine.
12365         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
12366         <bits/mman-linux.h> to end of file.
12367         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12368         is fine.
12369         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
12370         <bits/mman-linux.h> to end of file.
12371         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12372         is fine.
12373         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
12374         <bits/mman-linux.h> to end of file.
12376         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
12377         (MCL_CURRENT, MCL_FUTURE): Define here.
12379 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12381         [BZ #15232]
12382         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
12383         attribute_hidden.
12384         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12386 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12388         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
12389         fourth parameter needed for rt_sigprocmask syscall.
12390         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12391         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12392         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
12393         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12394         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12395         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
12397 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
12399         [BZ #13550]
12400         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
12401         comment about bounded pointers.
12402         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
12403         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
12405 2013-03-04  Andreas Jaeger  <aj@suse.de>
12407         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
12408         common definitions.
12410         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
12411         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
12412         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
12413         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12414         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12415         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12417 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12419         [BZ #15055]
12420         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
12421         __ieee754_sqrl instead of __sqrl.
12423 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
12425         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
12426         * sysdeps/powerpc/fpu_control.h: ... here.
12427         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
12428         * sysdeps/powerpc/bits/fenvinline.h: ... here.
12429         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
12430         * sysdeps/powerpc/bits/mathinline.h: ... here.
12432 2013-03-01  Roland McGrath  <roland@hack.frob.com>
12434         * elf/dl-hwcaps.c (_dl_important_hwcaps):
12435         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
12436         to just [NEED_DL_SYSINFO_DSO].
12437         * elf/dl-support.c: Likewise.
12438         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12439         * elf/rtld.c (dl_main): Likewise.
12440         * elf/setup-vdso.h (setup_vdso): Likewise.
12441         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
12442         * sysdeps/unix/sysv/linux/dl-sysdep.c
12443         (_dl_discover_osversion): Likewise.
12445 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
12447         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
12448         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12450 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
12452         * NEWS: Mention libm performance improvements and non-x86 PI
12453         futex support.
12455         * csu/libc-start.c (__pthread_initialize_minimal): Change
12456         function arguments.
12457         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12459 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
12461         [BZ #13550]
12462         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
12463         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
12464         <bp-sym.h> and <bp-asm.h>.
12465         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12466         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
12467         and <bp-asm.h>.
12468         (memcpy): Don't use BP_SYM.
12469         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
12470         <bp-asm.h>.
12471         (__mpn_add_n): Don't use BP_SYM.
12472         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
12473         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
12474         and <bp-asm.h>.
12475         (__mpn_addmul_1): Don't use BP_SYM.
12476         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12477         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
12478         <bp-sym.h>.
12479         (_setjmp): Don't use BP_SYM.
12480         (__novmx_setjmp): Likewise.
12481         (__GI__setjmp): Likewise.
12482         (__vmx_setjmp): Likewise.
12483         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
12484         <bp-sym.h>.
12485         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
12486         (__bzero): Don't use BP_SYM.
12487         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12488         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12489         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
12490         <bp-sym.h> and <bp-asm.h>.
12491         (memcpy): Don't use BP_SYM.
12492         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
12493         <bp-sym.h> and <bp-asm.h>.
12494         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12495         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
12496         <bp-sym.h> and <bp-asm.h>.
12497         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12498         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
12499         <bp-asm.h>.
12500         (__mpn_lshift): Don't use BP_SYM.
12501         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12502         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
12503         <bp-asm.h>.
12504         (memset): Don't use BP_SYM.
12505         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12506         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12507         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
12508         <bp-asm.h>.
12509         (__mpn_mul_1): Don't use BP_SYM.
12510         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12511         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
12512         <bp-sym.h> and <bp-asm.h>.
12513         (memcmp): Don't use BP_SYM.
12514         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
12515         <bp-sym.h> and <bp-asm.h>.
12516         (memcpy): Don't use BP_SYM.
12517         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
12518         <bp-sym.h> and <bp-asm.h>.
12519         (memset): Don't use BP_SYM.
12520         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
12521         <bp-sym.h> and <bp-asm.h>.
12522         (strncmp): Don't use BP_SYM.
12523         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
12524         <bp-sym.h> and <bp-asm.h>.
12525         (memcpy): Don't use BP_SYM.
12526         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
12527         <bp-sym.h> and <bp-asm.h>.
12528         (memset): Don't use BP_SYM.
12529         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
12530         <bp-sym.h> and <bp-asm.h>.
12531         (__memchr): Don't use BP_SYM.
12532         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
12533         <bp-sym.h> and <bp-asm.h>.
12534         (memcmp): Don't use BP_SYM.
12535         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
12536         <bp-sym.h> and <bp-asm.h>.
12537         (memcpy): Don't use BP_SYM.
12538         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
12539         <bp-sym.h> and <bp-asm.h>.
12540         (__mempcpy): Don't use BP_SYM.
12541         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
12542         <bp-sym.h> and <bp-asm.h>.
12543         (__memrchr): Don't use BP_SYM.
12544         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
12545         <bp-sym.h> and <bp-asm.h>.
12546         (memset): Don't use BP_SYM.
12547         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
12548         <bp-sym.h> and <bp-asm.h>.
12549         (__rawmemchr): Don't use BP_SYM.
12550         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
12551         <bp-sym.h> and <bp-asm.h>.
12552         (__STRCMP): Don't use BP_SYM.
12553         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
12554         <bp-sym.h> and <bp-asm.h>.
12555         (strchr): Don't use BP_SYM.
12556         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
12557         <bp-sym.h> and <bp-asm.h>.
12558         (__strchrnul): Don't use BP_SYM.
12559         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
12560         <bp-sym.h> and <bp-asm.h>.
12561         (strlen): Don't use BP_SYM.
12562         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
12563         <bp-sym.h> and <bp-asm.h>.
12564         (strncmp): Don't use BP_SYM.
12565         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
12566         <bp-sym.h> and <bp-asm.h>.
12567         (__strnlen): Don't use BP_SYM.
12568         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
12569         <bp-asm.h>.
12570         (__mpn_rshift): Don't use BP_SYM.
12571         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12572         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
12573         <bp-sym.h> and <bp-asm.h>.
12574         (__sigsetjmp): Don't use BP_SYM.
12575         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
12576         (L(start_addresses)): Don't use BP_SYM.
12577         (_start): Likewise.
12578         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
12579         <bp-asm.h>.
12580         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
12581         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12582         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12583         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
12584         <bp-asm.h>.
12585         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
12586         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12587         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12588         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
12589         <bp-asm.h>.
12590         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
12591         comments.
12592         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12593         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
12594         <bp-asm.h>.
12595         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
12596         FIXME comments.
12597         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12598         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12599         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
12600         <bp-asm.h>.
12601         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
12602         comment.
12603         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
12604         and <bp-asm.h>.
12605         (strncmp): Don't use BP_SYM,
12606         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
12607         <bp-asm.h>.
12608         (__mpn_sub_n): Don't use BP_SYM.
12609         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12610         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
12611         and <bp-asm.h>.
12612         (__mpn_submul_1): Don't use BP_SYM.
12613         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
12615         <bp-sym.h> and <bp-asm.h>.
12616         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
12618         <bp-sym.h> and <bp-asm.h>.
12619         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
12620         comment.
12622 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12624         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
12625         Use ZK to minimize writes to Z.
12626         (sub_magnitudes): Simplify code a bit.
12627         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
12628         Use ZK to minimize writes to Z.
12629         (sub_magnitudes): Simplify code a bit.
12631 2013-02-27  Roland McGrath  <roland@hack.frob.com>
12633         * csu/gmon-start.c: Add special exception to license text.
12635 2013-02-27  Richard Henderson  <rth@redhat.com>
12637         * scripts/config.guess: Update from config.git.
12638         * scripts/config.sub: Likewise.
12640 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12642         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
12644         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
12646         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
12648         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
12650         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
12652 2013-02-26  Roland McGrath  <roland@hack.frob.com>
12654         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
12655         [$(build-shared = yes].
12657 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12659         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
12660         (__mul): Reduce iterations for calculating mantissa.
12662         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
12663         MPTWO.
12664         (__mpranred): Likewise.
12666         [BZ #15160]
12667         * malloc/memusagestat.c (main): Draw graphs for heap and stack
12668         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
12670 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
12672         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
12673         Define __attribute__.
12675 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12677         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
12678         unused.
12679         * posix/regex_internal.h (__attribute): Remove.
12680         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
12681         (re_string_context_at): Likewise.
12682         (bitset_not): Use __attribute__ and mark function as possibly
12683         unused.
12684         (bitset_merge): Likewise.
12685         (bitset_mask): Likewise.
12686         (re_string_char_size_at): Likewise.
12687         (re_string_wchar_at): Likewise.
12688         (re_string_elem_size_at): Likewise.
12690 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
12692         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
12693         code.
12694         (cc32): Likewise.
12696         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
12697         (__acr): Likewise.
12698         (__cpy): Likewise.
12699         (norm): Likewise.
12700         (denorm): Likewise.
12701         (__dbl_mp): Likewise.
12702         (add_magnitudes): Likewise.
12703         (sub_magnitudes): Likewise.
12704         (__mul): Likewise.
12705         (__inv): Likewise.
12707         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
12708         style.
12710         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
12711         style.
12713         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
12714         code.
12716         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
12717         up changes with default code.
12718         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
12719         Likewise.
12721 2013-02-24  Allan McRae  <allan@archlinux.org>
12723         * manual/socket.texi (The Internet Namespace): Order menu items
12724         to match that in the file.
12726         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
12727         node listing of the info page menu.
12729 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
12731         [BZ #13550]
12732         * sysdeps/i386/bp-asm.h: Remove file.
12733         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12734         (PARMS): Do not use macros from bp-asm.h.
12735         (S1): Likewise.
12736         (S2): Likewise.
12737         (SIZE): Likewise.
12738         (__mpn_add_n): Do not use BP_SYM
12739         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
12740         "bp-asm.h".
12741         (PARMS): Do not use macros from bp-asm.h.
12742         (S1): Likewise.
12743         (SIZE): Likewise.
12744         (__mpn_addmul_1): Do not use BP_SYM
12745         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
12746         "bp-asm.h".
12747         (PARMS): Do not use macros from bp-asm.h.
12748         (SIGMSK): Likewise.
12749         (_setjmp): Likewise.  Do not use BP_SYM.
12750         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
12751         "bp-asm.h".
12752         (PARMS): Do not use macros from bp-asm.h.
12753         (SIGMSK): Likewise.
12754         (setjmp): Likewise.  Do not use BP_SYM.
12755         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
12756         "bp-asm.h".
12757         (PARMS): Do not use macros from bp-asm.h.
12758         (__frexp): Do not use BP_SYM.
12759         (frexp): Likewise.
12760         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
12761         "bp-asm.h".
12762         (PARMS): Do not use macros from bp-asm.h.
12763         (__frexpf): Do not use BP_SYM.
12764         (frexpf): Likewise.
12765         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
12766         "bp-asm.h".
12767         (PARMS): Do not use macros from bp-asm.h.
12768         (__frexpl): Do not use BP_SYM.
12769         (frexpl): Likewise.
12770         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
12771         "bp-asm.h".
12772         (PARMS): Do not use macros from bp-asm.h.
12773         (__remquo): Do not use BP_SYM.
12774         (remquo): Likewise.
12775         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12776         "bp-asm.h".
12777         (PARMS): Do not use macros from bp-asm.h.
12778         (__remquof): Do not use BP_SYM.
12779         (remquof): Likewise.
12780         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12781         "bp-asm.h".
12782         (PARMS): Do not use macros from bp-asm.h.
12783         (__remquol): Do not use BP_SYM.
12784         (remquol): Likewise.
12785         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12786         "bp-asm.h".
12787         (PARMS): Do not use macros from bp-asm.h.
12788         (DEST): Likewise.
12789         (SRC): Likewise.
12790         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
12791         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12792         "bp-asm.h".
12793         (PARMS): Do not use macros from bp-asm.h.
12794         (strlen): Do not use BP_SYM.
12795         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12796         "bp-asm.h".
12797         (PARMS): Do not use macros from bp-asm.h.
12798         (S1): Likewise.
12799         (S2): Likewise.
12800         (SIZE): Likewise.
12801         (__mpn_add_n): Do not use BP_SYM.
12802         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12803         "bp-asm.h".
12804         (PARMS): Do not use macros from bp-asm.h.
12805         (S1): Likewise.
12806         (SIZE): Likewise.
12807         (__mpn_addmul_1): Do not use BP_SYM.
12808         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12809         weak_alias.
12810         (bzero): Likewise.
12811         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12812         "bp-asm.h".
12813         (PARMS): Do not use macros from bp-asm.h.
12814         (S): Likewise.
12815         (SIZE): Likewise.
12816         (__mpn_lshift): Do not use BP_SYM.
12817         * sysdeps/i386/i586/memcpy.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         (LEN): Likewise.
12823         (memcpy): Likewise.  Do not use BP_SYM.
12824         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12825         libc_hidden_def and weak_alias.
12826         (mempcpy): Do not use BP_SYM in weak_alias.
12827         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12828         "bp-asm.h".
12829         (PARMS): Do not use macros from bp-asm.h.
12830         (DEST): Likewise.
12831         (LEN): Likewise.
12832         [!BZERO_P] (CHR): Likewise.
12833         (memset): Likewise.  Do not use BP_SYM.
12834         * sysdeps/i386/i586/mul_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_mul_1): Do not use BP_SYM.
12840         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12841         "bp-asm.h".
12842         (PARMS): Do not use macros from bp-asm.h.
12843         (S): Likewise.
12844         (SIZE): Likewise.
12845         (__mpn_rshift): Do not use BP_SYM.
12846         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12847         "bp-asm.h".
12848         (PARMS): Do not use macros from bp-asm.h.
12849         (STR): Likewise.
12850         (CHR): Likewise.
12851         (strchr): Likewise.  Do not use BP_SYM.
12852         (index): Do not use BP_SYM in weak_alias.
12853         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12854         "bp-asm.h".
12855         (PARMS): Do not use macros from bp-asm.h.
12856         (DEST): Likewise.
12857         (SRC): Likewise.
12858         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
12859         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12860         "bp-asm.h".
12861         (PARMS): Do not use macros from bp-asm.h.
12862         (strlen): Do not use BP_SYM.
12863         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12864         "bp-asm.h".
12865         (PARMS): Do not use macros from bp-asm.h.
12866         (S1): Likewise.
12867         (S2): Likewise.
12868         (SIZE): Likewise.
12869         (__mpn_sub_n): Do not use BP_SYM.
12870         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12871         "bp-asm.h".
12872         (PARMS): Do not use macros from bp-asm.h.
12873         (S1): Likewise.
12874         (SIZE): Likewise.
12875         (__mpn_submul_1): Do not use BP_SYM.
12876         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12877         "bp-asm.h".
12878         (PARMS): Do not use macros from bp-asm.h.
12879         (S1): Likewise.
12880         (S2): Likewise.
12881         (SIZE): Likewise.
12882         (__mpn_add_n): Do not use BP_SYM.
12883         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12884         weak_alias.
12885         (bzero): Likewise.
12886         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12887         "bp-asm.h".
12888         (PARMS): Do not use macros from bp-asm.h.
12889         (BLK2): Likewise.
12890         (LEN): Likewise.
12891         (memcmp): Do not use BP_SYM.
12892         (bcmp): Do not use BP_SYM in weak_alias.
12893         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12894         "bp-asm.h".
12895         (PARMS): Do not use macros from bp-asm.h.
12896         (DEST): Likewise.
12897         (SRC): Likewise.
12898         (LEN): Likewise.
12899         (memcpy): Likewise.  Do not use BP_SYM.
12900         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12901         "bp-asm.h".
12902         (PARMS): Do not use macros from bp-asm.h.
12903         (DEST): Likewise.
12904         (SRC): Likewise.
12905         (LEN): Likewise.
12906         (memmove): Likewise.  Do not use BP_SYM.
12907         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12908         "bp-asm.h".
12909         (PARMS): Do not use macros from bp-asm.h.
12910         (DEST): Likewise.
12911         (SRC): Likewise.
12912         (LEN): Likewise.
12913         (__mempcpy): Likewise.  Do not use BP_SYM.
12914         (mempcpy): Do not use BP_SYM in weak_alias.
12915         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12916         "bp-asm.h".
12917         (PARMS): Do not use macros from bp-asm.h.
12918         (DEST): Likewise.
12919         (LEN): Likewise.
12920         [!BZERO_P] (CHR): Likewise.
12921         (memset): Likewise.  Do not use BP_SYM.
12922         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12923         "bp-asm.h".
12924         (PARMS): Do not use macros from bp-asm.h.
12925         (STR2): Likewise.
12926         (strcmp): Do not use BP_SYM.
12927         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12928         "bp-asm.h".
12929         (PARMS): Do not use macros from bp-asm.h.
12930         (STR): Likewise.
12931         (DELIM): Likewise.
12932         [USE_AS_STRTOK_R] (SAVE): Likewise.
12933         (FUNCTION): Likewise.  Do not use BP_SYM.
12934         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12935         aliases.
12936         (strtok_r): Likewise.
12937         (__GI___strtok_r): Likewise.
12938         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12939         (PARMS): Do not use macros from bp-asm.h.
12940         (S): Likewise.
12941         (SIZE): Likewise.
12942         (__mpn_lshift): Do not use BP_SYM.
12943         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12944         (PARMS): Do not use macros from bp-asm.h.
12945         (STR): Likewise.
12946         (CHR): Likewise.
12947         (__memchr): Do not use BP_SYM.
12948         (memchr): Do not use BP_SYM in weak_alias.
12949         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12950         (PARMS): Do not use macros from bp-asm.h.
12951         (BLK2): Likewise.
12952         (LEN): Likewise.
12953         (memcmp): Do not use BP_SYM.
12954         (bcmp): Do not use BP_SYM in weak_alias.
12955         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12956         (PARMS): Do not use macros from bp-asm.h.
12957         (S1): Likewise.
12958         (SIZE): Likewise.
12959         (__mpn_mul_1): Do not use BP_SYM.
12960         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12961         "bp-asm.h".
12962         (PARMS): Do not use macros from bp-asm.h.
12963         (STR): Likewise.
12964         (CHR): Likewise.
12965         (__rawmemchr): Do not use BP_SYM.
12966         (rawmemchr): Do not use BP_SYM in weak_alias.
12967         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12968         (PARMS): Do not use macros from bp-asm.h.
12969         (S): Likewise.
12970         (SIZE): Likewise.
12971         (__mpn_rshift): Do not use BP_SYM.
12972         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12973         (PARMS): Do not use macros from bp-asm.h.
12974         (SIGMSK): Likewise.
12975         (__sigsetjmp): Likewise.  Do not use BP_SYM.
12976         * sysdeps/i386/start.S: Do not include "bp-sym.h".
12977         (_start): Do not use BP_SYM.
12978         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12979         (PARMS): Do not use macros from bp-asm.h.
12980         (DEST): Likewise.
12981         (SRC): Likewise.
12982         (__stpcpy): Likewise.  Do not use BP_SYM.
12983         (stpcpy): Do not use BP_SYM in weak_alias.
12984         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12985         "bp-asm.h".
12986         (PARMS): Do not use macros from bp-asm.h.
12987         (DEST): Likewise.
12988         (SRC): Likewise.
12989         (LEN): Likewise.
12990         (__stpncpy): Likewise.  Do not use BP_SYM.
12991         (stpncpy): Do not use BP_SYM in weak_alias.
12992         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12993         (PARMS): Do not use macros from bp-asm.h.
12994         (STR): Likewise.
12995         (CHR): Likewise.
12996         (strchr): Likewise.  Do not use BP_SYM.
12997         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12998         "bp-asm.h".
12999         (PARMS): Do not use macros from bp-asm.h.
13000         (STR): Likewise.
13001         (CHR): Likewise.
13002         (__strchrnul): Likewise.  Do not use BP_SYM.
13003         (strchrnul): Do not use BP_SYM in weak_alias.
13004         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
13005         "bp-asm.h".
13006         (PARMS): Do not use macros from bp-asm.h.
13007         (STOP): Likewise.
13008         (strcspn): Do not use BP_SYM.
13009         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
13010         "bp-asm.h".
13011         (PARMS): Do not use macros from bp-asm.h.
13012         (STR): Likewise.
13013         (STOP): Likewise.
13014         (strpbrk): Likewise.  Do not use BP_SYM.
13015         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
13016         "bp-asm.h".
13017         (PARMS): Do not use macros from bp-asm.h.
13018         (STR): Likewise.
13019         (CHR): Likewise.
13020         (strrchr): Likewise.  Do not use BP_SYM.
13021         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
13022         (PARMS): Do not use macros from bp-asm.h.
13023         (SKIP): Likewise.
13024         (strspn): Do not use BP_SYM.
13025         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
13026         (PARMS): Do not use macros from bp-asm.h.
13027         (STR): Likewise.
13028         (DELIM): Likewise.
13029         (SAVE): Likewise.
13030         (FUNCTION): Likewise.  Do not use BP_SYM.
13031         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
13032         aliases.
13033         (strtok_r): Likewise.
13034         (__GI___strtok_r): Likewise.
13035         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
13036         (PARMS): Do not use macros from bp-asm.h.
13037         (S1): Likewise.
13038         (S2): Likewise.
13039         (SIZE): Likewise.
13040         (__mpn_sub_n): Do not use BP_SYM.
13041         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
13042         "bp-asm.h".
13043         (PARMS): Do not use macros from bp-asm.h.
13044         (S1): Likewise.
13045         (SIZE): Likewise.
13046         (__mpn_submul_1): Do not use BP_SYM.
13047         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
13048         <bp-sym.h>.
13049         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
13050         and <bp-asm.h>.
13051         (PARMS): Do not use macros from bp-asm.h.
13052         (FLAGS): Likewise.
13053         (PTID): Likewise.
13054         (TLS): Likewise.
13055         (CTID): Likewise.
13056         (__clone): Do not use BP_SYM.
13057         (clone): Do not use BP_SYM in weak_alias.
13058         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
13059         and <bp-asm.h>.
13060         (PARMS): Do not use macros from bp-asm.h.
13061         (LEN): Likewise.
13062         (__mmap64): Do not use BP_SYM.
13063         (mmap64): Do not use BP_SYM in weak_alias.
13064         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13065         <bp-sym.h> and <bp-asm.h>.
13066         (PARMS): Do not use macros from bp-asm.h.
13067         (__posix_fadvise64_l64): Do not use BP_SYM.
13068         * sysdeps/unix/sysv/linux/i386/semtimedop.S
13069         (PARMS): Do not use macros from bp-asm.h.
13070         (NSOPS): Likewise.
13071         (semtimedop): Do not use BP_SYM.
13072         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
13073         and <bp-asm.h>.
13075 2013-02-21  Allan McRae  <allan@archlinux.org>
13077         * manual/message.texi (Charset conversion in gettext):
13078         Move @end statement to beginning of line.
13080 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13082         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
13083         static.
13084         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13085         Likewise.
13087         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
13088         (denorm): Likewise.
13089         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
13090         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
13092 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13094         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
13095         tail-call to the resolved function if pltexit isn't needed.
13097 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13099         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
13100         or Y being zero as being unlikely.
13101         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
13102         Likewise.
13104 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
13106         * manual/nss.texi (System Databases and Name Service Switch):
13107         Remove frobnicate @pxref.
13109 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
13111         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13112         __attribute__ ((unused)) to __attribute__ ((__unused__)).
13114 2013-02-20  Petr Machata  <pmachata@redhat.com>
13116         * elf/elf.h (R_ARM_TARGET1): New macro.
13117         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
13118         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
13119         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
13120         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
13121         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
13122         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
13123         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
13124         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
13125         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
13126         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
13127         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
13128         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
13129         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
13130         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
13131         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
13132         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
13133         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
13134         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
13135         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
13136         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
13137         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
13138         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
13139         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
13140         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
13141         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
13142         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
13143         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
13144         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
13145         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
13146         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
13147         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
13148         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
13149         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
13150         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
13151         (R_ARM_THM_GOT_BREL12): Likewise.
13152         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
13153         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
13154         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
13155         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
13156         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
13157         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
13158         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
13159         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
13160         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
13162 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
13164         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13165         __attribute_used__ to __attribute__ ((unused)).
13167 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
13169         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
13170         powerpc mpa.c.
13171         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
13172         comment formatting.
13173         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
13175 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
13177         [BZ #13550]
13178         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
13179         Remove macro.
13180         (ENTER): Remove both macro definitions.
13181         (LEAVE): Likewise.
13182         (CHECK_BOUNDS_LOW): Likewise.
13183         (CHECK_BOUNDS_HIGH): Likewise.
13184         (CHECK_BOUNDS_BOTH): Likewise.
13185         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
13186         (RETURN_BOUNDED_POINTER): Likewise.
13187         (RETURN_NULL_BOUNDED_POINTER): Likewise.
13188         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
13189         (POP_ERRNO_LOCATION_RETURN): Likewise.
13190         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
13191         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13192         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
13193         macros.
13194         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13195         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
13196         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
13197         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
13198         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
13199         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
13200         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
13201         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
13202         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
13203         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
13204         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
13205         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
13206         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13207         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
13208         removed macros.
13209         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13210         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
13211         macros.
13212         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13213         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
13214         * sysdeps/i386/i586/memset.S (memset): Likewise.
13215         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
13216         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13217         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
13218         macros.
13219         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13220         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
13221         Change uses of L(2) to L(out).
13222         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
13223         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
13224         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
13225         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13226         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
13227         removed macros.
13228         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13229         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
13230         macros.
13231         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13232         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
13233         (RETURN): Do not use macro LEAVE.
13234         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
13235         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
13236         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
13237         * sysdeps/i386/i686/memset.S (memset): Likewise.
13238         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
13239         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
13240         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13241         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
13242         Likewise.
13243         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13244         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
13245         L(1_2) and L(1_3) into L(1).
13246         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13247         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
13248         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13249         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
13250         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13251         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
13252         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
13253         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13254         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
13255         macros.
13256         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
13257         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13258         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
13259         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
13260         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
13261         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13262         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
13263         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
13264         * sysdeps/i386/strcspn.S (strcspn): Likewise.
13265         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
13266         * sysdeps/i386/strrchr.S (strrchr): Likewise.
13267         * sysdeps/i386/strspn.S (strspn): Likewise.
13268         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
13269         conditional code.
13270         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13271         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
13272         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13273         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
13274         L(1_3) into L(1_1).
13275         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
13276         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13277         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
13278         macros.
13279         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13281 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
13283         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
13284         macro.
13286 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13288         * math/atest-exp.c (exp_mpn): Remove ROUND.
13289         * math/atest-exp2.c (exp_mpn): Likewise.
13290         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
13292         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
13293         * stdlib/tst-tls-atexit-lib.c: Likewise.
13294         * stdlib/tst-tls-atexit.c: Likewise.
13296 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
13298         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
13299         and __attribute_alloc_size__.
13301 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
13303         * include/programs/xmalloc.h: Change __attribute_alloc_size to
13304         __attribute_alloc_size__.
13305         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
13306         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
13308 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
13310         * include/programs/xmalloc.h: New file.
13311         * catgets/gencat.c: Include it.
13312         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
13313         * elf/pldd.c: Likewise.
13314         * iconv/iconv_charmap.c: Likewise.
13315         * iconv/iconvconfig.c: Likewise.
13316         * iconv/strtab.c: Likewise.
13317         * locale/programs/locale.c: Likewise.
13318         * locale/programs/localedef.h: Likewise.
13319         * locale/programs/simple-hash.c: Likewise.
13320         * nscd/nscd.h: Likewise.
13321         * nss/makedb.c: Likewise.
13322         * sysdeps/generic/ldconfig.h: Likewise.
13324 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13326         * Versions.def: Add GLIBC_2.18.
13327         * include/link.h (struct link_map): New member l_tls_dtor_count.
13328         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
13329         (__call_tls_dtors): Likewise.
13330         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
13331         __cxa_thread_atexit_impl.
13332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13333         Likewise.
13334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13335         Likewise.
13336         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13337         Likewise.
13338         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13339         Likewise.
13340         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13341         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
13342         Likewise.
13343         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
13344         Likewise.
13345         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13346         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13347         Likewise.
13348         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
13349         (tests): Add test case tst-tls-atexit.
13350         (modules-names): Add shared library for tst-tls-atexit.
13351         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
13352         (GLIBC_PRIVATE): Add __call_tls_dtors.
13353         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
13354         for libstdc++.
13355         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
13356         * stdlib/tst-tls-atexit.c: New test case.
13357         * stdlib/tst-tls-atexit-lib.c: New test case.
13359         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
13361         * elf/Versions (ld): Add _dl_find_dso_for_object.
13362         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
13363         * elf/dl-open.c (_dl_find_dso_for_object): New function.
13364         (dl_open_worker): Use _dl_find_dso_for_object.
13365         * elf/dl-sym.c (do_sym): Likewise.
13366         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
13368 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13370         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
13371         Syntactic changes only.
13372         (_dl_runtime_profile): Do a tail-call to the resolved function.
13374 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
13376         [BZ #13550]
13377         * sysdeps/x86_64/bp-asm.h: Remove file.
13378         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
13379         <bp-sym.h> and <bp-asm.h>.
13380         (__clone): Do not use BP_SYM.
13381         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
13382         <bp-sym.h> and <bp-asm.h>.
13383         * sysdeps/unix/x86_64/sysdep.S: Likewise.
13384         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
13385         "bp-asm.h".
13386         (_setjmp): Do not use BP_SYM.
13387         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
13388         "bp-asm.h".
13389         (setjmp): Do not use BP_SYM.
13390         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
13391         libc_hidden_def.
13392         (mempcpy): Do not use BP_SYM in weak_alias.
13393         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
13394         "bp-asm.h".
13395         (strchr): Do not use BP_SYM.
13396         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
13397         "bp-asm.h".
13398         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
13399         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
13400         (_start): Do not use BP_SYM.
13401         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
13402         "bp-asm.h".
13403         (strcat): Do not use BP_SYM.
13404         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
13405         "bp-asm.h".
13406         (STRCMP): Do not use BP_SYM.
13407         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
13408         "bp-asm.h".
13409         (STRCPY): Do not use BP_SYM.
13410         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
13411         "bp-asm.h".
13412         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
13413         "bp-asm.h".
13414         (FUNCTION): Do not use BP_SYM.
13415         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
13416         weak_alias.
13417         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
13419 2013-02-17  Andreas Jaeger  <aj@suse.de>
13421         * time/Versions: Sort entries.
13422         * string/Versions: Likewise.
13423         * resolv/Versions: Likewise.
13424         * posix/Versions: Likewise.
13425         * iconv/Versions: Likewise.
13426         * elf/Versions: Likewise.
13427         * wcsmbs/Versions: Likewise.
13429 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13431         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
13432         loop termination condition.
13434         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
13435         variable to calculate EZ.
13436         (__sqr): Likewise.
13438         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
13439         the lower precision input.
13441 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
13443         [BZ #13550]
13444         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
13445         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
13446         (run-via-rtld-prefix): Do not handle %-bp tests.
13447         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
13448         (all-object-suffixes): Remove .ob.
13449         (bppfx): Remove variable.
13450         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
13451         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
13452         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
13453         [$(build-bounded) = yes] (libtype.ob): Likewise.
13454         * Makerules (elide-routines.ob): Remove variable.
13455         (do-tests-clean): Do not handle *-bp.out.
13456         (common-mostlyclean): Do not handle *-bp and *-bp.out.
13457         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
13458         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
13459         (tests): Do not include $(tests-bp.out).
13460         (xtests): Do not include $(xtests-bp.out).
13461         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
13462         [$(build-bounded) = yes] ($(addprefix
13463         $(objpfx),$(binaries-bounded))): Remove rule.
13464         ($(objpfx)%-bp.out): Remove rule.
13465         * config.make.in (build-bounded): Remove variable.
13466         * crypt/Makefile [$(build-bounded) = yes]
13467         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
13468         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
13469         append to variable.
13470         [$(build-bounded) = yes] (install-lib): Likewise.
13471         [$(build-bounded) = yes] (generated): Likewise.
13472         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
13473         Remove rule.
13474         * intl/Makefile [$(build-bounded) = yes]
13475         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
13476         * math/Makefile [$(build-bounded) = yes]
13477         ($(tests:%=$(objpfx)%-bp): Likewise.
13478         * misc/Makefile [$(build-bounded) = yes]
13479         ($(objpfx)tst-tsearch-bp): Likewise.
13480         * nptl/Makeconfig (bounded-thread-library): Remove variable.
13481         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
13482         Remove dependency.
13483         * string/Makefile (o-objects.ob): Remove variable.
13484         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
13485         (CFLAGS-.ob): Remove variable.
13486         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
13487         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
13488         both definitions of variable.
13489         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
13490         (ASFLAGS-.ob): Remove variable.
13492 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
13494         [BZ #13550]
13495         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
13496         Remove __BOUNDED_POINTERS__ from condition.
13497         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
13498         * string/bits/string2.h [!__NO_STRING_INLINES &&
13499         !__BOUNDED_POINTERS__]: Likewise.
13500         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
13501         Likewise.
13502         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
13503         Remove conditional code.
13504         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
13505         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
13506         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
13507         condition.
13509         [BZ #13550]
13510         * csu/libc-start.c: Do not include <bp-sym.h>.
13511         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
13512         * elf/dl-open.c: Do not include <bp-sym.h>.
13513         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
13514         * math/fegetenv.c: Do not include <bp-sym.h>.
13515         (fegetenv): Do not use BP_SYM in versioned symbols.
13516         * nptl/sysdeps/pthread/bits/libc-lockP.h
13517         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
13518         <bp-sym.h>.
13519         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13520         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
13521         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13522         (__pthread_mutex_destroy): Likewise.
13523         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13524         (__pthread_mutex_lock): Likewise.
13525         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13526         (__pthread_mutex_trylock): Likewise.
13527         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13528         (__pthread_mutex_unlock): Likewise.
13529         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13530         (__pthread_mutexattr_init): Likewise.
13531         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13532         (__pthread_mutexattr_destroy): Likewise.
13533         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13534         (__pthread_mutexattr_settype): Likewise.
13535         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13536         (__pthread_rwlock_init): Likewise.
13537         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13538         (__pthread_rwlock_destroy): Likewise.
13539         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13540         (__pthread_rwlock_rdlock): Likewise.
13541         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13542         (__pthread_rwlock_tryrdlock): Likewise.
13543         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13544         (__pthread_rwlock_wrlock): Likewise.
13545         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13546         (__pthread_rwlock_trywrlock): Likewise.
13547         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13548         (__pthread_rwlock_unlock): Likewise.
13549         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13550         (__pthread_key_create): Likewise.
13551         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13552         (__pthread_setspecific): Likewise.
13553         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13554         (__pthread_getspecific): Likewise.
13555         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
13556         Likewise.
13557         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13558         (_pthread_cleanup_push_defer): Likewise.
13559         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13560         (_pthread_cleanup_pop_restore): Likewise.
13561         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13562         (pthread_setcancelstate): Likewise.
13563         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
13564         <bp-sym.h>.
13565         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
13566         (memchr): Do not use BP_SYM in weak_alias.
13567         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
13568         (fegetenv): Do not use BP_SYM in versioned symbols.
13569         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
13570         (fesetenv): Do not use BP_SYM in versioned symbols.
13571         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13572         (feupdateenv): Do not use BP_SYM in versioned symbols.
13573         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13574         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13575         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
13576         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
13577         (open64): Do not use BP_SYM in weak_alias.
13578         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
13579         (fegetenv): Do not use BP_SYM in versioned symbols.
13580         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
13581         (fesetenv): Do not use BP_SYM in versioned symbols.
13582         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13583         (feupdateenv): Do not use BP_SYM in versioned symbols.
13584         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
13585         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
13586         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
13587         (feraiseexcept): Do not use BP_SYM in versioned symbols.
13588         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13589         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13590         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
13591         <bp-sym.h>.
13592         (__libc_start_main): Do not use BP_SYM.
13594 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13596         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
13597         redundant return line.
13598         (norm): Likewise.
13599         (denorm): Likewise.
13600         (dbl_mp): Likewise.
13601         (sub_magnitudes): Likewise.
13602         (__add): Likewise.
13603         (__sub): Likewise.
13604         (__mul): Likewise.
13605         (__inv): Likewise.
13606         (__dvd): Likewise.
13607         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
13608         (norm): Likewise.
13609         (denorm): Likewise.
13610         (dbl_mp): Likewise.
13611         (sub_magnitudes): Likewise.
13612         (__add): Likewise.
13613         (__sub): Likewise.
13614         (__mul): Likewise.
13615         (__inv): Likewise.
13616         (__dvd): Likewise.
13618         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
13619         instead of __mul.
13620         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13621         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
13622         (cc32): Likewise.
13624         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
13625         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
13626         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
13627         of __mul for squares.
13628         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
13629         function
13630         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
13631         Likewise.
13632         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
13633         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13635 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
13637         [BZ #13550]
13638         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
13639         code.
13640         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
13641         prototype or function definition.  Rename ubp_* variables and
13642         parameters.  Remove argv definitions conditional on
13643         [__BOUNDED_POINTERS__].
13644         * debug/backtrace.c (__backtrace): Do not use __unbounded.
13645         * elf/dl-runtime.c (_dl_fixup): Likewise.
13646         * include/set-hooks.h (RUN_HOOK): Likewise.
13647         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
13648         definition.
13649         * string/strcpy.c (strcpy): Do not use __unbounded.
13650         * sysdeps/generic/frame.h (struct layout): Likewise.
13651         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
13652         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
13653         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
13654         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
13655         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
13656         (__backtrace): Likewise.
13657         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
13658         use __ptrvalue.
13659         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13660         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13661         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13662         Likewise.
13663         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
13664         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
13665         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13666         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13667         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
13668         Do not use __unbounded.
13669         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
13670         Rename __unboundedrlimits parameter to rlimits in prototype.
13671         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
13672         Do not use __unbounded.
13673         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
13674         not use __ptrvalue.
13675         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13676         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
13677         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13678         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
13679         __ptrvalue or __unbounded.
13680         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
13681         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
13682         use __unbounded.
13683         (__new_msgctl): Do not use __ptrvalue.
13684         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
13685         __unbounded.
13686         (__libc_msgrcv): Do not use __ptrvalue.
13687         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
13688         startup_info): Do not use __unbounded.
13689         (__libc_start_main): Likewise.  Rename ubp_* variables and
13690         parameters.  Remove argv definitions conditional on
13691         [__BOUNDED_POINTERS__].
13692         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
13693         __ptrvalue.
13694         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
13695         use __unbounded.
13696         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
13697         or __ptrvalue.
13698         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
13699         use __unbounded.
13700         (__new_shmctl): Do not use __ptrvalue.
13701         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13702         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13703         Likewise.
13704         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13705         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
13706         (__libc_sigaction): Likewise.
13707         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
13708         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
13709         Likewise.
13710         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13712 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
13714         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
13716         * string/mempcpy.c: Implement by calling memcpy.
13718 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
13720         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
13722         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
13723         evaluation.
13725         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
13726         values in the mantissa.
13728         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
13729         minimize writes to Z.
13730         (sub_magnitudes): Simplify code a bit.
13732 2013-02-12  Roland McGrath  <roland@hack.frob.com>
13734         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
13735         from the message.  The linker prefixes all warnings with that already.
13737 2013-02-12  Andreas Schwab  <schwab@suse.de>
13739         [BZ #15078]
13740         * posix/regexec.c (extend_buffers): Add parameter min_len.
13741         (check_matching): Pass minimum needed length.
13742         (clean_state_log_if_needed): Likewise.
13743         (get_subexp): Likewise.
13744         * posix/Makefile (tests): Add bug-regex34.
13745         (bug-regex34-ENV): Define.
13746         * posix/bug-regex34.c: New file.
13748         [BZ #11561]
13749         * posix/regcomp.c (parse_bracket_exp): When looking up collating
13750         elements compare against the byte sequence of it, not its name.
13751         * posix/Makefile (tests): Add bug-regex35.
13752         (bug-regex35-ENV): Define.
13753         * posix/bug-regex35.c: New file.
13755 2013-02-11  Tom de Vries  <tom@codesourcery.com>
13757         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
13758         comment.
13759         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
13760         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
13761         (CHECK_EOL): Add undef.
13763 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
13765         * bits/stdlib-bsearch.h: New file.
13766         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
13767         * stdlib/stdlib.h: Likewise.
13769 2013-02-11  Roland McGrath  <roland@hack.frob.com>
13771         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
13772         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
13773         declaration.
13774         * manual/search.texi (Array Search Function): Add missing const in
13775         lfind prototype.
13776         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13777         declaration to use rlim_t.
13778         (Basic Scheduling Functions): Remove erroneous const from
13779         sched_getparam prototype.  Remove erroneous * from
13780         sched_get_priority_max and sched_get_priority_min prototypes.
13781         (Resource Usage): Fix summary @comment on vtimes to refer to
13782         sys/vtimes.h rather than vtimes.h.
13783         Add missing *s in vtimes prototype.
13784         (Limits on Resources): Fix ulimit prototype to return long int.
13785         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13786         prototypes to use long int rather than double.
13787         (BSD Random): Fix initstate and setstate to use char *, not void *.
13788         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13789         prototype to make second argument 'struct aiocb64 *const[]'.
13790         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13791         (Status of AIO Operations): Remove erroneous const in aio_return and
13792         aio_return64 prototypes.
13793         (Synchronizing I/O): Fix sync prototype to return void.
13794         * manual/startup.texi (Suboptions): Remove an erroneous const in
13795         getsubopt prototype.
13796         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13797         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13798         use size_t rather than int.
13799         (Scanning All Users): Likewise for getpwent_r.
13800         (Setting Groups): Add missing const to setgroups prototype.
13801         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13802         * manual/socket.texi (Host Names): Fix gethostbyaddr and
13803         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13804         'const void *' rather than 'const char *'.
13805         (Host Address Functions): Likewise for inet_ntop.
13806         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13807         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13808         ssize_t for return value.
13809         (Sending Data): Likewise for send, sendto, sendmsg.
13810         (Socket Option Functions): Add a missing const in setsockopt prototype.
13811         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13812         use wchar_t for the argument.
13813         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13814         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13815         take no arguments.
13816         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13817         double/float/long double for second argument.
13818         Fix return types of significand, significandf, significandl.
13819         * manual/filesys.texi (Setting Permissions): Use mode_t for second
13820         argument in fchmod prototype.
13821         (File Owner): Use uid_t and gid_t in fchown prototype.
13822         (File Times): Add const to utimes, futimes, and lutimes prototypes.
13823         (Making Special Files): Use mode_t and dev_t in mknod prototype.
13824         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13825         use 'const struct dirent **' as argument types to CMP function pointer
13826         argument.
13827         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13828         (File Times): Fix summary magic @comment for struct utimbuf and utime
13829         to refer to utime.h, not time.h.
13830         * manual/string.texi (Argz Functions): Add missing const in
13831         argz_extract and argz_next prototypes.
13832         (Finding Tokens in a String): Likewise for basename.
13833         (String/Array Comparison): Fix typo in wcscasecmp prototype.
13834         (Copying and Concatenation): Fix typo in wmemmove prototype.
13835         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13836         (Signal Stack): Remove erroneous const in sigstack prototype.
13837         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13838         prototype.
13839         (Simple Calendar Time): Likewise for stime.
13840         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13841         prototype.
13842         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13843         say sys/sysctl.h instead.
13844         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13845         and vsyslog prototypes.
13847 2013-02-11  Tom de Vries  <tom@codesourcery.com>
13849         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13850         Remove.
13852 2013-02-11  Roland McGrath  <roland@hack.frob.com>
13854         * misc/sys/mman.h: Fix typo in mremap comment.
13856 2013-02-08  Roland McGrath  <roland@hack.frob.com>
13858         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13859         the '\0' terminator.
13861 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
13863         [BZ #13550]
13864         * debug/segfault.c: Don't include <bp-checks.h>.
13865         * sysdeps/generic/bp-checks.h: Remove file.
13866         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13867         (__GETDENTS): Don't use CHECK_N.
13868         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13869         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13870         (__getgroups): Don't use CHECK_N.
13871         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13872         (setgroups): Don't use CHECK_N.
13873         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13874         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13875         (__libc_msgrcv): Don't use CHECK_N.
13876         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13877         (__libc_msgsnd): Don't use CHECK_N.
13878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13879         <bp-checks.h>.
13880         (__libc_pread): Don't use CHECK_N.
13881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13882         include <bp-checks.h>.
13883         (__libc_pread64): Don't use CHECK_N.
13884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13885         include <bp-checks.h>.
13886         (__libc_pwrite): Don't use CHECK_N.
13887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13888         include <bp-checks.h>.
13889         (__libc_pwrite64): Don't use CHECK_N.
13890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13891         <bp-checks.h>.
13892         (__libc_pread): Don't use CHECK_N.
13893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13894         include <bp-checks.h>.
13895         (__libc_pread64): Don't use CHECK_N.
13896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13897         include <bp-checks.h>.
13898         (__libc_pwrite): Don't use CHECK_N.
13899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13900         include <bp-checks.h>.
13901         (__libc_pwrite64): Don't use CHECK_N.
13902         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13903         (do_pread): Don't use CHECK_N.
13904         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13905         (do_pread64): Don't use CHECK_N.
13906         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13907         (do_pwrite): Don't use CHECK_N.
13908         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13909         (do_pwrite64): Don't use CHECK_N.
13910         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13911         (__libc_readv): Don't use CHECK_N.
13912         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13913         (semop): Don't use CHECK_N.
13914         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13915         <bp-checks.h>.
13916         (semtimedop): Don't use CHECK_N.
13917         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13918         (__libc_pread): Don't use CHECK_N.
13919         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13920         <bp-checks.h>.
13921         (__libc_pread64): Don't use CHECK_N.
13922         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13923         <bp-checks.h>.
13924         (__libc_pwrite): Don't use CHECK_N.
13925         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13926         <bp-checks.h>.
13927         (__libc_pwrite64): Don't use CHECK_N.
13928         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13929         <bp-checks.h>.
13930         (__libc_msgrcv): Don't use CHECK_N.
13931         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13932         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
13933         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13934         (__libc_writev): Don't use CHECK_N.
13936 2013-02-08  Roland McGrath  <roland@hack.frob.com>
13938         * string/strcpy.c: Removed unused variable.
13940         * Makeconfig (+sysdep-includes): Define with := rather than =.
13941         Use an existing include/ subdir of each sysdeps dir before it.
13943 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13945         * nscd/connection.c (register_traced_file): Comment function.
13946         [HAVE_INOTIFY] (union __inev): Define.
13947         [HAVE_INOTIFY] (inotify_check_files): New function.
13948         [HAVE_INOTIFY] (clear_db_cache): Likewise.
13949         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13950         clear_db_cache.
13951         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13953 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13955         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13956         loaded if not already and that a failure is permanent.
13958 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13960         [BZ #15006]
13961         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13962         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13964 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
13966         [BZ #13550]
13967         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13968         (CHECK_1_NULL_OK): Likewise.
13969         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13970         (__fxstat): Do not use CHECK_1.
13971         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13972         <bp-checks.h>.
13973         (___fxstat64): Do not use CHECK_1.
13974         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13975         <bp-checks.h>.
13976         (__fxstatat): Do not use CHECK_1.
13977         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13978         <bp-checks.h>.
13979         (__fxstatat64): Do not use CHECK_1.
13980         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13981         <bp-checks.h>.
13982         (__fxstat): Do not use CHECK_1.
13983         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13984         <bp-checks.h>.
13985         (__fxstatat): Do not use CHECK_1.
13986         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13987         <bp-checks.h>.
13988         (__getresgid): Do not use CHECK_1.
13989         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13990         <bp-checks.h>.
13991         (__getresuid): Do not use CHECK_1.
13992         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13993         <bp-checks.h>.
13994         (__lxstat): Do not use CHECK_1.
13995         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13996         <bp-checks.h>.
13997         (__old_msgctl): Do not use CHECK_1.
13998         (__new_msgctl): Likewise.
13999         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
14000         <bp-checks.h>.
14001         (__new_setrlimit): Do not use CHECK_1.
14002         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
14003         <bp-checks.h>.
14004         (__old_shmctl): Do not use CHECK_1.
14005         (__new_shmctl): Likewise.
14006         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
14007         <bp-checks.h>.
14008         (__xstat): Do not use CHECK_1.
14009         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
14010         (__lxstat): Do not use CHECK_1.
14011         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
14012         <bp-checks.h>.
14013         (___lxstat64): Do not use CHECK_1.
14014         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
14015         (__old_msgctl): Do not use CHECK_1.
14016         (__new_msgctl): Likewise.
14017         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
14018         <bp-checks.h>.
14019         (__gettimeofday): Do not use CHECK_1.
14020         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
14021         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
14022         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
14023         <bp-checks.h>.
14024         (__gettimeofday): Do not use CHECK_1.
14025         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
14026         (__old_shmctl): Do not use CHECK_1_NULL_OK.
14027         (__new_shmctl): Do not use CHECK_1.
14028         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
14029         <bp-checks.h>.
14030         (do_sigtimedwait): Do not use CHECK_1.
14031         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
14032         <bp-checks.h>.
14033         (do_sigwaitinfo): Do not use CHECK_1.
14034         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
14035         <bp-checks.h>.
14036         (msgctl): Do not use CHECK_1.
14037         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
14038         <bp-checks.h>.
14039         (shmctl): Do not use CHECK_1.
14040         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
14041         (ustat): Do not use CHECK_1.
14042         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
14043         <bp-checks.h>.
14044         (__fxstat): Do not use CHECK_1.
14045         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
14046         <bp-checks.h>.
14047         (__fxstatat): Do not use CHECK_1.
14048         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
14049         <bp-checks.h>.
14050         (__lxstat): Do not use CHECK_1.
14051         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
14052         <bp-checks.h>.
14053         (__xstat): Do not use CHECK_1.
14054         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
14055         (__xstat): Do not use CHECK_1.
14056         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
14057         (___xstat64): Do not use CHECK_1.
14059         [BZ #13550]
14060         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
14061         definitions.
14062         (CHECK_BOUNDS_HIGH): Likewise.
14063         * string/strcpy.c: Do not include <bp-checks.h>.
14064         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
14066 2013-02-07  Roland McGrath  <roland@hack.frob.com>
14068         * nscd/nscd-client.h (__nscd_drop_map_ref):
14069         Add __attribute__ ((unused)).
14070         * nis/nss-nisplus.h (niserr2nss): Likewise.
14072         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
14073         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
14075         * csu/libc-tls.c (init_static_tls, init_slotinfo):
14076         Remove inline keyword.
14077         * include/rounding-mode.h (round_away): Likewise.
14078         * libio/wfileops.c (adjust_wide_data): Likewise.
14079         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
14080         (__m128i_strloadu_tolower): Likewise.
14081         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
14082         (__m128i_strloadu_tolower): Likewise.
14083         * time/mktime.c (ydhms_diff): Likewise.
14084         * locale/elem-hash.h (elem_hash): Likewise.
14085         * locale/setlocale.c (setdata): Likewise.
14086         * posix/regex_internal.h (re_string_char_size_at): Likewise.
14087         (re_string_wchar_at): Likewise.
14088         (bitset_not, bitset_merge, bitset_mask): Likewise.
14089         [!(__GNUC__ > 3)] (inline): Remove macro.
14090         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
14091         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
14092         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
14093         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
14094         * string/memcmp.c (memcmp_bytes): Likewise.
14095         * locale/programs/locarchive.c (compute_hashval): Likewise.
14096         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
14097         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
14098         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
14099         * nss/getent.c (print_rpc, print_protocols): Likewise.
14100         (print_passwd, print_group, print_aliases): Likewise.
14101         * nis/nss-nisplus.h (niserr2nss): Likewise.
14102         * nscd/connections.c (restart_p): Likewise.
14103         Change return type to bool.
14105 2013-02-05  Roland McGrath  <roland@hack.frob.com>
14107         * Makeconfig (all-Depend-files): Add existing
14108         $(sorted-subdirs:=/Depend) files.
14109         (all-subdirs): Remove nss.
14110         * sysdeps/unix/inet/Subdirs: Add it here instead.
14111         * hesiod/Depend: New file.
14113         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
14114         instead of calling alloca.
14116         * io/lseek.c (__lseek): Rename to __libc_lseek.
14117         Define __lseek as an alias.
14119         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
14121 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
14123         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
14124         else clause and remove check for non-standard endianness.
14126 2013-02-04  David S. Miller  <davem@davemloft.net>
14128         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14130 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
14132         [BZ #13550]
14133         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
14134         (__ubp_memchr): Remove prototype.
14135         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
14136         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14137         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
14138         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14139         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
14140         Remove alias.
14141         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
14142         (__ubp_memchr): Likewise.
14143         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
14144         (__ubp_memchr): Likewise.
14145         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
14146         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
14147         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
14148         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
14149         CHECK_STRING.
14150         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14151         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
14152         (__getcwd): Do not use CHECK_STRING.
14153         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
14154         <bp-checks.h>.
14155         (__real_chown): Do not use CHECK_STRING.
14156         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
14157         <bp-checks.h>.
14158         (fchownat): Do not use CHECK_STRING.
14159         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
14160         CHECK_STRING.
14161         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
14162         <bp-checks.h>.
14163         (__lchown): Do not use CHECK_STRING.
14164         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14165         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14166         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14167         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
14169         include <bp-checks.h>.
14170         (truncate64): Do not use CHECK_STRING.
14171         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
14172         <bp-checks.h>.
14173         (__real_chown): Do not use CHECK_STRING.
14174         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
14175         <bp-checks.h>.
14176         (__lchown): Do not use CHECK_STRING.
14177         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
14178         <bp-checks.h>.
14179         (__chown): Do not use CHECK_STRING.
14180         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
14181         <bp-checks.h>.
14182         (truncate64): Do not use CHECK_STRING.
14183         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
14184         Likewise.
14185         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
14186         (__xmknod): Do not use CHECK_STRING.
14187         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
14188         <bp-checks.h>.
14189         (__xmknodat): Do not use CHECK_STRING.
14190         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14191         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
14193 2013-02-04  Andreas Schwab  <schwab@suse.de>
14195         [BZ #14142]
14196         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
14197         * include/netdb.h: Likewise for h_errno.
14198         * elf/tst-stackguard1.c: Include <tls.h>.
14200 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
14202         * elf/link.h (struct link_map): Extend the l_addr comment.
14203         * include/link.h (struct link_map): Likewise.
14205 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
14207         [BZ #13550]
14208         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
14209         (BOUNDED_1): Remove macro.
14210         * debug/backtrace.c: Don't include <bp-checks.h>.
14211         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
14212         (__backtrace): Likewise.
14213         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
14214         <bp-checks.h>.
14215         (__backtrace): Don't use BOUNDED_1.
14216         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
14217         <bp-checks.h>.
14218         (__backtrace): Don't use BOUNDED_1.
14219         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
14220         (__backtrace): Don't use BOUNDED_1.
14221         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
14222         (shmat): Don't use BOUNDED_N.
14224 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
14226         [BZ #13550]
14227         * sysdeps/generic/bp-start.h: Remove file.
14228         * csu/libc-start.c: Don't include <bp-start.h>.
14229         (LIBC_START_MAIN): Set up __environ directly instead of using
14230         INIT_ARGV_and_ENVIRON.
14231         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
14232         <bp-start.h>.
14234         [BZ #13550]
14235         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
14236         definitions.
14237         (CHECK_FCNTL): Likewise.
14238         (CHECK_N_PAGES): Likewise.
14240         [BZ #13550]
14241         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
14242         definitions.
14243         (CHECK_SIGSET_NULL_OK): Likewise.
14244         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
14245         <bp-checks.h>.
14246         (sigpending): Don't use CHECK_SIGSET.
14247         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
14248         <bp-checks.h>.
14249         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14250         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
14251         <bp-checks.h>.
14252         (do_sigsuspend): Don't use CHECK_SIGSET.
14253         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
14254         use CHECK_SIGSET.
14255         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
14256         (do_sigwait): Don't use CHECK_SIGSET.
14257         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
14258         use CHECK_SIGSET.
14259         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
14260         include <bp-checks.h>.
14261         (sigpending): Don't use CHECK_SIGSET.
14262         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
14263         include <bp-checks.h>.
14264         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14265         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
14266         <bp-checks.h>.
14267         (sigpending): Don't use CHECK_SIGSET.
14268         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
14269         <bp-checks.h>.
14270         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14272         [BZ #13550]
14273         * sysdeps/generic/bp-semctl.h: Remove file.
14274         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
14275         <bp-checks.h> and <bp-semctl.h>.
14276         (__old_semctl): Don't use CHECK_SEMCTL.
14277         (__new_semctl): Likewise.
14278         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
14279         and <bp-semctl.h>.
14280         (__old_semctl): Don't use CHECK_SEMCTL.
14281         (__new_semctl): Likewise.
14282         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
14283         <bp-checks.h> and <bp-semctl.h>.
14284         (__old_semctl): Don't use CHECK_SEMCTL.
14285         (__new_semctl): Likewise.
14286         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
14287         <bp-checks.h> and <bp-semctl.h>.
14288         (semctl): Don't use CHECK_SEMCTL.
14290         [BZ #13550]
14291         * Makerules (elide-bp-thunks): Remove variable.
14292         (elide-routines.oS): Don't use $(elide-bp-thunks).
14293         (elide-routines.os): Likewise.
14294         (elide-routines.o): Likewise.
14295         (elide-routines.op): Likewise.
14296         (elide-routines.og): Likewise.
14297         (objects): Don't use $(bp-thunks).
14298         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
14299         include.
14300         (common-generated): Do not add s-proto-bp.d.
14301         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
14302         (int): Likewise.
14303         (typ): Likewise.
14304         Do not generate makefile rules for bounded-pointer thunks.
14305         * sysdeps/generic/bp-thunks.h: Remove file.
14306         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
14307         * sysdeps/unix/s-proto-bp.S: Likewise.
14309         [BZ #15062]
14310         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
14311         parts of result separately when argument is not close to line from
14312         -i to i and one part of argument is small.
14313         * math/k_casinhf.c (__kernel_casinhf): Likewise.
14314         * math/k_casinhl.c (__kernel_casinhl): Likewise.
14315         * math/libm-test.inc (cacos_test): Add more tests.
14316         (casin_test): Likewise.
14317         (casinh_test): Likewise.
14318         * sysdeps/i386/fpu/libm-test-ulps: Update.
14319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14321 2013-01-31  David S. Miller  <davem@davemloft.net>
14323         * po/de.po: Update from translation team.
14325 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
14327         * time/tzfile.c: Include stdint.h for SIZE_MAX.
14329 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
14331         * configure.in (_AC_PROG_CC_C89): New definition.
14332         * configure: Regenerate.
14334         * configure.in (AC_PROG_CPP): New definition.
14335         * configure: Regenerate.
14337 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
14339         * debug/tst-backtrace.h: New file.
14340         * debug/tst-backtrace2.c: Include tst-backtrace.h.
14341         (ret): Remove variable.
14342         (x): Likewise.
14343         (FAIL): Remove macro.
14344         (NO_INLINE): Likewise.
14345         (fn1): Use match function instead of strstr.
14346         * debug/tst-backtrace3.c: Include tst-backtrace.h.
14347         (ret): Remove variable.
14348         (x): Likewise.
14349         (FAIL): Remove macro.
14350         (NO_INLINE): Likewise.
14351         (fn): Use match function instead of strstr.
14352         * debug/tst-backtrace4.c: Include tst-backtrace.h.
14353         (ret): Remove variable.
14354         (x): Likewise.
14355         (FAIL): Remove macro.
14356         (NO_INLINE): Likewise.
14357         (handle_signal): Use match function instead of strstr.
14358         * debug/tst-backtrace5.c: Include tst-backtrace.h.
14359         (ret): Remove variable.
14360         (x): Likewise.
14361         (FAIL): Remove macro.
14362         (NO_INLINE): Likewise.
14363         (handle_signal): Use match function instead of strstr.
14365 2013-01-23  Roland McGrath  <roland@hack.frob.com>
14367         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
14369 2013-01-23  David S. Miller  <davem@davemloft.net>
14371         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
14372         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
14373         argument of CAS if possible.
14374         * sysdeps/sparc/sparc64/bits/atomic.h
14375         (__arch_compare_and_exchange_val_32_acq): Likewise.
14376         (__arch_compare_and_exchange_val_64_acq): Likewise.
14378 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
14380         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
14381         * sysdeps/posix/ulimit.c: ... this.
14382         Include <limits.h>.
14383         * sysdeps/unix/bsd/ulimit.c: Remove file.
14385 2013-01-23  Adam Conrad  <adconrad@0c3.net>
14387         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
14388         (LDFLAGS-tst-array5): Likewise.
14390 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
14392         [BZ #15036]
14393         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
14394         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
14395         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
14396         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
14398 2013-01-21  David S. Miller  <davem@davemloft.net>
14400         * sysdeps/sparc/backtrace.c: New file.
14401         * sysdeps/sparc/sparc32/backtrace.h: New file.
14402         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
14403         * sysdeps/sparc/sparc64/backtrace.h: New file.
14404         * sysdeps/sparc/sparc64/backtrace.c: Delete.
14405         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
14406         -funwind-tables.
14408 2013-01-21  Andreas Schwab  <schwab@suse.de>
14410         [BZ #15020]
14411         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
14412         closed its stdout.
14414 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
14416         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
14417         "mpa2.h".
14418         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14420 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
14421             Mark Mitchell  <mark@codesourcery.com>
14422             Tom de Vries  <tom@codesourcery.com>
14423             Paul Pluzhnikov  <ppluzhnikov@google.com>
14425         * debug/tst-backtrace2.c: New file.
14426         * debug/tst-backtrace3.c: Likewise.
14427         * debug/tst-backtrace4.c: Likewise.
14428         * debug/tst-backtrace5.c: Likewise.
14429         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
14430         (CFLAGS-tst-backtrace3.c): Likewise.
14431         (CFLAGS-tst-backtrace4.c): Likewise.
14432         (CFLAGS-tst-backtrace5.c): Likewise.
14433         (LDFLAGS-tst-backtrace2): Likewise.
14434         (LDFLAGS-tst-backtrace3): Likewise.
14435         (LDFLAGS-tst-backtrace4): Likewise.
14436         (LDFLAGS-tst-backtrace5): Likewise.
14437         (tests): Add new tests tst-backtrace2, tst-backtrace3,
14438         tst-backtrace4 and tst-backtrace5.
14440 2013-01-18  Anton Blanchard  <anton@samba.org>
14441             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14443         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
14444         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
14445         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
14446         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
14447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14448         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
14449         "+r" and remove output regs list as redundant.  Add explicit inline
14450         asm to specify register of return val to work around compiler codegen
14451         bug.  Remove (int) cast on return value.  Add return type parameter to
14452         use in macro so that this macro does not truncate return value for
14453         64-bit values.
14454         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
14455         pass to INTERNAL_VSYSCALL_NCS.
14456         (INLINE_VSYSCALL): Add 'long int' as return type to
14457         INTERNAL_VSYSCALL_NCS macro invocation.
14458         (INTERNAL_VSYSCALL): Add 'long int' as return type to
14459         INTERNAL_VSYSCALL_NCS macro invocation.
14460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14462 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14464         [BZ #14496]
14465         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
14466         Fix application of SIMD FP exception mask.
14468         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
14469         mp_no from a power of two.
14470         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
14471         __mpexp_twomm1.  Use __pow_mp.
14473         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
14474         multiplication.
14476 2013-01-17  David S. Miller  <davem@davemloft.net>
14478         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14480 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
14482         [BZ #15023]
14483         * include/complex.h: Condition contents on [!_COMPLEX_H].
14484         (__kernel_casinhf): New prototype.
14485         (__kernel_casinh): Likewise.
14486         (__kernel_casinhl): Likewise.
14487         * math/Makefile (libm_calls): Add k_casinh.
14488         * math/k_casinh.c: New file.
14489         * math/k_casinhf.c: Likewise.
14490         * math/k_casinhl.c: Likewise.
14491         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
14492         finite nonzero arguments.
14493         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
14494         finite nonzero arguments.
14495         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
14496         finite nonzero arguments.
14497         * math/s_casinh.c: Do not include <float.h>.
14498         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
14499         * math/s_casinhf.c: Do not include <float.h>.
14500         (__casinhf): Move code for finite nonzero arguments to
14501         k_casinhf.c.
14502         * math/s_casinhl.c: Do not include <float.h>.
14503         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
14504         redefine.
14505         (__casinhl): Move code for finite nonzero arguments to
14506         k_casinhl.c.
14507         * math/libm-test.inc (cacos_test): Add more tests.
14508         * sysdeps/i386/fpu/libm-test-ulps: Update.
14509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14511 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
14513         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
14514         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
14515         [!HAVE_MREMAP]: Remove [defined linux] case.
14516         * malloc/arena.c: Do not include <malloc-sysdep.h>.
14518 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
14520         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
14522 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
14524         * elf/elf.h (R_386_SIZE32): New relocation.
14525         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
14526         R_386_SIZE32.
14527         (elf_machine_rela): Likewise.
14528         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14529         R_X86_64_SIZE64 and R_X86_64_SIZE32.
14531 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
14533         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
14534         (FP_FAST_FMA): Do not define.
14535         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
14536         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
14537         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
14538         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
14539         !_SOFT_FLOAT]: Likewise.
14540         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
14541         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
14542         value.
14543         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
14544         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
14545         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
14546         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
14547         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
14548         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
14549         file.
14551 2013-01-16  Andreas Schwab  <schwab@suse.de>
14553         [BZ #14327]
14554         * include/stdlib.h (__mktemp): Add declaration.
14555         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
14556         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
14558 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14560         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
14561         definitions.
14562         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14563         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
14564         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
14565         definitions here.
14566         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
14567         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
14568         definitions.
14569         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
14570         and ONE.
14571         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
14572         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
14573         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
14574         definitions.
14575         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
14576         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
14577         definitions.
14578         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14580         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
14582 2013-01-15  David S. Miller  <davem@davemloft.net>
14584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14585         trunc{,f} to libm-sysdep_routes.
14586         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
14588         file.
14589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
14590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
14591         file.
14592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
14593         file.
14594         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
14595         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
14596         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
14597         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
14598         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
14599         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
14600         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
14601         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
14603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14604         nearbyint{,f} to libm-sysdep_routes.
14605         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
14607         New file.
14608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
14609         file.
14610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
14611         New file.
14612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
14613         file.
14614         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
14615         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
14616         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
14617         file.
14618         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
14619         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
14620         file.
14621         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
14622         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
14623         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
14625         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14626         libc_feholdexcept and libc_fesetenv.
14628 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
14630         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
14632 2013-01-14  David S. Miller  <davem@davemloft.net>
14634         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
14635         (SPARC_ASM_VIS2_IFUNC): Likewise.
14636         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
14637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
14638         use of 'siam' instruction.
14639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
14640         Likewise.
14641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
14642         Likewise.
14643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
14644         Likewise.
14645         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14646         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14647         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14648         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
14650         file.
14651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
14652         file.
14653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
14654         file.
14655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
14656         file.
14657         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
14658         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
14659         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
14660         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
14661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
14662         new VIS2 routines.
14663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14666         Likewise.
14667         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14668         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14669         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14670         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
14672         routines to libm-sysdep_routines.
14673         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14676         fdim/fdimf to libm-sysdep_routines.
14677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
14678         file.
14679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
14680         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
14681         file.
14682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
14683         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
14684         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
14685         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
14686         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
14687         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
14688         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
14690 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14692         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
14693         to optimize copies.
14695         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
14696         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14697         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14699         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
14700         local variable MPTWO.
14701         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14702         Likewise.
14704 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
14706         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
14707         GLOB_NOESCAPE.
14709 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
14711         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
14713 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
14715         * manual/pattern.texi (glob_t): Document gl_flags.
14716         (glob64_t): Likewise.
14718 2013-01-11  David S. Miller  <davem@davemloft.net>
14720         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
14721         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
14722         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
14723         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
14724         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
14725         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
14726         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
14727         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
14728         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
14729         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
14730         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
14731         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
14732         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
14734         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14735         sparc V9 rather than using V8 code.
14736         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14737         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14739         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14740         Move to...
14741         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
14742         Here.
14744 2013-01-11  Roland McGrath  <roland@hack.frob.com>
14746         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
14747         not in the main loop.
14748         * configure: Regenerated.
14750 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
14752         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
14753         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
14754         to just #else.
14755         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
14756         [!__GLIBC_HAVE_LONG_LONG] case.
14757         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
14758         condition to just #else.
14759         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
14760         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
14761         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
14762         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
14763         unconditional.
14764         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
14765         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14766         #elif condition to just #else.
14767         * sysdeps/unix/sysv/linux/sys/sysmacros.h
14768         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
14769         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14770         #elif condition to just #else.
14772 2013-01-11  Steve Ellcey  <sellcey@mips.com>
14774         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14775         (EF_MIPS_ARCH_64): Fix value.
14776         (EF_MIPS_ARCH_32R2): New.
14777         (EF_MIPS_ARCH_64R2): New.
14779 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
14781         * Makeconfig (+link-pie-before-libc): New.
14782         (+link-pie-after-libc): Likewise.
14783         (+link-pie-tests): Likewise.
14784         (+link-pie): Rewritten.
14785         (link-before-libc): Remove $(config-LDFLAGS).
14786         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14787         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14788         (config-LDFLAGS): Renamed to ...
14789         (rtld-LDFLAGS): This.
14790         (rtld-tests-LDFLAGS): New macro.
14791         (link-libc-rpath-link): Likewise.
14792         (link-libc-tests-rpath-link): Likewise.
14793         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14794         (link-libc): Prepand $(link-libc-rpath-link).
14795         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14796         (test-program-prefix): New macro.
14797         (test-via-rtld-prefix): Likewise.
14798         (test-program-cmd): Likewise.
14799         (host-test-program-cmd): Likewise.
14800         * Makefile ($(common-objpfx)testrun.sh): Replace
14801         $(run-program-prefix) with $(test-program-prefix).
14802         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14803         $(rtld-LDFLAGS).
14804         ($(common-objpfx)shlib.lds): Likewise.
14805         (build-module-helper): Likewise.
14806         ($(common-objpfx)format.lds): Likewise.
14807         * Rules (binaries-pie-tests): New.
14808         (binaries-pie-notests): Likewise.
14809         (binaries-pie): Rewritten.
14810         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14811         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14812         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14813         (make-test-out): Replace $(host-built-program-cmd) with
14814         $(host-test-program-cmd).
14815         * config.make.in (build-hardcoded-path-in-tests): New variable.
14816         * configure.in (--enable-hardcoded-path-in-tests): New configure
14817         option.
14818         (hardcoded_path_in_tests): New AC_SUBST.
14819         * configure: Regenerated.
14820         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14821         $(built-program-cmd) with $(test-program-cmd).
14822         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14823         (test_program_cmd): This.
14824         * elf/Makefile ($(objpfx)order.out): Run test with
14825         $(test-program-prefix).
14826         ($(objpfx)order2.out): Likewise.
14827         ($(objpfx)tst-initorder.out): Likewise.
14828         ($(objpfx)tst-initorder2.out): Likewise.
14829         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14830         $(test-program-cmd).
14831         ($(objpfx)tst-array1-static.out): Likewise.
14832         ($(objpfx)tst-array2.out): Likewise.
14833         ($(objpfx)tst-array3.out): Likewise.
14834         ($(objpfx)tst-array4.out): Likewise.
14835         ($(objpfx)tst-array5.out): Likewise.
14836         ($(objpfx)tst-array5-static.out): Likewise.
14837         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14838         $(test-program-cmd).
14839         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14840         $(run-program-prefix) with $(test-program-prefix).
14841         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14842         (test_program_prefix): This.
14843         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14844         $(run-program-prefix) with $(test-program-prefix).
14845         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14846         (test_program_prefix): This.
14847         * iconvdata/tst-tables.sh: Likewise.
14848         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14849         $(run-program-prefix) with $(test-program-prefix).
14850         ($(objpfx)tst-translit.out): Likewise.
14851         ($(objpfx)tst-gettext2.out): Likewise.
14852         ($(objpfx)tst-gettext4.out): Likewise.
14853         ($(objpfx)tst-gettext6.out): Likewise.
14854         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14855         (test_program_prefix): This.
14856         * intl/tst-gettext2.sh: Likewise.
14857         * intl/tst-gettext4.sh  Likewise.
14858         * intl/tst-gettext6.sh: Likewise.
14859         * intl/tst-translit.sh: Likewise.
14860         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14861         with $(test-program-cmd).
14862         * libio/Makefile ($(objpfx)test-freopen.out): Replace
14863         $(run-program-prefix) with $(test-program-prefix).
14864         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14865         (test_program_prefix): This.
14866         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14867         $(run-program-prefix) with $(test-program-prefix).
14868         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14869         (test_program_prefix): This.
14870         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14871         * posix/Makefile ($(objpfx)globtest.out): Replace
14872         $(run-via-rtld-prefix) and $(test-wrapper) with
14873         $(test-program-prefix) and $(test-via-rtld-prefix).
14874         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14875         $(test-program-prefix).
14876         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14877         $(host-test-program-cmd).
14878         (tst-spawn-ARGS): Likewise.
14879         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14880         $(test-program-prefix).
14881         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14882         (test_via_rtld_prefix): This.
14883         (test_wrapper): Renamed to ...
14884         (test_program_prefix): This.
14885         (run_program_prefix): Replaced by test_program_prefix.
14886         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14887         (test_program_prefix): This.
14888         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14889         with $(host-test-program-cmd).
14890         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14891         $(run-program-prefix) with $(test-program-prefix).
14892         ($(objpfx)tst-printf.out): Likewise.
14893         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14894         $(test-program-cmd).
14895         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14896         (test_program_prefix): This.
14897         * stdio-common/tst-unbputc.sh: Likewise.
14898         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14899         $(run-program-prefix) with $(test-program-prefix).
14900         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14901         (test_program_prefix): This.
14902         * string/Makefile ($(objpfx)tst-svc.out):  Replace
14903         $(built-program-cmd) with $(test-program-cmd).
14905 2013-01-11  Andreas Jaeger  <aj@suse.de>
14907         [BZ #15003]
14908         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14909         value. Sync with Linux 3.7.
14911 2013-01-10  David S. Miller  <davem@davemloft.net>
14913         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14914         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14915         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14917 2013-01-10  Roland McGrath  <roland@hack.frob.com>
14919         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14920         never set.
14921         * configure: Regenerated.
14923 2013-01-10  David S. Miller  <davem@davemloft.net>
14925         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14926         sparc V9 rather than using V8 code.
14927         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14928         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14930 2013-01-10  Roland McGrath  <roland@hack.frob.com>
14932         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14933         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14934         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14935         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14936         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14937         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14938         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14939         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14940         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14941         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14942         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14943         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14944         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14945         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14946         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14947         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14948         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14949         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14950         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14951         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14952         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14953         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14954         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14955         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14956         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14957         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14958         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14960 2013-01-10  David S. Miller  <davem@davemloft.net>
14962         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14964 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
14966         * posix/Makefile (tests-static): New variable.
14967         (tests): Add $(tests-static).
14968         (tst-exec-static-ARGS): New variable.
14969         (tst-spawn-static-ARGS): Likewise.
14970         * posix/tst-exec-static.c: New file.
14971         * posix/tst-spawn-static.c: Likewise.
14972         * posix/tst-exec.c: Support run directly.
14973         * posix/tst-spawn.c: Likewise.
14975 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
14977         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14978         long.
14979         * math/bits/mathcalls.h (llrint): Likewise.
14980         (llround): Likewise.
14981         * stdlib/stdlib.h (struct drand48_data): Likewise.
14982         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14983         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14984         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14985         Likewise.
14986         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14987         Likewise.
14988         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14989         (elf_greg_t): Likewise.
14990         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14991         (__jmp_buf): Likewise.
14992         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14993         definitions.
14994         (llrint): Likewise, for all definitions.
14995         (llrintl): Likewise.
14997         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14998         Remove [__GNUC__] condition.
14999         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
15000         condition to just [__USE_ISOC99].
15001         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
15003 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
15005         [BZ #14200]
15006         * sysdeps/unix/sysv/linux/x86/bits/environments.h
15007         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
15008         defined.
15009         (_POSIX_V6_ILP32_OFF32): Likewise.
15010         (_XBS5_ILP32_OFF32): Likewise.
15011         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
15012         (__ILP32_OFFBIG_LDFLAGS): Likewise.
15014 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15016         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
15018         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
15019         doubles __mpexp_twomm1.  Adjust usage.
15020         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
15021         Remove.
15023 2013-01-10  Andreas Schwab  <schwab@suse.de>
15025         [BZ #14964]
15026         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
15027         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
15029 2013-01-09  David S. Miller  <davem@davemloft.net>
15031         [BZ #15003]
15032         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
15033         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
15034         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
15035         TCP_FASTOPEN): Define.
15036         (tcp_repair_opt): New structure.
15037         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
15038         enum values.
15039         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
15040         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
15041         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
15042         (tcp_cookie_transactions): New structure.
15044 2013-01-09  Anton Blanchard  <anton@samba.org>
15046         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
15047         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
15048         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
15049         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
15051 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
15053         * include/features.h (__USE_ANSI): Remove.
15055 2013-01-09  Roland McGrath  <roland@hack.frob.com>
15057         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
15059         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
15061 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
15063         * sysdeps/s390/fpu/libm-test-ulps: Update.
15065         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15067         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
15068         (__acr): Likewise.
15069         (__cpy): Likewise.
15070         (norm): Likewise.
15071         (denorm): Likewise.
15072         (__mp_dbl): Likewise.
15073         (__dbl_mp): Likewise.
15074         (add_magnitudes): Likewise.
15075         (sub_magnitudes): Likewise.
15076         (__add): Likewise.
15077         (__sub): Likewise.
15078         (__mul): Likewise.
15079         (__inv): Likewise.
15080         (__dvd): Likewise.
15081         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
15082         (__acr): Likewise.
15083         (__cpy): Likewise.
15084         (norm): Likewise.
15085         (denorm): Likewise.
15086         (__mp_dbl): Likewise.
15087         (__dbl_mp): Likewise.
15088         (add_magnitudes): Likewise.
15089         (sub_magnitudes): Likewise.
15090         (__add): Likewise.
15091         (__sub): Likewise.
15092         (__mul): Likewise.
15093         (__inv): Likewise.
15094         (__dvd): Likewise.
15095         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
15096         (__acr): Likewise.
15097         (__cpy): Likewise.
15098         (norm): Likewise.
15099         (denorm): Likewise.
15100         (__mp_dbl): Likewise.
15101         (__dbl_mp): Likewise.
15102         (add_magnitudes): Likewise.
15103         (sub_magnitudes): Likewise.
15104         (__add): Likewise.
15105         (__sub): Likewise.
15106         (__mul): Likewise.
15107         (__inv): Likewise.
15108         (__dvd): Likewise.
15110 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
15112         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
15113         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
15114         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
15115         2 && __USE_EXTERN_INLINES]: Likewise.
15117 2013-01-08  Andreas Jaeger  <aj@suse.de>
15119         [BZ# 14985]
15120         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
15121         Remove.
15122         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15123         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15125 2013-01-07  Anton Blanchard  <anton@samba.org>
15127         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
15128         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15129         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
15130         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15131         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15132         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15133         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
15134         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15135         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15136         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15137         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15138         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15139         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15140         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15141         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15142         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15143         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15144         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15145         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15146         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15147         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15148         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
15149         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15150         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15151         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
15152         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15153         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15154         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15155         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
15156         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15157         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15158         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15159         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15160         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15161         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15162         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15163         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15164         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15165         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
15166         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
15167         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
15168         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15169         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15171 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
15173         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
15174         (__MALLOC_PMT): Likewise.
15175         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
15176         [__GNUC__], only on [_LIBC].
15177         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15178         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
15179         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15180         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
15181         forward declaration.
15182         (realloc_hook_ini): Likewise.
15183         (memalign_hook_ini): Likewise.
15184         (__libc_memalign): Do not use __MALLOC_PMT in variable
15185         declaration.
15186         (__libc_valloc): Likewise.
15187         (__libc_pvalloc): Likewise.
15188         (__libc_calloc): Likewise.
15189         (__posix_memalign): Likewise.
15191         [BZ #14996]
15192         * math/s_casinh.c: Include <float.h>.
15193         (__casinh): Do not do computation with squaring and square root
15194         for large arguments.
15195         * math/s_casinhf.c: Include <float.h>.
15196         (__casinhf): Do not do computation with squaring and square root
15197         for large arguments.
15198         * math/s_casinhl.c: Include <float.h>.
15199         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
15200         (__casinhl): Do not do computation with squaring and square root
15201         for large arguments.
15202         * math/libm-test.inc (casin_test): Add more tests.
15203         (casinh_test): Likewise.
15204         * sysdeps/i386/fpu/libm-test-ulps: Update.
15205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15207 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
15209         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
15210         (__x86_64_raw_data_cache_size): Likewise.
15211         (__x86_64_data_cache_size_half): Likewise.
15212         (__x86_64_raw_data_cache_size_half): Likewise.
15213         (__x86_64_shared_cache_size): Likewise.
15214         (__x86_64_raw_shared_cache_size): Likewise.
15215         (__x86_64_shared_cache_size_half): Likewise.
15216         (__x86_64_raw_shared_cache_size_half): Likewise.
15217         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
15218         to ...
15219         (__x86_data_cache_size): This.
15220         (__x86_64_raw_data_cache_size): Renamed to ...
15221         (__x86_raw_data_cache_size): This.
15222         (__x86_64_data_cache_size_half): Renamed to ...
15223         (__x86_data_cache_size_half): This.
15224         (__x86_64_raw_data_cache_size_half): Renamed to ...
15225         (__x86_raw_data_cache_size_half): This.
15226         (__x86_64_shared_cache_size): Renamed to ...
15227         (__x86_shared_cache_size): This.
15228         (__x86_64_raw_shared_cache_size): Renamed to ...
15229         (__x86_raw_shared_cache_size): This.
15230         (__x86_64_shared_cache_size_half): Renamed to ...
15231         (__x86_shared_cache_size_half): This.
15232         (__x86_64_raw_shared_cache_size_half): Renamed to ...
15233         (__x86_raw_shared_cache_size_half): This.
15234         * sysdeps/x86_64/memcpy.S: Updated.
15235         * sysdeps/x86_64/memset.S: Likewise.
15236         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15237         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15238         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15240 2013-01-04  David S. Miller  <davem@davemloft.net>
15242         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15244 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
15246         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
15247         1 to avoid redefinition warning.
15248         (__USE_GNU): Don't define.
15249         (init_signaling_nan): Protoize.
15251         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15253 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15255         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
15256         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
15257         (__cpymn): Likewise.
15258         (norm): Remove commented code.
15259         (denorm): Likewise.
15260         (__mp_dbl): Likewise.
15261         (__inv): Likewise.
15262         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
15263         (__cpymn): Likewise.
15264         (norm): Remove commented code.
15265         (denorm): Likewise.
15266         (__mp_dbl): Likewise.
15267         (__inv): Likewise.
15269         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
15270         mp_no value for 1.0 and 2.0.
15271         (norm): Use RADIXI instead of radixi.d.
15272         (denorm): Likewise.
15273         (__mul): Use 0.0 instead of zero.d.
15274         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
15275         mp_no value for 1.0 and 2.0.
15276         (norm): Use RADIXI instead of radixi.d.
15277         (denorm): Likewise.
15278         (__mul): Use 0.0 instead of zero.d.
15280 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
15282         [BZ #14994]
15283         * math/s_casinh.c (__casinh): Reduce finite argument to first
15284         quadrant then set signs of results at the end.
15285         * math/s_casinhf.c (__casinhf): Likewise.
15286         * math/s_casinhl.c (__casinhl): Likewise.
15287         * math/libm-test.inc (casin_test): Add more tests.
15288         (casinh_test): Likewise.
15289         * sysdeps/i386/fpu/libm-test-ulps: Update.
15290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15292 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15294         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
15296         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
15298         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
15299         declarations.
15300         (denorm): Likewise.
15301         (__mp_dbl): Likewise.
15302         (__inv): Likewise.
15304         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
15305         and adjust the header comment.
15307         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
15308         variable name from declaration.
15310 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
15312         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15313         Initialize COMMON_CPUID_INDEX_7 element.
15314         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
15315         (CPUID_RTM): Likewise.
15316         (HAS_RTM): Likewise.
15317         (COMMON_CPUID_INDEX_7): New enum.
15319 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
15321         [BZ #14981]
15322         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
15323         size is zero, record memory as freed.
15325 2013-01-03  Andreas Jaeger  <aj@suse.de>
15327         * po/ia.po: Add new Interlingua translation.
15329 2012-01-03  Allan McRae  <allan@archlinux.org>
15331         * locale/programs/localedef.c: Fix description of '--posix' flag.
15333 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
15335         * NEWS: Update dates in second copyright notice.
15336         * README: Update copyright dates in example.
15337         * manual/libc.texinfo: Update copyright dates.
15338         * scripts/test-installation.pl: Update copyright date in --version
15339         output.
15341         * hurd/ctty-input.c: Fix copyright notice formatting.
15342         * hurd/ctty-output.c: Likewise.
15343         * hurd/dtable.c: Likewise.
15344         * hurd/hurd-raise.c: Likewise.
15345         * hurd/hurdprio.c: Likewise.
15346         * hurd/msgportdemux.c: Likewise.
15347         * misc/sys/file.h: Likewise.
15348         * misc/sys/ioctl.h: Likewise.
15349         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15350         * sysdeps/mach/hurd/chdir.c: Likewise.
15351         * sysdeps/mach/hurd/fchdir.c: Likewise.
15352         * sysdeps/mach/hurd/rename.c: Likewise.
15353         * sysdeps/mach/hurd/rmdir.c: Likewise.
15354         * sysdeps/mach/hurd/seekdir.c: Likewise.
15355         * sysdeps/mach/hurd/setsid.c: Likewise.
15356         * sysdeps/posix/wait3.c: Likewise.
15358         * All files with FSF copyright notices: Update copyright dates
15359         using scripts/update-copyrights.
15360         * intl/plural.c: Regenerated.
15361         * locale/programs/charmap-kw.h: Likewise.
15362         * locale/programs/locfile-kw.h: Likewise.
15364 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15366         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
15367         four values.
15369         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
15370         calculation loop and add branch prediction.
15372         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
15373         check access beyond bounds of m1np.
15375         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15376         MPTWO.
15377         (__inv): Remove local variable MPTWO to use the global
15378         constant.
15379         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
15380         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15381         variable MPTWO.
15382         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
15383         MP3HALFS static const.
15385 2013-01-01  David S. Miller  <davem@davemloft.net>
15387         * po/ca.po: Update from translation team.
15389 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
15391         * scripts/update-copyrights: New file.
15392         * Makeconfig: Reformat copyright notice.
15393         * ctype/ctype.h: Likewise.
15394         * debug/swprintf_chk.c: Likewise.
15395         * elf/dl-cache.c: Likewise.
15396         * elf/dl-debug.c: Likewise.
15397         * elf/dl-object.c: Likewise.
15398         * grp/initgroups.c: Likewise.
15399         * hurd/Makefile: Likewise.
15400         * hurd/hurd/signal.h: Likewise.
15401         * hurd/hurdfault.c: Likewise.
15402         * hurd/hurdioctl.c: Likewise.
15403         * hurd/hurdlookup.c: Likewise.
15404         * hurd/intr-msg.c: Likewise.
15405         * iconv/gconv_open.c: Likewise.
15406         * libio/swprintf.c: Likewise.
15407         * locale/lc-ctype.c: Likewise.
15408         * locale/nl_langinfo.c: Likewise.
15409         * mach/Machrules: Likewise.
15410         * mach/Makefile: Likewise.
15411         * malloc/obstack.h: Likewise.
15412         * manual/Makefile: Likewise.
15413         * manual/tsort.awk: Likewise.
15414         * misc/bits/stab.def: Likewise.
15415         * nis/nis_print_group_entry.c: Likewise.
15416         * nis/nis_table.c: Likewise.
15417         * nis/nss_compat/compat-pwd.c: Likewise.
15418         * nis/nss_compat/compat-spwd.c: Likewise.
15419         * po/Makefile: Likewise.
15420         * posix/fnmatch.c: Likewise.
15421         * posix/regex.h: Likewise.
15422         * resolv/Makefile: Likewise.
15423         * resolv/nss_dns/dns-network.c: Likewise.
15424         * resolv/res_hconf.c: Likewise.
15425         * scripts/gen-sorted.awk: Likewise.
15426         * soft-fp/soft-fp.h: Likewise.
15427         * stdio-common/printf.h: Likewise.
15428         * stdlib/monetary.h: Likewise.
15429         * stdlib/random.c: Likewise.
15430         * stdlib/random_r.c: Likewise.
15431         * sysdeps/generic/Makefile: Likewise.
15432         * sysdeps/gnu/Makefile: Likewise.
15433         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15434         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15435         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15436         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15437         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15438         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15439         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15440         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15441         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15442         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15443         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15444         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15445         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15446         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15447         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15448         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15449         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15450         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15451         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15452         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15453         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15454         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15455         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15456         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15457         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
15458         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15459         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15460         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
15461         * sysdeps/mach/hurd/errnos.awk: Likewise.
15462         * sysdeps/mach/hurd/fork.c: Likewise.
15463         * sysdeps/mach/hurd/getcwd.c: Likewise.
15464         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
15465         * sysdeps/mach/hurd/mmap.c: Likewise.
15466         * sysdeps/mach/hurd/utimes.c: Likewise.
15467         * sysdeps/mach/hurd/xmknod.c: Likewise.
15468         * sysdeps/posix/profil.c: Likewise.
15469         * sysdeps/posix/readdir_r.c: Likewise.
15470         * sysdeps/powerpc/bits/mathdef.h: Likewise.
15471         * sysdeps/powerpc/bits/setjmp.h: Likewise.
15472         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
15473         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15474         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15475         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15476         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15477         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15478         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15479         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15480         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15481         * sysdeps/pthread/lio_listio.c: Likewise.
15482         * sysdeps/sparc/dl-procinfo.h: Likewise.
15483         * sysdeps/unix/i386/sysdep.S: Likewise.
15484         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
15485         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
15486         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
15487         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
15488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15489         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
15490         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
15491         * sysdeps/unix/sysv/linux/speed.c: Likewise.
15492         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15493         * sysdeps/wordsize-32/divdi3.c: Likewise.
15494         * time/sys/time.h: Likewise.
15495         * wcsmbs/Makefile: Likewise.
15497 2013-01-01  David S. Miller  <davem@davemloft.net>
15499         * po/fr.po: Update from translation team.
15501         * catgets/gencat.c: Update copyright year.
15502         * csu/version.c: Likewise.
15503         * debug/catchsegv.sh: Likewise.
15504         * debug/pcprofiledump.c: Likewise.
15505         * debug/xtrace.sh: Likewise.
15506         * elf/ldconfig.c: Likewise.
15507         * elf/ldd.bash.in: Likewise.
15508         * elf/pldd.c: Likewise.
15509         * elf/sotruss.ksh: Likewise.
15510         * elf/sprof.c: Likewise.
15511         * iconv/iconv_prog.c: Likewise.
15512         * iconv/iconvconfig.c: Likewise.
15513         * locale/programs/locale.c: Likewise.
15514         * locale/programs/localedef.c: Likewise.
15515         * login/programs/pt_chown.c: Likewise.
15516         * malloc/memusage.sh: Likewise.
15517         * malloc/memusagestat.c: Likewise.
15518         * malloc/mtrace.pl: Likewise.
15519         * nscd/nscd.c: Likewise.
15520         * nss/getent.c: Likewise.
15521         * nss/makedb.c: Likewise.
15522         * posix/getconf.c: Likewise.
15524 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
15526         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
15527         numbers.
15529 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
15531         * math/bits/mathcalls.h (modf): Use __nonnull.
15533 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15535         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
15536         (split): Use macro CN instead of the bare value.
15537         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
15538         could be used.
15539         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
15540         instead of the bare value.
15541         (power1): Likewise.
15543 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15545         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
15546         __ATAN_TWOM.
15547         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15549         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
15550         their values.
15551         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15552         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15553         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
15554         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15556 2012-12-28  Andreas Jaeger  <aj@suse.de>
15558         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
15559         values are from Linux 3.7.
15561         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
15562         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
15564 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15566         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
15567         TRUE case.
15569         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
15570         (norm): Likewise.
15571         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
15572         variables with preprocessor constants.
15573         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15574         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15575         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15577 2012-12-27  Bruno Haible  <bruno@clisp.org>
15579         [BZ #14317]
15580         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
15581         only if needed.
15583 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15585         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
15586         and use variable directly.
15587         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
15589         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15590         MPONE.
15591         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
15592         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15593         variable MPONE.
15594         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15595         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15596         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
15597         include directive.  Remove local variable MPONE.
15598         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
15599         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
15600         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15602 2012-12-25  David S. Miller  <davem@davemloft.net>
15604         * version.h (RELEASE): Set to "development".
15605         (VERSION): Set to "2.17.90".
15606         * NEWS: Add 2.18 section.
15608 2012-12-21  David S. Miller  <davem@davemloft.net>
15610         * po/hr.po: Update from translation team.
15612 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15614         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
15616 2012-12-19  Steve Ellcey  <sellcey@mips.com>
15618         * NEWS:  Mention new memcpy for MIPS.
15620 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15622         * manual/contrib.texi (Contributors): Spelling correction.
15624 2012-12-15  David S. Miller  <davem@davemloft.net>
15626         * po/ru.po: Update from translation team.
15628 2012-12-13  David S. Miller  <davem@davemloft.net>
15630         * NEWS: Mention IFUNC testsuite enhancements.
15632         * po/pl.po: Update from translation team.
15633         * po/bg.po: Likewise.
15635         * manual/contrib.texi (Contributors): Update entries for Hongjiu
15636         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
15638 2012-12-11  David S. Miller  <davem@davemloft.net>
15640         * po/sv.po: Update from translation team.
15642         * po/vi.po: Update from translation team.
15644         * po/cs.po: Update from translation team.
15646         * po/de.po: Update from translation team.
15647         * po/eo.po: Likewise.
15648         * po/nl.po: Likewise.
15650 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15652         [BZ #14246]
15653         * manual/argp.texi (Argp Helper Functions): Move node to follow
15654         Argp Parsing State.
15656         [BZ #14872]
15657         * manual/conf.texi (Limits on File System Capacity): Mention if
15658         terminating null is included in the max size.
15660 2012-12-10  Andreas Jaeger  <aj@suse.de>
15662         * po/cs.po: Update from translation team.
15664 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15666         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
15667         void pointer and cast to uintptr_t.
15668         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
15669         path.
15670         * sysdeps/s390/s390-64/memcpy.S: Likewise.
15671         * sysdeps/s390/s390-64/memset.S: Likewise.
15673 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
15675         [BZ #14833]
15676         * menual/message.texi (Message Translation): Fix typos.
15677         (Helper programs for gettext): Likewise.
15679 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
15681         [BZ #14898]
15682         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
15683         Change to -1.
15685 2012-12-07  David S. Miller  <davem@davemloft.net>
15687         * po/libc.pot: Update.
15689 2012-12-07  Richard Henderson  <rth@redhat.com>
15691         [BZ #10114]
15692         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
15693         normal/normal case to before the switch.
15694         (_FP_DIV): Likewise.
15696 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
15697             Mike Frysinger  <vapier@gentoo.org>
15699         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
15700         check for __NR_fadvise64_64.
15702 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
15704         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
15705         0, not just to plain "0" as a statement.
15706         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
15707         with cw.
15709 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
15711         * NEWS: Use sourceware.org in Bugzilla URL.
15713 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
15715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15716         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15718         * stdio-common/tst-put-error.c (do_test): Add newline to the
15719         padded test to ensure flush.
15721 2012-12-05  Jeff Law  <law@redhat.com>
15723         * sunrpc/etc.rpc (fedfs_admin): Add entry.
15725 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
15727         * README: Don't refer to ports add-on as distributed separately.
15728         Mention AArch64 in list of systems supported in the ports add-on.
15730         * LICENSES: Add more non-FSF copyright and license notices.
15732         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
15733         ((unused)).
15735         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
15737         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
15738         10000 as width of padded output.
15740 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
15742         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
15744         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
15745         variable LX with __attribute__ ((unused)).
15746         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15747         Likewise.
15748         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15749         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15750         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
15751         with __attribute__ ((unused)).
15753 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
15755         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15757 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
15759         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
15760         (CFLAGS-nldbl-acos.c): New variable.
15761         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
15762         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
15763         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
15764         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
15765         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
15766         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15767         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
15768         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
15769         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
15770         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
15771         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
15772         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
15773         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
15774         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15775         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15776         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15777         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15778         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15779         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15780         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15781         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15782         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15783         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15784         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15785         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15786         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15787         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15788         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15789         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15790         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15791         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15792         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15793         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15794         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15795         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15796         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15797         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15798         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15799         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15800         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15801         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15802         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15803         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15804         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15805         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15806         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15807         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15808         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15809         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15810         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15811         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15812         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15813         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15814         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15815         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15816         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15817         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15818         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15819         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15820         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15821         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15822         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15823         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15824         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15825         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15826         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15827         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15828         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15829         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15830         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15831         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15832         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15833         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15834         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15835         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15836         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15837         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15838         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15839         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15840         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15841         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15842         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15843         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15844         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15845         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15846         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15847         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15848         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15849         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15850         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15851         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15852         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15853         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15854         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15855         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15856         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15857         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15860         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15862         [BZ #14914]
15863         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15864         whole low double instead of just low 47 bits when splitting values
15865         into two parts.
15867 2012-12-03  Allan McRae  <allan@archlinux.org>
15869         * manual/stdio.texi (Predefined Printf Handlers): Remove
15870         @hsep and @vsep usage.
15872 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
15874         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15875         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15877 2012-12-03  Jeff Law  <law@redhat.com>
15879         * time/sys/time.h (settimeofday): Do not mark TV argument
15880         as __nonnull.
15882 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
15884         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15885         when currently writing and seek to current position when not.
15886         * libio/Makefile (tests): Remove bug-fclose1.
15887         * libio/bug-fclose1.c: Delete.
15889 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
15891         * manual/arith.texi (feenableexcept): Fix typo.
15892         (fedisableexcept): Likewise.
15894 2012-11-30  Roland McGrath  <roland@hack.frob.com>
15896         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15897         second, differently-typed declaration, rather than a cast.
15899 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15901         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15902         * include/rpc/svc.h: ... here.
15904 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
15906         [BZ #13013]
15907         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15908         depending n and resplen2 to catch cases where answer
15909         equals answerp2.
15911 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
15913         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15914         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15916 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
15918         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15920 2012-11-29  Roland McGrath  <roland@hack.frob.com>
15922         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15924 2012-11-28  Jeff Law  <law@redhat.com>
15926         [BZ #13761]
15927         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15928         dataset_temporary.  Track alloca usage into alloca_used.
15929         If dataset is large allocate and release it via malloc/free.
15931 2012-06-04  Florian Weimer  <fweimer@redhat.com>
15933         [BZ #14197]
15934         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15936 2012-11-28  David S. Miller  <davem@davemloft.net>
15938         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15940 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
15942         [BZ #14803]
15943         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15944         of pi/2 rounded to nearest to 64 bits.
15945         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15946         nearest to 64 bits.
15947         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15948         bits.
15950 2012-11-28  Jeff Law <law@redhat.com>
15951             Martin Osvald <mosvald@redhat.com>
15953         [BZ #14889]
15954         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15955         * sunrpc/svc.c: Include time.h.
15956         (__svc_accept_failed): New function.
15957         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15958         any reason other than EINTR, call __svc_accept_failed.
15959         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15960         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15962 2012-11-28  Andreas Schwab  <schwab@suse.de>
15964         * scripts/abilist.awk: Also handle indirect functions in .opd
15965         section.
15967 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
15969         [BZ #13881]
15970         * sysdeps/x86/fpu/powl_helper.c: New file.
15971         * sysdeps/x86/fpu/Makefile: Likewise.
15972         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15973         (p3): New object.
15974         (__ieee754_powl): Use __powl_helper for finite arguments except
15975         integer exponents below 8.
15976         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15977         (p3): New object.
15978         (__ieee754_powl): Use __powl_helper for finite arguments except
15979         integer exponents below 8.
15980         * math/libm-test.inc (pow_test): Add more tests and enable some
15981         previously disabled tests.
15982         * sysdeps/i386/fpu/libm-test-ulps: Update.
15983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15985 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15986             Carlos O'Donell  <carlos_odonell@mentor.com>
15988         * nss/makedb.c (is_prime): Assert that input is odd and greater
15989         than 4.  Note that fact in a comment too.
15990         (next_prime): Add 4 to input.
15992 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15994         [BZ #11741]
15995         * libio/Makefile (tests): Add test case tst-fwrite-error.
15996         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15997         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15998         * libio/tst-fwrite-error.c: New test case.
16000 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
16002         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
16003         before casting to void *.
16004         * include/libc-internal.h (__pointer_type): New macro.
16005         (__integer_if_pointer_type_sub): Likewise.
16006         (__integer_if_pointer_type): Likewise.
16007         (cast_to_integer): Likewise.
16008         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
16009         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
16010         before casting to atomic64_t.
16011         (atomic_exchange_acq): Likewise.
16012         (__arch_exchange_and_add_body): Likewise.
16013         (__arch_add_body): Likewise.
16014         (atomic_add_negative): Likewise.
16015         (atomic_add_zero): Likewise.
16017 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
16019         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
16020         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
16021         (add_fdes): Likewise.
16022         (linear_search_fdes): Likewise.
16023         (binary_search_unencoded_fdes): Likewise.
16025 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
16027         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
16029 2012-11-24  Adam Conrad  <adconrad@0c3.net>
16031         * configure.in: Autodetect C++ header directories.
16032         * configure: Regenerated.
16034 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
16036         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
16038 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
16040         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16042 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
16044         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
16045         LDBL_MANT_DIG == 106]: Disable some tests.
16046         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
16047         Likewise.
16048         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
16049         Likewise.
16051         [BZ #14871]
16052         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
16053         input for small inputs.  Return +/- pi/2 for large inputs.
16054         * math/libm-test.inc (atan_test): Add more tests.
16056         * sysdeps/generic/unwind-dw2-fde-glibc.c
16057         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
16058         __attribute__ ((unused)).
16060         [BZ #14645]
16061         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
16062         x * y if x and y are nonzero and z is zero.
16064         [BZ #14811]
16065         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
16066         nonzero exponents with absolute value below 0x1p-117 to +/-
16067         0x1p-117.
16069         [BZ #14869]
16070         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
16071         up arguments below 2**-450, not just those below 2**-500.
16072         * math/libm-test.inc (hypot_test): Add another test.
16074         [BZ #14868]
16075         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
16076         Return a+b for ratio over 2**120, not 2**60.
16077         * math/libm-test.inc (hypot_test): Add another test.
16079         * math/libm-test.inc (clog_test): Use
16080         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
16081         (clog10_test): Likewise.
16083         [BZ #6778]
16084         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
16086 2012-11-22  Andreas Schwab  <schwab@suse.de>
16088         * sysdeps/i386/fpu/libm-test-ulps: Update.
16090 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
16092         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
16093         printf output with newline.
16095 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
16097         [BZ #14865]
16098         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
16099         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
16100         -z nodlopen, -z initfirst and -z execstack support.
16101         * configure: Regenerated.
16103         * elf/elf.h (DF_1_NODIRECT): New macro.
16104         (DF_1_IGNMULDEF): Likewise.
16105         (DF_1_NOKSYMS): Likewise.
16106         (DF_1_NOHDR): Likewise.
16107         (DF_1_EDITED): Likewise.
16108         (DF_1_NORELOC): Likewise.
16109         (DF_1_SYMINTPOSE): Likewise.
16110         (DF_1_GLOBAUDIT): Likewise.
16111         (DF_1_SINGLETON): Likewise.
16112         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
16113         DT_1_SUPPORTED_MASK bits.
16114         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
16116 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
16118         * sysdeps/unix/make-syscalls.sh: Document prefixes.
16120 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
16122         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
16123         macro.
16125         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
16126         (sendmmsg): Move declarations...
16127         * socket/sys/socket.h: ... here.
16128         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
16129         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
16130         include it from...
16131         * socket/recvmmsg.c: ... this new file.
16132         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
16133         (sendmmsg): Rename to __sendmmsg, create weak alias and make
16134         definition of __sendmmsg hidden.
16135         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
16136         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
16137         Move ENOSYS stub into and include it from...
16138         * socket/sendmmsg.c: ... this new file.
16139         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
16140         (sysdep_routines): Move recvmmsg and sendmmsg...
16141         * socket/Makefile (routines): ... here.
16142         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
16143         (GLIBC_PRIVATE): Add __sendmmsg.
16144         * include/sys/socket.h (__sendmmsg): Add declarations.
16145         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
16146         sendmmsg.
16148 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
16150         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
16151         variable I1 with __attribute__ ((unused)).
16152         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16154 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
16156         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
16157         DUMMY variables with __attribute__ ((unused)).
16159         * bits/byteswap.h: Include <bits/types.h>.
16160         (__bswap_64): Use __uint64_t instead of unsigned long long int.
16162 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
16164         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
16165         string_t.  Do not manually set errno.
16166         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
16167         length with __strnlen.  Make sure to both set errno and return it on
16168         failure.
16170 2012-11-19  David S. Miller  <davem@davemloft.net>
16172         With help from Joseph Myers.
16173         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
16174         very large arguments properly.
16175         * math/libm-test.inc (atan_test): New tests.
16176         (atan2_test): New tests.
16177         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16178         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16180 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
16182         [BZ #14856]
16183         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
16184         Define to 3.
16186         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
16187         [POSIX] (EADDRNOTAVAIL): Likewise.
16188         [POSIX] (EAFNOSUPPORT): Likewise.
16189         [POSIX] (EALREADY): Likewise.
16190         [POSIX] (ECONNABORTED): Likewise.
16191         [POSIX] (ECONNREFUSED): Likewise.
16192         [POSIX] (ECONNRESET): Likewise.
16193         [POSIX] (EDESTADDRREQ): Likewise.
16194         [POSIX] (EDQUOT): Likewise.
16195         [POSIX] (EHOSTUNREACH): Likewise.
16196         [POSIX] (EIDRM): Likewise.
16197         [POSIX] (EISCONN): Likewise.
16198         [POSIX] (ELOOP): Likewise.
16199         [POSIX] (EMULTIHOP): Likewise.
16200         [POSIX] (ENETDOWN): Likewise.
16201         [POSIX] (ENETUNREACH): Likewise.
16202         [POSIX] (ENOBUFS): Likewise.
16203         [POSIX] (ENODATA): Likewise.
16204         [POSIX] (ENOLINK): Likewise.
16205         [POSIX] (ENOMSG): Likewise.
16206         [POSIX] (ENOPROTOOPT): Likewise.
16207         [POSIX] (ENOSR): Likewise.
16208         [POSIX] (ENOSTR): Likewise.
16209         [POSIX] (ENOTCONN): Likewise.
16210         [POSIX] (ENOTSOCK): Likewise.
16211         [POSIX] (EOPNOTSUPP): Likewise.
16212         [POSIX] (EOVERFLOW): Likewise.
16213         [POSIX] (EPROTO): Likewise.
16214         [POSIX] (EPROTONOSUPPORT): Likewise.
16215         [POSIX] (EPROTOTYPE): Likewise.
16216         [POSIX] (ESTALE): Likewise.
16217         [POSIX] (ETIME): Likewise.
16218         [POSIX] (ETXTBSY): Likewise.
16219         [POSIX] (EWOULDBLOCK): Likewise.
16220         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
16221         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
16222         [POSIX] (SEEK_CUR): Likewise.
16223         [POSIX] (SEEK_END): Likewise.
16224         [POSIX || UNIX98] (mode_t): Do not require.
16225         [POSIX] (off_t): Likewise.
16226         [POSIX] (pid_t): Likewise.
16227         [POSIX] (sys/stat.h): Do not allow header.
16228         [POSIX] (unistd.h): Likewise.
16229         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
16230         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
16231         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
16232         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
16233         require.
16234         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
16235         sigevent): Specify elements.
16236         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
16237         entry.
16238         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
16239         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
16241         * conform/data/cpio.h-data [POSIX]: Disable whole file.
16242         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
16243         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
16244         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
16245         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
16246         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
16247         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
16248         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
16249         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
16250         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
16251         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
16252         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
16253         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
16254         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
16255         Likewise.
16256         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
16257         Likewise.
16258         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
16259         Likewise.
16260         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
16261         Likewise.
16262         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
16263         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
16264         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
16265         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
16266         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
16267         Specify lower bound on value.
16268         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
16269         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
16270         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
16271         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
16272         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
16273         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
16274         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
16275         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
16276         value.
16277         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
16278         as optional.
16279         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
16280         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
16281         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
16282         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
16283         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
16284         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
16285         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
16286         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
16287         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
16288         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
16289         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
16290         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
16291         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
16292         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
16293         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
16294         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
16295         entry.
16296         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
16297         optional.
16298         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
16299         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
16300         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
16301         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
16302         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
16303         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
16304         Likewise.
16305         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
16306         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
16307         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
16308         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
16309         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
16310         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
16311         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
16312         as optional.
16313         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
16314         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
16315         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
16316         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
16317         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
16318         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
16319         specify as optional.
16320         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
16321         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
16322         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
16323         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
16324         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
16325         [XPG3] (NL_LANGMAX): Likewise.
16326         [POSIX || XPG3] (NL_MSGMAX): Likewise.
16327         [POSIX || XPG3] (NL_NMAX): Likewise.
16328         [POSIX || XPG3] (NL_SETMAX): Likewise.
16329         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
16330         [XPG3] (NZERO): Likewise.
16331         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
16332         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
16333         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
16334         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
16335         (REG_ERANGE): Expect.
16336         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
16337         optional-constant.
16338         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
16339         Use (void) in prototype.
16340         [POSIX] (*_t): Allow.
16341         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
16342         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
16343         (WRDE_BADVAL): Expect.
16345         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
16346         expect.
16347         [XPG3 || XPG4] (O_RSYNC): Likewise.
16348         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
16349         Likewise.
16350         [XPG3 || XPG4] (pthread_sigmask): Likewise.
16351         [XPG3 || XPG4] (sigqueue): Likewise.
16352         [XPG3 || XPG4] (sigtimedwait): Likewise.
16353         [XPG3 || XPG4] (sigwaitinfo): Likewise.
16354         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
16355         [XPG3 || XPG4] (vsnprintf): Likewise.
16356         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
16357         Likewise.
16358         [XPG3 || XPG4] (blksize_t): Likewise.
16359         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
16360         Likewise.
16361         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
16362         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16363         [XPG3 || XPG4] (struct itimerspec): Likewise.
16364         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
16365         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
16366         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
16367         [XPG3 || XPG4] (clockid_t): Likewise.
16368         [XPG3 || XPG4] (timer_t): Likewise.
16369         [XPG3 || XPG4] (clock_getres): Likewise.
16370         [XPG3 || XPG4] (clock_gettime): Likewise.
16371         [XPG3 || XPG4] (clock_settime): Likewise.
16372         [XPG3 || XPG4] (nanosleep): Likewise.
16373         [XPG3 || XPG4] (timer_create): Likewise.
16374         [XPG3 || XPG4] (timer_delete): Likewise.
16375         [XPG3 || XPG4] (timer_gettime): Likewise.
16376         [XPG3 || XPG4] (timer_getoverrun): Likewise.
16377         [XPG3 || XPG4] (timer_settime): Likewise.
16378         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
16379         [XPG3 || XPG4] (getlogin_r): Likewise.
16380         [XPG3 || XPG4] (pread): Likewise.
16381         [XPG3 || XPG4] (pthread_atfork): Likewise.
16382         [XPG3 || XPG4] (pwrite): Likewise.
16384         [BZ #14835]
16385         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
16386         <bits/siginfo.h>.
16388 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
16390         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
16391         finalizing MALLSTREAM.
16393         * sysdeps/mach/hurd/syncfs.c: New file.
16395 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16397         [BZ #14719]
16398         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
16399         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
16400         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
16401         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
16402         (_nss_dns_gethostbyname4_r): Likewise.
16403         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
16404         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
16406 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
16408         [BZ #13763]
16409         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
16411 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
16413         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
16414         * elf/cache.c (print_entry): Print ",AArch64" for
16415         FLAG_AARCH64_LIB64
16417         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
16418         * elf/cache.c (print_entry): Print ",hard-float" for
16419         FLAG_ARM_LIBHF.
16421 2012-11-18  David S. Miller  <davem@davemloft.net>
16423         With help from Joseph Myers.
16424         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
16425         cutoff to 2**-13.
16426         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
16427         cutoff to 2**-25.
16428         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
16429         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
16430         small.
16431         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
16432         * math/libm-test.inc (y0_test): New tests.
16433         (y1_test): New tests.
16434         * sysdeps/i386/fpu/libm-test-ulps: Update.
16435         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16436         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16438 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
16440         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
16441         64-bit targets.
16442         * configure: Regenerated.
16444 2012-11-17  David S. Miller  <davem@davemloft.net>
16446         [BZ #14811]
16447         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
16448         nonzero exponents with absolute value below 0x1p-128 to +/-
16449         0x1p-128.
16451 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
16453         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
16455         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
16457         * posix/getconf-speclist.c: New file.
16458         * posix/posix-envs.def: Likewise.
16459         * posix/confstr.c (START_ENV_GROUP): New macro.
16460         (END_ENV_GROUP): Likewise.
16461         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16462         (KNOWN_PRESENT_ENV_STRING): Likewise.
16463         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16464         (UNKNOWN_ENVIRONMENT): Likewise.
16465         (confstr): Include posix-envs.def instead of handling
16466         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
16467         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
16468         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
16469         (END_ENV_GROUP): Likewise.
16470         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16471         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16472         (UNKNOWN_ENVIRONMENT): Likewise.
16473         (__sysconf): Include posix-envs.def instead of handling associated
16474         cases directly here.
16475         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
16476         preprocessing getconf-speclist.c rather than running getconf or
16477         generating empty file.
16479 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
16481         * scripts/check-local-headers.sh: Ignore 'mach' headers.
16483 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
16485         [BZ #14672]
16486         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
16488 2012-11-16  David S. Miller  <davem@davemloft.net>
16490         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
16491         smaller than LDBL_EPSILON/2.0L, just return xm1.
16493 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
16495         * elf/tst-array1.c (init): Set constructor priority to 1000.
16496         (fini): Set destructor priority to 1000.
16497         * elf/tst-array2dep.c: Likewise.
16499 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16501         [BZ #11741]
16502         * libio/fileops.c (_IO_new_file_write): Correctly return error.
16503         (_IO_new_file_xsputn): Also return EOF if none of the input
16504         data was written when overflow failed.
16505         * libio/iopadn.c (_IO_padn): Likewise.
16506         * libio/iowpadn.c (_IO_wpadn): Likewise.
16507         * stdio-common/tst-put-error.c: Add copyright notice.
16508         (do_test): Add case for printing padded string.
16509         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
16510         _IO_padn returned error.
16511         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
16512         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
16513         return EOF.
16515 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16517         * libio/libioP.h: Add comment note that the references to C++
16518         bits are now obsolete.
16520 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16522         * math/libm-test.inc (check_complex): Use asprintf.
16524 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
16526         * debug/pcprofiledump.c (print_version): Update copyright year.
16527         * malloc/memusagestat.c (print_version): Likewise.
16529 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
16531         [BZ #14831]
16532         * elf/Makefile (tests): Add tst-audit8.
16533         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
16534         ($(objpfx)tst-audit8.out): New target.
16535         (tst-audit8-ENV): New variable.
16536         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
16537         audit if l_reloc_result is NULL.
16538         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
16539         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
16540         * elf/tst-audit8.c: New file.
16542 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16544         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
16545         * misc/Makefile (CFLAGS-select.c): Define.
16546         * posix/Makefile (CFLAGS-pause.c): Define.
16548 2012-11-13  David S. Miller  <davem@davemloft.net>
16550         * crypt/Makefile: Move test targets after toplevel Rules
16551         inclusion.  Grab any necessary sysdep routines when linking.
16552         * crypt/md5.c (md5_process_block): Remove define, we will always
16553         name it __md5_process_block.
16554         (md5_finish_ctx): Update md5_process_block call.
16555         (md5_stream): Likewise.
16556         (md5_process_bytes): Likewise.
16557         (md5_process_block): Rename to __md5_process_block and move to ...
16558         * crypt/md5-block.c: ... here.
16559         * crypt/sha256.c (sha256_process_block): Move to ...
16560         * crypt/sha256-block.c: ... here.
16561         * crypt/sha512.c (sha512_process_block): Move to ...
16562         * crypt/sha512-block.c: ... here.
16563         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
16564         path.
16565         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
16566         * sysdeps/sparc/sparc64/multiarch/Makefile
16567         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
16568         crypt subdir.
16569         (localedef-aux): Add md5 crypto assembler when in locale subdir.
16570         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
16571         multiarch changes.
16572         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
16573         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
16574         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
16575         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
16576         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
16577         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
16578         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
16579         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
16580         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
16581         file.
16582         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
16583         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
16584         file.
16585         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
16587 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
16589         * timezone/tzselect.ksh: Update from tzcode git revision
16590         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
16591         * timezone/zdump.c: Likewise.
16592         * timezone/zic.c: Likewise.
16593         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
16594         in TZVERSION setting, not $(PKGVERSION).
16595         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
16596         REPORT_BUGS_TO settings.
16598         [BZ #14838]
16599         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
16600         macro.
16602 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16604         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
16605         detection to immediately after _FP_ROUND().
16606         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
16607         bits are 0.
16609 2012-11-11  David S. Miller  <davem@davemloft.net>
16611         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
16612         inttypes.h
16613         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
16614         __close rather than their public counterparts.
16616 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
16618         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
16619         file.
16620         [UNIX98] (sem_timedwait): Do not expect.
16621         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
16622         [XPG4 || UNIX98] (sockatmark): Do not expect.
16623         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
16624         (clock_getcpuclockid): Do not expect.
16625         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
16626         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
16627         Do not expect.
16628         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
16629         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
16630         [UNIX98] (vwscanf): Likewise.
16631         [UNIX98] (vswscanf): Likewise.
16633 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
16635         * timezone/version.h: Remove file.
16636         * timezone/README: Do not refer to version.h.
16637         * timezone/Makefile ($(objpfx)zic.o): New dependency on
16638         $(objpfx)version.h.
16639         ($(objpfx)zdump.o): Likewise.
16640         ($(objpfx)version.h): New target.
16642         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
16643         2012i.
16644         * timezone/README: Don't mention modification to tzselect.ksh.
16645         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
16646         work on unmodified tzselect.ksh.  Substitute version numbers in
16647         tzselect.ksh.
16649         * Makefile (format-me): Remove.
16650         (INSTALL): Adjust indentation.  Use commands directly instead of
16651         using $(format-me).
16653         * aclocal.m4 (ACX_PKGVERSION): New macro.
16654         (ACX_BUGURL): Likewise.
16655         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
16656         (PKGVERSION): New AC_DEFINE_UNQUOTED.
16657         (REPORT_BUGS_TO): Likewise.
16658         * configure: Regenerated.
16659         * config.h.in (PKGVERSION): New macro.
16660         (REPORT_BUGS_TO): Likewise.
16661         * config.make.in (PKGVERSION): New variable.
16662         (PKGVERSION_TEXI): Likewise.
16663         (REPORT_BUGS_TO): Likewise.
16664         (REPORT_BUGS_TEXI): Likewise.
16665         * Makefile (format-me): Use -I$(common-objpfx)manual.
16666         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
16667         ($(common-objpfx)manual/%): New target.
16668         (manual/%): Remove target.
16669         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
16670         (print_version): Use PKGVERSION.
16671         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
16672         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
16673         and REPORT_BUGS_TO.
16674         ($(objpfx)xtrace): Likewise.
16675         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
16676         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
16677         (print_version): Use PKGVERSION.
16678         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
16679         (do_version): Use PKGVERSION.
16680         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
16681         REPORT_BUGS_TO.
16682         (common-ldd-rewrite): Likewise.
16683         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
16684         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
16685         (print_version): Use PKGVERSION.
16686         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
16687         * elf/pldd.c (argp_program_bug_address): Remove variable.
16688         (more_help): New function.
16689         (argp): Use more_help.
16690         (print_version): Use PKGVERSION.
16691         * elf/sln.c (main): Use PKGVERSION.
16692         (usage): Use REPORT_BUGS_TO.
16693         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
16694         (top level): Use PKGVERSION.
16695         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
16696         (print_version): Use PKGVERSION.
16697         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
16698         (print_version): Use PKGVERSION.
16699         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
16700         (print_version): Use PKGVERSION.
16701         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
16702         (print_version): Use PKGVERSION.
16703         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
16704         (print_version): Use PKGVERSION.
16705         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
16706         (print_version): Use PKGVERSION.
16707         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
16708         and BUGURL.
16709         ($(objpfx)memusage): Likewise.
16710         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
16711         (do_version): Use PKGVERSION.
16712         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
16713         (print_version): Use PKGVERSION.
16714         * malloc/mtrace.pl ($PACKAGE): Remove variable.
16715         ($PKGVERSION): New variable.
16716         ($REPORT_BUGS_TO): Likewise.
16717         (usage): Use $REPORT_BUGS_TO.
16718         (top level): Use $PKGVERSION.
16719         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
16720         ($(objpfx)pkgvers.texi): New rule.
16721         ($(objpfx)stamp-pkgvers): Likewise.
16722         * manual/install.texi: Include pkgvers.texi.
16723         (--with-pkgversion): Document new configure option.
16724         (--with-bugurl): Likewise.
16725         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
16726         than necessarily for this particular distribution.  Use
16727         REPORT_BUGS_TO for where to report bugs.
16728         * INSTALL: Regenerated.
16729         * manual/libc.texinfo: Include pkgvers.texi.
16730         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
16731         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
16732         (print_version): Use PKGVERSION.
16733         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
16734         (print_version): Use PKGVERSION.
16735         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
16736         (print_version): Use PKGVERSION.
16737         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
16738         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
16739         macro.
16740         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
16741         (print_version): Use PKGVERSION.
16742         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
16743         (print_version): Use PKGVERSION.
16744         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
16745         and PKGVERSION.
16747         * timezone/checktab.awk: Update from tzcode 2012i.
16748         * timezone/ialloc.c: Likewise.
16749         * timezone/private.h: Likewise.
16750         * timezone/scheck.c: Likewise.
16751         * timezone/tzfile.h: Likewise.
16752         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
16753         (TZVERSION): Hardcode tzcode version number.
16754         * timezone/zdump.c: Update from tzcode 2012i.
16755         * timezone/zic.c: Likewise.
16756         * timezone/version.h: New file.
16757         * timezone/README: Describe version.h.  Update upstream location.
16759         [BZ #14824]
16760         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
16761         (mktemp): Enable declaration.
16762         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
16763         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
16764         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
16765         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
16766         Likewise.
16767         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
16768         Likewise.
16769         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
16770         Likewise.
16771         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
16772         Likewise.
16773         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
16774         Likewise.
16775         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16776         Likewise.
16778         [BZ #14821]
16779         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16780         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
16781         for copies of such integer values.
16782         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16783         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16785 2012-11-09  Andreas Jaeger  <aj@suse.de>
16787         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16788         definitions and declarations that are provided by
16789         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16791 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16793         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
16794         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16795         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16796         definition.
16798 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16800         * elf/elf.h: Update comment before AArch64 relocations.
16802 2012-11-07  David S. Miller  <davem@davemloft.net>
16804         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16805         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16806         (__start_context): Declare.
16807         (__makecontext_ret): Delete.
16808         (__makecontext): Hook up __start_context instead of
16809         __makecontext_ret.
16810         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16811         (sysdep_routines): Add __start_context when in stdlib.
16813 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16815         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16816         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16817         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
16818         hardcoded "nm".
16819         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
16820         (READELF): New variable.  Use it instead of hardcoded "readelf".
16822 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
16824         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16825         * sysdeps/x86/Makefile: Here.
16826         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16827         * sysdeps/x86/tst-xmmymm.sh: This.
16829 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16831         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16832         expectations.
16833         [UNIX98] (pthread_barrier_t): Do not expect.
16834         [UNIX98] (pthread_barrierattr_t): Likewise.
16835         [UNIX98] (pthread_spinlock_t): Likewise.
16836         [UNIX98] (pthread_barrier_destroy): Likewise.
16837         [UNIX98] (pthread_barrier_init): Likewise.
16838         [UNIX98] (pthread_barrier_wait): Likewise.
16839         [UNIX98] (pthread_barrierattr_destroy): Likewise.
16840         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16841         [UNIX98] (pthread_barrierattr_init): Likewise.
16842         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16843         [UNIX98] (pthread_getcpuclockid): Likewise.
16844         [UNIX98] (pthread_mutex_timedlock): Likewise.
16845         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16846         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16847         [UNIX98] (pthread_sigmask): Likewise.
16848         [UNIX98] (pthread_spin_destroy): Likewise.
16849         [UNIX98] (pthread_spin_init): Likewise.
16850         [UNIX98] (pthread_spin_lock): Likewise.
16851         [UNIX98] (pthread_spin_trylock): Likewise.
16852         [UNIX98] (pthread_spin_unlock): Likewise.
16853         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16854         Do not expect.
16855         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16856         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16857         [XPG3 || XPG4] (pthread_cond_t): Likewise.
16858         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16859         [XPG3 || XPG4] (pthread_key_t): Likewise.
16860         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16861         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16862         [XPG3 || XPG4] (pthread_once_t): Likewise.
16863         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16864         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16865         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16866         [XPG3 || XPG4] (pthread_t): Likewise.
16868         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16869         not expect.
16870         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16872         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16873         Change function return type to int.
16875         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16876         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16877         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16878         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16879         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16880         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16881         [!POSIX] (posix_madvise): Likewise.
16882         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16883         && !UNIX98].
16884         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16885         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16886         (mode_t): Likewise.
16887         (posix_mem_offset): Likewise.
16888         (posix_typed_mem_get_info): Likewise.
16889         (posix_typed_mem_open): Likewise.
16891         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16892         Change condition to [XOPEN2K8].
16894         * conform/conformtest.pl: Preprocess allow-header data with -x c
16895         instead of from stdin.
16896         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16897         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16898         [C99-based standards] (cerfc): Likewise.
16899         [C99-based standards] (cexp2): Likewise.
16900         [C99-based standards] (cexpm1): Likewise.
16901         [C99-based standards] (clog10): Likewise.
16902         [C99-based standards] (clog1p): Likewise.
16903         [C99-based standards] (clog2): Likewise.
16904         [C99-based standards] (clgamma): Likewise.
16905         [C99-based standards] (ctgamma): Likewise.
16906         [C99-based standards] (cerff): Likewise.
16907         [C99-based standards] (cerfcf): Likewise.
16908         [C99-based standards] (cexp2f): Likewise.
16909         [C99-based standards] (cexpm1f): Likewise.
16910         [C99-based standards] (clog10f): Likewise.
16911         [C99-based standards] (clog1pf): Likewise.
16912         [C99-based standards] (clog2f): Likewise.
16913         [C99-based standards] (clgammaf): Likewise.
16914         [C99-based standards] (ctgammaf): Likewise.
16915         [C99-based standards] (cerfl): Likewise.
16916         [C99-based standards] (cerfcl): Likewise.
16917         [C99-based standards] (cexp2l): Likewise.
16918         [C99-based standards] (cexpm1l): Likewise.
16919         [C99-based standards] (clog10l): Likewise.
16920         [C99-based standards] (clog1pl): Likewise.
16921         [C99-based standards] (clog2l): Likewise.
16922         [C99-based standards] (clgammal): Likewise.
16923         [C99-based standards] (ctgammal): Likewise.
16924         * conform/data/inttypes.h-data [C99-based standards]: Include
16925         stdint.h-data.  Remove all expectations for stdint.h contents.
16926         [C99-based standards] (PRI*): Do not allow.
16927         [C99-based standards] (SCN*): Likewise.
16928         [C99-based standards] (*_t): Likewise.
16929         [C99-based-standards] (PRId8): Expect macro.
16930         [C99-based-standards] (PRIi8): Likewise.
16931         [C99-based-standards] (PRIo8): Likewise.
16932         [C99-based-standards] (PRIu8): Likewise.
16933         [C99-based-standards] (PRIx8): Likewise.
16934         [C99-based-standards] (PRIX8): Likewise.
16935         [C99-based-standards] (SCNd8): Likewise.
16936         [C99-based-standards] (SCNi8): Likewise.
16937         [C99-based-standards] (SCNo8): Likewise.
16938         [C99-based-standards] (SCNu8): Likewise.
16939         [C99-based-standards] (SCNx8): Likewise.
16940         [C99-based-standards] (PRIdLEAST8): Likewise.
16941         [C99-based-standards] (PRIiLEAST8): Likewise.
16942         [C99-based-standards] (PRIoLEAST8): Likewise.
16943         [C99-based-standards] (PRIuLEAST8): Likewise.
16944         [C99-based-standards] (PRIxLEAST8): Likewise.
16945         [C99-based-standards] (PRIXLEAST8): Likewise.
16946         [C99-based-standards] (SCNdLEAST8): Likewise.
16947         [C99-based-standards] (SCNiLEAST8): Likewise.
16948         [C99-based-standards] (SCNoLEAST8): Likewise.
16949         [C99-based-standards] (SCNuLEAST8): Likewise.
16950         [C99-based-standards] (SCNxLEAST8): Likewise.
16951         [C99-based-standards] (PRIdFAST8): Likewise.
16952         [C99-based-standards] (PRIiFAST8): Likewise.
16953         [C99-based-standards] (PRIoFAST8): Likewise.
16954         [C99-based-standards] (PRIuFAST8): Likewise.
16955         [C99-based-standards] (PRIxFAST8): Likewise.
16956         [C99-based-standards] (PRIXFAST8): Likewise.
16957         [C99-based-standards] (SCNdFAST8): Likewise.
16958         [C99-based-standards] (SCNiFAST8): Likewise.
16959         [C99-based-standards] (SCNoFAST8): Likewise.
16960         [C99-based-standards] (SCNuFAST8): Likewise.
16961         [C99-based-standards] (SCNxFAST8): Likewise.
16962         [C99-based-standards] (PRId16): Likewise.
16963         [C99-based-standards] (PRIi16): Likewise.
16964         [C99-based-standards] (PRIo16): Likewise.
16965         [C99-based-standards] (PRIu16): Likewise.
16966         [C99-based-standards] (PRIx16): Likewise.
16967         [C99-based-standards] (PRIX16): Likewise.
16968         [C99-based-standards] (SCNd16): Likewise.
16969         [C99-based-standards] (SCNi16): Likewise.
16970         [C99-based-standards] (SCNo16): Likewise.
16971         [C99-based-standards] (SCNu16): Likewise.
16972         [C99-based-standards] (SCNx16): Likewise.
16973         [C99-based-standards] (PRIdLEAST16): Likewise.
16974         [C99-based-standards] (PRIiLEAST16): Likewise.
16975         [C99-based-standards] (PRIoLEAST16): Likewise.
16976         [C99-based-standards] (PRIuLEAST16): Likewise.
16977         [C99-based-standards] (PRIxLEAST16): Likewise.
16978         [C99-based-standards] (PRIXLEAST16): Likewise.
16979         [C99-based-standards] (SCNdLEAST16): Likewise.
16980         [C99-based-standards] (SCNiLEAST16): Likewise.
16981         [C99-based-standards] (SCNoLEAST16): Likewise.
16982         [C99-based-standards] (SCNuLEAST16): Likewise.
16983         [C99-based-standards] (SCNxLEAST16): Likewise.
16984         [C99-based-standards] (PRIdFAST16): Likewise.
16985         [C99-based-standards] (PRIiFAST16): Likewise.
16986         [C99-based-standards] (PRIoFAST16): Likewise.
16987         [C99-based-standards] (PRIuFAST16): Likewise.
16988         [C99-based-standards] (PRIxFAST16): Likewise.
16989         [C99-based-standards] (PRIXFAST16): Likewise.
16990         [C99-based-standards] (SCNdFAST16): Likewise.
16991         [C99-based-standards] (SCNiFAST16): Likewise.
16992         [C99-based-standards] (SCNoFAST16): Likewise.
16993         [C99-based-standards] (SCNuFAST16): Likewise.
16994         [C99-based-standards] (SCNxFAST16): Likewise.
16995         [C99-based-standards] (PRId32): Likewise.
16996         [C99-based-standards] (PRIi32): Likewise.
16997         [C99-based-standards] (PRIo32): Likewise.
16998         [C99-based-standards] (PRIu32): Likewise.
16999         [C99-based-standards] (PRIx32): Likewise.
17000         [C99-based-standards] (PRIX32): Likewise.
17001         [C99-based-standards] (SCNd32): Likewise.
17002         [C99-based-standards] (SCNi32): Likewise.
17003         [C99-based-standards] (SCNo32): Likewise.
17004         [C99-based-standards] (SCNu32): Likewise.
17005         [C99-based-standards] (SCNx32): Likewise.
17006         [C99-based-standards] (PRIdLEAST32): Likewise.
17007         [C99-based-standards] (PRIiLEAST32): Likewise.
17008         [C99-based-standards] (PRIoLEAST32): Likewise.
17009         [C99-based-standards] (PRIuLEAST32): Likewise.
17010         [C99-based-standards] (PRIxLEAST32): Likewise.
17011         [C99-based-standards] (PRIXLEAST32): Likewise.
17012         [C99-based-standards] (SCNdLEAST32): Likewise.
17013         [C99-based-standards] (SCNiLEAST32): Likewise.
17014         [C99-based-standards] (SCNoLEAST32): Likewise.
17015         [C99-based-standards] (SCNuLEAST32): Likewise.
17016         [C99-based-standards] (SCNxLEAST32): Likewise.
17017         [C99-based-standards] (PRIdFAST32): Likewise.
17018         [C99-based-standards] (PRIiFAST32): Likewise.
17019         [C99-based-standards] (PRIoFAST32): Likewise.
17020         [C99-based-standards] (PRIuFAST32): Likewise.
17021         [C99-based-standards] (PRIxFAST32): Likewise.
17022         [C99-based-standards] (PRIXFAST32): Likewise.
17023         [C99-based-standards] (SCNdFAST32): Likewise.
17024         [C99-based-standards] (SCNiFAST32): Likewise.
17025         [C99-based-standards] (SCNoFAST32): Likewise.
17026         [C99-based-standards] (SCNuFAST32): Likewise.
17027         [C99-based-standards] (SCNxFAST32): Likewise.
17028         [C99-based-standards] (PRId64): Likewise.
17029         [C99-based-standards] (PRIi64): Likewise.
17030         [C99-based-standards] (PRIo64): Likewise.
17031         [C99-based-standards] (PRIu64): Likewise.
17032         [C99-based-standards] (PRIx64): Likewise.
17033         [C99-based-standards] (PRIX64): Likewise.
17034         [C99-based-standards] (SCNd64): Likewise.
17035         [C99-based-standards] (SCNi64): Likewise.
17036         [C99-based-standards] (SCNo64): Likewise.
17037         [C99-based-standards] (SCNu64): Likewise.
17038         [C99-based-standards] (SCNx64): Likewise.
17039         [C99-based-standards] (PRIdLEAST64): Likewise.
17040         [C99-based-standards] (PRIiLEAST64): Likewise.
17041         [C99-based-standards] (PRIoLEAST64): Likewise.
17042         [C99-based-standards] (PRIuLEAST64): Likewise.
17043         [C99-based-standards] (PRIxLEAST64): Likewise.
17044         [C99-based-standards] (PRIXLEAST64): Likewise.
17045         [C99-based-standards] (SCNdLEAST64): Likewise.
17046         [C99-based-standards] (SCNiLEAST64): Likewise.
17047         [C99-based-standards] (SCNoLEAST64): Likewise.
17048         [C99-based-standards] (SCNuLEAST64): Likewise.
17049         [C99-based-standards] (SCNxLEAST64): Likewise.
17050         [C99-based-standards] (PRIdFAST64): Likewise.
17051         [C99-based-standards] (PRIiFAST64): Likewise.
17052         [C99-based-standards] (PRIoFAST64): Likewise.
17053         [C99-based-standards] (PRIuFAST64): Likewise.
17054         [C99-based-standards] (PRIxFAST64): Likewise.
17055         [C99-based-standards] (PRIXFAST64): Likewise.
17056         [C99-based-standards] (SCNdFAST64): Likewise.
17057         [C99-based-standards] (SCNiFAST64): Likewise.
17058         [C99-based-standards] (SCNoFAST64): Likewise.
17059         [C99-based-standards] (SCNuFAST64): Likewise.
17060         [C99-based-standards] (SCNxFAST64): Likewise.
17061         [C99-based-standards] (PRIdMAX): Likewise.
17062         [C99-based-standards] (PRIiMAX): Likewise.
17063         [C99-based-standards] (PRIoMAX): Likewise.
17064         [C99-based-standards] (PRIuMAX): Likewise.
17065         [C99-based-standards] (PRIxMAX): Likewise.
17066         [C99-based-standards] (PRIXMAX): Likewise.
17067         [C99-based-standards] (SCNdMAX): Likewise.
17068         [C99-based-standards] (SCNiMAX): Likewise.
17069         [C99-based-standards] (SCNoMAX): Likewise.
17070         [C99-based-standards] (SCNuMAX): Likewise.
17071         [C99-based-standards] (SCNxMAX): Likewise.
17072         [C99-based-standards] (PRIdPTR): Likewise.
17073         [C99-based-standards] (PRIiPTR): Likewise.
17074         [C99-based-standards] (PRIoPTR): Likewise.
17075         [C99-based-standards] (PRIuPTR): Likewise.
17076         [C99-based-standards] (PRIxPTR): Likewise.
17077         [C99-based-standards] (PRIXPTR): Likewise.
17078         [C99-based-standards] (SCNdPTR): Likewise.
17079         [C99-based-standards] (SCNiPTR): Likewise.
17080         [C99-based-standards] (SCNoPTR): Likewise.
17081         [C99-based-standards] (SCNuPTR): Likewise.
17082         [C99-based-standards] (SCNxPTR): Likewise.
17083         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
17084         allow.
17085         * conform/data/stdint.h-data: Update comments to clarify
17086         requirements.
17087         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
17088         type.
17089         [C99-based standards] (INT8_MAX): Likewise.
17090         [C99-based standards] (INT16_MIN): Likewise.
17091         [C99-based standards] (INT16_MAX): Likewise.
17092         [C99-based standards] (INT32_MIN): Likewise.
17093         [C99-based standards] (INT32_MAX): Likewise.
17094         [C99-based standards] (INT64_MIN): Likewise.
17095         [C99-based standards] (INT64_MAX): Likewise.
17096         [C99-based standards] (UINT8_MAX): Likewise.
17097         [C99-based standards] (UINT16_MAX): Likewise.
17098         [C99-based standards] (UINT32_MAX): Likewise.
17099         [C99-based standards] (UINT64_MAX): Likewise.
17100         [C99-based standards] (INT_LEAST8_MIN): Likewise.
17101         [C99-based standards] (INT_LEAST8_MAX): Likewise.
17102         [C99-based standards] (INT_LEAST16_MIN): Likewise.
17103         [C99-based standards] (INT_LEAST16_MAX): Likewise.
17104         [C99-based standards] (INT_LEAST32_MIN): Likewise.
17105         [C99-based standards] (INT_LEAST32_MAX): Likewise.
17106         [C99-based standards] (INT_LEAST64_MIN): Likewise.
17107         [C99-based standards] (INT_LEAST64_MAX): Likewise.
17108         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
17109         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
17110         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
17111         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
17112         [C99-based standards] (INT_FAST8_MIN): Likewise.
17113         [C99-based standards] (INT_FAST8_MAX): Likewise.
17114         [C99-based standards] (INT_FAST16_MIN): Likewise.
17115         [C99-based standards] (INT_FAST16_MAX): Likewise.
17116         [C99-based standards] (INT_FAST32_MIN): Likewise.
17117         [C99-based standards] (INT_FAST32_MAX): Likewise.
17118         [C99-based standards] (INT_FAST64_MIN): Likewise.
17119         [C99-based standards] (INT_FAST64_MAX): Likewise.
17120         [C99-based standards] (UINT_FAST8_MAX): Likewise.
17121         [C99-based standards] (UINT_FAST16_MAX): Likewise.
17122         [C99-based standards] (UINT_FAST32_MAX): Likewise.
17123         [C99-based standards] (UINT_FAST64_MAX): Likewise.
17124         [C99-based standards] (INTPTR_MIN): Likewise.
17125         [C99-based standards] (INTPTR_MAX): Likewise.
17126         [C99-based standards] (UINTPTR_MAX): Likewise.
17127         [C99-based standards] (INTMAX_MIN): Likewise.
17128         [C99-based standards] (INTMAX_MAX): Likewise.
17129         [C99-based standards] (UINTMAX_MAX): Likewise.
17130         [C99-based standards] (PTRDIFF_MIN): Likewise.
17131         [C99-based standards] (PTRDIFF_MAX): Likewise.
17132         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
17133         [C99-based standards] (SIZE_MAX): Likewise.
17134         [C99-based standards] (WCHAR_MAX): Likewise.
17135         [C99-based standards] (WINT_MAX): Likewise.
17136         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
17137         constraint on value.
17138         [C99-based standards] (WCHAR_MIN): Likewise.
17139         [C99-based standards] (WINT_MIN): Likewise.
17140         [C99-based standards] (*_t): Allow.
17141         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
17142         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
17143         Include math.h-data and complex.h-data.  Remove all expectations
17144         of math.h and complex.h contents.
17145         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
17146         at end of line.
17147         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
17148         (struct tm): Expect tag.
17149         [C99-based-standards] (wcstof): Expect function.
17150         [C99-based-standards] (wcstold): Likewise.
17151         [C99-based-standards] (wcstoll): Likewise.
17152         [C99-based-standards] (wcstoull): Likewise.
17153         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
17154         macro-int-constant.  Specify type.
17155         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
17156         constraint on value.
17157         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17158         Specify type.
17159         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
17160         Specify value.
17161         [ISO C standards]: Do not allow headers.
17162         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
17163         wcs[abcdefghijklmnopqrstuvwxyz]*.
17164         [ISO C standards] (*_t): Do not allow.
17165         * conform/data/wctype.h-data [C99-based standards] (iswblank):
17166         Expect function.
17167         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
17168         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17169         Specify type.
17170         [ISO C standards]: Do not allow headers.
17171         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
17172         is[abcdefghijklmnopqrstuvwxyz]*.
17173         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
17174         to[abcdefghijklmnopqrstuvwxyz]*.
17175         [ISO C standards] (*_t): Do not allow.
17176         * conform/data/stdalign.h-data: New file.
17177         * conform/data/stdbool.h-data: Likewise.
17178         * conform/data/stdnoreturn.h-data: Likewise.
17180 2012-11-07  Roland McGrath  <roland@hack.frob.com>
17182         [BZ #14815]
17183         * manual/filesys.texi (Directory Entries): Typo fix.
17184         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
17186 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17188         * elf/elf.h (EM_AARCH64): New macro.
17189         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
17190         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
17191         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
17192         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
17193         (R_AARCH64_TLSDESC): Likewise.
17194         (NT_ARM_TLS): Likewise.
17195         (NT_ARM_HW_BREAK): Likewise.
17196         (NT_ARM_HW_WATCH): Likewise.
17198 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
17200         [BZ #14811]
17201         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
17202         (__ieee754_powl): Saturate nonzero exponents with absolute value
17203         below 0x1p-79 to +/- 0x1p-79.
17204         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
17205         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
17206         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
17207         nonzero exponents with absolute value below 0x1p-32 to +/-
17208         0x1p-32.
17209         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
17210         (__ieee754_powl): Saturate nonzero exponents with absolute value
17211         below 0x1p-79 to +/- 0x1p-79.
17212         * math/libm-test.inc (pow_test): Add more tests.
17214 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17216         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
17217         _dl_s390_cap_flags with kernel. Increase string length.
17218         (_dl_s390_platforms): Add z196 and zEC12.
17220 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
17222         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
17223         Change XOPEN21K to XOPEN2K.
17225 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
17227         * string/memmove.c: Use memcpy when possible.
17229 2012-11-06  Andreas Jaeger  <aj@suse.de>
17231         * po/eo.po: Update from translation team.
17233 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
17235         [BZ #14793]
17236         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
17237         exponent and small x and y exponents, scale x or y up.  Increase
17238         by 2 the exponent used in scaling up.
17239         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17240         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17241         * math/libm-test.inc (fma_test): Add more tests.
17242         (fma_test_towardzero): Likewise.
17243         (fma_test_downward): Likewise.
17244         (fma_test_upward): Likewise.
17246 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
17248         [BZ #14805]
17249         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
17250         fenv_t *.
17252         [BZ #14801]
17253         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
17254         namespace for names of struct fields.
17255         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
17256         fenv_t fields.
17257         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
17258         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
17260 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17262         [BZ #3665]
17263         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
17265 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
17267         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
17268         PTR_DEMANGLE.
17270         [BZ #5246]
17271         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
17272         PTR_DEMANGLE.
17274 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
17276         [BZ #14797]
17277         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
17278         definitely overflow as x * y not x * y + z.
17279         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17280         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17281         * math/libm-test.inc (fma_test): Add more tests.
17282         (fma_test_towardzero): Likewise.
17283         (fma_test_downward): Likewise.
17284         (fma_test_upward): Likewise.
17286 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
17288         [BZ #157]
17290         * include/stub-tag.h: Remove file.
17291         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
17292         '#include' of it.
17293         * manual/maint.texi (Porting): Don't reference it.
17294         * Makerules ($(objpfx)stubs): Likewise.
17295         * dirent/closedir.c: Don't include <stub-tag.h>.
17296         * dirent/dirfd.c: Likewise.
17297         * dirent/fdopendir.c: Likewise.
17298         * dirent/getdents.c: Likewise.
17299         * dirent/getdents64.c: Likewise.
17300         * dirent/opendir.c: Likewise.
17301         * dirent/readdir.c: Likewise.
17302         * dirent/readdir64.c: Likewise.
17303         * dirent/readdir64_r.c: Likewise.
17304         * dirent/readdir_r.c: Likewise.
17305         * dirent/rewinddir.c: Likewise.
17306         * dirent/seekdir.c: Likewise.
17307         * dirent/telldir.c: Likewise.
17308         * gmon/profil.c: Likewise.
17309         * grp/setgroups.c: Likewise.
17310         * inet/if_index.c: Likewise.
17311         * io/access.c: Likewise.
17312         * io/chdir.c: Likewise.
17313         * io/chmod.c: Likewise.
17314         * io/chown.c: Likewise.
17315         * io/close.c: Likewise.
17316         * io/dup.c: Likewise.
17317         * io/dup2.c: Likewise.
17318         * io/dup3.c: Likewise.
17319         * io/euidaccess.c: Likewise.
17320         * io/faccessat.c: Likewise.
17321         * io/fchdir.c: Likewise.
17322         * io/fchmod.c: Likewise.
17323         * io/fchmodat.c: Likewise.
17324         * io/fchown.c: Likewise.
17325         * io/fchownat.c: Likewise.
17326         * io/fcntl.c: Likewise.
17327         * io/flock.c: Likewise.
17328         * io/fstatfs.c: Likewise.
17329         * io/fstatfs64.c: Likewise.
17330         * io/fstatvfs.c: Likewise.
17331         * io/fstatvfs64.c: Likewise.
17332         * io/futimens.c: Likewise.
17333         * io/fxstat.c: Likewise.
17334         * io/fxstat64.c: Likewise.
17335         * io/fxstatat.c: Likewise.
17336         * io/fxstatat64.c: Likewise.
17337         * io/getcwd.c: Likewise.
17338         * io/isatty.c: Likewise.
17339         * io/lchmod.c: Likewise.
17340         * io/lchown.c: Likewise.
17341         * io/link.c: Likewise.
17342         * io/linkat.c: Likewise.
17343         * io/lseek.c: Likewise.
17344         * io/lseek64.c: Likewise.
17345         * io/lxstat64.c: Likewise.
17346         * io/mkdir.c: Likewise.
17347         * io/mkdirat.c: Likewise.
17348         * io/mkfifo.c: Likewise.
17349         * io/mkfifoat.c: Likewise.
17350         * io/open.c: Likewise.
17351         * io/open64.c: Likewise.
17352         * io/openat.c: Likewise.
17353         * io/openat64.c: Likewise.
17354         * io/pipe.c: Likewise.
17355         * io/pipe2.c: Likewise.
17356         * io/poll.c: Likewise.
17357         * io/posix_fadvise.c: Likewise.
17358         * io/posix_fadvise64.c: Likewise.
17359         * io/posix_fallocate.c: Likewise.
17360         * io/posix_fallocate64.c: Likewise.
17361         * io/read.c: Likewise.
17362         * io/readlink.c: Likewise.
17363         * io/readlinkat.c: Likewise.
17364         * io/rmdir.c: Likewise.
17365         * io/sendfile.c: Likewise.
17366         * io/sendfile64.c: Likewise.
17367         * io/statfs.c: Likewise.
17368         * io/statfs64.c: Likewise.
17369         * io/statvfs.c: Likewise.
17370         * io/statvfs64.c: Likewise.
17371         * io/symlink.c: Likewise.
17372         * io/symlinkat.c: Likewise.
17373         * io/ttyname.c: Likewise.
17374         * io/ttyname_r.c: Likewise.
17375         * io/umask.c: Likewise.
17376         * io/unlink.c: Likewise.
17377         * io/unlinkat.c: Likewise.
17378         * io/utime.c: Likewise.
17379         * io/utimensat.c: Likewise.
17380         * io/write.c: Likewise.
17381         * io/xmknod.c: Likewise.
17382         * io/xmknodat.c: Likewise.
17383         * io/xstat.c: Likewise.
17384         * io/xstat64.c: Likewise.
17385         * login/getpt.c: Likewise.
17386         * login/grantpt.c: Likewise.
17387         * login/unlockpt.c: Likewise.
17388         * math/e_acoshl.c: Likewise.
17389         * math/e_acosl.c: Likewise.
17390         * math/e_asinl.c: Likewise.
17391         * math/e_atan2l.c: Likewise.
17392         * math/e_atanhl.c: Likewise.
17393         * math/e_coshl.c: Likewise.
17394         * math/e_expl.c: Likewise.
17395         * math/e_fmodl.c: Likewise.
17396         * math/e_gammal_r.c: Likewise.
17397         * math/e_hypotl.c: Likewise.
17398         * math/e_j0l.c: Likewise.
17399         * math/e_j1l.c: Likewise.
17400         * math/e_jnl.c: Likewise.
17401         * math/e_lgammal_r.c: Likewise.
17402         * math/e_log10l.c: Likewise.
17403         * math/e_log2l.c: Likewise.
17404         * math/e_logl.c: Likewise.
17405         * math/e_powl.c: Likewise.
17406         * math/e_rem_pio2l.c: Likewise.
17407         * math/e_sinhl.c: Likewise.
17408         * math/e_sqrtl.c: Likewise.
17409         * math/fclrexcpt.c: Likewise.
17410         * math/fedisblxcpt.c: Likewise.
17411         * math/feenablxcpt.c: Likewise.
17412         * math/fegetenv.c: Likewise.
17413         * math/fegetexcept.c: Likewise.
17414         * math/fegetround.c: Likewise.
17415         * math/feholdexcpt.c: Likewise.
17416         * math/fesetenv.c: Likewise.
17417         * math/fesetround.c: Likewise.
17418         * math/feupdateenv.c: Likewise.
17419         * math/fgetexcptflg.c: Likewise.
17420         * math/fraiseexcpt.c: Likewise.
17421         * math/fsetexcptflg.c: Likewise.
17422         * math/ftestexcept.c: Likewise.
17423         * math/k_cosl.c: Likewise.
17424         * math/k_rem_pio2l.c: Likewise.
17425         * math/k_sinl.c: Likewise.
17426         * math/k_tanl.c: Likewise.
17427         * math/s_asinhl.c: Likewise.
17428         * math/s_atanl.c: Likewise.
17429         * math/s_cbrtl.c: Likewise.
17430         * math/s_erfl.c: Likewise.
17431         * math/s_expm1l.c: Likewise.
17432         * math/s_log1pl.c: Likewise.
17433         * math/s_tanhl.c: Likewise.
17434         * misc/acct.c: Likewise.
17435         * misc/brk.c: Likewise.
17436         * misc/chflags.c: Likewise.
17437         * misc/chroot.c: Likewise.
17438         * misc/fchflags.c: Likewise.
17439         * misc/fgetxattr.c: Likewise.
17440         * misc/flistxattr.c: Likewise.
17441         * misc/fremovexattr.c: Likewise.
17442         * misc/fsetxattr.c: Likewise.
17443         * misc/fsync.c: Likewise.
17444         * misc/ftruncate.c: Likewise.
17445         * misc/futimes.c: Likewise.
17446         * misc/futimesat.c: Likewise.
17447         * misc/getdomain.c: Likewise.
17448         * misc/getdtsz.c: Likewise.
17449         * misc/gethostid.c: Likewise.
17450         * misc/gethostname.c: Likewise.
17451         * misc/getloadavg.c: Likewise.
17452         * misc/getpagesize.c: Likewise.
17453         * misc/getsysstats.c: Likewise.
17454         * misc/getxattr.c: Likewise.
17455         * misc/gtty.c: Likewise.
17456         * misc/ioctl.c: Likewise.
17457         * misc/lgetxattr.c: Likewise.
17458         * misc/listxattr.c: Likewise.
17459         * misc/llistxattr.c: Likewise.
17460         * misc/lremovexattr.c: Likewise.
17461         * misc/lsetxattr.c: Likewise.
17462         * misc/lutimes.c: Likewise.
17463         * misc/madvise.c: Likewise.
17464         * misc/mincore.c: Likewise.
17465         * misc/mlock.c: Likewise.
17466         * misc/mlockall.c: Likewise.
17467         * misc/mmap.c: Likewise.
17468         * misc/mprotect.c: Likewise.
17469         * misc/msync.c: Likewise.
17470         * misc/munlock.c: Likewise.
17471         * misc/munlockall.c: Likewise.
17472         * misc/munmap.c: Likewise.
17473         * misc/preadv.c: Likewise.
17474         * misc/preadv64.c: Likewise.
17475         * misc/ptrace.c: Likewise.
17476         * misc/pwritev.c: Likewise.
17477         * misc/pwritev64.c: Likewise.
17478         * misc/readv.c: Likewise.
17479         * misc/reboot.c: Likewise.
17480         * misc/remap_file_pages.c: Likewise.
17481         * misc/removexattr.c: Likewise.
17482         * misc/revoke.c: Likewise.
17483         * misc/select.c: Likewise.
17484         * misc/setdomain.c: Likewise.
17485         * misc/setegid.c: Likewise.
17486         * misc/seteuid.c: Likewise.
17487         * misc/sethostid.c: Likewise.
17488         * misc/sethostname.c: Likewise.
17489         * misc/setregid.c: Likewise.
17490         * misc/setreuid.c: Likewise.
17491         * misc/setxattr.c: Likewise.
17492         * misc/sstk.c: Likewise.
17493         * misc/stty.c: Likewise.
17494         * misc/swapoff.c: Likewise.
17495         * misc/swapon.c: Likewise.
17496         * misc/sync.c: Likewise.
17497         * misc/syncfs.c: Likewise.
17498         * misc/syscall.c: Likewise.
17499         * misc/truncate.c: Likewise.
17500         * misc/ualarm.c: Likewise.
17501         * misc/usleep.c: Likewise.
17502         * misc/ustat.c: Likewise.
17503         * misc/utimes.c: Likewise.
17504         * misc/vhangup.c: Likewise.
17505         * misc/writev.c: Likewise.
17506         * posix/_exit.c: Likewise.
17507         * posix/alarm.c: Likewise.
17508         * posix/execve.c: Likewise.
17509         * posix/fexecve.c: Likewise.
17510         * posix/fork.c: Likewise.
17511         * posix/fpathconf.c: Likewise.
17512         * posix/getaddrinfo.c: Likewise.
17513         * posix/getegid.c: Likewise.
17514         * posix/geteuid.c: Likewise.
17515         * posix/getgid.c: Likewise.
17516         * posix/getgroups.c: Likewise.
17517         * posix/getlogin.c: Likewise.
17518         * posix/getlogin_r.c: Likewise.
17519         * posix/getpgid.c: Likewise.
17520         * posix/getpid.c: Likewise.
17521         * posix/getppid.c: Likewise.
17522         * posix/getresgid.c: Likewise.
17523         * posix/getresuid.c: Likewise.
17524         * posix/getsid.c: Likewise.
17525         * posix/getuid.c: Likewise.
17526         * posix/glob64.c: Likewise.
17527         * posix/nanosleep.c: Likewise.
17528         * posix/pathconf.c: Likewise.
17529         * posix/pause.c: Likewise.
17530         * posix/posix_madvise.c: Likewise.
17531         * posix/pread.c: Likewise.
17532         * posix/pread64.c: Likewise.
17533         * posix/pwrite.c: Likewise.
17534         * posix/pwrite64.c: Likewise.
17535         * posix/sched_getaffinity.c: Likewise.
17536         * posix/sched_getp.c: Likewise.
17537         * posix/sched_gets.c: Likewise.
17538         * posix/sched_primax.c: Likewise.
17539         * posix/sched_primin.c: Likewise.
17540         * posix/sched_rr_gi.c: Likewise.
17541         * posix/sched_setaffinity.c: Likewise.
17542         * posix/sched_setp.c: Likewise.
17543         * posix/sched_sets.c: Likewise.
17544         * posix/sched_yield.c: Likewise.
17545         * posix/setgid.c: Likewise.
17546         * posix/setlogin.c: Likewise.
17547         * posix/setpgid.c: Likewise.
17548         * posix/setresgid.c: Likewise.
17549         * posix/setresuid.c: Likewise.
17550         * posix/setsid.c: Likewise.
17551         * posix/setuid.c: Likewise.
17552         * posix/sleep.c: Likewise.
17553         * posix/spawni.c: Likewise.
17554         * posix/sysconf.c: Likewise.
17555         * posix/times.c: Likewise.
17556         * posix/wait.c: Likewise.
17557         * posix/wait3.c: Likewise.
17558         * posix/wait4.c: Likewise.
17559         * posix/waitpid.c: Likewise.
17560         * resolv/gai_sigqueue.c: Likewise.
17561         * resource/getpriority.c: Likewise.
17562         * resource/getrlimit.c: Likewise.
17563         * resource/getrusage.c: Likewise.
17564         * resource/nice.c: Likewise.
17565         * resource/setpriority.c: Likewise.
17566         * resource/setrlimit.c: Likewise.
17567         * resource/ulimit.c: Likewise.
17568         * rt/aio_cancel.c: Likewise.
17569         * rt/aio_fsync.c: Likewise.
17570         * rt/aio_read.c: Likewise.
17571         * rt/aio_sigqueue.c: Likewise.
17572         * rt/aio_suspend.c: Likewise.
17573         * rt/aio_write.c: Likewise.
17574         * rt/clock_getres.c: Likewise.
17575         * rt/clock_gettime.c: Likewise.
17576         * rt/clock_nanosleep.c: Likewise.
17577         * rt/clock_settime.c: Likewise.
17578         * rt/lio_listio.c: Likewise.
17579         * rt/mq_close.c: Likewise.
17580         * rt/mq_getattr.c: Likewise.
17581         * rt/mq_notify.c: Likewise.
17582         * rt/mq_open.c: Likewise.
17583         * rt/mq_receive.c: Likewise.
17584         * rt/mq_send.c: Likewise.
17585         * rt/mq_setattr.c: Likewise.
17586         * rt/mq_timedreceive.c: Likewise.
17587         * rt/mq_timedsend.c: Likewise.
17588         * rt/mq_unlink.c: Likewise.
17589         * rt/shm_open.c: Likewise.
17590         * rt/shm_unlink.c: Likewise.
17591         * rt/timer_create.c: Likewise.
17592         * rt/timer_delete.c: Likewise.
17593         * rt/timer_getoverr.c: Likewise.
17594         * rt/timer_gettime.c: Likewise.
17595         * rt/timer_settime.c: Likewise.
17596         * setjmp/__longjmp.c: Likewise.
17597         * setjmp/setjmp.c: Likewise.
17598         * signal/kill.c: Likewise.
17599         * signal/killpg.c: Likewise.
17600         * signal/raise.c: Likewise.
17601         * signal/sigaction.c: Likewise.
17602         * signal/sigaltstack.c: Likewise.
17603         * signal/sigblock.c: Likewise.
17604         * signal/sigignore.c: Likewise.
17605         * signal/sigintr.c: Likewise.
17606         * signal/signal.c: Likewise.
17607         * signal/sigpause.c: Likewise.
17608         * signal/sigpending.c: Likewise.
17609         * signal/sigqueue.c: Likewise.
17610         * signal/sigreturn.c: Likewise.
17611         * signal/sigset.c: Likewise.
17612         * signal/sigsetmask.c: Likewise.
17613         * signal/sigstack.c: Likewise.
17614         * signal/sigsuspend.c: Likewise.
17615         * signal/sigtimedwait.c: Likewise.
17616         * signal/sigvec.c: Likewise.
17617         * signal/sigwait.c: Likewise.
17618         * signal/sigwaitinfo.c: Likewise.
17619         * signal/sysv_signal.c: Likewise.
17620         * socket/accept.c: Likewise.
17621         * socket/accept4.c: Likewise.
17622         * socket/bind.c: Likewise.
17623         * socket/connect.c: Likewise.
17624         * socket/getpeername.c: Likewise.
17625         * socket/getsockname.c: Likewise.
17626         * socket/getsockopt.c: Likewise.
17627         * socket/isfdtype.c: Likewise.
17628         * socket/listen.c: Likewise.
17629         * socket/recv.c: Likewise.
17630         * socket/recvfrom.c: Likewise.
17631         * socket/recvmsg.c: Likewise.
17632         * socket/send.c: Likewise.
17633         * socket/sendmsg.c: Likewise.
17634         * socket/sendto.c: Likewise.
17635         * socket/setsockopt.c: Likewise.
17636         * socket/shutdown.c: Likewise.
17637         * socket/sockatmark.c: Likewise.
17638         * socket/socket.c: Likewise.
17639         * socket/socketpair.c: Likewise.
17640         * stdio-common/ctermid.c: Likewise.
17641         * stdio-common/cuserid.c: Likewise.
17642         * stdio-common/remove.c: Likewise.
17643         * stdio-common/rename.c: Likewise.
17644         * stdio-common/renameat.c: Likewise.
17645         * stdio-common/tempname.c: Likewise.
17646         * stdlib/getcontext.c: Likewise.
17647         * stdlib/makecontext.c: Likewise.
17648         * stdlib/setcontext.c: Likewise.
17649         * stdlib/swapcontext.c: Likewise.
17650         * stdlib/system.c: Likewise.
17651         * streams/fattach.c: Likewise.
17652         * streams/fdetach.c: Likewise.
17653         * streams/getmsg.c: Likewise.
17654         * streams/getpmsg.c: Likewise.
17655         * streams/putmsg.c: Likewise.
17656         * streams/putpmsg.c: Likewise.
17657         * sysdeps/unix/bsd/getpt.c: Likewise.
17658         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
17659         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
17660         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17662         Likewise.
17663         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
17664         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17665         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17666         * sysvipc/msgctl.c: Likewise.
17667         * sysvipc/msgget.c: Likewise.
17668         * sysvipc/msgrcv.c: Likewise.
17669         * sysvipc/msgsnd.c: Likewise.
17670         * sysvipc/semctl.c: Likewise.
17671         * sysvipc/semget.c: Likewise.
17672         * sysvipc/semop.c: Likewise.
17673         * sysvipc/semtimedop.c: Likewise.
17674         * sysvipc/shmat.c: Likewise.
17675         * sysvipc/shmctl.c: Likewise.
17676         * sysvipc/shmdt.c: Likewise.
17677         * sysvipc/shmget.c: Likewise.
17678         * termios/tcdrain.c: Likewise.
17679         * termios/tcflow.c: Likewise.
17680         * termios/tcflush.c: Likewise.
17681         * termios/tcgetattr.c: Likewise.
17682         * termios/tcgetpgrp.c: Likewise.
17683         * termios/tcsendbrk.c: Likewise.
17684         * termios/tcsetattr.c: Likewise.
17685         * termios/tcsetpgrp.c: Likewise.
17686         * time/adjtime.c: Likewise.
17687         * time/clock.c: Likewise.
17688         * time/getitimer.c: Likewise.
17689         * time/gettimeofday.c: Likewise.
17690         * time/setitimer.c: Likewise.
17691         * time/settimeofday.c: Likewise.
17692         * time/stime.c: Likewise.
17693         * time/time.c: Likewise.
17695 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
17697         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
17698         /usr/old/bin.
17700         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
17701         instead of spaces.
17702         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
17704 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
17706         [BZ #14796]
17707         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
17708         FE_TONEAREST before applying Dekker multiplication and Knuth
17709         addition.  Clear inexact exceptions and check for exact zero
17710         results afterwards.
17711         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17712         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17713         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17714         * math/libm-test.inc (fma_test): Add more tests.
17715         (fma_test_towardzero): Likewise.
17716         (fma_test_downward): Likewise.
17717         (fma_test_upward): Likewise.
17718         * sysdeps/generic/math_private.h (default_libc_fesetround): New
17719         function.
17720         (libc_fesetround): New macro.
17721         (libc_fesetroundf): Likewise.
17722         (libc_fesetroundl): Likewise.
17723         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
17724         function.
17725         (libc_fesetround_387): Likewise.
17726         (libc_fesetroundf): New macro.
17727         (libc_fesetround): Likewise.
17728         (libc_fesetroundl): Likewise.
17729         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
17730         function.
17731         (libc_fesetroundf): New macro.
17732         (libc_fesetround): Likewise.
17733         (libc_fesetroundl): Likewise.
17734         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
17735         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
17736         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
17737         libm_hidden_ver.
17738         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
17739         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
17740         libm_hidden_def.
17741         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
17742         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
17743         libm_hidden_ver.
17744         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
17745         libm_hidden_def.
17747         [BZ #3439]
17748         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
17749         integer constant usable in #if and use that to give value to enum
17750         constant.
17751         (FE_DIVBYZERO): Likewise.
17752         (FE_UNDERFLOW): Likewise.
17753         (FE_OVERFLOW): Likewise.
17754         (FE_INVALID): Likewise.
17755         (FE_INVALID_SNAN): Likewise.
17756         (FE_INVALID_ISI): Likewise.
17757         (FE_INVALID_IDI): Likewise.
17758         (FE_INVALID_ZDZ): Likewise.
17759         (FE_INVALID_IMZ): Likewise.
17760         (FE_INVALID_COMPARE): Likewise.
17761         (FE_INVALID_SOFTWARE): Likewise.
17762         (FE_INVALID_SQRT): Likewise.
17763         (FE_INVALID_INTEGER_CONVERSION): Likewise.
17764         (FE_TONEAREST): Likewise.
17765         (FE_TOWARDZERO): Likewise.
17766         (FE_UPWARD): Likewise.
17767         (FE_DOWNWARD): Likewise.
17768         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
17769         (FE_DIVBYZERO): Likewise.
17770         (FE_OVERFLOW): Likewise.
17771         (FE_UNDERFLOW): Likewise.
17772         (FE_INEXACT): Likewise.
17773         (FE_TONEAREST): Likewise.
17774         (FE_DOWNWARD): Likewise.
17775         (FE_UPWARD): Likewise.
17776         (FE_TOWARDZERO): Likewise.
17777         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17778         (FE_UNDERFLOW): Likewise.
17779         (FE_OVERFLOW): Likewise.
17780         (FE_DIVBYZERO): Likewise.
17781         (FE_INVALID): Likewise.
17782         (FE_TONEAREST): Likewise.
17783         (FE_TOWARDZERO): Likewise.
17784         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17785         (FE_OVERFLOW): Likewise.
17786         (FE_UNDERFLOW): Likewise.
17787         (FE_DIVBYZERO): Likewise.
17788         (FE_INEXACT): Likewise.
17789         (FE_TONEAREST): Likewise.
17790         (FE_TOWARDZERO): Likewise.
17791         (FE_UPWARD): Likewise.
17792         (FE_DOWNWARD): Likewise.
17793         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17794         (FE_DIVBYZERO): Likewise.
17795         (FE_OVERFLOW): Likewise.
17796         (FE_UNDERFLOW): Likewise.
17797         (FE_INEXACT): Likewise.
17798         (FE_TONEAREST): Likewise.
17799         (FE_DOWNWARD): Likewise.
17800         (FE_UPWARD): Likewise.
17801         (FE_TOWARDZERO): Likewise.
17803 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
17805         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17807 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
17809         * scripts/cross-test-ssh.sh (command): Use newlines to separate
17810         commands.  Quote $PWD.
17811         (blacklist_exports): Don't use remove_newlines.  Replace "declare
17812         -x" by "export".
17813         (remove_newlines): Remove.
17815 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
17817         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17818         * stdlib/stdlib.h (atof): Moved to ...
17819         * include/bits/stdlib-float.h: Here.  New file.
17820         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17821         * stdlib/bits/stdlib-float.h: New file.
17822         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17823         -mno-sse -mno-mmx.
17824         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17825         <xmmintrin.h>.
17827 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
17829         * conform/conformtest.pl (@headers): Add fenv.h.
17830         * conform/data/fenv.h-data: New file.
17831         * include/fenv.h [_ISOMAC]: Disable all contents of file except
17832         include of <math/fenv.h>.
17834         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17835         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17836         && !UNIX98].  Enables tests for XOPEN2K8.
17837         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17838         POSIX2008]: Likewise.
17840         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17841         (struct rusage): Do not expect type or its members.
17843         [BZ #3439]
17844         * math/math.h (FP_NAN): Define macro to integer constant usable in
17845         #if and use that to give value to enum constant.
17846         (FP_INFINITE): Likewise.
17847         (FP_ZERO): Likewise.
17848         (FP_SUBNORMAL): Likewise.
17849         (FP_NORMAL): Likewise.
17851 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
17853         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17854         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17855         arguments.
17857 2012-11-02  Roland McGrath  <roland@hack.frob.com>
17859         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17860         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17861         autoconf-time if not.
17862         * configure.in: Remove AC_PREREQ.
17864 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17866         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17867         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17868         of the internal implementation.
17870 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
17872         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17873         except include of <misc/sys/syslog.h>.
17875 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
17877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17878         function returns with a NULL context exit with zero.
17880 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17882         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17884 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
17886         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17887         (run_program_cmd): This.
17888         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17889         (tst_langinfo): New variable.  Use it.
17891 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
17893         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17894         floating point opcodes.
17896 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17898         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17899         variable.
17901         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17903         * sysdeps/mach/hurd/powerpc: Remove directory.
17904         * sysdeps/mach/powerpc: Likewise.
17906 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
17908         * scripts/check-local-headers.sh: Ignore c++ headers.
17910 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17912         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17913         __libc_cleanup_region_start argument.
17915 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
17917         [BZ #14784]
17918         [BZ #14785]
17919         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17920         x * y using scaling, not as x * y + z.
17921         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17922         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17923         * math/libm-test.inc (fma_test): Add more tests.
17924         (fma_test_towardzero): Likewise.
17925         (fma_test_downward): Likewise.
17926         (fma_test_upward): Likewise.
17928 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17930         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17932 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
17934         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17935         New variable.
17937 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
17939         * rt/tst-shm.c (worker): Correct checking for mmap failure.
17941 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
17943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17944         Fix sort order.
17945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17946         Likewise.
17948 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17951         Fix the order of the list for glibc 2.17.
17952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17953         Likewise.
17955 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
17957         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17959 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
17961         [BZ #14610]
17962         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17963         for low part of x being zero before using __atanl (y).
17964         * math/libm-test.inc (atan2_test): Add another test.
17966         * manual/install.texi (Configuring and compiling): Document
17967         general use of test-wrapper and test-wrapper-env.
17968         * INSTALL: Regenerated.
17970         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17971         (__fma): Do not extract and scale down low bits on after-rounding
17972         systems when result rounded to normal precision would have normal
17973         exponent.
17974         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17975         (__fmal): Do not extract and scale down low bits on after-rounding
17976         systems when result rounded to normal precision would have normal
17977         exponent.
17978         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17979         (__fmal): Do not extract and scale down low bits on after-rounding
17980         systems when result rounded to normal precision would have normal
17981         exponent.
17982         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17983         macro.
17984         (fma_test): Add more tests.
17985         (fma_test_towardzero): Likewise.
17986         (fma_test_downward): Likewise.
17987         (fma_test_upward): Likewise.
17989 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
17991         * sysdeps/i386/tininess.h: Renamed to ...
17992         * sysdeps/x86/tininess.h: This.
17993         * sysdeps/x86_64/tininess.h: Removed.
17995 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
17997         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17998         input.  Use $(build-program-cmd).
17999         ($(objpfx)tst-array1-static.out): Likewise.
18000         ($(objpfx)tst-array2.out): Likewise.
18001         ($(objpfx)tst-array3.out): Likewise.
18002         ($(objpfx)tst-array4.out): Likewise.
18003         ($(objpfx)tst-array5.out): Likewise.
18004         ($(objpfx)tst-array5-static.out): Likewise.
18006 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
18008         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
18009         if defined.
18011         * nss/nsswitch.h (nss_interface_function): Provide new
18012         macro for use with NSS functions.
18013         * grp/initgroups.c: Use new macro.
18014         * nss/getXXbyYY.c: Likewise.
18015         * nss/getXXbyYY_r.c: Likewise.
18016         * nss/getXXent.c: Likewise.
18017         * nss/getXXent_r.c: Likewise.
18018         * sysdeps/posix/getaddrinfo.c: Likewise.
18020 2012-10-30  Andreas Jaeger  <aj@suse.de>
18022         * po/ru.po: Update Russion translation from translation project.
18024 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
18026         [BZ #14152]
18027         [BZ #14783]
18028         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
18029         result and shift together with sticky bit instead of replicating
18030         round-to-nearest rounding.
18031         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18032         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18033         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
18034         missing underflow exceptions.
18035         (fma_test_towardzero): Add more tests.
18036         (fma_test_downward): Likewise.
18037         (fma_test_upward): Likewise.
18039         [BZ #14047]
18040         * sysdeps/generic/tininess.h: New file.
18041         * sysdeps/i386/tininess.h: Likewise.
18042         * sysdeps/sh/tininess.h: Likewise.
18043         * sysdeps/x86_64/tininess.h: Likewise.
18044         * stdlib/tst-strtod-underflow.c: Likewise.
18045         * stdlib/tst-tininess.c: Likewise.
18046         * stdlib/strtod_l.c: Include <tininess.h>.
18047         (round_and_return): Do not set errno for exact underflow cases.
18048         Force an underflow exception when setting errno for underflow.
18049         Determine underflow based on rounding to normal precision if
18050         TININESS_AFTER_ROUNDING.
18051         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
18052         ERANGE for exact underflow cases.
18053         * stdlib/Makefile (tests): Add tst-tininess and
18054         tst-strtod-underflow.
18055         ($(objpfx)tst-tininess): Use $(link-libm).
18056         ($(objpfx)tst-strtod-underflow): Likewise.
18058 2012-10-30  Andreas Jaeger  <aj@suse.de>
18060         [BZ#14767]
18061         * elf/Makefile (tests): Remove conditional for have-initfini-array
18062         since this is now always required and the variable does not exist
18063         anymore.
18064         (tests-static): Likewise.
18065         (modules-names): Likewise.
18067         * po/eo.po: Add Esperanto translation from translation project.
18069         * elf/tst-array1.c (fini_array): Make writeable so that it can be
18070         merged with constructor/destructor.
18071         (init_array): Likewise.
18072         * elf/tst-array2dep.c (fini_array): Likewise.
18073         (init_array): Likewise.
18075 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
18077         * manual/message.texi: Delete @cartouche tags.
18079 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
18081         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
18082         EOPNOTSUPP.
18083         * sysdeps/mach/hurd/fsync.c: Likewise.
18085         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
18086         [_POSIX_REALTIME_SIGNALS]: Change condition to
18087         [_POSIX_REALTIME_SIGNALS > 0].
18089 2012-10-27  Andreas Jaeger  <aj@suse.de>
18091         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
18092         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
18093         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
18094         [__WORDSIZE != 64]: Likewise.
18096 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
18098         *  iconvdata/tst-table.sh: Remove ${SHELL}.
18099         *  iconvdata/tst-tables.sh: Likewise.
18101 2012-10-25  David S. Miller  <davem@davemloft.net>
18103         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18104         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
18105         of strtoull.
18107         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
18108         ifunc-impl-list.c
18109         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18110         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
18111         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
18112         file.
18114 2012-10-25  Roland McGrath  <roland@hack.frob.com>
18116         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18117         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
18118         __getdirentries.
18120 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
18121             Jim Blandy  <jimb@codesourcery.com>
18123         * scripts/cross-test-ssh.sh: New file.
18124         * manual/install.texi (Configuring and compiling): Document use of
18125         cross-test-ssh.sh.
18126         * INSTALL: Regenerated.
18128 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
18130         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
18131         EOPNOTSUPP.
18133 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
18135         * Makeconfig (run-program-prefix): Fix comment.
18137 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
18138             Jim Blandy  <jimb@codesourcery.com>
18140         * Makeconfig (test-wrapper): New variable,
18141         (test-wrapper-env): Likewise.
18142         [$(cross-compiling) = yes && $(test-wrapper) != ""]
18143         (run-built-tests): Define to yes.
18144         (run-program-prefix): Use $(test-wrapper).
18145         (built-program-cmd): Likewise.
18146         * Rules (make-test-out): Use $(test-wrapper-env) and
18147         $(host-built-program-cmd).
18148         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
18149         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
18150         tst-pathopt.sh.
18151         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
18152         $(test-wrapper-env) to tst-rtld-load-self.sh.
18153         ($(objpfx)order2.out): Use $(test-wrapper).
18154         ($(objpfx)tst-initorder.out): Likewise.
18155         ($(objpfx)tst-initorder2.out): Likewise.
18156         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
18157         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
18158         (test_wrapper_env): New variable.  Use it to run ld.so.
18159         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
18160         Use it to run ld.so.
18161         (test_wrapper_env): Likewise.
18162         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
18163         $(test-wrapper) to run-iconv-test.sh.
18164         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
18165         (ICONV): Use $test_wrapper.
18166         * posix/Makefile ($(objpfx)globtest.out): Pass
18167         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
18168         globtest.sh, not $(run-program-prefix).
18169         * posix/globtest.sh (run_via_rtld_prefix): New variable.
18170         (test_wrapper): Likewise.
18171         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
18172         set together with run_via_rtld_prefix.
18173         (run_program_prefix): Define in terms of test_wrapper and
18174         run_via_rtld_prefix.
18176 2012-10-24  Roland McGrath  <roland@hack.frob.com>
18178         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
18179         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
18180         Targets removed.
18182         [BZ #14743]
18183         * include/time.h: Remove librt_hidden_proto (clock_gettime).
18184         Declare __clock_getres, __clock_gettime, __clock_settime,
18185         __clock_nanosleep, and __clock_getcpuclockid.
18186         * rt/clock_gettime.c: Define __clock_gettime as an alias.
18187         Remove librt_hidden_def (clock_gettime).
18188         * sysdeps/unix/clock_gettime.c: Likewise.
18189         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
18190         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
18191         * rt/clock_getres.c: Define __clock_getres as an alias.
18192         * sysdeps/posix/clock_getres.c: Likewise.
18193         * rt/clock_settime.c: Define __clock_settime as an alias.
18194         * sysdeps/unix/clock_settime.c: Likewise.
18195         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
18196         * sysdeps/unix/clock_nanosleep.c: Likewise.
18197         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
18198         * rt/clock-compat.c: New file.
18199         * rt/Makefile (librt-routines): Add clock-compat and move
18200         $(clock-routines) to ...
18201         (routines): ... here, new variable.
18202         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
18203         Don't add get_clockfreq here.
18204         * rt/Versions (libc: GLIBC_2.17): New version set.
18205         Add clock_* symbols here.
18206         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
18207         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
18208         (GLIBC_2.17): Add clock_* symbols.
18209         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18210         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18211         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18213         Likewise.
18214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18215         Likewise.
18216         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18217         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
18218         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18219         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18220         * NEWS: Mention the move.
18222         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18223         Use __open, __read, __close rather than their public counterparts.
18224         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18225         (__get_clockfreq_via_cpuinfo): Likewise.
18226         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
18227         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
18229         * config.h.in (HAVE_IFUNC): New #undef.
18230         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
18231         was successful.
18232         * configure: Regenerated.
18234 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
18236         * configure.in: Move READELF check to start of file.
18237         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
18238         libc_cv_asm_gnu_indirect_function in the process.
18239         * configure: Regenerated.
18241 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
18243         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
18244         send the output to /dev/null.
18245         (libc_cv_cc_with_libunwind): Likewise.
18246         (libc_cv_as_noexecstack): Likewise.
18247         * configure: Regenerate.
18249 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
18251         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
18253         * posix/globtest.sh (TMPDIR): Do not set.
18254         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
18255         (testout): Likewise.
18257 2012-10-24  Andreas Jaeger  <aj@suse.de>
18259         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
18260         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
18261         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
18262         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
18263         posix_fadvise64, posix_fallocate64.
18265         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
18266         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
18267         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
18268         Likewise.
18269         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
18270         Likewise.
18271         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
18273         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
18274         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
18275         <bits/fcntl-linux.h>.
18276         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
18278         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
18279         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
18280         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
18281         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
18282         [__WORDSIZE != 64]: Likewise.
18284 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
18286         * Makeconfig (run-built-tests): New variable.
18287         * Rules [$(cross-compiling) = yes]: Change condition to
18288         [$(run-built-tests) = no].
18289         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
18290         to [$(run-built-tests) = yes].
18291         * elf/Makefile [$(cross-compiling) = no]: Likewise
18292         * grp/Makefile [$(cross-compiling) = no]: Likewise.
18293         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
18294         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
18295         * intl/Makefile [$(cross-compiling) = no]: Likewise.
18296         * io/Makefile [$(cross-compiling) = no]: Likewise.
18297         * libio/Makefile [$(cross-compiling) = no]: Likewise.
18298         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
18299         * misc/Makefile [$(cross-compiling) = no]: Likewise.
18300         * posix/Makefile [$(cross-compiling) = no]: Likewise.
18301         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
18302         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
18303         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
18304         * string/Makefile [$(cross-compiling) = no]: Likewise.
18306         * posix/Makefile ($(objpfx)globtest.out): Pass
18307         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
18308         $(rtld-installed-name).
18309         * posix/globtest.sh (elf_objpfx): Remove variable.
18310         (rtld_installed_name): Likewise.
18311         (library_path): Likewise.
18312         (run_program_prefix): New variable.  Use for running globtest
18313         binary.
18315 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
18316             Joseph Myers  <joseph@codesourcery.com>
18318         * Makeconfig (host-built-program-cmd): New variable.
18319         * elf/Makefile (tst-stackguard1-ARGS): Use
18320         $(host-built-program-cmd).
18321         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
18322         (tst-spawn-ARGS): Likewise.
18323         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
18325 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
18326             Jim Blandy  <jimb@codesourcery.com>
18328         * Makeconfig (run-via-rtld-prefix): New variable.
18329         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
18330         (built-program-cmd): Likewise.
18332 2012-10-22  Andreas Jaeger  <aj@suse.de>
18334         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
18335         __O_RSYNC if it exists, otherwise to O_SYNC.
18337 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
18338             Joseph Myers  <joseph@codesourcery.com>
18340         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
18341         /dev/null.
18342         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
18343         from /dev/null
18344         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
18345         /dev/null.
18347 2012-10-22  Andreas Jaeger  <aj@suse.de>
18349         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
18350         Define always.
18351         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
18353         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18354         bits/fcntl-linux.h.
18356         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
18357         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
18359         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
18360         to __O_LARGEFILE.
18361         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
18362         to __O_LARGEFILE.
18364 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
18365             Joseph Myers  <joseph@codesourcery.com>
18367         * config.make.in (NM): New variable.
18369 2012-10-21  Andreas Jaeger  <aj@suse.de>
18371         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
18372         definitions and declarations that are provided by
18373         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18375 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
18377         [BZ #14683]
18378         * elf/Makefile (tests-static): Add tst-leaks1-static.
18379         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
18380         ($(objpfx)tst-leaks1-static): New rule.
18381         ($(objpfx)tst-leaks1-static-mem): Likewise.
18382         (tst-leaks1-static-ENV): New macro.
18383         * elf/dl-open.c (dl_open_worker): Check the main application
18384         only if SHARED is defined.
18385         * elf/tst-leaks1-static.c: New file.
18387 2012-10-20  Andreas Jaeger  <aj@suse.de>
18389         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
18390         generic values for Linux.
18391         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
18392         and declarations that are provided by <bits/fcntl-linux.h> and
18393         include <bits/fcntl-linux.h>.
18394         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18395         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18397 2012-10-20  Roland McGrath  <roland@hack.frob.com>
18399         * io/fcntl.h: Move include of <bits/types.h> to the top and
18400         include it unconditionally.
18402 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
18404         * wcsmbs/Makefile (tests-ifunc): New variable.
18405         (tests): Add $(tests-ifunc).
18406         * wcsmbs/test-wcschr-ifunc.c: New file.
18407         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18408         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
18409         * wcsmbs/test-wcslen-ifunc.c: Likewise.
18410         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
18411         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
18413         * string/Makefile (tests-ifunc): New variable.
18414         (tests): Add $(tests-ifunc).
18415         * string/test-memccpy.c (TEST_NAME): New macro.
18416         * string/test-memchr.c (TEST_NAME): Likewise.
18417         * string/test-memcmp.c (TEST_NAME): Likewise.
18418         * string/test-memcpy.c (TEST_NAME): Likewise.
18419         * string/test-memmem.c (TEST_NAME): Likewise.
18420         * string/test-memmove.c (TEST_NAME): Likewise.
18421         * string/test-memset.c (TEST_NAME): Likewise.
18422         * string/test-rawmemchr.c (TEST_NAME): Likewise.
18423         * string/test-stpcpy.c (TEST_NAME): Likewise.
18424         * string/test-stpncpy.c (TEST_NAME): Likewise.
18425         * string/test-strcasecmp.c (TEST_NAME): Likewise.
18426         * string/test-strcasestr.c (TEST_NAME): Likewise.
18427         * string/test-strcat.c (TEST_NAME): Likewise.
18428         * string/test-strchr.c (TEST_NAME): Likewise.
18429         * string/test-strcmp.c(TEST_NAME): Likewise.
18430         * string/test-strcpy.c (TEST_NAME): Likewise.
18431         * string/test-strcspn.c (TEST_NAME): Likewise.
18432         * string/test-strlen.c (TEST_NAME): Likewise.
18433         * string/test-strncasecmp.c (TEST_NAME): Likewise.
18434         * string/test-strncmp.c (TEST_NAME): Likewise.
18435         * string/test-strncpy.c (TEST_NAME): Likewise.
18436         * string/test-strnlen.c (TEST_NAME): Likewise.
18437         * string/test-strpbrk.c (TEST_NAME): Likewise.
18438         * string/test-strrchr.c (TEST_NAME): Likewise.
18439         * string/test-strspn.c (TEST_NAME): Likewise.
18440         * string/test-strstr.c (TEST_NAME): Likewise.
18441         * string/test-bcopy-ifunc.c: New file.
18442         * string/test-bzero-ifunc.c: Likewise.
18443         * string/test-memccpy-ifunc.c: Likewise.
18444         * string/test-memchr-ifunc.c: Likewise.
18445         * string/test-memcmp-ifunc.c: Likewise.
18446         * string/test-memcpy-ifunc.c: Likewise.
18447         * string/test-memmem-ifunc.c: Likewise.
18448         * string/test-memmove-ifunc.c: Likewise.
18449         * string/test-mempcpy-ifunc.c: Likewise.
18450         * string/test-memset-ifunc.c: Likewise.
18451         * string/test-rawmemchr-ifunc.c: Likewise.
18452         * string/test-stpcpy-ifunc.c: Likewise.
18453         * string/test-stpncpy-ifunc.c: Likewise.
18454         * string/test-strcasecmp-ifunc.c: Likewise.
18455         * string/test-strcasestr-ifunc.c: Likewise.
18456         * string/test-strcat-ifunc.c: Likewise.
18457         * string/test-strchr-ifunc.c: Likewise.
18458         * string/test-strchrnul-ifunc.c: Likewise.
18459         * string/test-strcmp-ifunc.c: Likewise.
18460         * string/test-strcpy-ifunc.c: Likewise.
18461         * string/test-strcspn-ifunc.c: Likewise.
18462         * string/test-strlen-ifunc.c: Likewise.
18463         * string/test-strncasecmp-ifunc.c: Likewise.
18464         * string/test-strncat-ifunc.c: Likewise.
18465         * string/test-strncmp-ifunc.c: Likewise.
18466         * string/test-strncpy-ifunc.c: Likewise.
18467         * string/test-strnlen-ifunc.c: Likewise.
18468         * string/test-strpbrk-ifunc.c: Likewise.
18469         * string/test-strrchr-ifunc.c: Likewise.
18470         * string/test-strspn-ifunc.c: Likewise.
18471         * string/test-strstr-ifunc.c: Likewise.
18473         * debug/Makefile (tests-ifunc): New variable.
18474         (tests): Add $(tests-ifunc).
18475         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
18476         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
18477         * debug/test-stpcpy_chk-ifunc.c: New file.
18478         * debug/test-strcpy_chk-ifunc.c: Likewise.
18480 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18482         [BZ #13601]
18483         * elf/dl-load.c (open_verify): Retry read if the entire ELF
18484         header is not read in.
18486 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
18488         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
18489         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
18490         directly.  Pass built executable to script as
18491         $(built-program-cmd).
18492         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
18493         $testprogram without using LD_LIBRARY_PATH and $ldso.
18495         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
18496         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
18497         $(rtld-installed-name).
18498         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
18499         (rtld_installed_name): Likewise.
18500         (library_path): Likewise.
18501         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
18502         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
18503         $(run-program-prefix) to tst-tables.sh.
18504         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
18505         it to run tst-table-from and tst-table-to.
18506         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
18507         Pass it to tst-table.sh.
18508         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
18509         $(run-program-prefix) to tst-gettext.sh.
18510         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
18511         tst-translit.sh.
18512         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
18513         tst-gettext2.sh.
18514         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
18515         to run tst-gettext.
18516         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
18517         to run tst-gettext2.
18518         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
18519         to run tst-translit.
18520         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
18521         $(run-program-prefix) to tst-mtrace.sh.
18522         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
18523         to run tst-mtrace.
18524         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
18525         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
18526         $(rtld-installed-name).
18527         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
18528         (rtld_installed_name): Likewise.
18529         (run_program_prefix): New variable.  Use it to run wordexp-test.
18531         * Makeconfig (ARCH): Remove all definitions.
18532         (machine): Likewise.
18533         [ARCH]: Remove conditional code.
18534         [!objdir]: Give error.
18535         [!objdir] (objpfx): Remove.
18536         [!objdir] (common-objpfx): Likewise.
18537         [!objdir] (common-objdir): Likewise.
18538         * configure.in (config_makefile): Remove.  Hardcode Makefile in
18539         AC_CONFIG_FILES call.
18540         * configure: Regenerated.
18542         [BZ #13888]
18543         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
18544         or TMPDIR.
18545         (testout): Likewise.
18547         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
18548         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
18549         $(rtld-installed-name).
18550         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
18551         (rtld_installed_name): Likwise.
18552         (runit): Remove function.
18553         (run_getconf): New variable,  Use it for running getconf binary.
18555 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
18557         [BZ #14716]
18558         * string/test-memmem.c (check_result): New function.
18559         (do_one_test): Use it.
18560         (check1): New function.
18561         (test_main): Use it.
18563 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
18565         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
18567 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
18569         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
18570         (_G_LSEEK64): Likewise.
18571         (_G_MMAP64): Likewise.
18572         (_G_FSTAT64): Likewise.
18573         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
18574         (_G_LSEEK64): Likewise.
18575         (_G_MMAP64): Likewise.
18576         (_G_FSTAT64): Likewise.
18577         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
18578         unconditional.  Call __mmap64 directly.
18579         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
18580         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
18581         __lseek64 directly.
18582         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
18583         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
18584         __mmap64 directly.
18585         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
18586         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
18587         __lseek64 directly.
18588         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
18589         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
18590         __lseek64 directly.
18591         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
18592         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
18593         __lseek64 directly.
18594         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
18595         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
18596         __fxstat64 directly.
18597         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
18598         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
18599         unconditional.
18600         (freopen64) [!_G_OPEN64]: Remove conditional code.
18601         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
18602         unconditional.
18603         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
18604         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
18605         unconditional.
18606         (ftello64) [!_G_LSEEK64]: Remove conditional code.
18607         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
18608         unconditional.
18609         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18610         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
18611         unconditional.
18612         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
18613         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
18614         unconditional.
18615         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18616         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
18617         unconditional.
18618         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18619         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
18620         unconditional.
18621         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18623 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18625         [BZ #12140]
18626         * manual/memory.texi (Malloc Tunable Parameters): Add note
18627         about free list pointers overwriting some perturb bytes.
18628         Wording suggested by Roland McGrath.
18630 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
18632         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
18633         (lgamma_test): Likewise.
18634         (tgamma_test): Likewise.
18636 2012-10-16  Florian Weimer  <fweimer@redhat.com>
18638         [BZ #14700]
18639         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
18640         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
18642 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
18644         * NEWS: Mention BZ #14716.
18645         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
18646         when removing AVAILABLE1_USES_J macro.
18648 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
18650         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
18651         (__bswap_64): __uint64_t for unsigned 64-bit int.
18653 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
18655         * include/string.h (memmem): Declare libc hidden alias.
18656         * string/memmem.c (memmem): Define libc hidden alias.
18657         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
18658         __read, __close instead of open, read, close.
18660 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
18662         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
18663         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
18664         global and hidden.
18665         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
18666         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
18667         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
18668         Likewise.
18669         (__rawmemchr_sse2): Likewise.
18670         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
18671         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
18672         (__strchr_sse2): Likewise.
18673         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
18674         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
18675         (__strcasecmp_sse2): Likewise.
18676         (__strncasecmp_sse2): Likewise.
18677         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
18678         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
18679         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
18680         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
18681         (__strrchr_sse2): Likewise.
18682         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
18683         ifunc-impl-list.c.
18684         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18685         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18686         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18687         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18688         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18689         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18690         * sysdeps/x86_64/multiarch/memset.S: Likewise.
18691         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18692         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
18693         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
18694         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
18695         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
18696         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
18697         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18698         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18699         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18700         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18701         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18702         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
18703         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
18704         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
18705         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
18706         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
18707         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18708         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
18709         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18710         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18711         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18712         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18713         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18715         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
18716         global and hidden.
18717         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
18718         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
18719         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
18720         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
18721         Likewise.
18722         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
18723         Likewise.
18724         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
18725         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
18726         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
18727         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
18728         ifunc-impl-list.c.
18729         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18730         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18731         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18732         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18733         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18734         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18735         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18736         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18737         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18738         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18739         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18740         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18741         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18742         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18743         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18744         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18745         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18746         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
18747         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18748         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18749         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18750         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18751         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18752         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18753         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18754         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18755         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18756         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18757         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18758         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18759         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18760         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18761         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18762         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
18763         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18764         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18765         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18766         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18767         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18768         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18769         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
18771         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
18772         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
18773         * include/ifunc-impl-list.h: New file.
18774         * misc/ifunc-impl-list.c: Likewise.
18775         * misc/Makefile (routines): Add ifunc-impl-list.
18776         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18777         * string/test-string.h: Include <ifunc-impl-list.h>.
18778         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18779         impl_array): New variables.
18780         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18781         are defined.
18782         (test_init): Call __libc_ifunc_impl_list to initialize
18783         func_list if TEST_IFUNC and TEST_NAME are defined.
18785         * string/Makefile (strop-tests): Add bcopy and bzero.
18786         * string/test-bcopy.c: New file.
18787         * string/test-bzero.c: Likewise.
18788         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18789         defined.
18790         * string/test-memset.c: Support bzero test if TEST_BZERO is
18791         defined.
18792         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18793         __libc_memmove.
18794         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18795         __libc_memset.
18796         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18797         of memset.
18799 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
18801         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18802         * configure: Regenerated.
18804         * Makeconfig (+link-static-before-libc): Don't include
18805         $(link-static-libc).
18807         * libio/libio.h (_IO_pos_t): Remove.
18809 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
18811         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
18812         McGrath.
18814 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
18816         * crypt/crypt-entry.c: Include fips-private.h.
18817         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18818         * crypt/md5c-test.c (main): Tolerate disabled MD5.
18819         * sysdeps/unix/sysv/linux/fips-private.h: New file.
18820         * sysdeps/generic/fips-private.h: New file, dummy fallback.
18822 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
18824         * crypt/crypt-private.h: Include stdbool.h.
18825         (_ufc_setup_salt_r): Return bool.
18826         * crypt/crypt-entry.c: Include errno.h.
18827         (__crypt_r): Return NULL with EINVAL for bad salt.
18828         * crypt/crypt_util.c (bad_for_salt): New.
18829         (_ufc_setup_salt_r): Check that salt is long enough and within
18830         the specified alphabet.
18831         * crypt/badsalttest.c: New file.
18832         * crypt/Makefile (tests): Add it.
18833         ($(objpfx)badsalttest): New.
18835 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
18837         * NEWS: Add entry for BZ #14602.
18839 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
18841         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18842         type-generic.
18843         * math/libm-test.inc: Update comment listing what functions and
18844         macros are tested.
18845         (isgreater_test): New function.
18846         (isgreaterequal_test): Likewise.
18847         (isless_test): Likewise.
18848         (islessequal_test): Likewise.
18849         (islessgreater_test): Likewise.
18850         (isunordered_test): Likewise.
18851         (main): Call the new functions.
18853 2012-10-09  Roland McGrath  <roland@hack.frob.com>
18855         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18856         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18857         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18858         * sysdeps/i386/configure: Regenerated.
18859         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18860         * sysdeps/mach/configure: Regenerated.
18861         * sysdeps/mach/hurd/configure: Regenerated.
18862         * sysdeps/powerpc/configure: Regenerated.
18863         * sysdeps/powerpc/powerpc32/configure: Regenerated.
18864         * sysdeps/powerpc/powerpc64/configure: Regenerated.
18865         * sysdeps/s390/s390-32/configure: Regenerated.
18866         * sysdeps/s390/s390-64/configure: Regenerated.
18867         * sysdeps/sh/configure: Regenerated.
18868         * sysdeps/sparc/configure: Regenerated.
18869         * sysdeps/unix/sysv/linux/configure: Regenerated.
18870         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18871         * sysdeps/x86_64/configure: Regenerated.
18873         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18874         defined.  Don't check if MAP is NULL.
18876 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
18878         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18879         (_G_stat64): Likewise.
18880         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18881         (_G_stat64): Likewise.
18882         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18883         instead of struct _G_stat64.
18884         * libio/fileops.c (mmap_remap_check): Likewise.
18885         (decide_maybe_mmap): Likewise.
18886         (_IO_new_file_seekoff): Likewise.
18887         (_IO_file_stat): Likewise.
18888         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18889         _G_off64_t.
18890         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18891         instead of struct _G_stat64.
18892         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18894 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
18896         [BZ #14602]
18897         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18898         Replace with ...
18899         (CHECK_EOL): New macro.
18900         (two_way_short_needle): Check beginning of haystack for EOL.  Use
18901         CHECK_EOL.
18902         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18903         Replace with CHECK_EOL.
18904         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18905         Replace with CHECK_EOL.
18907 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
18909         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18910         type-generic.
18911         * math/libm-test.inc: Update comment listing what functions and
18912         macros are tested.
18913         (finite_test): New function.
18914         (isinf_test): Likewise.
18915         (isnan_test): Likewise.
18916         (fpclassify_test): Test subnormal input.
18917         (isfinite_test): Likewise.
18918         (isnormal_test): Likewise.
18919         (main): Call the new functions.
18921 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
18923         [BZ #14660]
18924         * Makerules (%.dynsym): Force C locale when running
18925         $(OBJDUMP) --dynamic-syms.
18927 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
18929         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18930         <stdint.h>.
18932 2012-10-06  David S. Miller  <davem@davemloft.net>
18934         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18935         upper 32-bits of the length value in %o2 since we use branch-on-register
18936         tests which consider the entire 64-bit register.
18938 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
18940         * string/test-strstr.c (check2): Add a test for page boundary.
18942 2012-10-05  David S. Miller  <davem@davemloft.net>
18944         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18945         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18946         file.
18947         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18948         sysdep_routines.
18949         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18950         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18951         and bzero when HWCAP_SPARC_CRYPTO is present.
18953 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
18955         [BZ #14602]
18956         * string/test-strstr.c (check2): New function.
18957         (test_main): Call check2.
18959         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18960         and bug-strchr1.
18961         * string/bug-strcasestr1.c (do_test): Moved to ...
18962         * string/test-strcasestr.c (check1): Here.  New function.
18963         (do_one_test): Break out result checking code into ...
18964         (check_result): This.  New function.
18965         (do_one_test): Call check_result.
18966         (test_main): Call check1.
18967         * string/bug-strchr1.c (do_test): Moved to ...
18968         * string/test-strchr.c (check1): Here.  New function.
18969         (do_one_test): Break out result checking code into ...
18970         (check_result): This.  New function.
18971         (do_one_test): Call check_result.
18972         (test_main): Call check1.
18973         * string/bug-strstr1.c (main): Moved to ...
18974         * string/test-strstr.c (check1): Here.  New function.
18975         (do_one_test): Break out result checking code into ...
18976         (check_result): This.  New function.
18977         (do_one_test): Call check_result.
18978         (test_main): Call check1.
18979         * string/bug-strcasestr1.c: Removed.
18980         * string/bug-strchr1.c: Likewise.
18981         * string/bug-strstr1.c: Likewise.
18983         * elf/Makefile (dl-routines): Add hwcaps.
18984         * elf/dl-support.c (_dl_important_hwcaps): Removed.
18985         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18986         (_dl_important_hwcaps): Moved to ...
18987         * elf/dl-hwcaps.c: Here.  New file.
18988         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18990         [BZ #14557]
18991         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18992         if IS_IN_rtld isn't defined.
18994         * elf/dl-support.c (_dl_sysinfo_map): New.
18995         Include "get-dynamic-info.h" and "setup-vdso.h".
18996         (_dl_non_dynamic_init): Call setup_vdso.
18997         * elf/dynamic-link.h: Don't include <assert.h>.
18998         (elf_get_dynamic_info): Moved to ...
18999         * elf/get-dynamic-info.h: Here.  New file.
19000         * elf/dynamic-link.h: Include "get-dynamic-info.h".
19001         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
19002         * elf/setup-vdso.h: Here.  New file.
19003         * elf/rtld.c: Include "setup-vdso.h".
19004         (dl_main): Call setup_vdso.
19006 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
19008         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
19009         creal in comment listing functions tested.  List finite, isinf,
19010         isnan, isless, islessequal, isgreater, isgreaterequal,
19011         islessgreater, isunordered, lgamma_r and pow10 as functions and
19012         macros not tested.  Mention which functions not tested are aliases
19013         for other functions.  Fix typo.  Note that signs of NaNs are not
19014         tested.
19016         * scripts/config.guess: Update from config.git.
19017         * scripts/config.sub: Likewise.
19019 2012-10-04  Roland McGrath  <roland@hack.frob.com>
19021         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
19022         * misc/madvise.c (madvise): Renamed to __madvise.
19023         Make madvise a weak alias.
19024         * include/sys/mman.h: Declare __madvise.
19025         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
19026         * sysdeps/unix/syscalls.list
19027         (madvise): Make __madvise the strong name, and madvise a weak alias.
19028         * sysdeps/unix/sysv/linux/syscalls.list
19029         (madvise, mmap): Remove redundant entries.
19030         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
19031         * malloc/malloc.c (mtrim): Likewise.
19032         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
19034 2012-10-03  Roland McGrath  <roland@hack.frob.com>
19036         * sysdeps/mach/hurd/dl-cache.c: File removed.
19037         * config.h.in (USE_LDCONFIG): New #undef.
19038         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
19039         * configure: Regenerated.
19040         * elf/Makefile (dl-routines): Add dl-cache only under
19041         [$(use-ldconfig) = yes].
19042         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
19043         cache on [USE_LDCONFIG].
19044         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
19045         [USE_LDCONFIG].
19046         * elf/rtld.c (dl_main): Likewise.
19048 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
19050         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
19051         _SC_LEVEL4_CACHE_LINESIZE.
19053 2012-10-03  Roland McGrath  <roland@hack.frob.com>
19055         * sysdeps/unix/bsd/confstr.h: File removed.
19057 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
19059         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
19060         sys/sdt-config.h.
19062 2012-10-02  Roland McGrath  <roland@hack.frob.com>
19064         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
19065         Make 'mapoff' field ElfW(Off) rather than off_t.
19067 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
19069         * nscd/Makefile: Remove nscd-cflags and all its users.
19070         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
19071         (CFLAGS-nonlib): Add compiler flags for nscd modules.
19073         [BZ #10631]
19074         * malloc.c (malloc_printerr): Clarify error message.
19076 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
19078         [BZ #14648]
19079         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19080         Set bit_FMA_Usable if FMA is supported.
19081         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
19082         macro.
19083         (bit_FMA4_Usable): Updated.
19084         (index_FMA_Usable): New macro.
19085         (CPUID_FMA): Likewise
19086         (HAS_FMA): Defined with bit_FMA_Usable.
19088 2012-10-01  Roland McGrath  <roland@hack.frob.com>
19090         * bits/types.h (__swblk_t): Type removed.
19091         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
19092         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
19093         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19094         (__SWBLK_T_TYPE): Likewise.
19095         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19096         (__SWBLK_T_TYPE): Likewise.
19097         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19098         (__SWBLK_T_TYPE): Likewise.
19099         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19100         (__SWBLK_T_TYPE): Likewise.
19102 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
19103             Honza Horak <hhorak@redhat.com>
19105         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
19106         (xdr_mapname): Use YPMAXMAP as maxsize.
19107         (xdr_peername): Use YPMAXPEER as maxsize.
19108         (xdr_keydat): Use YPAXRECORD as maxsize.
19109         (xdr_valdat): Use YPMAXRECORD as maxsize.
19111 2012-10-01  Roland McGrath  <roland@hack.frob.com>
19113         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
19115         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
19116         * csu/init-first.c: ... here.
19117         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
19118         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
19119         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
19120         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19121         * sysdeps/i386/init-first.c: File removed.
19122         * sysdeps/sh/init-first.c: File removed.
19124 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
19126         [BZ #14645]
19127         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
19128         if x * y might underflow to zero and z is zero.
19129         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19130         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19131         * math/libm-test.inc (min_subnorm_value): New variable.
19132         (fma_test): Add more tests.
19133         (fma_test_towardzero): Likewise.
19134         (fma_test_downward): Likewise
19135         (fma_test_upward): Likewise.
19136         (initialize): Set min_subnorm_value.
19138 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
19140         [BZ #14638]
19141         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
19142         0 + 0.
19143         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
19144         mode for addition resulting in exact zero.
19145         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
19146         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
19147         exact 0 + 0.
19148         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19149         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19150         * math/libm-test.inc (fma_test): Add more tests.
19151         (fma_test_towardzero): New function.
19152         (fma_test_downward): Likewise.
19153         (fma_test_upward): Likewise.
19154         (main): Call the new functions.
19156 2012-09-28  David S. Miller  <davem@davemloft.net>
19158         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
19160 2012-09-28  Roland McGrath  <roland@hack.frob.com>
19162         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
19163         instead of SIGALRM.
19165         * sysdeps/gnu/_G_config.h: Moved to ...
19166         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
19167         * sysdeps/mach/hurd/_G_config.h: Moved to ...
19168         * sysdeps/generic/_G_config.h: ... here.
19170         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
19172         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
19174         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
19175         Conditionalize target on [libnss_test1.so-version].
19177         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
19179         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
19180         (elfobjdir): Move out of conditionals.
19182         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
19183         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
19184         (__nss_lookup_function): Conditionalize label remove_from_tree on
19185         [!DO_STATIC_NSS || SHARED], matching its only use.
19187 2012-09-28  David S. Miller  <davem@davemloft.net>
19189         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
19190         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
19191         file.
19192         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19193         sysdep_routines.
19194         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19195         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
19196         when HWCAP_SPARC_CRYPTO is present.
19198 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
19200         * io/tst-mknodat.c: Create a FIFO instead of a socket.
19202 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
19204         [BZ #6530]
19205         * stdio-common/vfprintf.c (process_string_arg): Revert
19206         2000-07-22 change.
19208 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
19210         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
19211         for testcase.
19212         * stdio-common/tst-sprintf.c: Include <locale.h>
19213         (main): Test sprintf's handling of incomplete multibyte
19214         characters.
19216 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
19218         * elf/dl-runtime.c (VERSYMIDX): Removed.
19219         * elf/dl-version.c (VERSYMIDX): Likewise.
19220         * elf/do-rel.h (VERSYMIDX): Likewise.
19221         (VALIDX): Likewise.
19222         * elf/dynamic-link.h (VERSYMIDX): Likewise.
19223         * elf/rtld.c (VALIDX): Likewise.
19224         (ADDRIDX): Likewise.
19225         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
19226         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
19227         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
19228         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
19229         (VALIDX): Likewise.
19230         (ADDRIDX): Likewise.
19232 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
19234         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
19236 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
19238         [BZ #11438]
19239         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
19240         to global scope.
19241         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
19242         addresses are in the same scope as 192.0.2/24.
19243         * posix/gai.conf: Document new scope table defaults.
19245 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19247         [BZ #5298]
19248         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
19249         for ftell.  Compute offsets from write pointers instead.
19250         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19252 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19254         [BZ #14543]
19255         * libio/Makefile (tests): New test case tst-fseek.
19256         * libio/tst-fseek.c: New test case to verify that fseek/ftell
19257         combination works in wide mode.
19258         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
19259         state when the external buffer state changes.
19261 2012-09-27  David S. Miller  <davem@davemloft.net>
19263         [BZ #14376]
19264         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
19265         pass reloc->r_addend in as the 'high' argument to
19266         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
19268         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19270 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
19272         * rt/tst-aio2.c: Include <pthread.h>.
19273         * rt/tst-aio3.c: Likewise.
19275 2012-09-27  Steve Ellcey  <sellcey@mips.com>
19277         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
19279 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
19281         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
19282         contents on [SHARED].
19284 2012-09-26  Marek Polacek  <polacek@redhat.com>
19286         [BZ #14530]
19287         [BZ #13741]
19288         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
19289         for C++ and GCC <4.3 as well as for non GCC compilers.
19291 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
19293         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19295 2012-09-25  Roland McGrath  <roland@hack.frob.com>
19297         * Makefile.in (all, install): Declare with .PHONY.
19298         Reported by Michael Hope <michael.hope@linaro.org>.
19300 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19302         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
19303         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
19304         system header.
19305         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
19306         Likewise.
19307         (sydep_routines): Add the new and the internal functions.
19308         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
19309         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
19310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
19311         (GLIBC_2.17): Add the new function.
19312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19313         (GLIBC_2.17): Likewise.
19314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
19315         (GLIBC_2.17): Likewise.
19316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
19317         (GLIBC_2.17): Likewise.
19318         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
19320 2012-09-25  Alan Modra  <amodra@gmail.com>
19322         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
19323         Add release barrier before setting once_control to say
19324         initialisation is done.  Add hints on lwarx.  Use macro in
19325         place of isync.
19326         (clear_once_control): Add release barrier.
19328 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
19330         [BZ #13629]
19331         * math/s_clog.c (__clog): Handle more values close to |z| = 1
19332         specially.
19333         * math/s_clog10.c (__clog10): Likewise.
19334         * math/s_clog10f.c (__clog10f): Likewise.
19335         * math/s_clog10l.c (__clog10l): Likewise.
19336         * math/s_clogf.c (__clogf): Likewise.
19337         * math/s_clogl.c (__clogl): Likewise.
19338         * math/Makefile (libm-calls): Add x2y2m1.
19339         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
19340         (__x2y2m1): Likewise.
19341         (__x2y2m1l): Likewise.
19342         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
19343         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
19344         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
19345         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19346         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
19347         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
19348         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
19349         * sysdeps/i386/fpu/libm-test-ulps: Update.
19350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19352         [BZ #14621]
19353         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
19354         int as type of variable DEPTH.
19355         (glob): Use size_t instead of int as type of variables NEWCOUNT
19356         and OLD_PATHC.
19358 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19360         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19361         Add s_sincosf-sse2.
19362         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
19363         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
19364         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
19365         macros for using routine as __sincosf_ia32.
19366         Use macro for function declaration and weak_alias.
19367         * sysdeps/i386/fpu/libm-test-ulps: Update.
19369         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
19370         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19372         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
19373         subnormal argument.
19374         * math/s_cexpf.c (__cexpf): Likewise.
19375         * math/s_csinf.c (__csinf): Likewise.
19376         * math/s_csinhf.c (__csinhf): Likewise.
19377         * math/s_ctanf.c (__ctanf): Likewise.
19378         * math/s_ctanhf.c (__ctanhf): Likewise.
19379         * math/s_ccosh.c (__ccoshf): Likewise.
19380         * math/s_cexp.c (__cexpl): Likewise.
19381         * math/s_csin.c (__csin): Likewise.
19382         * math/s_csinh.c (__csinh): Likewise.
19383         * math/s_ctan.c (__ctan): Likewise.
19384         * math/s_ctanh.c (ctanh): Likewise.
19385         * math/s_ccoshl.c (__ccoshl): Likewise.
19386         * math/s_cexpl.c (__cexpl): Likewise.
19387         * math/s_csinl.c (__csinl): Likewise.
19388         * math/s_csinhl.c (__csinhl): Likewise.
19389         * math/s_ctanl.c (__ctanl): Likewise.
19390         * math/s_ctanhl.c (__ctanhl): Likewise.
19392 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
19394         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
19395         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
19396         (_IO_off_t): Define to __off_t, not _G_off_t.
19397         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
19398         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
19399         (_IO_wint_t): Define to wint_t, not _G_wint_t.
19400         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
19401         type of __dummy and __dummy2 fields.
19402         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
19403         (_G_ssize_t): Likewise.
19404         (_G_off_t): Likewise.
19405         (_G_pid_t): Likewise.
19406         (_G_uid_t): Likewise.
19407         (_G_wchar_t): Likewise.
19408         (_G_wint_t): Likewise.
19409         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
19410         (_G_ssize_t): Likewise.
19411         (_G_off_t): Likewise.
19412         (_G_pid_t): Likewise.
19413         (_G_uid_t): Likewise.
19414         (_G_wchar_t): Likewise.
19415         (_G_wint_t): Likewise.
19416         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
19417         (_G_ssize_t): Likewise.
19418         (_G_off_t): Likewise.
19419         (_G_pid_t): Likewise.
19420         (_G_uid_t): Likewise.
19421         (_G_wchar_t): Likewise.
19422         (_G_wint_t): Likewise.
19424 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19426         * malloc/arena.c: Include malloc-sysdep.h.
19427         (shrink_heap): Use check_may_shrink_heap to decide if madvise
19428         is sufficient to shrink the heap or an unmap is needed.
19429         * sysdeps/generic/malloc-sysdep.h: New file.  Define
19430         new function check_may_shrink_heap.
19431         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
19432         new function check_may_shrink_heap.
19434 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19436         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
19437         comments.
19439 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
19441         * catgets/test-gencat.sh: Add "set -e".
19442         * elf/tst-pathopt.sh: Likewise.
19443         * grp/tst_fgetgrent.sh: Likewise.
19444         * iconvdata/run-iconv-test.sh: Likewise.
19445         * intl/tst-gettext.sh: Likewise.
19446         * intl/tst-gettext2.sh: Likewise.
19447         * intl/tst-gettext4.sh: Likewise.
19448         * intl/tst-gettext6.sh: Likewise.
19449         * intl/tst-translit.sh: Likewise.
19450         * io/ftwtest-sh: Likewise.
19451         * libio/test-freopen.sh: Likewise.
19452         * malloc/tst-mtrace.sh: Likewise.
19453         * posix/globtest.sh: Likewise.
19454         * posix/tst-getconf.sh: Likewise.
19455         * posix/wordexp-tst.sh: Likewise.
19456         * stdio-common/tst-printf.sh: Likewise.
19457         * stdio-common/tst-unbputc.sh: Likewise.
19458         * stdlib/tst-fmtmsg.sh: Likewise.
19459         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19460         * catgets/Makefile: Do not specify -e option when running
19461         testsuite shell scripts.
19462         * elf/Makefile: Likewise.
19463         * grp/Makefile: Likewise.
19464         * iconvdata/Makefile: Likewise.
19465         * intl/Makefile: Likewise.
19466         * io/Makefile: Likewise.
19467         * libio/Makefile: Likewise.
19468         * malloc/Makefile: Likewise.
19469         * posix/Makefile: Likewise.
19470         * stdio-common/Makefile: Likewise.
19471         * stdlib/Makefile: Likewise.
19472         * sysdeps/x86_64/Makefile: Likewise.
19474         * io/ftwtest-sh: Add copyright header.
19475         * posix/globtest.sh: Likewise.
19476         * posix/tst-getconf.sh: Likewise.
19477         * posix/wordexp-tst.sh: Likewise.
19478         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19480 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
19482         [BZ #13679]
19483         * Makeconfig (+link): Defined as $(+link-static) if
19484         $(build-shared) isn't yes.
19485         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
19486         isn't yes.
19487         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
19489         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
19491         [BZ #14562]
19492         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
19493         new chunk size with MALLOC_ALIGN_MASK.
19495 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
19497         [BZ #5044]
19498         * stdio-common/printf_fphex.c: Include <stdbool.h> and
19499         <rounding-mode.h>.
19500         (__printf_fphex): Determine rounding using get_rounding_mode and
19501         round_away.
19502         * stdio-common/tst-printf-round.c (struct hex_test): New
19503         structure.
19504         (hex_tests): New variable.
19505         (test_hex_in_one_mode): New function.
19506         (do_test): Also run tests for hex float output.
19508 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
19510         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19511         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19512         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
19513         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19514         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19515         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
19516         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19517         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19519 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
19521         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
19522         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
19523         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
19524         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
19526 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
19528         [BZ #14579]
19529         * elf/rtld.c (dl_main): Limit the check for self loading to normal
19530         mode only.
19531         * elf/tst-rtld-load-self.sh: New test.
19532         * elf/Makefile: Run it.
19534 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
19536         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
19537         (tst-writev-ENV): Remove.
19538         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
19540 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
19542         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
19544 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
19546         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
19547         unconditional.
19548         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
19549         Likewise.
19550         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
19551         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
19552         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
19553         Likewise.
19555 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
19557         [BZ #14587]
19558         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
19559         * config.make.in (have-cpp-asm-debuginfo): Removed.
19560         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
19561         * configure: Regenerated.
19563 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
19565         [BZ #5044]
19566         * stdio-common/printf_fp.c: Include <stdbool.h> and
19567         <rounding-mode.h>.
19568         (___printf_fp): Determine rounding using get_rounding_mode and
19569         round_away.
19570         * stdio-common/tst-printf-round.c: New file.
19571         * stdio-common/Makefile (tests): Add tst-printf-round.
19572         (link-libm): New variable.
19573         ($(objpfx)tst-printf-round): Depend in $(link-libm).
19575 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
19577         [BZ #14576]
19578         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
19579         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
19580         Likewise.
19581         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
19582         Likewise.
19584 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
19586         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
19587         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19588         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19589         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19591 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
19593         [BZ #14518]
19594         * include/rounding-mode.h: New file.
19595         * sysdeps/generic/get-rounding-mode.h: Likewise.
19596         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
19597         * stdlib/strtod_l.c: Include <rounding-mode.h>.
19598         (MAX_VALUE): New macro.
19599         (MIN_VALUE): Likewise.
19600         (overflow_value): New function.
19601         (underflow_value): Likewise.
19602         (round_and_return): Use overflow_value and underflow_value to
19603         determine return values in overflow and underflow cases.  Use
19604         round_away to determine rounding depending on rounding mode.
19605         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
19606         determine return values in overflow and underflow cases.
19607         * stdlib/tst-strtod-round.c: Include <fenv.h>.
19608         (struct test_results): New structure.
19609         (struct test): Use struct test_results to store expected results
19610         for all rounding modes.
19611         (TEST): Include expected results for all rounding modes.
19612         (test_in_one_mode): New function.
19613         (do_test): Use test_in_one_mode to compute and check results.
19614         Check results for all rounding modes.
19615         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
19616         $(link-libm).
19618 2012-12-09  Allan McRae  <allan@archlinux.org>
19620         * sysdeps/i386/fpu/libm-test-ulps: Update
19622 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
19624         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
19625         (_G_int32_t): Likewise.
19626         (_G_uint16_t): Likewise.
19627         (_G_uint32_t): Likewise.
19628         (_G_HAVE_BOOL): Likewise.
19629         (_G_HAVE_ATEXIT): Likewise.
19630         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19631         (_G_HAVE_IO_FILE_OPEN): Likewise.
19632         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
19633         (_G_int32_t): Likewise.
19634         (_G_uint16_t): Likewise.
19635         (_G_uint32_t): Likewise.
19636         (_G_HAVE_BOOL): Likewise.
19637         (_G_HAVE_ATEXIT): Likewise.
19638         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19639         (_G_HAVE_IO_FILE_OPEN): Likewise.
19640         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
19641         (_G_int32_t): Likewise.
19642         (_G_uint16_t): Likewise.
19643         (_G_uint32_t): Likewise.
19644         (_G_HAVE_BOOL): Likewise.
19645         (_G_HAVE_ATEXIT): Likewise.
19646         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19647         (_G_HAVE_IO_FILE_OPEN): Likewise.
19649 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
19651         * csu/libc-tls.c: Update copyright years.
19653 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
19655         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
19656         [!_G_USING_THUNKS]: Remove conditional code.
19657         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
19658         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
19660         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
19661         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
19662         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19663         (_G_VTABLE_LABEL_PREFIX): Likewise.
19664         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19665         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19666         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19667         (_G_VTABLE_LABEL_PREFIX): Likewise.
19668         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19669         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19670         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19671         (_G_VTABLE_LABEL_PREFIX): Likewise.
19672         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19674 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
19676         * libio/Makefile: Include ../Makeconfig before tests.
19677         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
19678         only if $(build-shared) is yes.
19680         * iconv/gconv_db.c: Update copyright years.
19682 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19684         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
19685         unwind info if defined PIC. Fix special cases description.
19686         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
19688         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
19689         DP_HI_MASK entry.
19690         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
19692 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
19694         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
19696         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
19697         is NULL.
19699         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
19700         (LDLIBS-tst-chk4): This.
19701         (LDFLAGS-tst-chk5): Renamed to ...
19702         (LDLIBS-tst-chk5): This.
19703         (LDFLAGS-tst-chk6): Renamed to ...
19704         (LDLIBS-tst-chk6): This.
19705         (LDFLAGS-tst-lfschk4): Renamed to ...
19706         (LDLIBS-tst-lfschk4): This.
19707         (LDFLAGS-tst-lfschk5): Renamed to ...
19708         (LDLIBS-tst-lfschk5): This.
19709         (LDFLAGS-tst-lfschk6): Renamed to ...
19710         (LDLIBS-tst-lfschk6): This.
19712         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
19713         on $(common-objpfx)soversions.mk.
19715 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
19717         [BZ #10014]
19718         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
19719         example host name.
19721 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
19723         * malloc/arena.c (arena_get_retry): New function that gets
19724         another arena for the caller to try its request on.
19725         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
19726         current arena cannot fulfill the request.
19727         (__libc_memalign): Likewise.
19728         (__libc_memalign): Likewise.
19729         (__libc_pvalloc): Likewise.
19730         (__libc_calloc): Likewise.
19732 2012-09-05  John Tobey  <john.tobey@gmail.com>
19734         [BZ #13542]
19735         * manual/arith.texi (Operations on Complex): Fix description
19736         of carg branch cut.
19738 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
19740         [BZ #10014]
19741         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
19742         host name.
19744         [BZ #10038]
19745         * manual/memory.texi (Memory): Make order of menu items match
19746         order of sections.
19748 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19750         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
19751         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
19752         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
19754 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19756         * csu/libc-tls.c (static_dtv): Renamed to ...
19757         (_dl_static_dtv): This.  Make it global.
19758         (_dl_initial_dtv): Removed.
19759         (__libc_setup_tls): Updated.
19760         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
19761         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
19762         DL_INITIAL_DTV.
19764 2012-09-06  Petr Machata  <pmachata@redhat.com>
19766         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
19767         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
19768         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
19769         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
19771 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19773         [BZ #14545]
19774         * csu/libc-tls.c (_dl_initial_dtv): New variable.
19775         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19776         freeing dtv[-1].
19778 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19780         [BZ #14544]
19781         * Makeconfig (link-static-before-libc): Replace $(+prector)
19782         with $(+prectorT).
19783         (link-static-after-libc): Replace $(+postctor) with
19784         $(+postctorT).
19785         (link-bounded): Replace $(+prector)/$(+postctor) with
19786         $(+prectorT)/$(+postctorT).
19787         (+prectorT): New macro.
19788         (+postctorT): Likewise.
19790 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
19792         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19793         (round_str): Handle values above the maximum for IBM long double
19794         as inexact.
19795         * stdlib/tst-strtod-round.c (tests): Regenerated.
19797 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19799         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19800         assembler flag.
19801         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19802         zarch_nohighgprs around the zarch optimized routines.
19803         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19804         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19805         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19806         for zarch.
19808 2012-09-05  David S. Miller  <davem@davemloft.net>
19810         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19812         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19813         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19814         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19815         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19816         entries.
19818 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19820         * malloc/arena.c: Fold copyright years.
19821         * malloc/mcheck.c, malloc/memusage.c: Likewise.
19823 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19825         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19827 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19829         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
19831 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19833         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19834         change internal state upon failure.
19836 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19838         * malloc/mcheck.c (mcheck_check_all): Fix typo.
19839         * malloc/memusage.c (mmap): Likewise.
19840         (mmap64, mremap): Likewise.  Adjust name in comment.
19842 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19844         * libio/fileops.c: Fix typos in comments.
19845         * libio/oldfileops.c: Likewise.
19846         * libio/wfileops.c: Likewise.
19848 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19850         [BZ #1349]
19851         * malloc/Makefile (tests): Add tst-malloc-usable test case.
19852         (tst-malloc-usable-ENV): Set environment for test case.
19853         * malloc/hooks.c (malloc_check_get_size): New function to get
19854         requested size.
19855         * malloc/malloc.c (musable): Use malloc_check_get_size.
19856         * malloc/tst-malloc-usable.c: New test case.
19858 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
19860         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19862 2012-09-05  Allan McRae  <allan@archlinux.org>
19864         [BZ #13966]
19865         * configure.in (CXX_SYSINCLUDES): Use compiler output to
19866         determine header location.
19867         * configure: Regenerated.
19869 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
19871         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19872         float format.
19873         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
19874         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19875         format.
19876         (test): Regenerate.
19878 2012-09-04  David S. Miller  <davem@davemloft.net>
19880         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19881         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19882         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19884 2012-09-04  Florian Weimer  <fweimer@redhat.com>
19886         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19887         failures.
19889         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19891 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
19893         [BZ #9914]
19894         * libio/iogetdelim.c: Include <limits.h>.
19895         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19896         + len + 1 would overflow.
19898 2012-09-03  Andreas Jaeger  <aj@suse.de>
19900         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19901         * sysdeps/i386/fpu/libm-test-ulps: Update.
19903 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19905         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19906         Add s_sinf-sse2, s_conf-sse2.
19908         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19909         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19910         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19911         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19913         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19914         for using routine as __sinf_ia32.
19915         Use macro for function declaration and weak_alias.
19916         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19917         for using routine as __cosf_ia32.
19918         Use macro for function declaration and weak_alias.
19920         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19921         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19923         * sysdeps/x86_64/fpu/s_sinf.S: New file.
19924         * sysdeps/x86_64/fpu/s_cosf.S: New file.
19925         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19927         * math/libm-test.inc (cos_test): Add more test cases.
19928         (sin_test): Likewise.
19929         (sincos_test): Likewise.
19931 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19933         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19934         (IFUNC_RESOLVE): Make pointers to the specialized implementations
19935         hidden.
19936         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19938 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
19940         [BZ #14538]
19941         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19942         first element of the GOT.
19943         (elf_machine_load_address): Return the difference between
19944         the runtime address of _DYNAMIC and elf_machine_dynamic ().
19946 2012-09-01  Allan McRae  <allan@archlinux.org>
19948         [BZ #13412]
19949         * configure.in (AWK): Require gawk version 3.0 or later.
19950         * configure: Regenerated.
19952 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
19954         * sysdeps/unix/sysv/linux/kernel-features.h
19955         (__ASSUME_POSIX_CPU_TIMERS): Remove.
19956         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19957         [__NR_clock_getres]: Make code unconditional.
19958         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19959         (clock_getcpuclockid): Remove code left unreachable by removal of
19960         conditionals.
19961         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19962         code unconditional.
19963         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19964         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19965         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19966         Make code unconditional.
19967         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19968         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19969         * sysdeps/unix/sysv/linux/clock_settime.c
19970         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19971         conditional code.
19972         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19973         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19975 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
19977         [BZ #14476]
19978         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19979         scripts/test-installation.pl.
19981         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19982         and $ld_so_version if it is set.
19984 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19986         [BZ #14516]
19987         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19988         failure if reading from procfs failed.
19989         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19991 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
19993         * sysdeps/unix/sysv/linux/kernel-features.h
19994         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19995         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19996         Remove conditional code.
19997         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19998         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19999         Remove conditional code.
20000         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20001         * sysdeps/unix/sysv/linux/i386/fxstat.c
20002         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20003         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20004         * sysdeps/unix/sysv/linux/i386/fxstatat.c
20005         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20006         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20007         * sysdeps/unix/sysv/linux/i386/lxstat.c
20008         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20009         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20010         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
20011         Remove conditional code.
20012         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20013         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
20014         Remove conditional code.
20015         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20016         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
20017         <kernel-features.h>.
20018         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
20019         Remove.
20020         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
20021         Remove conditional code.
20022         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20023         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
20024         Remove conditional.
20026 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
20028         [BZ #5400]
20029         * NEWS: Add fixed bug number.
20031 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
20033         [BZ #14519]
20034         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
20035         underflowing exponent in case of negative sign.
20036         * stdlib/tst-strtod-round-data: Add more tests.
20037         * stdlib/tst-strtod-round.c (tests): Regenerated.
20039         [BZ #3479]
20040         * stdlib/strtod_l.c (NDIG): Remove.
20041         (HEXNDIG): Likewise.
20042         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
20043         smallest representable value.
20044         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
20045         lie within an exact representation of 1/2 ulp of the result.
20046         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
20047         unconditionally.
20048         (TENS_P9_IDX): Define unconditionally.
20049         (TENS_P9_SIZE): Likewise.
20050         (TENS_P10_IDX): Likewise.
20051         (TENS_P10_SIZE): Likewise.
20052         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
20053         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
20054         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
20055         entries for 10^2^13 and 10^2^14.
20056         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
20057         (TENS_P13_IDX): Define.
20058         (TENS_P13_SIZE): Likewise.
20059         (TENS_P14_IDX): Likewise.
20060         (TENS_P14_SIZE): Likewise.
20061         (_fpioconst_pow10): Change array size to
20062         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
20063         unconditional.
20064         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
20065         1024]: Add entries for 10^2^13 and 10^2^14.
20066         [LAST_POW10 > _LAST_POW10]: Remove #error.
20067         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
20068         (_fpioconst_pow10): Change array size to
20069         FPIOCONST_POW10_ARRAY_SIZE.
20070         * stdlib/gen-fpioconst.c: New file.
20071         * stdlib/gen-tst-strtod-round.c: Likewise.
20072         * stdlib/tst-strtod-round-data: Likewise.
20073         * stdlib/tst-strtod-round.c: Likewise.
20074         * stdlib/Makefile (tests): Add tst-strtod-round.
20076         [BZ #14459]
20077         * stdlib/strtod_l.c: Include <stdint.h>.
20078         (NDEBUG): Do not define.
20079         (round_and_return): Change EXPONENT parameter to type intmax_t.
20080         Rearrange calculations to avoid internal overflow possibilities.
20081         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
20082         Rearrange calculations to avoid internal overflow possibilities.
20083         Assert that number fits inside MPNSIZE limbs.
20084         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
20085         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
20086         calculations and add assertions to avoid internal overflow
20087         possibilities.  Add casts to avoid signed/unsigned operations.
20088         * stdlib/tst-strtod-overflow.c: New file.
20089         * stdlib/Makefile (tests): Add tst-strtod-overflow.
20091 2012-08-25  Marek Polacek  <polacek@redhat.com>
20093         * time/time.h: Fix some typos in comments.
20095 2012-08-23  Roland McGrath  <roland@hack.frob.com>
20097         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
20098         * posix/tst-rfc3484-2.c: Likewise.
20099         * posix/tst-rfc3484-3.c: Likewise.
20101 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
20103         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
20104         (EF_ARM_ABI_FLOAT_HARD): Likewise.
20106 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
20108         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
20109         #include of fxstatat64.c.
20111 2012-08-22  Roland McGrath  <roland@hack.frob.com>
20113         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
20114         * shadow/getspent_r.c: Likewise.
20115         * shadow/getspnam.c: Likewise.
20116         * shadow/getspnam_r.c: Likewise.
20117         * gshadow/getsgent.c: Likewise.
20118         * gshadow/getsgent_r.c: Likewise.
20119         * gshadow/getsgnam.c: Likewise.
20120         * gshadow/getsgnam_r.c: Likewise.
20121         * inet/getnetbyad.c: Likewise.
20122         * inet/getnetbyad_r.c: Likewise.
20123         * inet/getnetbynm.c: Likewise.
20124         * inet/getnetbynm_r.c: Likewise.
20125         * inet/getnetent.c: Likewise.
20126         * inet/getnetent_r.c: Likewise.
20127         * inet/getproto.c: Likewise.
20128         * inet/getproto_r.c: Likewise.
20129         * inet/getprtent.c: Likewise.
20130         * inet/getprtent_r.c: Likewise.
20131         * inet/getprtname.c: Likewise.
20132         * inet/getprtname_r.c: Likewise.
20133         * inet/getrpcbyname.c: Likewise.
20134         * inet/getrpcbyname_r.c: Likewise.
20135         * inet/getrpcbynumber.c: Likewise.
20136         * inet/getrpcbynumber_r.c: Likewise.
20137         * inet/getrpcent.c: Likewise.
20138         * inet/getrpcent_r.c: Likewise.
20139         * inet/getaliasent.c: Likewise.
20140         * inet/getaliasent_r.c: Likewise.
20141         * inet/getaliasname.c: Likewise.
20142         * inet/getaliasname_r.c: Likewise.
20143         * nscd/getgrgid_r.c: Likewise.
20144         * nscd/getgrnam_r.c: Likewise.
20145         * nscd/gethstbyad_r.c: Likewise.
20146         * nscd/gethstbynm3_r.c: Likewise.
20147         * nscd/getpwnam_r.c: Likewise.
20148         * nscd/getpwuid_r.c: Likewise.
20149         * nscd/getsrvbynm_r.c: Likewise.
20150         * nscd/getsrvbypt_r.c: Likewise.
20151         * nscd/gai.c: Likewise.
20153         * configure.in (build_nscd): New substituted variable, set
20154         by --disable-build-nscd and defaults to $use_nscd.
20155         * configure: Regenerated.
20156         * config.make.in (build-nscd): New substituted variable.
20157         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
20158         Change conditional to require [$(build-nscd) = yes] as well.
20159         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
20161         [BZ# 13696]
20162         * configure.in (use_nscd): New substituted variable, set by
20163         --disable-nscd.  If enabled, define USE_NSCD.
20164         * configure: Regenerated.
20165         * config.h.in: Add USE_NSCD.
20166         * config.make.in (use-nscd): New substituted variable.
20167         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
20168         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
20169         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
20170         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
20171         (CFLAGS-getgrnam_r.c): Likewise.
20172         (CFLAGS-initgroups.c): Likewise.
20173         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
20174         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
20175         Variables removed.
20176         * inet/getnetgrent_r.c
20177         (nscd_setnetgrent): New function, broken out of ...
20178         (setnetgrent): ... here.  Call it.
20179         (innetgr): Conditionalize nscd bits on [USE_NSCD].
20180         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
20181         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
20182         * nscd/Makefile (routines, aux): Move definitions after include of
20183         Makeconfig.  Conditionalize on [$(use-nscd) != no].
20184         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
20185         Conditionalize on [USE_NSCD].
20186         (is_nscd, nscd_init_cb): Likewise.
20187         (nss_load_library): Conditionalize init callback on [USE_NSCD].
20188         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
20189         * nss/nss_db/db-init.c: Likewise.
20190         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
20191         [USE_NSCD].
20192         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
20193         (make_request): Use it.
20194         (cache_valid_p): New function.
20195         (__check_pf): Use it.
20196         * NEWS: Add item for --disable-nscd.
20198 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
20200         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
20201         to support sed >= 4.2.1-20-ga9bf076.
20202         * configure: Regenerated.
20204 2012-08-22  Roland McGrath  <roland@hack.frob.com>
20206         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
20207         Conditionalize whole body on [IREL].
20209 2012-08-22  Jeff Law <law@redhat.com>
20211         [BZ #14505]
20212         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
20213         if the family is PF_UNSPEC.
20215 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
20217         * Makerules (lib-version): Rename from V.
20218         (install-lib-nosubdir): Change V to lib-version.
20220 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
20222         [BZ #14252]
20223         * powerpc32/power6/wcschr.c: New file.
20224         * powerpc32/power6/wcscpy.c: New file.
20225         * powerpc32/power6/wcsrchr.c: New file.
20226         * powerpc64/power6/wcschr.c: New file.
20227         * powerpc64/power6/wcscpy.c: New file.
20228         * powerpc64/power6/wcsrchr.c: New file.
20230 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
20232         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
20233         (two_way_short_needle): Use it.
20234         * string/strstr.c (AVAILABLE1_USES_J): Define.
20235         * string/strcasestr.c: Likewise.
20237         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
20238         array references.
20239         * string/strcasestr.c (TOLOWER): Make side-effect safe.
20241         [BZ #11607]
20242         * NEWS: Add an entry.
20243         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
20244         define their defaults.
20245         (two_way_short_needle): Detect end-of-string on-the-fly.
20246         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
20247         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
20248         * string/bug-strcasestr1.c: New test.
20249         * string/Makefile: Run it.
20251 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
20253         [BZ #11607]
20254         * string/str-two-way.h (two_way_short_needle): Optimize matching of
20255         the first character.
20257 2012-08-21  Roland McGrath  <roland@hack.frob.com>
20259         * csu/elf-init.c (__libc_csu_irel): Function removed.
20260         * csu/libc-start.c (apply_irel): New function.
20261         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
20263 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
20265         * sysdeps/unix/sysv/linux/kernel-features.h
20266         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
20267         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20268         <kernel-features.h>.
20269         [__NR_fadvise64_64]: Make code unconditional.
20270         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
20271         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20272         !__NR_fadvise64_64)]: Likewise.
20273         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20274         !__NR_fadvise64_64))]: Likewise.
20275         [__NR_fadvise64]: Make code unconditional.
20276         [!__NR_fadvise64]: Remove conditional code.
20277         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
20278         <kernel-features.h>.
20279         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20280         unconditional.
20281         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20282         conditional code.
20283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
20284         not include <kernel-features.h>.
20285         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20286         unconditional.
20287         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20288         conditional code.
20289         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
20290         include <kernel-features.h>.
20291         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20292         unconditional.
20293         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20294         conditional code.
20296 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
20298         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
20299         slight instruction rearrangements per scrollpipe analysis.
20300         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20302 2012-08-20  Roland McGrath  <roland@hack.frob.com>
20304         * manual/syslog.texi (syslog; vsyslog, closelog):
20305         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
20306         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
20308         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
20309         DSOCAPS to match condition on defining it.
20311 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
20313         * sysdeps/unix/sysv/linux/kernel-features.h
20314         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
20315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
20316         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20317         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
20319         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20320         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
20322         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20323         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20325         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
20326         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
20328         * sysdeps/unix/sysv/linux/kernel-features.h
20329         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
20330         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
20331         unconditional.
20332         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20333         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
20334         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20335         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20336         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
20337         Make code unconditional.
20338         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20339         (__mmap64) [!__NR_mmap2]: Likewise.
20340         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
20341         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20342         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20343         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
20344         [__NR_mmap2]: Make code unconditional.
20345         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20346         (__mmap64) [!__NR_mmap2]: Likewise.
20348 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20350         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
20352 2012-08-18  Andreas Jaeger  <aj@suse.de>
20354         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
20356 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
20358         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
20359         * include/unistd.h (__have_sock_cloexec): Likewise.
20360         (__have_pipe2): Likewise.
20361         (__have_dup3): Likewise.
20363 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
20365         [BZ #9685]
20366         * include/unistd.h (__have_pipe2): Change define into an extern int.
20367         (__have_dup3): Likewise.
20368         * socket/have_sock_cloexec.c: Include fcntl.h.
20369         (__have_pipe2): New variable.
20370         (__have_dup3): Likewise.
20372 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
20374         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
20376 2012-08-17  Marek Polacek  <polacek@redhat.com>
20378         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
20379         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
20381 2012-08-17  Roland McGrath  <roland@hack.frob.com>
20383         * configure.in: Add AC_SUBST for sysheaders.
20384         * configure: Regenerated.
20385         * config.make.in (sysheaders): New substituted variable.
20387         * sysdeps/unix/mkfifo.c: Moved ...
20388         * sysdeps/posix/mkfifo.c: ... here.
20389         * sysdeps/unix/mkfifoat.c: Moved ...
20390         * sysdeps/posix/mkfifoat.c: ... here.
20392         * sysdeps/unix/utime.c: Moved ...
20393         * sysdeps/posix/utime.c: ... here.
20395         * sysdeps/unix/time.c: Moved ...
20396         * sysdeps/posix/time.c: ... here.
20397         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
20398         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
20400         * sysdeps/unix/nice.c: Moved ...
20401         * sysdeps/posix/nice.c: ... here.
20403         * sysdeps/unix/alarm.c: Moved ...
20404         * sysdeps/posix/alarm.c: ... here.
20406         * intl/Makefile ($(codeset_mo)): Depend on the input file.
20408 2012-08-17  Jeff Law <law@redhat.com>
20410         * intl/Makefile (codeset_mo): New variable.
20411         ($(codeset_mo)): New target.
20412         (tst-codeset.out): Depend on that.  Remove explicit rule.
20413         (tst-gettext3.out, tst-gettext5.out): Likewise.
20414         (LOCPATH-ENV, tst-codeset-ENV): New variables.
20415         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
20416         * intl/tst-codeset.sh: Remove.
20417         * intl/tst-gettext3.sh: Likewise.
20418         * intl/tst-gettext5.sh: Likewise.
20420 2012-08-17  Roland McGrath  <roland@hack.frob.com>
20422         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
20423         * sysdeps/unix/syscalls.list: ... here.
20425         * sysdeps/posix/getaddrinfo.c
20426         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
20427         (gaiconf_init, gaiconf_reload): Use them.
20428         [!_STATBUF_ST_NSEC]
20429         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
20430         Define using time_t rather than struct timespec.
20432         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
20433         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
20434         Macros removed.
20435         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
20436         [!NO_THREADS].
20437         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
20438         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
20439         Likewise.
20441         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
20442         __libc_cleanup_push argument.
20444         * bits/param.h: New file.
20445         * misc/sys/param.h: New file.
20446         * include/sys/param.h: New file.
20447         * misc/Makefile (headers): Add bits/param.h.
20448         * sysdeps/generic/sys/param.h: File removed.
20449         * sysdeps/unix/sysv/linux/bits/param.h: New file.
20450         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
20451         * sysdeps/mach/hurd/bits/param.h: New file.
20452         * sysdeps/mach/hurd/sys/param.h: File removed.
20454         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
20455         last change.
20457         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
20458         [_IO_MTSAFE_IO].
20459         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
20460         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
20461         New macros.
20463         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
20464         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
20465         rather than -D_IO_MTSAFE_IO conditionally.
20466         * stdio-common/Makefile (CPPFLAGS): Likewise.
20467         * wcsmbs/Makefile (CPPFLAGS): Likewise.
20468         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
20469         Use $(libio-mtsafe).
20470         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
20471         of -D_IO_MTSAFE_IO.
20472         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
20473         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
20474         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
20475         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
20476         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
20477         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
20478         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
20479         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
20480         (CFLAGS-fread_u_chk.c): Likewise.
20481         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
20482         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
20483         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
20484         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
20485         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
20486         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
20487         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
20488         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
20489         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
20491         * libio/Makefile: Test [$(libc-reentrant) = yes]
20492         instead of [$(filter %REENTRANT, $(defines)) nonempty].
20494         * Makeconfig
20495         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
20496         * sysdeps/pthread/configure: File removed.
20497         * sysdeps/pthread/Makeconfig: New file.
20498         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
20499         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
20501 2012-08-16  Gary Benson  <gbenson@redhat.com>
20503         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
20504         unmapping the first object in a namespace.
20506 2012-08-16  Roland McGrath  <roland@hack.frob.com>
20508         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
20509         (__internal_setnetgrent): ... this.  Add internal_function to
20510         definition.  Add libc_hidden_def.
20511         (setnetgrent): Update caller.
20512         (internal_endnetgrent): Renamed to ...
20513         (__internal_endnetgrent): ... this.  Add internal_function to
20514         definition.  Add libc_hidden_def.
20515         (endnetgrent): Update caller.
20516         (internal_getnetgrent_r): Renamed to ...
20517         (__internal_getnetgrent_r): ... this.  Add internal_function to
20518         definition.  Add libc_hidden_def.
20519         (__getnetgrent_r): Update caller.
20520         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
20522 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
20524         * stdlib/longlong.h: Update from GCC.
20526 2012-08-16  Roland McGrath  <roland@hack.frob.com>
20528         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
20529         on _QL, which is set by umul_ppmm but never used.
20530         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
20531         variables, which are set by GMP macros but never used.
20532         * stdio-common/_itowa.c (_itowa): Likewise.
20533         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
20534         * stdlib/mod_1.c (mpn_mod_1): Likewise.
20536 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
20538         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
20539         struct La_sh_regs is not constant.
20540         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
20541         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
20542         and struct La_sparc64_regs are not constant.
20544 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
20546         * sysdeps/unix/sysv/linux/kernel-features.h
20547         (__ASSUME_POSIX_TIMERS): Remove.
20548         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20549         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20550         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
20551         Make code unconditional.
20552         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20553         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
20554         Make code unconditional.
20555         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20556         * sysdeps/unix/sysv/linux/clock_nanosleep.c
20557         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
20558         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20559         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
20560         Make code unconditional.
20561         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20562         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
20563         (__libc_missing_posix_timers): Remove.
20565 2012-08-15  Roland McGrath  <roland@hack.frob.com>
20567         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
20568         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
20570         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
20572         * elf/dl-sym.c: Include <stdlib.h>.
20574         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
20575         constants, which avoids warnings in 32-bit builds.
20577         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
20578         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
20580         * misc/lseek.c: File moved to ...
20581         * io/lseek.c: ... here.
20583         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
20585         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
20586         shifting LEN more than 31 bits at once.
20588 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20590         [BZ #14195]
20591         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
20592         segmentation fault for a case of two empty input strings.
20593         * string/test-strncasecmp.c (check1): Renamed to...
20594         (bz12205): ...this.
20595         (bz14195): Add new testcase for two empty input strings and N > 0.
20596         (test_main): Call new testcase, adapt for renamed function.
20598 2012-08-15  Andreas Jaeger  <aj@suse.de>
20600         [BZ #14090]
20601         * crypt/md5test2.c: New test, based on test supplied by Serge
20602         Belyshev <belyshev@depni.sinp.msu.ru>.
20603         * crypt/Makefile (xtests): Add md5test-giant..
20604         * crypt/Makefile ($(objpfx)md5test-giant): Add.
20606 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
20608         [BZ #14090]
20609         * crypt/md5.c (md5_process_block): Don't assume the buffer
20610         length is less than 2**32.
20611         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
20612         length is less than 2**64.
20614 2012-08-15  Roland McGrath  <roland@hack.frob.com>
20616         * string/str-two-way.h: Include <sys/param.h>.
20617         (MAX): Macro removed.
20619         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
20620         Move #define and #undef of memmove to just before and after
20621         including <string.h>.
20623         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
20624         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
20625         and after including <string.h>.  Move declarations of
20626         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
20627         to before #include "string/memmove.c".
20629         * include/dirent.h: Declare __getdirentries.
20631         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
20632         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
20634 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
20636         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
20637         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
20638         * sysdeps/i386/configure: Regenerated.
20639         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
20640         STABS_CURRENT_FILE, and STABS_FUN.
20641         (END): Remove call to STABS_FUN_END.
20642         (STABS_CURRENT_FILE1): Delete.
20643         (STABS_CURRENT_FILE): Likewise.
20644         (STABS_FUN): Likewise.
20645         (STABS_FUN_END): Likewise.
20646         (STABS_FUN2): Likewise.
20647         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
20648         * sysdeps/x86_64/configure: Regenerated.
20650 2012-08-14  Roland McGrath  <roland@hack.frob.com>
20652         * elf/dl-open.c: Include <atomic.h>.
20653         * elf/dl-lookup.c: Likewise.
20655 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
20657         * sysdeps/unix/sysv/linux/kernel-features.h
20658         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
20659         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
20660         unconditionally.
20661         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
20662         unconditionally.
20663         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
20664         condition on __ASSUME_CLONE_THREAD_FLAGS.
20666 2012-08-14  Andreas Jaeger  <aj@suse.de>
20668         * sysdeps/i386/fpu/libm-test-ulps: Update.
20670 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
20672         * include/atomic.h (atomic_exchange_and_add): Split into ...
20673         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
20674         New atomic macros.
20676 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
20678         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20680 2012-08-13  Jeff Law <law@redhat.com>
20682         * manual/stdio.texi (snprintf): Clarify handling of the trailing
20683         null byte in the output string.
20685 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
20687         * sysdeps/unix/sysv/linux/kernel-features.h
20688         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20689         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
20690         (__ASSUME_ARG_MAX_STACK_BASED): Define.
20691         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20692         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
20693         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
20694         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
20696 2012-08-09  Jeff Law <law@redhat.com>
20698         [BZ #13939]
20699         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
20700         When avoid_arena is set, don't retry in the that arena.  Pick the
20701         next one, whatever it might be.
20702         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
20703         (arena_lock): Pass in new parameter to arena_get2.
20704         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
20705         arena_get2.
20706         (__libc_malloc): Unify retrying after main arena failure with
20707         __libc_memalign version.
20708         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
20710 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
20712         [BZ #14166]
20713         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
20714         to __redirect_strstr.
20715         (__strstr_sse42): Use typeof __redirect_strstr.
20716         (__strstr_ia32): Likewise.
20717         (__libc_strstr): New prototype.
20718         (strstr): Renamed to ...
20719         (__libc_strstr): This.
20720         (strstr): New strong alias of __libc_strstr.
20721         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20722         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
20723         __redirect_time.
20724         Include <time.h>.
20725         (__libc_time): New prototype.
20726         (time_ifunc): Replace time with __libc_time.
20727         (time): New strong alias and hidden definition of __libc_time.
20728         (__GI_time): Remove strong alias.
20729         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
20730         Include <stddef.h>.
20731         (memmove): Redefined to __redirect_memmove.
20732         (__memmove_sse2): Use typeof __redirect_memmove.
20733         (__memmove_ssse3): Likewise.
20734         (__memmove_ssse3_back): Likewise.
20735         (__libc_memmove): New prototype.
20736         (memmove): Renamed to ...
20737         (__libc_memmove): This.
20738         (memmove): New strong alias of __libc_memmove.
20740 2012-08-08  Mark Salter  <msalter@redhat.com>
20742         * elf/elf.h
20743         (R_MN10300_TLS_GD): Define.
20744         (R_MN10300_TLS_LD): Likewise.
20745         (R_MN10300_TLS_LDO): Likewise.
20746         (R_MN10300_TLS_GOTIE): Likewise.
20747         (R_MN10300_TLS_IE): Likewise.
20748         (R_MN10300_TLS_LE): Likewise.
20749         (R_MN10300_TLS_DTPMOD): Likewise.
20750         (R_MN10300_TLS_DTPOFF): Likewise.
20751         (R_MN10300_TLS_TPOFF): Likewise.
20752         (R_MN10300_SYM_DIFF): Likewise.
20753         (R_MN10300_ALIGN): Likewise.
20754         (R_MN10300_NUM): Update.
20756 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
20758         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
20759         Remove.
20761 2012-08-08  Roland McGrath  <roland@hack.frob.com>
20763         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
20765         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
20766         sysdeps/unix -> sysdeps/posix move.
20767         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20769 2012-08-07      Allan McRae     <allan@archlinux.org>
20771         [BZ #14303]
20772         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
20773         (SUNOS_CPP): Likewise.
20774         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20775         not found.
20776         (open_input): Call CPP using execvp.
20778 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
20780         * sysdeps/unix/sysv/linux/kernel-features.h
20781         (__ASSUME_PROT_GROWSUPDOWN): Remove.
20782         (__ASSUME_NO_CLONE_DETACHED): Likewise.
20783         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20784         (__ASSUME_WAITID_SYSCALL): Likewise.
20785         * sysdeps/unix/sysv/linux/dl-execstack.c
20786         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20787         code unconditional.
20788         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20789         conditional code.
20790         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20791         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20792         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20793         code.
20794         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20795         unconditional.
20796         [__ASSUME_WAITID_SYSCALL]: Likewise.
20797         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20799 2012-08-07  Roland McGrath  <roland@hack.frob.com>
20801         * sysdeps/unix/closedir.c: Renamed to ...
20802         * sysdeps/posix/closedir.c: ... here.
20803         * sysdeps/unix/dirfd.c: Renamed to ...
20804         * sysdeps/posix/dirfd.c: ... here.
20805         * sysdeps/unix/dirstream.h: Renamed to ...
20806         * sysdeps/posix/dirstream.h: ... here.
20807         * sysdeps/unix/fdopendir.c: Renamed to ...
20808         * sysdeps/posix/fdopendir.c: ... here.
20809         * sysdeps/unix/opendir.c: Renamed to ...
20810         * sysdeps/posix/opendir.c: ... here.
20811         * sysdeps/unix/readdir.c: Renamed to ...
20812         * sysdeps/posix/readdir.c: ... here.
20813         * sysdeps/unix/readdir_r.c: Renamed to ...
20814         * sysdeps/posix/readdir_r.c: ... here.
20815         * sysdeps/unix/rewinddir.c: Renamed to ...
20816         * sysdeps/posix/rewinddir.c: ... here.
20817         * sysdeps/unix/seekdir.c: Renamed to ...
20818         * sysdeps/posix/seekdir.c: ... here.
20819         * sysdeps/unix/telldir.c: Renamed to ...
20820         * sysdeps/posix/telldir.c: ... here.
20821         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20822         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20823         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20824         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20826         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20827         * bits/fcntl.h: ... here.
20829         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20830         not 0.
20831         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20832         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20833         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20834         (struct flock): Move l_start, l_len to the beginning.
20835         Use __pid_t for l_pid.
20836         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20837         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20838         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20839         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20840         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20841         [__USE_LARGEFILE64] (struct flock64): New type.
20842         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20844         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20845         * bits/dirent.h: ... here.
20847         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20848         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20850 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
20852         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20853         Change from 2.6.0 to 2.6.16.
20854         * sysdeps/unix/sysv/linux/configure: Regenerated.
20855         * sysdeps/unix/sysv/linux/kernel-features.h
20856         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20857         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20858         version.
20859         (__ASSUME_UTIMES): Likewise.
20860         (__ASSUME_CLONE_STOPPED): Remove.
20861         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20862         architectures, not kernel version.
20863         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20864         (__ASSUME_NO_CLONE_DETACHED): Likewise.
20865         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20866         (__ASSUME_WAITID_SYSCALL): Likewise.
20867         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20868         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20869         * README: State 2.6.16 as minimum Linux kernel version.  Do not
20870         refer to older versions.
20872 2012-08-06  Roland McGrath  <roland@hack.frob.com>
20874         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20875         Define alphasort64 as an alias.
20876         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20877         Define versionsort64 as an alias.
20878         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20879         Define scandir64 as an alias.
20880         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20881         Define scandirat64 as an alias.
20882         * dirent/alphasort64.c (alphasort64):
20883         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20884         * dirent/versionsort64.c: Likewise.
20885         * dirent/scandir64.c: Likewise.
20886         * dirent/scandirat64.c: Likewise.
20887         * sysdeps/wordsize-64/alphasort.c: File removed.
20888         * sysdeps/wordsize-64/alphasort64.c: File removed.
20889         * sysdeps/wordsize-64/scandir.c: File removed.
20890         * sysdeps/wordsize-64/scandir64.c: File removed.
20891         * sysdeps/wordsize-64/scandirat.c: File removed.
20892         * sysdeps/wordsize-64/scandirat64.c: File removed.
20893         * sysdeps/wordsize-64/versionsort.c: File removed.
20894         * sysdeps/wordsize-64/versionsort64.c: File removed.
20895         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20896         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20897         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20898         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20899         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20900         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20901         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20902         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20904         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20905         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20906         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20907         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20908         [defined __arch64__ || defined __sparcv9]
20909         (__INO_T_MATCHES_INO64_T): New macro.
20910         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20911         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20912         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20913         * sysdeps/unix/sysv/linux/bits/dirent.h
20914         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20915         (_DIRENT_MATCHES_DIRENT64): New macro.
20917         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20918         Define lockf64 as an alias.
20919         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20920         Define fseeko64 as an alias.
20921         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20922         Define ftello64 as an alias.
20923         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20924         Define _IO_fgetpos64 and fgetpos64 as aliases.
20925         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20926         Define _IO_fsetpos64 and fsetpos64 as aliases.
20927         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20928         Conditionalize body on this.
20929         * libio/fseeko64.c: Likewise.
20930         * libio/ftello64.c: Likewise.
20931         * libio/iofgetpos64.c: Likewise.
20932         * libio/iofsetpos64.c: Likewise.
20933         * sysdeps/wordsize-64/lockf.c: File removed.
20934         * sysdeps/wordsize-64/lockf64.c: File removed.
20935         * sysdeps/wordsize-64/fseeko.c: File removed.
20936         * sysdeps/wordsize-64/fseeko64.c: File removed.
20937         * sysdeps/wordsize-64/ftello.c: File removed.
20938         * sysdeps/wordsize-64/ftello64.c: File removed.
20939         * sysdeps/wordsize-64/iofgetpos.c: File removed.
20940         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20941         * sysdeps/wordsize-64/iofsetpos.c: File removed.
20942         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20943         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20944         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20945         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20946         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20947         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20948         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20949         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20950         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20951         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20952         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20954         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20955         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20956         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20957         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20958         [defined __arch64__ || defined __sparcv9]
20959         (__OFF_T_MATCHES_OFF64_T): New macro.
20960         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20961         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20962         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20963         (__OFF_T_MATCHES_OFF64_T): New macro.
20965 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
20967         * stdlib/secure-getenv.c (__secure_getenv): Replace
20968         GLIBC_2_16 with GLIBC_2_17.
20970 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
20972         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20973         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20975 2012-08-03  David S. Miller  <davem@davemloft.net>
20977         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20979 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
20981         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20982         Remove.
20983         (__ASSUME_CORRECT_SI_PID): Likewise.
20984         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20985         (__ASSUME_TMPFS_NAME): Likewise.
20986         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20987         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20988         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20989         (HAVE_AUX_SECURE): Make definition unconditional.
20990         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20991         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20993 2012-08-03  Roland McGrath  <roland@hack.frob.com>
20995         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20996         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20997         * sysdeps/mach/hurd/eloop-threshold.h: New file.
20998         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20999         __eloop_threshold instead of SYMLOOP_MAX.
21001         * sysdeps/generic/eloop-threshold.h: New file.
21002         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
21003         of MAXSYMLINKS.
21004         * elf/chroot_canon.c (chroot_canon): Likewise.
21006 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
21008         [BZ #13717]
21009         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21010         Change to 2.6.0 everywhere.
21011         * sysdeps/unix/sysv/linux/configure: Regenerated.
21012         * sysdeps/unix/sysv/linux/kernel-features.h
21013         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
21014         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
21015         kernel versions.
21016         (__ASSUME_POSIX_TIMERS): Define unconditionally.
21017         (__ASSUME_FUTEX_REQUEUE): Remove.
21018         (__ASSUME_STATFS64): Define unconditionally.
21019         (__ASSUME_AT_SECURE): Likewise.
21020         (__ASSUME_CORRECT_SI_PID): Likewise.
21021         (__ASSUME_TGKILL): Define without depending on kernel version for
21022         i386.
21023         (__ASSUME_UTIMES): Likewise.
21024         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
21025         kernel version.
21026         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
21027         (__ASSUME_TMPFS_NAME): Likewise.
21028         * README: Update reference to Linux kernel versions.
21030 2012-08-02  Marek Polacek  <polacek@redhat.com>
21032         [BZ# 14150]
21033         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
21034         libc_cv_asm_type_prefix with %.
21035         * configure: Regenerated.
21036         * include/libc-symbols.h: Remove comment about
21037         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
21038         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
21039         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
21040         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
21041         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
21042         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
21043         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
21044         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
21045         * elf/tst-unique2mod1.c: Likewise.
21046         * elf/tst-unique1mod2.c: Likewise.
21047         * elf/tst-unique1mod1.c: Likewise.
21048         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
21049         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
21050         Replace ASM_TYPE_DIRECTIVE with .type.
21051         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21052         * sysdeps/i386/sysdep.h: Likewise.
21053         * sysdeps/x86_64/sysdep.h: Likewise.
21054         * sysdeps/sh/sysdep.h: Likewise.
21055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21056         Do not define ASM_TYPE_DIRECTIVE.
21057         * sysdeps/powerpc/sysdep.h: Likewise.
21058         * sysdeps/powerpc/powerpc32/sysdep.h:
21059         Replace ASM_TYPE_DIRECTIVE with .type.
21060         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21061         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21062         * sysdeps/i386/fpu/e_powf.S: Likewise.
21063         * sysdeps/i386/fpu/e_expl.S: Likewise.
21064         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21065         * sysdeps/i386/fpu/e_acosh.S: Likewise.
21066         * sysdeps/i386/fpu/e_pow.S: Likewise.
21067         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
21068         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21069         * sysdeps/i386/fpu/s_expm1.S: Likewise.
21070         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
21071         * sysdeps/i386/fpu/e_log2.S: Likewise.
21072         * sysdeps/i386/fpu/e_log2l.S: Likewise.
21073         * sysdeps/i386/fpu/e_scalb.S: Likewise.
21074         * sysdeps/i386/fpu/e_powl.S: Likewise.
21075         * sysdeps/i386/fpu/e_log10f.S: Likewise.
21076         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
21077         * sysdeps/i386/fpu/e_logl.S: Likewise.
21078         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
21079         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
21080         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
21081         * sysdeps/i386/fpu/e_log2f.S: Likewise.
21082         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21083         * sysdeps/i386/fpu/e_log.S: Likewise.
21084         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21085         * sysdeps/i386/fpu/e_logf.S: Likewise.
21086         * sysdeps/i386/fpu/e_log10l.S: Likewise.
21087         * sysdeps/i386/fpu/e_atanh.S: Likewise.
21088         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
21089         * sysdeps/i386/fpu/e_log10.S: Likewise.
21090         * sysdeps/i386/fpu/s_frexp.S: Likewise.
21091         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21092         * sysdeps/i386/fpu/s_asinh.S: Likewise.
21093         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
21094         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21095         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
21096         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
21097         * sysdeps/i386/i686/strtok.S: Likewise.
21098         * sysdeps/i386/i386-mcount.S: Likewise.
21099         * sysdeps/i386/strtok.S: Likewise.
21100         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
21101         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21102         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21103         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21104         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
21105         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21106         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
21107         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
21108         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21109         * sysdeps/x86_64/_mcount.S: Likewise.
21110         * sysdeps/x86_64/strtok.S: Likewise.
21111         * sysdeps/sh/_mcount.S: Likewise.
21113 2012-08-01  Roland McGrath  <roland@hack.frob.com>
21115         * libio/iofopen.c: Include <fcntl.h>.
21116         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
21117         (_IO_fopen64, fopen64): Define as aliases.
21118         * libio/iofopen64.c: Include <fcntl.h>.
21119         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
21120         Conditionalize body on this.
21121         * sysdeps/wordsize-64/iofopen.c: File removed.
21122         * sysdeps/wordsize-64/iofopen64.c: File removed.
21124 2012-08-01  Marek Polacek  <polacek@redhat.com>
21126         * libc/Makeconfig: Use elf in place of binfmt-subdir.
21127         Use dlfcn directly instead of a variable.
21128         (binfmt-subdir): Do not define.
21129         (dlfcn): Likewise.
21131 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
21133         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
21134         Remove all definitions.
21135         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
21136         <kernel-features.h>.
21137         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21138         (miss_F_GETOWN_EX): Remove all definitions.
21139         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
21140         macro definition.
21141         [!__ASSUME_FCNTL64]: Remove conditional code.
21142         [__ASSUME_FCNTL64]: Make code unconditional.
21143         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
21144         <kernel-features.h>.
21145         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21146         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
21147         (lockf64) [__NR_fcntl64]: Make code unconditional.
21148         (lockf64) [__ASSUME_FCNTL64]: Likewise.
21150         * sysdeps/unix/sysv/linux/kernel-features.h
21151         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
21152         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
21153         Make code unconditional.
21154         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21155         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
21157         [__NR_vfork]: Make code unconditional.
21158         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21159         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
21161         [__NR_vfork]: Make code unconditional.
21162         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21163         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21165 2012-08-01  Roland McGrath  <roland@hack.frob.com>
21167         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
21168         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
21170         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21171         Define mkstemp64 as an alias.
21172         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21173         Define mkstemps64 as an alias.
21174         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21175         Define mkostemp64 as an alias.
21176         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21177         Define mkostemps64 as an alias.
21178         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
21179         Conditionalize body on this.
21180         * misc/mkostemp64.c: Likewise.
21181         * misc/mkostemps64.c: Likewise.
21182         * misc/mkstemps64.c: Likewise.
21183         * sysdeps/wordsize-64/mkstemp64.c: File removed.
21184         * sysdeps/wordsize-64/mkostemp64.c: File removed.
21185         * sysdeps/wordsize-64/mkostemp.c: File removed.
21186         * sysdeps/wordsize-64/mkstemp.c: File removed.
21187         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
21188         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
21189         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
21190         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
21192         [BZ #14138]
21193         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
21194         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
21195         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
21196         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
21198         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
21199         compat_symbol macros from <shlib-compat.h> rather than the underlying
21200         default_symbol_version and symbol_version macros, so that DEFAULT
21201         lines in shlib-versions are respected.
21202         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
21204 2012-08-01  Florian Weimer  <fweimer@redhat.com>
21206         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
21207         Declare with warn_unused_result.
21208         (setgid, setregid, setegid, setresgid): Likewise.
21209         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
21210         Likewise.
21211         * WUR-REPORT: Remove set*id functions.
21213 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
21215         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
21217 2012-07-31  Roland McGrath  <roland@hack.frob.com>
21219         [BZ #10191]
21220         * include/sys/socket.h (__libc_accept, __libc_accept4):
21221         Add attribute_hidden.
21222         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
21224         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
21225         use of PTR_MANGLE.
21226         * inet/getnetgrent_r.c (setup): Likewise.
21228         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
21230 2012-07-31  David S. Miller  <davem@davemloft.net>
21232         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21234 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
21236         [BZ #13629]
21237         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
21238         value between 1.0 and 2.0 and smaller part has absolute value less
21239         than 1.0.
21240         * math/s_clog10.c (__clog10): Likewise.
21241         * math/s_clog10f.c (__clog10f): Likewise.
21242         * math/s_clog10l.c (__clog10l): Likewise.
21243         * math/s_clogf.c (__clogf): Likewise.
21244         * math/s_clogl.c (__clogl): Likewise.
21245         * math/libm-test.inc (clog_test): Add more tests.
21246         (clog10_test): Likewise.
21247         * sysdeps/i386/fpu/libm-test-ulps: Update.
21248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21250 2012-07-31  Florian Weimer  <fweimer@redhat.com>
21252         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
21253         Exit with zero in case no suitable GID is found, and write a
21254         message to standard error.
21256 2012-07-30  Roland McGrath  <roland@hack.frob.com>
21258         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
21259         rather than to 1.
21260         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
21261         (MAXPATHLEN): Removed.
21262         (NOGROUP, NODEV): New macros.
21263         (setbit, clrbit, isset, isclr): New macros.
21264         (howmany, roundup, powerof2): New macros.
21265         (DEV_BSIZE): New macro.
21267         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
21268         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
21270         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
21271         definition on [!__NO_LONG_DOUBLE_MATH].
21273         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
21274         PTR_MANGLE and PTR_DEMANGLE.
21276         * socket/accept4.c (accept4): Rename to __libc_accept4.
21277         Define accept4 as a weak alias.
21279         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
21280         on [_DIRENT_HAVE_D_TYPE].
21281         * io/ftw.c (ftw_dir): Likewise.
21283         * io/xmknod.c (__xmknod): Don't check PATH for being null.
21285         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
21287         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
21288         Use the BSD numbers rather than the arbitrary ones we had.
21289         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
21290         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
21291         (SIGXCPU, SIGXFSZ): New macros.
21292         (_NSIG): Now 32.
21294         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
21295         initializer on [_LIBC_REENTRANT].
21297         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
21298         definitions inside [_POSIX_MAPPED_FILES].
21300         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
21302         * dirent/opendir.c: Include <fcntl.h>.
21304         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
21305         (__libc_getspecific): Likewise.
21306         (__libc_key_create): Likewise.
21308         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
21309         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
21310         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
21311         (tmpfile64): Define as alias.
21312         * sysdeps/wordsize-64/tmpfile.c: File removed.
21313         * sysdeps/wordsize-64/tmpfile64.c: File removed.
21314         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
21315         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
21317         * stdio-common/vfscanf.c: Include <stdbool.h>.
21318         * nss/makedb.c: Likewise.
21319         * stdio-common/_i18n_number.h: Likewise.
21320         * argp/argp-help.c: Likewise.
21321         * posix/wordexp.c: Likewise.
21322         * sysdeps/posix/spawni.c: Likewise.
21323         * nss/nss_files/files-initgroups.c: Likewise.
21324         * stdio-common/reg-modifier.c: Include <stdlib.h>.
21325         * nss/nss_files/files-initgroups.c: Likewise.
21326         * nss/nss_db/db-netgrp.c: Likewise.
21327         * nss/nss_db/db-initgroups.c: Likewise.
21328         * io/fchmodat.c: Include <sys/stat.h>.
21330         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
21331         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
21333         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
21334         [HAVE_MMAP].
21336         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
21337         Add multiple inclusion protection.
21339 2012-07-27  David S. Miller  <davem@davemloft.net>
21341         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21343 2012-07-27  Gary Benson  <gbenson@redhat.com>
21345         [BZ #14298]
21346         * elf/rtld.c: Include <stap-probe.h>.
21347         (dl_main): Added static probes "init_start" and "init_complete".
21348         * elf/dl-load.c: Include <stap-probe.h>.
21349         (lose): Take new parameter "nsid".
21350         Added static probe "map_failed".
21351         (_dl_map_object_from_fd): Pass namespace id to lose.
21352         Added static probe "map_start".
21353         (open_verify): Pass namespace id to lose.
21354         * elf/dl-open.c: Include <stap-probe.h>.
21355         (dl_open_worker) Added static probes "map_complete", "reloc_start"
21356         and "reloc_complete".
21357         * elf/dl-close.c: Include <stap-probe.h>.
21358         (_dl_close_worker): Added static probes "unmap_start" and
21359         "unmap_complete".
21360         * elf/rtld-debugger-interface.txt: New file documenting the above.
21362 2012-07-26  Roland McGrath  <roland@hack.frob.com>
21364         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
21365         rather than a string variable.
21366         * sunrpc/rpc_main.c (h_output): Likewise.
21367         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
21369 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
21371         * inet/check_native.c: New file.
21373 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
21375         [BZ #13629]
21376         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
21377         if larger part has absolute value 1.0.
21378         * math/s_clog10.c (__clog10): Likewise.
21379         * math/s_clog10f.c (__clog10f): Likewise.
21380         * math/s_clog10l.c (__clog10l): Likewise.
21381         * math/s_clogf.c (__clogf): Likewise.
21382         * math/s_clogl.c (__clogl): Likewise.
21383         * math/libm-test.inc (clog_test): Add more tests.
21384         (clog10_test): Likewise.
21385         * sysdeps/i386/fpu/libm-test-ulps: Update.
21386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21388         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
21389         (pltexit): Likewise.
21390         (La_regs): Likewise.
21391         (La_retval): Likewise.
21392         (int_retval): Likewise.
21393         Update #error for removed macros to refer only to definitions in
21394         tst-audit.h.
21395         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
21396         macro.
21397         (pltexit): Likewise.
21398         (La_regs): Likewise.
21399         (La_retval): Likewise.
21400         (int_retval): Likewise.
21401         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
21402         macro.
21403         (pltexit): Likewise.
21404         (La_regs): Likewise.
21405         (La_retval): Likewise.
21406         (int_retval): Likewise.
21407         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
21408         macro.
21409         (pltexit): Likewise.
21410         (La_regs): Likewise.
21411         (La_retval): Likewise.
21412         (int_retval): Likewise.
21413         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
21414         macro.
21415         (pltexit): Likewise.
21416         (La_regs): Likewise.
21417         (La_retval): Likewise.
21418         (int_retval): Likewise.
21419         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
21420         macro.
21421         (pltexit): Likewise.
21422         (La_regs): Likewise.
21423         (La_retval): Likewise.
21424         (int_retval): Likewise.
21425         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
21426         macro.
21427         (pltexit): Likewise.
21428         (La_regs): Likewise.
21429         (La_retval): Likewise.
21430         (int_retval): Likewise.
21431         * sysdeps/generic/tst-audit.h: Update comment to refer only to
21432         macro definitions in tst-audit.h.
21433         * sysdeps/i386/tst-audit.h: New file.
21434         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
21435         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
21436         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
21437         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
21438         * sysdeps/sh/tst-audit.h: Likewise.
21439         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
21440         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
21441         * sysdeps/x86_64/tst-audit.h: Likewise.
21443 2012-07-26  Andreas Jaeger  <aj@suse.de>
21445         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
21446         ptrace.
21448         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
21449         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
21450         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
21451         PTRACE_O_MASK.
21452         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
21453         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
21454         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
21456         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
21457         value.
21459         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
21460         _sigsys.
21461         (si_call_addr, si_syscall, si_arch): Define new macro.
21462         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
21463         _sigsys.
21464         (si_call_addr, si_syscall, si_arch): Define new marcro.
21465         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
21466         _sigsys.
21467         (si_call_addr, si_syscall, si_arch): Define new macro.
21468         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
21469         _sigsys.
21470         (si_call_addr, si_syscall, si_arch): Define new macro.
21472 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
21474         [BZ #13717]
21475         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21476         Change to 2.4.21 where previously 2.4.1.
21477         * sysdeps/unix/sysv/linux/configure: Regenerated.
21478         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
21479         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
21480         Linux kernel version.
21481         (__ASSUME_STD_AUXV): Remove.
21482         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
21483         kernel version.
21484         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
21485         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
21486         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
21487         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
21488         (__ASSUME_NETLINK_SUPPORT): Likewise.
21489         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
21490         (__no_netlink_support): Remove conditional definition.
21491         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
21492         Remove.
21493         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21494         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
21495         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
21496         (if_nameindex_ioctl): Remove.
21497         (if_nameindex_netlink): Do not handle __no_netlink_support.
21498         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21499         code.
21500         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
21501         Remove conditional code.
21502         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21503         code.
21504         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
21505         unconditional.
21506         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21507         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
21508         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
21509         Remove.
21510         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
21511         [!__ASSUME_STD_AUXV]: Remove conditional code.
21512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
21513         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
21514         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
21515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
21516         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
21517         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21518         code.
21519         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21521         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
21522         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21523         conditional code.
21524         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21526         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21527         code.
21528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21529         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21530         conditional code.
21531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
21532         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21533         code unconditional.
21534         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21535         conditional code.
21536         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21537         unconditional.
21538         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21539         conditional code.
21540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21541         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21542         unconditional.
21543         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21544         conditional code.
21545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21546         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21547         code unconditional.
21548         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21549         conditional code.
21550         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21551         unconditional.
21552         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21553         conditional code.
21554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21555         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21556         code unconditional.
21557         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21558         conditional code.
21559         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21560         unconditional.
21561         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21562         conditional code.
21564 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
21566         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
21567         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
21568         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21569         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
21570         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
21571         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
21572         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21573         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
21574         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
21575         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21576         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
21577         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
21578         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
21579         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
21580         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
21581         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
21582         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
21583         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
21584         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
21585         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
21586         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
21587         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
21588         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21590 2012-07-25  Florian Weimer  <fweimer@redhat.com>
21592         * Versions.def: Add GLIBC_2.17.
21593         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
21594         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
21595         Introduce __libc_secure_getenv.
21596         * stdlib/Versions (2.17): Add secure_getenv
21597         (GLIBC_PRIVATE): Add __libc_secure_getenv.
21598         * stdlib/secure-getenv.c: Rename __secure_getenv to
21599         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
21600         symbol __secure_getenv for GLIBC_2.0.
21601         * stdlib/tst-secure-getenv.c: New.
21602         * stdlib/Makefile (tests): Add testcase.
21603         * manual/startup.texi (Environment Access): Document
21604         secure_getenv.
21605         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
21606         __libc_secure_getenv.
21607         * inet/ruserpass.c (ruserpass): Likewise.
21608         * malloc/mtrace.c (mtrace): Likewise.
21609         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
21610         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
21611         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
21612         * sysdeps/posix/tempname.c: Likewise.  Evaluate
21613         HAVE_SECURE_GETENV.
21614         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
21615         __secure_getenv to __libc_secure_getenv.
21616         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
21617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21618         Likewise.
21619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21620         Likewise.
21621         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21622         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21623         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21624         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21625         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21626         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21627         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21629 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
21631         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
21632         (struct La_i86_retval): Likewise.
21633         (struct La_x86_64_regs): Likewise.
21634         (struct La_x86_64_retval): Likewise.
21635         (struct La_x32_regs): Likewise.
21636         (struct La_x32_retval): Likewise.
21637         (struct La_ppc32_regs): Likewise.
21638         (struct La_ppc32_retval): Likewise.
21639         (struct La_ppc64_regs): Likewise.
21640         (struct La_ppc64_retval): Likewise.
21641         (struct La_sh_regs): Likewise.
21642         (struct La_sh_retval): Likewise.
21643         (struct La_s390_32_regs): Likewise.
21644         (struct La_s390_32_retval): Likewise.
21645         (struct La_s390_64_regs): Likewise.
21646         (struct La_s390_64_retval): Likewise.
21647         (struct La_sparc32_regs): Likewise.
21648         (struct La_sparc32_retval): Likewise.
21649         (struct La_sparc64_regs): Likewise.
21650         (struct La_sparc64_retval): Likewise.
21651         (struct audit_ifaces): Remove architecture-specific pltenter and
21652         pltexit members.
21653         * sysdeps/i386/ldsodefs.h: New file.
21654         * sysdeps/powerpc/ldsodefs.h: Likewise.
21655         * sysdeps/s390/ldsodefs.h: Likewise.
21656         * sysdeps/sh/ldsodefs.h: Likewise.
21657         * sysdeps/sparc/ldsodefs.h: Likewise.
21658         * sysdeps/x86_64/ldsodefs.h: Likewise.
21660 2012-07-25  Marek Polacek  <polacek@redhat.com>
21662         [BZ #6808]
21663         * math/libm-test.inc (yn_test): Add another test.
21664         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
21665         to ERANGE when the result is +-Inf.
21666         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21667         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
21668         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
21669         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
21671 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
21673         * conform/data/time.h-data (NULL): Use macro-constant.  Require
21674         equal to 0.
21675         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
21676         clock_t.
21677         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
21679 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
21681         * configure.in <sysdeps resolving>: Correct printing
21682         Implies_before.
21683         * configure: Regenerate.
21685 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
21687         * math/w_ilogb.c: Include <limits.h>.
21688         * math/w_ilogbl.c: Likewise.
21690 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
21692         * manual/lang.texi (__va_copy): Document primarily as ISO C99
21693         va_copy.  Document allowing for unavailable va_copy only as
21694         pre-C99 compatibility.
21695         * manual/string.texi (Copying and Concatenation): Use va_copy
21696         instead of __va_copy in concat example.
21698 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
21700         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
21701         (__sendto): Use create_address_port.  Initialize APORT and deallocate
21702         it if not null.
21704         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
21705         with O_NOLINK passed to __file_name_lookup.
21707         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
21708         with O_NOLINK passed to __file_name_lookup.
21710         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
21711         negative N or less than NGIDS.
21713         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
21714         type to string_t.  Set ERANGE as errno and return it if NAME is not big
21715         enough.  Use memcpy instead of strncpy.
21717 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
21719         * elf/Makefile (check-data): Remove.
21720         (localplt.data): New vpath directive.
21721         ($(objpfx)check-localplt.out): Use localplt.data from vpath
21722         instead of $(check-data).
21723         * scripts/data/localplt-generic.data: Move to ...
21724         * sysdeps/generic/localplt.data: ... here.
21725         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
21726         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
21727         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
21728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21729         ... here.
21730         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
21731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21732         ... here.
21733         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
21734         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
21735         ... here.
21736         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
21737         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21738         ... here.
21739         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
21740         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
21741         ... here.
21742         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
21743         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
21744         ... here.
21746 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21748         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
21749         PPC32 and PPC64 files.
21750         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
21751         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
21753 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21755         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
21756         __makecontext_ret to ...
21757         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21758         ... here and call exit if uc_link is NULL.  New file.
21759         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
21760         __makecontext_ret.S.
21761         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
21762         __makecontext_ret to ...
21763         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21764         ... here and call exit if uc_link is NULL.  New file.
21765         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
21766         __makecontext_ret.S.
21768 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21770         * elf/elf.h (R_390_IRELATIVE): New definition.
21771         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
21772         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
21773         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
21774         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21775         (elf_machine_lazy_rel): Likewise.
21776         * sysdeps/s390/dl-irel.h: New file.
21777         * sysdeps/s390/s390-64/memcpy.S: New asm code.
21778         * sysdeps/s390/s390-64/memset.S: New asm code.
21779         * sysdeps/s390/s390-64/memcmp.S: New asm code.
21780         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21781         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21782         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21783         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21784         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21785         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21786         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21787         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21788         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21789         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21790         * sysdeps/s390/s390-32/memcpy.S: New asm code.
21791         * sysdeps/s390/s390-32/memset.S: New asm code.
21792         * sysdeps/s390/s390-32/memcmp.S: New asm code.
21794 2012-07-17  Marek Polacek  <polacek@redhat.com>
21796         [BZ #14349]
21797         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21798         * sysdeps/s390/s390-64/configure.in: Likewise.
21799         * sysdeps/sparc/configure.in: Likewise.
21800         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21801         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21802         * sysdeps/i386/configure.in: Likewise.
21803         * sysdeps/x86_64/configure.in: Likewise.
21804         * sysdeps/sh/configure.in: Likewise.
21805         * sysdeps/s390/s390-32/configure: Regenerated.
21806         * sysdeps/s390/s390-64/configure: Likewise.
21807         * sysdeps/x86_64/configure: Likewise.
21808         * sysdeps/sh/configure: Likewise.
21809         * sysdeps/powerpc/powerpc64/configure: Likewise.
21810         * sysdeps/powerpc/powerpc32/configure: Likewise.
21811         * sysdeps/sparc/configure: Likwise.
21812         * sysdeps/i386/configure: Likewise.
21814         * elf/dl-open.c: Comment fixes.
21816 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
21818         * Makefile [CXX] (check-data): Remove.
21819         [CXX] (c++-types.data): New vpath directive.
21820         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21821         vpath.  Do not allow for C++ type data being missing.
21822         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21823         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21824         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21825         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21826         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21827         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21828         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21830         ... here.
21831         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21833         ... here.
21834         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21835         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21836         ... here.
21837         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21838         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21839         ... here.
21840         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21841         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21842         ... here.
21843         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21844         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21845         ... here.
21846         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21847         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21848         ... here.
21849         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21850         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21852         * elf/tls-macros.h (TLS_LE): Move architecture-specific
21853         definitions to architecture-specific files.
21854         (TLS_IE): Likewise.
21855         (TLS_LD): Likewise.
21856         (TLS_GD): Likewise.
21857         * sysdeps/i386/tls-macros.h: New file.
21858         * sysdeps/powerpc/tls-macros.h: Likewise.
21859         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21860         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21861         * sysdeps/sh/tls-macros.h: Likewise.
21862         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21863         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21864         * sysdeps/x86_64/tls-macros.h: Likewise.
21866 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
21868         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21869         zero value for regular exit case.
21871         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21872         (__start_context): Preserve zero value for regular exit case.
21874 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
21875             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21877         * manual/setjmp.texi (setcontext): Clarify normal process
21878         termination when uc_link is the null pointer.
21879         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21880         exit call.
21882 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
21884         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21885         preprocessor.  Test for each exception mask separately.
21887 2012-07-16  Andreas Jaeger  <aj@suse.de>
21889         * po/ru.po: Update from translation team.
21891 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
21893         * conform/data/string.h-data (NULL): Use macro-constant.  Require
21894         equal to 0.
21895         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21896         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21897         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21898         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21899         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21901 2012-07-13  Andreas Jaeger  <aj@suse.de>
21903         * po/fr.po: Update from translation team.
21905 2012-07-12  Marek Polacek  <polacek@redhat.com>
21907         [BZ #14173]
21908         * math/libm-test.inc (yn_test): Add test for BZ #14173.
21909         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21910         loop condition.
21912 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
21914         [BZ #13717]
21915         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21916         Change to 2.4.1 where previously 2.4.0.
21917         * sysdeps/unix/sysv/linux/configure: Regenerated.
21918         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21919         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21920         version.
21921         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21922         (__ASSUME_AT_CLKTCK): Remove.
21923         (__ASSUME_AT_PAGESIZE): Likewise.
21924         (__ASSUME_AT_XID): Likewise.
21925         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21926         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21927         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21928         unconditionally.
21929         (HAVE_AUX_PAGESIZE): Likewise.
21930         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21931         [__ASSUME_AT_CLKTCK]: Make code unconditional.
21932         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21934 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
21936         [BZ #14307]
21937         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21938         the temporary buffer used to invoke __gethostbyname2_r,
21939         __gethostbyaddr_r and gethostbyname4_r to make room for struct
21940         host_data / struct gaih_addrtuple.
21941         * resolv/nss_dns/dns-host.c (global scope): Move definition of
21942         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21943         header file nss/nsswitch.h.
21944         * nss/nsswitch.h (global scope): Add definition of implementation
21945         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21946         resolv/nss_dns/dns-host.c).
21948 2012-07-11  Andreas Jaeger  <aj@suse.de>
21950         * po/fr.po: Update from translation team.
21952         * po/sv.po: Update from translation team
21953         * po/fr.po: Another update from translation team.
21955 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21957         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21958         for subnormals or multiply small sinh result by itself.
21959         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21960         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21962 2012-07-11  David S. Miller  <davem@davemloft.net>
21964         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21966 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
21968         [BZ #14347]
21969         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21970         (INTERNAL_MARK): Shift it here.
21972 2012-07-10  Marek Polacek  <polacek@redhat.com>
21974         [BZ #14151]
21975         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
21976         libc_cv_asm_global_directive with .globl.
21977         * configure: Regenerated.
21978         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21979         with .globl.
21980         * sysdeps/i386/configure: Regenerated.
21981         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21982         with .globl.
21983         * sysdeps/x86_64/configure: Regenerated.
21984         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21985         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21986         * elf/tst-unique2mod2.c: Likewise.
21987         * elf/tst-unique2mod1.c: Likewise.
21988         * elf/tst-unique1mod2.c: Likewise.
21989         * elf/tst-unique1mod1.c: Likewise.
21990         * sysdeps/s390/s390-32/sysdep.h: Likewise.
21991         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21992         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21993         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21994         * sysdeps/mach/sysdep.h: Likewise.
21995         * sysdeps/i386/sysdep.h: Likewise.
21996         * sysdeps/i386/i386-mcount.S: Likewise.
21997         * sysdeps/x86_64/_mcount.S: Likewise.
21998         * sysdeps/x86_64/sysdep.h: Likewise.
21999         * sysdeps/sh/_mcount.S: Likewise.
22000         * sysdeps/sh/sysdep.h: Likewise.
22001         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
22002         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
22003         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
22004         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22005         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
22006         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
22007         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
22008         * locale/localeinfo.h: Likewise.
22009         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
22010         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
22012 2012-07-09  Roland McGrath  <roland@hack.frob.com>
22014         [BZ #14336]
22015         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
22016         system".
22017         * manual/message.texi (The Uniforum approach): Likewise.
22018         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
22019         (glibc iconv Implementation): Likewise.
22021 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
22023         [BZ #14337]
22024         * math/s_clog.c (__clog): Avoid scaling a value down where that
22025         could result in underflow.
22026         * math/s_clog10.c (__clog10): Likewise.
22027         * math/s_clog10f.c (__clog10f): Likewise.
22028         * math/s_clog10l.c (__clog10l): Likewise.
22029         * math/s_clogf.c (__clogf): Likewise.
22030         * math/s_clogl.c (__clogl): Likewise.
22031         * math/libm-test.inc (clog_test): Add more tests.
22032         (clog10_test): Likewise.
22033         * sysdeps/i386/fpu/libm-test-ulps: Update.
22034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22036 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
22038         [BZ #14283]
22039         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
22040         by 7 not 8 to examine high bit of fractional part.
22042         [BZ #14042]
22043         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
22044         for call to __mcount_internal.
22045         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
22046         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
22047         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
22049 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
22051         [BZ #14154]
22052         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
22053         approximation for values within 0x1p-13f of an odd multiple of
22054         pi/4.
22055         * math/libm-test.inc (tan_test): Do not allow spurious underflow
22056         exception.  Add more tests.
22057         * sysdeps/i386/fpu/libm-test-ulps: Update.
22059         [BZ #6778]
22060         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
22061         inputs and return -1 for them.  Do not check for +Inf in case not
22062         reachable for +Inf.
22063         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
22064         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
22065         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
22066         and return -1 for them.  Do not check for +Inf in case not
22067         reachable for +Inf.
22068         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
22069         define.
22070         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
22071         and return -1 for them.  Do not check for +Inf in case not
22072         reachable for +Inf.
22073         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
22074         spurious underflow.
22075         * sysdeps/i386/fpu/libm-test-ulps: Update.
22076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22078 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
22080         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
22082 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
22084         [BZ #14157]
22085         [BZ #14331]
22086         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
22087         could result in spurious underflow.  Scale down values above
22088         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
22089         * math/s_csqrtf.c (__csqrtf): Likewise.
22090         * math/s_csqrtl.c (__csqrtl): Likewise.
22091         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
22092         spurious underflow.
22093         * sysdeps/i386/fpu/libm-test-ulps: Update.
22094         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22096 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
22098         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
22099         xopen-msg.sed.
22100         * catgets/xopen-msg.awk: New file.
22101         * catgets/xopen-msg.sed: Removed.
22103         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
22104         po2text.sed.
22105         * intl/po2test.awk: New file.
22106         * intl/po2test.sed: Removed.
22108 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
22110         [BZ #14328]
22111         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
22112         or multiply small sinh result by itself.
22113         * math/s_ctanf.c (__ctanf): Likewise.
22114         * math/s_ctanh.c (__ctanh): Likewise.
22115         * math/s_ctanhf.c (__ctanhf): Likewise.
22116         * math/s_ctanhl.c (__ctanhl): Likewise.
22117         * math/s_ctanl.c (__ctanl): Likewise.
22118         * math/libm-test.inc (ctan_test_tonearest): New function.
22119         (ctan_test_towardzero): Likewise.
22120         (ctan_test_downward): Likewise.
22121         (ctan_test_upward): Likewise.
22122         (ctanh_test_tonearest): Likewise.
22123         (ctanh_test_towardzero): Likewise.
22124         (ctanh_test_downward): Likewise.
22125         (ctanh_test_upward): Likewise.
22126         (main): Call these new functions.
22127         * sysdeps/i386/fpu/libm-test-ulps: Update.
22128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22130 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
22132         * .gitignore: Delete /ports entry.
22134 2012-07-03  Andreas Jaeger  <aj@suse.de>
22136         * po/bg.po: Update from translation team.
22137         * po/cs.po: Likewise.
22138         * po/de.po: Likewise.
22139         * po/hr.po: Likewise.
22140         * po/nl.pl: Likewise.
22141         * po/pl.po: Likewise.
22142         * po/vi.po: Likewise.
22144 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
22146         * Makeconfig [!+link] (+link-before-libc): New variable.
22147         [!+link] (+link-after-libc): Likewise.
22148         [!+link] (+link-tests): Likewise.
22149         [!+link] (+link): Define in terms of $(+link-before-libc) and
22150         $(+link-after-libc).
22151         [!+link-static] (+link-static-before-libc): New variable.
22152         [!+link-static] (+link-static-after-libc): Likewise.
22153         [!+link-static] (+link-static-tests): Likewise.
22154         [!+link-static] (+link-static): Define in terms of
22155         $(+link-static-before-libc) and $(+link-static-after-libc).
22156         [build-shared] (link-libc-before-gnulib): New variable.
22157         [build-shared] (link-libc-tests): Likewise.
22158         [build-shared] (link-libc): Define in terms of
22159         $(link-libc-before-gnulib).
22160         [!build-shared] (link-libc-tests): New variable.
22161         (link-libc-static-tests): New variable.
22162         [!gnulib] (gnulib-arch): New variable.
22163         [!gnulib] (gnulib-tests): Likewise.
22164         [!gnulib] (static-gnulib-arch): Likewise.
22165         [!gnulib] (static-gnulib-tests): Likewise.
22166         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
22167         Define with "=" instead of ":=".
22168         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
22169         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
22170         * Rules (binaries-all-notests): New variable.
22171         (binaries-all-tests): Likewise.
22172         (binaries-static-notests): Likewise.
22173         (binaries-static-tests): Likewise.
22174         (binaries-all): Define using $(binaries-all-notests) and
22175         $(binaries-all-tests).
22176         (binaries-static): Define using $(binaries-static-notests) and
22177         $(binaries-static-tests).
22178         (binaries-shared-tests): New variable.
22179         (binaries-shared-notests): Likewise.
22180         (binaries-shared): Remove variable.
22181         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
22182         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
22183         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
22184         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
22185         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
22186         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
22187         * elf/Makefile (sln-modules): New variable.
22188         (extra-objs): Add $(sln-modules:=.o).
22189         (ldconfig-modules): Add static-stubs.
22190         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
22191         * elf/static-stubs.c: New file.
22193         [BZ #14283]
22194         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
22195         by 7 not 8 to examine high bit of fractional part.  Use volatile
22196         variables when splitting into final array of floats if
22197         __FLT_EVAL_METHOD__ != 0.
22198         * math/libm-test.inc (cos_test): Add another test.
22199         (sin_test): Likewise.
22200         * sysdeps/i386/fpu/libm-test-ulps: Update.
22202         [BZ #14273]
22203         * math/libm-test.inc (cosh_test): Add more tests.
22205         * version.h (RELEASE): Set to "development".
22206         (VERSION): Set to "2.16.90".
22208 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
22210         * NEWS: Update copyright. Remove last-updated date.
22211         Mention math library bug fixes and timezone data changes.
22212         * README: Mention GNU/Hurd, x32, and HPPA support status.
22214 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
22216         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
22218 2012-06-27  Andreas Jaeger  <aj@suse.de>
22220         * manual/contrib.texi (Contributors): Add Samuel Thibault.
22222 2012-06-25  Andreas Jaeger  <aj@suse.de>
22224         * sysdeps/s390/fpu/libm-test-ulps: Update.
22226 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
22227             Thomas Schwinge  <thomas@codesourcery.com>
22229         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
22230         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
22231         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
22232         fanotify_mark.
22234 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
22236         * sysdeps/mach/start.c: Remove file.
22237         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
22238         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
22239         * sysdeps/sh/init-first.c: Likewise.
22241         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
22242         registers for frame unwinding purposes, add CFI directives.
22243         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22244         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
22245         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
22246         Likewise.
22248         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
22249         __fortify_fail returning.
22250         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22252         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
22253         sysdeps/sh/____longjmp_chk.S.
22254         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
22255         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
22256         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
22257         (gen-as-const-headers): Append sigaltstack-offsets.sym.
22259         * sysdeps/sh/abort-instr.h: New file.
22260         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
22261         process in case exit returns.
22263         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
22264         initialize the GOT register before use.
22266         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
22267         calculation of ARGC > 4.
22269         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
22270         meaningful names to some local labels.
22272 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
22273             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22275         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
22276         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
22277         (__arch_compare_and_exchange_val_16_acq): Likewise.
22278         (__arch_compare_and_exchange_val_32_acq): Likewise.
22279         (atomic_exchange_and_add): Fix gUSA sequence.
22280         (atomic_add): Likewise.
22281         (atomic_add_negative): Likewise.
22282         (atomic_add_zero): Likewise.
22283         (atomic_bit_test_set): Likewise.
22285 2012-06-22  Andreas Schwab  <schwab@redhat.com>
22287         [BZ #13579]
22288         * include/link.h (struct link_map): Add l_free_initfini.
22289         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
22290         l_initfini.
22291         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
22292         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
22293         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
22294         set.
22296 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
22298         * configure.in: Use AC_LANG_SOURCE.
22299         * configure: Regenerate.
22301 2012-06-22  Roland McGrath  <roland@hack.frob.com>
22303         * configure.in (libc_cv_localstatedir): New substituted variable.
22304         * configure: Regenerated.
22305         * config.make.in (localstatedir): New variable, substituted from
22306         libc_cv_localstatedir.
22307         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
22308         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
22309         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
22310         * sysdeps/gnu/configure: Regenerated.
22312 2012-06-21  Jeff Law  <law@redhat.com>
22314         [BZ #14277]
22315         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
22316         free.  Simplify list management for _LIBC case.
22318 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
22320         [BZ #14273]
22321         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22322         Clear sign bit of 64-bit integer value before comparing against
22323         overflow value.
22325         * sysdeps/mach/configure: Regenerated.
22327 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
22329         [BZ #14278]
22330         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
22332 2012-06-21  Jeff Law  <law@redhat.com>
22334         [BZ #13882]
22335         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
22336         uint16_t for elements in the "seen" array to avoid char overflows.
22337         * elf/dl-fini.c (_dl_sort_fini): Likewise.
22338         * elf/dl-open.c (dl_open_worker): Likewise.
22340 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
22342         * scripts/list-sources.sh: Scan PORTS for translations.
22343         * po/libc.pot: Regenerated.
22345 2012-06-21  Andreas Jaeger  <aj@suse.de>
22347         [BZ #12194]
22348         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
22349         warning.
22350         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
22351         * bits/byteswap-16.h (__bswap_16): Likewise.
22352         * bits/byteswap.h (__bswap_constant_16): Likewise.
22354 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
22356         [BZ #14117]
22357         * sysdeps/i386/fpu_control.h: Removed.
22358         * sysdeps/x86_64/fpu_control.h: Moved to ...
22359         * sysdeps/x86/fpu_control.h: Here.
22361         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
22362         (_FPU_SETCW): Likewise.
22364 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
22366         [BZ #14117]
22367         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
22368         * sysdeps/x86/fpu/bits/mathinline.h: This.
22369         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
22371         [BZ #14050]
22372         [BZ #14117]
22373         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
22374         functions if __x86_64__ is defined.
22376 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
22378         * string/endian.h: Add !__ASSEMBLER__ condition for including
22379         conversion interfaces.
22381 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
22383         [BZ #14241]
22384         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
22385         of ABS(x) in calculating zero to negative powers other than odd
22386         integers.
22387         * math/libm-test.inc (pow_test): Add more tests.
22389 2012-06-15  Andreas Jaeger  <aj@suse.de>
22391         * manual/contrib.texi (Contributors): Update entry of Liubov
22392         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
22393         Machado Filho.
22395 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
22397         * string/string.h: Add __wur to GNU version of strerror_r.
22399 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
22401         [BZ #14229]
22402         * string/Makefile (tests): Add tst-strtok_r.
22403         * string/tst-strtok_r.c: New file.
22404         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
22405         RAX_LP/RDX_LP on SAVE_PTR.
22407 2012-06-14  Roland McGrath  <roland@hack.frob.com>
22409         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
22411 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
22413         * libm_test.inc (csqrt_test): Allow more spurious underflow
22414         exceptions.
22415         (j0_test): Likewise.
22416         (j1_test): Likewise.
22417         (y0_test): Likewise.
22418         (y1_test): Likewise.
22420 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
22422         * po/Makefile (libc.pot): Use UTF-8 charset.
22424 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
22426         [BZ #14210]
22427         Suppress sign-conversion warning from FD_SET.
22428         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
22429         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
22430         not unsigned long int.
22431         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
22433 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
22435         [BZ #14050]
22436         [BZ #14117]
22437         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
22438         __extern_always_inline instead of __extern_inline.
22439         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
22440         (__signbit): Likewise.
22441         (__signbitl): Support C++ namespace.
22442         (lrintf): New inline function.
22443         (lrint): Likewise.
22444         (llrintf): Likewise.
22445         (llrint): Likewise.
22446         (fmaxf): Likewise.
22447         (fmax): Likewise.
22448         (fminf): Likewise.
22449         (fmin): Likewise.
22450         (rint): Likewise.
22451         (rintf): Likewise.
22452         (ceil): Likewise.
22453         (ceilf): Likewise.
22454         (floor): Likewise.
22455         (floorf): Likewise.
22456         (nearbyint): Likewise.
22457         (nearbyintf): Likewise.
22459 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
22461         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
22462         non-default versions.
22464 2012-06-11  Roland McGrath  <roland@hack.frob.com>
22466         [BZ #14218]
22467         * manual/argp.texi (Argp): Reword argp_parse description slightly.
22469 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
22471         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
22472         (FE_UPWARD, FE_DOWNWARD): Don't define.
22473         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
22474         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22476         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
22477         reading it.
22478         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22479         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22481 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22483         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22484         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
22485         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
22486         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
22488 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
22490         [BZ #14117]
22491         * sysdeps/i386/fpu/bits/fenv.h: Removed.
22492         * sysdeps/i386/fpu/Implies: New file.
22493         * sysdeps/x86_64/fpu/Implies: Likewise.
22494         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
22495         * sysdeps/x86/fpu/bits/fenv.h: This.
22497         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
22498         __SSE_MATH__.
22500 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
22502         [BZ #14134]
22503         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
22504         character 0xffff that matches the last element of the
22505         conversion table.
22507 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22509         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
22510         fmodl commit.
22512 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22514         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
22515         values higher than 25.6283.
22517 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22519         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
22520         subnormal exponent extraction and add some __builtin_expect.
22521         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
22522         Fix for subnormal mantissa calculation.
22524 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
22526         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
22527         cpu2 is -1 and errno is not ENOSYS.
22529 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
22531         [BZ #14117]
22532         * sysdeps/i386/i486/bits/string.h: Renamed to ...
22533         * sysdeps/x86/bits/string.h: This.
22534         * sysdeps/x86_64/bits/string.h: Removed.
22536         * sysdeps/i386/i486/bits/string.h: Define inline functions only
22537         if not compiling for x86-64, but compiling for >= i486.
22539         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
22540         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
22542         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
22543         New macro from Linux kernel 3.4.0.
22544         (FP_XSTATE_MAGIC2): Likewise.
22545         (FP_XSTATE_MAGIC2_SIZE): Likewise.
22546         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
22547         (struct _fpx_sw_bytes): New struct.
22548         (struct _xsave_hdr): Likewise.
22549         (struct _ymmh_state): Likewise.
22550         (struct _xstate): Likewise.
22552         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
22553         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
22554         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
22555         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
22556         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
22557         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
22559         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
22560         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
22561         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
22562         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
22563         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
22564         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
22566 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22568         [BZ #13743]
22569         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
22570         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
22571         (sysdep_headers): Include sys/platform/ppc.h.
22572         * sysdeps/powerpc/test-gettimebase.c: Test for
22573         __ppc_get_timebase() to catch future ISA opcode/insn changes.
22574         * manual/Makefile (appendices): Include platform.texi.
22575         * manual/contrib.texi (Contributors): Update @node pointers.
22576         * manual/maint.texi (Maintenance): Likewise.
22577         (Platform): New node.
22578         * manual/platform.texi: New file.  Document the new features.
22580 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22581             Jakub Jelinek  <jakub@redhat.com>
22583         [BZ #14188]
22584         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
22585         where __builtin_expect is unavailable.
22587 2012-06-03  David S. Miller  <davem@davemloft.net>
22589         * stdlib/longlong.h: Updated from GCC.
22591 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
22593         [BZ #14042]
22594         * sysdeps/powerpc/powerpc32/mcount.c: New file.
22595         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
22596         __mcount_internal.
22597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22598         (GLIBC_2.16): Likewise.
22600 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
22602         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
22604 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
22606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
22607         (default-abi): New variable.
22608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
22609         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
22610         variable.
22611         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
22612         Likewise.
22613         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
22614         Likewise.
22615         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
22616         Likewise.
22618         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
22619         definition.  Document in comment.
22621 2012-06-01  David S. Miller  <davem@davemloft.net>
22623         * stdlib/longlong.h: Updated from GCC.
22625 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
22627         [BZ #14117]
22628         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
22629         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
22630         sys/debugreg.h sys/io.h here.
22631         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
22632         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
22633         sys/io.h.
22634         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
22635         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
22636         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
22637         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
22638         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
22639         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
22641         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
22642         Define only if __x86_64__ is defined.
22644 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
22646         [BZ #14048]
22647         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
22648         Use int64_t for variable i.
22649         * math/libm-test.inc (fmod_test): Add more tests.
22651         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
22652         z computation is not scheduled after fetestexcept.
22653         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
22654         Use math_force_eval instead of asm to ensure calculation scheduled
22655         before exception test.
22656         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
22657         Ensure a1 + u.d computation is not scheduled after fetestexcept.
22659 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
22661         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
22662         computation is not scheduled after fetestexcept.
22664 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
22666         [BZ #14117]
22667         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
22668         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
22670 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22672         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
22673         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22675 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
22677         [BZ #14117]
22678         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
22679         <bits/wordsize.h>.
22680         (__WCHAR_MIN): Support __WORDSIZE == 64.
22681         (__WCHAR_MAX): Likewise.
22683         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
22684         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
22686         [BZ #14183]
22687         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
22688         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
22690         [BZ #14117]
22691         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
22692         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
22694         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
22695         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
22697         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
22698         Defined to 1 if __x86_64__ isn't defined.
22699         (_STAT_VER_LINUX_OLD): New.
22700         (st_atime): Remove duplicate.
22701         (st_mtime): Likewise.
22702         (st_ctime): Likewise.
22704 2012-05-31  David S. Miller  <davem@davemloft.net>
22706         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
22707         entries.
22709 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
22711         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
22712         gen-libm-test.pl.
22714         [BZ #14132]
22715         * elf/dl-reloc.c: Include <_itoa.h>.
22716         (_dl_reloc_bad_type): Remove use of INTUSE.
22717         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
22718         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
22719         * stdio-common/psiginfo.c (psiginfo): Likewise.
22720         * stdio-common/psignal.c (psignal): Likewise.
22721         * string/strsignal.c (strsignal): Likewise.
22722         * include/signal.h (_sys_siglist): Declare hidden proto.
22723         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
22724         INTVARDEF with libc_hidden_data_def.
22725         * stdio-common/itoa-udigits.c: Likewise.
22726         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
22727         (_itoa_lower_digits_internal): Remove declaration.
22728         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
22729         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
22730         (_sys_sigabbrev_internal): Remove aliases.
22731         (_sys_siglist): Define hidden alias.
22733 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
22735         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22736         bits/sysctl.h.
22738 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
22740         [BZ #14117]
22741         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
22742         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
22744         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
22745         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
22746         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
22747         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
22748         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
22749         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
22751         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
22752         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
22753         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22755         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
22756         with __addr.
22757         (insw): Likewise.
22758         (insl): Likewise.
22759         (outsb): Likewise.
22760         (outsw): Likewise.
22761         (outsl): Likewise.
22763         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
22764         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
22765         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
22767         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
22768         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
22769         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
22770         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
22771         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
22772         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22774         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22775         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22777         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22778         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22780         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22781         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22782         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22784         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22785         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22786         to ...
22787         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22789         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22790         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22791         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22793         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22794         for x86-64.
22795         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22797 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
22799         * math/math.h (M_El): Use two more decimal places.
22800         (M_LOG2El): Likewise.
22801         (M_LOG10El): Likewise.
22802         (M_LN2l): Likewise.
22803         (M_LN10l): Likewise.
22804         (M_PIl): Likewise.
22805         (M_PI_2l): Likewise.
22806         (M_PI_4l): Likewise.
22807         (M_1_PIl): Likewise.
22808         (M_2_PIl): Likewise.
22809         (M_2_SQRTPIl): Likewise.
22810         (M_SQRT2l): Likewise.
22811         (M_SQRT1_2l): Likewise.
22813 2012-05-31  David S. Miller  <davem@davemloft.net>
22815         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22816         values between float registers.
22817         * sysdeps/sparc/sparc64/memset.S: Likewise.
22818         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22820 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
22822         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22823         -D_FORTIFY_SOURCE=1.
22824         (CPPFLAGS-tst-longjmp_chk.c): Define.
22825         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22826         (CPPFLAGS-tst-longjmp_chk2.c): Define.
22827         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22828         CFLAGS-tst-wchar-h.c.
22830 2012-05-31  Marek Polacek  <polacek@redhat.com>
22832         [BZ #14132]
22833         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22834         __endmntent_internal): Remove declaration.
22835         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22836         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22837         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22839 2012-05-30  David S. Miller  <davem@davemloft.net>
22841         * sysdeps/sparc/sparc32/soft-fp/q_util.c
22842         (___Q_simulate_exceptions): Use real FP ops rather than writing
22843         into the %fsr.
22844         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22845         Likewise.
22847 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22849         [BZ #14117]
22850         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22851         * sysdeps/x86/bits/xtitypes.h: This.
22853         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22854         * sysdeps/x86/bits/wordsize.h: This.
22856         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22857         * sysdeps/x86/bits/huge_vall.h: This.
22859         * sysdeps/i386/bits/select.h: Removed.
22860         * sysdeps/x86_64/bits/select.h: Renamed to ...
22861         * sysdeps/x86/bits/select.h: This.
22863         * sysdeps/i386/bits/setjmp.h: Removed.
22864         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22865         * sysdeps/x86/bits/setjmp.h: This.
22867         * sysdeps/i386/bits/mathdef.h: Removed.
22868         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22869         * sysdeps/x86/bits/mathdef.h: This.
22871 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
22873         [BZ #14132]
22874         * include/sys/socket.h (__connect_internal)
22875         (__libc_sa_len_internal): Remove declaration.
22876         (__connect, __libc_sa_len): Declare hidden_proto.
22877         (SA_LEN): Remove use of INTUSE.
22878         * socket/connect.c: Add libc_hidden_def.
22879         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22880         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22881         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22882         alias.
22883         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22884         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22885         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22886         of adding _internal alias.
22888 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22890         [BZ #14117]
22891         * sysdeps/i386/bits/link.h: Removed.
22892         * sysdeps/i386/bits/linkmap.h: Likewise.
22893         * sysdeps/x86_64/bits/link.h: Renamed to ...
22894         * sysdeps/x86/bits/link.h: This.
22895         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22896         * sysdeps/x86/bits/linkmap.h: This.
22898         * sysdeps/i386/bits/endian.h: Removed.
22899         * sysdeps/x86_64/bits/endian.h: Renamed to ...
22900         * sysdeps/x86/bits/endian.h: This.
22902         * sysdeps/i386/bits/byteswap.h: Removed.
22903         * sysdeps/i386/bits/byteswap-16.h: Likewise.
22904         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22905         * sysdeps/x86/bits/byteswap.h: This.
22906         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22907         * sysdeps/x86/bits/byteswap-16.h: This.
22908         * sysdeps/i386/Implies: Add x86.
22909         * sysdeps/x86_64/Implies: Likewise.
22911 2012-05-30  David S. Miller  <davem@davemloft.net>
22913         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22914         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22915         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22916         (FP_TRAPPING_EXCEPTIONS): Define.
22917         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22918         (FP_TRAPPING_EXCEPTIONS): Define.
22919         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22920         subnormals only when inexact has been signalled or underflow
22921         exceptions are enabled.
22922         (_FP_PACK_CANONICAL): Likewise.
22924 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22926         [BZ #14183]
22927         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22928         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22930 2012-05-30  Richard Henderson  <rth@twiddle.net>
22932         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22933         with #ifndef NOT_IN_libc.
22935         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
22936         marked to avoid plt entry.
22938 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22940         [BZ #14112]
22941         * Makeconfig (default-abi): New macro.
22942         (abi-includes): Likewise.
22943         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
22944         $(abi-$(default-abi)-lib-soname) for soname if defined.
22945         ($(common-objpfx)gnu/lib-names.stmp): Generate from
22946         abi-variants.
22947         * Makefile (installed-stubs): Likewise.
22948         * include/stubs-biarch.h: Removed.
22949         * scripts/lib-names.awk: Only handle one library at a time.
22950         * scripts/soversions.awk: Remove WORDSIZE support.
22951         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22952         entries.
22953         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22954         Removed.
22955         (syscall-list-default-condition): Likewise.
22956         (syscall-list-default-condition): Likewise.
22957         (syscall-list-includes): Likewise.
22958         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22959         syscall-list-* with abi-*.  Handle undefined abi-variants.
22960         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22961         * sysdeps/unix/sysv/linux/i386/Implies: New file.
22962         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22963         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22964         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22965         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22966         Removed.
22967         (syscall-list-32-options): Likewise.
22968         (syscall-list-32-condition): Likewise.
22969         (syscall-list-64-options): Likewise.
22970         (syscall-list-64-condition): Likewise.
22971         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22972         macro.
22973         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22974         Renamed to ...
22975         (abi-*): This.
22976         (abi-64-ld-soname): New macro.
22977         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22978         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22979         Renamed to ...
22980         (abi-*): This.
22981         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22982         * sysdeps/x86_64/x32/shlib-versions: Likewise.
22984 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
22986         * sysdeps/unix/sysv/linux/kernel-features.h
22987         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22988         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22989         include <kernel-features.h>.
22990         [!__NR_ftruncate64]: Remove conditional code.
22991         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22992         [__NR_ftruncate64]: Make code unconditional.
22993         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22994         * sysdeps/unix/sysv/linux/truncate64.c: Do not
22995         include <kernel-features.h>.
22996         [!__NR_ftruncate64]: Remove conditional code.
22997         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22998         [__NR_ftruncate64]: Make code unconditional.
22999         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
23001         include <kernel-features.h>.
23002         [!__NR_ftruncate64]: Remove conditional code.
23003         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23004         [__NR_ftruncate64]: Make code unconditional.
23005         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23007         include <kernel-features.h>.
23008         [!__NR_ftruncate64]: Remove conditional code.
23009         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23010         [__NR_ftruncate64]: Make code unconditional.
23011         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23013         * configure.in (libc_cv_fpie): Weaken to a compile test using
23014         LIBC_TRY_CC_OPTION.
23015         * configure: Regenerated.
23017 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23019         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
23020         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
23021         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
23022         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23023         Refreshed.
23024         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
23025         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
23026         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
23027         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
23028         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
23029         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23030         Refreshed.
23032 2012-05-27  David S. Miller  <davem@davemloft.net>
23034         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
23035         (___Q_zero): New.
23036         (__Q_simulate_exceptions): Return void.  Change to simulate
23037         exceptions by writing into the %fsr.
23038         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
23039         (__Qp_handle_exceptions): Likewise.
23040         (numbers): Delete.
23041         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
23042         __Qp_handle_exceptions.
23043         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
23044         __Qp_handle_exceptions.
23045         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
23046         as unused and give dummy FP_RND_NEAREST initializer.
23047         (FP_INHIBIT_RESULTS): Define.
23048         (___Q_simulate_exceptions): Update declaration.
23049         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
23050         formatting.
23051         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
23052         as unused and give dummy FP_RND_NEAREST initializer.
23053         (__Qp_handle_exceptions): Update declaration.
23054         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
23055         formatting.
23057 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
23059         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
23060         the temporary FPU control word.
23061         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
23062         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
23063         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
23064         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23065         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
23066         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
23067         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
23068         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23069         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23070         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
23071         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23073 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23075         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
23076         fields.
23078 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
23080         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
23081         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
23082         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
23083         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
23084         Likewise.
23085         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
23086         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
23087         Likewise.
23089 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
23091         * po/h.po: Update from translation team.
23093 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
23095         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
23097         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
23098         handling of denormals.
23099         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23100         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
23101         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
23102         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
23103         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23104         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
23105         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
23106         Likewise.
23108 2012-05-26  Marek Polacek  <polacek@redhat.com>
23110         [BZ #14152]
23111         * math/libm-test.inc (fma_test): Don't always expect underflow
23112         exception.
23114 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23116         [BZ #12416]
23117         * elf/tst-execstack.c: Include stackinfo.h.
23118         (do_test): Adjust test case to ensure that pthread_getattr_np
23119         behaviour remains the same after marking stack executable.
23121 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
23123         * sysdeps/unix/sysv/linux/kernel-features.h
23124         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
23125         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
23126         kernel-features.h.
23127         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23128         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23129         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
23130         kernel-features.h.
23131         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23132         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23134 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
23136         * configure.in: Define the default includes to being none.
23137         * configure: Regenerated.
23139 2012-05-25  Roland McGrath  <roland@hack.frob.com>
23141         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
23142         * sysdeps/x86_64/setjmp.S: Likewise.
23143         * sysdeps/i386/bsd-setjmp.S: Likewise.
23144         * sysdeps/i386/bsd-_setjmp.S: Likewise.
23145         * sysdeps/i386/setjmp.S: Likewise.
23146         * sysdeps/i386/__longjmp.S: Likewise.
23147         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23148         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
23150         * include/stap-probe.h: New file.
23151         * configure.in: Handle --enable-systemtap.
23152         * configure: Regenerated.
23153         * config.h.in (USE_STAP_PROBE): New #undef.
23154         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
23155         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
23156         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
23158 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
23160         [BZ #13717]
23161         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23162         to 2.4.0 where earlier.
23163         * sysdeps/unix/sysv/linux/configure: Regenerated.
23164         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23165         <kernel-features.h>.
23166         [__ASSUME_32BITUIDS]: Make code unconditional.
23167         [!__ASSUME_32BITUIDS]: Remove conditional code.
23168         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
23169         <kernel-features.h>.
23170         [__ASSUME_32BITUIDS]: Make code unconditional.
23171         [!__ASSUME_32BITUIDS]: Remove conditional code.
23172         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
23173         [__ASSUME_32BITUIDS]: Make code unconditional.
23174         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
23175         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.c: Do not include
23180         <kernel-features.h>.
23181         [__ASSUME_32BITUIDS]: Make code unconditional.
23182         [!__ASSUME_32BITUIDS]: Remove conditional code.
23183         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
23184         <kernel-features.h>.
23185         [__ASSUME_32BITUIDS]: Make code unconditional.
23186         [!__ASSUME_32BITUIDS]: Remove conditional code.
23187         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
23188         <kernel-features.h>.
23189         [__ASSUME_32BITUIDS]: Make code unconditional.
23190         [!__ASSUME_32BITUIDS]: Remove conditional code.
23191         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23192         <kernel-features.h>.
23193         [__ASSUME_32BITUIDS]: Make code unconditional.
23194         [!__ASSUME_32BITUIDS]: Remove conditional code.
23195         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23196         <kernel-features.h>.
23197         [__ASSUME_32BITUIDS]: Make code unconditional.
23198         [!__ASSUME_32BITUIDS]: Remove conditional code.
23199         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
23200         <kernel-features.h>.
23201         [__ASSUME_32BITUIDS]: Make code unconditional.
23202         [!__ASSUME_32BITUIDS]: Remove conditional code.
23203         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23204         <kernel-features.h>.
23205         [__ASSUME_32BITUIDS]: Make code unconditional.
23206         [!__ASSUME_32BITUIDS]: Remove conditional code.
23207         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23208         <kernel-features.h>.
23209         [__ASSUME_32BITUIDS]: Make code unconditional.
23210         [!__ASSUME_32BITUIDS]: Remove conditional code.
23211         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
23212         <kernel-features.h>.
23213         [__ASSUME_32BITUIDS]: Make code unconditional.
23214         [!__ASSUME_32BITUIDS]: Remove conditional code.
23215         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
23216         <kernel-features.h>.
23217         [__NR_setresgid] (__setresgid): Do not declare.
23218         [__ASSUME_32BITUIDS]: Make code unconditional.
23219         [!__ASSUME_32BITUIDS]: Remove conditional code.
23220         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
23221         <kernel-features.h>.
23222         [__NR_setresuid] (__setresuid): Do not declare.
23223         [__ASSUME_32BITUIDS]: Make code unconditional.
23224         [!__ASSUME_32BITUIDS]: Remove conditional code.
23225         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
23226         <kernel-features.h>.
23227         [__ASSUME_32BITUIDS]: Make code unconditional.
23228         [!__ASSUME_32BITUIDS]: Remove conditional code.
23229         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
23230         <kernel-features.h>.
23231         [__ASSUME_32BITUIDS]: Make code unconditional.
23232         [!__ASSUME_32BITUIDS]: Remove conditional code.
23233         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
23234         <kernel-features.h>.
23235         [__ASSUME_32BITUIDS]: Make code unconditional.
23236         [!__ASSUME_32BITUIDS]: Remove conditional code.
23237         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
23238         <kernel-features.h>.
23239         [__ASSUME_32BITUIDS]: Make code unconditional.
23240         [!__ASSUME_32BITUIDS]: Remove conditional code.
23241         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
23242         <kernel-features.h>.
23243         [__ASSUME_32BITUIDS]: Make code unconditional.
23244         [!__ASSUME_32BITUIDS]: Remove conditional code.
23245         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
23246         <kernel-features.h>.
23247         [__ASSUME_32BITUIDS]: Make code unconditional.
23248         [!__ASSUME_32BITUIDS]: Remove conditional code.
23249         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
23250         <kernel-features.h>.
23251         [__ASSUME_32BITUIDS]: Make code unconditional.
23252         [!__ASSUME_32BITUIDS]: Remove conditional code.
23253         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
23254         <kernel-features.h>.
23255         [__ASSUME_32BITUIDS]: Make code unconditional.
23256         [!__ASSUME_32BITUIDS]: Remove conditional code.
23257         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
23258         <kernel-features.h>.
23259         [__ASSUME_32BITUIDS]: Make code unconditional.
23260         [!__ASSUME_32BITUIDS]: Remove conditional code.
23261         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23262         <kernel-features.h>.
23263         [__ASSUME_32BITUIDS]: Make code unconditional.
23264         [!__ASSUME_32BITUIDS]: Remove conditional code.
23265         * sysdeps/unix/sysv/linux/kernel-features.h
23266         (__ASSUME_SETRESUID_SYSCALL): Remove.
23267         (__ASSUME_SETRESGID_SYSCALL): Likewise.
23268         (__ASSUME_32BITUIDS): Likewise.
23269         (__ASSUME_LDT_WORKS): Likewise.
23270         (__ASSUME_O_DIRECTORY): Likewise.
23271         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
23272         architecture but not kernel version.
23273         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
23274         (__ASSUME_MMAP2_SYSCALL): Likewise.
23275         (__ASSUME_STAT64_SYSCALL): Likewise.
23276         (__ASSUME_IPC64): Likewise.
23277         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
23278         <kernel-features.h>.
23279         [__ASSUME_32BITUIDS]: Make code unconditional.
23280         [!__ASSUME_32BITUIDS]: Remove conditional code.
23281         * sysdeps/unix/sysv/linux/opendir.c: Do not include
23282         <kernel-features.h>.
23283         [__ASSUME_O_DIRECTORY]: Make code unconditional.
23284         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
23285         132096]: Remove conditional code.
23286         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
23287         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23288         <kernel-features.h>.
23289         [__ASSUME_32BITUIDS]: Make code unconditional.
23290         [!__ASSUME_32BITUIDS]: Remove conditional code.
23291         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23292         <kernel-features.h>.
23293         [__ASSUME_32BITUIDS]: Make code unconditional.
23294         [!__ASSUME_32BITUIDS]: Remove conditional code.
23295         * sysdeps/unix/sysv/linux/setegid.c: Do not include
23296         <kernel-features.h>.
23297         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
23298         unconditional.
23299         (__setresgid): Do not declare.
23300         [__ASSUME_32BITUIDS]: Make code unconditional.
23301         [!__ASSUME_32BITUIDS]: Remove conditional code.
23302         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
23303         <kernel-features.h>.
23304         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
23305         unconditional.
23306         (__setresuid): Do not declare.
23307         [__ASSUME_32BITUIDS]: Make code unconditional.
23308         [!__ASSUME_32BITUIDS]: Remove conditional code.
23309         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23310         <kernel-features.h>.
23311         [__ASSUME_32BITUIDS]: Make code unconditional.
23312         [!__ASSUME_32BITUIDS]: Remove conditional code.
23313         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
23314         <kernel-features.h>.
23315         [__ASSUME_32BITUIDS]: Make code unconditional.
23316         [!__ASSUME_32BITUIDS]: Remove conditional code.
23318 2012-05-25  Richard Henderson  <rth@twiddle.net>
23320         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
23321         dl_hwcap to ifunc resolver.
23322         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
23323         elf_ifunc_invoke.
23324         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
23325         dl_hwcap to ifunc resolver.
23326         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
23328 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
23330         [BZ #14153]
23331         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
23332         for |x| <= 2**-26, not 2**-57.
23333         * math/libm-test.inc (acos_test): Do not allow spurious underflow
23334         exception.
23336 2012-05-24  Jeff Law  <law@redhat.com>
23338         * stdio-common/Makefile (tests): Add bug25.
23339         * stdio-common/bug25.c: New test.
23341 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
23343         [BZ #13576]
23344         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
23345         multiple of MALLOC_ALIGNMENT in size.
23346         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
23348 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
23350         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
23351         Require >= 256.
23352         (FILENAME_MAX): Use macro-int-constant.
23353         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
23354         (_IOFBF): Use macro-int-constant.
23355         (_IOLBF): Likewise.
23356         (_IONBF): Likewise.
23357         (SEEK_CUR): Likewise.
23358         (SEEK_END): Likewise.
23359         (SEEK_SET): Likewise.
23360         (TMP_MAX): Likewise.
23361         (EOF): Use macro-int-constant.  Require < 0.
23362         (NULL): Use macro-constant.  Require == 0.
23363         (stdin): Require type to be FILE *.
23364         (stdout): Likewise.
23365         (stderr): Likewise.
23366         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
23367         macro-int-constant.
23368         (EXIT_SUCCESS): Likewise.
23369         (NULL): Use macro-constant.  Require == 0.
23370         (RAND_MAX): Use macro-int-constant.
23371         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
23372         [C99-based standards] (strtof): Require function.
23373         [C99-based standards] (strtold): Likewise.
23374         [C99-based standards] (strtoll): Likewise.
23375         [C99-based standards] (strtoull): Likewise.
23376         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23377         [ISO || ISO99 || ISO11] (limits.h): Likewise.
23378         [ISO || ISO99 || ISO11] (math.h): Likewise.
23379         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
23380         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23381         [ISO || ISO99 || ISO11] (*_t): Do not allow.
23383 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
23385         [BZ #14132]
23386         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
23387         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
23388         * intl/dgettext.c (DCGETTEXT): Likewise.
23389         * intl/gettext.c (DCGETTEXT): Likewise.
23390         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
23391         * posix/regex_internal.h (gettext): Likewise.
23392         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
23393         Remove declaration.
23394         * include/argz.h (__argz_count_internal)
23395         (__argz_stringify_internal): Remove declaration.
23396         (__argz_count, __argz_stringify): Declare hidden proto.
23397         * intl/dcgettext.c: Remove use of INTDEF.
23398         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
23399         * string/argz-stringify.c: Likewise.
23400         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23401         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23402         Declare hidden proto.
23403         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23404         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23405         Declare hidden proto.
23406         * include/stdio.h (__asprintf_internal): Don't declare.
23407         (__asprintf): Don't define as macro.  Declare hidden proto.
23408         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
23409         (__fsetlocking): Declare hidden proto.
23410         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
23411         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
23412         hidden proto.
23413         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
23414         (_IO_setlinebuf): Remove use of INTUSE.
23415         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
23416         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
23417         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
23418         Remove declaration.
23419         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
23420         (_IO_do_flush): Remove use of INTUSE.
23421         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
23422         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
23423         (_IO_adjust_column, _IO_least_wmarker)
23424         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
23425         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
23426         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
23427         (_IO_default_doallocate, _IO_wdefault_doallocate)
23428         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
23429         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
23430         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
23431         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
23432         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
23433         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
23434         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
23435         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
23436         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
23437         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
23438         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
23439         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
23440         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
23441         proto.
23442         (_IO_flush_all_internal, _IO_adjust_column_internal)
23443         (_IO_default_uflow_internal, _IO_default_finish_internal)
23444         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
23445         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
23446         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
23447         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
23448         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
23449         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
23450         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
23451         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
23452         (_IO_file_close_internal, _IO_file_close_it_internal)
23453         (_IO_file_underflow_internal, _IO_file_overflow_internal)
23454         (_IO_file_init_internal, _IO_file_attach_internal)
23455         (_IO_file_fopen_internal, _IO_file_read_internal)
23456         (_IO_file_sync_internal, _IO_file_seek_internal)
23457         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
23458         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
23459         (_IO_str_underflow_internal, _IO_str_overflow_internal)
23460         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
23461         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
23462         (_IO_list_all_internal, _IO_link_in_internal)
23463         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
23464         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
23465         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
23466         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
23467         (_IO_do_write_internal, _IO_padn_internal)
23468         (_IO_getline_info_internal, _IO_getline_internal)
23469         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
23470         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
23471         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
23472         (_IO_vfscanf_internal, _IO_vfprintf_internal)
23473         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
23474         (_IO_init_internal, _IO_un_link_internal): Don't declare.
23475         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
23476         with libc_hidden_ver, remove use of INTUSE.
23477         * libio/genops.c: Likewise.
23478         * libio/freopen.c: Likewise.
23479         * libio/freopen64.c: Likewise.
23480         * libio/iofclose.c: Likewise.
23481         * libio/iofdopen.c: Likewise.
23482         * libio/iofflush.c: Likewise.
23483         * libio/iofflush_u.c: Likewise.
23484         * libio/iofgets.c: Likewise.
23485         * libio/iofgets_u.c: Likewise.
23486         * libio/iofopen.c: Likewise.
23487         * libio/iofopncook.c: Likewise.
23488         * libio/iofread.c: Likewise.
23489         * libio/iofread_u.c: Likewise.
23490         * libio/ioftell.c: Likewise.
23491         * libio/iofwrite.c: Likewise.
23492         * libio/iogetline.c: Likewise.
23493         * libio/iogets.c: Likewise.
23494         * libio/iogetwline.c: Likewise.
23495         * libio/iopadn.c: Likewise.
23496         * libio/iopopen.c: Likewise.
23497         * libio/ioseekoff.c: Likewise.
23498         * libio/ioseekpos.c: Likewise.
23499         * libio/iosetbuffer.c: Likewise.
23500         * libio/iosetvbuf.c: Likewise.
23501         * libio/ioungetc.c: Likewise.
23502         * libio/ioungetwc.c: Likewise.
23503         * libio/iovdprintf.c: Likewise.
23504         * libio/iovsprintf.c: Likewise.
23505         * libio/iovsscanf.c: Likewise.
23506         * libio/memstream.c: Likewise.
23507         * libio/obprintf.c: Likewise.
23508         * libio/oldfileops.c: Likewise.
23509         * libio/oldiofclose.c: Likewise.
23510         * libio/oldiofdopen.c: Likewise.
23511         * libio/oldiofopen.c: Likewise.
23512         * libio/oldiopopen.c: Likewise.
23513         * libio/oldstdfiles.c: Likewise.
23514         * libio/putc.c: Likewise.
23515         * libio/setbuf.c: Likewise.
23516         * libio/setlinebuf.c: Likewise.
23517         * libio/stdfiles.c: Likewise.
23518         * libio/strops.c: Likewise.
23519         * libio/vasprintf.c: Likewise.
23520         * libio/vscanf.c: Likewise.
23521         * libio/vsnprintf.c: Likewise.
23522         * libio/vswprintf.c: Likewise.
23523         * libio/wfiledoalloc.c: Likewise.
23524         * libio/wfileops.c: Likewise.
23525         * libio/wgenops.c: Likewise.
23526         * libio/wmemstream.c: Likewise.
23527         * libio/wstrops.c: Likewise.
23528         * libio/__fpurge.c: Likewise.
23529         * libio/__fsetlocking.c: Likewise.
23530         * assert/assert.c: Likewise.
23531         * debug/fgets_chk.c: Likewise.
23532         * debug/fgets_u_chk.c: Likewise.
23533         * debug/fread_chk.c: Likewise.
23534         * debug/fread_u_chk.c: Likewise.
23535         * debug/gets_chk.c: Likewise.
23536         * debug/obprintf_chk.c: Likewise.
23537         * debug/vasprintf_chk.c: Likewise.
23538         * debug/vdprintf_chk.c: Likewise.
23539         * debug/vsnprintf_chk.c: Likewise.
23540         * debug/vsprintf_chk.c: Likewise.
23541         * malloc/mtrace.c: Likewise.
23542         * misc/error.c: Likewise.
23543         * misc/syslog.c: Likewise.
23544         * stdio-common/asprintf.c: Likewise.
23545         * stdio-common/fxprintf.c: Likewise.
23546         * stdio-common/getw.c: Likewise.
23547         * stdio-common/isoc99_fscanf.c: Likewise.
23548         * stdio-common/isoc99_scanf.c: Likewise.
23549         * stdio-common/isoc99_vfscanf.c: Likewise.
23550         * stdio-common/isoc99_vscanf.c: Likewise.
23551         * stdio-common/isoc99_vsscanf.c: Likewise.
23552         * stdio-common/printf-prs.c: Likewise.
23553         * stdio-common/printf_fp.c: Likewise.
23554         * stdio-common/printf_fphex.c: Likewise.
23555         * stdio-common/printf_size.c: Likewise.
23556         * stdio-common/putw.c: Likewise.
23557         * stdio-common/scanf.c: Likewise.
23558         * stdio-common/sprintf.c: Likewise.
23559         * stdio-common/tmpfile.c: Likewise.
23560         * stdio-common/vfprintf.c: Likewise.
23561         * stdio-common/vfscanf.c: Likewise.
23562         * stdlib/strfmon_l.c: Likewise.
23563         * sunrpc/openchild.c: Likewise.
23564         * sunrpc/xdr_stdio.c: Likewise.
23565         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
23566         * sysdeps/mach/hurd/tmpfile.c: Likewise.
23568 2012-05-24  Roland McGrath  <roland@hack.frob.com>
23570         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23572         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
23573         in the third column, to generate for the shared library an IFUNC
23574         that uses _dl_vdso_vsym.
23575         * Makerules (COMPILE.c, compile-stdin.c): New variables.
23576         * Makeconfig (object-suffixes-noshared): New variable.
23578         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
23579         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
23580         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
23581         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
23583         [BZ #14132]
23584         * include/sys/time.h (__gettimeofday): Remove macro.
23585         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
23586         * time/gettimeofday.c (__gettimeofday): Remove #undef.
23587         Remove INTDEF.
23588         (__gettimeofday): Add libc_hidden_def.
23589         (gettimeofday): Add libc_hidden_weak.
23590         * sysdeps/mach/gettimeofday.c: Likewise.
23591         * sysdeps/posix/gettimeofday.c: Likewise.
23592         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
23593         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23594         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
23595         (__gettimeofday_internal): Remove strong_alias.
23596         (__gettimeofday): Add libc_hidden_def.
23597         (gettimeofday): Add libc_hidden_weak.
23598         * sysdeps/unix/syscalls.list (gettimeofday):
23599         Remove __gettimeofday_internal alias.
23601 2012-05-24  Daniel Jacobowitz  <drow@false.org>
23602             H.J. Lu  <hongjiu.lu@intel.com>
23604         [BZ #12495]
23605         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
23606         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
23607         (largebin_index_32_big): New.
23608         (largebin_index): Use it for 16-byte alignment.
23609         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
23610         correction with front_misalign.
23612 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
23614         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
23615         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
23616         Likewise.
23617         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
23618         Likewise.
23619         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23620         Likewise.
23621         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
23622         Likewise.
23623         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
23624         Likewise.
23625         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
23626         Likewise.
23627         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
23628         Likewise.
23629         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23630         Likewise.
23631         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
23632         Likewise.
23633         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
23634         Likewise.
23635         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
23636         Likewise.
23637         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
23638         Likewise.
23640         * scripts/data/c++-types-x32-linux-gnu.data: New file.
23641         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
23643 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
23645         [BZ #10846]
23646         [BZ #14036]
23647         * math/libm-test.inc (exp_test): Add test from bug 14036.
23648         (pow_test): Add test from bug 10846.
23650         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
23651         and other flags.
23652         (special_function): Do not include flags in test name.
23653         (parse_args): Likewise.
23654         * sysdeps/i386/fpu/libm-test-ulps: Update.
23655         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23656         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23657         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23660         * math/gen-libm-test.pl (%beautify): Add entries for underflow
23661         exceptions.
23662         * math/libm-test.inc ("Philosophy"): Update comment about
23663         exception testing.
23664         (UNDERFLOW_EXCEPTION): New macro.
23665         (UNDERFLOW_EXCEPTION_OK): Likewise.
23666         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
23667         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
23668         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
23669         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
23670         (INVALID_EXCEPTION_OK): Update value.
23671         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23672         (OVERFLOW_EXCEPTION_OK): Likewise.
23673         (IGNORE_ZERO_INF_SIGN): Likewise.
23674         (test_exceptions): Handle underflow exceptions.
23675         (acos_test): Update for underflow exception expectations.
23676         (cexp_test): Likewise.
23677         (clog_test): Likewise.
23678         (clog10_test): Likewise.
23679         (csqrt_test): Likewise.
23680         (ctan_test): Likewise.
23681         (ctanh_test): Likewise.
23682         (exp_test): Likewise.
23683         (exp10_test): Likewise.
23684         (exp2_test): Likewise.
23685         (expm1_test): Likewise.
23686         (fma_test): Likewise.
23687         (j0_test): Likewise.
23688         (jn_test): Likewise.
23689         (nexttoward_test): Likewise.
23690         (pow_test): Likewise.
23691         (scalbn_test): Likewise.
23692         (scalbln_test): Likewise.
23693         (tan_test): Likewise.
23694         (y1_test): Likewise.
23695         * sysdeps/i386/fpu/libm-test-ulps: Update.
23696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23698 2012-05-23  David S. Miller  <davem@davemloft.net>
23700         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23701         (__libc_sigaction): Remove unused local variables.
23703 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
23705         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
23707 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
23709         mktime: avoid signed integer overflow
23710         * time/mktime.c (__mktime_internal): Do not mishandle the case
23711         where diff == INT_MIN.
23713         mktime: simplify computation of average
23714         * time/mktime.c (ranged_convert): Use new time_t_avg function
23715         instead of rolling our own (probably-slower) code.
23717         mktime: do not assume signed right shift propagates sign bit
23718         * time/mktime.c (isdst_differ): New static function.
23719         (__mktime_internal): No need to normalize tm_isdst now.
23720         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
23721         tm_isdst values.
23723         mktime: merge another wrapv change from gnulib
23724         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
23725         from some compilers.
23727         mktime: remove incorrect attempt at unusual arithmetics
23728         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
23729         The code didn't really work on such machines anyway.
23730         (TYPE_MINIMUM): Assume two's complement.
23731         (twos_complement_arithmetic): Verify that long_int and time_t
23732         are two's complement (or unsigned, in the latter case).
23734         mktime: check signed shifts on long_int and time_t, too
23735         * time/mktime.c (SHR): Check that shifts work as desired
23736         on the types long_int and time_t too, as SHR is used on
23737         such types.
23739         mktime: do not assume 'long' is wide enough
23740         * time/mktime.c (verify): Move decl up.
23741         (long_int): New type.
23742         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
23743         to remove assumption in the code that 'long' is wide enough to
23744         store year values.  This assumption is not true on x32 and on
23745         some non-glibc platforms.
23747         mktime: merge wrapv change from gnulib
23748         * time/mktime.c (WRAPV): New macro.
23749         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
23750         (guess_time_tm, __mktime_internal): Do not assume that signed
23751         integer overflow wraps around; modern compilers generate code
23752         where this assumption is no longer valid.
23754 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
23756         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23757         Replace "jmp L(pseudo_end)" with "ret".
23758         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
23759         Likewise.
23761 2012-05-23  Andreas Jaeger  <aj@suse.de>
23763         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
23764         * sysdeps/unix/sysv/linux/poll.c: Remove file.
23766 2012-05-23  Andreas Jaeger  <aj@suse.de>
23767             Maximilian Attems  <max@stro.at>
23769         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
23770         New macros.
23772 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
23774         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23775         code so that pseudo_end is just ret and the stack pointer is
23776         correct also for static library in error case.
23778 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
23780         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23781         move to syscalls.list.
23782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23787         * manual/install.texi (Running make install): Do not mention Linux
23788         kernel version for which pt_chown is not needed.
23789         (Linux): Do not mention problems with nscd with 2.0 kernels.
23790         * INSTALL: Regenerated.
23792 2012-05-23  Andreas Jaeger  <aj@suse.de>
23794         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23795         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23796         macro.
23797         * sysdeps/unix/sysv/linux/s390/bits/mman.h
23798         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23799         * sysdeps/unix/sysv/linux/sh/bits/mman.h
23800         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23801         * sysdeps/unix/sysv/linux/i386/bits/mman.h
23802         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23803         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23804         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23805         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23806         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23807         * sysdeps/unix/sysv/linux/bits/in.h
23808         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23810 2012-05-22  Roland McGrath  <roland@hack.frob.com>
23812         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23813         (PREPARE_VERSION): Just use assert instead, it will be elided
23814         under [NDEBUG] anyway.
23816 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23818         * sysdeps/unix/sysv/linux/Makefile: Include
23819         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
23820         (sysdep_routines): Remove sysctl.
23821         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23822         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23823         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23824         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23825         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23827 2012-05-22  Andreas Jaeger  <aj@suse.de>
23829         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23830         that pseudo_end is just ret and the stack pointer is correct also
23831         for static library in error case.
23833 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
23835         [BZ #14122]
23836         * nss/nsswitch.c (defconfig_entries): New variable.
23837         (__nss_database_lookup): Don't leak defconfig entries.
23838         (nss_parse_service_list): Don't leak on error paths.
23839         (free_database_entries): New function.
23840         (free_defconfig): New function.
23841         (free_mem): Move common code to free_database_entries.
23843 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23845         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23846         Add arch_prctl.
23847         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23849         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23850         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23851         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23852         New macro.
23853         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23854         (INTERNAL_SYSCALL_TYPES): Likewise.
23855         (LOAD_ARGS_TYPES_[1-6]): Likewise.
23856         (LOAD_REGS_TYPES_[1-6]): Likewise.
23857         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23858         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23860 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23862         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23863         copysignl for GLIBC_2_0.
23864         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23865         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23866         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23867         logbl for GLIBC_2_0.
23868         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23869         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23871 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23873         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23874         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
23876         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23877         Use "neg %eax".
23879         * time/mktime.c: Update copyright years.
23881 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
23883         mktime: merge comment-quoting-style change from gnulib
23884         * time/mktime.c: Quote 'like this' in comments.
23885         The GNU coding standards suggest that we no longer quote `like this',
23886         as "`" and "'" are typically rendered asymmetrically nowadays.
23887         The typical gnulib style is to quote 'like this' when quoting
23888         code, and "like this" when quoting English.
23890         * time/mktime.c (compile-command): Add "-I.".
23892         mktime: merge mktime-internal.h change from gnulib
23893         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23895         mktime: merge time_r change from gnulib
23896         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23898         mktime: merge DEBUG change from gnulib
23899         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23900         case system <time.h> has a #define.
23902         mktime: merge <sys/types.h> change from gnulib
23903         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23904         since <time.t> is now guaranteed to define time_t.
23906         mktime: merge HAVE_CONFIG_H change from gnulib
23907         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23909 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23911         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23912         Use "neg %eax".
23914         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23915         __rlim_t cast.
23916         (struct rusage): Use anonymous union to pad each field to
23917         __syscall_slong_t.
23919 2012-05-21  David S. Miller  <davem@davemloft.net>
23921         * Makefules (o-iterator): Remove .s cases.
23922         (compile-command.s): Delete.
23923         (COMPILE.s): Delete.
23924         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23926 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
23928         * configure.in (libc_cv_predef_stack_protector): Only consider
23929         "foobar" and "__stack_chk_fail" lines in libc_undefs.
23930         * configure: Regenerated.
23932 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23934         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23935         New macro.  Use R*LP on int and pointer.
23936         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
23937         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23938         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
23939         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23941         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23942         [__WORDSIZE_TIME64_COMPAT32] instead of
23943         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23944         (struct utmp): Likewise.
23945         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23946         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23947         Renamed to ...
23948         (__WORDSIZE_TIME64_COMPAT32): This.
23949         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23950         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23951         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23952         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23953         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23954         (__WORDSIZE_TIME64_COMPAT32): New macro.
23956 2012-05-21  Andreas Jaeger  <aj@suse.de>
23958         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23959         only if [SHARED]. Add prototype for __wcschr_ia32.
23961 2012-05-21  Roland McGrath  <roland@hack.frob.com>
23963         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23964         of %rbp unmolested in the jmp_buf while mangling the low bits.
23965         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23966         unmolested high bits of %rbp while demangling the low bits.
23967         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23969 2012-05-21  Andreas Jaeger  <aj@suse.de>
23971         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23972         * sunrpc/svc_simple.c: Use it for registerrpc.
23973         * sunrpc/xcrypt.c: Use it for passwd2des.
23975         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23977 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23979         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23980         Don't define if [__SYSCALL_WORDSIZE != 32].
23981         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23982         New macro.
23984 2012-05-21  Bruno Haible  <bruno@clisp.org>
23985             Andreas Jaeger  <aj@suse.de>
23987         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23988         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23989         inptr and inend for must_buffer_ch.
23990         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23991         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23992         * stdio-common/Makefile (tests): Remove bug15.
23993         (bug15-ENV): Remove macro.
23994         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23995         anymore.
23997 2012-05-19  Andreas Jaeger  <aj@suse.de>
23998             Roland McGrath  <roland@hack.frob.com>
24000         * manual/contrib.texi: Completely rewritten. It contains now an
24001         alphabetical list of contributors and their contributions.
24003 2012-05-21  Richard Henderson  <rth@twiddle.net>
24005         * misc/getauxval.c (__getauxval): Use unsigned long int.
24006         * misc/sys/auxv.h: Include <sys/cdefs.h>.
24007         (getauxval): Use unsigned long int.
24009 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
24011         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24013 2012-05-21  Roland McGrath  <roland@hack.frob.com>
24015         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
24016         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
24017         __alignof__ (long double).
24019 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24021         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24023 2012-05-20  Richard Henderson  <rth@twiddle.net>
24025         * misc/getauxval.c: New file.
24026         * misc/sys/auxv.h: New file.
24027         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
24028         (routines): Add getauxval.
24029         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
24030         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
24031         * elf/dl-sysdep.c (_dl_auxv): Remove.
24032         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
24033         * elf/dl-support.c (_dl_auxv): New variable.
24034         (_dl_aux_init): Initialize it.
24035         * manual/startup.texi (Auxiliary Vector): New node.
24036         * sysdeps/generic/bits/hwcap.h: New file.
24037         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
24038         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
24039         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
24040         * sysdeps/sparc/sysdep.h: ... here.  Include it.
24041         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
24042         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
24043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24044         Update.
24045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
24046         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
24047         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
24048         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
24049         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
24050         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
24051         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
24052         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
24054 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24056         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24058 2012-05-19  David S. Miller  <davem@davemloft.net>
24060         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24062 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
24064         [BZ #14123]
24065         * math/s_ccosh.c: Include <float.h>
24066         (__ccosh): Avoid internal overflow calculating sinh and cosh
24067         values before multiplying by sin and cos values.
24068         * math/s_ccoshf.c: Likewise.
24069         * math/s_ccoshl.c: Likewise.
24070         * math/s_csin.c: Likewise.
24071         * math/s_csinf.c: Likewise.
24072         * math/s_csinl.c: Likewise.
24073         * math/s_csinh.c: Likewise.
24074         * math/s_csinhf.c: Likewise.
24075         * math/s_csinhl.c: Likewise.
24076         * math/libm-test.inc (ccos_test): Add more tests.
24077         (ccosh_test): Likewise.
24078         (csin_test): Likewise.
24079         (csinh_test): Likewise.
24080         * sysdeps/i386/fpu/libm-test-ulps: Update.
24081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24083 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
24085         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
24086         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
24088         * sysdeps/x86_64/x32/_itoa.h: Add comment.
24090 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
24092         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
24093         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
24094         * sysdeps/powerpc/soft-fp/Versions: Likewise.
24095         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
24096         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
24097         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
24098         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
24099         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
24100         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
24101         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
24102         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
24103         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
24104         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
24105         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
24106         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
24107         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
24108         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
24109         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
24110         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
24111         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
24112         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
24113         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
24114         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
24115         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
24116         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
24117         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
24118         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
24119         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
24120         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
24121         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
24122         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
24124 2012-05-18  Andreas Jaeger  <aj@suse.de>
24126         * csu/.gitignore: Delete.
24128 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
24130         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
24131         (timex): Use __syscall_slong_t.
24133 2012-05-18  Andreas Jaeger  <aj@suse.de>
24134             Carlos O'Donell  <carlos_odonell@mentor.com>
24136         * manual/install.texi (Configuring and compiling): Update
24137         description about files modified in the source directory.
24138         * INSTALL: Regenerated.
24140 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
24142         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
24143         value.  Use "or" to set return value to -1.
24144         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
24145         negate return value.
24147 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24149         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
24150         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
24151         failure if the compiler has Graphite support disabled.
24152         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
24153         Likewise.
24154         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
24155         CFLAGS-memmove.c): Likewise.
24156         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
24157         Likewise.
24159 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
24161         * sysdeps/x86_64/x32/_itoa.h: New file.
24163         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
24164         getdents system call only if kernel and user dirents have the
24165         same d_ino and d_off.
24167         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24168         LLONG_MAX != LONG_MAX.
24169         (_itoa_word): Use _ITOA_WORD_TYPE on value.
24170         (_fitoa_word): Likewise.
24172         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
24173         years.
24174         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
24175         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
24176         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
24178         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
24179         include <bits/wordsize.h>.  Check __x86_64__ instead of
24180         __WORDSIZE.
24181         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
24182         if __x86_64__ is defined.  Use anonymous union on fpstate.
24184         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
24185         anonymous union.
24187 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
24189         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
24190         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
24191         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
24192         Refer to _rtld_local_ro instead of _rtld_global_ro.
24193         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
24194         Likewise.
24195         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
24196         Likewise.
24197         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
24198         Likewise.
24199         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
24200         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
24201         of _rtld_global, and rtld_progname instead of _dl_argv[0].
24203         * sysdeps/powerpc/powerpc32/dl-machine.c
24204         (__elf_machine_runtime_setup) [PROF]: Don't reference
24205         _dl_prof_resolve.
24207 2012-05-18  Andreas Jaeger  <aj@suse.de>
24209         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
24210         function only available for GCCs before 3.4 since GCC 3.4
24211         introduced a builtin.
24212         (lrint): Likewise.
24213         (llrintf): Likewise.
24214         (llrint): Likewise.
24215         (fmaxf): Likewise.
24216         (fmax): Likewise.
24217         (fminf): Likewise.
24218         (fmin): Likewise.
24219         (rint): Likewise.
24220         (rintf): Likewise.
24221         (nearbyint): Likewise.
24222         (nearbyintf): Likewise.
24223         (ceil): Likewise.
24224         (ceilf): Likewise.
24225         (floor): Likewise.
24226         (floorf): Likewise.
24228 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
24230         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
24231         on both fields and cast pointer to __syscall_ulong_t.
24233         * bits/types.h (__fsword_t): New type.
24234         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
24235         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
24236         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24237         (__FSWORD_T_TYPE): Likewise.
24238         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24239         (__FSWORD_T_TYPE): Likewise.
24240         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24241         (__FSWORD_T_TYPE): Likewise.
24242         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
24243         (__FSWORD_T_TYPE): Likewise.
24244         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
24245         __SWORD_TYPE with __fsword_t.
24246         (statfs64): Likewise.
24248 2012-05-17  David S. Miller  <davem@davemloft.net>
24250         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
24252 2012-05-17  Andreas Jaeger  <aj@suse.de>
24254         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
24255         warning.
24257 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
24259         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
24261 2012-05-17  Andreas Jaeger  <aj@suse.de>
24263         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
24264         when it is used.
24266 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
24268         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
24270 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
24272         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
24273         * sysdeps/x86_64/tst-mallocalign1.c: New file.
24275 2012-05-17  Andreas Jaeger  <aj@suse.de>
24276             Carlos O'Donell  <carlos_odonell@mentor.com>
24278         [BZ #14059]
24279         * sysdeps/x86_64/multiarch/init-arch.h
24280         (bit_YMM_Usable): Rename to...
24281         (bit_AVX_Usable): ... this.
24282         (bit_FMA4_Usable): New macro.
24283         (bit_XMM_state): New macro.
24284         (bit_YMM_state): New macro.
24285         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
24286         [__ASSEMBLER__] (index_AVX_Usable): ... this.
24287         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
24288         (CPUID_OSXSAVE): New macro.
24289         (CPUID_AVX): New macro.
24290         (CPUID_FMA4): New macro.
24291         (index_YMM_Usable): Rename to...
24292         (index_AVX_Usable): ... this.
24293         (HAS_AVX): Use HAS_ARCH_FEATURE.
24294         (HAS_FMA4): Likewise.
24295         (HAS_YMM_USABLE): Remove.
24296         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24297         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
24298         are present.
24299         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
24300         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
24301         * sysdeps/x86_64/multiarch/Makefile: Likewise.
24302         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
24303         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
24305 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
24307         * math/libm-test.c: Support platforms without multiple rounding modes.
24308         * math/bug-nextafter.c: Support platforms without FP exceptions.
24309         * math/bug-nexttoward.c: Likewise.
24310         * math/test-fenv.c: Likewise.
24311         * math/test-misc.c: Likewise.
24312         * stdlib/bug-getcontext.c: Likewise.
24314 2012-05-17  Andreas Jaeger  <aj@suse.de>
24316         * manual/examples/search.c (critter_cmp): Change signature to
24317         avoid warnings.
24318         * manual/string.texi (Collation Functions): Likewise.
24320 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24322         * bits/types.h: Fold copyright years.
24323         * bits/typesizes.h: Likewise.
24324         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
24325         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24326         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
24327         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
24328         * time/time.h: Likewise.
24330 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
24332         [BZ #208]
24333         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
24334         in instead of returning them.  Return void.
24335         (__libc_mallinfo): Accumulate over all arenas.
24336         (__malloc_stats): Adjust for change in int_mallinfo interface.
24338 2012-05-16  Roland McGrath  <roland@hack.frob.com>
24340         [BZ #10375]
24341         * configure.in (NM): Add AC_CHECK_TOOL for it.
24342         (libc_extra_cflags): New substituted variable.
24343         Check for -fstack-protector being used implicitly.
24344         * configure: Regenerated.
24345         * config.make.in (config-extra-cflags): New variable,
24346         gets @libc_extra_cflags@.
24347         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
24349         [BZ #10375]
24350         * configure.in: Check for _FORTIFY_SOURCE being predefined.
24351         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
24352         * configure: Regenerated.
24353         * config.make.in (CPPUNDEFS): New substituted variable.
24354         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
24355         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
24356         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
24358 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24360         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
24361         (mq_attr): Use __syscall_slong_t.
24363 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24365         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
24366         Check __x86_64__ instead of __WORDSIZE.
24367         (_STAT_VER_LINUX): Likewise.
24368         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
24369         __syscall_ulong_t and __syscall_slong_t.
24370         (stat64): Likewise.
24372 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24374         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
24376 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24378         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
24380 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24382         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
24383         __syscall_ulong_t.
24385         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
24386         include <bits/wordsize.h>.  Check __x86_64__ instead of
24387         __WORDSIZE.
24388         (greg_t): Use "__extension__ long long int" if __x86_64__ is
24389         defined.
24390         (mcontext_t): Replace "unsigned long" with "unsigned long long".
24392         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
24393         include <bits/wordsize.h>.  Check __x86_64__ instead of
24394         __WORDSIZE.
24395         (user_regs_struct): Use "__extension__ unsigned long long"
24396         instead of "unsigned long" if __x86_64__ is defined.
24397         (user): Likewise.  Pad after pointer field if __ILP32__ is
24398         defined.
24400 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
24402         * configure.in (makeinfo): Require version 4.5 or later.  Allow
24403         versions 5 to 9.
24404         * configure: Regenerated.
24405         * manual/install.texi (texinfo): Increase version requirement to
24406         4.5 or later.
24407         * INSTALL: Regenerated.
24409         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
24411 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24413         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
24415         * sysdeps/x86_64/x32/ffs.c: New file.
24417         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
24418         __syscall_ulong_t.
24419         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
24420         defined.  Use __syscall_ulong_t.
24421         (shminfo): Use __syscall_ulong_t.
24422         (shm_info): Likewise.
24424         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
24425         __syscall_ulong_t.
24427         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
24428         <bits/wordsize.h>.
24429         (msgqnum_t): Use __syscall_ulong_t.
24430         (msglen_t): Likewise.
24431         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
24432         __syscall_ulong_t.
24434         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
24435         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
24437         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
24439         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
24440         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
24442         * sysvipc/sys/msg.h (msgbuf): Replace long int with
24443         __syscall_slong_t.
24445         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
24446         include <bits/wordsize.h>.  Check __x86_64__ instead of
24447         __WORDSIZE.
24449         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
24450         "unsigned long long int" if __x86_64__ is defined.
24451         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
24453         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
24454         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
24455         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
24457         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
24458         <stdint.h>.
24459         (GET_PC): Cast to uintptr_t first.
24460         (GET_FRAME): Likewise.
24461         (GET_STACK): Likewise.
24463         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
24464         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
24465         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
24466         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
24467         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
24468         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
24469         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
24470         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
24471         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
24472         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
24473         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
24474         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
24475         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24476         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
24477         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
24478         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
24479         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
24480         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
24481         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
24482         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
24483         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
24484         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
24485         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
24486         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
24487         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
24488         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
24489         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
24490         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
24491         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
24493 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
24495         * Makerules (+depfiles): Also collect depfiles from .oS in
24496         $(extra-objs).
24497         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
24498         .oS, $(libnldbl-routines)).
24500         * Makerules (native-compile-mkdep-flags): Define.
24501         * sunrpc/Makefile (extra-objs): Add $(addprefix
24502         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
24503         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
24504         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
24505         calling $(make-target-directory).
24507 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24509         * bits/types.h (__snseconds_t): Removed.
24510         * time/time.h (struct timespec): Replace __snseconds_t with
24511         __syscall_slong_t.
24512         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
24513         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
24514         Likewise.
24515         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24516         (__SNSECONDS_T_TYPE): Likewise.
24517         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24518         (__SNSECONDS_T_TYPE): Likewise.
24519         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24520         (__SNSECONDS_T_TYPE): Likewise.
24522 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24524         * sysdeps/mach/hurd/bits/typesizes.h
24525         (__SYSCALL_SLONG_TYPE): New macro.
24526         (__SYSCALL_ULONG_TYPE): Likewise.
24528 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24530         * bits/types.h (__syscall_slong_t): New type.
24531         (__syscall_ulong_t): Likewise.
24533         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
24534         (__SYSCALL_ULONG_TYPE): Likewise.
24535         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24536         (__SYSCALL_SLONG_TYPE): Likewise.
24537         (__SYSCALL_ULONG_TYPE): Likewise.
24538         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24539         (__SYSCALL_SLONG_TYPE): Likewise.
24540         (__SYSCALL_ULONG_TYPE): Likewise.
24541         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24542         (__SYSCALL_SLONG_TYPE): Likewise.
24543         (__SYSCALL_ULONG_TYPE): Likewise.
24545 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24547         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
24548         Add sigaltstack-offsets.sym.
24549         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
24550         <sigaltstack-offsets.h>.
24551         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
24552         longjmp_msg pointer.
24553         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
24554         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
24555         signal stack.
24556         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
24558 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
24560         * elf/stackguard-macros.h: Remove file.
24561         * sysdeps/generic/stackguard-macros.h: New file.
24562         * sysdeps/i386/stackguard-macros.h: Likewise.
24563         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24564         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24565         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24566         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24567         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24568         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24569         * sysdeps/x86_64/stackguard-macros.h: Likewise.
24570         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
24571         <elf/stackguard-macros.h>.
24573         [BZ #14109]
24574         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
24575         __aligned__ in attribute.
24576         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
24577         (gregset_t): Likewise.
24579 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24581         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
24582         * sysdeps/x86_64/64/Implies-after: Here.  New file.
24583         * sysdeps/x86_64/x32/Implies-after: New file.
24585 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24587         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
24588         and access return value for _dl_profile_fixup.  Use R10_LP to
24589         load frame size.
24591 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24593         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
24595 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24597         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
24598         * sysdeps/x86_64/x32/sysdep.h: New file.
24600 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24602         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
24603         * sysdeps/x86_64/setjmp.S: Likewise.
24605 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24607         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
24608         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
24609         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
24610         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
24611         remove unused global constant.
24613 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
24615         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
24616         include of <not-cancel.h>.
24618 2012-05-15  Roland McGrath  <roland@hack.frob.com>
24620         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
24622 2012-05-15  Jeff Law  <law@redhat.com>
24623             Andreas Jaeger  <aj@suse.de>
24625         [BZ #13594]
24626         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
24627         out from...
24628         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
24629         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
24630         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
24631         code changing __hst_map_handle.map.
24633 2012-05-15  Roland McGrath  <roland@hack.frob.com>
24635         * configure.in (sysnames): Look for Implies-before and Implies-after
24636         files.
24637         * configure: Regenerated.
24639 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24641         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
24642         8-byte data alignment with LP_SIZE alignment.
24644 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24646         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
24647         into R10_LP.
24649 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24651         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
24653 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24655         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
24656         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
24657         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
24658         Likewise.
24659         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24661 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24663         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
24664         (stackinfo_sub_sp): Likewise.
24666 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24668         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
24669         RAX_LP.
24671 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24673         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
24674         into R*_LP.
24676 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24678         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
24679         sizes into R*_LP.
24681 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24683         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
24685 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24687         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
24688         into R11_LP and load __x86_64_shared_cache_size_half into
24689         R8_LP.
24691 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24693         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
24694         R8_LP.
24696 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24698         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
24699         logb for POWER7.
24700         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
24701         logbf for POWER7.
24702         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
24703         logbl for POWER7.
24704         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
24705         powerpc32/power7/fpu/s_logb.c via #include.
24706         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
24707         powerpc32/power7/fpu/s_logbf.c via #include.
24708         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
24709         powerpc32/power7/fpu/s_logbl.c via #include.
24711 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
24713         * README.libm: Remove file.
24715 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24717         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
24718         count for x32.  Use R*_LP and omit operand-size suffix.
24720 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24722         * shlib-versions: Move x86_64-.*-linux.* entries to ...
24723         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
24724         * sysdeps/x86_64/x32/shlib-versions: New file.
24726 2012-05-14  Roland McGrath  <roland@hack.frob.com>
24728         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
24729         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
24730         Use _dl_fatal_printf instead.
24732 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
24734         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
24735         set if not set by the user.  Do not allow for being unset.
24736         * sysdeps/unix/sysv/linux/configure: Regenerated.
24738 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24740         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
24741         the `q' suffix from lea and replace .quad with ASM_ADDR.
24743 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24745         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
24746         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
24747         instead of $17.
24748         (PTR_DEMANGLE): Likewise.
24750 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24752         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
24753         (LP_OP): Likewise.
24754         (ASM_ADDR): Likewise.
24755         (RAX_LP): Likewise.
24756         (RBP_LP): Likewise.
24757         (RBX_LP): Likewise.
24758         (RCX_LP): Likewise.
24759         (RDI_LP): Likewise.
24760         (RSI_LP): Likewise.
24761         (RSP_LP): Likewise.
24762         (R8_LP): Likewise.
24763         (R9_LP): Likewise.
24764         (R10_LP): Likewise.
24765         (R10_LP): Likewise.
24766         (R11_LP): Likewise.
24767         (R12_LP): Likewise.
24768         (R13_LP): Likewise.
24769         (R14_LP): Likewise.
24770         (R15_LP): Likewise.
24772 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24774         * sysdeps/x86_64/x32/dl-machine.h: New file.
24776 2012-05-14  Andreas Jaeger  <aj@suse.de>
24778         * manual/Makefile (subdir): Remove export of subdir.
24779         (all): Remove target.
24780         (.PHONY): Remove all from list.
24781         (mkinstalldirs): Remove.
24782         (.PHONY): Remove installdirs from list.
24783         ($(inst_infodir)/libc.info): Use make-target-directory.
24784         (installdirs): Remove.
24785         (subdir_%): Remove.
24786         (glibc-targets): Remove.
24787         (lib): Remove.
24788         (stubs): Remove.
24789         ($(objpfx)stubs ../po/manual.pot): Remove.
24790         ($(objpfx)stamp%): Remove.
24791         (make-target-directory): Remove.
24792         (subdir_install): Remove.
24793         (routines): Remove.
24794         (aux): Remove.
24795         (sources): Remove.
24796         (objects): Remove.
24797         (headers): Remove.
24799         [BZ #13750]
24800         * manual/.gitignore: Remove, it's not needed anymore.
24801         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24802         all files in it.
24803         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24804         directory.
24805         (texis): Renamed to $(objpfx)texis.
24806         (texis-path): New, contains path to generated files.
24807         (chapters.%): Use texis-path for complete path, add extra argument
24808         libc-texinfo.sh.
24809         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24810         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24811         (summary,texi, stamp-summary): Use complete path of
24812         files. Generate files in build dir.
24813         (dir-add.texi): Build in build dir.
24814         (libm-err.texi,stamp-libm-err): Likewise.
24815         (version.texi, stamp-version): Likewise.
24816         (.%c.texi): Likewise.
24817         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24818         (mostlyclean): Remove target.
24819         (realclean): Remove target.
24820         (generated): Add new variable with contents from mostlyclean and
24821         realclean, remove entries duplicated in common-mostlyclean, add
24822         stamp-libm-err and stamp-version.
24823         (generated-dirs): Add libc directory.
24824         ($(inst_infodir)/libc.info): Install files from build dir.
24826         * manual/install.texi (Configuring and compiling): Adjust since
24827         the info files are not part of the tar ball anymore.
24829 2012-05-14  Andreas Jaeger  <aj@suse.de>
24831         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24832         variable.
24834 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
24836         [BZ #13717]
24837         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24838         to 2.2.0 where earlier.
24839         * sysdeps/unix/sysv/linux/configure: Regenerated.
24840         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24841         Remove conditional code.
24842         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24843         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24844         Remove conditional code.
24845         [!__NR_lchown]: Likewise.
24846         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24847         [__NR_lchown]: Likewise.
24848         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24849         comment referencing __ASSUME_LCHOWN_SYSCALL.
24850         * sysdeps/unix/sysv/linux/i386/sigaction.c
24851         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24852         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24853         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24854         Remove conditional code.
24855         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24856         (__protocol_available): Remove #if 0 code.
24857         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24858         conditional code.
24859         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24860         * sysdeps/unix/sysv/linux/kernel-features.h
24861         (__ASSUME_GETCWD_SYSCALL): Don't define.
24862         (__ASSUME_REALTIME_SIGNALS): Likewise.
24863         (__ASSUME_PREAD_SYSCALL): Likewise.
24864         (__ASSUME_PWRITE_SYSCALL): Likewise.
24865         (__ASSUME_POLL_SYSCALL): Likewise.
24866         (__ASSUME_LCHOWN_SYSCALL): Likewise.
24867         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24868         non-SPARC.
24869         (__ASSUME_SIOCGIFNAME): Don't define.
24870         (__ASSUME_MSG_NOSIGNAL): Likewise.
24871         (__ASSUME_SENDFILE): Define unconditionally.
24872         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24873         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24874         conditional code.
24875         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24876         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24877         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24878         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24879         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24880         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24881         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24883         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24884         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24886         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24887         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24889         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24890         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24892         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24893         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24895         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24896         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24898         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24899         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24901         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24902         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24904         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24905         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24906         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24907         Remove conditional code.
24908         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24909         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24910         Remove conditional code.
24911         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24912         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24913         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24914         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24915         Remove conditional code.
24916         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24917         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24918         Remove conditional code.
24919         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24920         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24921         Remove conditional code.
24922         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24923         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24924         Remove conditional code.
24925         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24926         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24927         Remove conditional code.
24928         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24929         * sysdeps/unix/sysv/linux/sh/pwrite64.c
24930         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24931         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24932         * sysdeps/unix/sysv/linux/sigaction.c
24933         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24934         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24935         * sysdeps/unix/sysv/linux/sigpending.c
24936         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24937         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24938         * sysdeps/unix/sysv/linux/sigprocmask.c
24939         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24940         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24941         * sysdeps/unix/sysv/linux/sigsuspend.c
24942         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24943         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24944         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24945         (__libc_missing_rt_sigs): Remove.
24946         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24947         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24948         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24949         Remove conditional code.
24950         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24951         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24952         return 1.
24953         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24954         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24955         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24956         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24958 2012-05-14  Andreas Jaeger  <aj@suse.de>
24960         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24961         it's not used in glibc.
24962         (__coshm1): Likewise.
24963         (__acosh1p): Likewise.
24964         (__sgn): Likewise.
24966         * manual/string.texi (Copying and Concatenation): Add missing
24967         variable in concat example.
24968         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24970 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24972         [BZ #14103]
24973         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24974         __builtin_clzl with __builtin_clzll.
24976 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24978         [BZ #14104]
24979         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24980         libc_freeres_ptr.
24982 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24984         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24985         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24986         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24987         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24989 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
24991         * NEWS: Update ia64 info.
24993 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
24995         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24996         used as bcopy.
24998 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
25000         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
25001         * sysdeps/unix/syscalls.list (dup3): Likewise.
25002         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
25003         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
25005 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
25007         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
25008         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
25010 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
25012         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
25013         thread pointer.
25014         (TLS_IE): Use mov/add instead of movq/addq to load thread
25015         pointer.
25016         (TLS_GD_PREFIX): New.
25017         (TLS_GD): Use it.
25019 2012-05-11  David S. Miller  <davem@davemloft.net>
25021         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
25022         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
25023         (_FPU_SETCW): Likewise.
25025 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
25027         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
25028         is 32-byte aligned.
25030 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
25032         [BZ #11837]
25033         * iconvdata/gb18030.c: Update tables.
25034         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
25035         characters specially.
25036         (BODY for TO_LOOP): Add encoding of missing ranges.
25038 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
25040         [BZ #13673]
25041         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
25042         * sysdeps/mach/hurd/dup3.c: Likewise.
25043         * sysdeps/mach/hurd/readlinkat.c: Likewise.
25044         * sysdeps/powerpc/memmove.c:: Likewise.
25046 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
25048         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
25049         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
25051 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
25053         * elf/elf.h (R_X86_64_RELATIVE64): New.
25054         (R_X86_64_NUM): Updated.
25055         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25056         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
25057         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
25058         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
25059         tst-quad1pie tst-quad2pie
25060         (modules-names): Add tst-quadmod1 tst-quadmod2.
25061         ($(objpfx)tst-quad1): New dependency.
25062         ($(objpfx)tst-quad2): Likewise.
25063         ($(objpfx)tst-quad1pie): Likewise.
25064         ($(objpfx)tst-quad2pie): Likewise.
25065         * sysdeps/x86_64/tst-quad1.c: New file.
25066         * sysdeps/x86_64/tst-quad1pie.c: New file.
25067         * sysdeps/x86_64/tst-quad2.c: Likewise.
25068         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
25069         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
25070         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
25071         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
25072         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
25074 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25076         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
25077         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
25078         * streams/stropts.h (t_scalar_t): Define type.
25080         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
25081         (_PATH_PRESERVE): Set to "/var/lib".
25082         (_PATH_RWHODIR): Set to "/var/spool/rwho".
25084         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
25085         instead of int.
25087         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
25088         if __dir_mkfile succeeded.
25090         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
25091         checking for _hurd_dtablesize.  Unlock it right after having
25092         finished _hurd_dtable allocation.
25094 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25096         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
25097         * sysdeps/mach/hurd/configure: Regenerated.
25098         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
25099         special-casing to...
25100         * sysdeps/gnu/configure.in: ... this new file.
25101         * sysdeps/unix/sysv/linux/configure: Regenerated.
25102         * sysdeps/gnu/configure: New generated file.
25104         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
25105         for Linux: use nsec instead of usec, as well as:
25106         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
25107         members of type struct timespec.
25108         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
25109         New macros.
25110         (struct stat64): Likewise.
25111         (_STATBUF_ST_NSEC): New macro.
25112         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
25114         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25115         __strtoul_internal rather than strtoul.
25117 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25119         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
25120         and reject them.
25122 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25124         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
25125         which preserves existing values.
25126         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
25128 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25130         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
25131         TIMEOUT values.  Return EINVAL for NFDS values either negative or
25132         greater than FD_SETSIZE.
25134 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25136         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
25137         allocated, call __vm_protect to finish enabling the existing space, and
25138         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
25139         allocate the remainder.
25141 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25143         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
25144         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
25146 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25148         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
25149         sysdeps/mach/hurd/readlink.c.
25151         * posix/tst-sysconf.c (posix_options): Only use
25152         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
25153         _POSIX_SYNCHRONIZED_IO when they are defined
25154         * sysdeps/mach/hurd/bits/posix_opt.h:
25155         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
25156         (_XOPEN_REALTIME): Undefine macro.
25157         (_XOPEN_REALTIME_THREADS): Undefine macro.
25158         (_XOPEN_SHM): Undefine macro.
25159         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
25160         macro to -1.
25161         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
25162         macro to -1.
25163         (_POSIX_ASYNC_IO): Undefine macro.
25164         (_POSIX_PRIORITIZED_IO): Undefine macro.
25165         (_POSIX_SPIN_LOCKS): Define macro to -1.
25167         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
25168         SA_NODEFER, SA_RESETHAND.
25169         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
25170         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
25171         F_DUPFD_CLOEXEC.
25173 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25175         * elf/Makefile (pldd-modules): Define unconditionally.
25177 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25179         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
25181 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25183         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
25184         Return ENOENT when name is empty.
25185         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
25187 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25189         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
25191         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
25193 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25195         Fix mlock in all cases except non-readable pages.
25196         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
25197         instead of VM_PROT_ALL as parameter to __vm_wire function.
25199         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
25200         (__mkdir): When path is `/', just fail with EEXIST.
25201         * sysdeps/mach/hurd/mkdirat.c: Likewise.
25203 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25205         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
25206         <sys/uio.h> (for writev).
25207         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
25208         and <sys/param.h> (for MIN).
25210 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25212         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
25213         REQUESTED_TIME.  Properly set the remaining time and return EINTR
25214         if interrupted.
25216 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25218         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
25219         Depend on against $(link-rpcuserlibs).
25221 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25223         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
25224         (__libc_stack_end): Do not use attribute_relro.
25225         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
25226         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
25227         to libthread-provided value.
25228         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
25229         attribute_relro.
25231 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25233         [BZ #3748]
25234         * bits/libc-lock.h (__libc_once_get): New macro.
25235         * sysdeps/mach/bits/libc-lock.h: Likewise.
25236         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
25237         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
25238         instead of using implementation details.
25240         * libio/fileops.c: Unconditionally include <kernel-features.h>.
25241         * libio/freopen.c: Likewise.
25242         * libio/freopen64.c: Likewise.
25243         * misc/syslog.c: Likewise.
25244         * nscd/connections.c: Likewise.
25245         * nscd/netgroupcache.c: Likewise.
25246         * sysdeps/posix/getcwd.c: Likewise.
25248 2012-05-10  Roland McGrath  <roland@hack.frob.com>
25250         * math/w_ilogbf.c: Add #include <limits.h>.
25252 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25254         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
25255         path instead of returning without unlocking.
25257         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
25258         immediate-write ioctls.
25259         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
25261 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25263         * sysdeps/mach/hurd/i386/init-first.c (init): Use
25264         __builtin_frame_address instead of making assumptions about the
25265         location of the return address relative to DATA.  Force early load of
25266         the return address.
25267         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
25268         __builtin_frame_address.
25270         dup3 for GNU Hurd.
25271         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
25272         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
25273         implement dup3 and do some further code clean-ups.
25274         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
25275         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
25277 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25279         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
25281         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
25282         HURD_CRITICAL_END around holding _hurd_dtable_lock.
25283         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
25284         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
25285         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
25286         d->port.lock.
25288         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
25289         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
25290         when handler == SIG_ERR, not when handler != SIG_ERR.
25292 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25294         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
25295         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
25296         definitions.
25298         accept4 for GNU Hurd.
25299         * include/sys/socket.h (__libc_accept4): New prototype.
25300         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
25301         to implement __libc_accept4.
25302         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
25303         __libc_accept4.
25304         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
25306         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
25307         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
25308         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
25309         signal-defines.sym.
25311 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25313         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
25315 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25317         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
25318         assertion on O_CLOEXEC flag.
25319         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
25320         * hurd/intern-fd.c: Likewise.
25321         * hurd/port2fd.c: Likewise.
25323 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25325         [BZ #3906]
25326         * bits/in.h (IPV6_PKTINFO): Define new macro.
25327         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
25329 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25331         [BZ #13954]
25332         [BZ #13955]
25333         [BZ #13956]
25334         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
25335         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25336         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
25337         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
25338         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25339         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
25340         * math/libm-test.inc (logb_test) : Additional logb tests.
25342 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
25343             Andreas Jaeger  <aj@suse.de>
25345         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
25346         * configure: Regenerated.
25347         * config.h.in (LINK_OBSOLETE_RPC): New macro.
25348         * config.make.in (link-obsolete-rpc): New substituted variable.
25349         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
25350         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
25351         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25352         (shared-only-routines): Don't set it under [link-obsolete-rpc],
25353         so that libc.a contains the symbols.
25354         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25355         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
25356         * sunrpc/auth_none.c: Likewise.
25357         * sunrpc/auth_unix.c: Likewise.
25358         * sunrpc/authdes_prot.c: Likewise.
25359         * sunrpc/authuxprot.c: Likewise.
25360         * sunrpc/clnt_gen.c: Likewise.
25361         * sunrpc/clnt_perr.c: Likewise.
25362         * sunrpc/clnt_raw.c: Likewise.
25363         * sunrpc/clnt_simp.c: Likewise.
25364         * sunrpc/clnt_tcp.c: Likewise.
25365         * sunrpc/clnt_udp.c: Likewise.
25366         * sunrpc/clnt_unix.c: Likewise.
25367         * sunrpc/des_crypt.c: Likewise.
25368         * sunrpc/des_soft.c: Likewise.
25369         * sunrpc/get_myaddr.c: Likewise.
25370         * sunrpc/key_call.c: Likewise.
25371         * sunrpc/key_prot.c: Likewise.
25372         * sunrpc/netname.c: Likewise.
25373         * sunrpc/pm_getmaps.c: Likewise.
25374         * sunrpc/pm_getport.c: Likewise.
25375         * sunrpc/pmap_clnt.c: Likewise.
25376         * sunrpc/pmap_prot.c: Likewise.
25377         * sunrpc/pmap_prot2.c: Likewise.
25378         * sunrpc/pmap_rmt.c: Likewise.
25379         * sunrpc/publickey.c: Likewise.
25380         * sunrpc/rpc_cmsg.c: Likewise.
25381         * sunrpc/rpc_common.c: Likewise.
25382         * sunrpc/rpc_dtable.c: Likewise.
25383         * sunrpc/rpc_prot.c: Likewise.
25384         * sunrpc/rpc_thread.c: Likewise.
25385         * sunrpc/rtime.c: Likewise.
25386         * sunrpc/svc.c: Likewise.
25387         * sunrpc/svc_auth.c: Likewise.
25388         * sunrpc/svc_raw.c: Likewise.
25389         * sunrpc/svc_run.c: Likewise.
25390         * sunrpc/svc_tcp.c: Likewise.
25391         * sunrpc/svc_udp.c: Likewise.
25392         * sunrpc/svc_unix.c: Likewise.
25393         * sunrpc/svcauth_des.c: Likewise.
25394         * sunrpc/xcrypt.c: Likewise.
25395         * sunrpc/xdr.c: Likewise.
25396         * sunrpc/xdr_array.c: Likewise.
25397         * sunrpc/xdr_float.c: Likewise.
25398         * sunrpc/xdr_intXX_t.c: Likewise.
25399         * sunrpc/xdr_mem.c: Likewise.
25400         * sunrpc/xdr_rec.c: Likewise.
25401         * sunrpc/xdr_ref.c: Likewise.
25402         * sunrpc/xdr_sizeof.c: Likewise.
25403         * sunrpc/xdr_stdio.c: Likewise.
25405 2012-05-10  Roland McGrath  <roland@hack.frob.com>
25407         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
25408         change.  Update copyright years.
25410 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
25412         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
25414 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
25415             Joseph Myers  <joseph@codesourcery.com>
25416             Paul Pluzhnikov  <ppluzhnikov@google.com>
25418         [BZ #14012]
25419         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
25420         requiring rpcgen.
25421         [cross-compiling] (extra-libs): Likewise.
25422         [cross-compiling] (extra-libs-others): Likewise.
25423         [cross-compiling] (librpcsvc-routines): Likewise.
25424         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
25425         [cross-compiling] (omit-deps): Likewise.
25426         (sunrpc-CPPFLAGS): New variable.
25427         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
25428         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
25429         (cross-rpcgen-objs): New variable.
25430         (extra-objs): Append $(cross-rpcgen-objs).
25431         ($(cross-rpcgen-objs)): New rule.
25432         ($(objpfx)cross-rpcgen): Likewise.
25433         (rpcgen-cmd): Define to use $(built-program-file).  Expand
25434         comment.
25435         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
25436         ($(objpfx)x%.stmp): Likewise.
25437         * sunrpc/proto.h [IS_IN_build] (_): Define.
25438         [IS_IN_build] (_libc_intl_domainname): Likewise.
25440 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
25442         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
25443         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
25444         and R_X86_64_TPOFF64.
25446 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
25448         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
25449         sysdeps/unix/sysv/syscalls.list.
25450         (stime): Likewise.
25451         (utime): Likewise.
25452         * sysdeps/unix/sysv/syscalls.list: Remove file.
25454 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
25456         [BZ #3440]
25457         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
25458         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
25459         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
25460         (__LC_IDENTIFICATION): Make these macros useful in #if
25461         expressions, as required by C99.
25463 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
25465         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
25466         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
25467         after this.
25469 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
25471         * stdlib/longlong.h: Updated from GCC.
25473 2012-05-09  Andreas Jaeger  <aj@suse.de>
25475         * nscd/nscd.c (run_modes): Make named enum, reorder so that
25476         default is first entry.
25477         (run_mode): Set type.
25478         (main): Remove informal message about syslog.
25479         (options): Fix typo.
25481         [BZ #14053]
25482         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
25483         to asm.
25484         (lrint): Likewise.
25485         (llrintf): Likewise.
25486         (llrint): Likewise.
25487         (rint): Likewise.
25488         (rintf): Likewise.
25489         (nearbyint): Likewise.
25490         (nearbyintf): Likewise.
25492 2012-05-09  Andreas Jaeger  <aj@suse.de>
25493             Pedro Alves  <palves@redhat.com>
25495         * nscd/nscd.c (run_mode): Use enum.
25496         (main): Cleanup coding style issue.
25498 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
25499             Andreas Jaeger  <aj@suse.de>
25501         * nscd/nscd.c (go_background): Replaced with...
25502         (run_mode): ... this.
25503         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
25504         (options): Add -F --foreground.
25505         (main): Implement it.
25506         (parse_opt): Parse it.
25508 2012-05-09  Andreas Jaeger  <aj@suse.de>
25510         [BZ #14083]
25511         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
25512         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
25513         -Wconversion warning.
25514         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
25515         Likewise.
25517 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
25519         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
25520         == 0.
25521         (LC_ALL): Use macro-int-constant.
25522         (LC_COLLATE): Likewise.
25523         (LC_CTYPE): Likewise.
25524         (LC_MESSAGES): Likewise.
25525         (LC_MONETARY): Likewise.
25526         (LC_NUMERIC): Likewise.
25527         (LC_TIME): Likewise.
25528         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
25529         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25530         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25531         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
25532         Specify type.
25533         [C99-based standards] (float_t): Expect type.
25534         [C99-based standards] (double_t): Expect type.
25535         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
25536         type.
25537         [C99-based standards] (HUGE_VALL): Likewise.
25538         [C99-based standards] (INFINITY): Likewise.
25539         [C99-based standards] (NAN): Likewise.
25540         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
25541         [C99-based standards] (FP_NAN): Likewise.
25542         [C99-based standards] (FP_NORMAL): Likewise.
25543         [C99-based standards] (FP_SUBNORMAL): Likewise.
25544         [C99-based standards] (FP_ZERO): Likewise.
25545         [C99-based standards] (FP_FAST_FMA): Use
25546         optional-macro-int-constant.  Specify type.  Require == 1.
25547         [C99-based standards] (FP_FAST_FMAF): Likewise.
25548         [C99-based standards] (FP_FAST_FMAL): Likewise.
25549         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
25550         [C99-based standards] (FP_ILOGBNAN): Likewise.
25551         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
25552         Specify type.
25553         [C99-based standards] (MATH_ERREXCEPT): Likewise.
25554         [C99-based standards] (math_errhandling): Specify type.
25555         [ISO99 || ISO11] (signgam): Do not allow.
25556         [non-C99-based standards] (copysignf): Do not allow.
25557         [non-C99-based standards] (exp2f): Likewise.
25558         [non-C99-based standards] (log2f): Likewise.
25559         [non-C99-based standards] (modff): Allow.
25560         [non-C99-based standards] (erff): Do not allow.
25561         [non-C99-based standards] (erfcf): Likewise.
25562         [non-C99-based standards] (gammaf): Likewise.
25563         [non-C99-based standards] (hypotf): Likewise.
25564         [non-C99-based standards] (j0f): Likewise.
25565         [non-C99-based standards] (j1f): Likewise.
25566         [non-C99-based standards] (jnf): Likewise.
25567         [non-C99-based standards] (lgammaf): Likewise.
25568         [non-C99-based standards] (tgammaf): Likewise.
25569         [non-C99-based standards] (y0f): Likewise.
25570         [non-C99-based standards] (y1f): Likewise.
25571         [non-C99-based standards] (ynf): Likewise.
25572         [non-C99-based standards] (isnanf): Likewise.
25573         [non-C99-based standards] (acoshf): Likewise.
25574         [non-C99-based standards] (asinhf): Likewise.
25575         [non-C99-based standards] (atanhf): Likewise.
25576         [non-C99-based standards] (cbrtf): Likewise.
25577         [non-C99-based standards] (expm1f): Likewise.
25578         [non-C99-based standards] (ilogbf): Likewise.
25579         [non-C99-based standards] (log1pf): Likewise.
25580         [non-C99-based standards] (logbf): Likewise.
25581         [non-C99-based standards] (nextafterf): Likewise.
25582         [non-C99-based standards] (remainderf): Likewise.
25583         [non-C99-based standards] (rintf): Likewise.
25584         [non-C99-based standards] (scalbf): Likewise.
25585         [non-C99-based standards] (copysignl): Likewise.
25586         [non-C99-based standards] (exp2l): Likewise.
25587         [non-C99-based standards] (log2l): Likewise.
25588         [non-C99-based standards] (modfl): Allow.
25589         [non-C99-based standards] (erfl): Do not allow.
25590         [non-C99-based standards] (erfcl): Likewise.
25591         [non-C99-based standards] (gammal): Likewise.
25592         [non-C99-based standards] (hypotl): Likewise.
25593         [non-C99-based standards] (j0l): Likewise.
25594         [non-C99-based standards] (j1l): Likewise.
25595         [non-C99-based standards] (jnl): Likewise.
25596         [non-C99-based standards] (lgammal): Likewise.
25597         [non-C99-based standards] (tgammal): Likewise.
25598         [non-C99-based standards] (y0l): Likewise.
25599         [non-C99-based standards] (y1l): Likewise.
25600         [non-C99-based standards] (ynl): Likewise.
25601         [non-C99-based standards] (isnanl): Likewise.
25602         [non-C99-based standards] (acoshl): Likewise.
25603         [non-C99-based standards] (asinhl): Likewise.
25604         [non-C99-based standards] (atanhl): Likewise.
25605         [non-C99-based standards] (cbrtl): Likewise.
25606         [non-C99-based standards] (expm1l): Likewise.
25607         [non-C99-based standards] (ilogbl): Likewise.
25608         [non-C99-based standards] (log1pl): Likewise.
25609         [non-C99-based standards] (logbl): Likewise.
25610         [non-C99-based standards] (nextafterl): Likewise.
25611         [non-C99-based standards] (remainderl): Likewise.
25612         [non-C99-based standards] (rintl): Likewise.
25613         [non-C99-based standards] (scalbl): Likewise.
25614         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25615         [non-C99-based standards] (FP_*): Do not allow.
25616         [C99-based standards] (FP_*): Change to
25617         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25618         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25619         allow.
25620         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
25621         (SIG_ERR): Likewise.
25622         [X/Open-based standards] (SIG_HOLD): Likewise.
25623         (SIG_IGN): Likewise.
25624         (SIGABRT): Use macro-int-constant.  Specify type.  Require
25625         positive value.
25626         (SIGFPE): Likewise.
25627         (SIGILL): Likewise.
25628         (SIGINT): Likewise.
25629         (SIGSEGV): Likewise.
25630         (SIGTER): Likewise.
25631         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
25632         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
25633         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
25634         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
25635         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
25636         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
25637         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
25638         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
25639         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
25640         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
25641         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
25642         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
25643         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
25644         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
25645         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
25646         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
25647         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
25648         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
25649         [X/Open-based standards] (SIGTRAP): Likewise.
25650         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
25651         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
25652         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
25653         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
25654         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25655         allow.
25657 2012-05-08  Ian Wienand  <ianw@vmware.com>
25659         [BZ #14080]
25660         * time/tzset.c (__tzset_parse_tz): Update default rules for
25661         daylight time changes in the Energy Policy Act of 2005.
25663 2012-05-09  Andreas Jaeger  <aj@suse.de>
25665         [BZ #13983]
25666         * elf/ldconfig.c (parse_conf): Change string to make clear that
25667         ldconfig only issued a warning if ld.so.conf does not exist.
25669 2012-05-08  David S. Miller  <davem@davemloft.net>
25671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
25672         movxtod instead of popping the value on the stack.
25674         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25676 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
25678         * config.h.in: Add HAVE_ARM_PCS_VFP.
25680 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
25682         [BZ #13979]
25683         * include/features.h: Warn if user requests __FORTIFY_SOURCE
25684         checking but the checks are disabled for any reason.
25686 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
25688         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
25689         and ELF64_R_TYPE with ELFW(R_TYPE).
25691 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
25693         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
25694         (ulimit): Likewise.
25696         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
25697         (settimeofday): Likewise.
25699 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
25701         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
25702         a struct th_u2 inside the union, and move tu_block/tu_code into
25703         a new th_u3 union of tu_block/tu_code inside of that.  Move
25704         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
25705         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
25706         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
25707         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
25708         (th_stuff): Change to th_u1.tu_stuff.
25709         (th_data): Define.
25710         (th_msg): Change to th_u1.th_u2.tu_data.
25712 2012-05-07  David S. Miller  <davem@davemloft.net>
25714         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25716         [BZ #14074]
25717         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
25718         (SETUP_PIC_REG): Use it.
25719         (SETUP_PIC_REG_LEAF): Use it.
25721 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
25723         [BZ #13885]
25724         [BZ #13923]
25725         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25726         USE_AS_EXPM1L.
25727         (EXPL_FINITE): Likewise.
25728         (FLDLOG): Likewise.
25729         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25730         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25731         e_expl.S.
25732         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25733         USE_AS_EXPM1L.
25734         (EXPL_FINITE): Likewise.
25735         (FLDLOG): Likewise.
25736         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25737         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25738         e_expl.S.
25739         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
25740         test of -max_value argument for long double.
25741         * sysdeps/i386/fpu/libm-test-ulps: Update.
25742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25744 2012-05-06  David S. Miller  <davem@davemloft.net>
25746         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
25747         quad soft-float symbols whose references which are compiler
25748         generated.
25749         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25751 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
25753         [BZ #13884]
25754         [BZ #13914]
25755         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25756         USE_AS_EXP10L.
25757         (EXPL_FINITE): Likewise.
25758         (FLDLOG): Likewise.
25759         (c0): Likewise.
25760         (c1): Likewise.
25761         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
25762         Adjust comments for base varying.
25763         (__expl_finite): Change alias to EXPL_FINITE.
25764         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
25765         e_expl.S.
25766         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
25767         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25768         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25769         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
25770         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25771         USE_AS_EXP10L.
25772         (EXPL_FINITE): Likewise.
25773         (FLDLOG): Likewise.
25774         (c0): Likewise.
25775         (c1): Likewise.
25776         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
25777         Adjust comments for base varying.
25778         (__expl_finite): Change alias to EXPL_FINITE.
25779         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
25780         tests for bugs.
25781         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25783         [BZ #14064]
25784         * math/libm-test.inc (check_float_internal): Correct ulp
25785         calculation for subnormal expected results.
25787 2012-05-06  Andreas Jaeger  <aj@suse.de>
25789         * Makeconfig (+math-flags): New, set to -frounding-math.
25790         (+cflags): Add +math-flags so that all of glibc gets compiled with
25791         it.
25793         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25795 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
25797         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25798         Disable one test.
25800         [BZ #13787]
25801         [BZ #13922]
25802         [BZ #14036]
25803         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25804         (__ieee754_expl): Allow for and saturate large arguments.
25805         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25806         (u_threshold): Likewise.
25807         (__exp): Call __ieee754_exp before checking for overflow and
25808         underflow.
25809         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25810         (u_threshold): Likewise.
25811         (__expf): Call __ieee754_expf before checking for overflow and
25812         underflow.
25813         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25814         (u_threshold): Likewise.
25815         (__expl): Call __ieee754_expl before checking for overflow and
25816         underflow.
25817         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25818         (__ieee754_expl): Allow for and saturate large arguments.
25819         * math/libm-test.inc (exp_test): Add another test.  Do not allow
25820         missing overflow exception on overflow.
25821         (expm1_test): Do not allow missing overflow exception on overflow.
25823         * sysdeps/i386/fpu/e_expl.c: Move to ...
25824         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
25825         rather than using inline asm.
25826         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25827         * sysdeps/x86_64/fpu/e_expl.S: Copy from
25828         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25830         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25831         (nice): Likewise.
25832         (poll): Likewise.
25833         (signal): Likewise.
25834         (time): Likewise.
25835         (times): Likewise.
25837 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25839         * sysdeps/unix/syscalls.list (adjtime): Add entry from
25840         sysdeps/unix/common/syscalls.list.
25841         (fchmod): Likewise.
25842         (fchown): Likewise.
25843         (ftruncate): Likewise.
25844         (getrusage): Likewise.
25845         (gettimeofday): Likewise.
25846         (setpgid): Likewise.
25847         (setregid): Likewise.
25848         (setreuid): Likewise.
25849         (sigaction): Likewise.
25850         (truncate): Likewise.
25851         (vhangup): Likewise.
25852         * sysdeps/unix/common/syscalls.list: Remove file.
25853         * sysdeps/unix/bsd/Implies: Don't include unix/common.
25854         * sysdeps/unix/sysv/linux/Implies: Likewise.
25856 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
25858         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25859         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25860         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25861         Moved to ...
25862         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25863         Here.
25864         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25865         to ...
25866         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25867         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25868         to ...
25869         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25870         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25871         to ...
25872         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25873         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25874         to ...
25875         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25876         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25877         to ...
25878         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25879         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25880         to ...
25881         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25882         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25883         to ...
25884         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25885         Here.
25886         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25887         to ...
25888         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25889         Here.
25890         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25891         to ...
25892         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25893         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25894         Moved to ...
25895         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25896         Here.
25897         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25898         to ...
25899         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25901 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25903         * sysdeps/unix/common/bits/dirent.h: Remove file.
25904         * sysdeps/unix/common/bits/fcntl.h: Likewise.
25906         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25907         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25908         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25909         * sysdeps/unix/bsd/isatty.c: Likewise.
25910         * sysdeps/unix/bsd/tcdrain.c: Likewise.
25911         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25912         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25914 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25916         [BZ #13563]
25917         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25918         long double comparison inaccuracies.
25919         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25920         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25922 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
25924         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25925         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25927 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25929         [BZ #14049]
25930         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25931         nonzero digits before rounding a hex value.
25932         * stdlib/tst-strtod.c (tests): Add another test.
25934 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25936         * sysdeps/s390/fpu/libm-test-ulps: Update.
25938 2012-05-03  Andreas Jaeger  <aj@suse.de>
25940         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25941         does not get optimized out.
25942         (malloc_opt_barrier): New.
25944 2012-05-03  Andreas Jaeger  <aj@suse.de>
25945             Roland McGrath  <roland@hack.frob.com>
25947         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
25948         intermediate file deletion.
25949         (generated): Add .symlist files.
25951 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
25953         [BZ #13775]
25954         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25955         Redirect under this condition.
25956         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25957         [__USE_GNU] (__dprintf_chk): Not under this condition.
25958         [__USE_GNU] (__vdprintf_chk): Likewise.
25959         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25960         under this condition.
25961         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25962         [__USE_XOPEN2K8] (dprintf): Define under this condition.
25963         [__USE_XOPEN2K8] (vdprintf): Likewise.
25964         [__USE_GNU] (__dprintf_chk): Not under this condition.
25965         [__USE_GNU] (__vdprintf_chk): Likewise.
25966         [__USE_GNU] (dprintf): Likewise.
25967         [__USE_GNU] (vdprintf): Likewise.
25969 2012-05-03  Roland McGrath  <roland@hack.frob.com>
25971         * elf/Makefile (common-generated): Set this instead of generated for
25972         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
25973         $(all-built-dso)-derived lists.
25975 2012-05-03  Andreas Jaeger  <aj@suse.de>
25977         * sysdeps/i386/fpu/libm-test-ulps: Update.
25979         * FAQ: Removed.
25980         * FAQ.in: Likewise.
25981         * scripts/gen-FAQ.pl: Likewise.
25982         * manual/install.texi (Installation): Point to online location of
25983         FAQ.
25984         * Makefile (files-for-dist): Remove FAQ.
25985         (FAQ): Remove.
25987 2012-05-02  Allan McRae  <allan@archlinux.org>
25989         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25990         (LDFLAGS-reldepmod5.so): Likewise.
25991         (LDFLAGS-reldep6mod1.so): Likewise.
25992         (LDFLAGS-reldep6mod4.so): Likewise.
25993         (LDFLAGS-reldep8mod3.so): Likewise.
25994         (LDFLAGS-unload4mod1.so): Likewise.
25995         (LDFLAGS-unload4mod2.so): Likewise.
25996         (LDFLAGS-tst-initorder): Likewise.
25997         (LDFLAGS-tst-initordera2.so): Likewise.
25998         (LDFLAGS-tst-initordera3.so): Likewise.
25999         (LDFLAGS-tst-initordera4.so): Likewise.
26000         (LDFLAGS-tst-initorderb2.so): Likewise.
26001         (LDFLAGS-noload): Likewise.
26002         (LDFLAGS-next): Likewise.
26003         (LDFLAGS-order2mod1.so): Likewise.
26004         (LDFLAGS-order2mod2.so): Likewise.
26005         (LDFLAGS-tst-initorder2): Likewise.
26006         (LDFLAGS-tst-initorder2a.so): Likewise.
26007         (LDFLAGS-tst-initorder2b.so): Likewise.
26008         (LDFLAGS-tst-initorder2c.so): Likewise.
26009         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
26011 2012-05-02  David S. Miller  <davem@davemloft.net>
26013         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26015 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
26017         [BZ #14055]
26018         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
26020 2012-05-02  Andreas Jaeger  <aj@suse.de>
26022         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
26023         since we manipulate rounding mode.
26024         (CPPFLAGS-test-idouble.c): Likewise.
26025         (CPPFLAGS-test-ifloat.c): Likewise.
26026         (CFLAGS-test-ldouble.c): Likewise.
26027         (CFLAGS-test-double.c): Likewise.
26028         (CFLAGS-test-float.c): Likewise.
26029         (CFLAGS-test-misc.c): Likewise.
26030         (CFLAGS-test-test-fenv.c): Likewise.
26032 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26034         [BZ #2550]
26035         [BZ #2570]
26036         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
26037         comparisons to determine direction to adjust input.
26039 2012-05-01  Roland McGrath  <roland@hack.frob.com>
26041         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
26042         output to the target.
26044         * scripts/localplt.awk: New file.
26045         * elf/Makefile ($(objpfx)check-localplt): Target removed.
26046         (check-localplt-CFLAGS): Variable removed.
26047         ($(all-built-dso:=.jmprel)): New static pattern rule.
26048         (generated): Add those targets.
26049         (localplt-built-dso): New variable.
26050         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
26052         * elf/check-localplt.c: File removed.
26054         * scripts/check-execstack.awk: New file.
26055         * elf/Makefile ($(objpfx)check-execstack): Target removed.
26056         (check-execstack-CFLAGS): Variable removed.
26057         ($(objpfx)check-execstack.h): Target removed.
26058         ($(objpfx)execstack-default): New target.
26059         (generated): Add that instead of check-execstack.h.
26060         ($(all-built-dso:=.phdr)): New static pattern rule.
26061         (generated): Add those targets.
26062         * elf/check-execstack.c: File removed.
26064         * scripts/check-textrel.awk: New file.
26065         * elf/Makefile ($(objpfx)check-textrel): Target removed.
26066         (check-textrel-CFLAGS): Variable removed.
26067         (all-built-dso): Use := to define.o
26068         ($(all-built-dso:=.dyn)): New static pattern rule.
26069         (generated): Add those targets.
26070         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
26071         * config.make.in (READELF): New substituted variable.
26072         * elf/check-textrel.c: File removed.
26074 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
26076         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26077         allow.
26078         * conform/data/ctype.h-data [C99-based standards] (isblank):
26079         Expect function.
26080         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
26081         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
26082         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26083         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
26084         Specify type.  Require positive value.
26085         (EILSEQ): Likewise.
26086         (ERANGE): Likewise.
26087         [ISO || POSIX] (EILSEQ): Do not expect.
26088         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
26089         Specify type.  Require positive value.
26090         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
26091         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
26092         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
26093         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
26094         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
26095         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
26096         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
26097         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
26098         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
26099         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
26100         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
26101         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
26102         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
26103         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
26104         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
26105         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
26106         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
26107         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
26108         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
26109         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
26110         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
26111         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
26112         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
26113         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
26114         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
26115         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
26116         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
26117         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
26118         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
26119         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
26120         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
26121         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
26122         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
26123         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
26124         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
26125         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
26126         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
26127         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
26128         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
26129         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
26130         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
26131         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
26132         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
26133         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
26134         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
26135         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
26136         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
26137         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
26138         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
26139         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
26140         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
26141         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
26142         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
26143         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
26144         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
26145         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
26146         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
26147         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
26148         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
26149         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
26150         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
26151         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
26152         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
26153         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
26154         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
26155         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
26156         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
26157         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
26158         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
26159         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
26160         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
26161         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
26162         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
26163         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
26164         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
26165         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
26166         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
26167         Require >= 2.
26168         (FLT_ROUNDS): Expect as macro, not constant.
26169         (FLT_MANT_DIG): Use macro-int-constant.
26170         (DBL_MANT_DIG): Likewise.
26171         (LDBL_MANT_DIG): Likewise.
26172         (FLT_DIG): Likewise.
26173         (DBL_DIG): Likewise.
26174         (LDBL_DIG): Likewise.
26175         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
26176         (DBL_MIN_EXP): Likewise.
26177         (LDBL_MIN_EXP): Likewise.
26178         (FLT_MAX_EXP): Use macro-int-constant.
26179         (DBL_MAX_EXP): Likewise.
26180         (LDBL_MAX_EXP): Likewise.
26181         (FLT_MAX_10_EXP): Likewise.
26182         (DBL_MAX_10_EXP): Likewise.
26183         (LDBL_MAX_10_EXP): Likewise.
26184         (FLT_MAX): Use macro-constant.
26185         (DBL_MAX): Likewise.
26186         (LDBL_MAX): Likewise.
26187         (FLT_EPSILON): Use macro-constant.  Give upper bound.
26188         (DBL_EPSILON): Likewise.
26189         (LDBL_EPSILON): Likewise.
26190         (FLT_MIN): Likewise.
26191         (DBL_MIN): Likewise.
26192         (LDBL_MIN): Likewise.
26193         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
26194         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
26195         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
26196         [ISO11] (FLT_HAS_SUBNORM): Likewise.
26197         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
26198         [ISO11] (DBL_DECIMAL_DIG): Likewise.
26199         [ISO11] (FLT_DECIMAL_DIG): Likewise.
26200         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
26201         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
26202         [ISO11] (FLT_TRUE_MIN): Likewise.
26203         [ISO11] (LDBL_TRUE_MIN): Likewise.
26204         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26205         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
26206         (SCHAR_MIN): Use macro-int-constant.  Specify type.
26207         (SCHAR_MAX): Likewise.
26208         (UCHAR_MAX): Likewise.
26209         (CHAR_MIN): Likewise.
26210         (CHAR_MAX): Likewise.
26211         (MB_LEN_MAX): Use macro-int-constant.
26212         (SHRT_MIN): Use macro-int-constant.  Specify type.
26213         (SHRT_MAX): Likewise.
26214         (USHRT_MAX): Likewise.
26215         (INT_MAX): Likewise.
26216         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
26217         bound negative.
26218         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
26219         bound with "U".
26220         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
26221         bound with "L".
26222         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
26223         bound negative.  Suffix upper bound with "L".
26224         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
26225         bound with "UL".
26226         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
26227         Specify type.
26228         [C99-based standards] (LLONG_MAX): Likewise.
26229         [C99-based standards] (ULLONG_MAX): Likewise.
26230         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
26231         == 0.
26232         [ISO11] (max_align_t): Require type.
26233         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26235         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
26236         from $CFLAGS, without defining away __attribute__ calls.
26237         (checknamespace): Use $CFLAGS_namespace.
26239         * conform/conformtest.pl (@keywords): Only include C99 keywords
26240         for standards based on C99 or C11.
26242         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
26243         Disable tests.
26244         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
26245         UNIX98]: Likewise.
26247         * conform/conformtest.pl: Handle "macro-int-constant" and test for
26248         usability of symbols in #if.
26250         * conform/conformtest.pl: If macro or constant types start
26251         "promoted:", expect the symbol to be of the following type
26252         promoted by the integer promotions.
26254         * conform/conformtest.pl: Parse all "constant" and "macro" lines
26255         in one place.  Also handle "macro-constant".
26257         * conform/conformtest.pl: Only accept expected macro values with
26258         "==".  Parse all "macro" lines in one place.
26259         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
26261         * conform/conformtest.pl: Handle braced types on "constant" lines
26262         instead of handling "typed-constant".
26263         * conform/data/signal.h-data: Use "constant" instead of
26264         "typed-constant".
26266         * conform/conformtest.pl: Handle "optional-" at start of lines in
26267         one place rather than duplicating several cases.  Handle each
26268         format of "macro" line with initial "optional-".
26270         * conform/conformtest.pl: Only accept expected constant or
26271         optional-constant values with "==".  Parse all "constant" lines in
26272         one place.  Parse all "optional-constant" lines in one place.
26273         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
26274         * conform/data/fmtmsg.h-data: Likewise.
26275         * conform/data/netinet/in.h-data: Likewise.
26276         * conform/data/tar.h-data: Likewise.
26277         * conform/data/limits.h-data: Use "==" form on "constant" and
26278         "optional-constant" lines.
26280         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
26281         Use -std=c99 for XOPEN2K.
26282         (@knownproblems): Remove.
26283         (newtoken): Don't check %isknown.
26285         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
26286         Do not expect macro.
26287         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
26288         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
26289         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
26290         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
26291         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
26292         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
26293         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
26294         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
26295         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
26296         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
26297         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
26298         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
26299         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
26300         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
26301         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
26302         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
26303         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
26304         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
26305         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
26306         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
26307         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
26308         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
26309         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
26310         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
26311         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
26312         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
26313         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
26314         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
26315         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
26316         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
26317         [XPG3] (acosh): Likewise.
26318         [XPG3] (asinh): Likewise.
26319         [XPG3] (atanh): Likewise.
26320         [XPG3] (cbrt): Likewise.
26321         [XPG3] (expm1): Likewise.
26322         [XPG3] (ilogb): Likewise.
26323         [XPG3] (log1p): Likewise.
26324         [XPG3] (logb): Likewise.
26325         [XPG3] (nextafter): Likewise.
26326         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
26327         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
26328         [XPG3] (remainder): Likewise.
26329         [XPG3] (rint): Likewise.
26330         [XPG3 || XPG4 || UNIX98] (round): Likewise.
26331         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
26332         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
26333         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
26334         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
26335         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
26336         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
26337         [UNIX98 || XOPEN2K] (scalb): Expect.
26338         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
26339         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
26340         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
26341         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
26342         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
26343         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
26344         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
26345         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
26346         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
26347         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
26348         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
26349         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
26350         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
26351         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
26352         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
26353         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
26354         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
26355         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
26356         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
26357         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
26358         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
26359         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
26360         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
26361         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
26362         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
26363         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
26364         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
26365         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
26366         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
26367         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
26368         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
26369         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
26370         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
26371         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
26372         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
26373         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
26374         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
26375         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
26376         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
26377         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
26378         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
26379         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
26380         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
26381         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
26382         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
26383         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
26384         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
26385         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
26386         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
26387         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
26388         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
26389         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
26390         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
26391         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
26392         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
26393         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
26394         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
26395         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
26396         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
26397         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
26398         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
26399         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
26400         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
26401         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
26402         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
26403         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
26404         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
26405         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
26406         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
26407         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
26408         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
26409         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
26410         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
26411         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
26412         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
26413         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
26414         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
26415         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
26416         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
26417         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
26418         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
26419         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
26420         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
26421         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
26422         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
26423         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
26424         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
26425         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
26426         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
26427         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
26428         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
26429         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
26430         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
26431         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
26432         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
26433         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
26434         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
26435         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
26436         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
26437         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
26438         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
26439         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
26440         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
26441         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
26442         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
26443         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
26444         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
26445         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
26446         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
26447         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
26448         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
26449         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
26450         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
26451         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
26452         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
26453         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
26454         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
26455         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
26456         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
26457         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
26458         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
26459         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
26460         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
26461         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
26462         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
26463         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
26464         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
26465         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
26466         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
26467         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
26468         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
26469         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
26470         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
26471         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
26472         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
26473         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
26474         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
26476         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
26477         _XOPEN_SOURCE_EXTENDED for XPG4.
26479         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
26481         * Makeconfig (localtime): Remove variable.
26482         (inst_localtime-file): Likewise.
26484 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
26486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
26487         Update.
26488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26489         Update.
26490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
26491         Update.
26492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26493         Update.
26494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
26495         Update.
26496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
26497         Update.
26498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26499         Update.
26500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
26501         Update.
26502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26503         Update.
26505 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
26507         [BZ #2550]
26508         [BZ #2570]
26509         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
26510         comparisons to determine direction to adjust input.
26511         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26512         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
26513         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
26514         Likewise.
26515         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
26516         Likewise.
26517         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26518         Likewise.
26519         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
26520         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26521         Likewise.
26522         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26523         Likewise.
26524         * math/libm-test.inc (nexttoward_test): Add more tests.
26526 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
26528         [BZ #14040]
26529         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
26530         in version GLIBC_2.1, not GLIBC_2.0.
26531         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
26532         Likewise.
26534 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
26536         [BZ #13942]
26537         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
26538         (1 - x) * (1 + x).
26539         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26540         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
26541         * math/libm-test.inc (acos_test): Add more tests.
26542         (asin_test): Likewise.
26543         * sysdeps/i386/fpu/libm-test-ulps: Update.
26544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26546         [BZ #14034]
26547         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
26548         of square root.
26549         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
26550         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26551         * math/libm-test.inc (acos_test_tonearest): New function.
26552         (acos_test_towardzero): Likewise.
26553         (acos_test_downward): Likewise.
26554         (acos_test_upward): Likewise.
26555         (asin_test_tonearest): Likewise.
26556         (asin_test_towardzero): Likewise.
26557         (asin_test_downward): Likewise.
26558         (asin_test_upward): Likewise.
26559         (main): Call the new functions.
26560         * sysdeps/i386/fpu/libm-test-ulps: Update.
26561         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26563         [BZ #13884]
26564         [BZ #13924]
26565         * math/e_exp10.c: Include <float.h>.
26566         (__ieee754_exp10): Handle underflow here rather than multiplying
26567         large negative argument by M_LN10.
26568         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
26569         of __ieee754_expf.
26570         * math/e_exp10l.c: Include <float.h>.
26571         (__ieee754_exp10l): Handle underflow here rather than multiplying
26572         large negative argument by M_LN10l.
26573         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
26574         spurious overflow exception on underflow.
26576 2012-04-29  Marek Polacek  <polacek@redhat.com>
26578         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
26579         (__fortify_function): New macro.
26580         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
26581         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
26582         __extern_always_inline.
26583         * libio/bits/stdio2.h: Likewise.
26584         * libio/bits/stdio.h: Likewise.
26585         * string/string.h: Likewise.
26586         * string/bits/string3.h: Likewise.
26587         * include/stdio.h: Likewise.
26588         * stdlib/bits/stdlib.h: Likewise.
26589         * stdlib/stdlib.h: Likewise.
26590         * rt/bits/mqueue2.h: Likewise.
26591         * rt/mqueue.h: Likewise.
26592         * posix/bits/unistd.h: Likewise.
26593         * posix/unistd.h: Likewise.
26594         * io/bits/poll2.h: Likewise.
26595         * io/bits/fcntl2.h: Likewise.
26596         * io/fcntl.h: Likewise.
26597         * io/sys/poll.h: Likewise.
26598         * misc/bits/syslog.h: Likewise.
26599         * misc/bits/syslog-ldbl.h: Likewise.
26600         * misc/sys/syslog.h: Likewise.
26601         * socket/bits/socket2.h: Likewise.
26602         * socket/sys/socket.h: Likewise.
26603         * debug/tst-chk1.c: Likewise.
26604         * wcsmbs/bits/wchar2.h: Likewise.
26605         * wcsmbs/bits/wchar-ldbl.h: Likewise.
26606         * wcsmbs/wchar.h: Likewise.
26608 2012-04-29  Andreas Jaeger  <aj@suse.de>
26610         * Makerules (tests): Remove enable-check-abi protection.
26611         (check-abi-warn): Remove.
26612         (check-abi-%): Remove check-abi-warn usage.
26614         * configure.in: Remove check-abi configure option.
26615         * configure: Regenerated.
26616         * config.make.in (enable-check-abi): Remove.
26618 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
26620         [BZ #14033]
26621         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
26622         double functions to double *_finite functions.
26624         [BZ #13941]
26625         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
26626         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
26627         LDBL_MIN_EXP.
26628         * stdio-common/Makefile (tests): Add tst-sprintf3.
26629         * stdio-common/tst-sprintf3.c: New file.
26631         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
26632         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
26634 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
26636         * conform/conformtest.pl: Remove duplicate typed-constant
26637         handling.
26639 2012-04-28  David S. Miller  <davem@davemloft.net>
26641         * Makerules (%.abilist): Add vpath on sysdep_dirs.
26642         (check-abi-%): Remove AWK script prerequisite and explicit
26643         abilist directory.
26644         (check-abi): Rewrite to just diff the symlist with the abilist.
26645         (config-tls, config-abi-config): Delete, no longer used.
26646         (update-abi-%): Remove AWK script and explicit abilist directory.
26647         (update-abi): Rewrite to simply compare and conditionally copy the
26648         symlist and the sysdep abilist file.  Remove update-abi-config
26649         checks.
26650         * abilist/ld.abilist: Remove.
26651         * abilist/libBrokenLocale.abilist: Remove.
26652         * abilist/libanl.abilist: Remove.
26653         * abilist/libcrypt.abilist: Remove.
26654         * abilist/libdl.abilist: Remove.
26655         * abilist/librt.abilist: Remove.
26656         * abilist/libthread_db.abilist: Remove.
26657         * abilist/libutil.abilist: Remove.
26658         * scripts/extract-abilist.awk: Remove.
26659         * scripts/merge-abilist.awk: Remove.
26660         * sysdeps/generic/libcidn.abilist: New file.
26661         * sysdeps/generic/libnss_compat.abilist: New file.
26662         * sysdeps/generic/libnss_db.abilist: New file.
26663         * sysdeps/generic/libnss_dns.abilist: New file.
26664         * sysdeps/generic/libnss_files.abilist: New file.
26665         * sysdeps/generic/libnss_hesiod.abilist: New file.
26666         * sysdeps/generic/libnss_nis.abilist: New file.
26667         * sysdeps/generic/libnss_nisplus.abilist: New file.
26668         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
26669         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
26670         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
26671         file.
26672         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
26673         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
26674         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
26675         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
26676         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
26677         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
26678         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
26679         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
26680         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
26681         file.
26682         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
26683         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
26684         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
26685         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
26686         file.
26687         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
26688         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
26689         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
26690         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
26691         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
26692         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
26693         file.
26694         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
26695         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
26696         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
26697         file.
26698         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
26699         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
26700         New file.
26701         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
26702         New file.
26703         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
26704         New file.
26705         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
26706         New file.
26707         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
26708         New file.
26709         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
26710         New file.
26711         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
26712         New file.
26713         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
26714         New file.
26715         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
26716         New file.
26717         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
26718         New file.
26719         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
26720         New file.
26721         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
26722         New file.
26723         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
26724         New file.
26725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
26726         file.
26727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26728         New file.
26729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26730         New file.
26731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
26732         file.
26733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26734         New file.
26735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26736         New file.
26737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
26738         file.
26739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26740         New file.
26741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26742         New file.
26743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26744         New file.
26745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26746         New file.
26747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26748         New file.
26749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26750         New file.
26751         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
26752         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
26753         file.
26754         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26755         New file.
26756         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
26757         file.
26758         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
26759         file.
26760         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
26761         file.
26762         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
26763         file.
26764         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
26765         file.
26766         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26767         New file.
26768         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
26769         file.
26770         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
26771         file.
26772         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26773         New file.
26774         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26775         file.
26776         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26777         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26778         file.
26779         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26780         New file.
26781         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26782         file.
26783         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26784         file.
26785         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26786         file.
26787         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26788         file.
26789         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26790         file.
26791         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26792         New file.
26793         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26794         file.
26795         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26796         file.
26797         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26798         New file.
26799         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26800         file.
26801         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26802         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26803         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26804         file.
26805         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26806         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26807         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26808         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26809         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26810         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26811         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26812         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26813         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26814         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26815         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26816         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26817         file.
26818         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26819         New file.
26820         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26821         file.
26822         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26823         file.
26824         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26825         file.
26826         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26827         file.
26828         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26829         file.
26830         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26831         New file.
26832         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26833         New file.
26834         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26835         file.
26836         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26837         New file.
26838         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26839         file.
26840         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26841         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26842         file.
26843         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26844         New file.
26845         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26846         file.
26847         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26848         file.
26849         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26850         file.
26851         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26852         file.
26853         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26854         file.
26855         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26856         New file.
26857         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26858         New file.
26859         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26860         file.
26861         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26862         New file.
26863         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26864         file.
26866 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
26868         * conform/conformtest.pl: Fix typo in handling typed-constant from
26869         allow-header.
26871 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
26873         * README: Cut down references to pre-2.6 Linux kernels and
26874         Linuxthreads.  Update lists of configurations in libc and ports
26875         and sort alphabetically.  Say "or newer" with Linux kernel version
26876         requirements.
26878         * config.h.in [IS_IN_build]: Allow compiling without optimization.
26880 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26882         [BZ #887]
26883         * math/libm-test.inc (logb_test_downward): New test to expose
26884         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26885         rounding mode.
26887 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
26889         [BZ #14027]
26890         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26891         to be done.
26892         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26893         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26895 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
26897         * sysdeps/unix/i386/brk.S: Remove file.
26898         * sysdeps/unix/i386/dl-brk.S: Likewise.
26899         * sysdeps/unix/i386/pipe.S: Likewise.
26900         * sysdeps/unix/i386/sigreturn.S: Likewise.
26901         * sysdeps/unix/i386/syscall.S: Likewise.
26902         * sysdeps/unix/i386/vfork.S: Likewise.
26903         * sysdeps/unix/i386/wait.S: Likewise.
26905         * sysdeps/unix/common/tcsendbrk.c: Move to ...
26906         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26908         * configure.in (arm*-none*): Do not allow without
26909         --enable-hacker-mode.
26910         (netbsd*): Remove case setting base_os.
26911         (386bsd*): Likewise.
26912         (freebsd*): Likewise.
26913         (bsdi*): Likewise.
26914         (osf*): Likewise.
26915         (sunos*): Likewise.
26916         (ultrix*): Likewise.
26917         (newsos*): Likewise.
26918         (dynix*): Likewise.
26919         (*bsd*): Likewise.
26920         (sysv*): Likewise.
26921         (isc*): Likewise.
26922         (esix*): Likewise.
26923         (sco*): Likewise.
26924         (minix*): Likewise.
26925         (irix4*): Likewise.
26926         (irix6*): Likewise.
26927         (solaris[2-9]*): Likewise.
26928         (none): Likewise.
26929         * configure: Regenerated.
26931 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26933         [BZ #11521]
26934         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26935         overflow or cancellation in calculating denominator.
26936         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26937         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26938         down expression to avoid unexpected rounding in newer GCCs.
26939         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26941 2012-04-26  David S. Miller  <davem@davemloft.net>
26943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26944         long-double compat symbols.
26945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26950         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26951         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26952         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26953         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26954         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26955         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26956         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26957         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26959 2012-04-25  David S. Miller  <davem@davemloft.net>
26961         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26962         HWCAP_* values only after the memory barriers have been defined.
26963         (atomic_full_barrier): Define.
26964         (atomic_read_barrier): Define.
26965         (atomic_write_barrier): Define.
26967 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26969         * shlib-versions: Add libgcc_s version information.
26970         * sysdeps/generic/libgcc_s.h: Remove.
26971         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26972         libgcc_s.h.
26973         * sysdeps/gnu/unwind-resume.c: Likewise.
26974         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26976 2012-04-25  David S. Miller  <davem@davemloft.net>
26978         * sysdeps/unix/sparc/brk.S: Delete.
26979         * sysdeps/unix/sparc/dl-brk.S: Delete.
26980         * sysdeps/unix/sparc/pipe.S: Delete.
26981         * sysdeps/unix/sparc/sysdep.S: Delete.
26982         * sysdeps/unix/sparc/sysdep.h: Delete.
26983         * sysdeps/unix/sparc/vfork.S: Delete.
26984         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26985         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26986         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26987         ret_ERRVAL, r0, r1, MOVE): Define.
26988         (JUMPTARGET): Remove.
26989         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26990         sysdeps/unix/sparc/sysdep.h
26991         (ENTRY, END): Remove.
26992         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26994 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
26996         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26997         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26998         -DIS_IN_build.
27000         * timezone/README: Update upstream location and email address for
27001         tzcode and tzdata.
27002         * timezone/zdump.c: Update from tzcode 2012b.
27003         * timezone/zic.c: Likewise.
27005         * configure.in (libc_cv_as_needed): Remove test.
27006         * configure: Regenerated.
27007         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
27008         conditional definition.
27009         [$(have-as-needed) != yes] (no-as-needed): Likewise.
27010         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
27011         * config.make.in (have-as-needed): Remove variable.
27013 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27014             Paul Pluzhnikov  <ppluzhnikov@google.com>
27016         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
27017         strings correctly.
27019 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
27021         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
27022         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
27023         * sysdeps/sh/strlen.S: Likewise.
27025 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
27027         * sysdeps/unix/fork.S: Remove file.
27028         * sysdeps/unix/i386/fork.S: Likewise.
27029         * sysdeps/unix/sparc/fork.S: Likewise.
27031         * sysdeps/unix/system.c: Remove file.
27032         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
27034         * sysdeps/unix/getegid.S: Remove file.
27035         * sysdeps/unix/geteuid.S: Likewise.
27037 2012-04-24  Roland McGrath  <roland@hack.frob.com>
27039         * scripts/check-localplt.awk: New file.
27040         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
27041         of diff.
27042         * scripts/data/localplt-generic.data: Add a comment.
27044         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
27045         NODE when __dir_mkfile failed.
27046         * sysdeps/mach/hurd/symlinkat.c: Likewise.
27047         Reported by Ludovic Courtès <ludo@gnu.org>.
27049 2012-04-24  Andreas Jaeger  <aj@suse.de>
27051         * Makerules (common-clean): Also remove gen-as-const-headers
27052         files.
27054 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
27056         * Makerules (native-compile): Do not change working directory for
27057         build.  Use $(OUTPUT_OPTION) in command.
27058         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
27060 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27062         [BZ #13886]
27063         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
27064         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
27065         * math/libm-test.inc (floor_test): Add more tests.
27066         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
27068 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
27070         * sysdeps/unix/getdents.c: Remove file.
27071         * sysdeps/unix/sysv/getdents.c: Likewise.
27072         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
27074         * sysdeps/unix/syscalls.list (madvise): Add syscall from
27075         sysdeps/unix/mman/syscalls.list.
27076         (mmap): Likewise.
27077         (mprotect): Likewise.
27078         (msync): Likewise.
27079         (munmap): Likewise.
27080         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
27081         * sysdeps/unix/mman/syscalls.list: Remove.
27082         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
27084         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
27085         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
27086         * configure: Regenerated.
27087         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
27088         $(libgcc_s_suffix).
27089         * config.make.in (libgcc_s_suffix): Remove variable.
27091 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
27093         * sysdeps/unix/sysv/gethostname.c: Move to ...
27094         * sysdeps/posix/gethostname.c: ... here.
27096         * sysdeps/unix/execve.S: Remove file.
27098         * sysdeps/unix/_exit.S: Remove file.
27100 2012-04-23  Andreas Jaeger  <aj@suse.de>
27102         [BZ #13739]
27103         * manual/Makefile: Remove make dist support, there's no
27104         need for a stand-alone documentation tar ball.
27105         (TEXI2DVI): Define always, it's not in Makeconfig.
27106         (dist): Removed.
27107         (tar-it): Removed.
27108         (edition): Removed.
27109         (glibc-doc-$(edition).tar): Removed
27110         (%.Z): Removed.
27111         (%.gz): Removed.
27112         (%.uu): Removed.
27113         (ETAGS): Remove, it's in Makeconfig.
27114         (move-if-change): Remove, it's in Makeconfig.
27116 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
27118         [BZ #13970]
27119         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
27120         (strtod, strtof, strtold, strtol, strtoul, strtoq)
27121         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
27122         (strtod_l, strtof_l, strtold_l): Remove __wur.
27123         It is not necessarily an error to ignore strtol's return value.
27124         One can reliably look at the stored endptr to decide whether
27125         the number had valid syntax.
27127 2012-04-21  Andreas Jaeger  <aj@suse.de>
27129         [BZ #13739]
27130         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
27132 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
27134         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
27135         * sysdeps/unix/sysv/Versions: Remove file.
27137 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
27139         [BZ #13927]
27140         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27142 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
27144         [BZ #7064]
27145         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
27146         version from __vm86.
27148 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
27150         * sysdeps/unix/common/lxstat.c: Remove file.
27151         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
27153         * sysdeps/unix/sysv/Makefile: Remove file.
27155         * sysdeps/unix/sysv/direct.h: Remove file.
27157         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
27158         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
27159         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
27160         * sysdeps/unix/sysv/bits/signum.h: Likewise.
27161         * sysdeps/unix/sysv/bits/stat.h: Likewise.
27162         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
27163         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
27165         * sysdeps/unix/sysv/setrlimit.c: Remove file.
27167         * sysdeps/unix/xmknod.c: Remove file.
27168         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
27170         * sysdeps/unix/sysv/settimeofday.c: Remove file.
27172         * sysdeps/unix/sysv/i386/time.S: Remove file.
27174         * sysdeps/unix/fxstat.c: Remove file.
27175         * sysdeps/unix/xstat.c: Likewise.
27176         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
27178         * sysdeps/unix/sysv/sigaction.c: Remove file.
27180         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
27181         (sysdep_headers): Remove variable.
27182         [termio.h not in sysdep_headers] (generated): Likewise.
27183         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
27184         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
27185         * sysdeps/unix/sysv/tcdrain.c: Likewise.
27186         * sysdeps/unix/sysv/tcflow.c: Likewise.
27187         * sysdeps/unix/sysv/tcflush.c: Likewise.
27188         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
27189         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
27190         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
27191         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
27192         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
27194         * sysdeps/unix/siglist.c: Remove file.
27196         * sysdeps/unix/getppid.S: Remove file.
27198         * sysdeps/unix/mkdir.c: Remove file.
27199         * sysdeps/unix/rmdir.c: Likewise.
27201 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
27203         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
27204         ERR_MAX value.
27205         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
27206         errlist-compat value.
27208 2012-04-18  David S. Miller  <davem@davemloft.net>
27210         * sysdeps/generic/memcopy.h (reg_char): Delete.
27211         * debug/strcat_chk.c: Use char, not reg_char.
27212         * debug/strcpy_chk.c: Likewise.
27213         * debug/strncat_chk.c: Likewise.
27214         * debug/strncpy_chk.c: Likewise.
27215         * string/memchr.c: Likewise.
27216         * string/memrchr.c: Likewise.
27217         * string/rawmemchr.c: Likewise.
27218         * string/strcat.c: Likewise.
27219         * string/strchr.c: Likewise.
27220         * string/strchrnul.c: Likewise.
27221         * string/strcmp.c: Likewise.
27222         * string/strcpy.c: Likewise.
27223         * string/strncat.c: Likewise.
27224         * string/strncmp.c: Likewise.
27225         * string/strncpy.c: Likewise.
27227 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
27229         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
27230         __builtin_memcopy is called when src and dest ranges are known to not
27231         overlap.
27233 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
27235         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
27236         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
27237         fwd_align_merge macro call.
27238         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
27239         bwd_align_merge macro call.
27240         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27242 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
27244         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
27245         bwd_align_merge macros.
27246         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
27247         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
27248         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27250 2012-04-18  David S. Miller  <davem@davemloft.net>
27252         * sysdeps/sparc/sparc64/memcopy.h: Delete.
27254 2012-04-18  Andreas Jaeger  <aj@suse.de>
27256         [BZ# 6794]
27257         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
27258         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
27259         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27261         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
27262         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
27263         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27265         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
27266         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
27267         Adjust for changed ldbl-128 files.
27269         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
27270         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
27271         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27273 2012-04-17  David S. Miller  <davem@davemloft.net>
27275         * sysdeps/sparc/sparc32/memcopy.h: Delete.
27277 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
27279         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
27280         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
27281         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
27282         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
27283         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27284         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
27286 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27288         [BZ #6794]
27289         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
27290         * math/libm-test.inc: Add ilogb errno and exception tests.
27291         * math/w_ilogb.c: New file: ilogb wrapper.
27292         * math/w_ilogbf.c: New file: ilogbf wrapper.
27293         * math/w_ilogbl.c: New file: ilogbl wrapper.
27294         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
27295         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
27296         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
27297         exception being thrown with 0.0 as argument.
27298         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
27299         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
27300         exception being thrown with 0.0 as argument.
27301         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
27302         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27303         exception being thrown with 0.0 as argument.
27304         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
27305         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27306         exception being thrown with 0.0 as argument.
27307         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
27308         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
27309         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
27310         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
27311         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
27312         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
27313         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
27314         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
27315         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
27317 2012-04-17  Petr Baudis  <pasky@ucw.cz>
27319         * include/sys/uio.h: Change __vector to __iovec to avoid clash
27320         with altivec.
27322 2012-04-16  Marek Polacek  <polacek@redhat.com>
27324         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
27326 2012-04-16  Marek Polacek  <polacek@redhat.com>
27328         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
27329         operands of fdivp instruction.
27331 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
27333         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
27334         * elf/tst-auditmod3b.c: Likewise.
27335         * elf/tst-auditmod4b.c: Likewise.
27336         * elf/tst-auditmod5b.c: Likewise.
27337         * elf/tst-auditmod6b.c: Likewise.
27338         * elf/tst-auditmod6c.c: Likewise.
27339         * elf/tst-auditmod7b.c: Likewise.
27340         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
27341         * sysdeps/x86_64/preconfigure.in: Likewise.
27342         * sysdeps/x86_64/preconfigure: Regenerated.
27344 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
27346         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
27347         __ILP32__.
27349 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
27351         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27352         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
27354 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
27356         [BZ #13973]
27357         * locale/iso-639.def: Fix gl language name. Spotted by
27358         Yaron Shahrabani.
27360 2012-04-12  Roland McGrath  <roland@hack.frob.com>
27362         [BZ #2074]
27363         * libio/libio.h (__io_write_fn): Update comment.
27365 2012-04-12  Petr Baudis  <pasky@ucw.cz>
27367         [BZ #2074]
27368         * stdio.texi (Hook Functions): The user provided writer function
27369         is not allowed to return -1.
27371 2012-04-11  David S. Miller  <davem@davemloft.net>
27373         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27375 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
27377         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
27378         Add a leading slash to rtkaio.
27380 2012-04-11  Jim Meyering  <meyering@redhat.com>
27382         [BZ #11959]
27383         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
27384         It is not necessarily an error to ignore fwrite's return
27385         value.  One can reliably use ferror to test for errors after
27386         the fact.
27388 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
27390         * bits/types.h (__snseconds_t): New type.
27391         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
27393         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
27394         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27395         (__SNSECONDS_T_TYPE): Likewise.
27396         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27397         (__SNSECONDS_T_TYPE): Likewise.
27398         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27399         (__SNSECONDS_T_TYPE): Likewise.
27401 2012-04-10  Andreas Jaeger  <aj@suse.de>
27403         [BZ #2636]
27404         * manual/time.texi (Processor Time): Return type of times is
27405         elapsed real time since an arbitrary point in the past.
27406         (CPU Time): Move CLK_TCK from here...
27407         (Processor Time): ...to here.  Correct description.
27408         * manual/conf.texi (Constants for Sysconf): Correct description of
27409         _SC_CLK_TCK.
27411 2012-04-10  David S. Miller  <davem@davemloft.net>
27413         [BZ #13967]
27414         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
27415         where the is a gap between DT_REL(A) and DT_JMPREL.
27417 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
27419         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
27420         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27421         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27423 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27425         * elf/dl-support.c (_dl_inhibit_cache): New variable.
27426         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
27427         (dl_main): Handle --inhibit-cache.
27428         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
27429         _dl_inhibit_cache.
27430         * elf/dl-load.c (_dl_map_object): Use it.
27431         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
27433 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
27435         [BZ #13872]
27436         * sysdeps/i386/fpu/e_powl.S (p78): New object.
27437         (__ieee754_powl): Saturate large exponents rather than testing for
27438         overflow of y*log2(x).
27439         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27440         * math/libm-test.inc (pow_test): Do not permit spurious overflow
27441         exceptions.
27443         [BZ #11521]
27444         * math/s_ctan.c: Include <float.h>.
27445         (__ctan): Avoid internal overflow or cancellation in calculating
27446         denominator.
27447         * math/s_ctanf.c: Likewise.
27448         * math/s_ctanl.c: Likewise.
27449         * math/s_ctanh.c: Likewise.
27450         * math/s_ctanhf.c: Likewise.
27451         * math/s_ctanhl.c: Likewise.
27452         * math/libm-test.inc (ctan_test): Add more tests.
27453         (ctanh_test): Likewise.
27454         * sysdeps/i386/fpu/libm-test-ulps: Update.
27455         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27457 2012-04-09  Andreas Jaeger  <aj@suse.de>
27459         [BZ #6894]
27460         * manual/filesys.texi (Directory Entries): Mention that d_namlen
27461         is an optional BSD extension.
27463         [BZ #10254]
27464         * manual/stdio.texi (Opening Streams): Document additional fopen
27465         parameters.
27467 2012-04-09  Roland McGrath  <roland@hack.frob.com>
27469         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
27470         %eax without telling the compiler.
27472 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
27474         [BZ # 13963]
27475         * manual/install.texi: Use sourceware.org.
27477 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
27479         [BZ #13873]
27480         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
27481         (__ieee754_pow): Generate overflow and underflow using huge*huge
27482         and tiny*tiny rather than just returning constant infinity or zero
27483         for large exponents.
27484         * math/libm-test.inc (pow_test): Require overflow exceptions for
27485         applicable cases of large exponents.
27487         [BZ #706]
27488         * sysdeps/i386/fpu/e_pow.S (p10): New object.
27489         (__ieee754_pow): Use iterative multiplication algorithm only for
27490         integer exponents with absolute value below 1024.  Check for odd
27491         integer exponents when using algorithm for real exponents.
27492         * math/libm-test.inc (pow_test): Add more tests.
27493         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27495 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
27497         [BZ #13705]
27498         * math/libm-test.inc (exp_test): Do not allow overflow exception
27499         on underflow test.
27501 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
27503         [BZ #13705]
27504         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
27505         instead of __kernel_standard_f.
27507 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
27509         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
27510         * sysdeps/x86_64/memset_chk.S: Likewise.
27512 2012-04-08  Andreas Jaeger  <aj@suse.de>
27514         [BZ #10153]
27515         * manual/startup.texi (Environment Access): Describe return value
27516         for putenv and setenv.
27518         [BZ #6895]
27519         * manual/filesys.texi (Directory Entries): Add description for
27520         DT_LNK.
27522         [BZ #6890]
27523         * manual/filesys.texi (Directory Entries): Clarify that it's file
27524         system not operating system in the description of DT_UNKNOWN.
27526         [BZ #6578]
27527         * manual/syslog.texi (closelog): Fix reference, it's openlog.
27529 2012-04-08  Stephen Compall  <s11@member.fsf.org>
27531         [BZ #6649]
27532         * manual/llio.texi (Opening and Closing Files): Add cross
27533         reference to explain mode argument.
27535 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
27537         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
27538         * sysdeps/x86_64/memset_chk.S: Likewise.
27540 2012-04-07  David S. Miller  <davem@davemloft.net>
27542         * elf/elf.h (R_SPARC_WDISP10): Define.
27543         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
27544         R_SPARC_SIZE32.
27545         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
27546         R_SPARC_SIZE64 and R_SPARC_H34.
27548 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
27550         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
27551         conditions and remove no longer applicable assertion.
27553 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
27555         * bits/byteswap.h: Include <features.h>.
27556         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27557         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27559 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
27561         * bits/byteswap.h (__bswap_16): Removed.
27562         Include <bits/byteswap-16.h> to get __bswap_16.
27563         * sysdeps/i386/bits/byteswap.h: Likewise.
27564         * sysdeps/s390/bits/byteswap.h: Likewise.
27565         * sysdeps/x86_64/bits/byteswap.h: Likewise.
27566         * bits/byteswap-16.h: New file.
27567         * sysdeps/i386/bits/byteswap-16.h: Likewise.
27568         * sysdeps/s390/bits/byteswap-16.h: Likewise.
27569         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
27570         * string/Makefile (headers): Add bits/byteswap-16.h.
27572 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
27574         [BZ #13895]
27575         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
27576         extra indirection.
27577         * nss/Makefile (tests-static, tests): Add tst-nss-static.
27578         * nss/tst-nss-static.c: New.
27580 2012-04-06  Robert Millan  <rmh@gnu.org>
27582         [BZ #6486]
27583         * manual/llio.texi (File Position Primitive): lseek
27584         refers to WHENCE when it really means OFFSET.
27586 2012-04-06  Andreas Jaeger  <aj@suse.de>
27588         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
27589         strncmp declarations.
27591         * abilist/libc.abilist: Add __poll and __ppoll.
27593 2012-04-05  David S. Miller  <davem@davemloft.net>
27595         * scripts/check-local-headers.sh: Accept a host triplet in the
27596         path matched by the exclude regexp.
27598         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
27599         definition.
27600         * sysdeps/powerpc/powerpc32/dl-machine.h
27601         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
27602         * sysdeps/s390/s390-32/dl-machine.h
27603         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27604         * sysdeps/sparc/sparc32/dl-machine.h
27605         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27606         * sysdeps/sparc/sparc64/dl-machine.h
27607         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27609         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
27610         lazy binding.
27611         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
27612         undefined symbol errors.
27614         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
27615         DT_NEEDED entries.
27617 2012-04-05  Michael Matz  <matz@suse.de>
27619         [BZ #13592]
27620         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
27622 2012-04-05  Andreas Jaeger  <aj@suse.de>
27624         [BZ #13908]
27625         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
27626         comment.
27628 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27630         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
27631         which ROUND is no valid rounding mode.
27633 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27635         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
27636         read again.
27637         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
27639 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27641         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
27642         an exception using FPU order intentionally.
27644 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27646         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
27647         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
27648         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
27649         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
27651 2012-04-05  Simon Josefsson  <simon@josefsson.org>
27653         [BZ #12340]
27654         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
27655         EINVAL when BUFLEN is too smal.
27657 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
27659         [BZ #13553]
27660         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
27661         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
27663 2012-04-03  Andreas Jaeger  <aj@suse.de>
27665         [BZ #13938]
27666         * manual/setjmp.texi (System V contexts): Fix sentence.
27668         [BZ #13926]
27669         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
27670         New macro for this case.
27671         [!__GNUC__] (__bswap_64): New inline function for this case.
27672         * sysdeps/x86_64/bits/byteswap.h: Likewise.
27673         * bits/byteswap.h: Likewise.
27674         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
27675         ull, guard with __GLIBC_HAVE_LONG_LONG.
27677         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
27678         __GLIBC_HAVE_LONG_LONG.
27680         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
27681         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
27683 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27685         [BZ #13691]
27686         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
27687         inptr and inend, rather than using last_ch.
27689 2012-04-02  David S. Miller  <davem@davemloft.net>
27691         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
27692         * stdio-common/printf-parse.h (read_int): Change return type to
27693         'int', return -1 on INT_MAX overflow.
27694         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
27695         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
27696         overflows INT_MAX.  Check for overflow of in-format-string precision
27697         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
27698         SIZE_MAX not INT_MAX for integer overflow test.
27699         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
27700         skip the construct in the format string but do not record anything.
27701         * stdio-common/bug22.c: Adjust to test both width/prevision
27702         INT_MAX overflow as well as total length INT_MAX overflow.  Check
27703         explicitly for proper errno values.
27705 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
27707         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
27708         CHAR_MAX.
27709         * string/test-strcmp.c [! WIDE]: Likewise.
27710         * time/tst-mktime2.c: Likewise for INT_MAX.
27711         * string/test-string.h: #include <sys/param.h> for MIN.
27713         * csu/init-first.c (__libc_init_first): Call __ctype_init.
27714         * sysdeps/i386/init-first.c (init): Likewise.
27715         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
27716         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
27717         * sysdeps/sh/init-first.c (init): Likewise.
27719 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
27721         * po/ru.po: Update from translation team.
27722         * po/vi.po: Likewise.
27724 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
27726         * resolv/nss_dns/dns-host.c: Merge copyright years.
27728 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27730         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27731         Optimize memcpy with prefetch if
27732         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
27733         src, dst pointers have unequal 16 byte alignments.
27735 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27737         [BZ #13928]
27738         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
27739         from a CNAME entry and return the minimum ttl for the query.
27740         (gaih_getanswer_slice): Likewise.
27742 2012-03-30  Jeff Law  <law@redhat.com>
27744         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
27745         due to long keys.
27746         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27747         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27749         * resolv/nss_dns/dns-host.c: Update copyright year.
27751 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
27753         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
27754         requests to save a system call.  Fix check that all bytes are sent.
27756         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
27757         comments for sendmmsg.
27759 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27761         [BZ #13691]
27762         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
27763         with only 1 character between 0x0041 and 0x01b0.
27764         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
27765         * wcsmbs/tst-mbsnrtowcs.c: New file.
27767 2012-03-29  David S. Miller  <davem@davemloft.net>
27769         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27770         small copies by hand.
27772 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27774         [BZ #13761]
27775         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27776         _nss_compat_initgroups_dyn): Fall back to malloc/free
27777         for large group memberships.
27779 2012-03-28  David S. Miller  <davem@davemloft.net>
27781         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27782         that branches into memcpy.
27783         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27784         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27785         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27786         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27787         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27788         bits.
27789         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27790         implementation too.
27791         * sysdeps/sparc/mempcpy.S: New file.
27793         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27794         the IFUNC routine in the libc case.
27795         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27797         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27798         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27799         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27800         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27801         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27802         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27803         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27804         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27806         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27807         loop to 256 bytes instead of 64 bytes and fix test signedness.
27809         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27810         * sysdeps/sparc/sparc32/Makefile: rather than here...
27811         * sysdeps/sparc/sparc64/Makefile: and here.
27813 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
27815         * malloc/mallocbug.c: Avoid warnings about unused variables.
27817 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27819         [BZ #13760]
27820         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27821         in the right place. Discard and retry query if response is
27822         larger than input buffer size.
27824 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
27826         [BZ #369]
27827         [BZ #2678]
27828         [BZ #3866]
27829         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27830         x for large integer exponent.
27831         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27832         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
27833         sign of result as needed afterwards.
27834         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27835         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27836         result for underflowing pow the same as for overflow.
27837         (__kernel_standard_l): Handle powl overflow and underflow here
27838         rather than calling __kernel_standard.
27839         * math/libm-test.inc (pow_test): Add more tests.
27841         [BZ #3868]
27842         [BZ #13879]
27843         [BZ #13910]
27844         [BZ #13911]
27845         [BZ #13912]
27846         [BZ #13913]
27847         [BZ #13915]
27848         [BZ #13916]
27849         [BZ #13917]
27850         [BZ #13918]
27851         [BZ #13919]
27852         [BZ #13920]
27853         [BZ #13921]
27854         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27855         * sysdeps/ieee754/k_standard.c: Include <float.h>.
27856         (__kernel_standard_l): New function.
27857         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27858         __kernel_standard.
27859         * math/w_acosl.c (__acosl): Likewise.
27860         * math/w_asinl.c (__asinl): Likewise.
27861         * math/w_atan2l.c (__atan2l): Likewise.
27862         * math/w_atanhl.c (__atanhl): Likewise.
27863         * math/w_coshl.c (__coshl): Likewise.
27864         * math/w_exp10l.c (__exp10l): Likewise.
27865         * math/w_exp2l.c (__exp2l): Likewise.
27866         * math/w_fmodl.c (__fmodl): Likewise.
27867         * math/w_hypotl.c (__hypotl): Likewise.
27868         * math/w_j0l.c (__j0l, __y0l): Likewise.
27869         * math/w_j1l.c (__j1l, __y1l): Likewise.
27870         * math/w_jnl.c (__jnl, __ynl): Likewise.
27871         * math/w_lgammal.c (__lgammal): Likewise.
27872         * math/w_log10l.c (__log10l): Likewise.
27873         * math/w_log2l.c (__log2l): Likewise.
27874         * math/w_logl.c (__logl): Likewise.
27875         * math/w_powl.c (__powl): Likewise.
27876         * math/w_remainderl.c (__remainderl): Likewise.
27877         * math/w_scalbl.c (sysv_scalbl): Likewise.
27878         * math/w_sinhl.c (__sinhl): Likewise.
27879         * math/w_sqrtl.c (__sqrtl): Likewise.
27880         * math/w_tgammal.c (__tgammal): Likewise.
27881         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27882         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27883         * math/libm-test.inc (acos_test): Add more tests.
27884         (acosh_test): Likewise.
27885         (asin_test): Likewise.
27886         (atanh_test): Likewise.
27887         (exp_test): Likewise.
27888         (exp10_test): Likewise.
27889         (exp2_test): Likewise.
27890         (expm1_test): Likewise.
27891         (lgamma_test): Likewise.
27892         (log_test): Likewise.
27893         (log10_test): Likewise.
27894         (log1p_test): Likewise.
27895         (log2_test): Likewise.
27896         (pow_test): Do not allow some spurious overflow exceptions.
27897         (sqrt_test): Add more tests.
27898         (tgamma_test): Likewise.
27899         (y0_test): Likewise.
27900         (y1_test): Likewise.
27901         (yn_test): Likewise.
27903 2012-03-27  Anton Blanchard  <anton@samba.org>
27905         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27906         MAP_HUGETLB.
27907         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27908         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27909         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27911 2012-03-27  David S. Miller  <davem@davemloft.net>
27913         * conform/Makefile: Run run-conformtest.sh using $(BASH).
27915         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27916         have-as-vis3 check.
27918 2012-03-27  Andreas Jaeger  <aj@suse.de>
27920         * sysdeps/x86_64/elf/configure.in: Moved to ...
27921         * sysdeps/x86_64/configure.in: ... here.
27922         * sysdeps/x86_64/elf/start.S: Moved to ...
27923         * sysdeps/x86_64/start.S: ... here.
27924         * sysdeps/x86_64/elf/configure: Delete.
27926         * sysdeps/x86_64/configure.in: Merge contents from
27927         sysdeps/i386/configure.in (without i686 check).
27929         * sysdeps/i386/elf/Versions: Merge into ...
27930         * sysdeps/i386/Versions: ... this.
27931         * sysdeps/i386/elf/Versions: Delete file.
27932         * sysdeps/i386/elf/start.S: Moved to ...
27933         * sysdeps/i386/start.S: ...here.
27934         * sysdeps/i386/elf/configure.in: Merge into...
27935         * sysdeps/i386/configure.in: ...here.
27936         * sysdeps/i386/elf/configure.in: Delete file.
27937         * sysdeps/i386/elf/configure: Delete file.
27939         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27940         * debug/backtracesyms.c: ... here.
27941         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27942         * debug/backtracesymsfd.c: ... here.
27943         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27944         * sysdeps/generic/ifunc-sel.h: ... here.
27946         * sysdeps/unix/i386/start.c: Delete file.
27947         * sysdeps/unix/sparc/start.c: Delete file.
27948         * sysdeps/unix/start.c: Delete file.
27950         * sysdeps/sh/elf/configure.in: Moved to ...
27951         * sysdeps/sh/configure.in: ... here.
27952         * sysdeps/sh/elf/start.S: Moved to ...
27953         * sysdeps/sh/start.S: ... here.
27954         * sysdeps/sh/elf/configure: Delete file.
27956         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27957         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27958         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27959         * sysdeps/powerpc/powerpc64/entry.h: ... here.
27960         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27961         * sysdeps/powerpc/powerpc64/start.S: here.
27962         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27963         * sysdeps/powerpc/powerpc64/Makefile: ... this.
27964         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27965         * sysdeps/powerpc/powerpc64/configure.in: ... this.
27966         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27968         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27969         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27970         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27971         * sysdeps/powerpc/powerpc32/start.S: ... here.
27972         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27973         * sysdeps/powerpc/powerpc32/configure.in: ... this.
27974         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27976         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27977         * sysdeps/powerpc/ifunc-sel.h: ... here.
27978         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27979         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27981         * sysdeps/sparc/elf/configure.in: Moved to ...
27982         * sysdeps/sparc/configure.in: ... here.
27983         * sysdeps/sparc/elf/configure: Delete file.
27984         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27985         * sysdeps/sparc/sparc32/start.S: ... here.
27986         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27987         * sysdeps/sparc/sparc64/start.S: ... here.
27988         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27989         * sysdeps/sparc/sparc32/Makefile: ... this.
27990         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27991         * sysdeps/sparc/sparc64/Makefile: ... this.
27993         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27994         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27995         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27996         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27997         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27998         * sysdeps/s390/s390-32/setjmp.S: ... here.
27999         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
28000         * sysdeps/s390/s390-32/configure.in: ... here.
28001         * sysdeps/s390/s390-32/elf/configure: Delete file.
28002         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
28003         * sysdeps/s390/s390-32/start.S: ... here.
28005         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
28006         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
28007         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
28008         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
28009         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
28010         * sysdeps/s390/s390-64/setjmp.S: ... here.
28011         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
28012         * sysdeps/s390/s390-64/configure.in: ... here
28013         * sysdeps/s390/s390-64/elf/configure: Delete file.
28014         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
28015         * sysdeps/s390/s390-64/start.S: ... here.
28016         * sysdeps/s390/s390-64/elf/configure: Delete.
28018         * configure.in: Remove support for elf directories in sysdeps.
28020         * configure: Regenerated.
28021         * sysdeps/i386/configure: Regenerated.
28022         * sysdeps/powerpc/powerpc32/configure: Regenerated.
28023         * sysdeps/powerpc/powerpc64/configure: Regenerated.
28024         * sysdeps/s390/s390-32/configure: Regenerated.
28025         * sysdeps/s390/s390-64/configure: Regenerated.
28026         * sysdeps/sh/configure: Regenerated.
28027         * sysdeps/sparc/configure: Regenerated.
28028         * sysdeps/x86_64/configure: Regenerated.
28030 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
28032         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28034         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
28035         denormal result into account.
28037 2012-03-25  Roland McGrath  <roland@hack.frob.com>
28039         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
28040         Reported by Allan McRae <allan@archlinux.org>.
28042 2012-03-23  Jeff Law  <law@redhat.com>
28044         * nss/getnssent.c (__nss_getent): Fix typo.
28046 2012-03-23  David S. Miller  <davem@davemloft.net>
28048         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28050 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
28052         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
28053         to pad to uint64_t for each field.
28054         (dl_tls_index): Replace unsigned long with uint64_t.
28056 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
28057         Paul Pluzhnikov  <ppluzhnikov@google.com>
28059         [BZ #6528]
28060         * grp/Makefile (otherlibs): Don't set it.
28061         * inet/Makefile (otherlibs): Likewise.
28062         * login/Makefile (otherlibs): Likewise.
28063         * nscd/Makefile (otherlibs): Likewise.
28064         * posix/Makefile (otherlibs): Likewise.
28065         * pwd/Makefile (otherlibs): Likewise.
28066         * rt/Makefile (otherlibs): Likewise.
28067         * sunrpc/Makefile (otherlibs): Likewise.
28068         * nss/Makefile (otherlibs): Likewise.
28069         Add libnss_files to routines and static-only-routines.
28070         ($(objpfx)getent): Remove rule.
28071         * resolv/Makefile: Add libnss_dns and libresolv to routines and
28072         static-only-routines.
28074 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
28076         [BZ #13892]
28077         * math/s_cexp.c: Include <float.h>.
28078         (__cexp): Handle exp result overflowing not necessarily
28079         overflowing both real and imaginary parts of result.
28080         * math/s_cexpf.c: Likewise.
28081         * math/s_cexpl.c: Likewise.
28082         * math/libm-test.inc (cexp_test): Add more tests.
28083         * sysdeps/i386/fpu/libm-test-ulps: Update.
28084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28086 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
28088         * include/link.h (ELFW): New macro.
28089         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
28090         Replace ELF64_R_TYPE with ELFW(R_TYPE).
28092 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
28094         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
28095         with uint64_t.
28097 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
28099         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
28100         declaration.
28101         (struct La_x32_retval): Likewise.
28103 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
28105         * sysdeps/x86_64/preconfigure.in: New file.
28106         * sysdeps/x86_64/preconfigure: New generated file.
28108 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
28110         [BZ #13824]
28111         * math/e_exp2l.c: Include <float.h>.
28112         (__ieee754_exp2l): Handle overflow and underflow cases
28113         separately.  Only pass fractional part of argument to
28114         __ieee754_expl.
28115         * math/libm-test.inc (exp2_test): Add more tests.
28117         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
28118         negating x to take absolute value.
28119         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
28120         Likewise.
28121         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28122         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
28123         Likewise.
28124         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
28125         computing low part if x was negated.
28126         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28128 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
28130         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
28131         la_x32_gnu_pltexit.
28132         (pltexit): Cast int_retval to ptrdiff_t.
28133         * elf/tst-auditmod3b.c: Likewise.
28134         * elf/tst-auditmod4b.c: Likewise.
28135         * elf/tst-auditmod5b.c: Likewise.
28136         * elf/tst-auditmod6b.c: Likewise.
28137         * elf/tst-auditmod6c.c: Likewise.
28138         * elf/tst-auditmod7b.c: Likewise.
28140         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
28141         and x32_gnu_pltexit.
28143         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
28144         __ELF_NATIVE_CLASS.
28145         (La_x32_regs): New macro.
28146         (La_x32_retval): Likewise.
28147         (la_x32_gnu_pltenter): New function prototype.
28148         (la_x32_gnu_pltexit): Likewise.
28150 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
28152         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
28153         exponent.
28155         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28157         * configure.in (libc_cv_cc_nofma): Check for option to disable
28158         generation of FMA instructions.
28159         * configure: Regenerate.
28160         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
28161         * sysdeps/ieee754/dbl-64/Makefile: New file.
28162         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28163         Remove brandred-fma4.
28164         (CFLAGS-brandred-fma4.c): Remove.
28165         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
28166         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
28167         define.
28168         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
28169         define.
28171 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
28173         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28174         LLONG_MAX != LONG_MAX.
28175         (_itoa_word): Use _ITOA_WORD_TYPE on value.
28176         (_fitoa_word): Likewise.
28177         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
28178         LLONG_MAX != LONG_MAX.
28179         * stdio-common/_itowa.h: Include <_itoa.h>.
28180         (_itowa_word): Use _ITOA_WORD_TYPE on value.
28181         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
28182         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
28183         only if not defined.
28184         (_ITOA_WORD_TYPE): Likewise.
28185         (_itoa_word): Use _ITOA_WORD_TYPE on value.
28186         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
28188 2012-03-21  David S. Miller  <davem@davemloft.net>
28190         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28192 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
28194         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
28195         of x86_64 when setting libc_cv_slibdir, libdir and
28196         libc_cv_localedir.
28197         * sysdeps/unix/sysv/linux/configure: Regenerated.
28199 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
28201         * manual/lang.texi (Old Varargs): Remove section.
28202         (How Variadic): Update menu.
28203         (va_start): Do not mention varargs.h.
28205 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
28206             Joseph Myers  <joseph@codesourcery.com>
28208         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
28209         link test.
28210         * configure: Regenerated.
28212 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
28214         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
28215         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
28216         conformtest.pl
28218 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
28220         * NOTES: Remove.
28221         * Makefile (files-for-dist): Remove NOTES.
28222         (NOTES): Remove rule.
28223         * README: Don't refer to NOTES.
28224         * manual/creature.texi: Don't include macros.texi.
28225         * manual/intro.texi (creature.texi): Remove comment referring to
28226         NOTES.
28228         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
28229         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
28230         * configure: Regenerated.
28231         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
28232         LIBC_TRY_CC_OPTION.
28233         (libc_cv_as_i686): Likewise.
28234         (libc_cv_cc_avx): Likewise.
28235         (libc_cv_cc_sse2avx): Likewise.
28236         (libc_cv_cc_fma4): Likewise.
28237         (libc_cv_cc_novzeroupper): Likewise.
28238         * sysdeps/i386/configure: Regenerated.
28240         [BZ #13883]
28241         * sysdeps/i386/fpu/s_cexp.S: Remove.
28242         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28243         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28244         * math/libm-test.inc (cexp_test): Add more tests.
28245         * sysdeps/i386/fpu/libm-test-ulps: Update.
28246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28248 2012-03-21  Allan McRae  <allan@archlinux.org>
28250         * timezone/Makefile: Do not install iso3166.tab and zone.tab
28252 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
28254         [BZ #13871]
28255         * math/w_exp2.c: Do not include <float.h>.
28256         (o_threshold, u_threshold): Remove.
28257         (__exp2): Calculate result before checking finiteness and calling
28258         __kernel_standard.
28259         * math/w_exp2f.c: Likewise.
28260         * math/w_exp2l.c: Likewise.
28261         * math/libm-test.inc (exp2_test): Require overflow exception for
28262         1e6 input.
28264         [BZ #3866]
28265         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
28266         range of signed 64-bit integers before using fistpll.  Remove
28267         checks for whether integers fit in mantissa bits.
28268         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
28269         the range of signed 32-bit integers before using fistpl.  Remove
28270         checks for whether integers fit in mantissa bits.
28271         * sysdeps/i386/fpu/e_powl.S (p64): New object.
28272         (__ieee754_powl): Test for y outside the range of signed 64-bit
28273         integers before using fistpll.  Reduce 64-bit values to 63-bit
28274         ones as needed.
28275         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
28276         divide-by-zero is raised for zero to large negative powers.
28277         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
28278         (__ieee754_powl): Test for y outside the range of signed 64-bit
28279         integers before using fistpll.  Reduce 64-bit values to 63-bit
28280         ones as needed.
28281         * math/libm-test.inc (pow_test): Add more tests.
28283 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
28285         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
28286         <stdio-common/_itoa.h>.
28287         * debug/segfault.c: Likewise.
28288         * elf/dl-cache.c: Likewise.
28289         * elf/dl-minimal.c: Likewise.
28290         * elf/dl-misc.c: Likewise.
28291         * elf/dl-sysdep.c: Likewise.
28292         * elf/dl-version.c: Likewise.
28293         * elf/rtld.c: Likewise.
28294         * hurd/hurdsock.c: Likewise.
28295         * hurd/lookup-retry.c: Likewise.
28296         * malloc/malloc.c: Likewise.
28297         * malloc/mtrace.c: Likewise.
28298         * nscd/nscd_getgr_r.c: Likewise.
28299         * nscd/nscd_getpw_r.c: Likewise.
28300         * nscd/nscd_getserv_r.c: Likewise.
28301         * posix/getopt_init.c: Likewise.
28302         * posix/wordexp.c: Likewise.
28303         * stdio-common/_itoa.c: Likewise.
28304         * stdio-common/printf_fphex.c: Likewise.
28305         * stdio-common/vfprintf.c: Likewise.
28306         * string/_strerror.c: Likewise.
28307         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
28308         * sysdeps/i386/i686/hp-timing.h: Likewise.
28309         * sysdeps/mach/_strerror.c: Likewise.
28310         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
28311         * sysdeps/mach/hurd/sethostid.c: Likewise.
28312         * sysdeps/mach/hurd/xmknodat.c: Likewise.
28313         * sysdeps/mach/xpg-strerror.c: Likewise.
28314         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28315         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28316         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
28317         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
28318         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28319         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
28320         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28321         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28322         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
28323         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
28324         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
28325         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28326         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
28327         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28328         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
28329         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
28330         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
28331         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
28332         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28333         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28334         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
28336         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
28338         * stdio-common/_itoa.h: Moved to ...
28339         * sysdeps/generic/_itoa.h: Here.
28341         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
28343         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
28344         instead of "_itoa.h" and "_itowa.h".
28345         * stdio-common/vfprintf.: Likewise.
28347 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
28349         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
28350         <bits/wordsize.h>.
28351         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
28352         (__signbit): Likwise.
28353         (llrintf): Likwise.
28354         (llrint): Likwise.
28356 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
28358         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
28359         __WORDSIZE != 64.
28361 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
28363         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
28364         OVERFLOW_EXCEPTION_OK.
28365         * math/libm-test.inc ("Philosophy"): Update comment about
28366         exception testing.
28367         (OVERFLOW_EXCEPTION): Define.
28368         (OVERFLOW_EXCEPTION_OK): Likewise.
28369         (INVALID_EXCEPTION_OK): Renumber.
28370         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28371         (IGNORE_ZERO_INF_SIGN): Likewise.
28372         (test_exceptions): Handle FE_OVERFLOW.
28373         (exp10_test): Expect overflow exceptions.
28374         (exp2_test): Likewise.
28375         (expm1_test): Likewise.
28376         (nextafter_test): Likewise.
28377         (pow_test): Likewise.
28378         (scalbn_test): Likewise.
28379         (scalbln_test): Likewise.
28381 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28383         * sysdeps/x86_64/bits/atomic.h
28384         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
28385         64bit integer.
28386         (atomic_exchange_acq): Likewise.
28387         (__arch_exchange_and_add_body): Likewise.
28388         (__arch_add_body): Likewise.
28389         (atomic_add_negative): Likewise.
28390         (atomic_add_zero): Likewise.
28392 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28394         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
28395         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
28397 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28399         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
28400         Check __x86_64__ instead of __WORDSIZE.
28402 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28404         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
28406 2012-03-19  David S. Miller  <davem@davemloft.net>
28408         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28410         * sysdeps/sparc/fpu/fenv_private.h: New file.
28411         * sysdeps/sparc/fpu/math_private.h: Use it.
28412         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
28413         Remove.
28414         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
28415         (libc_feholdexcept_setroundl): Remove.
28416         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
28417         Remove.
28418         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
28419         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
28421 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28423         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
28424         int64_t instead of long int.
28425         (INSERT_WORDS64): Likwise.
28427 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28429         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
28430         _Unwind_GetCFA return to _Unwind_Ptr first.
28432 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
28434         [BZ #13629]
28435         * math/s_clog.c: Include <float.h>.
28436         (__clog): Scale large or subnormal inputs.
28437         * math/s_clogf.c: Likewise.
28438         * math/s_clogl.c: Likewise.
28439         * math/s_clog10.c: Include <float.h>.
28440         (M_LOG10_2): Define.
28441         (__clog10): Scale large or subnormal inputs.
28442         * math/s_clog10f.c: Likewise.
28443         * math/s_clog10l.c: Likewise.
28444         * math/libm-test.inc (clog_test): Add more tests.
28445         (clog10_test): Likewise.
28446         * sysdeps/i386/fpu/libm-test-ulps: Update.
28447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28449         [BZ #11451]
28450         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
28451         x and y.
28452         * math/libm-test.inc (atan2_test): Add another test.
28454         * Makerules (common-objdir-compile): Remove.
28455         * sysdeps/unix/Makefile (config-generated): Do not add
28456         $(unix-generated) to variable.
28457         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
28458         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
28459         Remove rule.
28460         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
28461         Likewise.
28462         [generic bits/local_lim.h] (before-compile): Do not append to
28463         variable.
28464         [generic bits/local_lim.h] (common-generated): Likewise.
28465         [generic sys/param.h] (before-compile): Do not append to variable.
28466         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
28467         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
28468         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
28469         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
28470         include.
28471         [generic sys/param.h] (sys/param.h-includes): Remove variable.
28472         [generic sys/param.h] (sys/param.h-includes): Remove rule.
28473         [generic sys/param.h] ($(addprefix
28474         $(common-objpfx),$(sys/param.h-includes))): Likewise.
28475         [generic sys/param.h] (common-generated): Do not append to
28476         variable.
28477         [generic sys/param.h] (sysdep_headers): Likewise.
28478         [generic bits/errno.h] (before-compile): Do not append to
28479         variable.
28480         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
28481         rule.
28482         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
28483         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
28484         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
28485         [generic bits/errno.h] (common-generated): Do not append to
28486         variable.
28487         [generic bits/ioctls.h] (before-compile): Do not append to
28488         variable.
28489         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
28490         rule.
28491         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
28492         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
28493         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
28494         rule.
28495         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
28496         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
28497         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
28498         [generic bits/ioctls.h] (common-generated): Do not append to
28499         variable.
28500         [generic sys/syscall.h] (syscall.h): Remove variable.
28501         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
28502         rule.
28503         [generic sys/syscall.h] (before-compile): Do not append to
28504         variable.
28505         [generic sys/syscall.h] (common-generated): Likewise.
28506         * sysdeps/unix/errnos-tmpl.c: Remove file.
28507         * sysdeps/unix/errnos.awk: Likewise.
28508         * sysdeps/unix/ioctls-tmpl.c: Likewise.
28509         * sysdeps/unix/ioctls.awk: Likewise.
28510         * sysdeps/unix/mk-local_lim.c: Likewise.
28511         * sysdeps/unix/snarf-ioctls: Likewise.
28513 2012-03-19  Richard Henderson  <rth@twiddle.net>
28515         * sysdeps/i386/fpu/fenv_private.h: New file.
28516         * sysdeps/i386/fpu/math_private.h: Use it.
28517         (math_opt_barrier, math_force_eval): Remove.
28518         (libc_feholdexcept_setround_53bit): Remove.
28519         (libc_feupdateenv_53bit): Remove.
28520         * sysdeps/x86_64/fpu/math_private.h: Likewise.
28521         (math_opt_barrier, math_force_eval): Remove.
28522         (libc_feholdexcept): Remove.
28523         (libc_feholdexcept_setround): Remove.
28524         (libc_fetestexcept, libc_fesetenv): Remove.
28525         (libc_feupdateenv_test): Remove.
28526         (libc_feupdateenv, libc_feholdsetround): Remove.
28527         (libc_feresetround): Remove.
28529         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
28530         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28532         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
28533         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
28534         (libc_feupdateenv_testl): New.
28535         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
28536         (libc_feupdateenv_testf): New.
28537         (libc_feupdateenv): Use libc_feupdateenv_test.
28538         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
28539         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
28541         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
28542         (libc_feholdsetroundf, libc_feholdsetroundl): New.
28543         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
28544         (libc_feresetround_noex): New.
28545         (libc_feresetround_noexf): New.
28546         (libc_feresetround_noexl): New.
28547         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
28548         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
28549         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
28550         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
28551         SET_RESTORE_ROUND.
28552         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28553         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
28554         (__cos): Likewise.
28555         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
28556         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
28557         SET_RESTORE_ROUND_NOEX.
28558         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
28559         SET_RESTORE_ROUND_NOEXF.
28560         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
28561         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
28562         (libc_feholdsetroundf): New.
28563         (libc_feresetround, libc_feresetroundf): New.
28565         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
28566         (libc_feholdexcept_setround_53bit): Convert from macro to function.
28567         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
28569         * sysdeps/generic/math_private.h: Include <fenv.h>.
28570         (default_libc_feholdexcept): New.
28571         (default_libc_feholdexcept_setround): New.
28572         (default_libc_fesetenv, default_libc_feupdateenv): New.
28573         (libc_feholdexcept): Only define if undefined.
28574         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
28575         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
28576         (libc_feholdexcept_setroundl): Likewise.
28577         (libc_feholdexcept_setround_53bit): Likewise.
28578         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
28579         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
28580         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
28581         (libc_feupdateenv_53bit): Likewise.
28582         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
28583         (libc_feholdexcept): Convert from macro to inline function.
28584         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
28585         (libc_fesetenv, libc_feupdateenv): Likewise.
28587         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
28588         not previously defined.
28589         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
28590         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
28591         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
28592         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
28593         * sysdeps/ieee754/flt-32/math_private.h: New file.
28594         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
28595         math_private.h below SET_FLOAT_WORD.
28596         (__isnan, __isinf_ns, __finite): Remove.
28597         (__isnanf, __isinf_nsf, __finitef): Remove.
28599 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
28601         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28603 2012-03-17  David S. Miller  <davem@davemloft.net>
28605         [BZ #6471]
28606         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
28607         for 2.16.
28609 2012-03-16  David S. Miller  <davem@davemloft.net>
28611         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
28612         warnings.
28614         [BZ #6471]
28615         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
28616         properly.
28617         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
28618         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
28619         sysdep_routines when subdir is sysvipc.
28620         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
28621         __getshmlba helper.
28623         * sysdeps/sparc/fpu/libm-test/ulps: Update.
28625 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28627         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
28628         [__LP64__].
28630 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28632         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
28633         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
28634         (__lround): Renamed to ...
28635         (__llround): This.  Replace long int with long long int.
28636         Define lround functions as aliases of llround functions.
28637         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
28639 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28641         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
28642         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
28643         adresses to uintptr_t.  Replace "long int" and "unsigned long
28644         int" with "greg_t" on va_arg.
28646 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28648         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
28649         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
28651         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
28652         Move e_machine check before EI_CLASS check.  Handle x32
28653         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
28654         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
28655         SKIP_EM_IA_64 and include
28656         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
28658         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
28659         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
28660         (add_system_dir): New macro.
28662         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
28663         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
28665 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
28667         [BZ #2551]
28668         [BZ #2552]
28669         [BZ #2553]
28670         [BZ #2554]
28671         [BZ #2562]
28672         [BZ #2563]
28673         [BZ #2565]
28674         [BZ #2566]
28675         [BZ #2576]
28676         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
28677         (y0): Likewise.
28678         * math/w_j0f.c (j0f): Likewise.
28679         (y0f): Likewise.
28680         * math/w_j0l.c (__j0l): Likewise.
28681         (__y0l): Likewise.
28682         * math/w_j1.c (j1): Likewise.
28683         (y1): Likewise.
28684         * math/w_j1f.c (j1f): Likewise.
28685         (y1f): Likewise.
28686         * math/w_j1l.c (__j1l): Likewise.
28687         (__y1l): Likewise.
28688         * math/w_jn.c (jn): Likewise.
28689         (yn): Likewise.
28690         * math/w_jnf.c (jnf): Likewise.
28691         (ynf): Likewise.
28692         * math/w_jnl.c (__jnl): Likewise.
28693         (__ynl): Likewise.
28694         * math/libm-test.inc (j0_test): Add more tests.
28695         (j1_test): Likewise.
28696         (jn_test): Likewise.  Add trailing semicolon to existing test.
28697         (y0_test): Likewise.
28698         (y1_test): Likewise.
28699         * sysdeps/i386/fpu/libm-test-ulps: Update.
28700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28702         [BZ #13851]
28703         [BZ #13854]
28704         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28705         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
28706         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
28707         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
28708         (__tanl): Set errno for infinite argument.
28709         * sysdeps/i386/fpu/mptan.c: Remove.
28710         * sysdeps/i386/fpu/s_tan.S: Likewise.
28711         * sysdeps/i386/fpu/s_tanl.S: Likewise.
28712         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
28713         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
28714         * math/libm-test.inc (tan_test): Add more tests and enable more
28715         tests for double and long double.
28716         * sysdeps/i386/fpu/libm-test-ulps: Update.
28717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28719 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
28721         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
28722         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
28724 2012-03-16  Roland McGrath  <roland@hack.frob.com>
28726         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
28727         * configure.in: Use it for both main tree and add-ons.
28728         * configure: Regenerated.
28730 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28732         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
28734 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
28736         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
28737         in comment.
28739         [BZ #13851]
28740         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
28741         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
28742         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
28743         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
28744         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
28745         infinite argument.
28746         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
28747         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
28748         != 0 for prec == 2.
28749         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
28750         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
28751         * sysdeps/i386/fpu/s_cosl.S: Likewise.
28752         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
28753         * sysdeps/i386/fpu/s_sinl.S: Likewise.
28754         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
28755         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
28756         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
28757         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
28758         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
28759         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
28760         * math/libm-test.inc (cos_test): Add more tests and enable more
28761         tests for long double.
28762         (sin_test): Likewise.
28763         (sincos_test): Likewise.
28764         * sysdeps/i386/fpu/libm-test-ulps: Update.
28765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28767 2012-03-16  David S. Miller  <davem@davemloft.net>
28769         * sysdeps/sparc/fpu/math_private.h: New file.
28771 2012-03-15  David S. Miller  <davem@davemloft.net>
28773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
28774         file.
28775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
28776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28777         file.
28778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28779         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28780         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28781         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28782         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28783         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28784         sysdep routines.
28785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28787         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28788         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28790         * sysdeps/sparc/sparc-ifunc.h: New file.
28791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28792         sparc-ifunc.h
28793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28794         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28795         Likewise.
28796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28797         Likewise.
28798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28802         Likewise.
28803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
28807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28808         Likewise.
28809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28810         Likewise.
28811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28815         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28816         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28817         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28818         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28819         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28820         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28821         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28822         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28823         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28824         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28825         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28826         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28827         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28828         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28829         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28830         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28831         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28832         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28833         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28834         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28836 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
28838         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28839         scaling.
28840         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28842 2012-03-15  Andreas Jaeger  <aj@suse.de>
28844         [BZ #13852]
28845         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28846         ieee754/flt-32 implementation for sin, cos and sincos.
28847         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28848         * sysdeps/i386/fpu/s_cosf.S: Likewise.
28849         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28850         * sysdeps/i386/fpu/s_sinf.S: Likewise.
28851         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28852         ieee754/flt-32 implementation for tan.
28854         * math/libm-test.inc (cos_test): Enable some large input tests for
28855         float as well
28856         (sin_test): Likewise.
28857         (sincos_test): Likewise.
28858         (tan_test): Add tests for large input.
28860         * sysdeps/i386/fpu/libm-test-ulps: Update.
28862 2012-03-15  Andreas Jaeger  <aj@suse.de>
28864         [BZ #13658]
28865         * math/libm-test.inc (cos_test): Add more test cases.
28866         (sin_test): Likewise.
28867         (sincos_test): Likewise.
28869 2012-03-15  Andreas Jaeger  <aj@suse.de>
28871         [BZ #13837]
28872         * math/libm-test.inc (cos_test): Add a test case for large input
28873         value.
28874         (sin_test): Likewise.
28875         (sincos_test): Likewise.
28877 2012-03-15  Andreas Jaeger  <aj@suse.de>,
28878         Joseph Myers  <joseph@codesourcery.com>
28880         [BZ #13658]
28881         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
28882         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28883         * sysdeps/i386/fpu/branred.c: Likewise.
28884         * sysdeps/i386/fpu/dosincos.c: Likewise.
28885         * sysdeps/i386/fpu/mpa.c: Likewise.
28886         * sysdeps/i386/fpu/s_cos.S: Likewise.
28887         * sysdeps/i386/fpu/s_sin.S: Likewise.
28888         * sysdeps/i386/fpu/s_sincos.S: Likewise.
28889         * sysdeps/i386/fpu/sincos32.c: Likewise.
28891         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28892         Define.
28893         (libc_feupdateenv_53bit): Define.
28894         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28895         Define.
28896         (libc_feupdateenv_53bit): Define.
28898         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28899         53 bit (without extend i386 double precision).
28901         * math/libm-test.inc (sincos_test): Add tests for large input.
28902         (sin): Likewise.
28903         (cos): Likewise.
28905         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28907 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
28909         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28911 2012-03-15  David S. Miller  <davem@davemloft.net>
28913         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28914         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28915         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28916         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28917         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28918         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28919         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28920         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28921         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28922         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28923         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28924         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28925         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28926         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28927         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
28928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28929         file.
28930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
28931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28932         file.
28933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
28934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28935         file.
28936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
28937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28938         file.
28939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28940         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28941         fmin/fmax sysdep routines.
28942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28944 2012-03-14  David S. Miller  <davem@davemloft.net>
28946         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28947         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28948         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28949         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28950         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28951         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28952         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28953         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28954         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28955         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28956         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28957         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28958         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28959         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28960         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28961         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28962         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28963         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28964         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28965         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28966         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28967         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28968         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28969         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28970         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28971         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28972         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28973         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
28974         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28975         routines.
28976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28977         file.
28978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
28979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28980         file.
28981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
28982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28983         file.
28984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
28985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28986         file.
28987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
28988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28989         file.
28990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
28991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28992         file.
28993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28994         file.
28995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28996         file.
28997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28998         file.
28999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
29000         New file.
29001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
29002         file.
29003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
29004         file.
29005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
29006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
29007         file.
29008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
29009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
29010         file.
29011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
29012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
29013         file.
29014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
29015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
29016         VIS3 routines.
29018         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
29019         New file.
29021         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29023         * sysdeps/sparc/configure.in: New file.
29024         * sysdeps/sparc/configure: Generate.
29025         * configure.in (libc_cv_sparc_as_vis3): Substitute.
29026         * configure: Regenerate.
29027         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
29028         * config.make.in (have-as-vis3): New.
29029         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
29030         available use -Av9d instead of -Av9a.
29031         * sysdeps/sparc/sparc64/Makefile: Likewise.
29032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
29033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
29034         New file.
29035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
29036         file.
29037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
29038         New file.
29039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
29040         file.
29041         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
29042         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
29043         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
29044         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
29045         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
29047         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
29048         fzeros/fnegs to load 0x80000000 into a float register instead of
29049         using the stack.
29050         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
29052 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
29054         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29055         bits/syscall.h.
29056         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
29057         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
29058         ($(inst_includedir)/bits/syscall.h): Remove rule.
29059         ($(objpfx)bits/syscall.d): Include instead of
29060         $(objpfx)syscall-list.d.
29061         (generated): Change syscall-list.h and syscall-list.d to
29062         bits/syscall.h and bits/syscall.d.
29064 2012-03-14  Roland McGrath  <roland@hack.frob.com>
29066         [BZ #13846]
29067         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
29069 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
29071         [BZ #13841]
29072         * math/s_csqrt.c: Include <float.h>.
29073         (__csqrt): Scale large or subnormal inputs.
29074         * math/s_csqrtf.c: Likewise.
29075         * math/s_csqrtl.c: Likewise.
29076         * math/libm-test.inc (csqrt_test): Add more tests.
29077         * sysdeps/i386/fpu/libm-test-ulps: Update.
29078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29080         [BZ #13840]
29081         * math/libm-test.inc (hypot_test): Add more tests.
29083 2012-03-13  David S. Miller  <davem@davemloft.net>
29085         [BZ #13840]
29086         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
29087         double-precision for the calculation instead of scaling.
29089 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
29091         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
29092         manipulate bits before adding and subtracting TWO52[sx].
29093         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
29094         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
29095         Likewise.
29096         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
29098 2012-03-13  David S. Miller  <davem@davemloft.net>
29100         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
29101         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
29102         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
29103         rtld-global-offsets.h
29104         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29106         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
29107         large parameters.
29109         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
29111         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
29112         'err' in the ifdef scope in which it is actually used.
29114         * nss/nss_db/db-init.c: Include string.h
29116 2012-03-12  David S. Miller  <davem@davemloft.net>
29118         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29119         masking out of the most significant byte of random value used.
29120         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29121         Fix coding style in previous change.
29123         * sysdeps/unix/sysv/linux/kernel-features.h
29124         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
29125         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
29126         expression.
29127         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
29128         later.
29130 2012-03-11  David S. Miller  <davem@davemloft.net>
29132         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
29133         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
29134         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
29135         for 'resultvar' otherwise things get truncated on 64-bit.
29137         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29138         Fix masking out of the most significant byte of random value used.
29140         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29142 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
29144         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29146 2012-03-09  David S. Miller  <davem@davemloft.net>
29148         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
29149         variables with appropriate CPP guards.
29150         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
29151         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
29152         on resulting framesize and the management of the outregs buffer for pltexit.
29153         Preserve floating point return values across _dl_call_pltexit call.
29154         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
29155         framesize and the management of the outregs buffer for pltexit.
29156         Preserve floating point return values across _dl_call_pltexit
29157         call.
29158         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
29159         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
29160         (print_exit): Fix format string for return register value.
29162 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
29164         * sunrpc/Makefile (others): Add rpcgen.
29165         ($(objpfx)rpcgen): Remove special build rule and dependency on
29166         libc.
29167         * sunrpc/rpcgen.c: New file.
29169 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
29171         [BZ #13673]
29172         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
29173         * stdio-common/bug-vfprintf-nargs.c: Likewise.
29174         * sysdeps/i386/crti.S: Likewise.
29175         * sysdeps/i386/crtn.S: Likewise.
29176         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
29177         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
29178         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
29179         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
29180         * sysdeps/sh/crti.S: Likewise.
29181         * sysdeps/sh/crtn.S: Likewise.
29182         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29184         [BZ #13673]
29185         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
29186         with URL.
29187         * locale/programs/locfile-kw.gperf: Likewise.
29188         * locale/programs/charmap-kw.h: Regenerated.
29189         * locale/programs/locfile-kw.h: Likewise.
29191         [BZ #13673]
29192         * intl/plural.y: Replace FSF snail mail address with URL.
29193         * intl/plural.c: Regenerated.
29195 2012-03-09  Richard Henderson  <rth@twiddle.net>
29197         * include/math_private.h: Remove file.
29198         * math/math_private.h: Move file ...
29199         * sysdeps/generic/math_private.h: ... here.
29201         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
29202         * sysdeps/powerpc/fpu/math_private.h: Likewise.
29203         * sysdeps/x86_64/fpu/math_private.h: Likewise.
29205         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
29206         and <math_private.h>.
29207         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29208         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29209         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29210         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29211         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29212         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
29213         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29214         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29215         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29216         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29217         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29218         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29219         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29220         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29221         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29222         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29223         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29224         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29225         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29226         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29227         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29228         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29229         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29230         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29231         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29232         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29233         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29234         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29235         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29236         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29237         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29238         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29239         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29240         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29241         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29242         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29243         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29244         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29245         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29246         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29247         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
29248         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29249         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29250         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29251         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29252         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29253         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
29254         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29255         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29256         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29257         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29258         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
29259         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29260         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29261         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29262         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29263         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29264         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29265         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29266         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
29267         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29268         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29269         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29270         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29271         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
29272         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29273         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29274         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29275         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
29276         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
29277         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29278         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29279         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29280         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29281         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
29282         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
29283         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
29284         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29285         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
29286         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
29287         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29288         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
29289         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29290         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29291         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29292         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
29293         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
29294         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
29295         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29296         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29297         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29298         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29299         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29300         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29301         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29302         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29303         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29304         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29305         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29306         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29307         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29308         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29309         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29310         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29311         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29312         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29313         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29314         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29315         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29316         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29317         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29318         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29319         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29320         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29321         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
29322         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29323         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29324         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29325         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29326         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29327         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29328         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29329         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29330         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
29331         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29332         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29333         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29334         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
29335         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29336         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
29337         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
29338         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29339         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29340         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
29341         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
29342         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29343         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29344         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29345         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
29346         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29347         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29348         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29349         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29350         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
29351         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
29352         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29353         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29354         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29355         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
29356         * sysdeps/ieee754/k_standard.c: Likewise.
29357         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29358         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29359         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29360         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29361         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29362         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29363         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29364         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29365         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29366         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29367         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29368         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29369         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29370         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29371         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29372         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29373         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29374         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29375         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29376         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
29377         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
29378         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
29379         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29380         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29381         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29382         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
29383         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29384         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29385         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29386         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29387         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29388         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29389         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29390         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29391         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29392         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29393         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29394         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
29395         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
29396         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29397         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29398         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29399         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29400         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29401         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29402         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29403         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29404         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29405         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29406         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29407         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29408         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29409         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29410         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
29411         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29412         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29413         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
29414         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
29415         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29416         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29417         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29418         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29419         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29420         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29421         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29422         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29423         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29424         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29425         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29426         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29427         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29428         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29429         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29430         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29431         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29432         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29433         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
29434         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29435         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29436         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29437         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29438         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29439         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29440         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29441         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
29442         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29443         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29444         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29445         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29446         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29447         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
29448         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29449         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
29450         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29451         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29452         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29453         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
29454         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
29455         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
29456         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
29457         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29458         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29459         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29460         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29461         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
29462         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29463         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29464         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
29465         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
29466         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29467         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29468         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29469         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29470         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29471         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29472         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29473         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29474         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29475         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29476         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29477         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29478         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29479         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29480         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29481         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29482         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
29483         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29484         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29485         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29486         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29487         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29488         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29489         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29490         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
29491         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29492         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29493         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
29494         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29495         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29496         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
29497         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
29498         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29499         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
29500         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
29501         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29502         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29503         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29504         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29505         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29506         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
29507         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29508         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29509         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29510         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29511         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
29512         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
29513         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29514         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29515         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29516         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29517         * sysdeps/ieee754/s_lib_version.c: Likewise.
29518         * sysdeps/ieee754/s_matherr.c: Likewise.
29519         * sysdeps/ieee754/s_signgam.c: Likewise.
29520         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29521         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29522         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
29523         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
29524         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
29525         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29526         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
29527         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
29528         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
29529         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
29530         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29531         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
29532         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29533         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29534         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
29535         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29536         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29537         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29538         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29539         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29540         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29542 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
29544         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
29545         * sunrpc/rpc_main.c: Likewise.
29546         * sunrpc/rpc_svcout.c: Likewise.
29548 2012-03-09  David S. Miller  <davem@davemloft.net>
29550         * include/math_private.h: New file.
29552 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
29554         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
29555         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
29556         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
29557         from <bits/socket_type.h>.
29558         (enum __socket_type): Don't define here.
29559         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
29560         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29561         bits/socket_type.h.
29563         [BZ #13566]
29564         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
29565         checking __USE_GNU.
29567         * Makerules ($(inst_includedir)/%.h): New rule.
29568         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
29569         (install-others): Remove variable setting.
29570         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
29572 2012-03-08  Richard Henderson  <rth@twiddle.net>
29574         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
29575         from macro to inline function; merge with the
29576         !__LIBC_INTERNAL_MATH_INLINES version.
29577         (__ieee754_sqrtf): Likewise.
29579         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
29580         to inline function.
29581         (__rintf, __floor, __floorf): Likewise.
29583         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
29584         macro to inline function.
29585         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
29587         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
29588         not <math/math_private.h>.
29590 2012-03-08  David S. Miller  <davem@davemloft.net>
29592         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
29593         copyright year.
29594         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29596 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
29598         * resolv/gai_misc.c (handle_requests): Fix struct timespec
29599         normalization.
29600         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
29601         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29603 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
29605         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
29606         be defined individually, they must be defined as a block.  Define
29607         S for printing a string instead of hidint the different by using a
29608         macro for adding the 'l'.
29609         * stdio-common/tst-fphex-wide.c: Adjust.
29611 2012-03-07  Marek Polacek  <polacek@redhat.com>
29613         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
29615 2012-03-08  Marek Polacek  <polacek@redhat.com>
29617         [BZ #13806]
29618         * stdio-common/Makefile (tests): Add tst-fphex-wide.
29619         * stdio-common/tst-fphex.c: Define a few macros to make the
29620         test reusable.  Use them.
29621         * stdio-common/tst-fphex-wide.c: New file.
29623 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
29625         [BZ #6911]
29626         * manual/macros.texi (gnusystems): New macro.
29627         (nongnusystems): Likewise.
29628         (gnulinuxhurdsystems): Likewise.
29629         (gnuhurdsystems): Likewise..
29630         (gnulinuxsystems): Likewise.
29631         * manual/charset.texi: Use new macros or @theglibc{} to refer to
29632         variants of the GNU system, not "GNU system".
29633         * manual/conf.texi: Likewise.
29634         * manual/errno.texi: Likewise.  Update example of errno macro
29635         expansion.
29636         * manual/filesys.texi: Likewise.
29637         (getumask): Document as specific to GNU/Hurd.
29638         * manual/install.texi: Likewise.  Reword some references to
29639         GNU/Linux.
29640         * manual/intro.texi: Likewise.
29641         * manual/io.texi: Likewise.
29642         (File Name Portability): Detail which constraints are inapplicable
29643         to all GNU systems and which are only inapplicable to GNU/Hurd.
29644         * manual/job.texi: Likewise.
29645         * manual/llio.texi: Likewise.
29646         (O_NOCTTY): Document as present on GNU/Linux.
29647         * manual/maint.texi: Likewise.
29648         * manual/memory.texi: Likewise.
29649         * manual/pattern.texi: Likewise.
29650         * manual/pipe.texi: Likewise.
29651         * manual/process.texi: Likewise.
29652         * manual/resource.texi: Likewise.
29653         (RUSAGE_CHILDREN): Remove statement about specifying a particular
29654         child on GNU/Hurd.
29655         * manual/setjmp.texi: Likewise.
29656         * manual/signal.texi: Likewise.
29657         * manual/startup.texi: Likewise.
29658         * manual/stdio.texi: Likewise.
29659         * manual/terminal.texi: Likewise.
29660         (ONLCR): Document as POSIX.
29661         (OXTABS): Document availability on GNU/Linux as XTABS.
29662         (ONOEOT): Document availability separately from other bits.
29663         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
29664         * manual/time.texi: Likewise.
29665         * manual/users.texi: Likewise.
29666         * INSTALL: Regenerated.
29667         * sysdeps/gnu/errlist.c: Regenerated.
29669         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
29670         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
29671         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
29672         puts.
29673         * configure: Regenerated.
29675 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
29677         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
29678         default includes instead of AC_HEADER_CHECK.
29679         * sysdeps/i386/configure: Regenerated.
29681         [BZ #10716]
29682         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
29683         * math/s_cacoshf.c (__cacoshf): Likewise.
29684         * math/s_cacoshl.c (__cacoshl): Likewise.
29685         * math/s_casinh.c (__casinh): Set signs of result from argument.
29686         * math/s_casinhf.c (__casinhf): Likewise.
29687         * math/s_casinhl.c (__casinhl): Likewise.
29688         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
29689         (casinh_test): Add more tests.
29690         * sysdeps/i386/fpu/libm-test-ulps: Update.
29691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29693 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
29695         * po/zh_TW.po: Update from translation team.
29697         * login/Makefile (distribute): Remove variable.
29698         * catgets/Makefile: Likewise.
29699         * mach/Makefile: Likewise.
29700         * malloc/Makefile: Likewise.
29701         * misc/Makefile: Likewise.
29702         * iconv/Makefile: Likewise.
29703         * nscd/Makefile: Likewise.
29704         * hurd/Makefile: Likewise.
29705         * manual/Makefile: Likewise.
29706         * locale/Makefile: Likewise.
29707         * intl/Makefile: Likewise.
29708         * conform/Makefile: Likewise.
29709         * nss/Makefile: Likewise.
29710         * time/Makefile: Likewise.
29711         * soft-fp/Makefile: Likewise.
29712         * dirent/Makefile: Likewise.
29713         * gmon/Makefile: Likewise.
29714         * po/Makefile: Likewise.
29715         * rt/Makefile: Likewise.
29716         * socket/Makefile: Likewise.
29717         * math/Makefile: Likewise.
29718         * signal/Makefile: Likewise.
29719         * debug/Makefile: Likewise.
29720         * elf/Makefile: Likewise.
29721         * timezone/Makefile: Likewise.
29722         * stdlib/Makefile: Likewise.
29723         * iconvdata/Makefile: Likewise.
29724         * sunrpc/Makefile: Likewise.
29725         * io/Makefile: Likewise.
29726         * argp/Makefile: Likewise.
29727         * inet/Makefile: Likewise.
29728         * hesiod/Makefile: Likewise.
29729         * grp/Makefile: Likewise.
29730         * csu/Makefile: Likewise.
29731         * wctype/Makefile: Likewise.
29732         * crypt/Makefile: Likewise.
29733         * libio/Makefile: Likewise.
29734         * string/Makefile: Likewise.
29735         * nis/Makefile: Likewise.
29736         * resolv/Makefile: Likewise.
29737         * stdio-common/Makefile: Likewise.
29738         * wcsmbs/Makefile: Likewise.
29739         * dlfcn/Makefile: Likewise.
29740         * posix/Makefile: Likewise.
29742         [BZ #6959]
29743         * timezone/Makefile: Don't install timezone files, just the programs
29744         and scripts.
29746 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
29748         * nss/databases.def: Add missing gshadow entry.
29750         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
29752 2012-03-06  Marek Polacek  <polacek@redhat.com>
29754         [BZ #13726]
29755         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
29756         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29757         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
29758         * stdio-common/tst-long-dbl-fphex.c: New file.
29760 2012-03-06  David S. Miller  <davem@davemloft.net>
29762         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29763         (set_obp_int): New function.
29764         (get_obp_int): New function.
29765         (__get_clockfreq_via_dev_openprom): Likewise.
29766         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
29767         Avoid unused variable warnings on 'val' and use builtin_expect.
29768         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
29769         __builtin_expect.
29770         (INLINE_CLONE_SYSCALL): Likewise.
29772 2012-03-05  David S. Miller  <davem@davemloft.net>
29774         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29776 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
29778         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29780         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29781         only for |x| >= 40.
29782         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29784 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
29786         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29787         Replace gettimeofday with __vdso_gettimeofday.
29789         * sysdeps/unix/sysv/linux/x86_64/init-first.c
29790         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29791         __vdso_clock_gettime and __vdso_getcpu.
29793         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29794         time with __vdso_time.
29796 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
29798         * manual/lang.texi (size_t): Note types to which size_t may be
29799         equivalent with the GNU C Library, but do not describe when
29800         differences between them are significant.
29802 2012-03-05  Andreas Jaeger  <aj@suse.de>
29804         * sysdeps/i386/fpu/libm-test-ulps: Update.
29806 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
29808         [BZ #3976]
29809         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29810         (__ieee754_pow): Save and restore rounding mode and use
29811         round-to-nearest for main computations.
29812         * math/libm-test.inc (pow_test_tonearest): New function.
29813         (pow_test_towardzero): Likewise.
29814         (pow_test_downward): Likewise.
29815         (pow_test_upward): Likewise.
29816         (main): Call the new functions.
29817         * sysdeps/i386/fpu/libm-test-ulps: Update.
29818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29820         [BZ #3976]
29821         * math/libm-test.inc (cosh_test_tonearest): New function.
29822         (cosh_test_towardzero): Likewise.
29823         (cosh_test_downward): Likewise.
29824         (cosh_test_upward): Likewise.
29825         (sinh_test_tonearest): Likewise.
29826         (sinh_test_towardzero): Likewise.
29827         (sinh_test_downward): Likewise.
29828         (sinh_test_upward): Likewise.
29829         (main): Call the new functions.
29830         * sysdeps/i386/fpu/libm-test-ulps: Update.
29831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29833 2012-03-05  Tom de Vries  <tom@codesourcery.com>
29835         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29836         default stack guard is set in last bytes.
29837         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29839 2012-03-05  Kees Cook  <keescook@chromium.org>
29841         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
29843         [BZ #13656]
29844         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29845         possibly allocate from heap instead of stack.
29846         * stdio-common/bug-vfprintf-nargs.c: New file.
29847         * stdio-common/Makefile (tests): Add nargs overflow test.
29849 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
29851         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29853 2012-03-03  Marek Polacek  <polacek@redhat.com>
29855         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29856         * math/math_private.h: Likewise.
29857         * stdlib/tst-strtod.c: Likewise.
29858         * sysdeps/i386/i486/bits/atomic.h: Likewise.
29859         * sysdeps/x86_64/bits/atomic.h: Likewise.
29861 2012-03-02  David S. Miller  <davem@davemloft.net>
29863         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29864         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29865         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29866         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29867         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29868         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29869         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29870         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29872 2012-03-02  Roland McGrath  <roland@hack.frob.com>
29874         [BZ #13792]
29875         * manual/examples/README: New file, says the example source files
29876         can be used under GPL>=2.
29877         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29878         line containing just "*/".
29879         * manual/examples/add.c: Add copyright header (GPL>=2).
29880         * manual/examples/argp-ex1.c: Likewise.
29881         * manual/examples/argp-ex2.c: Likewise.
29882         * manual/examples/argp-ex3.c: Likewise.
29883         * manual/examples/argp-ex4.c: Likewise.
29884         * manual/examples/atexit.c: Likewise.
29885         * manual/examples/db.c: Likewise.
29886         * manual/examples/dir.c: Likewise.
29887         * manual/examples/dir2.c: Likewise.
29888         * manual/examples/execinfo.c: Likewise.
29889         * manual/examples/filecli.c: Likewise.
29890         * manual/examples/filesrv.c: Likewise.
29891         * manual/examples/fmtmsgexpl.c: Likewise.
29892         * manual/examples/genpass.c: Likewise.
29893         * manual/examples/inetcli.c: Likewise.
29894         * manual/examples/inetsrv.c: Likewise.
29895         * manual/examples/isockad.c: Likewise.
29896         * manual/examples/longopt.c: Likewise.
29897         * manual/examples/memopen.c: Likewise.
29898         * manual/examples/memstrm.c: Likewise.
29899         * manual/examples/mkfsock.c: Likewise.
29900         * manual/examples/mkisock.c: Likewise.
29901         * manual/examples/mygetpass.c: Likewise.
29902         * manual/examples/pipe.c: Likewise.
29903         * manual/examples/popen.c: Likewise.
29904         * manual/examples/rprintf.c: Likewise.
29905         * manual/examples/search.c: Likewise.
29906         * manual/examples/select.c: Likewise.
29907         * manual/examples/setjmp.c: Likewise.
29908         * manual/examples/sigh1.c: Likewise.
29909         * manual/examples/sigusr.c: Likewise.
29910         * manual/examples/stpcpy.c: Likewise.
29911         * manual/examples/strdupa.c: Likewise.
29912         * manual/examples/strftim.c: Likewise.
29913         * manual/examples/strncat.c: Likewise.
29914         * manual/examples/subopt.c: Likewise.
29915         * manual/examples/swapcontext.c: Likewise.
29916         * manual/examples/termios.c: Likewise.
29917         * manual/examples/testopt.c: Likewise.
29918         * manual/examples/testpass.c: Likewise.
29919         * manual/examples/timeval_subtract.c: Likewise.
29921         [BZ #13792]
29922         * manual/time.texi (Elapsed Time): Move timeval_subtract example
29923         function to ...
29924         * manual/timeval_subtract.c.texi: ... here, new file.
29926 2012-03-02  David S. Miller  <davem@davemloft.net>
29928         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29930 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
29932         [BZ #3976]
29933         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29934         (__sin): Save and restore rounding mode and use round-to-nearest
29935         for all computations.
29936         (__cos): Save and restore rounding mode and use round-to-nearest
29937         for all computations.
29938         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29939         <fenv.h>.
29940         (tan): Save and restore rounding mode and use round-to-nearest for
29941         all computations.
29942         * math/libm-test.inc (cos_test_tonearest): New function.
29943         (cos_test_towardzero): Likewise.
29944         (cos_test_downward): Likewise.
29945         (cos_test_upward): Likewise.
29946         (sin_test_tonearest): Likewise.
29947         (sin_test_towardzero): Likewise.
29948         (sin_test_downward): Likewise.
29949         (sin_test_upward): Likewise.
29950         (tan_test_tonearest): Likewise.
29951         (tan_test_towardzero): Likewise.
29952         (tan_test_downward): Likewise.
29953         (tan_test_upward): Likewise.
29954         (main): Call the new functions.
29955         * sysdeps/i386/fpu/libm-test-ulps: Update.
29956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29958         [BZ #10135]
29959         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29960         small n, then large n, before computing and testing k+n.
29961         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29962         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29963         Likewise.
29964         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29965         Likewise.
29966         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29967         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29968         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29969         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29970         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29971         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29972         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29973         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29974         * math/libm-test.inc (scalbn_test): Add more tests.
29975         (scalbln_test): Likewise.
29977         * manual/filesys.texi (mode_t): Describe constraints on size and
29978         signedness, not exact equivalence to a particular type.
29979         (ino_t): Likewise.
29980         (ino64_t): Likewise.
29981         (dev_t): Likewise.
29982         (nlink_t): Likewise.
29983         (blkcnt_t): Likewise.
29984         (blkcnt64_t): Likewise.
29985         * manual/llio.texi (off_t): Likewise.
29987         [BZ #3976]
29988         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29989         (__ieee754_exp): Save and restore rounding mode and use
29990         round-to-nearest for all computations.
29991         * math/libm-test.inc (exp_test_tonearest): New function.
29992         (exp_test_towardzero): Likewise.
29993         (exp_test_downward): Likewise.
29994         (exp_test_upward): Likewise.
29995         (main): Call the new functions.
29996         * sysdeps/i386/fpu/libm-test-ulps: Update.
29997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29999 2012-03-01  Chris Demetriou  <cgd@google.com>
30001         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
30002         have predictable order.
30004 2012-03-01  David S. Miller  <davem@davemloft.net>
30006         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
30008         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
30009         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
30010         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
30011         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
30013         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
30014         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
30015         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
30016         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
30017         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
30018         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
30019         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
30020         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
30021         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
30023         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30025         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
30026         * sysdeps/sparc/fpu/libm-test-ulps: to here.
30027         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
30029         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
30030         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30031         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30032         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
30033         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
30034         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
30035         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
30036         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30037         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30038         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
30039         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
30040         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30041         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30042         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30043         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30044         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30045         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
30046         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
30047         * sysdeps/sparc/elf/configure: Regenerated.
30049 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
30051         * configure.in (AS, LD): Require binutils 2.20 or later.
30052         * configure: Regenerated.
30053         * manual/install.texi (Tools for Compilation): Give binutils 2.20
30054         as required minimum version.
30055         * INSTALL: Regenerated.
30057         [BZ #2541]
30058         [BZ #4108]
30059         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
30060         before squaring exponent.
30061         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
30062         bottom long double and 27 bits of top long double before squaring
30063         exponent.
30064         * math/libm-test.inc (erfc_test): Add more tests.
30065         * sysdeps/i386/fpu/libm-test-ulps: Update.
30066         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30069 2012-03-01  Kai Tietz  <ktietz@redhat.com>
30071         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
30072         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
30073         containing bit-fields.
30074         * soft-fp/extended.h (_FP_UNION_E): Likewise.
30075         * soft-fp/single.h (_FP_UNION_S): Likewise.
30076         * soft-fp/double.h (_FP_UNION_D): Likewise.
30078 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
30080         [BZ #13786]
30081         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
30082         not include ../strcmp.S.
30083         [USE_AS_STRNCASECMP_L]: Likewise.
30084         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
30085         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
30086         * sysdeps/i386/i686/multiarch/strncase_l-c.c
30087         (__strncasecmp_l_ia32): Define as alias to
30088         __strncasecmp_l_nonascii.
30090         [BZ #5794]
30091         * math/libm-test.inc (expm1_test): Add test for bug 5794.
30092         * sysdeps/i386/fpu/libm-test-ulps: Update.
30093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30095         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
30096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30098 2012-02-29  Jeff Law  <law@redhat.com>
30100         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
30101         out of bounds read.
30103 2012-02-29  Marek Polacek  <polacek@redhat.com>
30105         [BZ #13706]
30106         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
30107         * elf/Makefile: Add rules to run tst-unused-dep.out.
30109 2012-02-28  David S. Miller  <davem@davemloft.net>
30111         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
30112         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
30113         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
30114         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
30115         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
30116         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
30118 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
30120         * math/libm-test.inc (llround_test): Move one test from
30121         lround_test.  Use TEST_f_L in moved test.
30122         (lround_test): Move misplaced test to llround_test.  Add testcase
30123         from bug 2561.
30125 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
30127         * sysdeps/x86_64/fpu/e_expf.S: New file.
30128         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
30130 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
30132         [BZ #13637]
30133         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
30134         of remain_len that may cause incomplete multi-byte character and
30135         false match.
30136         * posix/bug-regex33.c: New file.
30137         * posix/Makefile (tests): Add bug-regex33.
30139 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
30141         * manual/macros.texi: New file.
30142         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
30143         * manual/libc.texinfo: Include macros.texi.
30144         * manual/creatute.texi: Likewise.
30145         * manual/install.texi: Likewise.
30146         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
30147         @glibcadj{} in references to the GNU C Library.
30148         * manual/charset.texi: Likewise.
30149         * manual/conf.texi: Likewise.
30150         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
30151         when not using those macros.
30152         * manual/creature.texi: Likewise.
30153         * manual/crypt.texi: Likewise.
30154         * manual/errno.texi: Likewise.
30155         * manual/filesys.texi: Likewise.
30156         * manual/header.texi: Likewise.
30157         * manual/install.texi: Likewise.
30158         * manual/intro.texi: Likewise.
30159         * manual/io.texi: Likewise.
30160         * manual/job.texi: Likewise.
30161         * manual/lang.texi: Likewise.
30162         * manual/libc.texiinfo: Likewise.
30163         * manual/llio.texi: Likewise.
30164         * manual/locale.texi: Likewise.
30165         * manual/maint.texi: Likewise.
30166         * manual/math.texi: Likewise.
30167         * manual/memory.texi: Likewise.
30168         * manual/message.texi: Likewise.
30169         * manual/nss.texi: Likewise.
30170         * manual/pattern.texi: Likewise.
30171         * manual/process.texi: Likewise.
30172         * manual/resource.texi: Likewise.
30173         * manual/search.texi: Likewise.
30174         * manual/setjmp.texi: Likewise.
30175         * manual/signal.texi: Likewise.
30176         * manual/socket.texi: Likewise.
30177         * manual/startup.texi: Likewise.
30178         * manual/stdio.texi: Likewise.
30179         * manual/string.texi: Likewise.
30180         * manual/sysinfo.texi: Likewise.
30181         * manual/syslog.texi: Likewise.
30182         * manual/terminal.texi: Likewise.
30183         * manual/time.texi: Likewise.
30184         * manual/users.texi: Likewise.
30185         * INSTALL: Regenerated.
30186         * NOTES: Regenerated.
30187         * sysdeps/gnu/errlist.c: Regenerated.
30189 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
30191         * include/dirent.h: Include <dirstream.h> before
30192         <dirent/dirent.h>.
30194 2012-02-28  David S. Miller  <davem@davemloft.net>
30196         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
30197         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
30198         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
30199         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
30201 2012-02-27  David S. Miller  <davem@davemloft.net>
30203         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
30204         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
30205         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
30206         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
30208         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
30209         frame pointer instead of stack pointer relative arg slot.
30210         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30211         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30212         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30214 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
30216         [BZ #3992]
30217         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
30219 2012-02-27  David S. Miller  <davem@davemloft.net>
30221         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
30222         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30223         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30224         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
30225         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30226         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30227         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
30228         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
30230 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
30232         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
30233         later.  Allow versions 5-9.
30234         * configure: Regenerated.
30235         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
30236         required minimum version and 4.6 as recommended version.  Do not
30237         mention bugs in GCC 2.7 and 2.8.
30238         * INSTALL: Regenerated.
30240 2012-02-27  David S. Miller  <davem@davemloft.net>
30242         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
30243         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
30244         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
30245         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
30246         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
30247         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
30248         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
30249         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
30251         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
30252         manipulate bits before adding and subtracting TWO112[sx].
30253         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30255 2012-02-27  Roland McGrath  <roland@hack.frob.com>
30257         [BZ #13775]
30258         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
30259         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
30260         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
30261         being in POSIX, because they are in 1003.1-2008.
30263         * rt/tst-aio.c: Include <fcntl.h>.
30264         * rt/tst-aio7.c: Likewise.
30265         * rt/tst-aio64.c: Likewise.
30267         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
30269 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
30271         * manual/install.texi (--with-headers): Describe headers as
30272         interface headers, not private headers.
30273         (Specific advice for GNU/Linux systems): Describe use of headers
30274         from "make headers_install", not private headers from older
30275         kernels.
30276         * INSTALL: Regenerated.
30277         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
30278         Change to 2.6.19.
30279         * sysdeps/unix/sysv/linux/configure: Regenerated.
30281         * manual/llio.texi (fclean): Remove documentation.
30283         * manual/Makefile (libc-texi-generated): New variable.  Include
30284         version.texi.
30285         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
30286         $(libc-texi-generated), not duplicated list of files.
30287         (version.texi, stamp-version): New rules.
30288         (realclean): Remove $(libc-texi-generated), not individual files
30289         from that list.  Do not remove dir-add.texinfo.
30290         * manual/libc.texinfo: Comment out uses of edition numbers and
30291         references to printed manual.  Remove last-updated dates.
30292         (EDITION): Comment out.
30293         (ISBN): Likewise.
30294         (VERSION, UPDATED): Remove.
30295         (version.texi): Include.
30297 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
30299         * sysdeps/posix/spawni.c: Include <signal.h>.
30300         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
30301         * sysdeps/pthread/aio_fsync.c: Likewise.
30303 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
30305         * conform/Makefile (tests): Run only when not cross-compiling and
30306         when fast-check is not defined.
30308         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
30309         * conform/data/limits.h-data: Fixes for POSIX2008.
30310         * conform/run-conformtest.sh: Run all tests.
30311         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
30312         headers.
30313         * include/bits/dlfcn.h: Likewise.
30314         * include/langinfo.h: Likewise.
30315         * include/monetary.h: Likewise.
30316         * include/sys/poll.h: Likewise.
30318         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
30319         for __USE_GNU.
30320         * posix/spawn.h: Define __need_sigset_t.
30321         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
30322         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
30323         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
30324         to get sigevent_t only.
30325         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
30326         only for __USE_GNU.
30327         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30328         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30329         process_vm_writev only for __USE_GNU.
30330         * termios/termios.h: Declare tcgetsid also for POSIX2008.
30332         * conform/Makefile: For now ignore errors from run-conformtest.
30333         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
30334         POSIX to avoid namespace pollution.  Don't prepend headers.
30335         * conform/data/aio.h-data: Fixes for POSIX testing.
30336         * conform/data/fcntl.h-data: Likewise.
30337         * conform/data/glob.h-data: Likewise.
30338         * conform/data/grp.h-data: Likewise.
30339         * conform/data/pthread.h-data: Likewise.
30340         * conform/data/pwd.h-data: Likewise.
30341         * conform/data/signal.h-data: Likewise.
30342         * conform/data/spawn.h-data: Likewise.
30343         * conform/data/stdio.h-data: Likewise.
30344         * conform/data/stdlib.h-data: Likewise.
30345         * conform/data/stropts.h-data: Likewise.
30346         * conform/data/sys/mman.h-data: Likewise.
30347         * conform/data/sys/stat.h-data: Likewise.
30348         * conform/data/sys/types.h-data: Likewise.
30349         * conform/data/sys/wait.h-data: Likewise.
30350         * conform/data/time.h-data: Likewise.
30351         * conform/data/unistd.h-data: Likewise.
30352         * conform/data/utime.h-data: Likewise.
30354         * io/sys/stat.h: fchmod was always in POSIX.
30355         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
30356         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
30357         * rt/aio.h: Define __need_timespec before including <time.h>.
30358         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
30359         struct.  Add forward declaration of pthread_attr_t and use it in
30360         sigevent.
30361         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30362         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30363         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
30364         always remove CLK_TCK definition.
30366 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
30368         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
30370 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
30372         * conform/run-conformtest.sh: New file.
30373         * conform/Makefile: Run run-conformtest for tests.
30374         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
30375         support.
30377         * conform/data/uchar.h-data: New file.
30378         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
30379         * conform/data/arpa/inet.h-data: Likewise.
30380         * conform/data/assert.h-data: Likewise.
30381         * conform/data/complex.h-data: Likewise.
30382         * conform/data/cpio.h-data: Likewise.
30383         * conform/data/ctype.h-data: Likewise.
30384         * conform/data/dirent.h-data: Likewise.
30385         * conform/data/dlfcn.h-data: Likewise.
30386         * conform/data/errno.h-data: Likewise.
30387         * conform/data/fcntl.h-data: Likewise.
30388         * conform/data/float.h-data: Likewise.
30389         * conform/data/fmtmsg.h-data: Likewise.
30390         * conform/data/fnmatch.h-data: Likewise.
30391         * conform/data/ftw.h-data: Likewise.
30392         * conform/data/glob.h-data: Likewise.
30393         * conform/data/grp.h-data: Likewise.
30394         * conform/data/iconv.h-data: Likewise.
30395         * conform/data/inttypes.h-data: Likewise.
30396         * conform/data/langinfo.h-data: Likewise.
30397         * conform/data/libgen.h-data: Likewise.
30398         * conform/data/limits.h-data: Likewise.
30399         * conform/data/locale.h-data: Likewise.
30400         * conform/data/math.h-data: Likewise.
30401         * conform/data/monetary.h-data: Likewise.
30402         * conform/data/mqueue.h-data: Likewise.
30403         * conform/data/ndbm.h-data: Likewise.
30404         * conform/data/net/if.h-data: Likewise.
30405         * conform/data/netdb.h-data: Likewise.
30406         * conform/data/netinet/in.h-data: Likewise.
30407         * conform/data/nl_types.h-data: Likewise.
30408         * conform/data/poll.h-data: Likewise.
30409         * conform/data/pthread.h-data: Likewise.
30410         * conform/data/pwd.h-data: Likewise.
30411         * conform/data/regex.h-data: Likewise.
30412         * conform/data/sched.h-data: Likewise.
30413         * conform/data/search.h-data: Likewise.
30414         * conform/data/semaphore.h-data: Likewise.
30415         * conform/data/setjmp.h-data: Likewise.
30416         * conform/data/signal.h-data: Likewise.
30417         * conform/data/spawn.h-data: Likewise.
30418         * conform/data/stdarg.h-data: Likewise.
30419         * conform/data/stdio.h-data: Likewise.
30420         * conform/data/stdlib.h-data: Likewise.
30421         * conform/data/string.h-data: Likewise.
30422         * conform/data/strings.h-data: Likewise.
30423         * conform/data/stropts.h-data: Likewise.
30424         * conform/data/sys/ipc.h-data: Likewise.
30425         * conform/data/sys/mman.h-data: Likewise.
30426         * conform/data/sys/msg.h-data: Likewise.
30427         * conform/data/sys/resource.h-data: Likewise.
30428         * conform/data/sys/select.h-data: Likewise.
30429         * conform/data/sys/sem.h-data: Likewise.
30430         * conform/data/sys/shm.h-data: Likewise.
30431         * conform/data/sys/socket.h-data: Likewise.
30432         * conform/data/sys/stat.h-data: Likewise.
30433         * conform/data/sys/statvfs.h-data: Likewise.
30434         * conform/data/sys/time.h-data: Likewise.
30435         * conform/data/sys/timeb.h-data: Likewise.
30436         * conform/data/sys/times.h-data: Likewise.
30437         * conform/data/sys/types.h-data: Likewise.
30438         * conform/data/sys/uio.h-data: Likewise.
30439         * conform/data/sys/un.h-data: Likewise.
30440         * conform/data/sys/utsname.h-data: Likewise.
30441         * conform/data/sys/wait.h-data: Likewise.
30442         * conform/data/syslog.h-data: Likewise.
30443         * conform/data/tar.h-data: Likewise.
30444         * conform/data/termios.h-data: Likewise.
30445         * conform/data/utime.h-data: Likewise.
30446         * conform/data/utmpx.h-data: Likewise.
30447         * conform/data/varargs.h-data: Likewise.
30448         * conform/data/wchar.h-data: Likewise.
30449         * conform/data/wctype.h-data: Likewise.
30450         * conform/data/wordexp.h-data: Likewise.
30452         * include/stropts.h: New file.
30453         * include/uchar.h: New file.
30454         * include/aio.h: Changes to allow conformtest.pl to use the headers.
30455         * include/assert.h: Likewise.
30456         * include/ctype.h: Likewise.
30457         * include/dirent.h: Likewise.
30458         * include/dlfcn.h: Likewise.
30459         * include/fcntl.h: Likewise.
30460         * include/fnmatch.h: Likewise.
30461         * include/glob.h: Likewise.
30462         * include/grp.h: Likewise.
30463         * include/libio.h: Likewise.
30464         * include/locale.h: Likewise.
30465         * include/math.h: Likewise.
30466         * include/net/if.h: Likewise.
30467         * include/netdb.h: Likewise.
30468         * include/netinet/in.h: Likewise.
30469         * include/pthread.h: Likewise.
30470         * include/pwd.h: Likewise.
30471         * include/regex.h: Likewise.
30472         * include/sched.h: Likewise.
30473         * include/search.h: Likewise.
30474         * include/setjmp.h: Likewise.
30475         * include/signal.h: Likewise.
30476         * include/stdio.h: Likewise.
30477         * include/stdlib.h: Likewise.
30478         * include/string.h: Likewise.
30479         * include/sys/cdefs.h: Likewise.
30480         * include/sys/mman.h: Likewise.
30481         * include/sys/msg.h: Likewise.
30482         * include/sys/resource.h: Likewise.
30483         * include/sys/select.h: Likewise.
30484         * include/sys/socket.h: Likewise.
30485         * include/sys/stat.h: Likewise.
30486         * include/sys/statvfs.h: Likewise.
30487         * include/sys/time.h: Likewise.
30488         * include/sys/times.h: Likewise.
30489         * include/sys/uio.h: Likewise.
30490         * include/sys/utsname.h: Likewise.
30491         * include/sys/wait.h: Likewise.
30492         * include/termios.h: Likewise.
30493         * include/time.h: Likewise.
30494         * include/ulimit.h: Likewise.
30495         * include/unistd.h: Likewise.
30496         * include/utime.h: Likewise.
30497         * include/wchar.h: Likewise.
30498         * include/wctype.h: Likewise.
30499         * include/wordexp.h: Likewise.
30501         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
30503         * time/time.h: TIME_UTC must be a macro.
30504         Make timespec_get available for ISO C11 only as well.
30506 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
30508         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
30509         Reported by Peng Haitao <penght@cn.fujitsu.com>.
30511 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
30513         * configure.in: Use -o not -a in test for unsupported multi-arch.
30515 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
30517         * manual/texinfo.tex: Update to version 2012-01-19.16.
30519 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
30521         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
30523 2012-02-24  Roland McGrath  <roland@hack.frob.com>
30525         [BZ #13738]
30526         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
30527         * manual/fdl-1.3.texi: New file.
30528         * manual/fdl-1.1.texi: File removed.
30530         [BZ #13738]
30531         * manual/libc.texinfo (FDL_VERSION): New @set.
30532         Use it for mention of FDL in cover text.
30533         (Documentation License): Use it in @include file name.
30535 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30536             Roland McGrath  <roland@hack.frob.com>
30538         [BZ #5461]
30539         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
30540         not LONG_LONG_MAX and LONG_LONG_MIN.
30541         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
30542         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
30543         name.
30544         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
30546 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30548         [BZ #2547]
30549         [BZ #11365]
30550         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
30551         manipulate bits before adding and subtracting TWO23[sx].
30552         * math/libm-test.inc (nearbyint_test): Add more tests.
30554 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30556         [BZ #2548]
30557         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
30558         bits before adding and subtracting TWO23[sx].
30559         * math/libm-test.inc (rint_test): Add more tests.
30560         (rint_test_tonearest): Likewise.
30561         (rint_test_towardzero): Likewise.
30562         (rint_test_downward): Likewise.
30563         (rint_test_upward: Likewise.
30565 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30567         [BZ #10110]
30568         * include/stdc-predef.h: New file.  Extracted from features.h.
30569         * include/features.h: Include stdc-predef.h.
30570         * Makefile (headers): Add stdc-predef.h.
30571         * CONFORMANCE (Compiler limitations): Update.
30573 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30575         * manual/libc.texinfo (VERSION, UPDATED): Revert.
30577 2012-02-21  David S. Miller  <davem@davemloft.net>
30579         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
30580         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30582 2012-02-20  David S. Miller  <davem@davemloft.net>
30584         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
30585         using a normal save/restore sequence, rather than allocating a
30586         dummy stack frame just to store a frame pointer and restore.
30587         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30589 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
30591         * manual/install.texi: Fix stray word in line-wrapped comment.
30593 2012-02-20  David S. Miller  <davem@davemloft.net>
30595         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
30596         both binutils and gcc support GOTDATA.
30598         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
30599         "rd %pc" in the PIC register setup sequences.
30601         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
30602         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30603         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30604         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
30605         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30606         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30607         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30608         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30609         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
30610         (SYSCALL_ERROR_HANDLER): Likewise.
30611         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30612         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30613         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
30614         (SYSCALL_ERROR_HANDLER): Likewise.
30616         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
30617         (HAVE_GCC_GOTDATA): New.
30618         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
30619         relocation support in both binutils and gcc.
30620         * sysdeps/sparc/elf/configure: Regenerate.
30622         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
30623         * sysdeps/sparc/sparc32/elf/configure: Delete.
30624         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
30625         * sysdeps/sparc/sparc64/elf/configure: Delete.
30626         * sysdeps/sparc/elf/configure.in: New file.
30627         * sysdeps/sparc/elf/configure: Generate.
30629         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
30630         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
30631         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30632         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
30633         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
30635 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
30637         * manual/install.texi: Do not mention specific glibc version
30638         numbers.
30639         * manual/libc.texinfo (VERSION, UPDATED): Update.
30640         (@copying): Use @copyright{} and range of years.
30642 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
30644         [BZ #13695]
30645         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
30646         [crti.S not in sysdirs] (generated): Do not append.
30647         [crti.S not in sysdirs] (omit-deps): Likewise.
30648         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
30649         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
30650         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
30651         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
30652         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
30653         Likewise.
30654         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
30655         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
30656         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
30657         * csu/defs.awk: Remove file.
30658         * sysdeps/generic/initfini.c: Likewise.
30659         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
30660         variable.
30661         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
30662         Likewise.
30664 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
30666         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
30667         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
30668         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
30669         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
30670         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30671         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
30672         <bits/epoll.h>.
30673         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
30674         (__EPOLL_PACKED): Define to empty if not defined by
30675         <bits/epoll.h>.
30676         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
30677         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30678         bits/epoll.h.
30680 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
30682         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
30683         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
30684         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
30685         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
30686         <bits/timerfd.h>.
30687         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
30688         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30689         bits/timerfd.h.
30691 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
30693         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
30694         in C locale.
30695         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30696         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30697         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
30698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30700 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
30702         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30703         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30705 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
30707         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
30708         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
30709         defined.
30710         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
30711         Likewise.
30712         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
30713         entry for 2.16.
30715 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
30717         * math/w_acos.c: Use non-signaling floating-point comparisons.
30718         * math/w_acosf.c: Likewise.
30719         * math/w_acosh.c: Likewise.
30720         * math/w_acoshf.c: Likewise.
30721         * math/w_acoshl.c: Likewise.
30722         * math/w_acosl.c: Likewise.
30723         * math/w_asin.c: Likewise.
30724         * math/w_asinf.c: Likewise.
30725         * math/w_asinl.c: Likewise.
30726         * math/w_atanh.c: Likewise.
30727         * math/w_atanhf.c: Likewise.
30728         * math/w_atanhl.c: Likewise.
30729         * math/w_exp2.c: Likewise.
30730         * math/w_exp2f.c: Likewise.
30731         * math/w_exp2l.c: Likewise.
30732         * math/w_j0.c: Likewise.
30733         * math/w_j0f.c: Likewise.
30734         * math/w_j0l.c: Likewise.
30735         * math/w_j1.c: Likewise.
30736         * math/w_j1f.c: Likewise.
30737         * math/w_j1l.c: Likewise.
30738         * math/w_jn.c: Likewise.
30739         * math/w_jnf.c: Likewise.
30740         * math/w_log.c: Likewise.
30741         * math/w_log10.c: Likewise.
30742         * math/w_log10f.c: Likewise.
30743         * math/w_log10l.c: Likewise.
30744         * math/w_log2.c: Likewise.
30745         * math/w_log2f.c: Likewise.
30746         * math/w_log2l.c: Likewise.
30747         * math/w_logf.c: Likewise.
30748         * math/w_logl.c: Likewise.
30749         * math/w_sqrt.c: Likewise.
30750         * math/w_sqrtf.c: Likewise.
30751         * math/w_sqrtl.c: Likewise.
30752         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30753         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30754         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30755         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30756         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30758 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
30760         [BZ #9739]
30761         * manual/string.texi (strnlen): Use correct parameter name in
30762         equivalent expression.
30764 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
30766         [BZ #11174]
30767         * manual/users.texi (seteuid): Consistently use neweuid for
30768         argument name.
30770 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
30772         [BZ #13704]
30773         * manual/nss.texi (Services in the NSS configuration): Correct
30774         list of services in example configuration file.
30776 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
30778         [BZ #11322]
30779         * manual/arith.texi: Remove statements about negative zero
30780         behaving identically to zero.
30782 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
30784         [BZ #5993]
30785         * manual/install.texi: Do not document upgrading from libc5.
30787 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
30789         [BZ #4596]
30790         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30792 2012-02-18  David S. Miller  <davem@davemloft.net>
30794         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30795         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30796         %o7 across the call.
30797         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30798         instead.
30799         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30800         SETUP_PIC_REG_LEAF.
30801         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30802         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30803         * sysdeps/sparc/crtn.S: Likewise.
30805 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
30807         * aout/Makefile: Remove.
30809 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
30811         [BZ #13058]
30812         * manual/examples/argp-ex1.c (main): Format definition in GNU
30813         style.
30814         * manual/examples/argp-ex2.c (main): Likewise.
30815         * manual/examples/argp-ex3.c (main): Likewise.
30816         * manual/examples/argp-ex4.c (main): Likewise.
30817         * manual/examples/longopt.c (main): Use new-style prototype
30818         definition.
30819         * manual/examples/strncat.c (main): Specify return type and use
30820         (void) for arguments.
30821         * manual/examples/subopt.c (main): Use char **argv argument.
30823 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30825         [BZ #5077]
30826         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30827         rounding modes.
30829 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
30831         [BZ #6907]
30832         * manual/string.texi (strchr): Change when strchrnul is
30833         recommended.
30835 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
30837         [BZ #174]
30838         * manual/locale.texi (setlocale): Document LOCPATH.
30840 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30842         [BZ #10210]
30843         * manual/process.texi (execle): Move @dots{} before last argument.
30845 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
30847         [BZ #12047]
30848         * manual/charset.texi (Generic Charset Conversion): Fix typo
30849         (LC_TYPE -> LC_CTYPE).
30851 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
30853         [BZ #5805]
30854         * manual/arith.texi (scalbn): Use @var{} on parameter names.
30855         (scalbnf): Likewise.
30856         (scalbnl): Likewise.
30857         (scalbln): Likewise.
30858         (scalblnf): Likewise.
30859         (scalblnl): Likewise.
30860         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30861         (vwarnx): Likewise.
30862         (verr): Likewise.
30863         (verrx): Likewise.
30864         * manual/filesys.texi (telldir): Use braces around return type.
30865         * manual/llio.texi (mmap): Add space after comma.
30866         (mmap64): Likewise.
30867         * manual/math.texi (jn): Use @var{} on parameter names.
30868         (jnf): Likewise.
30869         (jnl): Likewise.
30870         (yn): Likewise.
30871         (ynf): Likewise.
30872         (ynl): Likewise.
30873         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30874         line.
30875         * manual/resource.texi (ulimit): Use @dots{} instead of literal
30876         "...".
30877         (sched_get_priority_min): Remove semicolon on @deftypefun line.
30878         (sched_get_priority_max): Likewise.
30879         * manual/signal.texi (sigvec): Add space after comma.
30880         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30881         names.
30882         (if_indextoname): Likewise.
30883         (if_freenameindex): Likewise.
30884         (sendto): Use ',' instead of '.' in prototype.
30885         * manual/startup.texi (syscall): Use @dots{} instead of literal
30886         "...".
30887         * manual/stdio.texi (__fpending): Separate initial words of
30888         paragraph from @deftypefun line.
30889         * manual/syslog.texi (syslog): Use @dots{} instead of literal
30890         "...".
30891         (vsyslog): Use @var{} on parameter names.
30892         * manual/terminal.texi (stty): Use @var{} on parameter names.
30893         * manual/users.texi (getutmp): Use @var{} on parameter names.
30894         (getutmpx): Likewise.
30896 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30898         [BZ #6884]
30899         * manual/stdio.texi (fopen): Fix typos in description of
30900         ",ccs=STRING".
30902 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
30904         [BZ #4026]
30905         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30906         get clock_id definition.
30908 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
30910         [BZ #4822]
30911         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30912         (madvise): Cast every argument to void on its own.
30914 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30916         [BZ #9902]
30917         * manual/startup.texi (Exit Status): Fix typo.
30919 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30921         [BZ #10140]
30922         * manual/examples/argp-ex1.c: Include <stdlib.h>.
30923         * manual/examples/argp-ex2.c: Likewise.
30924         * manual/examples/argp-ex3.c: Likewise.
30926 2012-02-16  Richard Henderson  <rth@redhat.com>
30928         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30929         * sysdeps/s390/s390-32/initfini.c: Remove.
30930         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30931         * sysdeps/s390/s390-64/initfini.c: Remove.
30933 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30935         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30936         compiler output for sysdeps/generic/initfini.c.
30937         * sysdeps/sh/elf/initfini.c: Remove file.
30939 2012-02-16  David S. Miller  <davem@davemloft.net>
30941         [BZ #11494]
30942         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30944         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30945         * sysdeps/sparc/crti.S: New file.
30946         * sysdeps/sparc/crtn.S: New file.
30947         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30948         * sysdeps/sparc/sparc64/Makefile: Likewise.
30950 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
30952         [BZ #3335]
30953         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30955 2012-02-15  Roland McGrath  <roland@hack.frob.com>
30957         [BZ #4822]
30958         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30960         * mach/devstream.c (cookie_io_functions_t): Macro removed.
30961         (write, read, close): Likewise.
30962         Patch by Aurelien Jarno <aurelien@aurel32.net>.
30964 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
30966         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30967         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30968         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30969         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30970         <bits/signalfd.h>.
30971         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30972         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30973         bits/signalfd.h.
30975 2012-02-14  Marek Polacek  <polacek@redhat.com>
30977         * sysdeps/x86_64/crti.S: New file.
30978         * sysdeps/x86_64/crtn.S: New file.
30979         * sysdeps/x86_64/elf/initfini.c: Remove file.
30981 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
30983         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30984         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30985         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30986         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30987         <bits/inotify.h>.
30988         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30989         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30990         bits/inotify.h.
30992 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
30994         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30995         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30996         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30997         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30998         <bits/eventfd.h>.
30999         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
31000         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31001         bits/eventfd.h.
31003 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
31005         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
31006         __feraiseexcept instead of feraiseexcept.
31008         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
31009         nanosleep invocations.
31010         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
31011         strings, and add error checking for a nanosleep invocations.
31013 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
31015         Replace FSF snail mail address with URLs, as per GNU coding standards.
31016         Most of the snail mail addresses were wrong anyway, and omitting
31017         them makes the source code easier to maintain.  Almost all of the
31018         changes are to license notices and to locale LC_IDENTIFICATION
31019         addresses, except for this one:
31020         * manual/libc.texinfo: In "Published by", give the FSF's URL,
31021         not its snail mail address.
31023 2012-02-09  Richard Henderson  <rth@twiddle.net>
31025         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
31026         of kernel-features.h.
31028         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
31030 2012-02-08  Marek Polacek  <polacek@redhat.com>
31032         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
31033         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
31034         * sysdeps/gnu/_G_config.h: Likewise.
31035         * sysdeps/generic/_G_config.h: Likewise.
31037 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
31039         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
31040         tests.
31041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31043         * sysdeps/powerpc/powerpc32/crti.S: New file.
31044         * sysdeps/powerpc/powerpc32/crtn.S: New file.
31045         * sysdeps/powerpc/powerpc64/crti.S: New file.
31046         * sysdeps/powerpc/powerpc64/crtn.S: New file.
31048         * Makeconfig (have-initfini): Don't set.
31049         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
31050         * configure.in (nopic_initfini): Don't substitute.
31051         * config.h.in (HAVE_INITFINI): Don't #undef.
31052         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
31053         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
31055 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
31057         Support crti.S and crtn.S provided directly by architectures.
31058         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
31059         [crti.S in sysdirs] (omit-deps): Likewise.
31060         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
31061         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
31062         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
31063         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
31064         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
31065         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
31066         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
31067         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
31068         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
31069         compiler output for sysdeps/generic/initfini.c.
31070         * sysdeps/i386/elf/Makefile: Remove file.
31071         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
31073 2012-02-07  Marek Polacek  <polacek@redhat.com>
31075         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
31076         * sysdeps/gnu/_G_config.h: Likewise.
31077         * sysdeps/mach/hurd/_G_config.h: Likewise.
31079 2012-02-07  Marek Polacek  <polacek@redhat.com>
31081         * math/Makefile (tests): Add tst-CMPLX2.
31082         * math/tst-CMPLX2.c: New file.
31084 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
31086         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31088         * math/libm-test.inc (jn_test): Add missing L suffix.
31090 2012-02-06  Marek Polacek  <polacek@redhat.com>
31092         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
31093         * sysdeps/i386/fpu/e_powf.S: Likewise.
31094         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31095         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
31096         * sysdeps/i386/fpu/e_acosh.S: Likewise.
31097         * sysdeps/i386/fpu/e_pow.S: Likewise.
31098         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31099         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31100         * sysdeps/i386/fpu/s_expm1.S: Likewise.
31101         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31102         * sysdeps/i386/fpu/e_log2.S: Likewise.
31103         * sysdeps/i386/fpu/e_log2l.S: Likewise.
31104         * sysdeps/i386/fpu/e_scalb.S: Likewise.
31105         * sysdeps/i386/fpu/e_powl.S: Likewise.
31106         * sysdeps/i386/fpu/s_log1p.S: Likewise.
31107         * sysdeps/i386/fpu/e_log10f.S: Likewise.
31108         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31109         * sysdeps/i386/fpu/e_logl.S: Likewise.
31110         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31111         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
31112         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31113         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31114         * sysdeps/i386/fpu/e_log2f.S: Likewise.
31115         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31116         * sysdeps/i386/fpu/e_log.S: Likewise.
31117         * sysdeps/i386/fpu/s_cexp.S: Likewise.
31118         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31119         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
31120         * sysdeps/i386/fpu/e_logf.S: Likewise.
31121         * sysdeps/i386/fpu/e_log10l.S: Likewise.
31122         * sysdeps/i386/fpu/e_atanh.S: Likewise.
31123         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
31124         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31125         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
31126         * sysdeps/i386/fpu/e_log10.S: Likewise.
31127         * sysdeps/i386/fpu/s_frexp.S: Likewise.
31128         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31129         * sysdeps/i386/fpu/s_asinh.S: Likewise.
31130         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31131         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31132         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31133         * sysdeps/i386/asm-syntax.h: Likewise.
31134         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31135         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31136         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31137         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
31138         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
31139         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31140         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31141         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31142         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31143         * sysdeps/powerpc/sysdep.h: Likewise.
31144         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
31145         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31147 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
31149         [BZ #411]
31150         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
31152 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
31154         * sysdeps/i386/sysdep.h: Include <features.h>.
31155         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
31156         version.
31158 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
31160         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
31161         Define.
31162         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
31163         LOAD_PIC_REG_STR.
31165 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
31167         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
31168         (SETUP_PIC_REG): Use GET_PC_THUNK.
31169         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
31170         macro.
31172 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
31174         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
31175         for non-PIC compilation.
31176         (SETUP_PIC_REG): Add .p2align directive.
31177         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
31178         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
31179         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31180         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31181         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31182         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31183         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
31184         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31185         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31186         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31187         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31188         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31189         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31190         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31191         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31192         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31193         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31194         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31195         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31196         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31197         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31198         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31199         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31200         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31201         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31202         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31203         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31204         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31205         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31206         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31207         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31208         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31209         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31210         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31211         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31212         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31213         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31214         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31215         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31216         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31217         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31219 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
31221         * math/tst-CMPLX.c: Include <stdio.h>.
31223 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
31225         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
31226         float.
31227         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31228         * sysdeps/sparc/bits/mathdef.h: Likewise.
31230 2012-01-31  Marek Polacek  <polacek@redhat.com>
31232         * libio/libio.h: Don't define _PARAMS.
31233         * locale/programs/config.h: Don't define PARAMS.
31234         * stdlib/strtol_l.c: Likewise.
31235         (__strtol_l): Remove PARAMS from the prototype.
31237 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
31239         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
31240         names.  Just use the correct names.  Remove unnecessary wrapper
31241         functions.
31242         * malloc/arena.c: Likewise.
31243         * malloc/hooks.c: Likewise.
31245         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
31246         ARENA_TEST says not to.  Simplify test for creation of a new arena.
31247         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
31249 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
31251         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
31252         into tail calls.
31253         (update_get_addr): New function.
31254         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
31255         GET_ADDR_MODULE parameter.
31257 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
31259         * crypt/cert.c: Remove __STDC__ conditionals.
31260         * crypt/crypt-entry.c: Likewise.
31261         * crypt/crypt_util.c: Likewise.
31262         * libio/filedoalloc.c: Likewise.
31263         * libio/fileops.c: Likewise.
31264         * libio/genops.c: Likewise.
31265         * libio/iofclose.c: Likewise.
31266         * libio/iofdopen.c: Likewise.
31267         * libio/iofopen.c: Likewise.
31268         * libio/iofopen64.c: Likewise.
31269         * libio/iogetdelim.c: Likewise.
31270         * libio/iopopen.c: Likewise.
31271         * libio/obprintf.c: Likewise.
31272         * libio/oldfileops.c: Likewise.
31273         * libio/oldiofclose.c: Likewise.
31274         * libio/oldiofdopen.c: Likewise.
31275         * libio/oldiofopen.c: Likewise.
31276         * libio/oldiopopen.c: Likewise.
31277         * libio/wfiledoalloc.c: Likewise.
31278         * libio/wgenops.c: Likewise.
31279         * locale/programs/xmalloc.c: Likewise.
31280         * misc/syslog.c: Likewise.
31281         * stdio-common/xbug.c: Likewise.
31282         * string/memchr.c: Likewise.
31283         * string/memcmp.c: Likewise.
31284         * string/memrchr.c: Likewise.
31285         * string/rawmemchr.c: Likewise.
31286         * sysdeps/posix/getcwd.c: Likewise.
31287         * time/strftime_l.c: Likewise.
31289 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
31291         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
31292         * config.make.in (config-cflags-sse2avx): Define.
31293         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
31294         Fix typo.
31296 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
31298         * scripts/config.guess: Update from upstream config git repository.
31299         * scripts/config.sub: Likewise.
31301 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
31303         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
31304         (EM_NUM): Update.
31305         (R_TILEPRO_*, R_TILEGX_*): New macros.
31307         * scripts/firstversions.awk: Fix bug in version range handling.
31309         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
31311         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
31313         * include/sys/epoll.h: New file.
31314         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
31315         libc_hidden_def.
31317 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
31319         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
31320         Avoid unnecessary __WORDSIZE == 64 test.
31321         (fmaxf): Use VEX format if possible.
31322         (fmax): Likewise.
31323         (fminf): Likewise.
31324         (fmin): Likewise.
31326         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
31327         * math/math_private.h: Remove libc_fegetround* and
31328         libc_fesetround*.
31329         * sysdeps/i386/configure.in: Check for -msse2avx.
31330         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
31331         also if SSE2AVX is defined.
31332         Remove libc_fegetround* and libc_fesetround*.
31333         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
31334         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
31335         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
31336         of HAS_YMM_USABLE.
31337         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31338         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31339         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31340         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31341         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31343         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
31345 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31347         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
31348         size is not set.
31349         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31351 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
31353         [BZ #13618]
31354         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
31355         relocation.
31356         * Makeconfig (libm): Define.
31357         * elf/Makefile: Add rules to build and run tst-relsort1.
31358         * elf/tst-relsort1.c: New file.
31359         * elf/tst-relsort1mod1.c: New file.
31360         * elf/tst-relsort1mod2.c: New file.
31362 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
31364         * math/s_ldexp.c: Remove __STDC__ conditionals.
31365         * math/s_ldexpf.c: Likewise.
31366         * math/s_ldexpl.c: Likewise.
31367         * math/s_nextafter.c: Likewise.
31368         * math/s_nexttowardf.c: Likewise.
31369         * math/s_significand.c: Likewise.
31370         * math/s_significandf.c: Likewise.
31371         * math/s_significandl.c: Likewise.
31372         * math/w_jnl.c: Likewise.
31373         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
31374         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
31375         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
31376         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
31377         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
31378         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31379         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
31380         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31381         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31382         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31383         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31384         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31385         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31386         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
31387         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31388         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31389         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31390         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31391         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31392         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31393         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31394         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31395         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31396         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31397         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31398         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31399         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31400         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31401         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
31402         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31403         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31404         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
31405         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31406         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
31407         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
31408         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31409         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
31410         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
31411         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
31412         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
31413         * sysdeps/ieee754/k_standard.c: Likewise.
31414         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31415         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31416         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
31417         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
31418         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
31419         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
31420         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31421         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
31422         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
31423         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
31424         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
31425         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
31426         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
31427         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
31428         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
31429         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
31430         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
31431         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31432         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31433         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
31434         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31435         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31436         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
31437         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
31438         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31439         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31440         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31441         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31442         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31443         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
31444         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
31445         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
31446         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31447         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
31448         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
31449         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
31450         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
31451         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31452         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
31453         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
31454         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
31455         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
31456         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
31457         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
31458         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
31459         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31460         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31461         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31462         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
31463         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
31464         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
31465         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31466         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31467         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
31468         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
31469         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
31470         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
31471         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31472         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31473         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31474         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31475         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
31476         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
31477         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31478         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31479         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31480         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31481         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
31482         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
31483         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31484         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31485         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31486         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31487         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
31488         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
31489         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31490         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
31491         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
31492         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
31493         * sysdeps/ieee754/s_matherr.c: Likewise.
31494         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
31495         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31496         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31497         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31499 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
31501         * crypt/md5.h: Remove __STDC__ conditionals.
31502         * libio/libioP.h: Likewise.
31503         * locale/programs/config.h: Likewise.
31504         * sysdeps/generic/sysdep.h: Likewise.
31505         * sysdeps/i386/asm-syntax.h: Likewise.
31506         * sysdeps/s390/asm-syntax.h: Likewise.
31507         * sysdeps/unix/sysdep.h: Likewise.
31508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31511 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
31513         * libio/libio.h: Remove __STDC__ conditionals.
31514         * malloc/obstack.h: Likewise.
31515         * math/complex.h: Likewise.
31516         * math/math.h: Likewise.
31517         * sysdeps/generic/_G_config.h: Likewise.
31518         * sysdeps/gnu/_G_config.h: Likewise.
31519         * sysdeps/mach/hurd/_G_config.h: Likewise.
31520         * sysdeps/powerpc/bits/mathdef.h: Likewise.
31521         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31522         * sysdeps/sparc/bits/mathdef.h: Likewise.
31524 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
31526         [BZ #13583]
31527         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
31528         Clean up HAS_* macros.
31529         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
31530         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
31531         possible.
31532         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
31533         HAS_AVX.
31534         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31535         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31536         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31537         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31538         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31540 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
31542         * elf/tst-unique3.cc (gets): Remove declaration.
31543         * elf/tst-unique3lib.cc (gets): Likewise.
31544         * elf/tst-unique3lib2.cc (gets): Likewise.
31545         * elf/tst-unique4.cc (gets): Likewise.
31547 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
31549         * include/stdio.h: Add C++ protection.  Add gets declarations and
31550         definitions.
31551         * debug/tst-chk1.c: Don't declare gets here.
31552         * stdio-common/tst-gets.c: Likewise.
31554 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
31556         * posix/glob: Remove directory.
31558 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
31560         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
31562 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
31564         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
31565         of the non-standard EPFNOSUPPORT.
31567 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31569         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
31570         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
31571         ANYWHERE set to 1 only on KERN_NO_SPACE error.
31573 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
31575         * wcsmbs/uchar.h: Test __STDC_VERSION__.
31577 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
31579         * nscd/aicache.c (addhstaiX): Do not cache negative results of
31580         transient errors.
31581         * nscd/grpcache.c (cache_addgr): Likewise.
31582         * nscd/hstcache.c (cache_addhst): Likewise.
31583         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31584         * nscd/pwdcache.c (cache_addpw): Likewise.
31585         * nscd/servicescache.c (cache_addserv): Likewise.
31587 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
31589         * malloc/malloc.c: Various cleanups.
31590         * malloc/hooks.c: Likewise.
31592         * stdlib/Makefile (tests): Add bug-fmtmsg1.
31593         * stdlib/bug-fmtmsg1.c: New file.
31595         * stdlib/fmtmsg.c (init): Add missing unlock.
31596         Patch by Peng Haitao <penght@cn.fujitsu.com>.
31598 2012-01-12  Marek Polacek  <polacek@redhat.com>
31600         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
31601         and _GNU_SOURCE.
31603 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
31605         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
31606         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
31607         macro to ensure uniqueness of label name.
31608         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31609         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31611 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
31613         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
31615         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
31616         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
31617         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31618         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
31620 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
31622         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
31624         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
31625         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
31626         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31628         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
31630         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
31631         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
31632         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
31633         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
31635         * math/bits/math-finite.h: Add ldexp support.
31637 2012-01-10  Marek Polacek  <polacek@redhat.com>
31639         * locale/programs/localedef.h (show_archive_content): Add noreturn
31640         attribute.
31642 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
31644         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
31646 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
31648         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
31650         * io/Makefile (headers): Add bits/poll2.h.
31652 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
31654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
31655         typo #include statement.
31657 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
31659         * include/sys/cdefs.h: Define __attribute_alloc_size.
31660         * catgets/gencat.c: Add alloc_size attribute and apply consistently
31661         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
31662         * elf/pldd.c: Likewise.
31663         * iconv/iconv_charmap.c: Likewise.
31664         * iconv/iconvconfig.c: Likewise.
31665         * iconv/strtab.c: Likewise.
31666         * locale/programs/locale.c: Likewise.
31667         * locale/programs/localedef.h: Likewise.
31668         * locale/programs/simple-hash.c: Likewise.
31669         * nscd/nscd.h: Likewise.
31670         * nss/makedb.c: Likewise.
31671         * sysdeps/generic/ldconfig.h: Likewise.
31672         * locale/programs/localedef.c: Remove xmalloc prototype.
31673         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
31675 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
31677         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
31678         appropriate.
31680 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
31682         * math/Makefile (tests): Add tst-CMPLX.
31683         * math/tst-CMPLX.c: New file.
31685         * math/complex.h (CMPLXL): Fix typo.
31687         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
31688         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
31689         GLIBC_2.16.
31690         * debug/tst-chk1.c: Add poll and ppoll tests.
31691         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
31692         * include/sys/poll.h: Add hidden proto for ppoll.
31693         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
31694         * sysdeps/mach/hurd/ppoll.c: Likewise.
31695         * io/ppoll.c: Likewise.
31696         * debug/poll_chk.c: New file.
31697         * debug/ppoll_chk.c: New file.
31698         * include/bits/poll2.h: New file.
31699         * io/bits/poll2.h: New file.
31701         [BZ #1350]
31702         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
31704         * configure.in: static is always set to yes.  Remove.
31705         * config.make.in: Don't set build-static.
31706         * Makeconfig: Remove use of build-static.
31707         * dlfcn/Makefile: Likewise.
31708         * elf/Makefile: Likewise.
31709         * math/Makefile: Likewise.
31710         * misc/Makefile: Likewise.
31711         * nptl/Makefile: Likewise.
31712         * sysdeps/mach/hurd/Makefile: Likewise.
31714         * configure.in: PWD_P is not used anymore.
31715         * config.make.in: Remove PWD_P entry.
31717         * configure.in: Remove last remnants of RANLIB.
31718         No need to check for signed size_t anymore.
31719         Don't set libc_commonpagesize and libc_relro_required here for Alpha
31720         and IA-64.
31721         Remove __builtin_expect test because we require at least gcc 3.4.
31722         * aclocal.m4: Likewise.
31724         * wcsmbs/mbrtoc16.c: Implement using towc function.
31725         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
31726         * wcsmbs/wcsmbsload.c: Likewise.
31727         * iconv/gconv_simple.c: Likewise.
31728         * iconv/gconv_int.h: Likewise.
31729         * iconv/gconv_builtin.h: Likewise.
31730         * iconv/iconv_prog.c: Remove CHAR16 handling.
31732         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
31734         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
31736         * configure.in: Remove --with-elf and --enable-bounded options.
31737         Dont set base_machine for ia64.  More non-ELF conditions removed.
31738         Remove testing and setting of leading underscore information.
31739         * config.make.in (build-bounded): Set to no.
31740         * config.h.in: Remove NO_UNDERSCORES entry.
31741         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
31742         them.
31743         * csu/start.c: Remove !NO_UNDERSCORE code.
31744         * locale/localeinfo.h: Likewise.
31745         * sysdeps/generic/machine-gmon.h: Likewise.
31746         * sysdeps/generic/sysdep.h: Likewise.
31747         * sysdeps/i386/sysdep.h: Likewise.
31748         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31749         * sysdeps/mach/sysdep.h: Likewise.
31750         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31751         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31752         * sysdeps/sh/sysdep.h: Likewise.
31753         * sysdeps/sparc/sparc32/alloca.S: Likewise.
31754         * sysdeps/unix/i386/sysdep.S: Likewise.
31755         * sysdeps/unix/sparc/start.c: Likewise.
31756         * sysdeps/unix/sparc/sysdep.S: Likewise.
31757         * sysdeps/unix/sparc/sysdep.h: Likewise.
31758         * sysdeps/unix/start.c: Likewise.
31759         * sysdeps/unix/x86_64/sysdep.S: Likewise.
31760         * sysdeps/x86_64/sysdep.h: Likewise.
31762 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
31764         [BZ #13553]
31765         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
31766         for non-gcc.
31767         * argp/argp-fmtstream.h: Use const instead __const.
31768         * argp/argp.h: Likewise.
31769         * assert/assert.h: Likewise.
31770         * bits/fenv.h: Likewise.
31771         * bits/sched.h: Likewise.
31772         * bits/sigset.h: Likewise.
31773         * bits/sigthread.h: Likewise.
31774         * catgets/nl_types.h: Likewise.
31775         * conform/data/pthread.h-data: Likewise.
31776         * crypt/crypt-private.h: Likewise.
31777         * crypt/crypt.h: Likewise.
31778         * crypt/crypt_util.c: Likewise.
31779         * ctype/ctype.h: Likewise.
31780         * debug/execinfo.h: Likewise.
31781         * debug/mbsnrtowcs_chk.c: Likewise.
31782         * debug/mbsrtowcs_chk.c: Likewise.
31783         * debug/wcsnrtombs_chk.c: Likewise.
31784         * debug/wcsrtombs_chk.c: Likewise.
31785         * debug/wcstombs_chk.c: Likewise.
31786         * dirent/dirent.h: Likewise.
31787         * dlfcn/dlfcn.h: Likewise.
31788         * elf/neededtest4.c: Likewise.
31789         * grp/grp.h: Likewise.
31790         * gshadow/gshadow.h: Likewise.
31791         * iconv/gconv.h: Likewise.
31792         * iconv/gconv_int.h: Likewise.
31793         * iconv/gconv_simple.c: Likewise.
31794         * iconv/iconv.h: Likewise.
31795         * iconv/loop.c: Likewise.
31796         * iconv/skeleton.c: Likewise.
31797         * include/aio.h: Likewise.
31798         * include/aliases.h: Likewise.
31799         * include/argz.h: Likewise.
31800         * include/arpa/inet.h: Likewise.
31801         * include/assert.h: Likewise.
31802         * include/dirent.h: Likewise.
31803         * include/dlfcn.h: Likewise.
31804         * include/execinfo.h: Likewise.
31805         * include/fcntl.h: Likewise.
31806         * include/fenv.h: Likewise.
31807         * include/glob.h: Likewise.
31808         * include/grp.h: Likewise.
31809         * include/libintl.h: Likewise.
31810         * include/mntent.h: Likewise.
31811         * include/netdb.h: Likewise.
31812         * include/pwd.h: Likewise.
31813         * include/rpc/netdb.h: Likewise.
31814         * include/sched.h: Likewise.
31815         * include/search.h: Likewise.
31816         * include/shadow.h: Likewise.
31817         * include/signal.h: Likewise.
31818         * include/stdio.h: Likewise.
31819         * include/stdlib.h: Likewise.
31820         * include/string.h: Likewise.
31821         * include/sys/socket.h: Likewise.
31822         * include/sys/stat.h: Likewise.
31823         * include/sys/statfs.h: Likewise.
31824         * include/sys/statvfs.h: Likewise.
31825         * include/sys/syslog.h: Likewise.
31826         * include/sys/time.h: Likewise.
31827         * include/sys/uio.h: Likewise.
31828         * include/time.h: Likewise.
31829         * include/unistd.h: Likewise.
31830         * include/utmp.h: Likewise.
31831         * include/wchar.h: Likewise.
31832         * include/wctype.h: Likewise.
31833         * inet/aliases.h: Likewise.
31834         * inet/arpa/inet.h: Likewise.
31835         * inet/netinet/ether.h: Likewise.
31836         * inet/netinet/in.h: Likewise.
31837         * intl/libintl.h: Likewise.
31838         * io/bits/fcntl2.h: Likewise.
31839         * io/fcntl.h: Likewise.
31840         * io/ftw.h: Likewise.
31841         * io/sys/poll.h: Likewise.
31842         * io/sys/stat.h: Likewise.
31843         * io/sys/statfs.h: Likewise.
31844         * io/sys/statvfs.h: Likewise.
31845         * io/utime.h: Likewise.
31846         * libio/bits/stdio.h: Likewise.
31847         * libio/bits/stdio2.h: Likewise.
31848         * libio/libio.h: Likewise.
31849         * libio/libioP.h: Likewise.
31850         * libio/stdio.h: Likewise.
31851         * locale/lc-ctype.c: Likewise.
31852         * locale/locale.h: Likewise.
31853         * login/utmp.h: Likewise.
31854         * malloc/arena.c: Likewise.
31855         * malloc/malloc.c: Likewise.
31856         * malloc/malloc.h: Likewise.
31857         * malloc/mcheck.c: Likewise.
31858         * malloc/mtrace.c: Likewise.
31859         * math/bits/mathcalls.h: Likewise.
31860         * math/fenv.h: Likewise.
31861         * math/math_private.h: Likewise.
31862         * misc/bits/error.h: Likewise.
31863         * misc/bits/syslog.h: Likewise.
31864         * misc/err.h: Likewise.
31865         * misc/error.h: Likewise.
31866         * misc/fstab.h: Likewise.
31867         * misc/mntent.h: Likewise.
31868         * misc/regexp.h: Likewise.
31869         * misc/search.h: Likewise.
31870         * misc/sgtty.h: Likewise.
31871         * misc/sys/mman.h: Likewise.
31872         * misc/sys/syslog.h: Likewise.
31873         * misc/sys/uio.h: Likewise.
31874         * misc/sys/xattr.h: Likewise.
31875         * misc/ttyent.h: Likewise.
31876         * nis/rpcsvc/ypclnt.h: Likewise.
31877         * nss/nss.h: Likewise.
31878         * posix/bits/unistd.h: Likewise.
31879         * posix/fnmatch.h: Likewise.
31880         * posix/glob.h: Likewise.
31881         * posix/sched.h: Likewise.
31882         * posix/spawn.h: Likewise.
31883         * posix/sys/wait.h: Likewise.
31884         * posix/unistd.h: Likewise.
31885         * posix/wordexp.h: Likewise.
31886         * pwd/pwd.h: Likewise.
31887         * resolv/netdb.h: Likewise.
31888         * resource/sys/resource.h: Likewise.
31889         * rt/aio.h: Likewise.
31890         * rt/bits/mqueue2.h: Likewise.
31891         * rt/mqueue.h: Likewise.
31892         * shadow/shadow.h: Likewise.
31893         * signal/signal.h: Likewise.
31894         * socket/send.c: Likewise.
31895         * socket/sendto.c: Likewise.
31896         * socket/sys/socket.h: Likewise.
31897         * stdio-common/printf.h: Likewise.
31898         * stdlib/bits/stdlib.h: Likewise.
31899         * stdlib/fmtmsg.h: Likewise.
31900         * stdlib/monetary.h: Likewise.
31901         * stdlib/stdlib.h: Likewise.
31902         * stdlib/ucontext.h: Likewise.
31903         * streams/stropts.h: Likewise.
31904         * string/argz.h: Likewise.
31905         * string/bits/string2.h: Likewise.
31906         * string/string.h: Likewise.
31907         * string/strings.h: Likewise.
31908         * sunrpc/rpc/auth.h: Likewise.
31909         * sunrpc/rpc/auth_des.h: Likewise.
31910         * sunrpc/rpc/clnt.h: Likewise.
31911         * sunrpc/rpc/netdb.h: Likewise.
31912         * sunrpc/rpc/pmap_clnt.h: Likewise.
31913         * sunrpc/rpc/xdr.h: Likewise.
31914         * sysdeps/generic/inttypes.h: Likewise.
31915         * sysdeps/generic/net/if.h: Likewise.
31916         * sysdeps/generic/sys/swap.h: Likewise.
31917         * sysdeps/gnu/net/if.h: Likewise.
31918         * sysdeps/gnu/utmpx.h: Likewise.
31919         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31920         * sysdeps/i386/i486/bits/string.h: Likewise.
31921         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31922         * sysdeps/s390/bits/string.h: Likewise.
31923         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31924         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31925         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31926         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31927         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31928         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31929         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31930         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31931         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31932         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31933         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31934         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31935         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31936         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31937         * sysdeps/unix/sysv/linux/readv.c: Likewise.
31938         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31939         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31940         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31941         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31942         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31943         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31944         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31945         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31946         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31947         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31948         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31949         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31950         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31951         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31952         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31953         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31954         * sysvipc/sys/ipc.h: Likewise.
31955         * sysvipc/sys/msg.h: Likewise.
31956         * sysvipc/sys/sem.h: Likewise.
31957         * sysvipc/sys/shm.h: Likewise.
31958         * termios/termios.h: Likewise.
31959         * time/sys/time.h: Likewise.
31960         * time/time.h: Likewise.
31961         * wcsmbs/bits/wchar2.h: Likewise.
31962         * wcsmbs/uchar.h: Likewise.
31963         * wcsmbs/wchar.h: Likewise.
31964         * wctype/wctype.h: Likewise.
31966         [BZ #13551]
31967         * Makeconfig: Remove all but ELF support including AIX support.
31968         * Makerules: Likewise.
31969         * config.h.in: Likewise.
31970         * config.make.in: Likewise.
31971         * configure: Likewise.
31972         * configure.in: Likewise.
31973         * csu/Makefile: Likewise.
31974         * csu/version.c: Likewise.
31975         * debug/Makefile: Likewise.
31976         * dlfcn/Makefile: Likewise.
31977         * elf/Makefile: Likewise.
31978         * extra-lib.mk: Likewise.
31979         * iconv/Makefile: Likewise.
31980         * include/libc-symbols.h: Likewise.
31981         * include/shlib-compat.h: Likewise.
31982         * resolv/Makefile: Likewise.
31983         * resolv/res_libc.c: Likewise.
31984         * rt/Makefile: Likewise.
31985         * sysdeps/i386/asm-syntax.h: Likewise.
31986         * sysdeps/i386/sysdep.h: Likewise.
31987         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31988         * sysdeps/mach/sysdep.h: Likewise.
31989         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31990         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31991         * sysdeps/s390/asm-syntax.h: Likewise.
31992         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31993         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31994         * sysdeps/sh/sysdep.h: Likewise.
31995         * sysdeps/unix/sparc/sysdep.h: Likewise.
31996         * sysdeps/wordsize-32/divdi3.c: Likewise.
31997         * sysdeps/x86_64/sysdep.h: Likewise.
31999         * argp/Versions: Remove _argp_unlock_xxx.
32001         [BZ #13559]
32002         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
32003         * abilist/libBrokenLocale.abilist: Likewise.
32004         * abilist/libanl.abilist: Likewise.
32005         * abilist/libc.abilist: Likewise.
32006         * abilist/libcrypt.abilist: Likewise.
32007         * abilist/libdl.abilist: Likewise.
32008         * abilist/libm.abilist: Likewise.
32009         * abilist/libnsl.abilist: Likewise.
32010         * abilist/libpthread.abilist: Likewise.
32011         * abilist/libresolv.abilist: Likewise.
32012         * abilist/librt.abilist: Likewise.
32013         * abilist/libthread_db.abilist: Likewise.
32014         * abilist/libutil.abilist: Likewise.
32015         * abilist/libnss_db.abilist: New file.
32017         * scripts/abilist.awk: Add support for indirect functions.
32019         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
32021         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
32023         * shlib-versions: Remove entries for ports architectures.
32025         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
32026         files in ports.
32027         * elf/stackguard-macros.h: Remove support for IA-64.
32028         * elf/tst-auditmod1.c: Likewise.
32029         * sysdeps/generic/ldsodefs.h: Likewise.
32031         * sysdeps/unix/sysv/linux/configure.in: Ports should define
32032         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
32033         configure files.
32035         [BZ #13552]
32036         * configure.in: Remove --enable-omitfp support.
32037         * FAQ.in: Adjust.
32038         * config.make.in: Likewise.
32039         * Makeconfig: Likewise.
32040         * manual/install.texi: Likewise.
32042         In case anyone cares, the IA-64 architecture could move to ports.
32043         * sysdeps/ia64/*: Removed.
32044         * sysdeps/unix/sysv/linux/ia64/*: Removed.
32045         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
32047         [BZ #13555]
32048         * configure.in: Remove entries for unsupported architectures.
32050         [BZ #13533]
32051         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
32052         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
32053         routines.
32054         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
32055         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
32056         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
32057         fall back to using wcrtomb.
32058         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
32059         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
32060         renaming.
32061         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
32062         * wcsmbs/tst-c16c32-1.c: New file.
32064         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
32065         local variable.
32067         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
32069         * elf/tst-unique3.cc: Add explicit declaration of gets.
32070         * elf/tst-unique3lib.cc: Likewise.
32071         * elf/tst-unique3lib2.cc: Likewise.
32072         * elf/tst-unique4.cc: Likewise.
32074         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
32076 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
32078         [BZ #13566]
32079         * assert/assert.h (static_assert): Don't define for C++.
32080         * libio/stdio.h (gets): Do declare for C++ <= C++11.
32081         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
32083 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
32085         * iconv/loop.c (single loop): Fix assertion in storing of
32086         remaining bytes.
32088         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
32090 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
32092         * posix/getconf.c: Update copyright year.
32093         * nss/getent.c: Likewise.
32094         * nss/makedb.c: Likewise.
32095         * iconv/iconvconfig.c: Likewise.
32096         * iconv/iconv_prog.c: Likewise.
32097         * elf/ldconfig.c: Likewise.
32098         * elf/pldd.c: Likewise.
32099         * elf/sotruss.ksh: Likewise.
32100         * catgets/gencat.c: Likewise.
32101         * csu/version.c: Likewise.
32102         * elf/ldd.bash.in: Likewise.
32103         * elf/sprof.c (print_version): Likewise.
32104         * locale/programs/locale.c: Likewise.
32105         * locale/programs/localedef.c: Likewise.
32106         * login/programs/pt_chown.c: Likewise.
32107         * nscd/nscd.c (print_version): Likewise.
32108         * debug/xtrace.sh: Likewise.
32109         * malloc/memusage.sh: Likewise.
32110         * malloc/mtrace.pl: Likewise.
32111         * debug/catchsegv.sh: Likewise.
32113 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
32115         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
32116         pure attribute.
32118 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
32120         [BZ #13533]
32121         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
32122         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
32123         transformations.
32124         * iconv/gconv_int.h: Likewise.
32125         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
32126         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
32127         from libc for GLIBC_2.16.
32128         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
32129         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
32130         * wcsmbs/uchar.h: Really define mbstate_t.
32131         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
32132         * wcsmbs/c16rtomb.c: New file.
32133         * wcsmbs/mbrtoc16.c: New file.
32134         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
32135         for C/POSIX locale.
32136         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
32137         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
32139         * wcsmbs/wchar.h: Add missing __restrict.
32141 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
32143         [BZ #13532]
32144         * time/Makefile (routines): Add timespec_get.
32145         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
32146         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
32147         timespec for ISO C11.
32148         * time/timespec_get.c: New file.
32149         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
32150         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
32152         [BZ #13531]
32153         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
32154         * stdlib/stdlib.h: Declare aligned_alloc.
32155         * Versions.def: Add GLIBC_2.16 for libc.
32156         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
32158         [BZ 13527]
32159         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
32160         ISO C11.
32162         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
32163         code.
32165         [BZ #13528]
32166         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
32168         [BZ #13529]
32169         * assert/assert.h (static_assert): Define.
32171         * version.h: Update for 2.16 development version.
32173         [BZ #13526]
32174         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
32175         _ISOC11_SOURCE.
32177         * version.h (RELEASE): Bump for 2.15 release.
32178         * include/features.h (__GLIBC_MINOR__): Bump to 15.
32180         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
32181         Patch by Marek Polacek <mpolacek@redhat.com>.
32183         * bits/byteswap.h: Protect long long constants with __extension__.
32184         * sysdeps/i386/bits/byteswap.h: Likewise.
32185         * sysdeps/ia64/bits/byteswap.h: Likewise.
32186         * sysdeps/s390/bits/byteswap.h: Likewise.
32187         * sysdeps/x86_64/bits/byteswap.h: Likewise.
32189 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32191         [BZ #13540]
32192         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
32193         destination buffer.
32194         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
32196 2011-12-23  Marek Polacek  <polacek@redhat.com>
32198         * elf/dl-addr.c (determine_info): Add inline keyword.
32199         * elf/tst-auditmod4b.c (check_avx): Likewise.
32200         * elf/tst-auditmod6b.c (check_avx): Likewise.
32201         * elf/tst-auditmod6c.c (check_avx): Likewise.
32202         * elf/tst-auditmod7b.c (check_avx): Likewise.
32204 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
32206         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
32207         !__SSE_MATH__.
32209 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32211         [BZ #13540]
32212         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
32213         processing for last bytes.
32215 2011-08-06  Bruno Haible  <bruno@clisp.org>
32217         [BZ #13061]
32218         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
32219         U+0385, not to U+1FEE.
32221         [BZ #13062]
32222         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
32223         entry for U+00A5 U+0301.
32225 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
32227         [BZ #13166]
32228         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
32229         buffer for the output is too small.
32231         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
32232         optimization.
32234         [BZ #13185]
32235         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
32236         SSE flags if possible.
32238 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32240         [BZ #13540]
32241         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
32242         processing for last bytes.
32244 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
32246         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
32247         (syscall-list-default-options, syscall-list-default-condition)
32248         (syscall-list-includes): Define.
32249         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
32250         list of ABIs and options and #if conditions for each ABI.  Do not
32251         handle common syscalls between ABIs specially.
32252         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
32253         Remove.
32254         (syscall-list-variants, syscall-list-32bit-options)
32255         (syscall-list-32bit-condition, syscall-list-64bit-options)
32256         (syscall-list-64bit-condition): Define.
32257         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
32258         (syscall-list-variants, syscall-list-32bit-options)
32259         (syscall-list-32bit-condition, syscall-list-64bit-options)
32260         (syscall-list-64bit-condition): Define.
32261         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
32262         Remove.
32263         (syscall-list-variants, syscall-list-32bit-options)
32264         (syscall-list-32bit-condition, syscall-list-64bit-options)
32265         (syscall-list-64bit-condition): Define.
32266         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
32267         Remove.
32268         (syscall-list-variants, syscall-list-32bit-options)
32269         (syscall-list-32bit-condition, syscall-list-64bit-options)
32270         (syscall-list-64bit-condition): Define.
32272 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
32274         * locale/iso-639.def: Add brx entry.
32276         [BZ #13328]
32277         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
32278         Proposed by Mariusz_Cukr <marcukr@op.pl>.
32280         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
32281         __feraiseexcept_renamed.
32283 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
32285         [BZ #13538]
32286         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
32287         EPOLLET with unsigned values.
32288         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32289         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32291         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
32292         to large cancellation.
32293         * math/s_cacoshf.c: Likewise.
32294         * math/s_cacoshl.c: Likewise.
32296 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
32298         [BZ #13305]
32299         [BZ #12786]
32300         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
32301         * math/s_cacoshf.c: Likewise.
32302         * math/s_cacoshl.c: Likewise.
32304 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
32306         [BZ #13439]
32307         * iconv/gconv.h: Define __GCONV_SWAP.
32308         * iconvdata/unicode.c: The swap bit must be stored in __flags.
32309         * iconvdata/utf-16.c: Likewise.
32310         * iconvdata/utf-32.c: Likewise.
32312 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
32314         [BZ #13524]
32315         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
32316         numerator after shifting it by one limb.
32318 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
32320         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
32321         under [__USE_EXTERN_INLINES].
32323 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
32325         [BZ #13446]
32326         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
32328 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32330         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
32331         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
32332         optimized code.
32333         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
32334         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
32335         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
32336         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
32337         for strncasecmp/strncasecmp_l compilation.
32338         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
32339         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
32341 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
32343         [BZ #13484]
32344         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
32345         of __asm__.
32347 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
32349         [BZ #13506]
32350         * time/tzfile.c (__tzfile_read): Check values from file header.
32352 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
32354         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
32355         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
32356         * powerpc/powerpc32/dl-start.S: Likewise.
32357         * powerpc/powerpc32/elf/start.S: Likewise.
32358         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32359         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
32360         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
32361         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
32362         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32363         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
32364         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
32365         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32366         * powerpc/powerpc32/fpu/s_round.S: Likewise.
32367         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32368         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32369         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32370         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32371         * powerpc/powerpc32/memset.S: Likewise.
32372         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32373         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32374         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32375         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32376         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32377         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32378         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32379         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32380         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
32381         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
32382         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
32383         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32384         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32386 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32388         * math/libm-test.inc: Added more nearbyint tests.
32389         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
32390         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
32391         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
32392         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
32394 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
32396         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
32397         FD_CLOEXEC.
32399 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32401         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
32402         Add wcscpy-ssse3 wcscpy-c.
32403         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
32404         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
32405         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
32406         * sysdeps/x86_64/wcschr.S: New file.
32407         * sysdeps/x86_64/wcsrchr.S: New file.
32408         * string/test-strcmp.c: Remove checking of wcscmp function for
32409         wrong alignments.
32410         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
32411         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
32412         wcsrchr-sse2 wcsrchr-c.
32413         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
32414         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
32415         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
32416         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
32417         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
32418         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
32419         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
32420         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
32421         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
32422         * wcsmbc/wcschr.c (WCSCHR): New macro.
32424 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32426         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
32427         * wcsmbs/test-wcsrchr.c: New file.
32428         * string/test-strrchr.c: Add wcsrchr support.
32429         (WIDE): New macro.
32430         * wcsmbs/test-wcscpy.c: New file.
32431         * string/test-strcpy.c: Add wcscpy support.
32432         (WIDE): New macro.
32434 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
32436         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
32437         the inner loop.
32439 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
32441         [BZ #13472]
32442         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
32444 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
32446         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
32447         Minor optimizations.
32449         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
32450         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
32451         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32453 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
32455         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
32456         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
32457         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
32458         for gcc to avoid warnings.
32459         * inet/Makefile (tests): Add tst-checks.
32460         * inet/tst-checks.c: New file.
32462         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
32463         warning.
32465         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
32466         __wmemcmp_sse2.
32468         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
32469         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
32471         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
32473 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
32475         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
32476         problem.
32478         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
32480 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
32482         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
32483         conditional on GCC version.
32484         (__arch_compare_and_exchange_val_8_acq)
32485         (__arch_compare_and_exchange_val_16_acq)
32486         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
32487         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
32488         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
32490 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
32492         * sysdeps/sh/backtrace.c: New file.
32494 2011-12-02  Andreas Schwab  <schwab@redhat.com>
32496         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
32497         parenthesis.
32499 2011-12-01  Andreas Schwab  <schwab@redhat.com>
32501         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
32502         falling back to utime.
32504 2011-11-30  Andreas Schwab  <schwab@redhat.com>
32506         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
32507         expectations for float.
32509 2011-11-29  Andreas Schwab  <schwab@redhat.com>
32511         * locale/weight.h (findidx): Add parameter len.
32512         * locale/weightwc.h (findidx): Likewise.
32513         * posix/fnmatch_loop.c (FCT): Adjust caller.
32514         * posix/regcomp.c (build_equiv_class): Likewise.
32515         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
32516         * posix/regexec.c (check_node_accept_bytes): Likewise.
32517         * string/strcoll_l.c (STRCOLL): Likewise.
32518         * string/strxfrm_l.c (STRXFRM): Likewise.
32520 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
32522         * Makefile.in: Remove CVSOPT handling.
32523         * configure.in: Remove use of AC_REVISION.
32524         * iconvdata/Makefile (distribute): No need to filter out CVS.
32525         * scripts/list-sources.sh: Remove CVS, subversion and monotone
32526         handling.
32528 2011-11-16  Andreas Schwab  <schwab@redhat.com>
32530         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
32531         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
32532         [USE_AS_STRNCASECMP_L]: Likewise.
32533         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
32534         NO_TLS_DIRECT_SEG_REFS.
32535         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
32536         Fix argument offsets for non-PIC.
32537         [USE_AS_STRNCASECMP_L]: Likewise.
32538         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
32539         NO_TLS_DIRECT_SEG_REFS.
32541 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
32543         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
32544         O_CLOEXEC.
32545         * locale/loadlocale.c (_nl_load_locale): Likewise.
32547 2011-11-15  Andreas Schwab  <schwab@redhat.com>
32549         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
32550         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
32551         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
32552         (SYSCALL_GETTIME): Set errno on error.
32554         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
32555         count references to noai6ai_cached.
32557 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
32559         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
32561         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
32562         FD_CLOEXEC for /proc/self/maps.
32564         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
32565         FD_CLOEXEC for /proc/meminfo.
32567         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
32568         gai.conf.
32570         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
32571         FD_CLOEXEC for given file.
32573         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
32575         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
32576         FD_CLOEXEC for /etc/hosts.
32577         (_gethtent): Likewise.
32579         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
32581         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
32582         cancellation and set FD_CLOEXEC for /etc/netgroup.
32584         * nss/nss_files/files-key.c (search): Don't allow cancellation when
32585         reading /etc/publickey.
32587         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
32588         allow cancellation when reading /etc/group.
32590         * nss/nss_files/files-alias.c (internal_setent): Don't allow
32591         cancellation.
32592         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
32594         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
32595         when using data file.
32597         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
32599         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
32600         (write_nis_obj): Use "c" and "e" in fopen.
32602         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
32604         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
32606         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
32608         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
32610         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
32611         locale.alias.
32613         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
32615         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
32617         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
32619         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
32620         file parsing and set FD_CLOEXEC.
32622 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
32624         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
32626 2011-11-14  Andreas Schwab  <schwab@redhat.com>
32628         * malloc/arena.c (arena_get2): Don't call reused_arena when
32629         _int_new_arena failed.
32631 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
32633         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
32634         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
32635         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
32636         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32637         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32638         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
32639         to compile strcasecmp and strncasecmp.
32640         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
32641         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
32643         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
32645 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
32647         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
32648         locale-defines.sym to gen-as-const-headers.
32649         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
32650         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
32651         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
32652         to compile strcasecmp and strncasecmp.
32653         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
32654         strcasecmp_l and strncasecmp_l.
32655         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
32656         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
32657         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
32658         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
32659         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
32660         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
32661         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
32662         * sysdeps/i386/i686/multiarch/strncase.S: New file.
32663         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
32664         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
32665         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
32667 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
32669         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
32670         result of SYSDEP_GETTIME_CPU to retval.
32671         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
32672         parameter list to macro.  Remove trailing semicolon.  Adjust users.
32674         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
32675         variable.
32677         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
32678         mantissa words.
32679         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32681         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
32682         from unused variable.
32684         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
32685         DWARF definitions.
32686         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
32687         for assembling.
32689         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
32690         over namespaces.
32692         * sunrpc/rpc_prot.c (rejected): Fix case value.
32694         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
32695         unsigned long long int to avoid warnings in shift.
32697         * posix/regex_internal.c (re_string_reconstruct): Actually use result
32698         of use of trans.
32699         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
32700         variable tmp.
32702         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
32703         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32704         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32706         * nis/nis_table.c (nis_list): Use variable of correct type for
32707         result of __follow_path call.
32709 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32711         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
32712         of math functions ceil, trunc, floor, round, and sqrt, when
32713         avaliable on the platform.
32714         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
32715         name clash.
32716         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32717         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32718         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32720 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
32722         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
32723         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32725 2011-11-11  Roland McGrath  <roland@hack.frob.com>
32727         * include/unistd.h: Fix __readlink return type.
32728         Reported by Chris Metcalf <cmetcalf@tilera.com>.
32730 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
32732         * stdlib/ucontext.h: Undo last change for makecontext.
32734 2011-11-11  Andreas Schwab  <schwab@redhat.com>
32736         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
32738         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
32739         * setjmp/setjmp.h: Mark functions as non-leaf.
32740         * setjmp/bits/setjmp2.h: Likewise.
32741         * stdlib/ucontext.h: Likewise.
32743 2011-11-10  Andreas Schwab  <schwab@redhat.com>
32745         * malloc/arena.c (_int_new_arena): Don't increment narenas.
32746         (reused_arena): Don't check arena limit.
32747         (arena_get2): Atomically check arena limit.
32749 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
32751         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
32752         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
32754         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
32755         instructions.
32757 2011-11-07  Andreas Schwab  <schwab@redhat.com>
32759         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
32760         handler when locking.
32762         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32763         Fix size of allocated buffer.
32765 2011-11-04  Andreas Schwab  <schwab@redhat.com>
32767         [BZ #10103]
32768         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
32769         declarations for long double functions.
32770         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
32772         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
32774 2011-11-03  Andreas Schwab  <schwab@redhat.com>
32776         * nscd/nscd.c (main): Don't start AVC thread until credentials are
32777         installed.
32779         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32780         is disabled.
32782 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32784         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32786 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
32788         * include/alloca.h (stackinfo_alloca_round): Define.
32789         (extend_alloca): Use it.
32790         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32791         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32792         here.
32794         * scripts/check-local-headers.sh: Ignore libaudit.h.
32796         * nscd/Makefile (extra-objs): Make recursively expanded.
32798 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
32800         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32801         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32803         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32804         * posix/tst-rfc3484-2.c: Likewise.
32805         * posix/tst-rfc3484-3.c: Likewise.
32807         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32808         process_vm_writev.
32809         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32810         process_vm_writev.
32811         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32812         process_vm_writev from libc using GLIBC_2.15 version.
32814         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32816 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
32818         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32819         stack usage.
32821 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
32823         [BZ #13367]
32824         * nss/getent.c (initgroups_keys): Show error message in case no group
32825         names are given.
32827         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32828         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32829         __bump_nl_timestamp.
32830         * nscd/connections (nscd_init): When host database is served open
32831         netlink socket and request notification about configuration changes.
32832         (main_loop_poll): Track netlink file descriptor and bump timestamp
32833         in case data becomes available.
32834         (main_loop_epoll): Likewise.
32835         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32836         (database_pers_head): Add extra_data fileds.
32837         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32838         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32839         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32840         Adjust caller.
32841         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32842         in6ai data, call __free_in6ai.
32843         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32844         Add -DHAVE_NETLINK.
32845         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
32846         interface information.  Reuse previous data if netlink timestamp
32847         is not changed.
32848         (__bump_nl_timestamp): New function.
32849         (__free_in6ai): New function.
32851 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
32853         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32854         close_not_cancel_no_status here.
32855         (__check_pf): Reorganize code a bit to not call close twice if OOM.
32857 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
32859         [BZ #13276]
32860         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32861         return value.
32863         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
32864         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32865         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32867 2011-07-03  Andreas Jaeger  <aj@suse.de>
32869         [BZ #10709]
32870         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32871         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32872         * math/libm-test.inc (sin_test): Add test case.
32874 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
32876         [BZ #13337]
32877         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32878         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32880         * elf/chroot_canon.c (chroot_canon): Cleanups.
32882         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32884         [BZ #13335]
32885         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32886         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32888         * string/test-strchr.c: Make usable for strchrnul testing.
32889         * string/test-strchrnul.c: New file.
32890         * string/Makefile (strop-tests): Add strchrnul.
32892         * po/it.po: Update from translation team.
32893         * po/es.po: Likewise.
32895 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
32897         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32898         the three constants needed as parameters.  Drop the others.
32899         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32900         __m128i_strloadu_tolower.
32901         Create and initialize variable zero and use it in all the places
32902         where _mm_setzero_si128 was used.
32904         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32905         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32906         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32907         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32908         anymore.
32909         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32910         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32911         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32912         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32913         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32914         __mpranred, __mptan.
32915         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32916         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32917         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32918         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32919         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32920         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32921         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32922         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32923         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32925 2011-10-28  Andreas Schwab  <schwab@redhat.com>
32927         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32928         redefine if SHARED.
32929         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32931         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32932         wide char related routines to wcsmbs subdir.
32934 2011-10-27  Andreas Schwab  <schwab@redhat.com>
32936         [BZ #13344]
32937         * misc/sys/cdefs.h (__THROWNL): Define.
32938         * posix/unistd.h: Use __THREADNL instead of __THREAD
32939         for memory synchronization functions.
32941 2011-10-26  Roland McGrath  <roland@hack.frob.com>
32943         [BZ #13349]
32944         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32945         doesn't exist.
32946         * manual/stdio.texi (Obstack Streams): Node removed.
32948 2011-10-26  Andreas Schwab  <schwab@redhat.com>
32950         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32951         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32952         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32954         * math/math_private.h (math_force_eval): Allow non-addressable
32955         arguments.
32956         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32958 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32960         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32961         file is not needed.
32963         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32964         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32965         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32966         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32967         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32968         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32969         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32970         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32971         Add AVX variants.
32972         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32973         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32974         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32975         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32976         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32977         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32978         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32979         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32980         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32981         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32982         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32983         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32984         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32985         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32986         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32987         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32988         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32989         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32990         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32992         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32993         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
32995         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32996         place.  Use VEX encoding when compiling for AVX.
32998 2011-10-25  Andreas Schwab  <schwab@redhat.com>
33000         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
33001         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
33003         * string/test-strchr.c (do_test): Don't generate NUL bytes.
33005 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
33007         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
33008         useless if() expression.
33009         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33010         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33011         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33012         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33013         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33014         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33015         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33016         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33017         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33018         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33019         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33020         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33021         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33022         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33023         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33024         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33025         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33026         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33027         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33029         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
33031 2011-10-25  Andreas Schwab  <schwab@redhat.com>
33033         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
33034         condition.
33035         * elf/dl-fini.c (_dl_sort_fini): Likewise.
33037 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
33039         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
33040         .text section.  Avoid duplicate constants.
33041         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33042         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33043         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33044         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33045         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33046         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33047         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33048         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33049         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33050         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
33051         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33052         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33053         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33054         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33055         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33056         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33057         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33058         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33059         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33060         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33061         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33062         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33063         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33064         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
33065         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
33066         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
33067         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
33068         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
33069         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
33070         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
33071         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
33072         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
33073         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33074         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
33075         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
33076         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
33077         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
33078         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
33079         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
33080         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
33081         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
33082         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
33083         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
33084         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
33085         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
33087 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
33089         * sysdeps/x86_64/dla.h: Move to ...
33090         * sysdeps/x86_64/fpu/dla.h: ...here.
33091         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
33092         situations.  Use __builtin_fma only for gcc 4.6 and up.
33094         * config.make.in: Add have-mfma4 entry.
33095         * configure.in: Substitute libc_cv_cc_fma4.
33096         * math/Makefile (dbl-only-routines): Add sincostab.
33097         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
33098         Use __sincostab not sincos.
33099         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
33100         name is a macro.
33101         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33102         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33103         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33104         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
33105         using __copysign.
33106         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
33107         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
33108         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
33109         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
33110         and __inv.
33111         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
33112         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
33113         __copysign.
33114         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
33115         define aliases when function name is a macro.
33116         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
33117         sysdeps/ieee754/dbl-64/sincos.tbl.
33118         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
33119         fma4-enabled routines.
33120         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
33121         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
33122         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
33123         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
33124         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
33125         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
33126         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
33127         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
33128         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
33129         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
33130         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
33131         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
33132         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
33133         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
33134         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
33135         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
33136         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
33137         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
33138         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
33139         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
33140         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
33141         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
33142         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
33143         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
33144         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
33145         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
33146         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
33147         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
33148         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
33149         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
33151         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
33152         rename.
33153         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33154         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33155         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33156         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33157         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33158         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33159         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33160         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33162 2011-10-24  Andreas Schwab  <schwab@redhat.com>
33164         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
33166 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
33168         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
33170         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
33171         prediction.
33172         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
33174         * string/strnlen.c: Don't define STRNLEN, reverse logic.
33175         Remove unused variable magic_bits.
33176         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
33178         * string/strnlen.c: Define and use STRNLEN macro.
33179         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
33180         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
33181         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
33182         * wcsmbs/wcslen.c: Define and use WCSLEN.
33183         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
33184         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
33185         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
33186         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
33187         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
33188         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
33189         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33191 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33193         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33194         strnlen-sse2-no-bsf.
33195         Rename strlen-no-bsf to strlen-sse2-no-bsf.
33196         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
33197         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
33198         Add strnlen support.
33199         (USE_AS_STRNLEN): New macro.
33200         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
33201         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
33202         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
33203         * sysdeps/x86_64/wcslen.S: New file.
33205 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
33207         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33208         XMM-moves are used for copying on small sizes.
33210 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33212         * wcsmbs/Makefile (strop-tests): Add wcschr.
33213         * wcsmbs/test-wcschr.c: New file.
33214         * string/test-strchr.c: Update.
33215         Add wcschr support.
33216         (WIDE): New macro.
33218 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33220         * wcsmbs/Makefile (strop-tests): Add wcslen.
33221         * wcsmbs/test-wcslen.c: New file.
33222         * string/test-strlen.c: Update.
33223         Add wcslen support.
33224         (WIDE): New macro.
33226 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
33228         * po/it.po: Update from translation team.
33230 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33232         * sysdeps/x86_64/wcscmp.S: Update.
33233         Fix wrong comparison semantics.
33234         wcscmp shall use signed comparison not unsigned.
33235         Don't use substraction to avoid overflow bug.
33236         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
33237         * wcsmbc/wcscmp.c: Likewise.
33238         * string/test-strcmp.c: Likewise.
33239         Add new tests to check cases with negative values.
33241 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
33243         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
33244         * sysdeps/x86_64/dla.h: ...here.  New file.
33245         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
33246         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33247         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33248         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33249         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33250         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33251         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33252         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33253         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33255 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
33257         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
33258         __ynl_finite aliases.
33260 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
33262         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33264         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
33265         define DLA_FMA.
33266         [DLA_FMA] (EMULV): Use DLA_FMA.
33267         [DLA_FMA] (MUL12): Use EMULV.
33268         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
33269         that are not needed.
33270         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33271         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33272         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33273         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33274         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33275         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33276         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33278 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
33280         * math/s_nan.c: Undef __nan.
33281         * math/s_nanf.c: Undef __nanf.
33282         * math/s_nanl.c: Undef __nanl.
33283         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
33284         "math_private.h".
33286 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
33288         * math/s_catan.c: Add branch predictions.
33289         * math/s_catanf.c: Likewise.
33290         * math/s_catanh.c: Likewise.
33291         * math/s_catanhf.c: Likewise.
33292         * math/s_catanhl.c: Likewise.
33293         * math/s_catanl.c: Likewise.
33294         * math/s_cexp.c: Likewise.
33295         * math/s_cexpf.c: Likewise.
33296         * math/s_cexpl.c: Likewise.
33297         * math/s_clog.c: Likewise.
33298         * math/s_clog10.c: Likewise.
33299         * math/s_clog10f.c: Likewise.
33300         * math/s_clog10l.c: Likewise.
33301         * math/s_clogf.c: Likewise.
33302         * math/s_clogl.c: Likewise.
33303         * math/s_csqrt.c: Likewise.
33304         * math/s_csqrtf.c: Likewise.
33305         * math/s_csqrtl.c: Likewise.
33306         * math/s_ctanf.c: Likewise.
33307         * math/s_ctanh.c: Likewise.
33308         * math/s_ctanhf.c: Likewise.
33309         * math/s_ctanhl.c: Likewise.
33310         * math/s_ctanl.c: Likewise.
33312         * math/math_private.h: Define __nan, __nanf, __nanl.
33313         * math/s_cacosh.c: Include <math_private.h>.
33314         * math/s_cacoshl.c: Likewise.
33315         * math/s_casinh.c: Likewise.
33316         * math/s_casinhf.c: Likewise.
33317         * math/s_casinhl.c: Likewise.
33318         * math/s_ccos.c: Rely entire on ccosh.
33319         * math/s_ccosf.c: Rely entire on ccoshf.
33320         * math/s_ccosl.c: Rely entirely on ccoshl.
33321         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
33322         Remove tests for FE_INVALID.
33323         * math/s_ccoshf.c: Likewise.
33324         * math/s_ccoshl.c: Likewise.
33325         * math/s_csin.c: Likewise.
33326         * math/s_csinf.c: Likewise.
33327         * math/s_csinh.c Likewise.
33328         * math/s_csinhf.c: Likewise.
33329         * math/s_csinhl.c: Likewise.
33330         * math/s_csinl.c: Likewise.
33331         * math/s_ctan.c: Likewise.
33332         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
33333         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
33334         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
33336 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
33338         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
33339         compilation problems.
33341         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
33342         __builtin_expect.
33344 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
33346         * sysdeps/i386/configure.in: Test for -mfma4 option.
33347         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
33348         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
33349         COMMON_CPUID_INDEX_80000001.
33350         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
33351         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
33352         use it if FMA3 is not supported.
33353         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33355         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
33356         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33358 2011-10-20  Andreas Schwab  <schwab@redhat.com>
33360         [BZ #12892]
33361         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
33362         it would create a cycle with a link time dependency.
33364 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
33366         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
33367         instruction.
33368         * string/Makefile (strop-tests): Add rawmemchr.
33369         * string/test-rawmemchr.c: New file.
33371         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
33372         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
33373         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
33374         when compiling str{,n}casecmp and when AVX is available.  Hook up
33375         new optimized code in initializers.
33377 2011-10-19  Andreas Schwab  <schwab@redhat.com>
33379         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
33380         __feraiseexcept instead of feraiseexcept.
33382 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
33384         * math/math_private.h: Define defaults for libc_fetestexcept and
33385         libc_feupdateenv.
33386         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
33387         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
33388         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33389         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33390         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33391         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33392         libc_fetestexcept and libc_feupdateenv.
33394         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
33395         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
33396         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
33397         * sysdeps/x86_64/fpu/math_private.h: Define special version of
33398         libc_feholdexcept_setround.
33400         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
33401         Add s_nearbyint-c and s_nearbyintf-c.
33402         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
33403         nearbyintf inlines.
33404         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
33405         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
33406         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
33407         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
33409         * math/math_private.h: Define defaults for libc_fegetround,
33410         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
33411         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
33412         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
33413         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
33414         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
33415         standard functions.
33416         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33417         Remove comments and hacks for old compiler versions.
33418         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33419         libc_fegetround, libc_fesetround, libc_feholdexcept, and
33420         libc_feholdexceptl.
33422 2011-10-18  Andreas Schwab  <schwab@redhat.com>
33424         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
33425         (__feraiseexcept_renamed): Add __NTH.
33426         (feraiseexcept): Add __NTH.  Rename local variables to fix
33427         namespace violations.
33429 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
33431         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
33433         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
33435         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
33436         recently added interfaces.
33437         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
33439         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
33440         about macro parameter expansion.
33442         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
33443         __NO_MATH_INLINES is defined.  Cleanups.
33445         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
33446         and __floorf is target has SSE4.1.
33447         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
33448         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
33449         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
33450         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
33452         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
33453         name.
33454         (floorf): Likewise.
33456         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
33458 2011-10-17  Andreas Schwab  <schwab@redhat.com>
33460         * misc/sys/cdefs.h: Fix last change.
33462         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
33463         database lookup.
33465 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
33467         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
33469         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
33470         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33471         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33472         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33473         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33474         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33475         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33476         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33477         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33478         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
33479         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
33480         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
33481         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
33482         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
33483         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
33484         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
33485         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
33486         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
33487         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
33488         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
33489         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
33490         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
33492         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
33493         ceil, ceilf, floor, floorf.
33495         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
33496         Perform IRELATIVE relocations last.
33498         * elf/do-rel.h: Add another parameter nrelative, replacing the
33499         local variable with the same name.  Change name of the function
33500         to end in Rel or Rela (uppercase).
33501         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
33502         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
33503         elf_dynamic_do_##reloc function.
33505 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
33507         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
33508         is sufficient, at least on modern CPUs.
33510         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
33512         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
33513         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
33515         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
33516         __expl_finite.
33517         * math/bits/math-finite.h: Add entries for exp.
33518         * math/e_expl.c: Add __*_finite alias.
33519         * sysdeps/i386/fpu/e_exp.S: Likewise.
33520         * sysdeps/i386/fpu/e_expf.S: Likewise.
33521         * sysdeps/i386/fpu/e_expl.c: Likewise.
33522         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33523         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33524         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33525         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33526         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
33527         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33528         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33530         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
33531         is sufficient, at least on modern CPUs.
33533         * ctype/ctype-info.c (__ctype_init): Define.
33534         * include/ctype.h (__ctype_init): Declare.
33535         (__ctype_b_loc): The variable is always initialized.
33536         (__ctype_toupper_loc): Likewise.
33537         (__ctype_tolower_loc): Likewise.
33538         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
33539         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
33541 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
33543         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
33545         * configure.in: Also look in $cxxmachine/include for C++ system
33546         headers.
33548 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33550         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
33551         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
33552         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
33553         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
33554         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
33555         (USE_AS_WMEMCMP): New macro.
33556         Fixing indents.
33557         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
33558         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
33559         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
33560         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
33561         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33562         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
33563         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
33564         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
33565         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
33566         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
33567         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
33568         (USE_AS_WMEMCMP): New macro.
33569         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
33570         * sysdeps/string/test-memcmp.c: Update.
33571         Fix simple_wmemcmp.
33572         Add new tests.
33573         * wcsmbs/wmemcmp.c: Update.
33574         (WMEMCMP): New macro.
33575         Fix overflow bug.
33577 2011-10-12  Andreas Jaeger  <aj@suse.de>
33579         [BZ #13268]
33580         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
33582 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
33584         * libio/iofwide.c (do_length): Avoid warning.
33586         * ctype/ctype.h (__isctype_f): Add missing __THROW.
33588 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
33590         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
33592         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
33593         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
33594         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
33595         * sysdeps/i386/i686/fpu/e_log.S: New file.
33596         * sysdeps/i386/i686/fpu/e_logf.S: New file.
33597         * sysdeps/i386/i686/fpu/e_logl.S: New file.
33599         * ctype/ctype.h: Add support for inlined isXXX functions when
33600         compiling C++ code.
33602 2011-10-14  Andreas Schwab  <schwab@redhat.com>
33604         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33606         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
33608 2011-10-13  Roland McGrath  <roland@hack.frob.com>
33610         [BZ #13291]
33611         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
33613 2011-10-13  Andreas Schwab  <schwab@redhat.com>
33615         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
33616         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
33617         feraiseexcept.
33619         * sysdeps/x86_64/memrchr.S: Check for zero size.
33621         * string/stratcliff.c: Add memrchr tests.
33623 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33625         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33626         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
33627         rawmemchr-sse2 rawmemchr-sse2-bsf.
33628         * sysdeps/i386/i686/multiarch/memchr.S: New file.
33629         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
33630         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
33631         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
33632         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
33633         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
33634         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
33635         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
33636         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
33637         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
33638         * string/memrchr.c (MEMRCHR): New macro.
33640 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
33642         Add integration with gcc's -ffinite-math-only and optimize wrapper
33643         functions in libm.
33644         * Versions.def: Define GLIBC_2.15 version for libm.
33645         * math/Makefile (headers): Add bits/math-finite.h.
33646         * math/bits/math-finite.h: New file.
33647         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
33648         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
33649         * math/e_acoshl.c: Add __*_finite alias.
33650         * math/e_acosl.c: Likewise.
33651         * math/e_asinl.c: Likewise.
33652         * math/e_atan2l.c: Likewise.
33653         * math/e_atanhl.c: Likewise.
33654         * math/e_coshl.c: Likewise.
33655         * math/e_exp10.c: Likewise.
33656         * math/e_exp10f.c: Likewise.
33657         * math/e_exp10l.c: Likewise.
33658         * math/e_exp2l.c: Likewise.
33659         * math/e_fmodl.c: Likewise.
33660         * math/e_gammal_r.c: Likewise.
33661         * math/e_hypotl.c: Likewise.
33662         * math/e_j0l.c: Likewise.
33663         * math/e_j1l.c: Likewise.
33664         * math/e_jnl.c: Likewise.
33665         * math/e_lgammal_r.c: Likewise.
33666         * math/e_log10l.c: Likewise.
33667         * math/e_log2l.c: Likewise.
33668         * math/e_logl.c: Likewise.
33669         * math/e_powl.c: Likewise.
33670         * math/e_sinhl.c: Likewise.
33671         * math/e_sqrtl.c: Likewise.
33672         * math/e_scalb.c: Completely rewritten and optimized.
33673         * math/e_scalbf.c: Likewise.
33674         * math/e_scalbl.c: Likewise.
33675         * math/w_acos.c: Likewise.
33676         * math/w_acosf.c: Likewise.
33677         * math/w_acosl.c: Likewise.
33678         * math/w_acosh.c: Likewise.
33679         * math/w_acoshf.c: Likewise.
33680         * math/w_acoshl.c: Likewise.
33681         * math/w_asin.c: Likewise.
33682         * math/w_asinf.c: Likewise.
33683         * math/w_asinl.c: Likewise.
33684         * math/w_atan2.c: Likewise.
33685         * math/w_atan2f.c: Likewise.
33686         * math/w_atan2l.c: Likewise.
33687         * math/w_atanh.c: Likewise.
33688         * math/w_atanhf.c: Likewise.
33689         * math/w_atanhl.c: Likewise.
33690         * math/w_exp10.c: Likewise.
33691         * math/w_exp10f.c: Likewise.
33692         * math/w_exp10l.c: Likewise.
33693         * math/w_fmod.c: Likewise.
33694         * math/w_fmodf.c: Likewise.
33695         * math/w_fmodl.c: Likewise.
33696         * math/w_j0.c: Likewise.
33697         * math/w_j0f.c: Likewise.
33698         * math/w_j0l.c: Likewise.
33699         * math/w_j1.c: Likewise.
33700         * math/w_j1f.c: Likewise.
33701         * math/w_j1l.c: Likewise.
33702         * math/w_jn.c: Likewise.
33703         * math/w_jnf.c: Likewise.
33704         * math/w_log.c: Likewise.
33705         * math/w_logf.c: Likewise.
33706         * math/w_logl.c: Likewise.
33707         * math/w_log10.c: Likewise.
33708         * math/w_log10f.c: Likewise.
33709         * math/w_log10l.c: Likewise.
33710         * math/w_log2.c: Likewise.
33711         * math/w_log2f.c: Likewise.
33712         * math/w_log2l.c: Likewise.
33713         * math/w_pow.c: Likewise.
33714         * math/w_powf.c: Likewise.
33715         * math/w_powl.c: Likewise.
33716         * math/w_remainder.c: Likewise.
33717         * math/w_remainderf.c: Likewise.
33718         * math/w_remainderl.c: Likewise.
33719         * math/w_scalb.c: Likewise.
33720         * math/w_scalbf.c: Likewise.
33721         * math/w_scalbl.c: Likewise.
33722         * math/w_sqrt.c: Likewise.
33723         * math/w_sqrtf.c: Likewise.
33724         * math/w_sqrtl.c: Likewise.
33725         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
33726         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
33727         used.
33728         * math/math_private.h: Declare __kernel_standard_f.
33729         * math/w_cosh.c: Remove cruft and optimize a bit.
33730         * math/w_coshf.c: Likewise.
33731         * math/w_coshl.c: Likewise.
33732         * math/w_exp2.c: Likewise.
33733         * math/w_exp2f.c: Likewise.
33734         * math/w_exp2l.c: Likewise.
33735         * math/w_hypot.c: Likewise.
33736         * math/w_hypotf.c: Likewise.
33737         * math/w_hypotl.c: Likewise.
33738         * math/w_lgamma.c: Likewise.
33739         * math/w_lgamma_r.c: Likewise.
33740         * math/w_lgammaf.c: Likewise.
33741         * math/w_lgammaf_r.c: Likewise.
33742         * math/w_lgammal.c: Likewise.
33743         * math/w_lgammal_r.c: Likewise.
33744         * math/w_sinh.c: Likewise.
33745         * math/w_sinhf.c: Likewise.
33746         * math/w_sinhl.c: Likewise.
33747         * math/w_tgamma.c: Likewise.
33748         * math/w_tgammaf.c: Likewise.
33749         * math/w_tgammal.c: Likewise.
33750         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33751         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33752         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
33753         Minor optimizations.  Pretty printing.  Remove cruft.
33754         * sysdeps/i386/fpu/e_acosf.S: Likewise.
33755         * sysdeps/i386/fpu/e_acosh.S: Likewise.
33756         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33757         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33758         * sysdeps/i386/fpu/e_acosl.c: Likewise.
33759         * sysdeps/i386/fpu/e_asin.S: Likewise.
33760         * sysdeps/i386/fpu/e_asinf.S: Likewise.
33761         * sysdeps/i386/fpu/e_atan2.S: Likewise.
33762         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
33763         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
33764         * sysdeps/i386/fpu/e_atanh.S: Likewise.
33765         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33766         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33767         * sysdeps/i386/fpu/e_exp10.S: Likewise.
33768         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
33769         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
33770         * sysdeps/i386/fpu/e_exp2.S: Likewise.
33771         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
33772         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
33773         * sysdeps/i386/fpu/e_fmod.S: Likewise.
33774         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33775         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33776         * sysdeps/i386/fpu/e_hypot.S: Likewise.
33777         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33778         * sysdeps/i386/fpu/e_log.S: Likewise.
33779         * sysdeps/i386/fpu/e_log10.S: Likewise.
33780         * sysdeps/i386/fpu/e_log10f.S: Likewise.
33781         * sysdeps/i386/fpu/e_log10l.S: Likewise.
33782         * sysdeps/i386/fpu/e_log2.S: Likewise.
33783         * sysdeps/i386/fpu/e_log2f.S: Likewise.
33784         * sysdeps/i386/fpu/e_log2l.S: Likewise.
33785         * sysdeps/i386/fpu/e_logf.S: Likewise.
33786         * sysdeps/i386/fpu/e_logl.S: Likewise.
33787         * sysdeps/i386/fpu/e_pow.S: Likewise.
33788         * sysdeps/i386/fpu/e_powf.S: Likewise.
33789         * sysdeps/i386/fpu/e_powl.S: Likewise.
33790         * sysdeps/i386/fpu/e_remainder.S: Likewise.
33791         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33792         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33793         * sysdeps/i386/fpu/e_scalb.S: Likewise.
33794         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33795         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33796         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33797         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33798         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33799         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33800         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33801         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33802         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33803         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33804         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33805         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33806         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33807         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33808         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33809         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33810         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33811         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33812         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33813         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33814         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33815         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33816         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33817         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33818         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33819         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33820         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33821         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33822         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33823         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33824         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33825         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33826         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33827         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33828         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33829         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33830         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33831         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33832         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33833         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33834         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33835         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33836         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33837         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33838         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33839         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33840         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33841         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33842         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33843         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33844         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33845         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33846         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33847         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33848         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33849         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33850         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33851         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33852         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33853         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33854         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33855         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33856         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33857         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33858         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33859         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33860         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33861         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33862         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33863         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33864         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33865         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33866         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33867         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33868         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33869         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33870         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33871         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33872         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33873         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33874         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33875         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33876         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33877         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33878         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33879         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33880         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33881         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33882         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33883         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33884         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33885         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33886         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33887         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33888         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33889         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33890         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33891         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33892         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33893         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33894         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33895         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33896         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33897         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33898         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33899         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33900         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33901         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33902         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33903         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33904         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33905         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33906         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33907         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33908         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33909         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
33910         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33911         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33912         (__isnanf): Likewise.
33913         (__isinf_ns): Likewise.
33914         (__isinf_nsf): Likewise.
33915         (__finite): Likewise.
33916         (__finitef): Likewise.
33917         (__ieee754_sqrt): Define as macro.
33918         (__ieee754_sqrtf): Define as macro.
33919         (__ieee754_sqrtl): Define as macro.
33920         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33921         inlined copy.
33922         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33923         __FINITE_MATH_ONLY__ consistent.
33924         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33926 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
33928         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33929         of rawmemchr.
33931         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33933 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
33935         * po/ja.po: Update from translation team.
33937 2011-10-08  Roland McGrath  <roland@hack.frob.com>
33939         * locale/programs/locarchive.c (prepare_address_space): New function.
33940         (create_archive, enlarge_archive, open_archive): Use it.
33942         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33943         inside [SHARED], where it is used.
33945         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33947         * nss/getent.c (netgroup_keys): Remove unused variable.
33948         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33950 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
33952         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33953         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33954         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33955         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33956         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33957         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33958         * math/Makefile (libm-calls): Add s_isinf_ns.
33959         * math/divtc3.c: Use __isinf_nsl instead of isinf.
33960         * math/multc3.c: Likewise.
33961         * math/s_casin.c: Likewise.
33962         * math/s_casinf.c: Likewise.
33963         * math/s_casinl.c: Likewise.
33964         * math/s_ccos.c: Likewise.
33965         * math/s_ccosf.c: Likewise.
33966         * math/s_ccosl.c: Likewise.
33967         * math/s_ctan.c: Likewise.
33968         * math/s_ctanf.c: Likewise.
33969         * math/s_ctanh.c: Likewise.
33970         * math/s_ctanhf.c: Likewise.
33971         * math/s_ctanhl.c: Likewise.
33972         * math/s_ctanl.c: Likewise.
33973         * math/w_fmod.c: Likewise.
33974         * math/w_fmodf.c: Likewise.
33975         * math/w_fmodl.c: Likewise.
33976         * math/w_remainder.c: Likewise.
33977         * math/w_remainderf.c: Likewise.
33978         * math/w_remainderl.c: Likewise.
33979         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33980         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33981         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33982         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33983         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33984         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33985         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33986         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33988         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33989         of the number.
33990         * stdio-common/printf_fphex.c: Likewise.
33991         * stdio-common/printf_size.c: Likewise.
33993         * math/e_exp10.c: Include math_private.h using <...> not "...".
33994         * math/e_exp10f.c: Likewise.
33995         * math/e_exp10l.c: Likewise.
33996         * math/e_exp2l.c: Likewise.
33997         * math/e_j0l.c: Likewise.
33998         * math/e_j1l.c: Likewise.
33999         * math/e_jnl.c: Likewise.
34000         * math/e_lgammal_r.c: Likewise.
34001         * math/e_rem_pio2l.c: Likewise.
34002         * math/e_scalb.c: Likewise.
34003         * math/e_scalbf.c: Likewise.
34004         * math/e_scalbl.c: Likewise.
34005         * math/k_cosl.c: Likewise.
34006         * math/k_sinl.c: Likewise.
34007         * math/k_tanl.c: Likewise.
34008         * math/s_cacoshf.c: Likewise.
34009         * math/s_catan.c: Likewise.
34010         * math/s_catanf.c: Likewise.
34011         * math/s_catanh.c: Likewise.
34012         * math/s_catanhf.c: Likewise.
34013         * math/s_catanhl.c: Likewise.
34014         * math/s_catanl.c: Likewise.
34015         * math/s_ccosh.c: Likewise.
34016         * math/s_ccoshf.c: Likewise.
34017         * math/s_ccoshl.c: Likewise.
34018         * math/s_cexp.c: Likewise.
34019         * math/s_cexpf.c: Likewise.
34020         * math/s_cexpl.c: Likewise.
34021         * math/s_clog.c: Likewise.
34022         * math/s_clog10.c: Likewise.
34023         * math/s_clog10f.c: Likewise.
34024         * math/s_clog10l.c: Likewise.
34025         * math/s_clogf.c: Likewise.
34026         * math/s_clogl.c: Likewise.
34027         * math/s_csin.c: Likewise.
34028         * math/s_csinf.c: Likewise.
34029         * math/s_csinh.c: Likewise.
34030         * math/s_csinhf.c: Likewise.
34031         * math/s_csinhl.c: Likewise.
34032         * math/s_csinl.c: Likewise.
34033         * math/s_csqrt.c: Likewise.
34034         * math/s_csqrtf.c: Likewise.
34035         * math/s_csqrtl.c: Likewise.
34036         * math/s_ctan.c: Likewise.
34037         * math/s_ctanf.c: Likewise.
34038         * math/s_ctanh.c: Likewise.
34039         * math/s_ctanhf.c: Likewise.
34040         * math/s_ctanhl.c: Likewise.
34041         * math/s_ctanl.c: Likewise.
34042         * math/s_ldexp.c: Likewise.
34043         * math/s_ldexpf.c: Likewise.
34044         * math/s_ldexpl.c: Likewise.
34045         * math/s_significand.c: Likewise.
34046         * math/s_significandf.c: Likewise.
34047         * math/s_significandl.c: Likewise.
34048         * math/w_acos.c: Likewise.
34049         * math/w_acosf.c: Likewise.
34050         * math/w_acosh.c: Likewise.
34051         * math/w_acoshf.c: Likewise.
34052         * math/w_acoshl.c: Likewise.
34053         * math/w_acosl.c: Likewise.
34054         * math/w_asin.c: Likewise.
34055         * math/w_asinf.c: Likewise.
34056         * math/w_asinl.c: Likewise.
34057         * math/w_atan2.c: Likewise.
34058         * math/w_atan2f.c: Likewise.
34059         * math/w_atan2l.c: Likewise.
34060         * math/w_atanh.c: Likewise.
34061         * math/w_atanhf.c: Likewise.
34062         * math/w_atanhl.c: Likewise.
34063         * math/w_cosh.c: Likewise.
34064         * math/w_coshf.c: Likewise.
34065         * math/w_coshl.c: Likewise.
34066         * math/w_dremf.c: Likewise.
34067         * math/w_exp10.c: Likewise.
34068         * math/w_exp10f.c: Likewise.
34069         * math/w_exp10l.c: Likewise.
34070         * math/w_exp2.c: Likewise.
34071         * math/w_exp2f.c: Likewise.
34072         * math/w_fmod.c: Likewise.
34073         * math/w_fmodf.c: Likewise.
34074         * math/w_fmodl.c: Likewise.
34075         * math/w_hypot.c: Likewise.
34076         * math/w_hypotf.c: Likewise.
34077         * math/w_hypotl.c: Likewise.
34078         * math/w_j0.c: Likewise.
34079         * math/w_j0f.c: Likewise.
34080         * math/w_j0l.c: Likewise.
34081         * math/w_j1.c: Likewise.
34082         * math/w_j1f.c: Likewise.
34083         * math/w_j1l.c: Likewise.
34084         * math/w_jn.c: Likewise.
34085         * math/w_jnf.c: Likewise.
34086         * math/w_jnl.c: Likewise.
34087         * math/w_lgamma.c: Likewise.
34088         * math/w_lgamma_r.c: Likewise.
34089         * math/w_lgammaf.c: Likewise.
34090         * math/w_lgammaf_r.c: Likewise.
34091         * math/w_lgammal.c: Likewise.
34092         * math/w_lgammal_r.c: Likewise.
34093         * math/w_log.c: Likewise.
34094         * math/w_log10.c: Likewise.
34095         * math/w_log10f.c: Likewise.
34096         * math/w_log10l.c: Likewise.
34097         * math/w_log2.c: Likewise.
34098         * math/w_log2f.c: Likewise.
34099         * math/w_log2l.c: Likewise.
34100         * math/w_logf.c: Likewise.
34101         * math/w_logl.c: Likewise.
34102         * math/w_pow.c: Likewise.
34103         * math/w_powf.c: Likewise.
34104         * math/w_powl.c: Likewise.
34105         * math/w_remainder.c: Likewise.
34106         * math/w_remainderf.c: Likewise.
34107         * math/w_remainderl.c: Likewise.
34108         * math/w_scalb.c: Likewise.
34109         * math/w_scalbf.c: Likewise.
34110         * math/w_scalbl.c: Likewise.
34111         * math/w_sinh.c: Likewise.
34112         * math/w_sinhf.c: Likewise.
34113         * math/w_sinhl.c: Likewise.
34114         * math/w_sqrt.c: Likewise.
34115         * math/w_sqrtf.c: Likewise.
34116         * math/w_sqrtl.c: Likewise.
34117         * math/w_tgamma.c: Likewise.
34118         * math/w_tgammaf.c: Likewise.
34119         * math/w_tgammal.c: Likewise.
34121         * po/ja.po: Update from translation team.
34123 2011-09-29  Andreas Jaeger  <aj@suse.de>
34125         [BZ #13179]
34126         * sunrpc/netname.c (netname2host): Fix logic.
34128         [BZ #6779]
34129         [BZ #6783]
34130         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
34131         correctly.
34132         * math/w_remainder.c (__remainder): Likewise.
34133         * math/w_remainderf.c (__remainderf): Likewise.
34134         * math/libm-test.inc (remainder_test): Add test cases.
34136 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34138         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
34139         sdiv_qrnnd.
34141 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
34143         * string/test-memcmp.c: Avoid unncessary #defines.
34144         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34146 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34148         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
34149         Use new sse2 version for core i3 - i7 as it's faster
34150         than sse42 version.
34151         (bit_Prefer_PMINUB_for_stringop): New.
34152         * sysdeps/x86_64/rawmemchr.S: Update.
34153         Replace with faster SSE2 version.
34154         * sysdeps/x86_64/memrchr.S: New file.
34155         * sysdeps/x86_64/memchr.S: Update.
34156         Replace with faster SSE2 version.
34158 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
34160         * elf/dl-load.c (lose): Add cast to avoid warning.
34162 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
34164         * po/ca.po: Update from translation team.
34166         * inet/getnetgrent_r.c: Hook up nscd.
34167         * nscd/Makefile (routines): Add nscd_netgroup.
34168         (nscd-modules): Add netgroupcache.
34169         (CFLAGS-netgroupcache.c): Define.
34170         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
34171         (cache_search): Add const to second parameter.
34172         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
34173         INNETGR.
34174         (dbs): Add netgrdb entry.
34175         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
34176         (verify_persistent_db): Handle netgrdb.
34177         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
34178         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
34179         GETFDNETGR.
34180         (netgroup_response_header): Define.
34181         (innetgroup_response_header): Define.
34182         (datahead): Add netgroup_response_header and innetgroup_response_header
34183         elements.
34184         * nscd/nscd.conf: Add entries for netgroup cache.
34185         * nscd/nscd.h (dbtype): Add netgrdb.
34186         (_PATH_NSCD_NETGROUP_DB): Define.
34187         (netgroup_iov_disabled): Declare.
34188         (xmalloc, xcalloc, xrealloc): Move declarations here.
34189         (cache_search): Adjust prototype.
34190         Add netgroup-related prototypes.
34191         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
34192         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
34193         (__nscd_innetgr): Declare.
34194         * nscd/selinux.c (perms): Use access_vector_t as element type and
34195         add netgroup-related initializers.
34196         * nscd/netgroupcache.c: New file.
34197         * nscd/nscd_netgroup.c: New file.
34198         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
34199         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
34200         For four parameters use innetgr.
34201         * nss/nss_files/files-init.c: Add definition and callback for netgr.
34202         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
34203         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
34204         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
34206         * nscd/connections.c (register_traced_file): Don't register file
34207         for disabled databases.
34209 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
34211         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
34213         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
34214         from tree and freeing node.
34216 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
34218         * nss/nsswitch.c (__nss_database_lookup): Handle
34219         nss_parse_service_list out of memory case.
34221 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
34223         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
34224         out of memory case.
34226 2011-10-04  Andreas Schwab  <schwab@redhat.com>
34228         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
34229         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
34230         pass it down.
34231         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
34232         elf_machine_rela, elf_machine_lazy_rel.
34233         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
34234         (ELF_DYNAMIC_DO_REL): Likewise.
34235         (ELF_DYNAMIC_DO_RELA): Likewise.
34236         (ELF_DYNAMIC_RELOCATE): Likewise.
34237         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
34238         to ELF_DYNAMIC_DO_REL.
34239         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
34240         (dl_main): In trace mode always set __RTLD_NOIFUNC.
34241         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
34242         elf_machine_rela.
34243         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
34244         skip_ifunc, don't call ifunc function if non-zero.
34245         (elf_machine_rela): Likewise.
34246         (elf_machine_lazy_rel): Likewise.
34247         (elf_machine_lazy_rela): Likewise.
34248         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
34249         (elf_machine_lazy_rel): Likewise.
34250         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
34251         Likewise.
34252         (elf_machine_lazy_rel): Likewise.
34253         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34254         Likewise.
34255         (elf_machine_lazy_rel): Likewise.
34256         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
34257         (elf_machine_lazy_rel): Likewise.
34258         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
34259         (elf_machine_lazy_rel): Likewise.
34260         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34261         (elf_machine_lazy_rel): Likewise.
34262         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
34263         (elf_machine_lazy_rel): Likewise.
34264         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
34265         (elf_machine_lazy_rel): Likewise.
34266         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34267         (elf_machine_lazy_rel): Likewise.
34269 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
34271         * nss/nss_files/files-init.c (_nss_files_init): Use static
34272         initialization for all the *_traced_file variables.
34274 2011-09-28  Andreas Schwab  <schwab@redhat.com>
34276         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34278 2011-09-27  Roland McGrath  <roland@hack.frob.com>
34280         [BZ #13226]
34281         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
34283 2011-09-27  Andreas Schwab  <schwab@redhat.com>
34285         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34286         Reread the line before reparsing it.
34288 2011-09-26  Andreas Schwab  <schwab@redhat.com>
34290         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
34292 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
34293             Maxim Kuvyrkov  <maxim@codesourcery.com>
34294             Joseph Myers  <joseph@codesourcery.com>
34296         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
34297         if needed for __stack_chk_guard.
34299 2011-09-19  Roland McGrath  <roland@hack.frob.com>
34301         * sysdeps/posix/spawni.c (script_execute): Always define it.
34302         It will be optimized away if unused.
34303         (maybe_script_execute): New function.
34304         (__spawni): Call it.
34306         * Makerules: Don't include tls.make.
34307         (config-tls): Always set to thread.
34308         * tls.make.c: File removed.
34310 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
34312         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
34313         * config.make.in (CPPFLAGS-config): New substituted variable.
34315 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
34317         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
34319         [BZ #13192]
34320         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
34321         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
34323 2011-09-15  Roland McGrath  <roland@hack.frob.com>
34325         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
34326         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
34327         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34328         (CALL_FAIL): Likewise.
34329         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
34330         (CALL_FAIL): Macro removed.
34331         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
34333 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
34335         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
34336         for __FINITE_MATH_ONLY__ == 1.
34338 2011-09-15  Andreas Schwab  <schwab@redhat.com>
34340         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
34341         __ieee754_sqrt instead of sqrt.
34342         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
34343         __ieee754_sqrtf instead of sqrtf.
34344         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
34345         __floorf instead of floorf.
34346         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
34347         __floorf, __truncf instead of floorf, truncf.
34349 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
34351         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
34353         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
34354         __extern_always_inline.
34355         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
34356         32-bit.
34358 2011-09-14  Andreas Schwab  <schwab@redhat.com>
34360         * elf/rtld.c (dl_main): Also relocate in dependency order when
34361         doing symbol dependency testing.
34363 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
34365         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34366         Always define `refsym'.
34368 2011-09-13  Andreas Schwab  <schwab@redhat.com>
34370         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
34371         (__FD_ELT): Renamed from __FDELT.
34372         * misc/bits/select2.h (__FD_ELT): Likewise.
34373         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
34374         __FD_MASK instead of __FDELT, __FDMASK.
34375         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34376         Likewise.
34377         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34378         Likewise.
34380         * elf/Makefile (gen-ldd): Fix pattern.
34382         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
34383         (init_tls): Likewise.
34385 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
34387         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
34389 2011-09-12  Andreas Schwab  <schwab@redhat.com>
34391         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
34392         `struct cmsghdr *' instead of `void *'.
34393         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
34394         Likewise.
34396 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
34398         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
34399         if non-absolute.
34400         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
34401         ldd_rewrite_script.
34403 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
34405         * configure.in: Remove --with-tls option.
34406         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
34407         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
34408         out in case it is missing.
34409         * sysdeps/ia64/elf/configure.in: Likewise.
34410         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
34411         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
34412         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
34413         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
34414         * sysdeps/sh/elf/configure.in: Likewise.
34415         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
34416         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34417         * sysdeps/x86_64/elf/configure.in: Likewise.
34418         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
34419         * sysdeps/mach/hurd/tls.h: Likewise.
34421         [BZ #13067]
34422         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
34424         [BZ #13090]
34425         * configure.in: Fix use of AC_INIT.
34427         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
34429 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
34431         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
34432         __set_errno.
34433         * malloc/hooks.c: Likewise.
34435         [BZ #11929]
34436         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
34437         variables statically.
34438         (narenas): Initialize.
34439         (list_lock): Initialize.
34440         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
34441         initializtion of main_arena and list_lock.  Small cleanups.
34442         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
34443         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
34444         Add initializers to main_arena and mp_.
34445         (malloc_state): Remove pagesize member.  Change all users to use
34446         GLRO(dl_pagesize).
34448         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
34449         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
34450         is always initialized.
34452         * malloc/malloc.c: Removed unused configurations and dead code.
34453         * malloc/arena.c: Likewise.
34454         * malloc/hooks.c: Likewise.
34455         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
34457         * include/tls.h: Removed.  USE___THREAD must always be defined.
34458         * bits/libc-tsd.h: Don't handle !USE___THREAD.
34459         * elf/dl-libc.c: Likewise.
34460         * elf/dl-tsd.c: Likewise.
34461         * include/errno.h: Likewise.
34462         * include/netdb.h: Likewise.
34463         * include/resolv.h: Likewise.
34464         * inet/herrno-loc.c: Likewise.
34465         * inet/herrno.c: Likewise.
34466         * malloc/arena.c: Likewise.
34467         * malloc/hooks.c: Likewise.
34468         * malloc/malloc.c: Likewise.
34469         * resolv/res-state.c: Likewise.
34470         * resolv/res_libc.c: Likewise.
34471         * sysdeps/i386/dl-machine.h: Likewise.
34472         * sysdeps/ia64/dl-machine.h: Likewise.
34473         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
34474         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34475         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
34476         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
34477         * sysdeps/sh/dl-machine.h: Likewise.
34478         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34479         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34480         * sysdeps/unix/i386/sysdep.S: Likewise.
34481         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34482         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
34483         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
34484         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34485         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
34486         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34487         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34488         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34489         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34490         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34491         * sysdeps/unix/x86_64/sysdep.S: Likewise.
34492         * sysdeps/x86_64/dl-machine.h: Likewise.
34493         * tls.make.c: Likewise.
34495         * configure.in: Remove --with-__thread option.  Make tests for
34496         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
34497         tls_model attribute fail if no support is available.  Remove
34498         USE_IN_LIBIO.
34499         * Makeconfig: Adjust for dropped configure option.  All features are
34500         now mandatory.
34501         * Makerules: Likewise.
34502         * Versions.def: Likewise.
34503         * argp/argp-fmtstream.c: Likewise.
34504         * argp/argp-fmtstream.h: Likewise.
34505         * argp/argp-help.c: Likewise.
34506         * assert/assert.c: Likewise.
34507         * config.h.in: Likewise.
34508         * config.make.in: Likewise.
34509         * configure: Likewise.
34510         * configure.in: Likewise.
34511         * csu/Versions: Likewise.
34512         * csu/init.c: Likewise.
34513         * elf/tst-audit2.c: Likewise.
34514         * elf/tst-tls10.c: Likewise.
34515         * elf/tst-tls10.h: Likewise.
34516         * elf/tst-tls11.c: Likewise.
34517         * elf/tst-tls12.c: Likewise.
34518         * elf/tst-tls14.c: Likewise.
34519         * elf/tst-tlsmod11.c: Likewise.
34520         * elf/tst-tlsmod12.c: Likewise.
34521         * elf/tst-tlsmod13.c: Likewise.
34522         * elf/tst-tlsmod13a.c: Likewise.
34523         * elf/tst-tlsmod14a.c: Likewise.
34524         * elf/tst-tlsmod15b.c: Likewise.
34525         * elf/tst-tlsmod16a.c: Likewise.
34526         * elf/tst-tlsmod16b.c: Likewise.
34527         * elf/tst-tlsmod7.c: Likewise.
34528         * elf/tst-tlsmod8.c: Likewise.
34529         * elf/tst-tlsmod9.c: Likewise.
34530         * gmon/gmon.c: Likewise.
34531         * grp/fgetgrent_r.c: Likewise.
34532         * grp/putgrent.c: Likewise.
34533         * hurd/fopenport.c: Likewise.
34534         * include/libc-symbols.h: Likewise.
34535         * include/tls.h: Likewise.
34536         * intl/gettextP.h: Likewise.
34537         * intl/loadinfo.h: Likewise.
34538         * locale/global-locale.c: Likewise.
34539         * locale/localeinfo.h: Likewise.
34540         * mach/devstream.c: Likewise.
34541         * malloc/arena.c: Likewise.
34542         * malloc/set-freeres.c: Likewise.
34543         * misc/err.c: Likewise.
34544         * misc/getttyent.c: Likewise.
34545         * misc/mntent_r.c: Likewise.
34546         * posix/getopt.c: Likewise.
34547         * posix/wordexp.c: Likewise.
34548         * pwd/fgetpwent_r.c: Likewise.
34549         * resolv/Versions: Likewise.
34550         * resolv/res_hconf.c: Likewise.
34551         * shadow/fgetspent_r.c: Likewise.
34552         * shadow/putspent.c: Likewise.
34553         * stdio-common/printf_fphex.c: Likewise.
34554         * stdio-common/tmpfile.c: Likewise.
34555         * stdlib/abort.c: Likewise.
34556         * stdlib/fmtmsg.c: Likewise.
34557         * sunrpc/auth_unix.c: Likewise.
34558         * sunrpc/clnt_perr.c: Likewise.
34559         * sunrpc/clnt_tcp.c: Likewise.
34560         * sunrpc/clnt_udp.c: Likewise.
34561         * sunrpc/clnt_unix.c: Likewise.
34562         * sunrpc/openchild.c: Likewise.
34563         * sunrpc/svc_simple.c: Likewise.
34564         * sunrpc/svc_tcp.c: Likewise.
34565         * sunrpc/svc_udp.c: Likewise.
34566         * sunrpc/svc_unix.c: Likewise.
34567         * sunrpc/xdr.c: Likewise.
34568         * sunrpc/xdr_array.c: Likewise.
34569         * sunrpc/xdr_rec.c: Likewise.
34570         * sunrpc/xdr_ref.c: Likewise.
34571         * sunrpc/xdr_stdio.c: Likewise.
34573 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
34575         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34577 2011-07-03  Andreas Jaeger  <aj@suse.de>
34579         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
34580         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
34581         regenerate with gen-libm-tests.pl.
34583 2010-05-12  Petr Baudis  <pasky@suse.cz>
34585         [BZ #11589]
34586         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
34587         around j0() zero points by switching to j1().
34588         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34589         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34590         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34591         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34593 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
34595         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
34596         instead of 0.
34597         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
34598         instead of 0.
34599         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34600         Patch in part by Pavel Roskin <proski@gnu.org>.
34602         [BZ #13138]
34603         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
34604         realloc.
34605         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
34606         Free memory block if necessary.
34608         [BZ #12847]
34609         * libio/genops.c (INTDEF): For string streams the _lock pointer can
34610         be NULL.  Don't lock in this case.
34612 2011-09-09  Roland McGrath  <roland@hack.frob.com>
34614         * elf/elf.h (ELFOSABI_GNU): New macro.
34615         (ELFOSABI_LINUX): Define to that.
34617 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
34619         * string/strncat.c (strncat): Undef the symbol in case it has been
34620         defined in bits/string.h.
34622 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
34624         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
34626         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
34627         link map.
34629 2011-08-17  Andreas Jaeger  <aj@suse.de>
34631         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
34633 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
34634             Ian Lance Taylor  <iant@google.com>
34636         * math/libm-test.inc (lround_test): New testcase.
34637         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
34639 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
34641         * Makefile: Remove support for automatic cvs check-ins.
34642         * Makerules: Likewise.
34643         * config.make.in: Likewise.
34644         * configure.in: Likewise.
34645         * intl/Makefile: Likewise.
34646         * locale/Makefile: Likewise.
34647         * po/Makefile: Likewise.
34648         * posix/Makefile: Likewise.
34649         * sysdeps/gnu/Makefile: Likewise.
34650         * sysdeps/mach/hurd/Makefile: Likewise.
34651         * sysdeps/sparc/sparc32/Makefile: Likewise.
34653         [BZ #13118]
34654         * posix/Makefile (bug-regex32-ENV): Define.
34655         Patch by John Stanley <jpsinthemix@verizon.net>.
34657         * misc/Makefile (headers): Add bits/select2.h.
34658         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
34659         * misc/bits/select2.h: New file.
34660         * include/bits/select2.h: New file.
34661         * debug/Makefile (routines): Add fdelt_chk.
34662         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
34663         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
34664         FD_ISSET.
34665         * debug/fdelt_chk.c: New file.
34667         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
34668         * wcsmbs/test-wmemcmp.c: Likewise.
34669         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
34670         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
34672 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34674         * string/Makefile (strop-tests): Add memcmp.
34675         * string/test-wmemcmp.c: New file.
34676         * string/test-memcmp.c: Add wmemcmp support.
34678 2011-09-08  Roland McGrath  <roland@hack.frob.com>
34680         [BZ #13153]
34681         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
34682         2011-07-19 change.
34684         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
34685         garbage value in a __mach_port_mod_refs call in the cases of the
34686         task-self and thread-self ports.
34688 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34690         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
34692 2011-09-08  Andreas Schwab  <schwab@redhat.com>
34694         * elf/dl-load.c (lose): Check for non-null L.
34696 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
34698         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
34700         * elf/dl-libc.c (dlerror_run): Pass back error code from
34701         dl_catch_error.
34703         [BZ #13123]
34704         * elf/dl-load.c (lose): Free l_origin if it is valid.
34706         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
34707         names.
34708         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34709         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34710         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34711         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34712         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34713         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
34715 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34717         * sysdeps/powerpc/fpu/e_hypot.c: New file.
34718         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
34719         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
34720         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
34721         * sysdeps/powerpc/fpu/k_cosf.c: New file.
34722         * sysdeps/powerpc/fpu/k_sinf.c: New file.
34723         * sysdeps/powerpc/fpu/s_cosf.c: New file.
34724         * sysdeps/powerpc/fpu/s_sinf.c: New file.
34725         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
34726         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
34728 2011-08-15  Alan Modra  <amodra@gmail.com>
34730         [BZ #13092]
34731         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
34732         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
34733         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
34734         ppc_mcount to static-only-routines.
34735         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
34736         __mcount_internal.
34737         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
34738         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
34740 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
34742         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
34743         for finite and infinity parameters.
34745 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
34747         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
34748         and add nop instructions for throughput optimization.
34749         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34751 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
34753         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
34754         aligned copy for power7 with vector-scalar instructions.
34755         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34757 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
34759         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
34760         AVX check.
34762 2011-09-07  Andreas Schwab  <schwab@redhat.com>
34764         [BZ #13144]
34765         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
34766         last change.
34768 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
34770         * sysdeps/unix/sysv/linux/x86_64/init-first.c
34771         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
34772         syscall wrapper around clock_gettime in __vdso_clock_gettime.
34773         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
34774         clock_gettime.
34776 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
34778         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34779         Forgot to demangle the pointer.
34781         * sysdeps/i386/sysdep.h: Define atom_text_section.
34782         * sysdeps/x86_64/sysdep.h: Likewise.
34783         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34784         section with atom_text_section.
34785         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34786         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34787         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34788         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34789         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34791         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34792         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34793         already be defined.  Change to take two parameters and don't assign
34794         result to variable.  Adjust all users.
34795         Define INTERNAL_GETTIME if not already defined.
34796         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34797         call.
34798         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34799         HAVE_CLOCK_GETTIME_VSYSCALL.
34800         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34802         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34803         gettimeofday vsyscall, just use time.
34805 2011-09-06  Andreas Schwab  <schwab@redhat.com>
34807         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34808         <errno.h>.
34810 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
34812         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34813         syscall on x86-64.
34814         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34815         syscall.
34816         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34817         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34818         syscall if possible.
34820 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34822         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34823         e_ident.  Don't pass to find_mapsXX.
34824         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34826 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34828         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34829         strchr-sse2-no-bsf strrchr-sse2-no-bsf
34830         * sysdeps/x86_64/multiarch/strchr.S: Update.
34831         Check bit_slow_BSF bit.
34832         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34833         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34834         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34836 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34838         [BZ #13134]
34839         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34840         before glibc 2.15.
34841         (tryshell): Define.
34842         (__spawni): Change last parameter to be flag.  Test
34843         SPAWN_XFLAGS_USE_PATH flag to use path or not.
34844         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34845         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34846         * posix/spawni.c: Likewise.
34847         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34848         * posix/spawnp.c: Likewise.  Change normal version to use
34849         SPAWN_XFLAGS_USE_PATH.
34850         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34851         SPAWN_XFLAGS_TRY_SHELL.
34853         [BZ #13150]
34854         * posix/glob.h: Remove gcc 1.x support.
34856         [BZ #13068]
34857         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34859 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34861         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34862         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34863         strrchr-sse2-bsf
34864         * sysdeps/i386/i686/multiarch/strchr.S: New file.
34865         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34866         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34867         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34868         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34869         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34871 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34873         * sysdeps/x86_64/wcscmp.S: New file.
34875         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34876         wcscmp-c wcscmp-sse2
34877         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34878         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34879         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34880         * wcsmbs/wcscmp.c: Allow renaming.
34882 2011-09-05  David S. Miller  <davem@davemloft.net>
34884         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34885         stack slot, rather than the struct return pointer slot.
34886         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34887         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34888         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34889         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34891 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34893         * po/ja.po: Update from translation team.
34895         [BZ #13144]
34896         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34897         kernel in 64-bit binaries.
34899 2011-09-01  David S. Miller  <davem@davemloft.net>
34901         * elf/elf.h (HWCAP_SPARC_*): Move to..
34902         * sysdeps/sparc/sysdep.h: this new file and add new values.
34903         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34904         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34905         _DL_HWCAP_COUNT to 24.
34906         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34907         entries.
34908         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34909         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34910         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34911         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34912         instead of magic constants.
34913         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34915 2011-08-31  David S. Miller  <davem@davemloft.net>
34917         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34918         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34919         Reimplement to do errno handling inline.
34920         (SYSCALL_ERROR_HANDLER): New macro.
34921         (__SYSCALL_STRING): Do not do errno handling in asm.
34922         (__CLONE_SYSCALL_STRING): Delete.
34923         (__INTERNAL_SYSCALL_STRING): Delete.
34924         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34925         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34926         (PSEUDO): Reimplement to do errno handling inline.
34927         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34928         (SYSCALL_ERROR_HANDLER): New macro.
34929         (__SYSCALL_STRING): Do not do errno handling in asm.
34930         (__CLONE_SYSCALL_STRING): Delete.
34931         (__INTERNAL_SYSCALL_STRING): Delete.
34932         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34933         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34934         i386.
34935         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34936         (inline_syscall*): Add 'err' argument.
34937         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34938         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34939         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34940         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34942         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34943         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34945 2011-08-30  Andreas Schwab  <schwab@redhat.com>
34947         * elf/rtld.c (dl_main): Relocate objects in dependency order.
34949 2011-08-29  Jiri Olsa <jolsa@redhat.com>
34951         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34952         directive.
34954 2011-08-24  David S. Miller  <davem@davemloft.net>
34956         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34958 2011-08-24  Andreas Schwab  <schwab@redhat.com>
34960         * elf/Makefile: Add rules to build and run unload8 test.
34961         * elf/unload8.c: New file.
34962         * elf/unload8mod1.c: New file.
34963         * elf/unload8mod1x.c: New file.
34964         * elf/unload8mod2.c: New file.
34965         * elf/unload8mod3.c: New file.
34967         * elf/dl-close.c (_dl_close_worker): Reset private search list if
34968         it wasn't used.
34970 2011-08-23  David S. Miller  <davem@davemloft.net>
34972         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34973         subtract stack bias.
34974         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34975         %sp not %fp in calculations.
34976         (_JMPBUF_UNWINDS_ADJ): Likewise.
34978         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34979         (aio_suspend): Call it to force an exception region around the
34980         AIO_MISC_WAIT() invocation.
34982 2011-08-23  Andreas Schwab  <schwab@redhat.com>
34984         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34985         backslash.
34987 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
34989         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34990         protection macro.
34991         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34992         and <dl-machine.h>.
34993         (Elf64_FuncDesc): Remove.
34995 2011-08-22  David S. Miller  <davem@davemloft.net>
34997         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34998         sigaltstack check, add missing cfi directives.
34999         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
35000         missing cfi directives, and sigaltstack handling.
35002 2011-08-16  Andreas Schwab  <schwab@redhat.com>
35004         [BZ #11724]
35005         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
35006         object is seen twice.
35007         * elf/dl-fini.c (_dl_sort_fini): Likewise.
35009         * elf/Makefile (distribute): Add tst-initorder2.c.
35010         (tests): Add tst-initorder2.
35011         (modules-names): Add tst-initorder2a tst-initorder2b
35012         tst-initorder2c tst-initorder2d.  Add rules to build them.
35013         ($(objpfx)tst-initorder2.out): New rule.
35014         * elf/tst-initorder2.c: New file.
35015         * elf/tst-initorder2.exp: New file.
35017 2011-08-22  Andreas Schwab  <schwab@redhat.com>
35019         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
35021         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
35022         dependencies back to end of function.
35024         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35025         $(elfobjdir)/ld.so.
35027 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
35029         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
35030         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
35031         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
35032         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
35033         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
35034         of __vdso_gettimeofday.
35035         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
35036         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
35037         attribute_hidden.
35038         (_libc_vdso_platform_setup): Remove initialization of
35039         __vdso_gettimeofday and __vdso_time.
35041 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
35043         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
35044         and fgetc_unlocked.
35045         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
35046         getc_unlocked.
35048         * elf/dl-open.c (add_to_global): Report additions to the global scope
35049         for LD_DEBUG=scopes.
35050         (dl_open_worker): Also print scope of newly loaded dependencies.
35051         (_dl_show_scope): Indicate if there is no scope.
35053         [BZ #13114]
35054         * stdio-common/Makefile (tests): Add bug24.
35055         * stdio-common/bug24.c: New file.
35057 2011-08-19  Andreas Jaeger  <aj@suse.de>
35059         [BZ #13114]
35060         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
35061         non-existant file when using close-on-exec mode.
35063 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
35065         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
35066         the very first instruction.
35068         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
35069         the CFI state in the end.
35070         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
35071         inclusion of dl-trampoline.h.
35072         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
35074 2011-08-19  Andreas Schwab  <schwab@redhat.com>
35076         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
35077         expectations for long double.
35079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
35080         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
35082 2011-08-14  David S. Miller  <davem@davemloft.net>
35084         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
35085         artificual limit depends upon the system page size.
35087 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
35089         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
35090         * resolv/Makefile: Define CFLAGS-libresolv.
35092 2011-08-17  Andreas Schwab  <schwab@redhat.com>
35094         * nss/makedb.c (compute_tables): Make variables used in nested
35095         function static.
35097 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
35099         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
35100         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
35101         if buffer was too small.
35103         * elf/pldd.c (main): Attach to all threads in the process.
35104         Rewrite /proc handling to use *at functions.
35106 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
35108         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
35109         specifies first scope to show.
35110         (dl_open_worker): Update callers.  Move printing scope of new
35111         object to before the relocation.
35112         * elf/rtld.c (dl_main): Update _dl_show_scope call.
35113         * sysdeps/generic/ldsodefs.h: Update declaration.
35115         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
35116         string for the scope number.
35118 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
35120         * nscd/servicescache.c (cache_addserv): Make sure written is always
35121         initialized.
35123 2011-08-14  Roland McGrath  <roland@hack.frob.com>
35125         * sysdeps/i386/i486/bits/atomic.h
35126         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
35127         statement expression, so as to suppress "set but not used" warning.
35128         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
35130         * string/strncat.c (STRNCAT): Use prototype definition.
35132         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
35133         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
35134         -Iprograms here.
35135         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
35136         (localedef-modules): Add localedef.
35137         (locale-modules): Add locale.
35139         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
35140         * elf/rtld.c (dl_main): Invert order of assignment in last change,
35141         to avoid a warning.
35143 2011-08-14  David S. Miller  <davem@davemloft.net>
35145         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
35146         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
35148 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
35150         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
35151         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
35152         * elf/rtld.c (dl_main): Set l_name of vDSO.
35153         Call _dl_show_scope when DL_DEBUG_SCOPES.
35154         (process_dl_debug): Recognize scopes flag and also set it for all.
35155         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
35156         Declare _dl_show_scope.
35158         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
35159         (do_dlopen): Pass caller_dlopen to dl_open.
35160         (__libc_dlopen_mode): Initialize caller_dlopen.
35162         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
35163         of libc.  Make tolower call locale-independent.  Optimize a bit by
35164         using isdigit instead of isalnum.
35165         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
35167 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
35169         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
35170         was a dependency or dynamically loaded.
35172 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
35174         * intl/l10nflist.c: Allow architecture-specific pop function.
35175         * sysdeps/x86_64/l10nflist.c: New file.
35177         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
35178         classification.
35180 2011-08-10  Andreas Schwab  <schwab@redhat.com>
35182         * include/dirent.h: Add libc_hidden_proto for scandirat and
35183         scandirat64.  Don't declare __scandirat64.
35184         * dirent/scandirat.c: Add libc_hidden_def.
35185         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
35186         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
35188 2011-08-10  David S. Miller  <davem@davemloft.net>
35190         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
35191         enum.
35192         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35193         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35194         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35196 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
35198         * Versions.def [libc]: Add GLIBC_2.15.
35199         * dirent/Makefile (routines): Add scandirat and scandirat64.
35200         * dirent/Versions [libc]: Export scandirat and scandirat64 for
35201         GLIBC_2.15.
35202         * dirent/dirent.h: Declare scandirat and scandirat64.
35203         * dirent/scandirat.c: New file.
35204         * dirent/scandirat64.c: New file.
35205         * sysdeps/wordsize-64/scandirat.c: New file.
35206         * sysdeps/wordsize-64/scandirat64.c: New file.
35207         * dirent/opendir.c: Define opendirat.
35208         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
35209         using scandirat.
35210         * dirent/scandir64.c: Adjust for scandir.c change.
35211         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
35212         __scandirat64, and __scandir_cancel_handler.
35213         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
35214         additional parameter and use openat instead of open (outside of ld.so).
35215         Add new __opendir as wrapper around __opendirat.
35216         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
35217         here without requiring old scandirat implementation.
35219 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
35221         * dirent/scandir.c (cancel_handler): Renamed to
35222         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
35223         defined.  Adjust users.
35224         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
35225         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
35227 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
35229         * string/test-string.h (IMPL): Use __STRING to expand name and then
35230         stringify it.
35232         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
35233         of cleanups.
35235 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35237         * string/Makefile: Update.
35238         (strop-tests): Append strncat.
35239         * string/test-wcscmp.c: New file.
35240         New comprehensive test for wcscmp.
35241         * string/test-strcmp.c: Update.
35242         (WIDE): New define.
35244 2011-07-22  Andreas Schwab  <schwab@redhat.com>
35246         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
35247         line.
35249 2011-07-26  Andreas Schwab  <schwab@redhat.com>
35251         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35252         encoding to ACE if AI_IDN.
35254 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
35256         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
35257         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
35259 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35261         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
35262         Fix overflow bug in strncat.
35263         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
35265         * string/test-strncat.c: Update.
35266         Add new tests for checking overflow bugs.
35268 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35270         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35271         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
35272         * sysdeps/i386/i686/multiarch/strcat.S: New file.
35273         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
35274         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
35275         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
35276         * sysdeps/i386/i686/multiarch/strncat.S: New file.
35277         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
35278         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
35280         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
35281         (USE_AS_STRCAT): Define.
35282         Add strcat and strncat support.
35283         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35285 2011-07-25  Andreas Schwab  <schwab@redhat.com>
35287         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
35288         __n bigger than INT_MAX+1.
35289         (__strncmp_g): Likewise.
35291 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
35293         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
35294         * libio/stido.h: Likewise.
35296         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
35297         (AF_NFC): Define.
35298         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
35299         (AF_NFC): Define.
35301         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
35302         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35303         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35304         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35305         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35307         [BZ #13021]
35308         * scripts/test-installation.pl: Don't expect libnss_test1 to be
35309         installed.
35311         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
35312         typo.
35313         (_dl_x86_64_save_sse): Likewise.
35315 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
35317         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
35318         OSXSAVE.
35319         (_dl_x86_64_save_sse): Likewise.
35321         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
35323         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
35325 2011-07-21  Andreas Schwab  <schwab@redhat.com>
35327         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
35328         change.
35329         (_dl_x86_64_save_sse): Use correct AVX check.
35331 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35333         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
35334         bug in strncpy/strncat.
35335         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
35337 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
35339         * string/tester.c (test_strcat): Add tests for different alignments
35340         of source and destination.
35341         (test_strncat): Likewise.
35343 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
35345         [BZ #12852]
35346         * posix/glob.c (glob): Check passed in values before using them in
35347         expressions to avoid some overflows.
35348         (glob_in_dir): Likewise.
35350         [BZ #13007]
35351         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
35352         check for AVX enablement so that we don't crash with old kernels and
35353         new hardware.
35354         * elf/tst-audit4.c: Add same checks here.
35355         * elf/tst-audit6.c: Likewise.
35357         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
35359 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
35361         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
35363 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
35365         * po/cs.po: Update from translation team.
35366         * po/bg.po: Likewise.
35368 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
35370         * misc/sys/cdefs.h: Add support for const attribute.
35371         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
35372         to gnu_dev_{major,minor,makedev} functions.
35374 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
35376         * intl/dcigettext.c (get_output_charset): Add missing bracket.
35378 2011-07-20  Andreas Schwab  <schwab@redhat.com>
35380         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
35381         strlen results.
35383 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35385         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
35386         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
35387         register in order to avoid conflicts with the soft frame pointer
35388         being held in r11 when necessary.
35389         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
35390         (INTERNAL_VSYSCALL_NCS): Likewise.
35392 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
35394         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
35395         * elf/dl-fini.c (_dl_fini): Adjust caller.
35396         * elf/dl-close.c (_dl_close_worker): Likewise.
35397         * sysdeps/generic/ldsodefs.h: Adjust declaration.
35399 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
35401         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
35402         "aux_cache->nlibs < 0".
35404         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
35405         in the reload-count case.
35407 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35409         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35410         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
35411         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
35412         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
35413         * sysdeps/x86_64/multiarch/strcat.S: New file.
35414         * sysdeps/x86_64/multiarch/strncat.S: New file.
35415         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
35416         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
35417         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
35418         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
35419         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
35420         (USE_AS_STRCAT): Define.
35421         Add strcat and strncat support.
35422         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35423         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
35424         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
35425         * string/strncat.c: Update.
35426         (USE_AS_STRNCAT): Define.
35427         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35428         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
35429         and i7.
35430         * sysdeps/x86_64/multiarch/init-arch.h
35431         (bit_Prefer_PMINUB_for_stringop): New.
35432         (index_Prefer_PMINUB_for_stringop): Likewise.
35433         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
35434         bit_Prefer_PMINUB_for_stringop.
35436 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
35438         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
35439         buffer64.
35440         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
35441         of casting of buffer.
35442         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
35443         buffer32 and buffer64.
35444         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
35445         writes instead of casting of buffer.
35446         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
35447         buffer32.
35448         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
35449         casting of buffer.
35451 2011-07-19  Andreas Schwab  <schwab@redhat.com>
35453         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
35455 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
35457         * nscd/nscd.c (termination_handler): Don't do anything for a database
35458         if it has not yet been initialized.
35460 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
35462         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35464 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
35466         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35468 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
35470         * po/nl.po: Update from translation team.
35471         * po/sv.po: Likewise.
35473 2011-07-16  Roland McGrath  <roland@hack.frob.com>
35475         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
35476         now disallowed by GCC.
35478         * configure.in (use-default-link): Default to yes if a test -shared
35479         link meets our qualifications.
35480         * configure: Regenerated.
35482         * config.make.in (output-format): New variable.
35483         * configure.in: Check for ld --print-output-format support.
35484         * configure: Regenerated.
35485         * Makerules ($(common-objpfx)format.lds)
35486         [$(output-format) != unknown]: Just use $(output-format),
35487         instead of the linker-script munging.
35489 2011-07-14  Roland McGrath  <roland@hack.frob.com>
35491         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
35492         of $(common-objpfx)shlib.lds.
35493         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
35495         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
35496         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
35498         * configure.in (-z relro check): Adjust test code to add a large
35499         writable data section after it.
35500         * configure: Regenerated.
35502 2011-07-11  Roland McGrath  <roland@hack.frob.com>
35504         * configure.in (-z relro check): Fix test code to make the variable
35505         truly const.
35506         * configure: Regenerated.
35508 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
35510         * nscd/nscd.h (struct traced_file): Define.
35511         (struct database_dyn): Remove inotify_descr, reset_res, and filename
35512         elements.  Add traced_files.
35513         (inotify_fd): Declare.
35514         (register_traced_file): Declare.
35515         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
35516         (inotify_fd): Export.
35517         (resolv_conf_descr): Remove.
35518         (nscd_init): Move inotify descriptor creation to main.
35519         Don't register files for notification here.
35520         (register_traced_file): New function.
35521         (invalidate_cache): Don't use reset_res to determine whether to call
35522         res_init, go through the list of registered files.
35523         (main_loop_poll): The inotify descriptors are now stored in the
35524         structures for the traced files.
35525         (main_loop_epoll): Likewise
35526         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
35527         to __nss_disable_nscd.
35528         * nscd/cache.c (prune_cache): There is no single inotify descriptor
35529         for a database anymore.  Check the records for all the registered
35530         files instead.
35531         * nss/Makefile (libnss_files-routines): Add files-init.
35532         (libnss_db-routines): Add db-init.
35533         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
35534         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
35535         * nss/nss_db/db-init.c: New file.
35536         * nss/nss_files/files-init.c: New file.
35537         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
35538         __nss_lookup_function.
35539         (__nss_lookup_function): Call nss_load_library.
35540         (nss_load_all_libraries): New function.
35541         (__nss_disable_nscd): Take parameter with callback function for files
35542         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
35543         used for the cached services.
35544         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
35545         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
35546         options for features to all the files in nscd.
35548         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
35550 2011-07-10  Roland McGrath  <roland@hack.frob.com>
35552         * csu/elf-init.c (__libc_csu_init): Comment typo.
35554 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
35556         * po/pl.po: Update from translation team.
35557         * po/ja.po: Likewise.
35558         * po/ru.po: Likewise.
35559         * po/ko.po: Likewise.
35560         * po/fr.po: Likewise.
35562 2011-07-09  Roland McGrath  <roland@hack.frob.com>
35564         * configure.in (.ctors/.dtors header and trailer check):
35565         Use an empirical test on a built program.
35566         * configure: Regenerated.
35568         * configure.in (-z relro check): Use an empirical test on a built DSO.
35569         Detect, but do not require, on ia64.
35570         * configure: Regenerated.
35572         * configure.in (READELF): Find it with AC_CHECK_TOOL.
35573         Update tests that use readelf to use $READELF instead.
35574         * configure: Regenerated.
35576 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
35578         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
35579         if the result is not used.
35581 2011-07-05  Andreas Jaeger  <aj@suse.de>
35583         [BZ#9696]
35584         * stdlib/tst-strtod.c: Add testcase.
35586 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
35588         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
35589         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
35590         The latter has a higher limit.  Take additional parameter to pass to
35591         the new function.
35592         (__pathconf): Pass file to __statfs_link_max.
35593         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
35594         __statfs_link_max.
35595         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
35596         __statfs_link_max.
35598         [BZ #12868]
35599         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
35600         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35601         Handle Lustre.
35602         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
35603         (__statfs_filesize_max): Likewise.
35604         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
35606 2011-07-05  Andreas Jaeger  <aj@suse.de>
35608         * resolv/res_comp.c (dn_skipname): Remove unused variable.
35610 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
35612         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
35613         `status' variable.
35614         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
35615         Likewise.
35617 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
35619         * Makefile (strop-tests): Add strncat.
35620         * string/test-strncat.c: New file.
35622 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
35624         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
35626 2011-06-21  Andreas Jaeger  <aj@suse.de>
35628         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
35629         Copy rule from iconvdata/Makefile.
35631 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
35633         [BZ #12922]
35634         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
35635         but no long options are defined, just return 'W'.
35637 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
35639         [BZ #9696]
35640         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
35642 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
35644         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
35645         netgroups to read.
35646         (innetgr): Likewise.
35648 2011-07-05  Roland McGrath  <roland@hack.frob.com>
35650         * config.make.in (install_root): Default to $(DESTDIR).
35652 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
35654         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
35656 2011-07-02  Roland McGrath  <roland@hack.frob.com>
35658         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
35660         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
35661         containing directory rather than embedding absolute directory names.
35663         * scripts/check-local-headers.sh: Rewritten using awk.
35664         Match by word, not by line.  Print error messages for matches.
35665         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
35667         * Makerules [shlib-lds-flags empty]:
35668         ($(common-objpfx)libc_pic.opts): New target.
35669         ($(common-objpfx)libc_pic.os.clean): New target.
35670         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
35672         * config.make.in (OBJCOPY): New variable.
35673         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
35674         * configure: Regenerated.
35676         * config.make.in (use-default-link): New variable.
35677         * configure.in (use_default_link): Grok --with-default-link to set it.
35678         * configure: Regenerated.
35679         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
35680         (shlib-lds, shlib-lds-flags): Define to empty.
35682         * Makerules (shlib-lds): New variable.
35683         (shlib-lds-flags): New variable.
35684         (build-shlib, build-moduile, build-module-asneeded): Use it.
35685         ($(common-objpfx)libc.so): Use $(shlib-lds).
35686         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
35687         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
35689         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
35690         DT_FLAGS/DT_FLAGS_1 with zero flags.
35692         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
35693         linker script munging.
35695 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
35697         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
35698         as 128-bit value.
35699         * crypt/sha512.c (sha512_process_block): Perform total addition using
35700         128-bit if possible.
35701         (__sha512_finish_ctx): Likewise.
35702         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
35703         as 64-bit value.
35704         * crypt/sha256.c (SWAP64): Define.
35705         (sha256_process_block): Perform total addition using 64-bit if
35706         possible.
35707         (__sha256_finish_ctx): Likewise.
35709 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
35711         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
35712         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35713         * nscd/hstcache.c (cache_addhst): Likewise.
35714         * nscd/grpcache.c (cache_addgr): Likewise.
35715         * nscd/aicache.c (addhstaiX): Likewise
35716         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
35718 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
35720         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
35721         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35722         * nscd/hstcache.c (cache_addhst): Likewise.
35723         * nscd/grpcache.c (cache_addgr): Likewise.
35724         * nscd/aicache.c (addhstaiX): Likewise
35726 2011-07-01  Andreas Schwab  <schwab@redhat.com>
35728         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
35729         domain only when needed.
35731 2011-06-30  Andreas Schwab  <schwab@redhat.com>
35733         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
35734         is always restored.
35736 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
35738         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
35739         are re-adding the entry.
35740         * nscd/servicescache.c (cache_addserv): Likewise.
35742 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
35744         * sysdeps/generic/dl-irel.h: fix protection against multiple
35745         inclusions.
35746         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
35748 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
35750         [BZ #12935]
35751         * malloc/memusage.sh: Fix quoting in message.
35752         * debug/xtrace.sh: Likewise.
35754         * configure.in: Remove support for --experimental-malloc option, make
35755         it the default.
35756         * config.make.in: Likewise.
35757         * malloc/Makefile: Likewise.
35759 2011-06-27  Andreas Schwab  <schwab@redhat.com>
35761         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
35762         two-byte characters.
35764 2011-06-27  Roland McGrath  <roland@hack.frob.com>
35766         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
35767         AC_CACHE_CHECK invocation.
35768         * configure: Regenerated.
35770         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
35772 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
35774         [BZ #12350]
35775         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
35776         bit from old_res_options.
35778         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35780         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35781         value type for setfct.
35783 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
35785         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35786         __gettimeofday instead of gettimeofday.
35788 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
35790         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35792 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
35794         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35796         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35797         info.
35799 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
35801         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35802         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35803         strcpy-sse2-unaligned strncpy-sse2-unaligned
35804         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35805         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35806         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35807         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35808         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35809         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35810         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35811         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35812         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35813         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35814         (STRCPY): Support SSE2 and SSSE3 versions.
35816 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
35818         [BZ #12874]
35819         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35820         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35821         kernels which artificially limit size of requests.
35823 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
35825         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35826         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35827         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35828         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35829         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35830         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35831         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35832         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35833         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35834         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35835         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35836         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35837         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35838         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35839         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35840         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35841         Enable unaligned load optimization for Intel Core i3, i5 and i7
35842         processors.
35843         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35844         Define.
35845         (index_Fast_Unaligned_Load): Define.
35846         (HAS_FAST_UNALIGNED_LOAD): Define.
35848 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
35850         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35852 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
35854         [BZ #12907]
35855         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35856         until it is clear that the information is realy needed.
35857         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35859 2011-06-22  Andreas Schwab  <schwab@redhat.com>
35861         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35863 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
35865         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35866         /sys/devices/system/cpu/online if it is usable.
35868         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35869         reading the information from the /proc filesystem to once a second.
35871 2011-06-21  Andreas Jaeger  <aj@suse.de>
35873         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35874         NULL after inclusion of kernel headers.
35876 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
35878         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35879         calls to internal_setent.
35881         [BZ #12885]
35882         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35883         addresses using gethostbyname4_r ignore IPv4 addresses.
35885         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35886         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
35888         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35890 2011-06-20  David S. Miller  <davem@davemloft.net>
35892         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35893         inclusions.
35894         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35896         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35897         (elf_irel): Use it.
35898         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35899         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35900         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35901         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35902         * sysdeps/x86_64/dl-irel.h: Likewise.
35904         * elf/dl-runtime.c: Use elf_ifunc_invoke.
35905         * elf/dl-sym.c: Likewise.
35907 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
35909         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
35910         need to dereference resplen2.
35912 2011-06-14  Andreas Schwab  <schwab@redhat.com>
35914         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35916 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
35918         * Makeconfig: Define vardbdir and inst_vardbdir.
35919         * nss/Makefile: Add rules to install db-Makefile.
35921         * nss/nss_db/db-XXX.c: Cleanup.
35923         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35924         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35925         GLIBC_PRIVATE.
35926         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35927         * nss/makedb.c: Implement -g option to specify that value strings
35928         are generated and should not be added to table iterated over for
35929         get*ent calls.
35930         * nss/nss_db/db-initgroups.c: New file.
35932         * nss/getent.c: Add support for initgroups lookups through getgrouplist
35933         interface.
35935         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35936         (internal_getgrouplist): Adjust to name change.
35937         Update use_initgroups_entry if this is not the first call.
35938         * nss/databases.def: Add initgroups entry.
35940         * nss/makedb.c (compute_tables): Check result of multiple hash table
35941         sizes to minimize maximum chain length.
35943 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
35945         * Versions.def: Add entry for libnss_db.
35946         * shlib-versions: Likewise.
35947         * nss/Makefile: Add rules to build libnss_db.
35948         * nss/Versions: Add libnss_db information.  Organize libnss_files
35949         entries better.
35950         * nss/db-Makefile: Add gshadow support.  Change rules for the new
35951         makedb progra.  Some minor improvements to generate smaller files.
35952         * nss/nss_db/nss_db.h: Move NSS database header data structures to
35953         here from...
35954         * nss/makedb.c: ...here.
35955         Improve database format to be smaller and require less memory at
35956         runtime.
35957         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
35958         db anymore.
35959         * nss/nss_db/db-netgrp.c: Likewise.
35960         * nss/nss_db/db-open.c: Likewise.
35961         * nss/nss_files/flies-XXX.x: Adjust comments.
35962         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35963         * nss/nss_files/files-grp.c: Likewise.
35964         * nss/nss_files/files-hosts.c: Likewise.
35965         * nss/nss_files/files-network.c: Likewise.
35966         * nss/nss_files/files-proto.c: Likewise.
35967         * nss/nss_files/files-pwd.c: Likewise.
35968         * nss/nss_files/files-rpc.c: Likewise.
35969         * nss/nss_files/files-service.c: Likewise.
35970         * nss/nss_files/files-sgrp.c: Likewise.
35971         * nss/nss_files/files-spwd.c: Likewise.
35972         * nss/nss_db/db-alias.c: Removed.
35973         * nss/nss_db/dummy-db.h: Removed.
35975 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
35977         * nss/makedb.c: Rewritten to not use database library.
35978         * nss/Makefile: Update to build new makedb program.
35980 2011-06-14  Andreas Jaeger  <aj@suse.de>
35982         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35983         memset declaration.
35985 2011-06-10  Andreas Schwab  <schwab@redhat.com>
35987         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35988         tmpbuf.
35990 2011-06-10  Roland McGrath  <roland@hack.frob.com>
35992         * Makerules (shlib.lds): Fail if the linker script comes out empty.
35993         * elf/Makefile ($(objpfx)ld.so): Likewise.
35995         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35996         Don't list ld.so twice in dependencies.
35998         * posix/bug-regex31.c: Include <stdlib.h>.
36000         * nscd/hstcache.c (cache_addhst): Remove unused variable.
36002         * nis/nss_compat/compat-spwd.c
36003         (getspent_next_nss_netgr): Remove unused variable.
36004         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
36006         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
36007         nonmembers" output to use the right array.
36009         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
36011         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
36013         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
36014         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
36015         * catgets/gencat.c (read_input_file): Likewise.
36016         * locale/programs/locarchive.c (enlarge_archive): Likewise.
36018         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
36019         variable definition inside #if's controlling its use.
36021         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
36023         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
36025         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
36027         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
36028         unreachable code.
36030         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
36032         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
36033         * configure: Regenerated.
36035         * Makerules: Revert last change.
36036         * elf/Makefile: Likewise.
36038 2011-06-09  Roland McGrath  <roland@hack.frob.com>
36040         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
36041         * elf/Makefile ($(objpfx)librtld.os): Likewise.
36042         (reloc-link): Likewise.
36044 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
36046         * elf/Makefile: Add rules to build pldd.
36047         * elf/pldd.c: New file.
36048         * elf/pldd-xx.c: New file.
36050 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
36052         * version.h: Update for 2.15 development version.
36054 2011-06-07  David S. Miller  <davem@davemloft.net>
36056         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
36057         ifuncs.
36058         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
36059         elf_machine_lazy_rel): Likewise.
36060         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
36061         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
36062         elf_machine_lazy_rel): Likewise.
36063         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
36064         dl_hwcap via passed in argument.
36065         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
36066         Likewise.
36068 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36070         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
36072 2011-06-06  Roland McGrath  <roland@hack.frob.com>
36074         [BZ #12849]
36075         * manual/fdl-1.1.texi: New file, verbatim from:
36076         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
36077         * manual/lgpl-2.1.texi: New file, verbatim from:
36078         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
36079         * manual/Makefile (licenses): New variable, list those new file names.
36080         (texis): Use it.
36081         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
36083         * manual/fdl.texi: File removed.
36084         * manual/lesser.texi: File removed.
36085         * manual/libc.texinfo (Copying, Documentation License):
36086         Use new @include file names, put @appendix directive before @include.
36088 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
36090         [BZ #12841]
36091         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
36092         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
36093         (mq_open): Add __NTH.
36095 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
36097         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36098         Assume Intel Core i3/i5/i7 processor if AVX is available.
36100 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
36102         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36103         typo.
36105 2011-05-31  Andreas Schwab  <schwab@redhat.com>
36107         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
36108         memory.  Use alloca_account.  Fix memory leak when retrying.
36110 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
36112         * version.h (RELEASE): Bump for 2.14 release.
36113         * include/features.h (__GLIBC_MINOR__): Bump to 14.
36115         * config.make.in (RANLIB): Remove entry.
36117 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
36119         * po/Makefile (po-sed-cmd): Add ksh to extensions.
36120         (libc.pot): Work around missing support for .ksh extension in xgettext.
36122         [BZ #12684]
36123         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
36124         if both request failed.
36125         (send_dg): In case of server errors clear resplen or *resplen2.
36127         [BZ #12454]
36128         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
36129         when there are multiple maps.
36130         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
36131         (_dl_fini): Remove test here.
36133         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
36135 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
36137         [BZ #12350]
36138         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
36139         bit from old_res_options.
36140         (gaih_inet): Likewise.
36142         [BZ #11099]
36143         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
36144         as signed.
36146         * resolv/res_init.c (res_setoptions): Make the code more compact.
36148         [BZ #11558]
36149         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
36150         set RES_USEVC.
36152         [BZ #11634]
36153         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
36155         * malloc/malloc.h: Mark malloc hook variables as deprecated.
36157         [BZ #11781]
36158         * malloc/malloc.h: Declare malloc hook variables as volatile.
36160         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
36161         in last patch.
36163         [BZ #11799]
36164         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
36165         raise in the comment.
36166         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36167         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36168         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
36170 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
36172         [BZ #12811]
36173         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
36174         grow the buffers more if it already has to be sufficient.
36175         (build_wcs_upper_buffer): Likewise.
36176         * posix/regexec.c (check_matching): Likewise.
36177         (clean_state_log_if_needed): Likewise.
36178         (extend_buffers): Don't enlarge buffers beyond size of the input
36179         buffer.
36180         Patches mostly by Emil Wojak <emil@wojak.eu>.
36181         * posix/bug-regex32.c: New file.
36182         * posix/Makefile (tests): Add bug-regex32.
36184         * locale/findlocale.c (_nl_find_locale): Return right away if
36185         _nl_explode_name failed.
36186         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
36188         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
36190         * debug/xtrace.sh: Unify messages.
36191         * malloc/memusage.sh: Likewise.
36193         [BZ #12813]
36194         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
36195         time symbol from vDSO.  Substitute with vsyscall if not available.
36196         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
36197         __vdso_time.
36199         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
36200         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
36201         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
36202         Add sendmmsg and internal_sendmmsg.
36203         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
36204         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
36205         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
36207         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
36208         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
36209         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
36211 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
36213         [BZ #12813]
36214         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
36215         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
36216         available.
36217         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
36218         __vdso_getcpu.
36220         [BZ #12814]
36221         * iconvdata/Makefile (tests): Add bug-iconv9.
36222         * iconvdata/bug-iconv9.c: New file.
36224 2011-05-27  Andreas Schwab  <schwab@redhat.com>
36226         [BZ #12814]
36227         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
36229 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
36231         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36232         (struct user_regs_struct): Change intcs field back to cs.
36234 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
36236         * po/ja.po: Update from translation team.
36238 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
36240         [BZ #12795]
36241         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
36242         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
36244 2011-05-20  Andreas Schwab  <schwab@redhat.com>
36246         * stdlib/longlong.h: Update from GCC.
36248 2011-05-23  Andreas Schwab  <schwab@redhat.com>
36250         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
36251         parameter name.
36252         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
36253         Add parameter name.
36254         (__sysconf): Pass it down.
36256 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
36258         [BZ #12671]
36259         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
36260         some situations.
36261         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36262         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
36263         add in in __libc_use_alloca calls.  Adjust callers.
36264         (glob): Use malloc in some situations.
36266         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
36267         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
36268         pltexit.
36270 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
36272         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
36273         and CLOCK_BOOTTIME_ALARM.
36275         [BZ #12782]
36276         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
36277         is returned.
36279         * string/_strerror.c (__strerror_r): Print negative errors as signed
36280         numbers.
36282         [BZ #12777]
36283         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
36284         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
36285         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
36287         * configure.in: Fix typo in redirection and correct removal of test
36288         files in two cases.
36290         [BZ #12788]
36291         * locale/setlocale.c (new_composite_name): Fix test to check for
36292         identical name of all categories.
36294         [BZ #12792]
36295         * libio/filedoalloc.c (local_isatty): New function.
36296         (_IO_file_doallocate): Use local_isatty.
36297         * stdio-common/perror.c (perror): In case a new stream is used
36298         forward the stream error.
36299         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
36300         error flag.
36302 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
36304         [BZ #11869]
36305         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
36306         alloca.
36307         * include/alloca.h (extend_alloca_account): Define.
36309         [BZ #11857]
36310         * posix/regex.h: Fix comments with documentation of user-accessible
36311         fields after compilation and describe correct free'ing of pattern
36312         after re_compile_pattern.
36313         Patch by Reuben Thomas <rrt@sc3d.org>.
36315 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
36317         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
36318         and -mno-altivec to prevent the compiler from using Altivec and/or
36319         VSX instructions when the corresponding registers are not available.
36321 2011-05-19  Andreas Schwab  <schwab@redhat.com>
36323         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
36325 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
36327         * libio/freopen.c (freopen): Use __dup2, not dup2.
36328         * libio/freopen64.c (freopen64): Likewise.
36330 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
36332         [BZ #12775]
36333         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
36334         * math/Makefile (tests): Add test-powl.
36335         (CFLAGS-test-powl.c): Define.
36336         * math/test-powl.c: New file.
36338 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36340         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
36342 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
36344         [BZ #11837]
36345         * iconvdata/gb18030.c: Update to GB18020-2005.
36347 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
36349         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
36350         RE_SYNTAX_POSIX_AWK): Update to match recent development.
36351         Patch by Aharon Robbins <arnold@skeeve.com>.
36353         [BZ #11892]
36354         * stdlib/putenv.c (putenv): Don't always create copy of the variable
36355         on the stack.
36357         [BZ #11895]
36358         * misc/pselect.c (__pselect): Handle timeout value errors hidden
36359         through underflows.
36361         [BZ #12766]
36362         * misc/error.c (error_at_line): Ensure file_name and old_file_name
36363         point to strings before performing equality test for error_one_per_line
36364         mode.
36366         [BZ #11697]
36367         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
36369         [BZ #11820]
36370         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36371         (struct user_fpregs_struct): Avoid __uint*_t types.
36373         [BZ #6420]
36374         * malloc/mtrace.c (tr_where): Add additional parameter to point to
36375         symbol info.  Use it instead of calling _dl_addr locally.
36376         (lock_and_info): New function.
36377         (tr_freehook): Call lock_and_info and pass symbol info as additional
36378         parameter to tr_where.
36379         (tr_mallochook): Likewise.
36380         (tr_reallochook): Likewise.
36381         (tr_memalignhook): Likewise.
36383         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
36384         used and couldn't be at all thread-safe.
36386 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
36388         * libio/freopen.c (freopen): Don't close old file descriptor
36389         before the new one is opened.  Instead dup the new file descriptor
36390         to the old one after the new stream is created.
36391         * libio/freopen64.c (freopen64): Likewise.
36392         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
36393         * libio/fileops.c (_IO_new_file_close_it): Handle new
36394         _IO_FLAGS2_NOCLOSE flag.
36395         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
36396         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
36397         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
36398         _IO_FLAGS2_NOCLOSE flag.
36399         * include/unistd.h: Add hidden_proto for dup3.
36400         Define __have_dup3.
36401         * io/dup3.c: Define hidden symbol.
36402         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
36404         [BZ #7101]
36405         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
36406         when an incomplete long option is used.
36407         * posix/tst-getopt_long1.c: New file.
36408         * posix/Makefile (tests): Add tst-getopt_long1.
36410         [BZ #10138]
36411         * scripts/config.guess: Update from autoconf-2.68.
36412         * scripts/config.sub: Likewise.
36414         [BZ #10157]
36415         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
36416         tests into ...
36417         (has_cpuclock): ...this.  New function.
36418         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
36419         macro here based on has_cpuclock code.
36421         [BZ #10149]
36422         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36423         First byte (not low byte) is now always NUL.
36424         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
36426         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36427         Use non-cancelable interfaces.
36429         [BZ #9809]
36430         * locale/iso-639.def: Add entry for Sorani.
36432         [BZ #11901]
36433         * include/stdlib.h: Move include protection to the right place.
36434         Define abort_msg_s.  Declare __abort_msg with it.
36435         * stdlib/abort.c (__abort_msg): Adjust type.
36436         * assert/assert.c (__assert_fail_base): New function.  Majority
36437         of code from __assert_fail.  Allocate memory for __abort_msg with
36438         mmap.
36439         (__assert_fail): Now call __assert_fail_base.
36440         * assert/assert-perr.c: Remove bulk of implementation.  Use
36441         __assert_fail_base.
36442         * include/assert.hL Declare __assert_fail_base.
36443         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
36444         mmap.
36445         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
36447 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
36449         [BZ #11952]
36450         [BZ #12453]
36451         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
36452         until all modules are registered in the DTV.
36453         * elf/Makefile: Add rules to build and run tst-tls19.
36454         * elf/tst-tls19.c: New file.
36455         * elf/tst-tls19mod1.c: New file.
36456         * elf/tst-tls19mod2.c: New file.
36457         * elf/tst-tls19mod3.c: New file.
36458         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
36460         [BZ #12083]
36461         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
36462         correctly.
36464         [BZ #12601]
36465         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
36466         two-byte sequence errors.
36467         * iconvdata/Makefile (tests): Add bug-iconv8.
36468         * iconvdata/bug-iconv8.c: New file.
36470         [BZ #12626]
36471         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
36472         buf2 definition.
36474         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
36476         [BZ #12432]
36477         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
36478         (dummy_getcfa): New function.
36479         (init): Get _Unwind_GetCFA address, use dummy if not found.
36480         (backtrace_helper): In recursion check, also check whether CFA changes.
36481         (__backtrace): Completely initialize arg.
36483         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
36484         storing incomplete byte sequence in state object.  Avoid testing for
36485         guaranteed too small input if we know there is enough data available.
36487 2011-05-11  Andreas Schwab  <schwab@redhat.com>
36489         * Makeconfig (+link-pie): Indent.
36490         * Rules (binaries-pie): Define if $(have-fpie) and
36491         $(build-shared).
36492         (binaries-shared): Also filter out $(binaries-pie).
36493         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
36494         * nscd/Makefile (others-pie): Add nscd.
36495         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
36496         ($(objpfx)nscd): Remove command override.
36497         * login/Makefile (others-pie): Add pt_chown.
36498         ($(objpfx)pt_chown): Remove command override.
36499         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
36500         remove command overrides.
36502 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
36504         * libio/tst_putwc.c: Fix error messages.
36506         [BZ #12724]
36507         * libio/fileops.c (_IO_new_file_close_it): Always flush when
36508         currently writing and seek to current position when not.
36509         * libio/Makefile (tests): Add bug-fclose1.
36510         * libio/bug-fclose1.c: New file.
36512 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
36514         [BZ #12511]
36515         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
36516         don't set DF_1_NODELETE here.
36517         (do_lookup_x): When entering new entry test for copy relocation
36518         and if necessary set DF_1_NODELETE flag.
36519         * elf/tst-unique4.cc: New file.
36520         * elf/tst-unique4.h: New file.
36521         * elf/tst-unique4lib.cc: New file.
36522         * elf/Makefile: Add rules to build and run tst-unique4.
36523         Patch by Piotr Bury <pbury@goahead.com>.
36525 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
36527         [BZ #12052]
36528         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
36530         [BZ #12625]
36531         * misc/mntent_r.c (addmntent): Flush the stream after the output
36533         [BZ #12393]
36534         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
36535         (is_trusted_path_normalize): Skip initial colon.  Append slash
36536         to empty buffer.  Duplicate is_trusted_path code but allow
36537         constructed patch to be prefix.
36538         (is_dst): Allow $ORIGIN followed by /.
36539         (_dl_dst_substitute): Correct clearing of check_for_trusted.
36540         Correct testing of result of is_trusted_path_normalize
36541         (decompose_rpath): Fix warning.
36543 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
36545         [BZ #11257]
36546         * grp/initgroups.c (internal_getgrouplist): When we found the service
36547         list through the initgroups entry in nsswitch.conf do not always
36548         continue on a successful lookup.  Don't always use the
36549         __nss_group_database value if it is set.
36550         * nss/nsswitch.conf (initgroups): Change action for successful db
36551         lookup to continue for compatibility.
36553 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
36555         [BZ #11532]
36556         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
36557         and CP774 modules.
36558         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
36559         and CP774 modules.
36560         * iconvdata/tst-tables.sh: Likewise.
36561         * iconvdata/cp770.c: New file.
36562         * iconvdata/cp771.c: New file.
36563         * iconvdata/cp772.c: New file.
36564         * iconvdata/cp773.c: New file.
36565         * iconvdata/cp774.c: New file.
36566         * iconvdata/testdata/CP770: New file.
36567         * iconvdata/testdata/CP770..UTF8: New file.
36568         * iconvdata/testdata/CP771: New file.
36569         * iconvdata/testdata/CP771..UTF8: New file.
36570         * iconvdata/testdata/CP772: New file.
36571         * iconvdata/testdata/CP772..UTF8: New file.
36572         * iconvdata/testdata/CP773: New file.
36573         * iconvdata/testdata/CP773..UTF8: New file.
36574         * iconvdata/testdata/CP774: New file.
36575         * iconvdata/testdata/CP774..UTF8: New file.
36577         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
36578         END CHARMAP line.
36579         * iconvdata/gen-8bit-gap.sh: Likewise.
36580         * iconvdata/gen-8bit.sh: Likewise.
36582         * locale/iso-639.def: Add ary entry.
36584         [BZ #11258]
36585         * locale/C-translit.h.in: Add U20A1 transliteration.
36587         [BZ #12178]
36588         * locale/iso-639.def: Add wae entry.
36589         Patch by Kevin Bortis <bortis@translate-wae.ch>.
36591         [BZ #12545]
36592         * locale/programs/localedef.c (construct_output_path): Use ssize_t
36593         for n.
36595         [BZ #12711]
36596         * locale/C-translit.h.in: Add entry for U20B9.
36597         Patch by pravin.d.s@gmail.com.
36599 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
36601         [BZ #12713]
36602         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
36603         ENAMETOOLONG use generic getcwd.
36604         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
36605         in rtld.  Use *stat64.
36606         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
36607         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
36608         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
36609         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
36610         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
36611         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
36612         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
36613         __fstatat64 macros.
36614         * include/dirent.h: Add libc_hidden_proto for rewinddir.
36615         * dirent/rewinddir.c: Add libc_hidden_def.
36616         * sysdeps/mach/hurd/rewinddir.c: Likewise.
36617         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
36619         * include/dirent.h (__alloc_dir): Add flags parameter.
36620         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
36621         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
36622         __alloc_dir.
36623         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
36624         from fdopendir if O_CLOEXEC is already set.
36626 2011-03-15  Alan Modra  <amodra@gmail.com>
36628         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
36629         l_tls_firstbyte_offset non-zero.  Save padding offset in
36630         l_tls_firstbyte_offset for later use.
36631         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
36632         freeing static tls block.
36634 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
36636         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
36637         where #ifdef was intended.  The intent is to prevent ARG_MAX from
36638         being defined by the kernel headers.
36640 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
36642         [BZ #12734]
36643         * resolv/resolv.h: Define RES_NOTLDQUERY.
36644         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
36645         no-tld-query and set RES_NOTLDQUERY.
36646         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
36647         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
36648         modern BIND to search name as TLD unless forbidden.
36650 2011-05-07  Petr Baudis  <pasky@suse.cz>
36651             Ulrich Drepper  <drepper@gmail.com>
36653         [BZ #12393]
36654         * elf/dl-load.c (fillin_rpath): Move trusted path check...
36655         (is_trusted_path): ...to here.
36656         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
36657         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
36658         using is_trusted_path_normalize() in setuid scripts.
36660 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
36662         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
36663         __BEGIN/__END_DECLS.
36665 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
36667         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
36668         NSS_STATUS_NOTFOUND if no record was found.
36670 2011-05-05  Andreas Schwab  <schwab@redhat.com>
36672         * sunrpc/Makefile (headers): Add rpc/netdb.h.
36673         (headers-not-in-tirpc): Remove rpc/netdb.h
36674         * resolv/netdb.h: Revert last change.
36676 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
36678         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
36679         circular dependency between libgcc.a and libc.a.
36681 2011-05-05  Andreas Schwab  <schwab@redhat.com>
36683         * resolv/netdb.h: Don't include <rpc/netdb.h>.
36684         * nis/Makefile: Don't install rpcsvc/*.
36685         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
36686         instead of <rpc/types.h>.
36687         (MAXHOSTNAMELEN): Define.
36689 2011-05-03  Andreas Schwab  <schwab@redhat.com>
36691         * elf/ldconfig.c (add_dir): Don't crash on empty path.
36693 2011-04-28  Maciej Babinski  <mbabinski@google.com>
36695         [BZ #12714]
36696         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
36697         gethostbyname4_r when IPv6 results are possible.
36699 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
36701         [BZ #12723]
36702         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
36703         _PC_PIPE_BUF handling.
36705 2011-04-30  Bruno Haible  <bruno@clisp.org>
36707         [BZ #12717]
36708         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
36709         * resolv/netdb.h (getnameinfo): Change type of flags parameter
36710         to 'int'.
36711         * inet/getnameinfo.c (getnameinfo): Likewise.
36713 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
36715         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
36716         to groups setting in database lookup.
36717         * nss/nsswitch.conf: Add initgroups entry.
36719 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
36721         [BZ #12685]
36722         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
36723         mode string.
36724         Patch by Eric Blake <eblake@redhat.com>.
36726 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
36728         * sunrpc/Makefile (need-export-routines): Add svc_run.
36729         (routines): Remove svc_run.
36730         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
36731         * sunrpc/clnt_perr.c (clnt_perrno): Export.
36732         * sunrpc/svc_run.c (svc_run): Likewise.
36733         * sunrpc/svc_udp.c (svcudp_create): Likewise.
36735 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
36737         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
36738         problem in reallocation in last patch.
36740 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
36742         * sunrpc/Makefile: Move inclusion of Rules.
36744 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
36746         * nss/nss_files/files-initgroups.c: New file.
36747         * nss/Makefile (libnss_files-routines): Add files-initgroups.
36748         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
36749         _nss_files_initgroups_dyn.
36751 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
36753         * elf/elf.h (R_ARM_IRELATIVE): Define.
36755 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
36757         * po/ru.po: Update from translation team.
36759 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
36761         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
36762         dependencies.
36764 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
36766         [BZ #12653]
36767         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
36768         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
36769         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36770         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36771         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36773 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
36775         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36776         differing bytes.
36777         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36778         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36779         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36781 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
36783         [BZ #12420]
36784         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36785         storing it.
36786         * stdlib/bug-getcontext.c: New file.
36787         * stdlib/Makefile: Add rules to build and run bug-getcontext.
36789 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36791         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36792         instructions into .machine "z9-109".
36793         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36794         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36796 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36798         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36799         between environment variables and auxiliary vector.
36801 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
36803         * Makefile: Add rules to build linkobj/libc.so.
36804         * include/libc-symbols.h: Define libc_hidden_nolink.
36805         * include/rpc/auth.h: Mark functions which are to be hidden.
36806         * include/rpc/auth_des.h: Likewise.
36807         * include/rpc/auth_unix.h: Likewise.
36808         * include/rpc/clnt.h: Likewise.
36809         * include/rpc/des_crypt.h: Likewise.
36810         * include/rpc/key_prot.h: Likewise.
36811         * include/rpc/pmap_clnt.h: Likewise.
36812         * include/rpc/pmap_prot.h: Likewise.
36813         * include/rpc/pmap_rmt.h: Likewise.
36814         * include/rpc/rpc_msg.h: Likewise.
36815         * include/rpc/svc.h: Likewise.
36816         * include/rpc/svc_auth.h: Likewise.
36817         * include/rpc/xdr.h: Likewise.
36818         * nis/Makefile: Link all DSOs against linkobj/libc.so.
36819         * nss/Makefile: Likewise.
36820         * sunrpc/Makefile: Don't install headers.  Build library with normal
36821         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
36822         * sunrpc/auth_des.c: Hide exported symbols by default, export some
36823         for the compat linking library.  Remove use of INTDEF/INTUSE.
36824         * sunrpc/auth_none.c: Likewise.
36825         * sunrpc/auth_unix.c: Likewise.
36826         * sunrpc/authdes_prot.c: Likewise.
36827         * sunrpc/authuxprot.c: Likewise.
36828         * sunrpc/clnt_gen.c: Likewise.
36829         * sunrpc/clnt_perr.c: Likewise.
36830         * sunrpc/clnt_raw.c: Likewise.
36831         * sunrpc/clnt_simp.c: Likewise.
36832         * sunrpc/clnt_tcp.c: Likewise.
36833         * sunrpc/clnt_udp.c: Likewise.
36834         * sunrpc/clnt_unix.c: Likewise.
36835         * sunrpc/des_crypt.c: Likewise.
36836         * sunrpc/des_soft.c: Likewise.
36837         * sunrpc/get_myaddr.c: Likewise.
36838         * sunrpc/key_call.c: Likewise.
36839         * sunrpc/key_prot.c: Likewise.
36840         * sunrpc/netname.c: Likewise.
36841         * sunrpc/pm_getmaps.c: Likewise.
36842         * sunrpc/pm_getport.c: Likewise.
36843         * sunrpc/pmap_clnt.c: Likewise.
36844         * sunrpc/pmap_prot.c: Likewise.
36845         * sunrpc/pmap_prot2.c: Likewise.
36846         * sunrpc/pmap_rmt.c: Likewise.
36847         * sunrpc/publickey.c: Likewise.
36848         * sunrpc/rpc_cmsg.c: Likewise.
36849         * sunrpc/rpc_common.c: Likewise.
36850         * sunrpc/rpc_dtable.c: Likewise.
36851         * sunrpc/rpc_prot.c: Likewise.
36852         * sunrpc/rpc_thread.c: Likewise.
36853         * sunrpc/rtime.c: Likewise.
36854         * sunrpc/svc.c: Likewise.
36855         * sunrpc/svc_auth.c: Likewise.
36856         * sunrpc/svc_authux.c: Likewise.
36857         * sunrpc/svc_raw.c: Likewise.
36858         * sunrpc/svc_run.c: Likewise.
36859         * sunrpc/svc_simple.c: Likewise.
36860         * sunrpc/svc_tcp.c: Likewise.
36861         * sunrpc/svc_udp.c: Likewise.
36862         * sunrpc/svc_unix.c: Likewise.
36863         * sunrpc/svcauth_des.c: Likewise.
36864         * sunrpc/xcrypt.c: Likewise.
36865         * sunrpc/xdr.c: Likewise.
36866         * sunrpc/xdr_array.c: Likewise.
36867         * sunrpc/xdr_float.c: Likewise.
36868         * sunrpc/xdr_intXX_t.c: Likewise.
36869         * sunrpc/xdr_mem.c: Likewise.
36870         * sunrpc/xdr_rec.c: Likewise.
36871         * sunrpc/xdr_ref.c: Likewise.
36872         * sunrpc/xdr_sizeof.c: Likewise.
36873         * sunrpc/xdr_stdio.c: Likewise.
36875 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
36877         [BZ #12650]
36878         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36879         * sysdeps/ia64/dl-tls.h: Likewise.
36880         * sysdeps/powerpc/dl-tls.h: Likewise.
36881         * sysdeps/s390/dl-tls.h: Likewise.
36882         * sysdeps/sh/dl-tls.h: Likewise.
36883         * sysdeps/sparc/dl-tls.h: Likewise.
36884         * sysdeps/x86_64/dl-tls.h: Likewise.
36885         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36887 2011-03-14  Andreas Schwab  <schwab@redhat.com>
36889         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36890         rpath element also skip the following colon.
36891         (expand_dynamic_string_token): Add is_path parameter and pass
36892         down to DL_DST_REQUIRED and _dl_dst_substitute.
36893         (decompose_rpath): Call expand_dynamic_string_token with
36894         non-zero is_path.  Ignore empty rpaths.
36895         (_dl_map_object_from_fd): Call expand_dynamic_string_token
36896         with zero is_path.
36898 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
36900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36901         Make cancelable.
36903 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
36905         [BZ #12655]
36906         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36907         Patch by Filipe David Manana <fdmanana@apache.org>.
36909 2011-04-07  Andreas Schwab  <schwab@redhat.com>
36911         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36912         Maintain aligned stack.
36913         (CHECK_RSP): Remove unused macro.
36915 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
36917         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36918         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36920 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
36922         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36924         * include/features.h: Mention __USE_XOPEN2K8 in comment.
36926 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
36928         [BZ #12518]
36929         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36930         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36931         * sysdeps/x86_64/memmove.c: New file.
36932         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36933         (memcpy): Renamed to ...
36934         (__new_memcpy): This.
36935         (memcpy): Provide GLIBC_2_14 memcpy.
36936         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36937         (memcpy): Provide GLIBC_2_2_5 memcpy.
36939 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36941         [BZ #12631]
36942         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36944 2011-03-30  Andreas Schwab  <schwab@redhat.com>
36946         * misc/syncfs.c: New file.
36947         * misc/Makefile (routines): Add syncfs.
36948         * posix/unistd.h: Declare syncfs.
36949         * sysdeps/unix/syscalls.list: Add syncfs.
36951 2011-04-01  Andreas Schwab  <schwab@redhat.com>
36953         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36954         open_by_handle_at.
36955         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36956         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36957         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36958         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36959         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36960         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36961         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36963 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36965         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36966         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36967         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36968         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36969         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36970         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36971         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36973         * io/Makefile: Compile fallocate.c, fallocate64.c, and
36974         sync_file_range.c with -fexceptions.
36975         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36976         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36977         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36978         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36979         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36980         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36981         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
36982         sync_file_range as cancellation point
36983         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
36984         now a wrapper around __call_sync_file_range with cancellation handling.
36985         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36986         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
36987         function name to __call_sync_file_range.
36988         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36989         Add call_sync_file_range.
36991 2011-04-01  Andreas Schwab  <schwab@redhat.com>
36993         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36994         bits/timex.h.
36996 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36998         * iconv/iconv.h: Fix typo in comment.
36999         * io/fcntl.h: Likewise.
37000         * libio/stdio.h: Likewise.
37001         * posix/spawn.h: Likewise.
37002         * posix/unistd.h: Likewise.
37003         * stdlib/stdlib.h: Likewise.
37004         * time/time.h: Likewise.
37005         * wcsmbs/wchar.h: Likewise.
37007         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
37008         open_by_handle): Add.
37009         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
37010         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
37011         Augment a few comments.
37012         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37013         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37014         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37015         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37016         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37017         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
37018         open_by_handle.
37020         * io/fcntl.h (AT_EMPTY_PATH): Define.
37022 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
37024         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
37025         * sysdeps/unix/sysv/linux/bits/time.h: New file.
37026         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
37027         to...
37028         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
37029         * Versions.def: Add GLIBC_2.14.
37030         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
37031         Export.
37033 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
37035         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
37036         round counter.
37037         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
37039 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37041         [BZ #12597]
37042         * string/test-strncmp.c (do_page_test): New function.
37043         (check2): Likewise.
37044         (test_main): Call check2.
37045         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
37047 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
37049         [BZ #12587]
37050         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
37051         Handle cache information in CPU leaf 4.
37052         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
37054 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
37056         [BZ #12583]
37057         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
37058         character representation.
37059         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
37061 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
37063         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
37064         END(__isnan) to END(__isnanf) to match function entry point/label
37065         EALIGN(__isnanf,...).
37067 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
37069         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
37071 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
37073         [BZ #12510]
37074         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
37075         copy from the symbol referenced in the relocation to initialize the
37076         used variable.
37077         Patch by Piotr Bury <pbury@goahead.com>.
37078         * elf/Makefile: Add rules to build and tst-unique3.
37079         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
37080         * elf/tst-unique3.cc: New file.
37081         * elf/tst-unique3.h: New file.
37082         * elf/tst-unique3lib.cc: New file.
37083         * elf/tst-unique3lib2.cc: New file.
37085         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
37087 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
37089         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
37090         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
37091         to _start.
37093 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
37095         * elf/dl-load.c (_dl_map_object): If we are looking for the first
37096         to-be-loaded object along a path to loader is ld.so.
37098 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
37099             Ulrich Drepper  <drepper@gmail.com>
37101         * sysdeps/x86_64/memset.S: After aligning destination, code
37102         branches to different locations depending on the value of
37103         misalignment, when multiarch is enabled. Fix this.
37105 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
37107         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
37108         Set _x86_64_preferred_memory_instruction for AMD processsors.
37109         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37110         Set bit_Prefer_SSE_for_memop for AMD processors.
37112 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
37114         * libio/fmemopen.c (fmemopen): Optimize a bit.
37116 2011-03-03  Andreas Schwab  <schwab@redhat.com>
37118         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
37120 2011-03-03  Roland McGrath  <roland@redhat.com>
37122         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
37124 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
37126         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
37127         __bzero_ultra1 instead of __memset_ultra1.
37129 2011-02-23  Andreas Schwab  <schwab@redhat.com>
37130             Ulrich Drepper  <drepper@gmail.com>
37132         [BZ #12509]
37133         * include/link.h (struct link_map): Add l_orig_initfini.
37134         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
37135         returning unsuccessfully.
37136         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
37137         close of a file loaded at startup, restore the original l_initfini
37138         list.
37139         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
37140         list, store the pointer.
37141         * elf/Makefile ($(objpfx)noload-mem): New rule.
37142         (noload-ENV): Define.
37143         (tests): Add $(objpfx)noload-mem.
37144         * elf/noload.c: Include <memcheck.h>.
37145         (main): Call mtrace.  Close all opened handles.
37147 2011-02-17  Andreas Schwab  <schwab@redhat.com>
37149         [BZ #12454]
37150         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
37151         dependencies are missing.
37153 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37155         Fix __if_freereq crash: Unlike the generic version which uses free,
37156         Hurd needs munmap.
37157         * sysdeps/mach/hurd/ifreq.h: New file.
37159 2011-01-27  Petr Baudis  <pasky@suse.cz>
37160             Ulrich Drepper  <drepper@gmail.com>
37162         [BZ 12445]#
37163         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
37164         to extend_alloca().
37165         * stdio-common/bug23.c: New file.
37166         * stdio-common/Makefile (tests): Add bug23.
37168 2010-09-28  Andreas Schwab  <schwab@redhat.com>
37169             Ulrich Drepper  <drepper@gmail.com>
37171         [BZ #12489]
37172         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
37173         before performing relro protection.  At old place add assertion
37174         to make sure nothing changed.
37176 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
37177             Glauber de Oliveira Costa  <glommer@gmail.com>
37179         * elf/elf.h: Add new ARM TLS relocs.
37181 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
37183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37184         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
37185         cast from r3.
37186         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
37187         'tests' variable.
37188         * sysdeps/wordsize-64/tst-writev.c: New file.
37190 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
37192         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
37193         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
37194         insns in _dl_start to prevent a TOC reference before relocs are
37195         resolved.
37197 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
37199         [BZ #12469]
37200         * Makeconfig: Remove RANLIB definition.
37201         * Makerules: Don't use RANLIB.
37202         * aclocal.m4: Remove ranlib test.
37203         * configure.in: No need to check for ranlib.
37204         * elf/rtld-Rules: Don't use RANLIB.
37206 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37208         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
37209         protection macro.
37210         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
37211         inclusion protection macro.
37213         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
37214         SIGRTMIN and SIGRTMAX and print information in that case only when
37215         SIGRTMIN is defined.
37217 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
37219         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
37220         arginfo fn returning -1.
37222         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
37223         and thousands string is zero terminated.
37225 2011-02-03  Andreas Schwab  <schwab@redhat.com>
37227         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
37228         sysdeps/unix/sysv/linux/bits/socket.h.
37230 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37232         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
37233         (__CPU_COUNT): Remove old macros.
37234         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
37235         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
37236         (__CPU_ALLOC, __CPU_FREE): Add macros.
37237         (__sched_cpualloc, __sched_cpufree): Add declarations.
37239 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
37241         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
37242         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
37243         * nscd/aicache.c (addhstaiX): Return timeout of added value.
37244         (readdhstai): Return value of addhstaiX call.
37245         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
37246         (addgrbyX): Return value returned by cache_addgr.
37247         (readdgrbyname): Return value returned by addgrbyX.
37248         (readdgrbygid): Likewise.
37249         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
37250         (addpwbyX): Return value returned by cache_addpw.
37251         (readdpwbyname): Return value returned by addhstbyX.
37252         (readdpwbyuid): Likewise.
37253         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
37254         (addservbyX): Return value returned by cache_addserv.
37255         (readdservbyname): Return value returned by addservbyX:
37256         (readdservbyport): Likewise.
37257         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
37258         (addhstbyX): Return value returned by cache_addhst.
37259         (readdhstbyname): Return value returned by addhstbyX.
37260         (readdhstbyaddr): Likewise.
37261         (readdhstbynamev6): Likewise.
37262         (readdhstbyaddrv6): Likewise.
37263         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
37264         (readdinitgroups): Return value returned by addinitgroupsX.
37265         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
37266         (prune_cache): Keep track of timeout value of re-added entries.
37267         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
37268         * nscd/nscd.h: Adjust prototypes of readd* functions.
37270 2011-02-04  Roland McGrath  <roland@redhat.com>
37272         * nis/nis_server.c (nis_servstate): Use the right name for 0.
37273         (nis_stats): Likewise.
37274         * nis/nis_modify.c (nis_modify): Likewise.
37275         * nis/nis_remove.c (nis_remove): Likewise.
37276         * nis/nis_add.c (nis_add): Likewise.
37278         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
37280         * posix/fnmatch_loop.c: Add some consts.
37282         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
37284 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
37286         [BZ #12460]
37287         * config.make.in (config-cflags-novzeroupper): Define.
37288         * configure.in: Substitute libc_cv_cc_novzeroupper.
37289         * elf/Makefile (AVX-CFLAGS): Define.
37290         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
37291         (CFLAGS-tst-auditmod4a.c): Likewise.
37292         (CFLAGS-tst-auditmod4b.c): Likewise.
37293         (CFLAGS-tst-auditmod6b.c): Likewise.
37294         (CFLAGS-tst-auditmod6c.c): Likewise.
37295         (CFLAGS-tst-auditmod7b.c): Likewise.
37296         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
37298 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
37300         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
37301         function to the callback.
37302         Patch partly by Jiri Olsa <jolsa@redhat.com>.
37304 2011-02-02  Andreas Schwab  <schwab@redhat.com>
37306         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
37307         of errno.
37309 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
37311         [BZ #11724]
37312         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
37313         of constructors.
37314         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
37315         of destructors.
37316         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
37318         [BZ #11724]
37319         * elf/Makefile: Add rules to build and run new test.
37320         * elf/tst-initorder.c: New file.
37321         * elf/tst-initorder.exp: New file.
37322         * elf/tst-initordera1.c: New file.
37323         * elf/tst-initordera2.c: New file.
37324         * elf/tst-initordera3.c: New file.
37325         * elf/tst-initordera4.c: New file.
37326         * elf/tst-initorderb1.c: New file.
37327         * elf/tst-initorderb2.c: New file.
37328         * elf/tst-order-a1.c: New file.
37329         * elf/tst-order-a2.c: New file.
37330         * elf/tst-order-a3.c: New file.
37331         * elf/tst-order-a4.c: New file.
37332         * elf/tst-order-b1.c: New file.
37333         * elf/tst-order-b2.c: New file.
37334         * elf/tst-order-main.c: New file.
37335         New test case by George Gensure <werkt0@gmail.com>.
37337 2010-10-01  Andreas Schwab  <schwab@redhat.com>
37339         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
37340         decoding ACE if AI_CANONIDN.
37342 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
37344         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
37346 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
37348         * version.h (RELEASE): Bump for 2.13 release.
37349         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
37351         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
37353         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
37354         MADV_NOHUGEPAGE.
37355         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
37356         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37357         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37358         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37359         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37360         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37362         * posix/getconf.c: Update copyright year.
37363         * catgets/gencat.c: Likewise.
37364         * csu/version.c: Likewise.
37365         * debug/catchsegv.sh: Likewise.
37366         * debug/xtrace.sh: Likewise.
37367         * elf/ldconfig.c: Likewise.
37368         * elf/ldd.bash.in: Likewise.
37369         * elf/sprof.c (print_version): Likewise.
37370         * iconv/iconv_prog.c: Likewise.
37371         * iconv/iconvconfig.c: Likewise.
37372         * locale/programs/locale.c: Likewise.
37373         * locale/programs/localedef.c: Likewise.
37374         * malloc/memusage.sh: Likewise.
37375         * malloc/mtrace.pl: Likewise.
37376         * nscd/nscd.c (print_version): Likewise.
37377         * nss/getent.c: Likewise.
37379         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
37380         PF_CAIF, and PF_ALG.
37381         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37383 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
37385         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
37386         (modules-names): Use them.
37387         (ifunc-test-modules, ifunc-pie-tests): Define.
37388         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
37389         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
37390         (test-extras): Likewise.
37391         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
37392         $(compile-command.c).
37393         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
37394         (all-built-dso): Define.
37395         (check-textrel.out, check-execstack.out): Depend on it.
37397         * configure.in: Don't override --enable-multi-arch.
37399 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
37401         [BZ #6812]
37402         * nscd/hstcache.c (tryagain): Define.
37403         (cache_addhst): Return tryagain not notfound for temporary errors.
37404         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
37405         failed.
37407 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
37409         [BZ #10563]
37410         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
37411         to make the syscall.
37412         * sysdeps/unix/sysv/linux/setgroups.c: New file.
37414         [BZ #12378]
37415         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
37416         and fall back to matching as normal character if the string ends before
37417         the matching ']' is found.  This is what POSIX requires.
37418         * posix/testfnm.c: Adjust test result.
37419         * posix/globtest.sh: Adjust test result.  Add new test.
37420         * posix/tst-fnmatch.input: Likewise.
37421         * posix/tst-fnmatch2.c: Add new test.
37423 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
37425         * elf/Makefile (check-execstack): Revert last change.  Depend on
37426         check-execstack.h.
37427         (check-execstack.h): New target.
37428         (generated): Add check-execstack.h.
37429         * elf/check-execstack.c: Include "check-execstack.h".
37430         (main): Revert last change.
37431         (handle_file): Return zero if GNU_STACK is absent and
37432         DEFAULT_STACK_PERMS doesn't include PF_X.
37434 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
37436         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
37437         in child fails because the descriptor is already closed.
37438         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
37439         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
37440         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
37442         [BZ #12397]
37443         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
37444         syscall.
37446         [BZ #10484]
37447         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
37448         temporary buffer used to handle multi lookups locally.
37449         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
37451 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
37453         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
37454         loader is ld.so.
37456 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
37458         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
37459         alignment for SSE2.
37461 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
37463         [BZ #12394]
37464         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
37465         characters.  When rounding increased number of integer digits recompute
37466         number of groups.
37467         * stdio-common/tst-grouping.c: New file.
37468         * stdio-common/Makefile: Add rules to build and run tst-grouping.
37470 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
37472         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
37473         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
37475         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
37476         void.
37477         * bits/select.h: Likewise.
37479 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
37481         * po/ja.po: Update from translation team.
37483 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
37485         [BZ #11155]
37486         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
37487         implementation just like for lxstat, fxstatat, et al.
37489 2010-12-27  Jim Meyering  <meyering@redhat.com>
37491         [BZ #12348]
37492         * posix/regexec.c (build_trtable): Return failure indication upon
37493         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
37495 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
37497         [BZ #12201]
37498         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
37499         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
37500         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
37501         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
37503         [BZ #12207]
37504         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
37506         [BZ #12204]
37507         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
37508         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
37510 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
37512         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
37513         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
37514         script has SORT_BY_INIT_PRIORITY.
37515         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
37516         NO_CTORS_DTORS_SECTIONS is defined.
37517         * elf/soinit.c: Likewise.
37518         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
37519         NO_CTORS_DTORS_SECTIONS is defined.
37520         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
37521         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
37522         * sysdeps/sh/init-first.c: Likewise.
37523         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
37525 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
37527         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
37528         always use the slow path.
37530 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
37532         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
37533         similar rule which adds the sysdep directories to the header search in
37534         order to pick up the correct platform stackinfo.h.
37535         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
37536         perform test if it is, otherwise return successfully without testing.
37537         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
37538         DEFAULT_STACK_PERMS define in stackinfo.h.
37539         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
37540         defined in stackinfo.h.
37541         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
37542         DEFAULT_STACK_PERMS defined in stackinfo.h.
37543         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
37544         * sysdeps/ia64/stackinfo.h: Likewise.
37545         * sysdeps/s390/stackinfo.h: Likewise.
37546         * sysdeps/sh/stackinfo.h: Likewise.
37547         * sysdeps/sparc/stackinfo.h: Likewise.
37548         * sysdeps/x86_64/stackinfo.h: Likewise.
37549         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
37550         PF_X for powerpc64.  Retain PF_X for powerpc32.
37552 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
37554         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
37555         accurately.
37556         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
37557         GETDENTS_64BIT_ALIGNED.
37559 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
37561         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
37563 2010-12-10  Andreas Schwab  <schwab@redhat.com>
37565         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
37566         _GNU_SOURCE.
37568         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
37569         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
37570         Remove __restrict.
37571         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
37572         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
37574 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
37576         [BZ #11655]
37577         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
37578         are initialized.
37580 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
37582         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
37584 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
37586         * po/it.po: Update from translation team.
37588 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
37590         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
37591         unused codes.
37593 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
37595         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
37597 2010-11-24  Andreas Schwab  <schwab@redhat.com>
37599         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
37600         specially.
37601         (gaih_getanswer_slice): Likewise.
37603 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
37605         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
37607 2010-05-31  Petr Baudis  <pasky@suse.cz>
37609         [BZ #11149]
37610         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
37611         silently even in the chroot mode.
37613 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
37615         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
37616         last patch a bit.  Pretty printing
37618 2010-05-31  Petr Baudis <pasky@suse.cz>
37620         [BZ #10085]
37621         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
37622         initialization of skip_initgroups_dyn.
37624 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
37626         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
37627         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37629 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
37631         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
37633 2010-11-11  Andreas Schwab  <schwab@redhat.com>
37635         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
37636         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
37637         (tst-fnmatch-ENV): Set MALLOC_TRACE.
37638         ($(objpfx)tst-fnmatch-mem): New rule.
37639         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
37640         * posix/tst-fnmatch.c (main): Call mtrace.
37642 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
37644         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37645         Support Intel processor model 6 and model 0x2c.
37647 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
37649         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
37650           signed comparison.
37652 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
37654         [BZ #12205]
37655         * string/test-strncasecmp.c (check_result): New function.
37656         (do_one_test): Use it.
37657         (check1): New function.
37658         (test_main): Use it.
37659         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
37660         Support strcasecmp and strncasecmp.
37662 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
37664         [BZ #12194]
37665         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
37666         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37668 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
37670         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
37671         IFUNC support.
37672         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37673         memset-x86-64.
37674         * sysdeps/x86_64/multiarch/bzero.S: New file.
37675         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
37676         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
37677         * sysdeps/x86_64/multiarch/memset.S: New file.
37678         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
37679         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37680         Set bit_Prefer_SSE_for_memop for Intel processors.
37681         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
37682         Define.
37683         (index_Prefer_SSE_for_memop): Define.
37684         (HAS_PREFER_SSE_FOR_MEMOP): Define.
37686 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
37688         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
37689         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
37691 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
37693         [BZ #12191]
37694         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37695         (__x86_64_raw_data_cache_size_half): Likewise.
37696         (__x86_64_raw_shared_cache_size): Likewise.
37697         (__x86_64_raw_shared_cache_size_half): Likewise.
37699         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37700         (__x86_64_raw_data_cache_size_half): Likewise.
37701         (__x86_64_raw_shared_cache_size): Likewise.
37702         (__x86_64_raw_shared_cache_size_half): Likewise.
37703         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
37704         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
37705         and __x86_64_raw_shared_cache_size_half.  Round
37706         __x86_64_data_cache_size_half, __x86_64_data_cache_size
37707         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
37708         to multiple of 256 bytes.
37710 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
37712         [BZ #12167]
37713         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
37714         of inacessible symlinks.  Verify result of symlink before returning it.
37715         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37716         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
37718 2010-10-28  Erich Ritz  <erichritz@gmail.com>
37720         * math/math.h (isinf): Fix typo in comment.
37722 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
37724         * po/da.po: Update from translation team.
37726 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
37728         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
37729         is added to the list.
37731 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37732             Ulrich Drepper  <drepper@gmail.com>
37734         * elf/dl-object.c (_dl_new_object): Don't append the new object to
37735         the global list here.  Move code to...
37736         (_dl_add_to_namespace_list): ...here.  New function.
37737         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
37738         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
37739         * elf/dl-load.c (lose): Don't remove the element from the list.
37740         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
37741         (_dl_map_object): Likewise.
37743 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
37745         [BZ #12159]
37746         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
37747         into all bytes of SSE register.
37748         Patch by Richard Li <richardpku@gmail.com>.
37750 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
37752         [BZ #12140]
37753         * malloc/malloc.c (_int_free): Fill correct number of bytes when
37754         perturbing.
37756 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
37758         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
37759         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
37760         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
37761         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
37763         submachine.
37764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
37766 2010-10-22  Andreas Schwab  <schwab@redhat.com>
37768         * include/dlfcn.h (__RTLD_SECURE): Define.
37769         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
37770         mode & __RTLD_SECURE instead.
37771         (open_path): Rename preloaded parameter to secure.
37772         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
37773         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
37774         * elf/dl-deps.c (openaux): Likewise.
37775         * elf/rtld.c (struct map_args): Remove is_preloaded.
37776         (map_doit): Don't use it.
37777         (dl_main): Likewise.
37778         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37779         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37781 2010-09-09  Andreas Schwab  <schwab@redhat.com>
37783         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37784         (sysd-rules-targets): Remove duplicates.
37785         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37786         rtld-%.$o dependency.
37788 2010-10-18  Andreas Schwab  <schwab@redhat.com>
37790         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37791         _dl_map_object do it.
37793 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
37795         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37796         fast fma builtins, define the macros in the C99 standard.
37797         (FP_FAST_FMAF): Likewise.
37798         (FP_FAST_FMAL): Likewise.
37799         * sysdeps/x86_64/bits/mathdef.h: Likewise.
37801         * bits/mathdef.h: Update copyright year.
37802         * sysdeps/powerpc/bits/mathdef.h: Likewise.
37804 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
37806         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37807         builtins, define the macros in the C99 standard.
37808         (FP_FAST_FMAF): Likewise.
37809         (FP_FAST_FMAL): Likewise.
37810         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37811         multiply/add.
37812         (FP_FAST_FMAF): Likewise.
37814 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
37816         [BZ #3268]
37817         * math/libm-test.inc (fma_test): Some new testcases.
37818         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37819         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37820         y and infinite z.  Do multiplication by C already in long double.
37821         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37822         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37823         y and infinite z.  Do bitwise or of inexact bit into u.d.
37824         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37825         * sysdeps/i386/fpu/s_fmaf.S: Removed.
37826         * sysdeps/i386/fpu/s_fma.S: Removed.
37827         * sysdeps/i386/fpu/s_fmal.S: Removed.
37829 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
37831         [BZ #3268]
37832         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37833         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37834         computation is not scheduled after fetestexcept.  Fix value
37835         of minimum denormal long double.
37837 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
37839         [BZ #3268]
37840         * math/libm-test.inc (fma_test): Add some more tests.
37841         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37842         correctly.
37844 2010-10-15  Andreas Schwab  <schwab@redhat.com>
37846         * scripts/data/localplt-s390-linux-gnu.data: New file.
37847         * scripts/data/localplt-s390x-linux-gnu.data: New file.
37849 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
37851         [BZ #3268]
37852         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37853         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37854         instead of dbl-64.
37855         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37856         inlines.
37857         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37858         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37859         if one of x and y is very large and the other is subnormal.
37860         * sysdeps/s390/fpu/s_fmaf.c: New file.
37861         * sysdeps/s390/fpu/s_fma.c: New file.
37862         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37863         * sysdeps/powerpc/fpu/s_fma.S: New file.
37864         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37865         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37866         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37868 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
37870         [BZ #3268]
37871         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37872         fma tests.
37873         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37874         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37875         * sysdeps/i386/i686/multiarch/s_fma.c: Include
37876         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37877         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37878         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37879         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37881 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
37883         [BZ #12078]
37884         * posix/regcomp.c (parse_branch): One more memory leak plugged.
37885         * posix/bug-regex31.input: Add test case.
37887 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
37889         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37890         * posix/bug-regex31.input: New file.
37892         [BZ #12078]
37893         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37894         (parse_sub_exp): Fix last change, use postorder.
37896         * posix/bug-regex31.c: New file.
37897         * posix/Makefile: Add rules to build and run bug-regex31.
37899         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37901         [BZ #12078]
37902         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37904         [BZ #12108]
37905         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37906         to have entries in sys_siglist.
37908         [BZ #12093]
37909         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37910         be NULL.
37912 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
37914         [BZ #3268]
37915         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37916         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37917         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37918         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37919         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37920         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37921         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37922         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37923         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37924         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37925         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37926         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37927         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37928         * math/ftestexcept.c (fetestexcept): Likewise.
37929         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37930         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37931         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37932         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37933         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37934         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37935         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37937 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
37939         [BZ #12107]
37940         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37941         newline.
37943 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
37945         * string/bug-strstr1.c: New file.
37946         * string/Makefile: Add rules to build and run bug-strstr1.
37948 2010-10-05  Eric Blake  <eblake@redhat.com>
37950         [BZ #12092]
37951         * string/str-two-way.h (two_way_long_needle): Always clear memory
37952         when skipping input due to the shift table.
37954 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
37956         [BZ #12005]
37957         * malloc/mcheck.c: Handle large requests.
37959         [BZ #12077]
37960         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37961         for strncmp and strncasecmp.
37962         * string/stratcliff.c: Add tests for strcmp and strncmp.
37963         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37965 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37967         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37968         __set_fpscr.
37970 2010-09-30  Andreas Jaeger  <aj@suse.de>
37972         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37973         (CGROUP_SUPER_MAGIC): Define.
37974         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37975         Handle btrfs and cgroup file systems.
37976         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37977         Likewise.
37979 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
37981         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37982         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37984 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37986         [BZ #12067]
37987         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37988         trying to locate the ELF header.
37990 2010-09-27  Andreas Schwab  <schwab@redhat.com>
37992         [BZ #11611]
37993         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37994         Mask out sign-bit copies when constructing f_fsid.
37996 2010-09-24  Petr Baudis <pasky@suse.cz>
37998         * debug/stack_chk_fail_local.c: Add missing licence exception.
37999         * debug/warning-nop.c: Likewise.
38001 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
38003         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
38004         implementing getdents64 using getdents syscall, set d_type if
38005         __ASSUME_GETDENTS32_D_TYPE.
38007 2010-09-16  Andreas Schwab  <schwab@redhat.com>
38009         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
38010         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
38012 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
38014         [BZ #12037]
38015         * posix/unistd.h: Undo change of feature selection for ftruncate from
38016         2010-01-11.
38018 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
38020         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
38021         detection.
38023 2010-09-20  Andreas Schwab  <schwab@redhat.com>
38025         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
38026         fanotify_mark.
38027         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38029 2010-09-14  Andreas Schwab  <schwab@redhat.com>
38031         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
38032         variables after CHECK_SP call.
38033         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
38035 2010-09-13  Andreas Schwab  <schwab@redhat.com>
38036             Ulrich Drepper  <drepper@redhat.com>
38038         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
38039         re-relocationg ld.so.
38040         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
38041         _dl_init_paths call.
38042         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
38043         here anymore.
38045 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
38047         * resolv/res_init.c (__res_vinit): Count the default server we added.
38049 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
38050             Ulrich Drepper  <drepper@redhat.com>
38052         [BZ #11968]
38053         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38054         (____longjmp_chk): Use %ebx for saving value across system call.
38055         Add unwind info.
38057 2010-09-06  Andreas Schwab  <schwab@redhat.com>
38059         * manual/Makefile: Don't mix pattern rules with normal rules.
38061 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
38063         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
38064         operation.
38065         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
38066         * libio/iofopncook.c (_IO_cookie_init): Likewise.
38067         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
38068         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
38069         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38070         Likewise.
38072 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
38074         [BZ #11979]
38075         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
38076         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
38078 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
38080         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
38081         * sysdeps/x86_64/addmul_1.S: Likewise.
38082         * sysdeps/x86_64/lshift.S: Likewise.
38083         * sysdeps/x86_64/mul_1.S: Likewise.
38084         * sysdeps/x86_64/rshift.S: Likewise.
38085         * sysdeps/x86_64/sub_n.S: Likewise.
38086         * sysdeps/x86_64/submul_1.S: Likewise.
38088 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38090         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
38091         Define __sched_param instead of SCHED_* and sched_param when
38092         <bits/sched.h> is included with __need_schedparam defined.
38093         * bits/sched.h [__need_schedparam]
38094         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
38095         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
38096         (__defined_schedparam): Define to 1.
38097         (__sched_param): New structure, identical to sched_param.
38098         (__need_schedparam): Undefine.
38100 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
38102         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
38103         (epoll_create1): Declare.
38105         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
38107 2010-08-31  Andreas Schwab  <schwab@redhat.com>
38109         [BZ #7066]
38110         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
38111         shifting retval into place.
38113 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
38115         * nis/rpcsvc/nis.h: Update copyright notice.
38116         * nis/rpcsvc/nis.x: Likewise.
38117         * nis/rpcsvc/nis_callback.h: Likewise.
38118         * nis/rpcsvc/nis_callback.x: Likewise.
38119         * nis/rpcsvc/nis_object.x: Likewise.
38120         * nis/rpcsvc/nis_tags.h: Likewise.
38121         * nis/rpcsvc/yp.h: Likewise.
38122         * nis/rpcsvc/yp.x: Likewise.
38123         * nis/rpcsvc/ypupd.h: Likewise.
38124         * nis/yp_xdr.c: Likewise.
38125         * nis/ypupdate_xdr.c: Likewise.
38127         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
38128         mainly the body of pmap_getport.  Add parameters to specify timeouts.
38129         (pmap_getport): Use __libc_rpc_getport.
38130         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
38131         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
38132         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
38134 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
38136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
38137         fanotify_mark.
38139 2010-08-27  Roland McGrath  <roland@redhat.com>
38141         * sysdeps/i386/i686/multiarch/Makefile
38142         (CFLAGS-varshift.c): New variable.
38144 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
38146         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
38147         * sysdeps/i386/i686/multiarch/varshift.c: New file.
38149         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
38151         * sysdeps/x86_64/strlen.S: Minimal code improvement.
38153 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
38155         * sysdeps/x86_64/strlen.S: Unroll the loop.
38156         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38157         strlen-sse2 strlen-sse2-bsf.
38158         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
38159         __strlen_no_bsf if bit_Slow_BSF is set.
38160         (__strlen_sse42): Removed.
38161         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
38162         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
38164 2010-08-25  Roland McGrath  <roland@redhat.com>
38166         * sysdeps/x86_64/multiarch/varshift.S: File removed.
38167         * sysdeps/x86_64/multiarch/varshift.c: New file.
38168         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
38169         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
38170         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
38171         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
38173 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
38175         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38176         strlen-sse2 strlen-sse2-bsf.
38177         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
38178         __strlen_sse2_bsf if bit_Slow_BSF is unset.
38179         (__strlen_sse2): Removed.
38180         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
38181         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
38182         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
38183         bit_Slow_BSF for Atom.
38184         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
38185         (index_Slow_BSF): Define.
38186         (HAS_SLOW_BSF): Define.
38188 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
38190         [BZ #10851]
38191         * resolv/res_init.c (__res_vinit): When no server address at all
38192         is given default to loopback.
38194 2010-08-24  Roland McGrath  <roland@redhat.com>
38196         * configure.in: Remove config-name.h generation.
38197         * configure: Regenerated.
38198         * config-name.in: File removed.
38199         * scripts/config-uname.sh: New file.
38200         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
38201         ($(objdir)config-name.h): New target.
38203         * sunrpc/rpc_parse.h: Avoid nested comment.
38205 2010-08-24  Richard Henderson  <rth@redhat.com>
38206             Ulrich Drepper  <drepper@redhat.com>
38207             H.J. Lu  <hongjiu.lu@intel.com>
38209         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
38210         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
38211         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
38212         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
38213         _mm_alignr_epi8 with _mm_loadu_si128.
38214         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
38215         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
38216         (__m128i_shift_right): Removed.
38217         * sysdeps/i386/i686/multiarch/varshift.h: New file.
38218         * sysdeps/i386/i686/multiarch/varshift.S: New file.
38219         * sysdeps/x86_64/multiarch/varshift.h: New file.
38220         * sysdeps/x86_64/multiarch/varshift.S: New file.
38222 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
38224         * configure.in: Move assembler checks to before sysdep dir checking.
38226 2010-08-20  Petr Baudis  <pasky@suse.cz>
38228         * LICENSES: Sync the sunrpc license.
38230 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
38232         * sunrpc/auth_des.c: Update copyright notice once again.
38233         * sunrpc/auth_none.c: Likewise.
38234         * sunrpc/auth_unix.c: Likewise.
38235         * sunrpc/authdes_prot.c: Likewise.
38236         * sunrpc/authuxprot.c: Likewise.
38237         * sunrpc/bindrsvprt.c: Likewise.
38238         * sunrpc/clnt_gen.c: Likewise.
38239         * sunrpc/clnt_perr.c: Likewise.
38240         * sunrpc/clnt_raw.c: Likewise.
38241         * sunrpc/clnt_simp.c: Likewise.
38242         * sunrpc/clnt_tcp.c: Likewise.
38243         * sunrpc/clnt_udp.c: Likewise.
38244         * sunrpc/clnt_unix.c: Likewise.
38245         * sunrpc/des_crypt.c: Likewise.
38246         * sunrpc/des_soft.c: Likewise.
38247         * sunrpc/get_myaddr.c: Likewise.
38248         * sunrpc/getrpcport.c: Likewise.
38249         * sunrpc/key_call.c: Likewise.
38250         * sunrpc/key_prot.c: Likewise.
38251         * sunrpc/openchild.c: Likewise.
38252         * sunrpc/pm_getmaps.c: Likewise.
38253         * sunrpc/pm_getport.c: Likewise.
38254         * sunrpc/pmap_clnt.c: Likewise.
38255         * sunrpc/pmap_prot.c: Likewise.
38256         * sunrpc/pmap_prot2.c: Likewise.
38257         * sunrpc/pmap_rmt.c: Likewise.
38258         * sunrpc/rpc/auth.h: Likewise.
38259         * sunrpc/rpc/auth_unix.h: Likewise.
38260         * sunrpc/rpc/clnt.h: Likewise.
38261         * sunrpc/rpc/des_crypt.h: Likewise.
38262         * sunrpc/rpc/key_prot.h: Likewise.
38263         * sunrpc/rpc/netdb.h: Likewise.
38264         * sunrpc/rpc/pmap_clnt.h: Likewise.
38265         * sunrpc/rpc/pmap_prot.h: Likewise.
38266         * sunrpc/rpc/pmap_rmt.h: Likewise.
38267         * sunrpc/rpc/rpc.h: Likewise.
38268         * sunrpc/rpc/rpc_des.h: Likewise.
38269         * sunrpc/rpc/rpc_msg.h: Likewise.
38270         * sunrpc/rpc/svc.h: Likewise.
38271         * sunrpc/rpc/svc_auth.h: Likewise.
38272         * sunrpc/rpc/types.h: Likewise.
38273         * sunrpc/rpc/xdr.h: Likewise.
38274         * sunrpc/rpc_clntout.c: Likewise.
38275         * sunrpc/rpc_cmsg.c: Likewise.
38276         * sunrpc/rpc_common.c: Likewise.
38277         * sunrpc/rpc_cout.c: Likewise.
38278         * sunrpc/rpc_dtable.c: Likewise.
38279         * sunrpc/rpc_hout.c: Likewise.
38280         * sunrpc/rpc_main.c: Likewise.
38281         * sunrpc/rpc_parse.c: Likewise.
38282         * sunrpc/rpc_parse.h: Likewise.
38283         * sunrpc/rpc_prot.c: Likewise.
38284         * sunrpc/rpc_sample.c: Likewise.
38285         * sunrpc/rpc_scan.c: Likewise.
38286         * sunrpc/rpc_scan.h: Likewise.
38287         * sunrpc/rpc_svcout.c: Likewise.
38288         * sunrpc/rpc_tblout.c: Likewise.
38289         * sunrpc/rpc_util.c: Likewise.
38290         * sunrpc/rpc_util.h: Likewise.
38291         * sunrpc/rpcinfo.c: Likewise.
38292         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
38293         * sunrpc/rpcsvc/key_prot.x: Likewise.
38294         * sunrpc/rpcsvc/klm_prot.x: Likewise.
38295         * sunrpc/rpcsvc/mount.x: Likewise.
38296         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
38297         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
38298         * sunrpc/rpcsvc/rex.x: Likewise.
38299         * sunrpc/rpcsvc/rstat.x: Likewise.
38300         * sunrpc/rpcsvc/rusers.x: Likewise.
38301         * sunrpc/rpcsvc/sm_inter.x: Likewise.
38302         * sunrpc/rpcsvc/spray.x: Likewise.
38303         * sunrpc/rpcsvc/yppasswd.x: Likewise.
38304         * sunrpc/rtime.c: Likewise.
38305         * sunrpc/svc.c: Likewise.
38306         * sunrpc/svc_auth.c: Likewise.
38307         * sunrpc/svc_authux.c: Likewise.
38308         * sunrpc/svc_raw.c: Likewise.
38309         * sunrpc/svc_run.c: Likewise.
38310         * sunrpc/svc_simple.c: Likewise.
38311         * sunrpc/svc_tcp.c: Likewise.
38312         * sunrpc/svc_udp.c: Likewise.
38313         * sunrpc/svc_unix.c: Likewise.
38314         * sunrpc/svcauth_des.c: Likewise.
38315         * sunrpc/xcrypt.c: Likewise.
38316         * sunrpc/xdr.c: Likewise.
38317         * sunrpc/xdr_array.c: Likewise.
38318         * sunrpc/xdr_float.c: Likewise.
38319         * sunrpc/xdr_mem.c: Likewise.
38320         * sunrpc/xdr_rec.c: Likewise.
38321         * sunrpc/xdr_ref.c: Likewise.
38322         * sunrpc/xdr_sizeof.c: Likewise.
38323         * sunrpc/xdr_stdio.c: Likewise.
38325         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
38326         handling.
38328 2010-08-19  Andreas Schwab  <schwab@redhat.com>
38330         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
38332 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
38334         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
38335         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
38336         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
38337         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
38338         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
38339         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
38340         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
38341         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
38342         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
38343         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
38344         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
38345         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
38346         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
38347         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
38349 2010-07-26  Anton Blanchard  <anton@samba.org>
38351         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
38352         * malloc/arena.c (heap_trim): Likewise.
38354 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
38356         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
38357         here.  Not...
38358         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
38359         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
38361 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
38363         * sysdeps/i386/elf/Makefile: New file.
38365 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
38367         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
38368         from fanotify_init.
38369         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
38370         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38372 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
38374         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
38375         of strncasecmp_l.
38376         * sysdeps/multiarch/strcmp.S: Likewise.
38378 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
38380         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38381         strncase_l-nonascii.
38382         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38383         Add strncase_l-ssse3.
38384         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
38385         * sysdeps/x86_64/strcmp.S: Likewise.
38386         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
38387         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
38388         * sysdeps/x86_64/strncase.S: New file.
38389         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
38390         * sysdeps/x86_64/strncase_l.S: New file.
38391         * string/Makefile (strop-tests): Add strncasecmp.
38392         * string/test-strncasecmp.c: New file.
38394         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
38395         warning.
38397         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
38398         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
38400 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
38402         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
38404 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
38406         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
38407         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
38408         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
38410 2010-05-01  Alan Modra  <amodra@gmail.com>
38412         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
38413         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
38414         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
38415         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
38416         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
38417         tidying.  Don't tail-call __sigjmp_save for static lib.
38418         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
38419         save location.
38420         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
38421         (CALL_MCOUNT): Add eh info, and nop after bl.
38422         (TAIL_CALL_SYSCALL_ERROR): New macro.
38423         (PSEUDO_RET): Use it.
38424         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
38425         Correct save location of integer regs and cr.
38426         (_dl_profile_resolve): Correct cr save location.  Delete nops
38427         after bl when SHARED.  Reduce cfi size a little by better
38428         placement of cfi directives.
38429         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
38430         make a stack frame.  Instead use parm save area as a temp.
38431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
38432         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
38433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
38434         Don't make a stack frame for parent, use parm save area.
38435         Increase child stack frame to 112 bytes.  Don't save unused reg,
38436         and adjust reg usage.  Set up cfi on error recovery and
38437         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
38438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38439         (__makecontext): Add dummy nop after jump to exit.
38440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
38441         Use correct parm save area and cr save, reduce stack frame.
38442         Correct cfi for possible PSEUDO_RET frame setup.
38443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
38444         Branch to local label emitted by PSEUDO_RET rather than
38445         __syscall_error.
38447 2010-08-12  Andreas Schwab  <schwab@redhat.com>
38449         [BZ #11904]
38450         * locale/programs/locale.c (print_assignment): New function.
38451         (show_locale_vars): Use it.
38453 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
38455         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
38456         field.
38457         (struct statfs64): Likewise.
38458         (_STATFS_F_FLAGS): Define.
38459         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
38460         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38461         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
38462         (ST_VALID): Define locally.
38463         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
38464         __statvfs_getflags, use the provided value.
38465         * sysdeps/unix/sysv/linux/kernel-features.h: Define
38466         __ASSUME_STATFS_F_FLAGS.
38468         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
38470         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
38471         Add sys/fanotify.h.
38472         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
38473         fanotify_mask for GLIBC_2.13.
38474         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
38475         fanotify_init and fanotify_mark.
38476         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38477         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
38479         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
38480         Add prlimit.
38481         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
38482         prlimit64 for GLIBC_2.13.
38483         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
38484         prlimit64.
38485         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
38486         syscall.
38487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
38488         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38489         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
38490         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
38491         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
38492         add prlimit alias.
38493         * sysdeps/unix/sysv/linux/prlimit.c: New file.
38495         [BZ #11903]
38496         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
38497         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
38499         * nss/Makefile: Add rules to build and run tst-nss-test1.
38500         * shlib-versions: Add entry for libnss_test1.
38501         * nss/nss_test1.c: New file.
38502         * nss/tst-nss-test1.c: New file.
38504         * nss/nsswitch.c (__nss_database_custom): Define new variable.
38505         (__nss_configure_lookup): Set appropriate entry in
38506         __nss_configure_lookup to true.
38507         * nss/nsswitch.h: Define enum with indeces of databases in
38508         databases and __nss_database_custom arrays.  Declare
38509         __nss_database_custom.
38510         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
38511         to avoid using nscd when custom rules are installed.
38512         * nss/getXXbyYY_r.c: Likewise.
38513         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38515         * nss/nss_files/files-parse.c: Whitespace fixes.
38517 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
38519         [BZ #11883]
38520         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
38521         * posix/fnmatch_loop.c: Likewise.
38523 2010-07-17  Andi Kleen  <ak@linux.intel.com>
38525         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
38526         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
38527         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
38528         * Versions.def [GLIBC_2.13]: Add.
38530 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
38532         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38533         Also fail if tpwd after pwuid call is NULL.
38535 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38537         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
38538         when converting to ms.
38540 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38542         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
38543         EOPNOTSUPP errors with ENOTTY.
38544         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
38545         EOPNOTSUPP errors with ENOTTY.
38547 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
38549         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38550         Add strcasecmp_l-ssse3.
38551         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
38552         strcasecmp.
38553         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
38554         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
38555         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
38557 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
38559         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
38561         * string/Makefile (strop-tests): Add strcasecmp.
38562         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38563         strcasecmp_l-nonascii.
38564         (gen-as-const-headers): Add locale-defines.sym.
38565         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
38566         * sysdeps/x86_64/strcasecmp.S: New file.
38567         * sysdeps/x86_64/strcasecmp_l.S: New file.
38568         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
38569         * sysdeps/x86_64/locale-defines.sym: New file.
38570         * string/test-strcasecmp.c: New file.
38572         * string/test-strcasestr.c: Test both ends of the range of characters.
38573         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
38575 2010-07-29  Roland McGrath  <roland@redhat.com>
38577         [BZ #11856]
38578         * manual/locale.texi (Yes-or-No Questions): Fix example code.
38580 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
38582         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
38583         for ld.so.
38585 2010-07-27  Andreas Schwab  <schwab@redhat.com>
38587         * manual/memory.texi (Malloc Tunable Parameters): Document
38588         M_PERTURB.
38590 2010-07-26  Roland McGrath  <roland@redhat.com>
38592         [BZ #11840]
38593         * configure.in (-fgnu89-inline check): Set and substitute
38594         gnu89_inline, not libc_cv_gnu89_inline.
38595         * configure: Regenerated.
38596         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
38598 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
38600         * string/test-strnlen.c: New file.
38601         * string/Makefile (strop-tests): Add strnlen.
38602         * string/tester.c (test_strnlen): Add a few more test cases.
38603         * string/tst-strlen.c: Better error reporting.
38605         * sysdeps/x86_64/strnlen.S: New file.
38607 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
38609         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
38610         lower-latency instructions.
38612 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
38614         * string/test-strcasestr.c: New file.
38615         * string/test-strstr.c: New file.
38616         * string/Makefile (strop-tests): Add strstr and strcasestr.
38617         * string/str-two-way.h: Don't undefine MAX.
38618         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
38620 2010-07-21  Andreas Schwab  <schwab@redhat.com>
38622         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38623         strcasestr-nonascii.
38624         (CFLAGS-strcasestr-nonascii.c): Define.
38625         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
38626         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
38627         Remove unused attribute.
38629 2010-07-20  Roland McGrath  <roland@redhat.com>
38631         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
38632         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
38633         ld.so.cache was broken.  With it, there is no way to disable dsocaps
38634         like LD_HWCAP_MASK can disable hwcaps.
38636 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
38638         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
38640 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
38642         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
38643         call in strcasestr.
38644         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
38645         __strcasestr_sse42_nonascii.
38646         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
38647         strcasestr-nonascii.c.
38648         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
38650 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
38652         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
38653         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
38654         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
38655         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
38657 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
38659         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
38660         fcntl.
38662 2010-07-06  Andreas Schwab  <schwab@redhat.com>
38664         [BZ #11577]
38665         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
38666         dl_signal_cerror.
38668 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
38670         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
38671         _PC_PIPE_BUF using F_GETPIPE_SZ.
38673 2010-07-05  Roland McGrath  <roland@redhat.com>
38675         * manual/arith.texi (Rounding Functions): Fix rint description
38676         implicit in round description.
38678 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
38680         * elf/Makefile: Fix linking for a few tests to make recent linker
38681         happy.
38683 2010-06-30  Andreas Schwab  <schwab@redhat.com>
38685         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38686         $(common-objpfx)libc_nonshared.a.
38688 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
38690         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
38691         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
38692         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38693         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38694         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
38695         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
38696         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38697         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
38699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
38700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
38701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
38703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
38705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
38706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
38707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
38708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
38710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
38712         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
38713         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
38714         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
38715         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
38716         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
38717         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
38718         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
38719         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
38720         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
38721         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
38722         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
38723         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
38724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
38725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
38726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
38727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
38728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
38729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
38730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
38731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
38732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
38733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
38734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
38735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
38736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
38737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
38739 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
38741         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
38742         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
38743         * string/memmove.c (memmove): Renamed to ...
38744         (MEMMOVE): ...this.  Default to memmove.
38745         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
38746         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
38747         (END_CHK): Define.
38748         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38749         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
38750         mempcpy-ssse3-back memmove-ssse3-back.
38751         * sysdeps/x86_64/multiarch/bcopy.S: New file .
38752         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
38753         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
38754         * sysdeps/x86_64/multiarch/memcpy.S: New file.
38755         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
38756         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
38757         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
38758         * sysdeps/x86_64/multiarch/memmove.c: New file.
38759         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
38760         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
38761         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
38762         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
38763         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
38764         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
38765         Define.
38766         (index_Fast_Copy_Backward): Define.
38767         (HAS_ARCH_FEATURE): Define.
38768         (HAS_FAST_REP_STRING): Define.
38769         (HAS_FAST_COPY_BACKWARD): Define.
38771 2010-06-21  Andreas Schwab  <schwab@redhat.com>
38773         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38774         Restore proper fallback handling.
38776 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
38778         [BZ #11701]
38779         * posix/group_member.c (__group_member): Correct checking loop.
38781         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38782         OOM in getpwuid_r correctly.  Return error number when the caller
38783         should return, otherwise -1.
38784         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38785         call returning > 0 value.
38786         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38788 2010-06-07  Andreas Schwab  <schwab@redhat.com>
38790         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38791         libc_nonshared.a from targets in modules-names.
38793 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
38795         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38796         requires it.
38798 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
38800         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38801         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38802         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38803         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38805 2010-06-02  Andreas Schwab  <schwab@redhat.com>
38807         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38809 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
38811         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38812         and F_GETPIPE_SZ.
38813         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38814         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38815         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38816         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38817         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38818         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38820 2010-06-14  Roland McGrath  <roland@redhat.com>
38822         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38824 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
38826         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38827         __REDIRECT followed by __THROW.
38828         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38829         * posix/getopt.h (getopt): Likewise.
38831 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
38833         * hurd/lookup-at.c (__file_name_lookup_at): Accept
38834         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
38835         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38836         in AT_FLAGS.
38837         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38838         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38840 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
38842         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38844 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
38846         [BZ #11640]
38847         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38848         Properly check family and model.
38850 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
38852         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38854 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
38856         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38858 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
38860         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38861         symbol reference.
38863 2010-05-19  Andreas Schwab  <schwab@redhat.com>
38865         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38866         symbol reference.
38868 2010-05-21  Andreas Schwab  <schwab@redhat.com>
38870         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38871         and internal_recvmmsg.
38872         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38873         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38874         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38875         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38877         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38878         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38879         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38881 2010-05-20  Andreas Schwab  <schwab@redhat.com>
38883         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38885 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
38887         POWER7 optimizations.
38888         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38889         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38891 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
38893         * version.h: Update for 2.13 development version.
38895 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
38897         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38898         exceptions.  Return 0.
38900 2010-05-07  Roland McGrath  <roland@redhat.com>
38902         * elf/ldconfig.c (main): Add a const.
38904 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
38906         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38907         (args_options): Add no-idn option.
38908         (ahosts_keys_int): Add idn_flags to ai_flags.
38909         (parse_option): Handle 'i' option to clear idn_flags.
38911         * malloc/malloc.c (_int_free): Possible race in the most recently
38912         added check.  Only act on the data if no current modification
38913         happened.
38915 See ChangeLog.17 for earlier changes.