Resolve __vector namespace conflict with Altivec.
[glibc.git] / ChangeLog
blob982ac145621deb8de0aadf6485b8555630fd5d7d
1 2012-04-17  Petr Baudis  <pasky@ucw.cz>
3         * include/sys/uio.h: Change __vector to __iovec to avoid clash
4         with altivec.
6 2012-04-16  Marek Polacek  <polacek@redhat.com>
8         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
10 2012-04-16  Marek Polacek  <polacek@redhat.com>
12         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
13         operands of fdivp instruction.
15 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
17         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
18         * elf/tst-auditmod3b.c: Likewise.
19         * elf/tst-auditmod4b.c: Likewise.
20         * elf/tst-auditmod5b.c: Likewise.
21         * elf/tst-auditmod6b.c: Likewise.
22         * elf/tst-auditmod6c.c: Likewise.
23         * elf/tst-auditmod7b.c: Likewise.
24         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
25         * sysdeps/x86_64/preconfigure.in: Likewise.
26         * sysdeps/x86_64/preconfigure: Regenerated.
28 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
30         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31         __ILP32__.
33 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
35         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
38 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
40         [BZ #13973]
41         * locale/iso-639.def: Fix gl language name. Spotted by
42         Yaron Shahrabani.
44 2012-04-12  Roland McGrath  <roland@hack.frob.com>
46         [BZ #2074]
47         * libio/libio.h (__io_write_fn): Update comment.
49 2012-04-12  Petr Baudis  <pasky@ucw.cz>
51         [BZ #2074]
52         * stdio.texi (Hook Functions): The user provided writer function
53         is not allowed to return -1.
55 2012-04-11  David S. Miller  <davem@davemloft.net>
57         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
61         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
62         Add a leading slash to rtkaio.
64 2012-04-11  Jim Meyering  <meyering@redhat.com>
66         [BZ #11959]
67         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
68         It is not necessarily an error to ignore fwrite's return
69         value.  One can reliably use ferror to test for errors after
70         the fact.
72 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
74         * bits/types.h (__snseconds_t): New type.
75         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
77         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
78         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
79         (__SNSECONDS_T_TYPE): Likewise.
80         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
81         (__SNSECONDS_T_TYPE): Likewise.
82         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
83         (__SNSECONDS_T_TYPE): Likewise.
85 2012-04-10  Andreas Jaeger  <aj@suse.de>
87         [BZ #2636]
88         * manual/time.texi (Processor Time): Return type of times is
89         elapsed real time since an arbitrary point in the past.
90         (CPU Time): Move CLK_TCK from here...
91         (Processor Time): ...to here.  Correct description.
92         * manual/conf.texi (Constants for Sysconf): Correct description of
93         _SC_CLK_TCK.
95 2012-04-10  David S. Miller  <davem@davemloft.net>
97         [BZ #13967]
98         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
99         where the is a gap between DT_REL(A) and DT_JMPREL.
101 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
103         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
104         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
105         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
107 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
109         * elf/dl-support.c (_dl_inhibit_cache): New variable.
110         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
111         (dl_main): Handle --inhibit-cache.
112         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
113         _dl_inhibit_cache.
114         * elf/dl-load.c (_dl_map_object): Use it.
115         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
117 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
119         [BZ #13872]
120         * sysdeps/i386/fpu/e_powl.S (p78): New object.
121         (__ieee754_powl): Saturate large exponents rather than testing for
122         overflow of y*log2(x).
123         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
124         * math/libm-test.inc (pow_test): Do not permit spurious overflow
125         exceptions.
127         [BZ #11521]
128         * math/s_ctan.c: Include <float.h>.
129         (__ctan): Avoid internal overflow or cancellation in calculating
130         denominator.
131         * math/s_ctanf.c: Likewise.
132         * math/s_ctanl.c: Likewise.
133         * math/s_ctanh.c: Likewise.
134         * math/s_ctanhf.c: Likewise.
135         * math/s_ctanhl.c: Likewise.
136         * math/libm-test.inc (ctan_test): Add more tests.
137         (ctanh_test): Likewise.
138         * sysdeps/i386/fpu/libm-test-ulps: Update.
139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
141 2012-04-09  Andreas Jaeger  <aj@suse.de>
143         [BZ #6894]
144         * manual/filesys.texi (Directory Entries): Mention that d_namlen
145         is an optional BSD extension.
147         [BZ #10254]
148         * manual/stdio.texi (Opening Streams): Document additional fopen
149         parameters.
151 2012-04-09  Roland McGrath  <roland@hack.frob.com>
153         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
154         %eax without telling the compiler.
156 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
158         [BZ # 13963]
159         * manual/install.texi: Use sourceware.org.
161 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
163         [BZ #13873]
164         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
165         (__ieee754_pow): Generate overflow and underflow using huge*huge
166         and tiny*tiny rather than just returning constant infinity or zero
167         for large exponents.
168         * math/libm-test.inc (pow_test): Require overflow exceptions for
169         applicable cases of large exponents.
171         [BZ #706]
172         * sysdeps/i386/fpu/e_pow.S (p10): New object.
173         (__ieee754_pow): Use iterative multiplication algorithm only for
174         integer exponents with absolute value below 1024.  Check for odd
175         integer exponents when using algorithm for real exponents.
176         * math/libm-test.inc (pow_test): Add more tests.
177         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
179 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
181         [BZ #13705]
182         * math/libm-test.inc (exp_test): Do not allow overflow exception
183         on underflow test.
185 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
187         [BZ #13705]
188         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
189         instead of __kernel_standard_f.
191 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
193         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
194         * sysdeps/x86_64/memset_chk.S: Likewise.
196 2012-04-08  Andreas Jaeger  <aj@suse.de>
198         [BZ #10153]
199         * manual/startup.texi (Environment Access): Describe return value
200         for putenv and setenv.
202         [BZ #6895]
203         * manual/filesys.texi (Directory Entries): Add description for
204         DT_LNK.
206         [BZ #6890]
207         * manual/filesys.texi (Directory Entries): Clarify that it's file
208         system not operating system in the description of DT_UNKNOWN.
210         [BZ #6578]
211         * manual/syslog.texi (closelog): Fix reference, it's openlog.
213 2012-04-08  Stephen Compall  <s11@member.fsf.org>
215         [BZ #6649]
216         * manual/llio.texi (Opening and Closing Files): Add cross
217         reference to explain mode argument.
219 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
221         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
222         * sysdeps/x86_64/memset_chk.S: Likewise.
224 2012-04-07  David S. Miller  <davem@davemloft.net>
226         * elf/elf.h (R_SPARC_WDISP10): Define.
227         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
228         R_SPARC_SIZE32.
229         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
230         R_SPARC_SIZE64 and R_SPARC_H34.
232 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
234         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
235         conditions and remove no longer applicable assertion.
237 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
239         * bits/byteswap.h: Include <features.h>.
240         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
241         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
243 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
245         * bits/byteswap.h (__bswap_16): Removed.
246         Include <bits/byteswap-16.h> to get __bswap_16.
247         * sysdeps/i386/bits/byteswap.h: Likewise.
248         * sysdeps/s390/bits/byteswap.h: Likewise.
249         * sysdeps/x86_64/bits/byteswap.h: Likewise.
250         * bits/byteswap-16.h: New file.
251         * sysdeps/i386/bits/byteswap-16.h: Likewise.
252         * sysdeps/s390/bits/byteswap-16.h: Likewise.
253         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
254         * string/Makefile (headers): Add bits/byteswap-16.h.
256 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
258         [BZ #13895]
259         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
260         extra indirection.
261         * nss/Makefile (tests-static, tests): Add tst-nss-static.
262         * nss/tst-nss-static.c: New.
264 2012-04-06  Robert Millan  <rmh@gnu.org>
266         [BZ #6486]
267         * manual/llio.texi (File Position Primitive): lseek
268         refers to WHENCE when it really means OFFSET.
270 2012-04-06  Andreas Jaeger  <aj@suse.de>
272         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
273         strncmp declarations.
275         * abilist/libc.abilist: Add __poll and __ppoll.
277 2012-04-05  David S. Miller  <davem@davemloft.net>
279         * scripts/check-local-headers.sh: Accept a host triplet in the
280         path matched by the exclude regexp.
282         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
283         definition.
284         * sysdeps/powerpc/powerpc32/dl-machine.h
285         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
286         * sysdeps/s390/s390-32/dl-machine.h
287         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
288         * sysdeps/sparc/sparc32/dl-machine.h
289         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
290         * sysdeps/sparc/sparc64/dl-machine.h
291         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
293         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
294         lazy binding.
295         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
296         undefined symbol errors.
298         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
299         DT_NEEDED entries.
301 2012-04-05  Michael Matz  <matz@suse.de>
303         [BZ #13592]
304         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
306 2012-04-05  Andreas Jaeger  <aj@suse.de>
308         [BZ #13908]
309         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
310         comment.
312 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
314         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
315         which ROUND is no valid rounding mode.
317 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
319         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
320         read again.
321         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
323 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
325         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
326         an exception using FPU order intentionally.
328 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
330         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
331         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
332         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
333         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
335 2012-04-05  Simon Josefsson  <simon@josefsson.org>
337         [BZ #12340]
338         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
339         EINVAL when BUFLEN is too smal.
341 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
343         [BZ #13553]
344         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
345         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
347 2012-04-03  Andreas Jaeger  <aj@suse.de>
349         [BZ #13938]
350         * manual/setjmp.texi (System V contexts): Fix sentence.
352         [BZ #13926]
353         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
354         New macro for this case.
355         [!__GNUC__] (__bswap_64): New inline function for this case.
356         * sysdeps/x86_64/bits/byteswap.h: Likewise.
357         * bits/byteswap.h: Likewise.
358         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
359         ull, guard with __GLIBC_HAVE_LONG_LONG.
361         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
362         __GLIBC_HAVE_LONG_LONG.
364         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
365         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
367 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
369         [BZ #13691]
370         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
371         inptr and inend, rather than using last_ch.
373 2012-04-02  David S. Miller  <davem@davemloft.net>
375         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
376         * stdio-common/printf-parse.h (read_int): Change return type to
377         'int', return -1 on INT_MAX overflow.
378         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
379         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
380         overflows INT_MAX.  Check for overflow of in-format-string precision
381         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
382         SIZE_MAX not INT_MAX for integer overflow test.
383         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
384         skip the construct in the format string but do not record anything.
385         * stdio-common/bug22.c: Adjust to test both width/prevision
386         INT_MAX overflow as well as total length INT_MAX overflow.  Check
387         explicitly for proper errno values.
389 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
391         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
392         CHAR_MAX.
393         * string/test-strcmp.c [! WIDE]: Likewise.
394         * time/tst-mktime2.c: Likewise for INT_MAX.
395         * string/test-string.h: #include <sys/param.h> for MIN.
397         * csu/init-first.c (__libc_init_first): Call __ctype_init.
398         * sysdeps/i386/init-first.c (init): Likewise.
399         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
400         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
401         * sysdeps/sh/init-first.c (init): Likewise.
403 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
405         * po/ru.po: Update from translation team.
406         * po/vi.po: Likewise.
408 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
410         * resolv/nss_dns/dns-host.c: Merge copyright years.
412 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
414         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
415         Optimize memcpy with prefetch if
416         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
417         src, dst pointers have unequal 16 byte alignments.
419 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
421         [BZ #13928]
422         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
423         from a CNAME entry and return the minimum ttl for the query.
424         (gaih_getanswer_slice): Likewise.
426 2012-03-30  Jeff Law  <law@redhat.com>
428         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
429         due to long keys.
430         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
431         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
433         * resolv/nss_dns/dns-host.c: Update copyright year.
435 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
437         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
438         requests to save a system call.  Fix check that all bytes are sent.
440         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
441         comments for sendmmsg.
443 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
445         [BZ #13691]
446         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
447         with only 1 character between 0x0041 and 0x01b0.
448         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
449         * wcsmbs/tst-mbsnrtowcs.c: New file.
451 2012-03-29  David S. Miller  <davem@davemloft.net>
453         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
454         small copies by hand.
456 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
458         [BZ #13761]
459         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
460         _nss_compat_initgroups_dyn): Fall back to malloc/free
461         for large group memberships.
463 2012-03-28  David S. Miller  <davem@davemloft.net>
465         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
466         that branches into memcpy.
467         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
468         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
469         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
470         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
471         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
472         bits.
473         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
474         implementation too.
475         * sysdeps/sparc/mempcpy.S: New file.
477         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
478         the IFUNC routine in the libc case.
479         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
481         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
482         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
483         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
484         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
485         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
486         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
487         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
488         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
490         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
491         loop to 256 bytes instead of 64 bytes and fix test signedness.
493         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
494         * sysdeps/sparc/sparc32/Makefile: rather than here...
495         * sysdeps/sparc/sparc64/Makefile: and here.
497 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
499         * malloc/mallocbug.c: Avoid warnings about unused variables.
501 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
503         [BZ #13760]
504         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
505         in the right place. Discard and retry query if response is
506         larger than input buffer size.
508 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
510         [BZ #369]
511         [BZ #2678]
512         [BZ #3866]
513         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
514         x for large integer exponent.
515         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
516         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
517         sign of result as needed afterwards.
518         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
519         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
520         result for underflowing pow the same as for overflow.
521         (__kernel_standard_l): Handle powl overflow and underflow here
522         rather than calling __kernel_standard.
523         * math/libm-test.inc (pow_test): Add more tests.
525         [BZ #3868]
526         [BZ #13879]
527         [BZ #13910]
528         [BZ #13911]
529         [BZ #13912]
530         [BZ #13913]
531         [BZ #13915]
532         [BZ #13916]
533         [BZ #13917]
534         [BZ #13918]
535         [BZ #13919]
536         [BZ #13920]
537         [BZ #13921]
538         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
539         * sysdeps/ieee754/k_standard.c: Include <float.h>.
540         (__kernel_standard_l): New function.
541         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
542         __kernel_standard.
543         * math/w_acosl.c (__acosl): Likewise.
544         * math/w_asinl.c (__asinl): Likewise.
545         * math/w_atan2l.c (__atan2l): Likewise.
546         * math/w_atanhl.c (__atanhl): Likewise.
547         * math/w_coshl.c (__coshl): Likewise.
548         * math/w_exp10l.c (__exp10l): Likewise.
549         * math/w_exp2l.c (__exp2l): Likewise.
550         * math/w_fmodl.c (__fmodl): Likewise.
551         * math/w_hypotl.c (__hypotl): Likewise.
552         * math/w_j0l.c (__j0l, __y0l): Likewise.
553         * math/w_j1l.c (__j1l, __y1l): Likewise.
554         * math/w_jnl.c (__jnl, __ynl): Likewise.
555         * math/w_lgammal.c (__lgammal): Likewise.
556         * math/w_log10l.c (__log10l): Likewise.
557         * math/w_log2l.c (__log2l): Likewise.
558         * math/w_logl.c (__logl): Likewise.
559         * math/w_powl.c (__powl): Likewise.
560         * math/w_remainderl.c (__remainderl): Likewise.
561         * math/w_scalbl.c (sysv_scalbl): Likewise.
562         * math/w_sinhl.c (__sinhl): Likewise.
563         * math/w_sqrtl.c (__sqrtl): Likewise.
564         * math/w_tgammal.c (__tgammal): Likewise.
565         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
566         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
567         * math/libm-test.inc (acos_test): Add more tests.
568         (acosh_test): Likewise.
569         (asin_test): Likewise.
570         (atanh_test): Likewise.
571         (exp_test): Likewise.
572         (exp10_test): Likewise.
573         (exp2_test): Likewise.
574         (expm1_test): Likewise.
575         (lgamma_test): Likewise.
576         (log_test): Likewise.
577         (log10_test): Likewise.
578         (log1p_test): Likewise.
579         (log2_test): Likewise.
580         (pow_test): Do not allow some spurious overflow exceptions.
581         (sqrt_test): Add more tests.
582         (tgamma_test): Likewise.
583         (y0_test): Likewise.
584         (y1_test): Likewise.
585         (yn_test): Likewise.
587 2012-03-27  Anton Blanchard  <anton@samba.org>
589         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
590         MAP_HUGETLB.
591         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
592         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
593         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
595 2012-03-27  David S. Miller  <davem@davemloft.net>
597         * conform/Makefile: Run run-conformtest.sh using $(BASH).
599         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
600         have-as-vis3 check.
602 2012-03-27  Andreas Jaeger  <aj@suse.de>
604         * sysdeps/x86_64/elf/configure.in: Moved to ...
605         * sysdeps/x86_64/configure.in: ... here.
606         * sysdeps/x86_64/elf/start.S: Moved to ...
607         * sysdeps/x86_64/start.S: ... here.
608         * sysdeps/x86_64/elf/configure: Delete.
610         * sysdeps/x86_64/configure.in: Merge contents from
611         sysdeps/i386/configure.in (without i686 check).
613         * sysdeps/i386/elf/Versions: Merge into ...
614         * sysdeps/i386/Versions: ... this.
615         * sysdeps/i386/elf/Versions: Delete file.
616         * sysdeps/i386/elf/start.S: Moved to ...
617         * sysdeps/i386/start.S: ...here.
618         * sysdeps/i386/elf/configure.in: Merge into...
619         * sysdeps/i386/configure.in: ...here.
620         * sysdeps/i386/elf/configure.in: Delete file.
621         * sysdeps/i386/elf/configure: Delete file.
623         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
624         * debug/backtracesyms.c: ... here.
625         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
626         * debug/backtracesymsfd.c: ... here.
627         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
628         * sysdeps/generic/ifunc-sel.h: ... here.
630         * sysdeps/unix/i386/start.c: Delete file.
631         * sysdeps/unix/sparc/start.c: Delete file.
632         * sysdeps/unix/start.c: Delete file.
634         * sysdeps/sh/elf/configure.in: Moved to ...
635         * sysdeps/sh/configure.in: ... here.
636         * sysdeps/sh/elf/start.S: Moved to ...
637         * sysdeps/sh/start.S: ... here.
638         * sysdeps/sh/elf/configure: Delete file.
640         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
641         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
642         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
643         * sysdeps/powerpc/powerpc64/entry.h: ... here.
644         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
645         * sysdeps/powerpc/powerpc64/start.S: here.
646         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
647         * sysdeps/powerpc/powerpc64/Makefile: ... this.
648         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
649         * sysdeps/powerpc/powerpc64/configure.in: ... this.
650         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
652         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
653         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
654         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
655         * sysdeps/powerpc/powerpc32/start.S: ... here.
656         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
657         * sysdeps/powerpc/powerpc32/configure.in: ... this.
658         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
660         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
661         * sysdeps/powerpc/ifunc-sel.h: ... here.
662         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
663         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
665         * sysdeps/sparc/elf/configure.in: Moved to ...
666         * sysdeps/sparc/configure.in: ... here.
667         * sysdeps/sparc/elf/configure: Delete file.
668         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
669         * sysdeps/sparc/sparc32/start.S: ... here.
670         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
671         * sysdeps/sparc/sparc64/start.S: ... here.
672         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
673         * sysdeps/sparc/sparc32/Makefile: ... this.
674         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
675         * sysdeps/sparc/sparc64/Makefile: ... this.
677         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
678         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
679         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
680         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
681         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
682         * sysdeps/s390/s390-32/setjmp.S: ... here.
683         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
684         * sysdeps/s390/s390-32/configure.in: ... here.
685         * sysdeps/s390/s390-32/elf/configure: Delete file.
686         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
687         * sysdeps/s390/s390-32/start.S: ... here.
689         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
690         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
691         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
692         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
693         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
694         * sysdeps/s390/s390-64/setjmp.S: ... here.
695         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
696         * sysdeps/s390/s390-64/configure.in: ... here
697         * sysdeps/s390/s390-64/elf/configure: Delete file.
698         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
699         * sysdeps/s390/s390-64/start.S: ... here.
700         * sysdeps/s390/s390-64/elf/configure: Delete.
702         * configure.in: Remove support for elf directories in sysdeps.
704         * configure: Regenerated.
705         * sysdeps/i386/configure: Regenerated.
706         * sysdeps/powerpc/powerpc32/configure: Regenerated.
707         * sysdeps/powerpc/powerpc64/configure: Regenerated.
708         * sysdeps/s390/s390-32/configure: Regenerated.
709         * sysdeps/s390/s390-64/configure: Regenerated.
710         * sysdeps/sh/configure: Regenerated.
711         * sysdeps/sparc/configure: Regenerated.
712         * sysdeps/x86_64/configure: Regenerated.
714 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
716         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
718         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
719         denormal result into account.
721 2012-03-25  Roland McGrath  <roland@hack.frob.com>
723         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
724         Reported by Allan McRae <allan@archlinux.org>.
726 2012-03-23  Jeff Law  <law@redhat.com>
728         * nss/getnssent.c (__nss_getent): Fix typo.
730 2012-03-23  David S. Miller  <davem@davemloft.net>
732         * sysdeps/sparc/fpu/libm-test-ulps: Update.
734 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
736         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
737         to pad to uint64_t for each field.
738         (dl_tls_index): Replace unsigned long with uint64_t.
740 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
741         Paul Pluzhnikov  <ppluzhnikov@google.com>
743         [BZ #6528]
744         * grp/Makefile (otherlibs): Don't set it.
745         * inet/Makefile (otherlibs): Likewise.
746         * login/Makefile (otherlibs): Likewise.
747         * nscd/Makefile (otherlibs): Likewise.
748         * posix/Makefile (otherlibs): Likewise.
749         * pwd/Makefile (otherlibs): Likewise.
750         * rt/Makefile (otherlibs): Likewise.
751         * sunrpc/Makefile (otherlibs): Likewise.
752         * nss/Makefile (otherlibs): Likewise.
753         Add libnss_files to routines and static-only-routines.
754         ($(objpfx)getent): Remove rule.
755         * resolv/Makefile: Add libnss_dns and libresolv to routines and
756         static-only-routines.
758 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
760         [BZ #13892]
761         * math/s_cexp.c: Include <float.h>.
762         (__cexp): Handle exp result overflowing not necessarily
763         overflowing both real and imaginary parts of result.
764         * math/s_cexpf.c: Likewise.
765         * math/s_cexpl.c: Likewise.
766         * math/libm-test.inc (cexp_test): Add more tests.
767         * sysdeps/i386/fpu/libm-test-ulps: Update.
768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
770 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
772         * include/link.h (ELFW): New macro.
773         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
774         Replace ELF64_R_TYPE with ELFW(R_TYPE).
776 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
778         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
779         with uint64_t.
781 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
783         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
784         declaration.
785         (struct La_x32_retval): Likewise.
787 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
789         * sysdeps/x86_64/preconfigure.in: New file.
790         * sysdeps/x86_64/preconfigure: New generated file.
792 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
794         [BZ #13824]
795         * math/e_exp2l.c: Include <float.h>.
796         (__ieee754_exp2l): Handle overflow and underflow cases
797         separately.  Only pass fractional part of argument to
798         __ieee754_expl.
799         * math/libm-test.inc (exp2_test): Add more tests.
801         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
802         negating x to take absolute value.
803         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
804         Likewise.
805         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
806         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
807         Likewise.
808         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
809         computing low part if x was negated.
810         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
812 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
814         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
815         la_x32_gnu_pltexit.
816         (pltexit): Cast int_retval to ptrdiff_t.
817         * elf/tst-auditmod3b.c: Likewise.
818         * elf/tst-auditmod4b.c: Likewise.
819         * elf/tst-auditmod5b.c: Likewise.
820         * elf/tst-auditmod6b.c: Likewise.
821         * elf/tst-auditmod6c.c: Likewise.
822         * elf/tst-auditmod7b.c: Likewise.
824         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
825         and x32_gnu_pltexit.
827         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
828         __ELF_NATIVE_CLASS.
829         (La_x32_regs): New macro.
830         (La_x32_retval): Likewise.
831         (la_x32_gnu_pltenter): New function prototype.
832         (la_x32_gnu_pltexit): Likewise.
834 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
836         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
837         exponent.
839         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
841         * configure.in (libc_cv_cc_nofma): Check for option to disable
842         generation of FMA instructions.
843         * configure: Regenerate.
844         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
845         * sysdeps/ieee754/dbl-64/Makefile: New file.
846         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
847         Remove brandred-fma4.
848         (CFLAGS-brandred-fma4.c): Remove.
849         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
850         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
851         define.
852         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
853         define.
855 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
857         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
858         LLONG_MAX != LONG_MAX.
859         (_itoa_word): Use _ITOA_WORD_TYPE on value.
860         (_fitoa_word): Likewise.
861         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
862         LLONG_MAX != LONG_MAX.
863         * stdio-common/_itowa.h: Include <_itoa.h>.
864         (_itowa_word): Use _ITOA_WORD_TYPE on value.
865         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
866         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
867         only if not defined.
868         (_ITOA_WORD_TYPE): Likewise.
869         (_itoa_word): Use _ITOA_WORD_TYPE on value.
870         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
872 2012-03-21  David S. Miller  <davem@davemloft.net>
874         * sysdeps/sparc/fpu/libm-test-ulps: Update.
876 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
878         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
879         of x86_64 when setting libc_cv_slibdir, libdir and
880         libc_cv_localedir.
881         * sysdeps/unix/sysv/linux/configure: Regenerated.
883 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
885         * manual/lang.texi (Old Varargs): Remove section.
886         (How Variadic): Update menu.
887         (va_start): Do not mention varargs.h.
889 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
890             Joseph Myers  <joseph@codesourcery.com>
892         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
893         link test.
894         * configure: Regenerated.
896 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
898         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
899         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
900         conformtest.pl
902 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
904         * NOTES: Remove.
905         * Makefile (files-for-dist): Remove NOTES.
906         (NOTES): Remove rule.
907         * README: Don't refer to NOTES.
908         * manual/creature.texi: Don't include macros.texi.
909         * manual/intro.texi (creature.texi): Remove comment referring to
910         NOTES.
912         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
913         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
914         * configure: Regenerated.
915         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
916         LIBC_TRY_CC_OPTION.
917         (libc_cv_as_i686): Likewise.
918         (libc_cv_cc_avx): Likewise.
919         (libc_cv_cc_sse2avx): Likewise.
920         (libc_cv_cc_fma4): Likewise.
921         (libc_cv_cc_novzeroupper): Likewise.
922         * sysdeps/i386/configure: Regenerated.
924         [BZ #13883]
925         * sysdeps/i386/fpu/s_cexp.S: Remove.
926         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
927         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
928         * math/libm-test.inc (cexp_test): Add more tests.
929         * sysdeps/i386/fpu/libm-test-ulps: Update.
930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
932 2012-03-21  Allan McRae  <allan@archlinux.org>
934         * timezone/Makefile: Do not install iso3166.tab and zone.tab
936 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
938         [BZ #13871]
939         * math/w_exp2.c: Do not include <float.h>.
940         (o_threshold, u_threshold): Remove.
941         (__exp2): Calculate result before checking finiteness and calling
942         __kernel_standard.
943         * math/w_exp2f.c: Likewise.
944         * math/w_exp2l.c: Likewise.
945         * math/libm-test.inc (exp2_test): Require overflow exception for
946         1e6 input.
948         [BZ #3866]
949         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
950         range of signed 64-bit integers before using fistpll.  Remove
951         checks for whether integers fit in mantissa bits.
952         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
953         the range of signed 32-bit integers before using fistpl.  Remove
954         checks for whether integers fit in mantissa bits.
955         * sysdeps/i386/fpu/e_powl.S (p64): New object.
956         (__ieee754_powl): Test for y outside the range of signed 64-bit
957         integers before using fistpll.  Reduce 64-bit values to 63-bit
958         ones as needed.
959         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
960         divide-by-zero is raised for zero to large negative powers.
961         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
962         (__ieee754_powl): Test for y outside the range of signed 64-bit
963         integers before using fistpll.  Reduce 64-bit values to 63-bit
964         ones as needed.
965         * math/libm-test.inc (pow_test): Add more tests.
967 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
969         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
970         <stdio-common/_itoa.h>.
971         * debug/segfault.c: Likewise.
972         * elf/dl-cache.c: Likewise.
973         * elf/dl-minimal.c: Likewise.
974         * elf/dl-misc.c: Likewise.
975         * elf/dl-sysdep.c: Likewise.
976         * elf/dl-version.c: Likewise.
977         * elf/rtld.c: Likewise.
978         * hurd/hurdsock.c: Likewise.
979         * hurd/lookup-retry.c: Likewise.
980         * malloc/malloc.c: Likewise.
981         * malloc/mtrace.c: Likewise.
982         * nscd/nscd_getgr_r.c: Likewise.
983         * nscd/nscd_getpw_r.c: Likewise.
984         * nscd/nscd_getserv_r.c: Likewise.
985         * posix/getopt_init.c: Likewise.
986         * posix/wordexp.c: Likewise.
987         * stdio-common/_itoa.c: Likewise.
988         * stdio-common/printf_fphex.c: Likewise.
989         * stdio-common/vfprintf.c: Likewise.
990         * string/_strerror.c: Likewise.
991         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
992         * sysdeps/i386/i686/hp-timing.h: Likewise.
993         * sysdeps/mach/_strerror.c: Likewise.
994         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
995         * sysdeps/mach/hurd/sethostid.c: Likewise.
996         * sysdeps/mach/hurd/xmknodat.c: Likewise.
997         * sysdeps/mach/xpg-strerror.c: Likewise.
998         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
999         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1000         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
1001         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
1002         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1003         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
1004         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1005         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1006         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
1007         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
1008         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
1009         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1010         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
1011         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1012         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1013         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
1014         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
1015         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
1016         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1017         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1018         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
1020         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
1022         * stdio-common/_itoa.h: Moved to ...
1023         * sysdeps/generic/_itoa.h: Here.
1025         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
1027         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
1028         instead of "_itoa.h" and "_itowa.h".
1029         * stdio-common/vfprintf.: Likewise.
1031 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
1033         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
1034         <bits/wordsize.h>.
1035         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
1036         (__signbit): Likwise.
1037         (llrintf): Likwise.
1038         (llrint): Likwise.
1040 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
1042         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
1043         __WORDSIZE != 64.
1045 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
1047         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
1048         OVERFLOW_EXCEPTION_OK.
1049         * math/libm-test.inc ("Philosophy"): Update comment about
1050         exception testing.
1051         (OVERFLOW_EXCEPTION): Define.
1052         (OVERFLOW_EXCEPTION_OK): Likewise.
1053         (INVALID_EXCEPTION_OK): Renumber.
1054         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1055         (IGNORE_ZERO_INF_SIGN): Likewise.
1056         (test_exceptions): Handle FE_OVERFLOW.
1057         (exp10_test): Expect overflow exceptions.
1058         (exp2_test): Likewise.
1059         (expm1_test): Likewise.
1060         (nextafter_test): Likewise.
1061         (pow_test): Likewise.
1062         (scalbn_test): Likewise.
1063         (scalbln_test): Likewise.
1065 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1067         * sysdeps/x86_64/bits/atomic.h
1068         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
1069         64bit integer.
1070         (atomic_exchange_acq): Likewise.
1071         (__arch_exchange_and_add_body): Likewise.
1072         (__arch_add_body): Likewise.
1073         (atomic_add_negative): Likewise.
1074         (atomic_add_zero): Likewise.
1076 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1078         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
1079         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
1081 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1083         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
1084         Check __x86_64__ instead of __WORDSIZE.
1086 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1088         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
1090 2012-03-19  David S. Miller  <davem@davemloft.net>
1092         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1094         * sysdeps/sparc/fpu/fenv_private.h: New file.
1095         * sysdeps/sparc/fpu/math_private.h: Use it.
1096         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
1097         Remove.
1098         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
1099         (libc_feholdexcept_setroundl): Remove.
1100         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
1101         Remove.
1102         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
1103         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
1105 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1107         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
1108         int64_t instead of long int.
1109         (INSERT_WORDS64): Likwise.
1111 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1113         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
1114         _Unwind_GetCFA return to _Unwind_Ptr first.
1116 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
1118         [BZ #13629]
1119         * math/s_clog.c: Include <float.h>.
1120         (__clog): Scale large or subnormal inputs.
1121         * math/s_clogf.c: Likewise.
1122         * math/s_clogl.c: Likewise.
1123         * math/s_clog10.c: Include <float.h>.
1124         (M_LOG10_2): Define.
1125         (__clog10): Scale large or subnormal inputs.
1126         * math/s_clog10f.c: Likewise.
1127         * math/s_clog10l.c: Likewise.
1128         * math/libm-test.inc (clog_test): Add more tests.
1129         (clog10_test): Likewise.
1130         * sysdeps/i386/fpu/libm-test-ulps: Update.
1131         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1133         [BZ #11451]
1134         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
1135         x and y.
1136         * math/libm-test.inc (atan2_test): Add another test.
1138         * Makerules (common-objdir-compile): Remove.
1139         * sysdeps/unix/Makefile (config-generated): Do not add
1140         $(unix-generated) to variable.
1141         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
1142         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
1143         Remove rule.
1144         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
1145         Likewise.
1146         [generic bits/local_lim.h] (before-compile): Do not append to
1147         variable.
1148         [generic bits/local_lim.h] (common-generated): Likewise.
1149         [generic sys/param.h] (before-compile): Do not append to variable.
1150         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
1151         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
1152         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
1153         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
1154         include.
1155         [generic sys/param.h] (sys/param.h-includes): Remove variable.
1156         [generic sys/param.h] (sys/param.h-includes): Remove rule.
1157         [generic sys/param.h] ($(addprefix
1158         $(common-objpfx),$(sys/param.h-includes))): Likewise.
1159         [generic sys/param.h] (common-generated): Do not append to
1160         variable.
1161         [generic sys/param.h] (sysdep_headers): Likewise.
1162         [generic bits/errno.h] (before-compile): Do not append to
1163         variable.
1164         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
1165         rule.
1166         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
1167         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
1168         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
1169         [generic bits/errno.h] (common-generated): Do not append to
1170         variable.
1171         [generic bits/ioctls.h] (before-compile): Do not append to
1172         variable.
1173         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
1174         rule.
1175         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
1176         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
1177         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
1178         rule.
1179         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
1180         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
1181         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
1182         [generic bits/ioctls.h] (common-generated): Do not append to
1183         variable.
1184         [generic sys/syscall.h] (syscall.h): Remove variable.
1185         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
1186         rule.
1187         [generic sys/syscall.h] (before-compile): Do not append to
1188         variable.
1189         [generic sys/syscall.h] (common-generated): Likewise.
1190         * sysdeps/unix/errnos-tmpl.c: Remove file.
1191         * sysdeps/unix/errnos.awk: Likewise.
1192         * sysdeps/unix/ioctls-tmpl.c: Likewise.
1193         * sysdeps/unix/ioctls.awk: Likewise.
1194         * sysdeps/unix/mk-local_lim.c: Likewise.
1195         * sysdeps/unix/snarf-ioctls: Likewise.
1197 2012-03-19  Richard Henderson  <rth@twiddle.net>
1199         * sysdeps/i386/fpu/fenv_private.h: New file.
1200         * sysdeps/i386/fpu/math_private.h: Use it.
1201         (math_opt_barrier, math_force_eval): Remove.
1202         (libc_feholdexcept_setround_53bit): Remove.
1203         (libc_feupdateenv_53bit): Remove.
1204         * sysdeps/x86_64/fpu/math_private.h: Likewise.
1205         (math_opt_barrier, math_force_eval): Remove.
1206         (libc_feholdexcept): Remove.
1207         (libc_feholdexcept_setround): Remove.
1208         (libc_fetestexcept, libc_fesetenv): Remove.
1209         (libc_feupdateenv_test): Remove.
1210         (libc_feupdateenv, libc_feholdsetround): Remove.
1211         (libc_feresetround): Remove.
1213         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
1214         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1216         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
1217         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
1218         (libc_feupdateenv_testl): New.
1219         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
1220         (libc_feupdateenv_testf): New.
1221         (libc_feupdateenv): Use libc_feupdateenv_test.
1222         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
1223         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
1225         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
1226         (libc_feholdsetroundf, libc_feholdsetroundl): New.
1227         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
1228         (libc_feresetround_noex): New.
1229         (libc_feresetround_noexf): New.
1230         (libc_feresetround_noexl): New.
1231         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
1232         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
1233         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
1234         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
1235         SET_RESTORE_ROUND.
1236         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1237         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
1238         (__cos): Likewise.
1239         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
1240         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
1241         SET_RESTORE_ROUND_NOEX.
1242         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
1243         SET_RESTORE_ROUND_NOEXF.
1244         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
1245         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
1246         (libc_feholdsetroundf): New.
1247         (libc_feresetround, libc_feresetroundf): New.
1249         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
1250         (libc_feholdexcept_setround_53bit): Convert from macro to function.
1251         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
1253         * sysdeps/generic/math_private.h: Include <fenv.h>.
1254         (default_libc_feholdexcept): New.
1255         (default_libc_feholdexcept_setround): New.
1256         (default_libc_fesetenv, default_libc_feupdateenv): New.
1257         (libc_feholdexcept): Only define if undefined.
1258         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
1259         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
1260         (libc_feholdexcept_setroundl): Likewise.
1261         (libc_feholdexcept_setround_53bit): Likewise.
1262         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
1263         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
1264         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
1265         (libc_feupdateenv_53bit): Likewise.
1266         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
1267         (libc_feholdexcept): Convert from macro to inline function.
1268         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
1269         (libc_fesetenv, libc_feupdateenv): Likewise.
1271         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
1272         not previously defined.
1273         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
1274         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
1275         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
1276         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
1277         * sysdeps/ieee754/flt-32/math_private.h: New file.
1278         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
1279         math_private.h below SET_FLOAT_WORD.
1280         (__isnan, __isinf_ns, __finite): Remove.
1281         (__isnanf, __isinf_nsf, __finitef): Remove.
1283 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
1285         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1287 2012-03-17  David S. Miller  <davem@davemloft.net>
1289         [BZ #6471]
1290         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
1291         for 2.16.
1293 2012-03-16  David S. Miller  <davem@davemloft.net>
1295         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
1296         warnings.
1298         [BZ #6471]
1299         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
1300         properly.
1301         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
1302         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
1303         sysdep_routines when subdir is sysvipc.
1304         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
1305         __getshmlba helper.
1307         * sysdeps/sparc/fpu/libm-test/ulps: Update.
1309 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1311         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
1312         [__LP64__].
1314 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1316         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
1317         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
1318         (__lround): Renamed to ...
1319         (__llround): This.  Replace long int with long long int.
1320         Define lround functions as aliases of llround functions.
1321         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
1323 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1325         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1326         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
1327         adresses to uintptr_t.  Replace "long int" and "unsigned long
1328         int" with "greg_t" on va_arg.
1330 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1332         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
1333         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
1335         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
1336         Move e_machine check before EI_CLASS check.  Handle x32
1337         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
1338         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
1339         SKIP_EM_IA_64 and include
1340         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
1342         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
1343         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
1344         (add_system_dir): New macro.
1346         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
1347         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
1349 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
1351         [BZ #2551]
1352         [BZ #2552]
1353         [BZ #2553]
1354         [BZ #2554]
1355         [BZ #2562]
1356         [BZ #2563]
1357         [BZ #2565]
1358         [BZ #2566]
1359         [BZ #2576]
1360         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
1361         (y0): Likewise.
1362         * math/w_j0f.c (j0f): Likewise.
1363         (y0f): Likewise.
1364         * math/w_j0l.c (__j0l): Likewise.
1365         (__y0l): Likewise.
1366         * math/w_j1.c (j1): Likewise.
1367         (y1): Likewise.
1368         * math/w_j1f.c (j1f): Likewise.
1369         (y1f): Likewise.
1370         * math/w_j1l.c (__j1l): Likewise.
1371         (__y1l): Likewise.
1372         * math/w_jn.c (jn): Likewise.
1373         (yn): Likewise.
1374         * math/w_jnf.c (jnf): Likewise.
1375         (ynf): Likewise.
1376         * math/w_jnl.c (__jnl): Likewise.
1377         (__ynl): Likewise.
1378         * math/libm-test.inc (j0_test): Add more tests.
1379         (j1_test): Likewise.
1380         (jn_test): Likewise.  Add trailing semicolon to existing test.
1381         (y0_test): Likewise.
1382         (y1_test): Likewise.
1383         * sysdeps/i386/fpu/libm-test-ulps: Update.
1384         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1386         [BZ #13851]
1387         [BZ #13854]
1388         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
1389         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
1390         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
1391         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
1392         (__tanl): Set errno for infinite argument.
1393         * sysdeps/i386/fpu/mptan.c: Remove.
1394         * sysdeps/i386/fpu/s_tan.S: Likewise.
1395         * sysdeps/i386/fpu/s_tanl.S: Likewise.
1396         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
1397         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
1398         * math/libm-test.inc (tan_test): Add more tests and enable more
1399         tests for double and long double.
1400         * sysdeps/i386/fpu/libm-test-ulps: Update.
1401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1403 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
1405         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
1406         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
1408 2012-03-16  Roland McGrath  <roland@hack.frob.com>
1410         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
1411         * configure.in: Use it for both main tree and add-ons.
1412         * configure: Regenerated.
1414 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1416         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
1418 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
1420         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
1421         in comment.
1423         [BZ #13851]
1424         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
1425         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
1426         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
1427         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
1428         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
1429         infinite argument.
1430         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
1431         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
1432         != 0 for prec == 2.
1433         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
1434         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
1435         * sysdeps/i386/fpu/s_cosl.S: Likewise.
1436         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1437         * sysdeps/i386/fpu/s_sinl.S: Likewise.
1438         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
1439         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
1440         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
1441         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
1442         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
1443         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
1444         * math/libm-test.inc (cos_test): Add more tests and enable more
1445         tests for long double.
1446         (sin_test): Likewise.
1447         (sincos_test): Likewise.
1448         * sysdeps/i386/fpu/libm-test-ulps: Update.
1449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1451 2012-03-16  David S. Miller  <davem@davemloft.net>
1453         * sysdeps/sparc/fpu/math_private.h: New file.
1455 2012-03-15  David S. Miller  <davem@davemloft.net>
1457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1458         file.
1459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
1460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1461         file.
1462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1463         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1464         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1465         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1466         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1467         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1468         sysdep routines.
1469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1471         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1472         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1474         * sysdeps/sparc/sparc-ifunc.h: New file.
1475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1476         sparc-ifunc.h
1477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1479         Likewise.
1480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1481         Likewise.
1482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1486         Likewise.
1487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
1491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1492         Likewise.
1493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1494         Likewise.
1495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1499         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1500         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1501         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1502         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1503         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1504         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1505         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1506         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1507         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1508         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1509         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1510         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1511         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1512         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1513         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1514         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1515         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1516         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1517         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1518         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1520 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
1522         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1523         scaling.
1524         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1526 2012-03-15  Andreas Jaeger  <aj@suse.de>
1528         [BZ #13852]
1529         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1530         ieee754/flt-32 implementation for sin, cos and sincos.
1531         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1532         * sysdeps/i386/fpu/s_cosf.S: Likewise.
1533         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1534         * sysdeps/i386/fpu/s_sinf.S: Likewise.
1535         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1536         ieee754/flt-32 implementation for tan.
1538         * math/libm-test.inc (cos_test): Enable some large input tests for
1539         float as well
1540         (sin_test): Likewise.
1541         (sincos_test): Likewise.
1542         (tan_test): Add tests for large input.
1544         * sysdeps/i386/fpu/libm-test-ulps: Update.
1546 2012-03-15  Andreas Jaeger  <aj@suse.de>
1548         [BZ #13658]
1549         * math/libm-test.inc (cos_test): Add more test cases.
1550         (sin_test): Likewise.
1551         (sincos_test): Likewise.
1553 2012-03-15  Andreas Jaeger  <aj@suse.de>
1555         [BZ #13837]
1556         * math/libm-test.inc (cos_test): Add a test case for large input
1557         value.
1558         (sin_test): Likewise.
1559         (sincos_test): Likewise.
1561 2012-03-15  Andreas Jaeger  <aj@suse.de>,
1562         Joseph Myers  <joseph@codesourcery.com>
1564         [BZ #13658]
1565         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
1566         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1567         * sysdeps/i386/fpu/branred.c: Likewise.
1568         * sysdeps/i386/fpu/dosincos.c: Likewise.
1569         * sysdeps/i386/fpu/mpa.c: Likewise.
1570         * sysdeps/i386/fpu/s_cos.S: Likewise.
1571         * sysdeps/i386/fpu/s_sin.S: Likewise.
1572         * sysdeps/i386/fpu/s_sincos.S: Likewise.
1573         * sysdeps/i386/fpu/sincos32.c: Likewise.
1575         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1576         Define.
1577         (libc_feupdateenv_53bit): Define.
1578         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1579         Define.
1580         (libc_feupdateenv_53bit): Define.
1582         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1583         53 bit (without extend i386 double precision).
1585         * math/libm-test.inc (sincos_test): Add tests for large input.
1586         (sin): Likewise.
1587         (cos): Likewise.
1589         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1591 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
1593         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1595 2012-03-15  David S. Miller  <davem@davemloft.net>
1597         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1598         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1599         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1600         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1601         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1602         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1603         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1604         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1605         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1606         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1607         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1608         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1609         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1610         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1611         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
1612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1613         file.
1614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
1615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1616         file.
1617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
1618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1619         file.
1620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
1621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1622         file.
1623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1624         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1625         fmin/fmax sysdep routines.
1626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1628 2012-03-14  David S. Miller  <davem@davemloft.net>
1630         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1631         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1632         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1633         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1634         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1635         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1636         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1637         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1638         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1639         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1640         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1641         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1642         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1643         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1644         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1645         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1646         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1647         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1648         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1649         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1650         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1651         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1652         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1653         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1654         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1655         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1656         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1657         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
1658         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1659         routines.
1660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1661         file.
1662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
1663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1664         file.
1665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
1666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1667         file.
1668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
1669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1670         file.
1671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
1672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1673         file.
1674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
1675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1676         file.
1677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1678         file.
1679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1680         file.
1681         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1682         file.
1683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1684         New file.
1685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1686         file.
1687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1688         file.
1689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
1690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1691         file.
1692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
1693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1694         file.
1695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
1696         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1697         file.
1698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
1699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1700         VIS3 routines.
1702         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1703         New file.
1705         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1707         * sysdeps/sparc/configure.in: New file.
1708         * sysdeps/sparc/configure: Generate.
1709         * configure.in (libc_cv_sparc_as_vis3): Substitute.
1710         * configure: Regenerate.
1711         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1712         * config.make.in (have-as-vis3): New.
1713         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1714         available use -Av9d instead of -Av9a.
1715         * sysdeps/sparc/sparc64/Makefile: Likewise.
1716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
1717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
1718         New file.
1719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
1720         file.
1721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
1722         New file.
1723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
1724         file.
1725         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
1726         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
1727         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
1728         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
1729         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
1731         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
1732         fzeros/fnegs to load 0x80000000 into a float register instead of
1733         using the stack.
1734         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
1736 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
1738         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1739         bits/syscall.h.
1740         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
1741         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
1742         ($(inst_includedir)/bits/syscall.h): Remove rule.
1743         ($(objpfx)bits/syscall.d): Include instead of
1744         $(objpfx)syscall-list.d.
1745         (generated): Change syscall-list.h and syscall-list.d to
1746         bits/syscall.h and bits/syscall.d.
1748 2012-03-14  Roland McGrath  <roland@hack.frob.com>
1750         [BZ #13846]
1751         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
1753 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
1755         [BZ #13841]
1756         * math/s_csqrt.c: Include <float.h>.
1757         (__csqrt): Scale large or subnormal inputs.
1758         * math/s_csqrtf.c: Likewise.
1759         * math/s_csqrtl.c: Likewise.
1760         * math/libm-test.inc (csqrt_test): Add more tests.
1761         * sysdeps/i386/fpu/libm-test-ulps: Update.
1762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1764         [BZ #13840]
1765         * math/libm-test.inc (hypot_test): Add more tests.
1767 2012-03-13  David S. Miller  <davem@davemloft.net>
1769         [BZ #13840]
1770         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
1771         double-precision for the calculation instead of scaling.
1773 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
1775         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
1776         manipulate bits before adding and subtracting TWO52[sx].
1777         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
1778         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
1779         Likewise.
1780         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
1782 2012-03-13  David S. Miller  <davem@davemloft.net>
1784         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
1785         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
1786         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
1787         rtld-global-offsets.h
1788         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1790         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
1791         large parameters.
1793         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
1795         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
1796         'err' in the ifdef scope in which it is actually used.
1798         * nss/nss_db/db-init.c: Include string.h
1800 2012-03-12  David S. Miller  <davem@davemloft.net>
1802         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1803         masking out of the most significant byte of random value used.
1804         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1805         Fix coding style in previous change.
1807         * sysdeps/unix/sysv/linux/kernel-features.h
1808         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
1809         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
1810         expression.
1811         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
1812         later.
1814 2012-03-11  David S. Miller  <davem@davemloft.net>
1816         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1817         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
1818         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
1819         for 'resultvar' otherwise things get truncated on 64-bit.
1821         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1822         Fix masking out of the most significant byte of random value used.
1824         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1826 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
1828         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1830 2012-03-09  David S. Miller  <davem@davemloft.net>
1832         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
1833         variables with appropriate CPP guards.
1834         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
1835         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
1836         on resulting framesize and the management of the outregs buffer for pltexit.
1837         Preserve floating point return values across _dl_call_pltexit call.
1838         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
1839         framesize and the management of the outregs buffer for pltexit.
1840         Preserve floating point return values across _dl_call_pltexit
1841         call.
1842         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
1843         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
1844         (print_exit): Fix format string for return register value.
1846 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
1848         * sunrpc/Makefile (others): Add rpcgen.
1849         ($(objpfx)rpcgen): Remove special build rule and dependency on
1850         libc.
1851         * sunrpc/rpcgen.c: New file.
1853 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
1855         [BZ #13673]
1856         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
1857         * stdio-common/bug-vfprintf-nargs.c: Likewise.
1858         * sysdeps/i386/crti.S: Likewise.
1859         * sysdeps/i386/crtn.S: Likewise.
1860         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
1861         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
1862         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
1863         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
1864         * sysdeps/sh/crti.S: Likewise.
1865         * sysdeps/sh/crtn.S: Likewise.
1866         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1868         [BZ #13673]
1869         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
1870         with URL.
1871         * locale/programs/locfile-kw.gperf: Likewise.
1872         * locale/programs/charmap-kw.h: Regenerated.
1873         * locale/programs/locfile-kw.h: Likewise.
1875         [BZ #13673]
1876         * intl/plural.y: Replace FSF snail mail address with URL.
1877         * intl/plural.c: Regenerated.
1879 2012-03-09  Richard Henderson  <rth@twiddle.net>
1881         * include/math_private.h: Remove file.
1882         * math/math_private.h: Move file ...
1883         * sysdeps/generic/math_private.h: ... here.
1885         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
1886         * sysdeps/powerpc/fpu/math_private.h: Likewise.
1887         * sysdeps/x86_64/fpu/math_private.h: Likewise.
1889         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
1890         and <math_private.h>.
1891         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1892         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1893         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1894         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1895         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1896         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1897         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1898         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1899         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1900         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1901         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1902         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1903         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1904         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1905         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1906         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1907         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1908         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1909         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1910         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
1911         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1912         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1913         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1914         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1915         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1916         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1917         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1918         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1919         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1920         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1921         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1922         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1923         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1924         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1925         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1926         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1927         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1928         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1929         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1930         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1931         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
1932         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1933         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1934         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1935         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1936         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1937         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
1938         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1939         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1940         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1941         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1942         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
1943         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1944         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1945         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1946         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1947         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1948         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1949         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1950         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
1951         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1952         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1953         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1954         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1955         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
1956         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1957         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1958         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1959         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
1960         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
1961         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1962         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1963         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1964         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1965         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
1966         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1967         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
1968         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1969         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
1970         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
1971         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1972         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
1973         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1974         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
1975         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1976         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1977         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
1978         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1979         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
1980         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1981         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1982         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
1983         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1984         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
1985         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
1986         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
1987         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1988         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1989         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1990         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
1991         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
1992         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
1993         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
1994         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
1995         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1996         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
1997         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
1998         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
1999         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2000         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2001         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2002         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2003         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
2004         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2005         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
2006         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
2007         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2008         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2009         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2010         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
2011         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2012         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
2013         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
2014         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
2015         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2016         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2017         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
2018         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
2019         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2020         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
2021         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
2022         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
2023         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2024         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
2025         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
2026         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
2027         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
2028         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2029         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
2030         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
2031         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2032         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
2033         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
2034         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
2035         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
2036         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2037         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2038         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2039         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2040         * sysdeps/ieee754/k_standard.c: Likewise.
2041         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
2042         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2043         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2044         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2045         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2046         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2047         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2048         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2049         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2050         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2051         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2052         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2053         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2054         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2055         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2056         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2057         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2058         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2059         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2060         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2061         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2062         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2063         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2064         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2065         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2066         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2067         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2068         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2069         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2070         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2071         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2072         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2073         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2074         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2075         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2076         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2077         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2078         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
2079         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2080         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2081         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2082         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2083         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2084         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2085         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2086         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2087         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2088         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2089         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2090         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2091         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2092         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2093         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2094         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2095         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2096         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2097         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
2098         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2099         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2100         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2101         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2102         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2103         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2104         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
2105         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2106         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2107         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
2108         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
2109         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
2110         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
2111         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
2112         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2113         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
2114         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
2115         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
2116         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
2117         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
2118         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
2119         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2120         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2121         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2122         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2123         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2124         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2125         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
2126         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2127         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2128         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2129         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2130         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2131         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
2132         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2133         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2134         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2135         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2136         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2137         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
2138         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2139         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2140         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
2141         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2142         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2143         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2144         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2145         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
2146         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2147         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2148         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2149         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
2150         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2151         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2152         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2153         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
2154         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2155         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
2156         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2157         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
2158         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2159         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2160         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2161         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2162         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
2163         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2164         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
2165         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2166         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
2167         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2168         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2169         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2170         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2171         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2172         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2173         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2174         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2175         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2176         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2177         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
2178         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2179         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2180         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
2181         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
2182         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2183         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
2184         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
2185         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2186         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2187         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2188         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2189         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2190         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
2191         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2192         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
2193         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2194         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2195         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
2196         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
2197         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2198         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2199         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2200         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2201         * sysdeps/ieee754/s_lib_version.c: Likewise.
2202         * sysdeps/ieee754/s_matherr.c: Likewise.
2203         * sysdeps/ieee754/s_signgam.c: Likewise.
2204         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2205         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2206         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
2207         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
2208         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
2209         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2210         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
2211         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
2212         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
2213         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
2214         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2215         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
2216         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2217         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2218         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
2219         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2220         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2221         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2222         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2223         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2224         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2226 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
2228         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
2229         * sunrpc/rpc_main.c: Likewise.
2230         * sunrpc/rpc_svcout.c: Likewise.
2232 2012-03-09  David S. Miller  <davem@davemloft.net>
2234         * include/math_private.h: New file.
2236 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
2238         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
2239         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
2240         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
2241         from <bits/socket_type.h>.
2242         (enum __socket_type): Don't define here.
2243         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
2244         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2245         bits/socket_type.h.
2247         [BZ #13566]
2248         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
2249         checking __USE_GNU.
2251         * Makerules ($(inst_includedir)/%.h): New rule.
2252         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
2253         (install-others): Remove variable setting.
2254         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
2256 2012-03-08  Richard Henderson  <rth@twiddle.net>
2258         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
2259         from macro to inline function; merge with the
2260         !__LIBC_INTERNAL_MATH_INLINES version.
2261         (__ieee754_sqrtf): Likewise.
2263         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
2264         to inline function.
2265         (__rintf, __floor, __floorf): Likewise.
2267         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
2268         macro to inline function.
2269         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
2271         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
2272         not <math/math_private.h>.
2274 2012-03-08  David S. Miller  <davem@davemloft.net>
2276         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
2277         copyright year.
2278         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2280 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
2282         * resolv/gai_misc.c (handle_requests): Fix struct timespec
2283         normalization.
2284         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
2285         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2287 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
2289         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
2290         be defined individually, they must be defined as a block.  Define
2291         S for printing a string instead of hidint the different by using a
2292         macro for adding the 'l'.
2293         * stdio-common/tst-fphex-wide.c: Adjust.
2295 2012-03-07  Marek Polacek  <polacek@redhat.com>
2297         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
2299 2012-03-08  Marek Polacek  <polacek@redhat.com>
2301         [BZ #13806]
2302         * stdio-common/Makefile (tests): Add tst-fphex-wide.
2303         * stdio-common/tst-fphex.c: Define a few macros to make the
2304         test reusable.  Use them.
2305         * stdio-common/tst-fphex-wide.c: New file.
2307 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
2309         [BZ #6911]
2310         * manual/macros.texi (gnusystems): New macro.
2311         (nongnusystems): Likewise.
2312         (gnulinuxhurdsystems): Likewise.
2313         (gnuhurdsystems): Likewise..
2314         (gnulinuxsystems): Likewise.
2315         * manual/charset.texi: Use new macros or @theglibc{} to refer to
2316         variants of the GNU system, not "GNU system".
2317         * manual/conf.texi: Likewise.
2318         * manual/errno.texi: Likewise.  Update example of errno macro
2319         expansion.
2320         * manual/filesys.texi: Likewise.
2321         (getumask): Document as specific to GNU/Hurd.
2322         * manual/install.texi: Likewise.  Reword some references to
2323         GNU/Linux.
2324         * manual/intro.texi: Likewise.
2325         * manual/io.texi: Likewise.
2326         (File Name Portability): Detail which constraints are inapplicable
2327         to all GNU systems and which are only inapplicable to GNU/Hurd.
2328         * manual/job.texi: Likewise.
2329         * manual/llio.texi: Likewise.
2330         (O_NOCTTY): Document as present on GNU/Linux.
2331         * manual/maint.texi: Likewise.
2332         * manual/memory.texi: Likewise.
2333         * manual/pattern.texi: Likewise.
2334         * manual/pipe.texi: Likewise.
2335         * manual/process.texi: Likewise.
2336         * manual/resource.texi: Likewise.
2337         (RUSAGE_CHILDREN): Remove statement about specifying a particular
2338         child on GNU/Hurd.
2339         * manual/setjmp.texi: Likewise.
2340         * manual/signal.texi: Likewise.
2341         * manual/startup.texi: Likewise.
2342         * manual/stdio.texi: Likewise.
2343         * manual/terminal.texi: Likewise.
2344         (ONLCR): Document as POSIX.
2345         (OXTABS): Document availability on GNU/Linux as XTABS.
2346         (ONOEOT): Document availability separately from other bits.
2347         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
2348         * manual/time.texi: Likewise.
2349         * manual/users.texi: Likewise.
2350         * INSTALL: Regenerated.
2351         * sysdeps/gnu/errlist.c: Regenerated.
2353         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
2354         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
2355         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
2356         puts.
2357         * configure: Regenerated.
2359 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
2361         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
2362         default includes instead of AC_HEADER_CHECK.
2363         * sysdeps/i386/configure: Regenerated.
2365         [BZ #10716]
2366         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
2367         * math/s_cacoshf.c (__cacoshf): Likewise.
2368         * math/s_cacoshl.c (__cacoshl): Likewise.
2369         * math/s_casinh.c (__casinh): Set signs of result from argument.
2370         * math/s_casinhf.c (__casinhf): Likewise.
2371         * math/s_casinhl.c (__casinhl): Likewise.
2372         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
2373         (casinh_test): Add more tests.
2374         * sysdeps/i386/fpu/libm-test-ulps: Update.
2375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2377 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
2379         * po/zh_TW.po: Update from translation team.
2381         * login/Makefile (distribute): Remove variable.
2382         * catgets/Makefile: Likewise.
2383         * mach/Makefile: Likewise.
2384         * malloc/Makefile: Likewise.
2385         * misc/Makefile: Likewise.
2386         * iconv/Makefile: Likewise.
2387         * nscd/Makefile: Likewise.
2388         * hurd/Makefile: Likewise.
2389         * manual/Makefile: Likewise.
2390         * locale/Makefile: Likewise.
2391         * intl/Makefile: Likewise.
2392         * conform/Makefile: Likewise.
2393         * nss/Makefile: Likewise.
2394         * time/Makefile: Likewise.
2395         * soft-fp/Makefile: Likewise.
2396         * dirent/Makefile: Likewise.
2397         * gmon/Makefile: Likewise.
2398         * po/Makefile: Likewise.
2399         * rt/Makefile: Likewise.
2400         * socket/Makefile: Likewise.
2401         * math/Makefile: Likewise.
2402         * signal/Makefile: Likewise.
2403         * debug/Makefile: Likewise.
2404         * elf/Makefile: Likewise.
2405         * timezone/Makefile: Likewise.
2406         * stdlib/Makefile: Likewise.
2407         * iconvdata/Makefile: Likewise.
2408         * sunrpc/Makefile: Likewise.
2409         * io/Makefile: Likewise.
2410         * argp/Makefile: Likewise.
2411         * inet/Makefile: Likewise.
2412         * hesiod/Makefile: Likewise.
2413         * grp/Makefile: Likewise.
2414         * csu/Makefile: Likewise.
2415         * wctype/Makefile: Likewise.
2416         * crypt/Makefile: Likewise.
2417         * libio/Makefile: Likewise.
2418         * string/Makefile: Likewise.
2419         * nis/Makefile: Likewise.
2420         * resolv/Makefile: Likewise.
2421         * stdio-common/Makefile: Likewise.
2422         * wcsmbs/Makefile: Likewise.
2423         * dlfcn/Makefile: Likewise.
2424         * posix/Makefile: Likewise.
2426         * timezone/Makefile: Don't install timezone files, just the programs
2427         and scripts.
2429 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
2431         * nss/databases.def: Add missing gshadow entry.
2433         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
2435 2012-03-06  Marek Polacek  <polacek@redhat.com>
2437         [BZ #13726]
2438         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
2439         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2440         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
2441         * stdio-common/tst-long-dbl-fphex.c: New file.
2443 2012-03-06  David S. Miller  <davem@davemloft.net>
2445         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2446         (set_obp_int): New function.
2447         (get_obp_int): New function.
2448         (__get_clockfreq_via_dev_openprom): Likewise.
2449         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
2450         Avoid unused variable warnings on 'val' and use builtin_expect.
2451         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
2452         __builtin_expect.
2453         (INLINE_CLONE_SYSCALL): Likewise.
2455 2012-03-05  David S. Miller  <davem@davemloft.net>
2457         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2459 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
2461         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2463         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2464         only for |x| >= 40.
2465         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2467 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
2469         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2470         Replace gettimeofday with __vdso_gettimeofday.
2472         * sysdeps/unix/sysv/linux/x86_64/init-first.c
2473         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2474         __vdso_clock_gettime and __vdso_getcpu.
2476         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2477         time with __vdso_time.
2479 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
2481         * manual/lang.texi (size_t): Note types to which size_t may be
2482         equivalent with the GNU C Library, but do not describe when
2483         differences between them are significant.
2485 2012-03-05  Andreas Jaeger  <aj@suse.de>
2487         * sysdeps/i386/fpu/libm-test-ulps: Update.
2489 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
2491         [BZ #3976]
2492         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2493         (__ieee754_pow): Save and restore rounding mode and use
2494         round-to-nearest for main computations.
2495         * math/libm-test.inc (pow_test_tonearest): New function.
2496         (pow_test_towardzero): Likewise.
2497         (pow_test_downward): Likewise.
2498         (pow_test_upward): Likewise.
2499         (main): Call the new functions.
2500         * sysdeps/i386/fpu/libm-test-ulps: Update.
2501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2503         [BZ #3976]
2504         * math/libm-test.inc (cosh_test_tonearest): New function.
2505         (cosh_test_towardzero): Likewise.
2506         (cosh_test_downward): Likewise.
2507         (cosh_test_upward): Likewise.
2508         (sinh_test_tonearest): Likewise.
2509         (sinh_test_towardzero): Likewise.
2510         (sinh_test_downward): Likewise.
2511         (sinh_test_upward): Likewise.
2512         (main): Call the new functions.
2513         * sysdeps/i386/fpu/libm-test-ulps: Update.
2514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2516 2012-03-05  Tom de Vries  <tom@codesourcery.com>
2518         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2519         default stack guard is set in last bytes.
2520         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2522 2012-03-05  Kees Cook  <keescook@chromium.org>
2524         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
2526         [BZ #13656]
2527         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2528         possibly allocate from heap instead of stack.
2529         * stdio-common/bug-vfprintf-nargs.c: New file.
2530         * stdio-common/Makefile (tests): Add nargs overflow test.
2532 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
2534         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2536 2012-03-03  Marek Polacek  <polacek@redhat.com>
2538         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2539         * math/math_private.h: Likewise.
2540         * stdlib/tst-strtod.c: Likewise.
2541         * sysdeps/i386/i486/bits/atomic.h: Likewise.
2542         * sysdeps/x86_64/bits/atomic.h: Likewise.
2544 2012-03-02  David S. Miller  <davem@davemloft.net>
2546         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2547         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2548         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2549         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2550         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2551         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2552         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2553         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2555 2012-03-02  Roland McGrath  <roland@hack.frob.com>
2557         [BZ #13792]
2558         * manual/examples/README: New file, says the example source files
2559         can be used under GPL>=2.
2560         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2561         line containing just "*/".
2562         * manual/examples/add.c: Add copyright header (GPL>=2).
2563         * manual/examples/argp-ex1.c: Likewise.
2564         * manual/examples/argp-ex2.c: Likewise.
2565         * manual/examples/argp-ex3.c: Likewise.
2566         * manual/examples/argp-ex4.c: Likewise.
2567         * manual/examples/atexit.c: Likewise.
2568         * manual/examples/db.c: Likewise.
2569         * manual/examples/dir.c: Likewise.
2570         * manual/examples/dir2.c: Likewise.
2571         * manual/examples/execinfo.c: Likewise.
2572         * manual/examples/filecli.c: Likewise.
2573         * manual/examples/filesrv.c: Likewise.
2574         * manual/examples/fmtmsgexpl.c: Likewise.
2575         * manual/examples/genpass.c: Likewise.
2576         * manual/examples/inetcli.c: Likewise.
2577         * manual/examples/inetsrv.c: Likewise.
2578         * manual/examples/isockad.c: Likewise.
2579         * manual/examples/longopt.c: Likewise.
2580         * manual/examples/memopen.c: Likewise.
2581         * manual/examples/memstrm.c: Likewise.
2582         * manual/examples/mkfsock.c: Likewise.
2583         * manual/examples/mkisock.c: Likewise.
2584         * manual/examples/mygetpass.c: Likewise.
2585         * manual/examples/pipe.c: Likewise.
2586         * manual/examples/popen.c: Likewise.
2587         * manual/examples/rprintf.c: Likewise.
2588         * manual/examples/search.c: Likewise.
2589         * manual/examples/select.c: Likewise.
2590         * manual/examples/setjmp.c: Likewise.
2591         * manual/examples/sigh1.c: Likewise.
2592         * manual/examples/sigusr.c: Likewise.
2593         * manual/examples/stpcpy.c: Likewise.
2594         * manual/examples/strdupa.c: Likewise.
2595         * manual/examples/strftim.c: Likewise.
2596         * manual/examples/strncat.c: Likewise.
2597         * manual/examples/subopt.c: Likewise.
2598         * manual/examples/swapcontext.c: Likewise.
2599         * manual/examples/termios.c: Likewise.
2600         * manual/examples/testopt.c: Likewise.
2601         * manual/examples/testpass.c: Likewise.
2602         * manual/examples/timeval_subtract.c: Likewise.
2604         [BZ #13792]
2605         * manual/time.texi (Elapsed Time): Move timeval_subtract example
2606         function to ...
2607         * manual/timeval_subtract.c.texi: ... here, new file.
2609 2012-03-02  David S. Miller  <davem@davemloft.net>
2611         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2613 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
2615         [BZ #3976]
2616         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2617         (__sin): Save and restore rounding mode and use round-to-nearest
2618         for all computations.
2619         (__cos): Save and restore rounding mode and use round-to-nearest
2620         for all computations.
2621         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2622         <fenv.h>.
2623         (tan): Save and restore rounding mode and use round-to-nearest for
2624         all computations.
2625         * math/libm-test.inc (cos_test_tonearest): New function.
2626         (cos_test_towardzero): Likewise.
2627         (cos_test_downward): Likewise.
2628         (cos_test_upward): Likewise.
2629         (sin_test_tonearest): Likewise.
2630         (sin_test_towardzero): Likewise.
2631         (sin_test_downward): Likewise.
2632         (sin_test_upward): Likewise.
2633         (tan_test_tonearest): Likewise.
2634         (tan_test_towardzero): Likewise.
2635         (tan_test_downward): Likewise.
2636         (tan_test_upward): Likewise.
2637         (main): Call the new functions.
2638         * sysdeps/i386/fpu/libm-test-ulps: Update.
2639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2641         [BZ #10135]
2642         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2643         small n, then large n, before computing and testing k+n.
2644         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2645         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2646         Likewise.
2647         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2648         Likewise.
2649         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2650         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2651         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2652         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2653         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2654         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2655         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2656         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2657         * math/libm-test.inc (scalbn_test): Add more tests.
2658         (scalbln_test): Likewise.
2660         * manual/filesys.texi (mode_t): Describe constraints on size and
2661         signedness, not exact equivalence to a particular type.
2662         (ino_t): Likewise.
2663         (ino64_t): Likewise.
2664         (dev_t): Likewise.
2665         (nlink_t): Likewise.
2666         (blkcnt_t): Likewise.
2667         (blkcnt64_t): Likewise.
2668         * manual/llio.texi (off_t): Likewise.
2670         [BZ #3976]
2671         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2672         (__ieee754_exp): Save and restore rounding mode and use
2673         round-to-nearest for all computations.
2674         * math/libm-test.inc (exp_test_tonearest): New function.
2675         (exp_test_towardzero): Likewise.
2676         (exp_test_downward): Likewise.
2677         (exp_test_upward): Likewise.
2678         (main): Call the new functions.
2679         * sysdeps/i386/fpu/libm-test-ulps: Update.
2680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2682 2012-03-01  Chris Demetriou  <cgd@google.com>
2684         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2685         have predictable order.
2687 2012-03-01  David S. Miller  <davem@davemloft.net>
2689         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2691         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2692         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2693         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2694         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2696         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2697         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2698         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2699         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2700         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2701         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2702         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2703         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2704         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2706         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2708         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2709         * sysdeps/sparc/fpu/libm-test-ulps: to here.
2710         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2712         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2713         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2714         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2715         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2716         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2717         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2718         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2719         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2720         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2721         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2722         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2723         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2724         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2725         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2726         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2727         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2728         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
2729         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
2730         * sysdeps/sparc/elf/configure: Regenerated.
2732 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
2734         * configure.in (AS, LD): Require binutils 2.20 or later.
2735         * configure: Regenerated.
2736         * manual/install.texi (Tools for Compilation): Give binutils 2.20
2737         as required minimum version.
2738         * INSTALL: Regenerated.
2740         [BZ #2541]
2741         [BZ #4108]
2742         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
2743         before squaring exponent.
2744         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
2745         bottom long double and 27 bits of top long double before squaring
2746         exponent.
2747         * math/libm-test.inc (erfc_test): Add more tests.
2748         * sysdeps/i386/fpu/libm-test-ulps: Update.
2749         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2752 2012-03-01  Kai Tietz  <ktietz@redhat.com>
2754         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
2755         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
2756         containing bit-fields.
2757         * soft-fp/extended.h (_FP_UNION_E): Likewise.
2758         * soft-fp/single.h (_FP_UNION_S): Likewise.
2759         * soft-fp/double.h (_FP_UNION_D): Likewise.
2761 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
2763         [BZ #13786]
2764         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
2765         not include ../strcmp.S.
2766         [USE_AS_STRNCASECMP_L]: Likewise.
2767         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
2768         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
2769         * sysdeps/i386/i686/multiarch/strncase_l-c.c
2770         (__strncasecmp_l_ia32): Define as alias to
2771         __strncasecmp_l_nonascii.
2773         [BZ #5794]
2774         * math/libm-test.inc (expm1_test): Add test for bug 5794.
2775         * sysdeps/i386/fpu/libm-test-ulps: Update.
2776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2778         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
2779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2781 2012-02-29  Jeff Law  <law@redhat.com>
2783         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
2784         out of bounds read.
2786 2012-02-29  Marek Polacek  <polacek@redhat.com>
2788         [BZ #13706]
2789         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
2790         * elf/Makefile: Add rules to run tst-unused-dep.out.
2792 2012-02-28  David S. Miller  <davem@davemloft.net>
2794         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
2795         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
2796         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
2797         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
2798         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
2799         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
2801 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
2803         * math/libm-test.inc (llround_test): Move one test from
2804         lround_test.  Use TEST_f_L in moved test.
2805         (lround_test): Move misplaced test to llround_test.  Add testcase
2806         from bug 2561.
2808 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
2810         * sysdeps/x86_64/fpu/e_expf.S: New file.
2811         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
2813 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
2815         [BZ #13637]
2816         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
2817         of remain_len that may cause incomplete multi-byte character and
2818         false match.
2819         * posix/bug-regex33.c: New file.
2820         * posix/Makefile (tests): Add bug-regex33.
2822 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
2824         * manual/macros.texi: New file.
2825         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
2826         * manual/libc.texinfo: Include macros.texi.
2827         * manual/creatute.texi: Likewise.
2828         * manual/install.texi: Likewise.
2829         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
2830         @glibcadj{} in references to the GNU C Library.
2831         * manual/charset.texi: Likewise.
2832         * manual/conf.texi: Likewise.
2833         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
2834         when not using those macros.
2835         * manual/creature.texi: Likewise.
2836         * manual/crypt.texi: Likewise.
2837         * manual/errno.texi: Likewise.
2838         * manual/filesys.texi: Likewise.
2839         * manual/header.texi: Likewise.
2840         * manual/install.texi: Likewise.
2841         * manual/intro.texi: Likewise.
2842         * manual/io.texi: Likewise.
2843         * manual/job.texi: Likewise.
2844         * manual/lang.texi: Likewise.
2845         * manual/libc.texiinfo: Likewise.
2846         * manual/llio.texi: Likewise.
2847         * manual/locale.texi: Likewise.
2848         * manual/maint.texi: Likewise.
2849         * manual/math.texi: Likewise.
2850         * manual/memory.texi: Likewise.
2851         * manual/message.texi: Likewise.
2852         * manual/nss.texi: Likewise.
2853         * manual/pattern.texi: Likewise.
2854         * manual/process.texi: Likewise.
2855         * manual/resource.texi: Likewise.
2856         * manual/search.texi: Likewise.
2857         * manual/setjmp.texi: Likewise.
2858         * manual/signal.texi: Likewise.
2859         * manual/socket.texi: Likewise.
2860         * manual/startup.texi: Likewise.
2861         * manual/stdio.texi: Likewise.
2862         * manual/string.texi: Likewise.
2863         * manual/sysinfo.texi: Likewise.
2864         * manual/syslog.texi: Likewise.
2865         * manual/terminal.texi: Likewise.
2866         * manual/time.texi: Likewise.
2867         * manual/users.texi: Likewise.
2868         * INSTALL: Regenerated.
2869         * NOTES: Regenerated.
2870         * sysdeps/gnu/errlist.c: Regenerated.
2872 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
2874         * include/dirent.h: Include <dirstream.h> before
2875         <dirent/dirent.h>.
2877 2012-02-28  David S. Miller  <davem@davemloft.net>
2879         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
2880         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
2881         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
2882         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
2884 2012-02-27  David S. Miller  <davem@davemloft.net>
2886         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
2887         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
2888         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
2889         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
2891         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
2892         frame pointer instead of stack pointer relative arg slot.
2893         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2894         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2895         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2897 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
2899         [BZ #3992]
2900         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
2902 2012-02-27  David S. Miller  <davem@davemloft.net>
2904         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
2905         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2906         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2907         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
2908         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2909         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2910         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
2911         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
2913 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
2915         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
2916         later.  Allow versions 5-9.
2917         * configure: Regenerated.
2918         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
2919         required minimum version and 4.6 as recommended version.  Do not
2920         mention bugs in GCC 2.7 and 2.8.
2921         * INSTALL: Regenerated.
2923 2012-02-27  David S. Miller  <davem@davemloft.net>
2925         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
2926         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
2927         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
2928         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
2929         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
2930         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
2931         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
2932         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
2934         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
2935         manipulate bits before adding and subtracting TWO112[sx].
2936         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2938 2012-02-27  Roland McGrath  <roland@hack.frob.com>
2940         [BZ #13775]
2941         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
2942         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
2943         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
2944         being in POSIX, because they are in 1003.1-2008.
2946         * rt/tst-aio.c: Include <fcntl.h>.
2947         * rt/tst-aio7.c: Likewise.
2948         * rt/tst-aio64.c: Likewise.
2950         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
2952 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
2954         * manual/install.texi (--with-headers): Describe headers as
2955         interface headers, not private headers.
2956         (Specific advice for GNU/Linux systems): Describe use of headers
2957         from "make headers_install", not private headers from older
2958         kernels.
2959         * INSTALL: Regenerated.
2960         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
2961         Change to 2.6.19.
2962         * sysdeps/unix/sysv/linux/configure: Regenerated.
2964         * manual/llio.texi (fclean): Remove documentation.
2966         * manual/Makefile (libc-texi-generated): New variable.  Include
2967         version.texi.
2968         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
2969         $(libc-texi-generated), not duplicated list of files.
2970         (version.texi, stamp-version): New rules.
2971         (realclean): Remove $(libc-texi-generated), not individual files
2972         from that list.  Do not remove dir-add.texinfo.
2973         * manual/libc.texinfo: Comment out uses of edition numbers and
2974         references to printed manual.  Remove last-updated dates.
2975         (EDITION): Comment out.
2976         (ISBN): Likewise.
2977         (VERSION, UPDATED): Remove.
2978         (version.texi): Include.
2980 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
2982         * sysdeps/posix/spawni.c: Include <signal.h>.
2983         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
2984         * sysdeps/pthread/aio_fsync.c: Likewise.
2986 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
2988         * conform/Makefile (tests): Run only when not cross-compiling and
2989         when fast-check is not defined.
2991         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
2992         * conform/data/limits.h-data: Fixes for POSIX2008.
2993         * conform/run-conformtest.sh: Run all tests.
2994         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
2995         headers.
2996         * include/bits/dlfcn.h: Likewise.
2997         * include/langinfo.h: Likewise.
2998         * include/monetary.h: Likewise.
2999         * include/sys/poll.h: Likewise.
3001         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
3002         for __USE_GNU.
3003         * posix/spawn.h: Define __need_sigset_t.
3004         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
3005         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
3006         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
3007         to get sigevent_t only.
3008         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
3009         only for __USE_GNU.
3010         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3011         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
3012         process_vm_writev only for __USE_GNU.
3013         * termios/termios.h: Declare tcgetsid also for POSIX2008.
3015         * conform/Makefile: For now ignore errors from run-conformtest.
3016         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
3017         POSIX to avoid namespace pollution.  Don't prepend headers.
3018         * conform/data/aio.h-data: Fixes for POSIX testing.
3019         * conform/data/fcntl.h-data: Likewise.
3020         * conform/data/glob.h-data: Likewise.
3021         * conform/data/grp.h-data: Likewise.
3022         * conform/data/pthread.h-data: Likewise.
3023         * conform/data/pwd.h-data: Likewise.
3024         * conform/data/signal.h-data: Likewise.
3025         * conform/data/spawn.h-data: Likewise.
3026         * conform/data/stdio.h-data: Likewise.
3027         * conform/data/stdlib.h-data: Likewise.
3028         * conform/data/stropts.h-data: Likewise.
3029         * conform/data/sys/mman.h-data: Likewise.
3030         * conform/data/sys/stat.h-data: Likewise.
3031         * conform/data/sys/types.h-data: Likewise.
3032         * conform/data/sys/wait.h-data: Likewise.
3033         * conform/data/time.h-data: Likewise.
3034         * conform/data/unistd.h-data: Likewise.
3035         * conform/data/utime.h-data: Likewise.
3037         * io/sys/stat.h: fchmod was always in POSIX.
3038         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
3039         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
3040         * rt/aio.h: Define __need_timespec before including <time.h>.
3041         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
3042         struct.  Add forward declaration of pthread_attr_t and use it in
3043         sigevent.
3044         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
3045         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3046         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
3047         always remove CLK_TCK definition.
3049 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
3051         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
3053 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
3055         * conform/run-conformtest.sh: New file.
3056         * conform/Makefile: Run run-conformtest for tests.
3057         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
3058         support.
3060         * conform/data/uchar.h-data: New file.
3061         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
3062         * conform/data/arpa/inet.h-data: Likewise.
3063         * conform/data/assert.h-data: Likewise.
3064         * conform/data/complex.h-data: Likewise.
3065         * conform/data/cpio.h-data: Likewise.
3066         * conform/data/ctype.h-data: Likewise.
3067         * conform/data/dirent.h-data: Likewise.
3068         * conform/data/dlfcn.h-data: Likewise.
3069         * conform/data/errno.h-data: Likewise.
3070         * conform/data/fcntl.h-data: Likewise.
3071         * conform/data/float.h-data: Likewise.
3072         * conform/data/fmtmsg.h-data: Likewise.
3073         * conform/data/fnmatch.h-data: Likewise.
3074         * conform/data/ftw.h-data: Likewise.
3075         * conform/data/glob.h-data: Likewise.
3076         * conform/data/grp.h-data: Likewise.
3077         * conform/data/iconv.h-data: Likewise.
3078         * conform/data/inttypes.h-data: Likewise.
3079         * conform/data/langinfo.h-data: Likewise.
3080         * conform/data/libgen.h-data: Likewise.
3081         * conform/data/limits.h-data: Likewise.
3082         * conform/data/locale.h-data: Likewise.
3083         * conform/data/math.h-data: Likewise.
3084         * conform/data/monetary.h-data: Likewise.
3085         * conform/data/mqueue.h-data: Likewise.
3086         * conform/data/ndbm.h-data: Likewise.
3087         * conform/data/net/if.h-data: Likewise.
3088         * conform/data/netdb.h-data: Likewise.
3089         * conform/data/netinet/in.h-data: Likewise.
3090         * conform/data/nl_types.h-data: Likewise.
3091         * conform/data/poll.h-data: Likewise.
3092         * conform/data/pthread.h-data: Likewise.
3093         * conform/data/pwd.h-data: Likewise.
3094         * conform/data/regex.h-data: Likewise.
3095         * conform/data/sched.h-data: Likewise.
3096         * conform/data/search.h-data: Likewise.
3097         * conform/data/semaphore.h-data: Likewise.
3098         * conform/data/setjmp.h-data: Likewise.
3099         * conform/data/signal.h-data: Likewise.
3100         * conform/data/spawn.h-data: Likewise.
3101         * conform/data/stdarg.h-data: Likewise.
3102         * conform/data/stdio.h-data: Likewise.
3103         * conform/data/stdlib.h-data: Likewise.
3104         * conform/data/string.h-data: Likewise.
3105         * conform/data/strings.h-data: Likewise.
3106         * conform/data/stropts.h-data: Likewise.
3107         * conform/data/sys/ipc.h-data: Likewise.
3108         * conform/data/sys/mman.h-data: Likewise.
3109         * conform/data/sys/msg.h-data: Likewise.
3110         * conform/data/sys/resource.h-data: Likewise.
3111         * conform/data/sys/select.h-data: Likewise.
3112         * conform/data/sys/sem.h-data: Likewise.
3113         * conform/data/sys/shm.h-data: Likewise.
3114         * conform/data/sys/socket.h-data: Likewise.
3115         * conform/data/sys/stat.h-data: Likewise.
3116         * conform/data/sys/statvfs.h-data: Likewise.
3117         * conform/data/sys/time.h-data: Likewise.
3118         * conform/data/sys/timeb.h-data: Likewise.
3119         * conform/data/sys/times.h-data: Likewise.
3120         * conform/data/sys/types.h-data: Likewise.
3121         * conform/data/sys/uio.h-data: Likewise.
3122         * conform/data/sys/un.h-data: Likewise.
3123         * conform/data/sys/utsname.h-data: Likewise.
3124         * conform/data/sys/wait.h-data: Likewise.
3125         * conform/data/syslog.h-data: Likewise.
3126         * conform/data/tar.h-data: Likewise.
3127         * conform/data/termios.h-data: Likewise.
3128         * conform/data/utime.h-data: Likewise.
3129         * conform/data/utmpx.h-data: Likewise.
3130         * conform/data/varargs.h-data: Likewise.
3131         * conform/data/wchar.h-data: Likewise.
3132         * conform/data/wctype.h-data: Likewise.
3133         * conform/data/wordexp.h-data: Likewise.
3135         * include/stropts.h: New file.
3136         * include/uchar.h: New file.
3137         * include/aio.h: Changes to allow conformtest.pl to use the headers.
3138         * include/assert.h: Likewise.
3139         * include/ctype.h: Likewise.
3140         * include/dirent.h: Likewise.
3141         * include/dlfcn.h: Likewise.
3142         * include/fcntl.h: Likewise.
3143         * include/fnmatch.h: Likewise.
3144         * include/glob.h: Likewise.
3145         * include/grp.h: Likewise.
3146         * include/libio.h: Likewise.
3147         * include/locale.h: Likewise.
3148         * include/math.h: Likewise.
3149         * include/net/if.h: Likewise.
3150         * include/netdb.h: Likewise.
3151         * include/netinet/in.h: Likewise.
3152         * include/pthread.h: Likewise.
3153         * include/pwd.h: Likewise.
3154         * include/regex.h: Likewise.
3155         * include/sched.h: Likewise.
3156         * include/search.h: Likewise.
3157         * include/setjmp.h: Likewise.
3158         * include/signal.h: Likewise.
3159         * include/stdio.h: Likewise.
3160         * include/stdlib.h: Likewise.
3161         * include/string.h: Likewise.
3162         * include/sys/cdefs.h: Likewise.
3163         * include/sys/mman.h: Likewise.
3164         * include/sys/msg.h: Likewise.
3165         * include/sys/resource.h: Likewise.
3166         * include/sys/select.h: Likewise.
3167         * include/sys/socket.h: Likewise.
3168         * include/sys/stat.h: Likewise.
3169         * include/sys/statvfs.h: Likewise.
3170         * include/sys/time.h: Likewise.
3171         * include/sys/times.h: Likewise.
3172         * include/sys/uio.h: Likewise.
3173         * include/sys/utsname.h: Likewise.
3174         * include/sys/wait.h: Likewise.
3175         * include/termios.h: Likewise.
3176         * include/time.h: Likewise.
3177         * include/ulimit.h: Likewise.
3178         * include/unistd.h: Likewise.
3179         * include/utime.h: Likewise.
3180         * include/wchar.h: Likewise.
3181         * include/wctype.h: Likewise.
3182         * include/wordexp.h: Likewise.
3184         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
3186         * time/time.h: TIME_UTC must be a macro.
3187         Make timespec_get available for ISO C11 only as well.
3189 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
3191         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
3192         Reported by Peng Haitao <penght@cn.fujitsu.com>.
3194 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
3196         * configure.in: Use -o not -a in test for unsupported multi-arch.
3198 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
3200         * manual/texinfo.tex: Update to version 2012-01-19.16.
3202 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
3204         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
3206 2012-02-24  Roland McGrath  <roland@hack.frob.com>
3208         [BZ #13738]
3209         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
3210         * manual/fdl-1.3.texi: New file.
3211         * manual/fdl-1.1.texi: File removed.
3213         [BZ #13738]
3214         * manual/libc.texinfo (FDL_VERSION): New @set.
3215         Use it for mention of FDL in cover text.
3216         (Documentation License): Use it in @include file name.
3218 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3219             Roland McGrath  <roland@hack.frob.com>
3221         [BZ #5461]
3222         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
3223         not LONG_LONG_MAX and LONG_LONG_MIN.
3224         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
3225         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
3226         name.
3227         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
3229 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3231         [BZ #2547]
3232         [BZ #11365]
3233         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
3234         manipulate bits before adding and subtracting TWO23[sx].
3235         * math/libm-test.inc (nearbyint_test): Add more tests.
3237 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3239         [BZ #2548]
3240         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
3241         bits before adding and subtracting TWO23[sx].
3242         * math/libm-test.inc (rint_test): Add more tests.
3243         (rint_test_tonearest): Likewise.
3244         (rint_test_towardzero): Likewise.
3245         (rint_test_downward): Likewise.
3246         (rint_test_upward: Likewise.
3248 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3250         [BZ #10110]
3251         * include/stdc-predef.h: New file.  Extracted from features.h.
3252         * include/features.h: Include stdc-predef.h.
3253         * Makefile (headers): Add stdc-predef.h.
3254         * CONFORMANCE (Compiler limitations): Update.
3256 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3258         * manual/libc.texinfo (VERSION, UPDATED): Revert.
3260 2012-02-21  David S. Miller  <davem@davemloft.net>
3262         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
3263         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3265 2012-02-20  David S. Miller  <davem@davemloft.net>
3267         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
3268         using a normal save/restore sequence, rather than allocating a
3269         dummy stack frame just to store a frame pointer and restore.
3270         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3272 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
3274         * manual/install.texi: Fix stray word in line-wrapped comment.
3276 2012-02-20  David S. Miller  <davem@davemloft.net>
3278         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
3279         both binutils and gcc support GOTDATA.
3281         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
3282         "rd %pc" in the PIC register setup sequences.
3284         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
3285         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3286         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3287         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3288         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3289         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3290         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3291         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3292         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
3293         (SYSCALL_ERROR_HANDLER): Likewise.
3294         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3295         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3296         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
3297         (SYSCALL_ERROR_HANDLER): Likewise.
3299         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
3300         (HAVE_GCC_GOTDATA): New.
3301         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
3302         relocation support in both binutils and gcc.
3303         * sysdeps/sparc/elf/configure: Regenerate.
3305         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
3306         * sysdeps/sparc/sparc32/elf/configure: Delete.
3307         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
3308         * sysdeps/sparc/sparc64/elf/configure: Delete.
3309         * sysdeps/sparc/elf/configure.in: New file.
3310         * sysdeps/sparc/elf/configure: Generate.
3312         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
3313         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
3314         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
3315         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
3316         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
3318 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
3320         * manual/install.texi: Do not mention specific glibc version
3321         numbers.
3322         * manual/libc.texinfo (VERSION, UPDATED): Update.
3323         (@copying): Use @copyright{} and range of years.
3325 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
3327         [BZ #13695]
3328         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
3329         [crti.S not in sysdirs] (generated): Do not append.
3330         [crti.S not in sysdirs] (omit-deps): Likewise.
3331         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
3332         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
3333         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
3334         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
3335         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
3336         Likewise.
3337         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
3338         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
3339         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
3340         * csu/defs.awk: Remove file.
3341         * sysdeps/generic/initfini.c: Likewise.
3342         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
3343         variable.
3344         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
3345         Likewise.
3347 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
3349         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
3350         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
3351         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
3352         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
3353         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3354         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
3355         <bits/epoll.h>.
3356         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
3357         (__EPOLL_PACKED): Define to empty if not defined by
3358         <bits/epoll.h>.
3359         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
3360         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3361         bits/epoll.h.
3363 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
3365         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
3366         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
3367         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
3368         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
3369         <bits/timerfd.h>.
3370         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
3371         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3372         bits/timerfd.h.
3374 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
3376         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
3377         in C locale.
3378         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3379         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3380         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3383 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
3385         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3386         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3388 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
3390         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
3391         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
3392         defined.
3393         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
3394         Likewise.
3395         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
3396         entry for 2.16.
3398 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
3400         * math/w_acos.c: Use non-signaling floating-point comparisons.
3401         * math/w_acosf.c: Likewise.
3402         * math/w_acosh.c: Likewise.
3403         * math/w_acoshf.c: Likewise.
3404         * math/w_acoshl.c: Likewise.
3405         * math/w_acosl.c: Likewise.
3406         * math/w_asin.c: Likewise.
3407         * math/w_asinf.c: Likewise.
3408         * math/w_asinl.c: Likewise.
3409         * math/w_atanh.c: Likewise.
3410         * math/w_atanhf.c: Likewise.
3411         * math/w_atanhl.c: Likewise.
3412         * math/w_exp2.c: Likewise.
3413         * math/w_exp2f.c: Likewise.
3414         * math/w_exp2l.c: Likewise.
3415         * math/w_j0.c: Likewise.
3416         * math/w_j0f.c: Likewise.
3417         * math/w_j0l.c: Likewise.
3418         * math/w_j1.c: Likewise.
3419         * math/w_j1f.c: Likewise.
3420         * math/w_j1l.c: Likewise.
3421         * math/w_jn.c: Likewise.
3422         * math/w_jnf.c: Likewise.
3423         * math/w_log.c: Likewise.
3424         * math/w_log10.c: Likewise.
3425         * math/w_log10f.c: Likewise.
3426         * math/w_log10l.c: Likewise.
3427         * math/w_log2.c: Likewise.
3428         * math/w_log2f.c: Likewise.
3429         * math/w_log2l.c: Likewise.
3430         * math/w_logf.c: Likewise.
3431         * math/w_logl.c: Likewise.
3432         * math/w_sqrt.c: Likewise.
3433         * math/w_sqrtf.c: Likewise.
3434         * math/w_sqrtl.c: Likewise.
3435         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3436         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3437         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3438         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3439         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3441 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
3443         [BZ #9739]
3444         * manual/string.texi (strnlen): Use correct parameter name in
3445         equivalent expression.
3447 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
3449         [BZ #11174]
3450         * manual/users.texi (seteuid): Consistently use neweuid for
3451         argument name.
3453 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
3455         [BZ #13704]
3456         * manual/nss.texi (Services in the NSS configuration): Correct
3457         list of services in example configuration file.
3459 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
3461         [BZ #11322]
3462         * manual/arith.texi: Remove statements about negative zero
3463         behaving identically to zero.
3465 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
3467         [BZ #5993]
3468         * manual/install.texi: Do not document upgrading from libc5.
3470 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
3472         [BZ #4596]
3473         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3475 2012-02-18  David S. Miller  <davem@davemloft.net>
3477         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3478         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3479         %o7 across the call.
3480         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3481         instead.
3482         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3483         SETUP_PIC_REG_LEAF.
3484         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3485         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3486         * sysdeps/sparc/crtn.S: Likewise.
3488 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
3490         * aout/Makefile: Remove.
3492 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
3494         [BZ #13058]
3495         * manual/examples/argp-ex1.c (main): Format definition in GNU
3496         style.
3497         * manual/examples/argp-ex2.c (main): Likewise.
3498         * manual/examples/argp-ex3.c (main): Likewise.
3499         * manual/examples/argp-ex4.c (main): Likewise.
3500         * manual/examples/longopt.c (main): Use new-style prototype
3501         definition.
3502         * manual/examples/strncat.c (main): Specify return type and use
3503         (void) for arguments.
3504         * manual/examples/subopt.c (main): Use char **argv argument.
3506 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
3508         [BZ #5077]
3509         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3510         rounding modes.
3512 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
3514         [BZ #6907]
3515         * manual/string.texi (strchr): Change when strchrnul is
3516         recommended.
3518 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
3520         [BZ #174]
3521         * manual/locale.texi (setlocale): Document LOCPATH.
3523 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
3525         [BZ #10210]
3526         * manual/process.texi (execle): Move @dots{} before last argument.
3528 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
3530         [BZ #12047]
3531         * manual/charset.texi (Generic Charset Conversion): Fix typo
3532         (LC_TYPE -> LC_CTYPE).
3534 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
3536         [BZ #5805]
3537         * manual/arith.texi (scalbn): Use @var{} on parameter names.
3538         (scalbnf): Likewise.
3539         (scalbnl): Likewise.
3540         (scalbln): Likewise.
3541         (scalblnf): Likewise.
3542         (scalblnl): Likewise.
3543         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3544         (vwarnx): Likewise.
3545         (verr): Likewise.
3546         (verrx): Likewise.
3547         * manual/filesys.texi (telldir): Use braces around return type.
3548         * manual/llio.texi (mmap): Add space after comma.
3549         (mmap64): Likewise.
3550         * manual/math.texi (jn): Use @var{} on parameter names.
3551         (jnf): Likewise.
3552         (jnl): Likewise.
3553         (yn): Likewise.
3554         (ynf): Likewise.
3555         (ynl): Likewise.
3556         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3557         line.
3558         * manual/resource.texi (ulimit): Use @dots{} instead of literal
3559         "...".
3560         (sched_get_priority_min): Remove semicolon on @deftypefun line.
3561         (sched_get_priority_max): Likewise.
3562         * manual/signal.texi (sigvec): Add space after comma.
3563         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3564         names.
3565         (if_indextoname): Likewise.
3566         (if_freenameindex): Likewise.
3567         (sendto): Use ',' instead of '.' in prototype.
3568         * manual/startup.texi (syscall): Use @dots{} instead of literal
3569         "...".
3570         * manual/stdio.texi (__fpending): Separate initial words of
3571         paragraph from @deftypefun line.
3572         * manual/syslog.texi (syslog): Use @dots{} instead of literal
3573         "...".
3574         (vsyslog): Use @var{} on parameter names.
3575         * manual/terminal.texi (stty): Use @var{} on parameter names.
3576         * manual/users.texi (getutmp): Use @var{} on parameter names.
3577         (getutmpx): Likewise.
3579 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
3581         [BZ #6884]
3582         * manual/stdio.texi (fopen): Fix typos in description of
3583         ",ccs=STRING".
3585 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
3587         [BZ #4026]
3588         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3589         get clock_id definition.
3591 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
3593         [BZ #4822]
3594         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3595         (madvise): Cast every argument to void on its own.
3597 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
3599         [BZ #9902]
3600         * manual/startup.texi (Exit Status): Fix typo.
3602 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
3604         [BZ #10140]
3605         * manual/examples/argp-ex1.c: Include <stdlib.h>.
3606         * manual/examples/argp-ex2.c: Likewise.
3607         * manual/examples/argp-ex3.c: Likewise.
3609 2012-02-16  Richard Henderson  <rth@redhat.com>
3611         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3612         * sysdeps/s390/s390-32/initfini.c: Remove.
3613         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3614         * sysdeps/s390/s390-64/initfini.c: Remove.
3616 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3618         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3619         compiler output for sysdeps/generic/initfini.c.
3620         * sysdeps/sh/elf/initfini.c: Remove file.
3622 2012-02-16  David S. Miller  <davem@davemloft.net>
3624         [BZ #11494]
3625         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3627         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3628         * sysdeps/sparc/crti.S: New file.
3629         * sysdeps/sparc/crtn.S: New file.
3630         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3631         * sysdeps/sparc/sparc64/Makefile: Likewise.
3633 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
3635         [BZ #3335]
3636         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3638 2012-02-15  Roland McGrath  <roland@hack.frob.com>
3640         [BZ #4822]
3641         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3643         * mach/devstream.c (cookie_io_functions_t): Macro removed.
3644         (write, read, close): Likewise.
3645         Patch by Aurelien Jarno <aurelien@aurel32.net>.
3647 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
3649         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3650         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3651         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3652         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3653         <bits/signalfd.h>.
3654         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3655         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3656         bits/signalfd.h.
3658 2012-02-14  Marek Polacek  <polacek@redhat.com>
3660         * sysdeps/x86_64/crti.S: New file.
3661         * sysdeps/x86_64/crtn.S: New file.
3662         * sysdeps/x86_64/elf/initfini.c: Remove file.
3664 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
3666         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3667         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3668         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3669         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3670         <bits/inotify.h>.
3671         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3672         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3673         bits/inotify.h.
3675 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
3677         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3678         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3679         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3680         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3681         <bits/eventfd.h>.
3682         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3683         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3684         bits/eventfd.h.
3686 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
3688         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3689         __feraiseexcept instead of feraiseexcept.
3691         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3692         nanosleep invocations.
3693         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3694         strings, and add error checking for a nanosleep invocations.
3696 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
3698         Replace FSF snail mail address with URLs, as per GNU coding standards.
3699         Most of the snail mail addresses were wrong anyway, and omitting
3700         them makes the source code easier to maintain.  Almost all of the
3701         changes are to license notices and to locale LC_IDENTIFICATION
3702         addresses, except for this one:
3703         * manual/libc.texinfo: In "Published by", give the FSF's URL,
3704         not its snail mail address.
3706 2012-02-09  Richard Henderson  <rth@twiddle.net>
3708         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3709         of kernel-features.h.
3711         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3713 2012-02-08  Marek Polacek  <polacek@redhat.com>
3715         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
3716         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
3717         * sysdeps/gnu/_G_config.h: Likewise.
3718         * sysdeps/generic/_G_config.h: Likewise.
3720 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
3722         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
3723         tests.
3724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3726         * sysdeps/powerpc/powerpc32/crti.S: New file.
3727         * sysdeps/powerpc/powerpc32/crtn.S: New file.
3728         * sysdeps/powerpc/powerpc64/crti.S: New file.
3729         * sysdeps/powerpc/powerpc64/crtn.S: New file.
3731         * Makeconfig (have-initfini): Don't set.
3732         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
3733         * configure.in (nopic_initfini): Don't substitute.
3734         * config.h.in (HAVE_INITFINI): Don't #undef.
3735         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
3736         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
3738 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
3740         Support crti.S and crtn.S provided directly by architectures.
3741         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
3742         [crti.S in sysdirs] (omit-deps): Likewise.
3743         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
3744         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
3745         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
3746         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
3747         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
3748         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
3749         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
3750         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
3751         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
3752         compiler output for sysdeps/generic/initfini.c.
3753         * sysdeps/i386/elf/Makefile: Remove file.
3754         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
3756 2012-02-07  Marek Polacek  <polacek@redhat.com>
3758         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
3759         * sysdeps/gnu/_G_config.h: Likewise.
3760         * sysdeps/mach/hurd/_G_config.h: Likewise.
3762 2012-02-07  Marek Polacek  <polacek@redhat.com>
3764         * math/Makefile (tests): Add tst-CMPLX2.
3765         * math/tst-CMPLX2.c: New file.
3767 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
3769         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3771         * math/libm-test.inc (jn_test): Add missing L suffix.
3773 2012-02-06  Marek Polacek  <polacek@redhat.com>
3775         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
3776         * sysdeps/i386/fpu/e_powf.S: Likewise.
3777         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3778         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3779         * sysdeps/i386/fpu/e_acosh.S: Likewise.
3780         * sysdeps/i386/fpu/e_pow.S: Likewise.
3781         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3782         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3783         * sysdeps/i386/fpu/s_expm1.S: Likewise.
3784         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3785         * sysdeps/i386/fpu/e_log2.S: Likewise.
3786         * sysdeps/i386/fpu/e_log2l.S: Likewise.
3787         * sysdeps/i386/fpu/e_scalb.S: Likewise.
3788         * sysdeps/i386/fpu/e_powl.S: Likewise.
3789         * sysdeps/i386/fpu/s_log1p.S: Likewise.
3790         * sysdeps/i386/fpu/e_log10f.S: Likewise.
3791         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3792         * sysdeps/i386/fpu/e_logl.S: Likewise.
3793         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3794         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
3795         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3796         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3797         * sysdeps/i386/fpu/e_log2f.S: Likewise.
3798         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3799         * sysdeps/i386/fpu/e_log.S: Likewise.
3800         * sysdeps/i386/fpu/s_cexp.S: Likewise.
3801         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3802         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3803         * sysdeps/i386/fpu/e_logf.S: Likewise.
3804         * sysdeps/i386/fpu/e_log10l.S: Likewise.
3805         * sysdeps/i386/fpu/e_atanh.S: Likewise.
3806         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3807         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3808         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3809         * sysdeps/i386/fpu/e_log10.S: Likewise.
3810         * sysdeps/i386/fpu/s_frexp.S: Likewise.
3811         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3812         * sysdeps/i386/fpu/s_asinh.S: Likewise.
3813         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3814         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3815         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3816         * sysdeps/i386/asm-syntax.h: Likewise.
3817         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3818         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3819         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3820         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
3821         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
3822         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3823         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3824         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3825         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3826         * sysdeps/powerpc/sysdep.h: Likewise.
3827         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
3828         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3830 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
3832         [BZ #411]
3833         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
3835 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
3837         * sysdeps/i386/sysdep.h: Include <features.h>.
3838         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
3839         version.
3841 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
3843         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
3844         Define.
3845         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
3846         LOAD_PIC_REG_STR.
3848 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
3850         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
3851         (SETUP_PIC_REG): Use GET_PC_THUNK.
3852         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
3853         macro.
3855 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
3857         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
3858         for non-PIC compilation.
3859         (SETUP_PIC_REG): Add .p2align directive.
3860         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
3861         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3862         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3863         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3864         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3865         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3866         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3867         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3868         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3869         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3870         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3871         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3872         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3873         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3874         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3875         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3876         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3877         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3878         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3879         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3880         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3881         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3882         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3883         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3884         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3885         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3886         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3887         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3888         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3889         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3890         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3891         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3892         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3893         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3894         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3895         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3896         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3897         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3898         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3899         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3900         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3902 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
3904         * math/tst-CMPLX.c: Include <stdio.h>.
3906 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
3908         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
3909         float.
3910         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3911         * sysdeps/sparc/bits/mathdef.h: Likewise.
3913 2012-01-31  Marek Polacek  <polacek@redhat.com>
3915         * libio/libio.h: Don't define _PARAMS.
3916         * locale/programs/config.h: Don't define PARAMS.
3917         * stdlib/strtol_l.c: Likewise.
3918         (__strtol_l): Remove PARAMS from the prototype.
3920 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
3922         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
3923         names.  Just use the correct names.  Remove unnecessary wrapper
3924         functions.
3925         * malloc/arena.c: Likewise.
3926         * malloc/hooks.c: Likewise.
3928         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
3929         ARENA_TEST says not to.  Simplify test for creation of a new arena.
3930         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
3932 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
3934         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
3935         into tail calls.
3936         (update_get_addr): New function.
3937         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
3938         GET_ADDR_MODULE parameter.
3940 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
3942         * crypt/cert.c: Remove __STDC__ conditionals.
3943         * crypt/crypt-entry.c: Likewise.
3944         * crypt/crypt_util.c: Likewise.
3945         * libio/filedoalloc.c: Likewise.
3946         * libio/fileops.c: Likewise.
3947         * libio/genops.c: Likewise.
3948         * libio/iofclose.c: Likewise.
3949         * libio/iofdopen.c: Likewise.
3950         * libio/iofopen.c: Likewise.
3951         * libio/iofopen64.c: Likewise.
3952         * libio/iogetdelim.c: Likewise.
3953         * libio/iopopen.c: Likewise.
3954         * libio/obprintf.c: Likewise.
3955         * libio/oldfileops.c: Likewise.
3956         * libio/oldiofclose.c: Likewise.
3957         * libio/oldiofdopen.c: Likewise.
3958         * libio/oldiofopen.c: Likewise.
3959         * libio/oldiopopen.c: Likewise.
3960         * libio/wfiledoalloc.c: Likewise.
3961         * libio/wgenops.c: Likewise.
3962         * locale/programs/xmalloc.c: Likewise.
3963         * misc/syslog.c: Likewise.
3964         * stdio-common/xbug.c: Likewise.
3965         * string/memchr.c: Likewise.
3966         * string/memcmp.c: Likewise.
3967         * string/memrchr.c: Likewise.
3968         * string/rawmemchr.c: Likewise.
3969         * sysdeps/posix/getcwd.c: Likewise.
3970         * time/strftime_l.c: Likewise.
3972 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
3974         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3975         * config.make.in (config-cflags-sse2avx): Define.
3976         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
3977         Fix typo.
3979 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
3981         * scripts/config.guess: Update from upstream config git repository.
3982         * scripts/config.sub: Likewise.
3984 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
3986         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
3987         (EM_NUM): Update.
3988         (R_TILEPRO_*, R_TILEGX_*): New macros.
3990         * scripts/firstversions.awk: Fix bug in version range handling.
3992         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
3994         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
3996         * include/sys/epoll.h: New file.
3997         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
3998         libc_hidden_def.
4000 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
4002         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
4003         Avoid unnecessary __WORDSIZE == 64 test.
4004         (fmaxf): Use VEX format if possible.
4005         (fmax): Likewise.
4006         (fminf): Likewise.
4007         (fmin): Likewise.
4009         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
4010         * math/math_private.h: Remove libc_fegetround* and
4011         libc_fesetround*.
4012         * sysdeps/i386/configure.in: Check for -msse2avx.
4013         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
4014         also if SSE2AVX is defined.
4015         Remove libc_fegetround* and libc_fesetround*.
4016         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
4017         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
4018         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
4019         of HAS_YMM_USABLE.
4020         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4021         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4022         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4023         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4024         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4026         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
4028 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4030         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
4031         size is not set.
4032         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
4034 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
4036         [BZ #13618]
4037         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
4038         relocation.
4039         * Makeconfig (libm): Define.
4040         * elf/Makefile: Add rules to build and run tst-relsort1.
4041         * elf/tst-relsort1.c: New file.
4042         * elf/tst-relsort1mod1.c: New file.
4043         * elf/tst-relsort1mod2.c: New file.
4045 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
4047         * math/s_ldexp.c: Remove __STDC__ conditionals.
4048         * math/s_ldexpf.c: Likewise.
4049         * math/s_ldexpl.c: Likewise.
4050         * math/s_nextafter.c: Likewise.
4051         * math/s_nexttowardf.c: Likewise.
4052         * math/s_significand.c: Likewise.
4053         * math/s_significandf.c: Likewise.
4054         * math/s_significandl.c: Likewise.
4055         * math/w_jnl.c: Likewise.
4056         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4057         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4058         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4059         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4060         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4061         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4062         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
4063         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4064         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4065         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4066         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4067         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4068         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4069         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4070         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4071         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4072         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4073         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4074         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4075         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4076         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4077         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4078         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4079         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4080         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4081         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4082         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4083         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4084         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4085         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4086         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4087         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4088         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4089         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4090         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4091         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4092         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4093         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4094         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4095         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4096         * sysdeps/ieee754/k_standard.c: Likewise.
4097         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4098         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4099         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4100         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4101         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4102         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4103         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4104         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4105         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4106         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4107         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4108         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4109         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4110         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4111         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4112         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4113         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4114         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4115         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4116         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4117         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4118         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4119         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4120         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4121         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4122         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4123         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4124         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4125         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4126         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4127         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4128         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
4129         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4130         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4131         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4132         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4133         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
4134         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4135         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4136         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
4137         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
4138         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4139         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4140         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
4141         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4142         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4143         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4144         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4145         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4146         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4147         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
4148         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4149         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4150         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4151         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4152         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4153         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
4154         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4155         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4156         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4157         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4158         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4159         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4160         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4161         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4162         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4163         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4164         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4165         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4166         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4167         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4168         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4169         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4170         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4171         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4172         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4173         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4174         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4175         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4176         * sysdeps/ieee754/s_matherr.c: Likewise.
4177         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4178         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4179         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4180         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4182 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
4184         * crypt/md5.h: Remove __STDC__ conditionals.
4185         * libio/libioP.h: Likewise.
4186         * locale/programs/config.h: Likewise.
4187         * sysdeps/generic/sysdep.h: Likewise.
4188         * sysdeps/i386/asm-syntax.h: Likewise.
4189         * sysdeps/s390/asm-syntax.h: Likewise.
4190         * sysdeps/unix/sysdep.h: Likewise.
4191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4194 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
4196         * libio/libio.h: Remove __STDC__ conditionals.
4197         * malloc/obstack.h: Likewise.
4198         * math/complex.h: Likewise.
4199         * math/math.h: Likewise.
4200         * sysdeps/generic/_G_config.h: Likewise.
4201         * sysdeps/gnu/_G_config.h: Likewise.
4202         * sysdeps/mach/hurd/_G_config.h: Likewise.
4203         * sysdeps/powerpc/bits/mathdef.h: Likewise.
4204         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4205         * sysdeps/sparc/bits/mathdef.h: Likewise.
4207 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
4209         [BZ #13583]
4210         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
4211         Clean up HAS_* macros.
4212         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
4213         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
4214         possible.
4215         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
4216         HAS_AVX.
4217         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4218         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4219         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4220         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4221         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4223 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
4225         * elf/tst-unique3.cc (gets): Remove declaration.
4226         * elf/tst-unique3lib.cc (gets): Likewise.
4227         * elf/tst-unique3lib2.cc (gets): Likewise.
4228         * elf/tst-unique4.cc (gets): Likewise.
4230 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
4232         * include/stdio.h: Add C++ protection.  Add gets declarations and
4233         definitions.
4234         * debug/tst-chk1.c: Don't declare gets here.
4235         * stdio-common/tst-gets.c: Likewise.
4237 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
4239         * posix/glob: Remove directory.
4241 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
4243         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
4245 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
4247         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
4248         of the non-standard EPFNOSUPPORT.
4250 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4252         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
4253         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
4254         ANYWHERE set to 1 only on KERN_NO_SPACE error.
4256 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
4258         * wcsmbs/uchar.h: Test __STDC_VERSION__.
4260 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
4262         * nscd/aicache.c (addhstaiX): Do not cache negative results of
4263         transient errors.
4264         * nscd/grpcache.c (cache_addgr): Likewise.
4265         * nscd/hstcache.c (cache_addhst): Likewise.
4266         * nscd/initgrcache.c (addinitgroupsX): Likewise.
4267         * nscd/pwdcache.c (cache_addpw): Likewise.
4268         * nscd/servicescache.c (cache_addserv): Likewise.
4270 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
4272         * malloc/malloc.c: Various cleanups.
4273         * malloc/hooks.c: Likewise.
4275         * stdlib/Makefile (tests): Add bug-fmtmsg1.
4276         * stdlib/bug-fmtmsg1.c: New file.
4278         * stdlib/fmtmsg.c (init): Add missing unlock.
4279         Patch by Peng Haitao <penght@cn.fujitsu.com>.
4281 2012-01-12  Marek Polacek  <polacek@redhat.com>
4283         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
4284         and _GNU_SOURCE.
4286 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
4288         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
4289         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
4290         macro to ensure uniqueness of label name.
4291         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4292         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4294 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
4296         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
4298         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
4299         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4300         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4301         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
4303 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
4305         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
4307         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
4308         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4309         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4311         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
4313         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
4314         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4315         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4316         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
4318         * math/bits/math-finite.h: Add ldexp support.
4320 2012-01-10  Marek Polacek  <polacek@redhat.com>
4322         * locale/programs/localedef.h (show_archive_content): Add noreturn
4323         attribute.
4325 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
4327         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
4329 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
4331         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
4333         * io/Makefile (headers): Add bits/poll2.h.
4335 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
4337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
4338         typo #include statement.
4340 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
4342         * include/sys/cdefs.h: Define __attribute_alloc_size.
4343         * catgets/gencat.c: Add alloc_size attribute and apply consistently
4344         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
4345         * elf/pldd.c: Likewise.
4346         * iconv/iconv_charmap.c: Likewise.
4347         * iconv/iconvconfig.c: Likewise.
4348         * iconv/strtab.c: Likewise.
4349         * locale/programs/locale.c: Likewise.
4350         * locale/programs/localedef.h: Likewise.
4351         * locale/programs/simple-hash.c: Likewise.
4352         * nscd/nscd.h: Likewise.
4353         * nss/makedb.c: Likewise.
4354         * sysdeps/generic/ldconfig.h: Likewise.
4355         * locale/programs/localedef.c: Remove xmalloc prototype.
4356         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
4358 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
4360         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
4361         appropriate.
4363 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
4365         * math/Makefile (tests): Add tst-CMPLX.
4366         * math/tst-CMPLX.c: New file.
4368         * math/complex.h (CMPLXL): Fix typo.
4370         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
4371         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
4372         GLIBC_2.16.
4373         * debug/tst-chk1.c: Add poll and ppoll tests.
4374         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
4375         * include/sys/poll.h: Add hidden proto for ppoll.
4376         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
4377         * sysdeps/mach/hurd/ppoll.c: Likewise.
4378         * io/ppoll.c: Likewise.
4379         * debug/poll_chk.c: New file.
4380         * debug/ppoll_chk.c: New file.
4381         * include/bits/poll2.h: New file.
4382         * io/bits/poll2.h: New file.
4384         [BZ #1350]
4385         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
4387         * configure.in: static is always set to yes.  Remove.
4388         * config.make.in: Don't set build-static.
4389         * Makeconfig: Remove use of build-static.
4390         * dlfcn/Makefile: Likewise.
4391         * elf/Makefile: Likewise.
4392         * math/Makefile: Likewise.
4393         * misc/Makefile: Likewise.
4394         * nptl/Makefile: Likewise.
4395         * sysdeps/mach/hurd/Makefile: Likewise.
4397         * configure.in: PWD_P is not used anymore.
4398         * config.make.in: Remove PWD_P entry.
4400         * configure.in: Remove last remnants of RANLIB.
4401         No need to check for signed size_t anymore.
4402         Don't set libc_commonpagesize and libc_relro_required here for Alpha
4403         and IA-64.
4404         Remove __builtin_expect test because we require at least gcc 3.4.
4405         * aclocal.m4: Likewise.
4407         * wcsmbs/mbrtoc16.c: Implement using towc function.
4408         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
4409         * wcsmbs/wcsmbsload.c: Likewise.
4410         * iconv/gconv_simple.c: Likewise.
4411         * iconv/gconv_int.h: Likewise.
4412         * iconv/gconv_builtin.h: Likewise.
4413         * iconv/iconv_prog.c: Remove CHAR16 handling.
4415         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
4417         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
4419         * configure.in: Remove --with-elf and --enable-bounded options.
4420         Dont set base_machine for ia64.  More non-ELF conditions removed.
4421         Remove testing and setting of leading underscore information.
4422         * config.make.in (build-bounded): Set to no.
4423         * config.h.in: Remove NO_UNDERSCORES entry.
4424         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
4425         them.
4426         * csu/start.c: Remove !NO_UNDERSCORE code.
4427         * locale/localeinfo.h: Likewise.
4428         * sysdeps/generic/machine-gmon.h: Likewise.
4429         * sysdeps/generic/sysdep.h: Likewise.
4430         * sysdeps/i386/sysdep.h: Likewise.
4431         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4432         * sysdeps/mach/sysdep.h: Likewise.
4433         * sysdeps/s390/s390-32/sysdep.h: Likewise.
4434         * sysdeps/s390/s390-64/sysdep.h: Likewise.
4435         * sysdeps/sh/sysdep.h: Likewise.
4436         * sysdeps/sparc/sparc32/alloca.S: Likewise.
4437         * sysdeps/unix/i386/sysdep.S: Likewise.
4438         * sysdeps/unix/sparc/start.c: Likewise.
4439         * sysdeps/unix/sparc/sysdep.S: Likewise.
4440         * sysdeps/unix/sparc/sysdep.h: Likewise.
4441         * sysdeps/unix/start.c: Likewise.
4442         * sysdeps/unix/x86_64/sysdep.S: Likewise.
4443         * sysdeps/x86_64/sysdep.h: Likewise.
4445 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
4447         [BZ #13553]
4448         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
4449         for non-gcc.
4450         * argp/argp-fmtstream.h: Use const instead __const.
4451         * argp/argp.h: Likewise.
4452         * assert/assert.h: Likewise.
4453         * bits/fenv.h: Likewise.
4454         * bits/sched.h: Likewise.
4455         * bits/sigset.h: Likewise.
4456         * bits/sigthread.h: Likewise.
4457         * catgets/nl_types.h: Likewise.
4458         * conform/data/pthread.h-data: Likewise.
4459         * crypt/crypt-private.h: Likewise.
4460         * crypt/crypt.h: Likewise.
4461         * crypt/crypt_util.c: Likewise.
4462         * ctype/ctype.h: Likewise.
4463         * debug/execinfo.h: Likewise.
4464         * debug/mbsnrtowcs_chk.c: Likewise.
4465         * debug/mbsrtowcs_chk.c: Likewise.
4466         * debug/wcsnrtombs_chk.c: Likewise.
4467         * debug/wcsrtombs_chk.c: Likewise.
4468         * debug/wcstombs_chk.c: Likewise.
4469         * dirent/dirent.h: Likewise.
4470         * dlfcn/dlfcn.h: Likewise.
4471         * elf/neededtest4.c: Likewise.
4472         * grp/grp.h: Likewise.
4473         * gshadow/gshadow.h: Likewise.
4474         * iconv/gconv.h: Likewise.
4475         * iconv/gconv_int.h: Likewise.
4476         * iconv/gconv_simple.c: Likewise.
4477         * iconv/iconv.h: Likewise.
4478         * iconv/loop.c: Likewise.
4479         * iconv/skeleton.c: Likewise.
4480         * include/aio.h: Likewise.
4481         * include/aliases.h: Likewise.
4482         * include/argz.h: Likewise.
4483         * include/arpa/inet.h: Likewise.
4484         * include/assert.h: Likewise.
4485         * include/dirent.h: Likewise.
4486         * include/dlfcn.h: Likewise.
4487         * include/execinfo.h: Likewise.
4488         * include/fcntl.h: Likewise.
4489         * include/fenv.h: Likewise.
4490         * include/glob.h: Likewise.
4491         * include/grp.h: Likewise.
4492         * include/libintl.h: Likewise.
4493         * include/mntent.h: Likewise.
4494         * include/netdb.h: Likewise.
4495         * include/pwd.h: Likewise.
4496         * include/rpc/netdb.h: Likewise.
4497         * include/sched.h: Likewise.
4498         * include/search.h: Likewise.
4499         * include/shadow.h: Likewise.
4500         * include/signal.h: Likewise.
4501         * include/stdio.h: Likewise.
4502         * include/stdlib.h: Likewise.
4503         * include/string.h: Likewise.
4504         * include/sys/socket.h: Likewise.
4505         * include/sys/stat.h: Likewise.
4506         * include/sys/statfs.h: Likewise.
4507         * include/sys/statvfs.h: Likewise.
4508         * include/sys/syslog.h: Likewise.
4509         * include/sys/time.h: Likewise.
4510         * include/sys/uio.h: Likewise.
4511         * include/time.h: Likewise.
4512         * include/unistd.h: Likewise.
4513         * include/utmp.h: Likewise.
4514         * include/wchar.h: Likewise.
4515         * include/wctype.h: Likewise.
4516         * inet/aliases.h: Likewise.
4517         * inet/arpa/inet.h: Likewise.
4518         * inet/netinet/ether.h: Likewise.
4519         * inet/netinet/in.h: Likewise.
4520         * intl/libintl.h: Likewise.
4521         * io/bits/fcntl2.h: Likewise.
4522         * io/fcntl.h: Likewise.
4523         * io/ftw.h: Likewise.
4524         * io/sys/poll.h: Likewise.
4525         * io/sys/stat.h: Likewise.
4526         * io/sys/statfs.h: Likewise.
4527         * io/sys/statvfs.h: Likewise.
4528         * io/utime.h: Likewise.
4529         * libio/bits/stdio.h: Likewise.
4530         * libio/bits/stdio2.h: Likewise.
4531         * libio/libio.h: Likewise.
4532         * libio/libioP.h: Likewise.
4533         * libio/stdio.h: Likewise.
4534         * locale/lc-ctype.c: Likewise.
4535         * locale/locale.h: Likewise.
4536         * login/utmp.h: Likewise.
4537         * malloc/arena.c: Likewise.
4538         * malloc/malloc.c: Likewise.
4539         * malloc/malloc.h: Likewise.
4540         * malloc/mcheck.c: Likewise.
4541         * malloc/mtrace.c: Likewise.
4542         * math/bits/mathcalls.h: Likewise.
4543         * math/fenv.h: Likewise.
4544         * math/math_private.h: Likewise.
4545         * misc/bits/error.h: Likewise.
4546         * misc/bits/syslog.h: Likewise.
4547         * misc/err.h: Likewise.
4548         * misc/error.h: Likewise.
4549         * misc/fstab.h: Likewise.
4550         * misc/mntent.h: Likewise.
4551         * misc/regexp.h: Likewise.
4552         * misc/search.h: Likewise.
4553         * misc/sgtty.h: Likewise.
4554         * misc/sys/mman.h: Likewise.
4555         * misc/sys/syslog.h: Likewise.
4556         * misc/sys/uio.h: Likewise.
4557         * misc/sys/xattr.h: Likewise.
4558         * misc/ttyent.h: Likewise.
4559         * nis/rpcsvc/ypclnt.h: Likewise.
4560         * nss/nss.h: Likewise.
4561         * posix/bits/unistd.h: Likewise.
4562         * posix/fnmatch.h: Likewise.
4563         * posix/glob.h: Likewise.
4564         * posix/sched.h: Likewise.
4565         * posix/spawn.h: Likewise.
4566         * posix/sys/wait.h: Likewise.
4567         * posix/unistd.h: Likewise.
4568         * posix/wordexp.h: Likewise.
4569         * pwd/pwd.h: Likewise.
4570         * resolv/netdb.h: Likewise.
4571         * resource/sys/resource.h: Likewise.
4572         * rt/aio.h: Likewise.
4573         * rt/bits/mqueue2.h: Likewise.
4574         * rt/mqueue.h: Likewise.
4575         * shadow/shadow.h: Likewise.
4576         * signal/signal.h: Likewise.
4577         * socket/send.c: Likewise.
4578         * socket/sendto.c: Likewise.
4579         * socket/sys/socket.h: Likewise.
4580         * stdio-common/printf.h: Likewise.
4581         * stdlib/bits/stdlib.h: Likewise.
4582         * stdlib/fmtmsg.h: Likewise.
4583         * stdlib/monetary.h: Likewise.
4584         * stdlib/stdlib.h: Likewise.
4585         * stdlib/ucontext.h: Likewise.
4586         * streams/stropts.h: Likewise.
4587         * string/argz.h: Likewise.
4588         * string/bits/string2.h: Likewise.
4589         * string/string.h: Likewise.
4590         * string/strings.h: Likewise.
4591         * sunrpc/rpc/auth.h: Likewise.
4592         * sunrpc/rpc/auth_des.h: Likewise.
4593         * sunrpc/rpc/clnt.h: Likewise.
4594         * sunrpc/rpc/netdb.h: Likewise.
4595         * sunrpc/rpc/pmap_clnt.h: Likewise.
4596         * sunrpc/rpc/xdr.h: Likewise.
4597         * sysdeps/generic/inttypes.h: Likewise.
4598         * sysdeps/generic/net/if.h: Likewise.
4599         * sysdeps/generic/sys/swap.h: Likewise.
4600         * sysdeps/gnu/net/if.h: Likewise.
4601         * sysdeps/gnu/utmpx.h: Likewise.
4602         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4603         * sysdeps/i386/i486/bits/string.h: Likewise.
4604         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4605         * sysdeps/s390/bits/string.h: Likewise.
4606         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4607         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4608         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4609         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4610         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4611         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4612         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4613         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4614         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4615         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4616         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4617         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4618         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4619         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4620         * sysdeps/unix/sysv/linux/readv.c: Likewise.
4621         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4622         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4623         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4624         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4625         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4626         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4627         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4628         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4629         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4630         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4631         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4632         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4633         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4634         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4635         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4636         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4637         * sysvipc/sys/ipc.h: Likewise.
4638         * sysvipc/sys/msg.h: Likewise.
4639         * sysvipc/sys/sem.h: Likewise.
4640         * sysvipc/sys/shm.h: Likewise.
4641         * termios/termios.h: Likewise.
4642         * time/sys/time.h: Likewise.
4643         * time/time.h: Likewise.
4644         * wcsmbs/bits/wchar2.h: Likewise.
4645         * wcsmbs/uchar.h: Likewise.
4646         * wcsmbs/wchar.h: Likewise.
4647         * wctype/wctype.h: Likewise.
4649         [BZ #13551]
4650         * Makeconfig: Remove all but ELF support including AIX support.
4651         * Makerules: Likewise.
4652         * config.h.in: Likewise.
4653         * config.make.in: Likewise.
4654         * configure: Likewise.
4655         * configure.in: Likewise.
4656         * csu/Makefile: Likewise.
4657         * csu/version.c: Likewise.
4658         * debug/Makefile: Likewise.
4659         * dlfcn/Makefile: Likewise.
4660         * elf/Makefile: Likewise.
4661         * extra-lib.mk: Likewise.
4662         * iconv/Makefile: Likewise.
4663         * include/libc-symbols.h: Likewise.
4664         * include/shlib-compat.h: Likewise.
4665         * resolv/Makefile: Likewise.
4666         * resolv/res_libc.c: Likewise.
4667         * rt/Makefile: Likewise.
4668         * sysdeps/i386/asm-syntax.h: Likewise.
4669         * sysdeps/i386/sysdep.h: Likewise.
4670         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4671         * sysdeps/mach/sysdep.h: Likewise.
4672         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4673         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4674         * sysdeps/s390/asm-syntax.h: Likewise.
4675         * sysdeps/s390/s390-32/sysdep.h: Likewise.
4676         * sysdeps/s390/s390-64/sysdep.h: Likewise.
4677         * sysdeps/sh/sysdep.h: Likewise.
4678         * sysdeps/unix/sparc/sysdep.h: Likewise.
4679         * sysdeps/wordsize-32/divdi3.c: Likewise.
4680         * sysdeps/x86_64/sysdep.h: Likewise.
4682         * argp/Versions: Remove _argp_unlock_xxx.
4684         [BZ #13559]
4685         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
4686         * abilist/libBrokenLocale.abilist: Likewise.
4687         * abilist/libanl.abilist: Likewise.
4688         * abilist/libc.abilist: Likewise.
4689         * abilist/libcrypt.abilist: Likewise.
4690         * abilist/libdl.abilist: Likewise.
4691         * abilist/libm.abilist: Likewise.
4692         * abilist/libnsl.abilist: Likewise.
4693         * abilist/libpthread.abilist: Likewise.
4694         * abilist/libresolv.abilist: Likewise.
4695         * abilist/librt.abilist: Likewise.
4696         * abilist/libthread_db.abilist: Likewise.
4697         * abilist/libutil.abilist: Likewise.
4698         * abilist/libnss_db.abilist: New file.
4700         * scripts/abilist.awk: Add support for indirect functions.
4702         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4704         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4706         * shlib-versions: Remove entries for ports architectures.
4708         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
4709         files in ports.
4710         * elf/stackguard-macros.h: Remove support for IA-64.
4711         * elf/tst-auditmod1.c: Likewise.
4712         * sysdeps/generic/ldsodefs.h: Likewise.
4714         * sysdeps/unix/sysv/linux/configure.in: Ports should define
4715         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
4716         configure files.
4718         [BZ #13552]
4719         * configure.in: Remove --enable-omitfp support.
4720         * FAQ.in: Adjust.
4721         * config.make.in: Likewise.
4722         * Makeconfig: Likewise.
4723         * manual/install.texi: Likewise.
4725         In case anyone cares, the IA-64 architecture could move to ports.
4726         * sysdeps/ia64/*: Removed.
4727         * sysdeps/unix/sysv/linux/ia64/*: Removed.
4728         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
4730         [BZ #13555]
4731         * configure.in: Remove entries for unsupported architectures.
4733         [BZ #13533]
4734         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
4735         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
4736         routines.
4737         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
4738         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
4739         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
4740         fall back to using wcrtomb.
4741         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
4742         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
4743         renaming.
4744         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
4745         * wcsmbs/tst-c16c32-1.c: New file.
4747         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
4748         local variable.
4750         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
4752         * elf/tst-unique3.cc: Add explicit declaration of gets.
4753         * elf/tst-unique3lib.cc: Likewise.
4754         * elf/tst-unique3lib2.cc: Likewise.
4755         * elf/tst-unique4.cc: Likewise.
4757         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
4759 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
4761         [BZ #13566]
4762         * assert/assert.h (static_assert): Don't define for C++.
4763         * libio/stdio.h (gets): Do declare for C++ <= C++11.
4764         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
4766 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
4768         * iconv/loop.c (single loop): Fix assertion in storing of
4769         remaining bytes.
4771         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
4773 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
4775         * posix/getconf.c: Update copyright year.
4776         * nss/getent.c: Likewise.
4777         * nss/makedb.c: Likewise.
4778         * iconv/iconvconfig.c: Likewise.
4779         * iconv/iconv_prog.c: Likewise.
4780         * elf/ldconfig.c: Likewise.
4781         * elf/pldd.c: Likewise.
4782         * elf/sotruss.ksh: Likewise.
4783         * catgets/gencat.c: Likewise.
4784         * csu/version.c: Likewise.
4785         * elf/ldd.bash.in: Likewise.
4786         * elf/sprof.c (print_version): Likewise.
4787         * locale/programs/locale.c: Likewise.
4788         * locale/programs/localedef.c: Likewise.
4789         * login/programs/pt_chown.c: Likewise.
4790         * nscd/nscd.c (print_version): Likewise.
4791         * debug/xtrace.sh: Likewise.
4792         * malloc/memusage.sh: Likewise.
4793         * malloc/mtrace.pl: Likewise.
4794         * debug/catchsegv.sh: Likewise.
4796 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
4798         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
4799         pure attribute.
4801 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
4803         [BZ #13533]
4804         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
4805         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
4806         transformations.
4807         * iconv/gconv_int.h: Likewise.
4808         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
4809         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
4810         from libc for GLIBC_2.16.
4811         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
4812         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
4813         * wcsmbs/uchar.h: Really define mbstate_t.
4814         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
4815         * wcsmbs/c16rtomb.c: New file.
4816         * wcsmbs/mbrtoc16.c: New file.
4817         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
4818         for C/POSIX locale.
4819         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
4820         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
4822         * wcsmbs/wchar.h: Add missing __restrict.
4824 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
4826         [BZ #13532]
4827         * time/Makefile (routines): Add timespec_get.
4828         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
4829         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
4830         timespec for ISO C11.
4831         * time/timespec_get.c: New file.
4832         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
4833         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
4835         [BZ #13531]
4836         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
4837         * stdlib/stdlib.h: Declare aligned_alloc.
4838         * Versions.def: Add GLIBC_2.16 for libc.
4839         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
4841         [BZ 13527]
4842         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
4843         ISO C11.
4845         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
4846         code.
4848         [BZ #13528]
4849         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
4851         [BZ #13529]
4852         * assert/assert.h (static_assert): Define.
4854         * version.h: Update for 2.16 development version.
4856         [BZ #13526]
4857         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
4858         _ISOC11_SOURCE.
4860         * version.h (RELEASE): Bump for 2.15 release.
4861         * include/features.h (__GLIBC_MINOR__): Bump to 15.
4863         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
4864         Patch by Marek Polacek <mpolacek@redhat.com>.
4866         * bits/byteswap.h: Protect long long constants with __extension__.
4867         * sysdeps/i386/bits/byteswap.h: Likewise.
4868         * sysdeps/ia64/bits/byteswap.h: Likewise.
4869         * sysdeps/s390/bits/byteswap.h: Likewise.
4870         * sysdeps/x86_64/bits/byteswap.h: Likewise.
4872 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4874         [BZ #13540]
4875         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
4876         destination buffer.
4877         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4879 2011-12-23  Marek Polacek  <polacek@redhat.com>
4881         * elf/dl-addr.c (determine_info): Add inline keyword.
4882         * elf/tst-auditmod4b.c (check_avx): Likewise.
4883         * elf/tst-auditmod6b.c (check_avx): Likewise.
4884         * elf/tst-auditmod6c.c (check_avx): Likewise.
4885         * elf/tst-auditmod7b.c (check_avx): Likewise.
4887 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
4889         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
4890         !__SSE_MATH__.
4892 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4894         [BZ #13540]
4895         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
4896         processing for last bytes.
4898 2011-08-06  Bruno Haible  <bruno@clisp.org>
4900         [BZ #13061]
4901         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
4902         U+0385, not to U+1FEE.
4904         [BZ #13062]
4905         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
4906         entry for U+00A5 U+0301.
4908 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
4910         [BZ #13166]
4911         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
4912         buffer for the output is too small.
4914         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
4915         optimization.
4917         [BZ #13185]
4918         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
4919         SSE flags if possible.
4921 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4923         [BZ #13540]
4924         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
4925         processing for last bytes.
4927 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
4929         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
4930         (syscall-list-default-options, syscall-list-default-condition)
4931         (syscall-list-includes): Define.
4932         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
4933         list of ABIs and options and #if conditions for each ABI.  Do not
4934         handle common syscalls between ABIs specially.
4935         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
4936         Remove.
4937         (syscall-list-variants, syscall-list-32bit-options)
4938         (syscall-list-32bit-condition, syscall-list-64bit-options)
4939         (syscall-list-64bit-condition): Define.
4940         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
4941         (syscall-list-variants, syscall-list-32bit-options)
4942         (syscall-list-32bit-condition, syscall-list-64bit-options)
4943         (syscall-list-64bit-condition): Define.
4944         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
4945         Remove.
4946         (syscall-list-variants, syscall-list-32bit-options)
4947         (syscall-list-32bit-condition, syscall-list-64bit-options)
4948         (syscall-list-64bit-condition): Define.
4949         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
4950         Remove.
4951         (syscall-list-variants, syscall-list-32bit-options)
4952         (syscall-list-32bit-condition, syscall-list-64bit-options)
4953         (syscall-list-64bit-condition): Define.
4955 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
4957         * locale/iso-639.def: Add brx entry.
4959         [BZ #13328]
4960         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
4961         Proposed by Mariusz_Cukr <marcukr@op.pl>.
4963         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
4964         __feraiseexcept_renamed.
4966 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
4968         [BZ #13538]
4969         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
4970         EPOLLET with unsigned values.
4971         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4972         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4974         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
4975         to large cancellation.
4976         * math/s_cacoshf.c: Likewise.
4977         * math/s_cacoshl.c: Likewise.
4979 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
4981         [BZ #13305]
4982         [BZ #12786]
4983         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
4984         * math/s_cacoshf.c: Likewise.
4985         * math/s_cacoshl.c: Likewise.
4987 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
4989         [BZ #13439]
4990         * iconv/gconv.h: Define __GCONV_SWAP.
4991         * iconvdata/unicode.c: The swap bit must be stored in __flags.
4992         * iconvdata/utf-16.c: Likewise.
4993         * iconvdata/utf-32.c: Likewise.
4995 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
4997         [BZ #13524]
4998         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
4999         numerator after shifting it by one limb.
5001 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
5003         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
5004         under [__USE_EXTERN_INLINES].
5006 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
5008         [BZ #13446]
5009         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
5011 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5013         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
5014         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
5015         optimized code.
5016         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
5017         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
5018         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
5019         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
5020         for strncasecmp/strncasecmp_l compilation.
5021         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
5022         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
5024 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
5026         [BZ #13484]
5027         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
5028         of __asm__.
5030 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
5032         [BZ #13506]
5033         * time/tzfile.c (__tzfile_read): Check values from file header.
5035 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
5037         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
5038         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
5039         * powerpc/powerpc32/dl-start.S: Likewise.
5040         * powerpc/powerpc32/elf/start.S: Likewise.
5041         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5042         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
5043         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
5044         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
5045         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5046         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
5047         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
5048         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5049         * powerpc/powerpc32/fpu/s_round.S: Likewise.
5050         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5051         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5052         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5053         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5054         * powerpc/powerpc32/memset.S: Likewise.
5055         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5056         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5057         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5058         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5059         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5060         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5061         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5062         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5063         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
5064         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
5065         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
5066         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5067         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5069 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5071         * math/libm-test.inc: Added more nearbyint tests.
5072         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
5073         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
5074         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
5075         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
5077 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
5079         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
5080         FD_CLOEXEC.
5082 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5084         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
5085         Add wcscpy-ssse3 wcscpy-c.
5086         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
5087         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
5088         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
5089         * sysdeps/x86_64/wcschr.S: New file.
5090         * sysdeps/x86_64/wcsrchr.S: New file.
5091         * string/test-strcmp.c: Remove checking of wcscmp function for
5092         wrong alignments.
5093         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
5094         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
5095         wcsrchr-sse2 wcsrchr-c.
5096         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
5097         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
5098         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
5099         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
5100         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
5101         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
5102         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
5103         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
5104         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
5105         * wcsmbc/wcschr.c (WCSCHR): New macro.
5107 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5109         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
5110         * wcsmbs/test-wcsrchr.c: New file.
5111         * string/test-strrchr.c: Add wcsrchr support.
5112         (WIDE): New macro.
5113         * wcsmbs/test-wcscpy.c: New file.
5114         * string/test-strcpy.c: Add wcscpy support.
5115         (WIDE): New macro.
5117 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
5119         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
5120         the inner loop.
5122 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
5124         [BZ #13472]
5125         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
5127 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
5129         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
5130         Minor optimizations.
5132         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
5133         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
5134         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5136 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
5138         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
5139         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
5140         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
5141         for gcc to avoid warnings.
5142         * inet/Makefile (tests): Add tst-checks.
5143         * inet/tst-checks.c: New file.
5145         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
5146         warning.
5148         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
5149         __wmemcmp_sse2.
5151         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
5152         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
5154         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
5156 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
5158         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
5159         problem.
5161         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
5163 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
5165         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
5166         conditional on GCC version.
5167         (__arch_compare_and_exchange_val_8_acq)
5168         (__arch_compare_and_exchange_val_16_acq)
5169         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
5170         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
5171         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
5173 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
5175         * sysdeps/sh/backtrace.c: New file.
5177 2011-12-02  Andreas Schwab  <schwab@redhat.com>
5179         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
5180         parenthesis.
5182 2011-12-01  Andreas Schwab  <schwab@redhat.com>
5184         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
5185         falling back to utime.
5187 2011-11-30  Andreas Schwab  <schwab@redhat.com>
5189         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
5190         expectations for float.
5192 2011-11-29  Andreas Schwab  <schwab@redhat.com>
5194         * locale/weight.h (findidx): Add parameter len.
5195         * locale/weightwc.h (findidx): Likewise.
5196         * posix/fnmatch_loop.c (FCT): Adjust caller.
5197         * posix/regcomp.c (build_equiv_class): Likewise.
5198         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
5199         * posix/regexec.c (check_node_accept_bytes): Likewise.
5200         * string/strcoll_l.c (STRCOLL): Likewise.
5201         * string/strxfrm_l.c (STRXFRM): Likewise.
5203 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
5205         * Makefile.in: Remove CVSOPT handling.
5206         * configure.in: Remove use of AC_REVISION.
5207         * iconvdata/Makefile (distribute): No need to filter out CVS.
5208         * scripts/list-sources.sh: Remove CVS, subversion and monotone
5209         handling.
5211 2011-11-16  Andreas Schwab  <schwab@redhat.com>
5213         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
5214         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
5215         [USE_AS_STRNCASECMP_L]: Likewise.
5216         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
5217         NO_TLS_DIRECT_SEG_REFS.
5218         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
5219         Fix argument offsets for non-PIC.
5220         [USE_AS_STRNCASECMP_L]: Likewise.
5221         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
5222         NO_TLS_DIRECT_SEG_REFS.
5224 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
5226         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
5227         O_CLOEXEC.
5228         * locale/loadlocale.c (_nl_load_locale): Likewise.
5230 2011-11-15  Andreas Schwab  <schwab@redhat.com>
5232         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
5233         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
5234         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
5235         (SYSCALL_GETTIME): Set errno on error.
5237         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
5238         count references to noai6ai_cached.
5240 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
5242         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
5244         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
5245         FD_CLOEXEC for /proc/self/maps.
5247         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
5248         FD_CLOEXEC for /proc/meminfo.
5250         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
5251         gai.conf.
5253         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
5254         FD_CLOEXEC for given file.
5256         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
5258         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
5259         FD_CLOEXEC for /etc/hosts.
5260         (_gethtent): Likewise.
5262         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
5264         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
5265         cancellation and set FD_CLOEXEC for /etc/netgroup.
5267         * nss/nss_files/files-key.c (search): Don't allow cancellation when
5268         reading /etc/publickey.
5270         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
5271         allow cancellation when reading /etc/group.
5273         * nss/nss_files/files-alias.c (internal_setent): Don't allow
5274         cancellation.
5275         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
5277         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
5278         when using data file.
5280         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
5282         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
5283         (write_nis_obj): Use "c" and "e" in fopen.
5285         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
5287         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
5289         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
5291         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
5293         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
5294         locale.alias.
5296         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
5298         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
5300         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
5302         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
5303         file parsing and set FD_CLOEXEC.
5305 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
5307         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
5309 2011-11-14  Andreas Schwab  <schwab@redhat.com>
5311         * malloc/arena.c (arena_get2): Don't call reused_arena when
5312         _int_new_arena failed.
5314 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
5316         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
5317         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
5318         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
5319         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5320         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5321         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
5322         to compile strcasecmp and strncasecmp.
5323         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
5324         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
5326         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
5328 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
5330         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
5331         locale-defines.sym to gen-as-const-headers.
5332         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
5333         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
5334         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
5335         to compile strcasecmp and strncasecmp.
5336         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
5337         strcasecmp_l and strncasecmp_l.
5338         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
5339         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
5340         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
5341         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
5342         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
5343         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
5344         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
5345         * sysdeps/i386/i686/multiarch/strncase.S: New file.
5346         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
5347         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
5348         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
5350 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
5352         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
5353         result of SYSDEP_GETTIME_CPU to retval.
5354         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
5355         parameter list to macro.  Remove trailing semicolon.  Adjust users.
5357         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
5358         variable.
5360         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
5361         mantissa words.
5362         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5364         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
5365         from unused variable.
5367         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
5368         DWARF definitions.
5369         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
5370         for assembling.
5372         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
5373         over namespaces.
5375         * sunrpc/rpc_prot.c (rejected): Fix case value.
5377         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
5378         unsigned long long int to avoid warnings in shift.
5380         * posix/regex_internal.c (re_string_reconstruct): Actually use result
5381         of use of trans.
5382         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
5383         variable tmp.
5385         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
5386         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5387         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5389         * nis/nis_table.c (nis_list): Use variable of correct type for
5390         result of __follow_path call.
5392 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5394         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
5395         of math functions ceil, trunc, floor, round, and sqrt, when
5396         avaliable on the platform.
5397         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
5398         name clash.
5399         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5400         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5401         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5403 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
5405         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
5406         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5408 2011-11-11  Roland McGrath  <roland@hack.frob.com>
5410         * include/unistd.h: Fix __readlink return type.
5411         Reported by Chris Metcalf <cmetcalf@tilera.com>.
5413 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
5415         * stdlib/ucontext.h: Undo last change for makecontext.
5417 2011-11-11  Andreas Schwab  <schwab@redhat.com>
5419         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
5421         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
5422         * setjmp/setjmp.h: Mark functions as non-leaf.
5423         * setjmp/bits/setjmp2.h: Likewise.
5424         * stdlib/ucontext.h: Likewise.
5426 2011-11-10  Andreas Schwab  <schwab@redhat.com>
5428         * malloc/arena.c (_int_new_arena): Don't increment narenas.
5429         (reused_arena): Don't check arena limit.
5430         (arena_get2): Atomically check arena limit.
5432 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
5434         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
5435         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
5437         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
5438         instructions.
5440 2011-11-07  Andreas Schwab  <schwab@redhat.com>
5442         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
5443         handler when locking.
5445         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5446         Fix size of allocated buffer.
5448 2011-11-04  Andreas Schwab  <schwab@redhat.com>
5450         [BZ #10103]
5451         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
5452         declarations for long double functions.
5453         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5455         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5457 2011-11-03  Andreas Schwab  <schwab@redhat.com>
5459         * nscd/nscd.c (main): Don't start AVC thread until credentials are
5460         installed.
5462         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5463         is disabled.
5465 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5467         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5469 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
5471         * include/alloca.h (stackinfo_alloca_round): Define.
5472         (extend_alloca): Use it.
5473         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5474         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5475         here.
5477         * scripts/check-local-headers.sh: Ignore libaudit.h.
5479         * nscd/Makefile (extra-objs): Make recursively expanded.
5481 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
5483         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5484         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5486         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5487         * posix/tst-rfc3484-2.c: Likewise.
5488         * posix/tst-rfc3484-3.c: Likewise.
5490         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5491         process_vm_writev.
5492         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5493         process_vm_writev.
5494         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5495         process_vm_writev from libc using GLIBC_2.15 version.
5497         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5499 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
5501         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5502         stack usage.
5504 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
5506         [BZ #13367]
5507         * nss/getent.c (initgroups_keys): Show error message in case no group
5508         names are given.
5510         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5511         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5512         __bump_nl_timestamp.
5513         * nscd/connections (nscd_init): When host database is served open
5514         netlink socket and request notification about configuration changes.
5515         (main_loop_poll): Track netlink file descriptor and bump timestamp
5516         in case data becomes available.
5517         (main_loop_epoll): Likewise.
5518         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5519         (database_pers_head): Add extra_data fileds.
5520         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5521         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5522         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5523         Adjust caller.
5524         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5525         in6ai data, call __free_in6ai.
5526         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5527         Add -DHAVE_NETLINK.
5528         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
5529         interface information.  Reuse previous data if netlink timestamp
5530         is not changed.
5531         (__bump_nl_timestamp): New function.
5532         (__free_in6ai): New function.
5534 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
5536         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5537         close_not_cancel_no_status here.
5538         (__check_pf): Reorganize code a bit to not call close twice if OOM.
5540 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
5542         [BZ #13276]
5543         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5544         return value.
5546         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
5547         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5548         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5550 2011-07-03  Andreas Jaeger  <aj@suse.de>
5552         [BZ #10709]
5553         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5554         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5555         * math/libm-test.inc (sin_test): Add test case.
5557 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
5559         [BZ #13337]
5560         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5561         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5563         * elf/chroot_canon.c (chroot_canon): Cleanups.
5565         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5567         [BZ #13335]
5568         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5569         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5571         * string/test-strchr.c: Make usable for strchrnul testing.
5572         * string/test-strchrnul.c: New file.
5573         * string/Makefile (strop-tests): Add strchrnul.
5575         * po/it.po: Update from translation team.
5576         * po/es.po: Likewise.
5578 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
5580         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5581         the three constants needed as parameters.  Drop the others.
5582         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5583         __m128i_strloadu_tolower.
5584         Create and initialize variable zero and use it in all the places
5585         where _mm_setzero_si128 was used.
5587         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5588         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5589         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5590         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5591         anymore.
5592         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5593         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5594         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5595         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5596         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5597         __mpranred, __mptan.
5598         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5599         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5600         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5601         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5602         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5603         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5604         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5605         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5606         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5608 2011-10-28  Andreas Schwab  <schwab@redhat.com>
5610         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5611         redefine if SHARED.
5612         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5614         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5615         wide char related routines to wcsmbs subdir.
5617 2011-10-27  Andreas Schwab  <schwab@redhat.com>
5619         [BZ #13344]
5620         * misc/sys/cdefs.h (__THROWNL): Define.
5621         * posix/unistd.h: Use __THREADNL instead of __THREAD
5622         for memory synchronization functions.
5624 2011-10-26  Roland McGrath  <roland@hack.frob.com>
5626         [BZ #13349]
5627         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5628         doesn't exist.
5629         * manual/stdio.texi (Obstack Streams): Node removed.
5631 2011-10-26  Andreas Schwab  <schwab@redhat.com>
5633         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5634         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5635         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5637         * math/math_private.h (math_force_eval): Allow non-addressable
5638         arguments.
5639         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5641 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
5643         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5644         file is not needed.
5646         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5647         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5648         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5649         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5650         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5651         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5652         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5653         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5654         Add AVX variants.
5655         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5656         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5657         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5658         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5659         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5660         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5661         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5662         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5663         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5664         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5665         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5666         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5667         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5668         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5669         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5670         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5671         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5672         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5673         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5675         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5676         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
5678         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5679         place.  Use VEX encoding when compiling for AVX.
5681 2011-10-25  Andreas Schwab  <schwab@redhat.com>
5683         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5684         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5686         * string/test-strchr.c (do_test): Don't generate NUL bytes.
5688 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
5690         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
5691         useless if() expression.
5692         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5693         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5694         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5695         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5696         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5697         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5698         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5699         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5700         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5701         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5702         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5703         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5704         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5705         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5706         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5707         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5708         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5709         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5710         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5712         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5714 2011-10-25  Andreas Schwab  <schwab@redhat.com>
5716         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
5717         condition.
5718         * elf/dl-fini.c (_dl_sort_fini): Likewise.
5720 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
5722         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
5723         .text section.  Avoid duplicate constants.
5724         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5725         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5726         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5727         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5728         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5729         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5730         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5731         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5732         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5733         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
5734         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5735         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5736         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5737         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5738         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5739         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5740         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5741         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5742         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5743         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5744         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5745         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5746         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5747         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
5748         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
5749         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
5750         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
5751         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
5752         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
5753         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
5754         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
5755         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
5756         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5757         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
5758         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
5759         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
5760         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
5761         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
5762         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
5763         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
5764         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
5765         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
5766         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
5767         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
5768         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
5770 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
5772         * sysdeps/x86_64/dla.h: Move to ...
5773         * sysdeps/x86_64/fpu/dla.h: ...here.
5774         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
5775         situations.  Use __builtin_fma only for gcc 4.6 and up.
5777         * config.make.in: Add have-mfma4 entry.
5778         * configure.in: Substitute libc_cv_cc_fma4.
5779         * math/Makefile (dbl-only-routines): Add sincostab.
5780         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
5781         Use __sincostab not sincos.
5782         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
5783         name is a macro.
5784         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5785         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5786         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5787         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
5788         using __copysign.
5789         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
5790         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
5791         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
5792         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
5793         and __inv.
5794         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
5795         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
5796         __copysign.
5797         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
5798         define aliases when function name is a macro.
5799         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
5800         sysdeps/ieee754/dbl-64/sincos.tbl.
5801         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
5802         fma4-enabled routines.
5803         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
5804         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
5805         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
5806         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
5807         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
5808         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
5809         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
5810         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
5811         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
5812         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
5813         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
5814         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
5815         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
5816         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
5817         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
5818         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
5819         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
5820         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
5821         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
5822         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
5823         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
5824         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
5825         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
5826         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
5827         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
5828         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
5829         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
5830         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
5831         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
5832         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
5834         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
5835         rename.
5836         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5837         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5838         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5839         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5840         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5841         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5842         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5843         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5845 2011-10-24  Andreas Schwab  <schwab@redhat.com>
5847         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
5849 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
5851         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
5853         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
5854         prediction.
5855         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
5857         * string/strnlen.c: Don't define STRNLEN, reverse logic.
5858         Remove unused variable magic_bits.
5859         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
5861         * string/strnlen.c: Define and use STRNLEN macro.
5862         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
5863         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
5864         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
5865         * wcsmbs/wcslen.c: Define and use WCSLEN.
5866         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
5867         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
5868         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
5869         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
5870         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
5871         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
5872         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5874 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5876         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5877         strnlen-sse2-no-bsf.
5878         Rename strlen-no-bsf to strlen-sse2-no-bsf.
5879         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
5880         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
5881         Add strnlen support.
5882         (USE_AS_STRNLEN): New macro.
5883         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
5884         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
5885         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
5886         * sysdeps/x86_64/wcslen.S: New file.
5888 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
5890         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5891         XMM-moves are used for copying on small sizes.
5893 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5895         * wcsmbs/Makefile (strop-tests): Add wcschr.
5896         * wcsmbs/test-wcschr.c: New file.
5897         * string/test-strchr.c: Update.
5898         Add wcschr support.
5899         (WIDE): New macro.
5901 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5903         * wcsmbs/Makefile (strop-tests): Add wcslen.
5904         * wcsmbs/test-wcslen.c: New file.
5905         * string/test-strlen.c: Update.
5906         Add wcslen support.
5907         (WIDE): New macro.
5909 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
5911         * po/it.po: Update from translation team.
5913 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5915         * sysdeps/x86_64/wcscmp.S: Update.
5916         Fix wrong comparison semantics.
5917         wcscmp shall use signed comparison not unsigned.
5918         Don't use substraction to avoid overflow bug.
5919         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5920         * wcsmbc/wcscmp.c: Likewise.
5921         * string/test-strcmp.c: Likewise.
5922         Add new tests to check cases with negative values.
5924 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
5926         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
5927         * sysdeps/x86_64/dla.h: ...here.  New file.
5928         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
5929         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5930         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5931         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5932         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5933         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5934         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5935         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5936         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5938 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
5940         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
5941         __ynl_finite aliases.
5943 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
5945         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5947         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
5948         define DLA_FMA.
5949         [DLA_FMA] (EMULV): Use DLA_FMA.
5950         [DLA_FMA] (MUL12): Use EMULV.
5951         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
5952         that are not needed.
5953         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5954         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5955         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5956         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5957         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5958         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5959         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5961 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
5963         * math/s_nan.c: Undef __nan.
5964         * math/s_nanf.c: Undef __nanf.
5965         * math/s_nanl.c: Undef __nanl.
5966         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
5967         "math_private.h".
5969 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
5971         * math/s_catan.c: Add branch predictions.
5972         * math/s_catanf.c: Likewise.
5973         * math/s_catanh.c: Likewise.
5974         * math/s_catanhf.c: Likewise.
5975         * math/s_catanhl.c: Likewise.
5976         * math/s_catanl.c: Likewise.
5977         * math/s_cexp.c: Likewise.
5978         * math/s_cexpf.c: Likewise.
5979         * math/s_cexpl.c: Likewise.
5980         * math/s_clog.c: Likewise.
5981         * math/s_clog10.c: Likewise.
5982         * math/s_clog10f.c: Likewise.
5983         * math/s_clog10l.c: Likewise.
5984         * math/s_clogf.c: Likewise.
5985         * math/s_clogl.c: Likewise.
5986         * math/s_csqrt.c: Likewise.
5987         * math/s_csqrtf.c: Likewise.
5988         * math/s_csqrtl.c: Likewise.
5989         * math/s_ctanf.c: Likewise.
5990         * math/s_ctanh.c: Likewise.
5991         * math/s_ctanhf.c: Likewise.
5992         * math/s_ctanhl.c: Likewise.
5993         * math/s_ctanl.c: Likewise.
5995         * math/math_private.h: Define __nan, __nanf, __nanl.
5996         * math/s_cacosh.c: Include <math_private.h>.
5997         * math/s_cacoshl.c: Likewise.
5998         * math/s_casinh.c: Likewise.
5999         * math/s_casinhf.c: Likewise.
6000         * math/s_casinhl.c: Likewise.
6001         * math/s_ccos.c: Rely entire on ccosh.
6002         * math/s_ccosf.c: Rely entire on ccoshf.
6003         * math/s_ccosl.c: Rely entirely on ccoshl.
6004         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
6005         Remove tests for FE_INVALID.
6006         * math/s_ccoshf.c: Likewise.
6007         * math/s_ccoshl.c: Likewise.
6008         * math/s_csin.c: Likewise.
6009         * math/s_csinf.c: Likewise.
6010         * math/s_csinh.c Likewise.
6011         * math/s_csinhf.c: Likewise.
6012         * math/s_csinhl.c: Likewise.
6013         * math/s_csinl.c: Likewise.
6014         * math/s_ctan.c: Likewise.
6015         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
6016         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
6017         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
6019 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
6021         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
6022         compilation problems.
6024         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
6025         __builtin_expect.
6027 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
6029         * sysdeps/i386/configure.in: Test for -mfma4 option.
6030         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
6031         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
6032         COMMON_CPUID_INDEX_80000001.
6033         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
6034         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
6035         use it if FMA3 is not supported.
6036         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
6038         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
6039         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
6041 2011-10-20  Andreas Schwab  <schwab@redhat.com>
6043         [BZ #12892]
6044         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
6045         it would create a cycle with a link time dependency.
6047 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
6049         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
6050         instruction.
6051         * string/Makefile (strop-tests): Add rawmemchr.
6052         * string/test-rawmemchr.c: New file.
6054         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
6055         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
6056         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
6057         when compiling str{,n}casecmp and when AVX is available.  Hook up
6058         new optimized code in initializers.
6060 2011-10-19  Andreas Schwab  <schwab@redhat.com>
6062         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
6063         __feraiseexcept instead of feraiseexcept.
6065 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
6067         * math/math_private.h: Define defaults for libc_fetestexcept and
6068         libc_feupdateenv.
6069         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
6070         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6071         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6072         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6073         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6074         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6075         libc_fetestexcept and libc_feupdateenv.
6077         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
6078         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
6079         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
6080         * sysdeps/x86_64/fpu/math_private.h: Define special version of
6081         libc_feholdexcept_setround.
6083         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
6084         Add s_nearbyint-c and s_nearbyintf-c.
6085         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
6086         nearbyintf inlines.
6087         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
6088         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
6089         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
6090         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
6092         * math/math_private.h: Define defaults for libc_fegetround,
6093         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
6094         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
6095         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
6096         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
6097         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
6098         standard functions.
6099         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6100         Remove comments and hacks for old compiler versions.
6101         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6102         libc_fegetround, libc_fesetround, libc_feholdexcept, and
6103         libc_feholdexceptl.
6105 2011-10-18  Andreas Schwab  <schwab@redhat.com>
6107         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
6108         (__feraiseexcept_renamed): Add __NTH.
6109         (feraiseexcept): Add __NTH.  Rename local variables to fix
6110         namespace violations.
6112 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
6114         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
6116         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
6118         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
6119         recently added interfaces.
6120         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
6122         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
6123         about macro parameter expansion.
6125         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
6126         __NO_MATH_INLINES is defined.  Cleanups.
6128         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
6129         and __floorf is target has SSE4.1.
6130         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
6131         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
6132         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
6133         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
6135         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
6136         name.
6137         (floorf): Likewise.
6139         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
6141 2011-10-17  Andreas Schwab  <schwab@redhat.com>
6143         * misc/sys/cdefs.h: Fix last change.
6145         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
6146         database lookup.
6148 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
6150         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
6152         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
6153         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6154         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6155         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6156         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6157         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6158         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6159         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6160         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6161         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
6162         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
6163         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
6164         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
6165         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
6166         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
6167         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
6168         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
6169         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
6170         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
6171         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
6172         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
6173         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
6175         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
6176         ceil, ceilf, floor, floorf.
6178         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
6179         Perform IRELATIVE relocations last.
6181         * elf/do-rel.h: Add another parameter nrelative, replacing the
6182         local variable with the same name.  Change name of the function
6183         to end in Rel or Rela (uppercase).
6184         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
6185         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
6186         elf_dynamic_do_##reloc function.
6188 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
6190         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
6191         is sufficient, at least on modern CPUs.
6193         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
6195         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
6196         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
6198         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
6199         __expl_finite.
6200         * math/bits/math-finite.h: Add entries for exp.
6201         * math/e_expl.c: Add __*_finite alias.
6202         * sysdeps/i386/fpu/e_exp.S: Likewise.
6203         * sysdeps/i386/fpu/e_expf.S: Likewise.
6204         * sysdeps/i386/fpu/e_expl.c: Likewise.
6205         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6206         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6207         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6208         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6209         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
6210         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6211         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6213         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
6214         is sufficient, at least on modern CPUs.
6216         * ctype/ctype-info.c (__ctype_init): Define.
6217         * include/ctype.h (__ctype_init): Declare.
6218         (__ctype_b_loc): The variable is always initialized.
6219         (__ctype_toupper_loc): Likewise.
6220         (__ctype_tolower_loc): Likewise.
6221         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
6222         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
6224 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
6226         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
6228         * configure.in: Also look in $cxxmachine/include for C++ system
6229         headers.
6231 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6233         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
6234         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
6235         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
6236         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
6237         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
6238         (USE_AS_WMEMCMP): New macro.
6239         Fixing indents.
6240         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
6241         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
6242         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
6243         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
6244         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6245         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
6246         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
6247         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
6248         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
6249         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
6250         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
6251         (USE_AS_WMEMCMP): New macro.
6252         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
6253         * sysdeps/string/test-memcmp.c: Update.
6254         Fix simple_wmemcmp.
6255         Add new tests.
6256         * wcsmbs/wmemcmp.c: Update.
6257         (WMEMCMP): New macro.
6258         Fix overflow bug.
6260 2011-10-12  Andreas Jaeger  <aj@suse.de>
6262         [BZ #13268]
6263         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
6265 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
6267         * libio/iofwide.c (do_length): Avoid warning.
6269         * ctype/ctype.h (__isctype_f): Add missing __THROW.
6271 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
6273         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
6275         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
6276         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
6277         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
6278         * sysdeps/i386/i686/fpu/e_log.S: New file.
6279         * sysdeps/i386/i686/fpu/e_logf.S: New file.
6280         * sysdeps/i386/i686/fpu/e_logl.S: New file.
6282         * ctype/ctype.h: Add support for inlined isXXX functions when
6283         compiling C++ code.
6285 2011-10-14  Andreas Schwab  <schwab@redhat.com>
6287         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6289         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
6291 2011-10-13  Roland McGrath  <roland@hack.frob.com>
6293         [BZ #13291]
6294         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
6296 2011-10-13  Andreas Schwab  <schwab@redhat.com>
6298         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
6299         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
6300         feraiseexcept.
6302         * sysdeps/x86_64/memrchr.S: Check for zero size.
6304         * string/stratcliff.c: Add memrchr tests.
6306 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6308         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6309         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
6310         rawmemchr-sse2 rawmemchr-sse2-bsf.
6311         * sysdeps/i386/i686/multiarch/memchr.S: New file.
6312         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
6313         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
6314         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
6315         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
6316         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
6317         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
6318         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
6319         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
6320         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
6321         * string/memrchr.c (MEMRCHR): New macro.
6323 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
6325         Add integration with gcc's -ffinite-math-only and optimize wrapper
6326         functions in libm.
6327         * Versions.def: Define GLIBC_2.15 version for libm.
6328         * math/Makefile (headers): Add bits/math-finite.h.
6329         * math/bits/math-finite.h: New file.
6330         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
6331         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
6332         * math/e_acoshl.c: Add __*_finite alias.
6333         * math/e_acosl.c: Likewise.
6334         * math/e_asinl.c: Likewise.
6335         * math/e_atan2l.c: Likewise.
6336         * math/e_atanhl.c: Likewise.
6337         * math/e_coshl.c: Likewise.
6338         * math/e_exp10.c: Likewise.
6339         * math/e_exp10f.c: Likewise.
6340         * math/e_exp10l.c: Likewise.
6341         * math/e_exp2l.c: Likewise.
6342         * math/e_fmodl.c: Likewise.
6343         * math/e_gammal_r.c: Likewise.
6344         * math/e_hypotl.c: Likewise.
6345         * math/e_j0l.c: Likewise.
6346         * math/e_j1l.c: Likewise.
6347         * math/e_jnl.c: Likewise.
6348         * math/e_lgammal_r.c: Likewise.
6349         * math/e_log10l.c: Likewise.
6350         * math/e_log2l.c: Likewise.
6351         * math/e_logl.c: Likewise.
6352         * math/e_powl.c: Likewise.
6353         * math/e_sinhl.c: Likewise.
6354         * math/e_sqrtl.c: Likewise.
6355         * math/e_scalb.c: Completely rewritten and optimized.
6356         * math/e_scalbf.c: Likewise.
6357         * math/e_scalbl.c: Likewise.
6358         * math/w_acos.c: Likewise.
6359         * math/w_acosf.c: Likewise.
6360         * math/w_acosl.c: Likewise.
6361         * math/w_acosh.c: Likewise.
6362         * math/w_acoshf.c: Likewise.
6363         * math/w_acoshl.c: Likewise.
6364         * math/w_asin.c: Likewise.
6365         * math/w_asinf.c: Likewise.
6366         * math/w_asinl.c: Likewise.
6367         * math/w_atan2.c: Likewise.
6368         * math/w_atan2f.c: Likewise.
6369         * math/w_atan2l.c: Likewise.
6370         * math/w_atanh.c: Likewise.
6371         * math/w_atanhf.c: Likewise.
6372         * math/w_atanhl.c: Likewise.
6373         * math/w_exp10.c: Likewise.
6374         * math/w_exp10f.c: Likewise.
6375         * math/w_exp10l.c: Likewise.
6376         * math/w_fmod.c: Likewise.
6377         * math/w_fmodf.c: Likewise.
6378         * math/w_fmodl.c: Likewise.
6379         * math/w_j0.c: Likewise.
6380         * math/w_j0f.c: Likewise.
6381         * math/w_j0l.c: Likewise.
6382         * math/w_j1.c: Likewise.
6383         * math/w_j1f.c: Likewise.
6384         * math/w_j1l.c: Likewise.
6385         * math/w_jn.c: Likewise.
6386         * math/w_jnf.c: Likewise.
6387         * math/w_log.c: Likewise.
6388         * math/w_logf.c: Likewise.
6389         * math/w_logl.c: Likewise.
6390         * math/w_log10.c: Likewise.
6391         * math/w_log10f.c: Likewise.
6392         * math/w_log10l.c: Likewise.
6393         * math/w_log2.c: Likewise.
6394         * math/w_log2f.c: Likewise.
6395         * math/w_log2l.c: Likewise.
6396         * math/w_pow.c: Likewise.
6397         * math/w_powf.c: Likewise.
6398         * math/w_powl.c: Likewise.
6399         * math/w_remainder.c: Likewise.
6400         * math/w_remainderf.c: Likewise.
6401         * math/w_remainderl.c: Likewise.
6402         * math/w_scalb.c: Likewise.
6403         * math/w_scalbf.c: Likewise.
6404         * math/w_scalbl.c: Likewise.
6405         * math/w_sqrt.c: Likewise.
6406         * math/w_sqrtf.c: Likewise.
6407         * math/w_sqrtl.c: Likewise.
6408         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
6409         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
6410         used.
6411         * math/math_private.h: Declare __kernel_standard_f.
6412         * math/w_cosh.c: Remove cruft and optimize a bit.
6413         * math/w_coshf.c: Likewise.
6414         * math/w_coshl.c: Likewise.
6415         * math/w_exp2.c: Likewise.
6416         * math/w_exp2f.c: Likewise.
6417         * math/w_exp2l.c: Likewise.
6418         * math/w_hypot.c: Likewise.
6419         * math/w_hypotf.c: Likewise.
6420         * math/w_hypotl.c: Likewise.
6421         * math/w_lgamma.c: Likewise.
6422         * math/w_lgamma_r.c: Likewise.
6423         * math/w_lgammaf.c: Likewise.
6424         * math/w_lgammaf_r.c: Likewise.
6425         * math/w_lgammal.c: Likewise.
6426         * math/w_lgammal_r.c: Likewise.
6427         * math/w_sinh.c: Likewise.
6428         * math/w_sinhf.c: Likewise.
6429         * math/w_sinhl.c: Likewise.
6430         * math/w_tgamma.c: Likewise.
6431         * math/w_tgammaf.c: Likewise.
6432         * math/w_tgammal.c: Likewise.
6433         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6434         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6435         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
6436         Minor optimizations.  Pretty printing.  Remove cruft.
6437         * sysdeps/i386/fpu/e_acosf.S: Likewise.
6438         * sysdeps/i386/fpu/e_acosh.S: Likewise.
6439         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6440         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6441         * sysdeps/i386/fpu/e_acosl.c: Likewise.
6442         * sysdeps/i386/fpu/e_asin.S: Likewise.
6443         * sysdeps/i386/fpu/e_asinf.S: Likewise.
6444         * sysdeps/i386/fpu/e_atan2.S: Likewise.
6445         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
6446         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
6447         * sysdeps/i386/fpu/e_atanh.S: Likewise.
6448         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6449         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6450         * sysdeps/i386/fpu/e_exp10.S: Likewise.
6451         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
6452         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
6453         * sysdeps/i386/fpu/e_exp2.S: Likewise.
6454         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6455         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6456         * sysdeps/i386/fpu/e_fmod.S: Likewise.
6457         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6458         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6459         * sysdeps/i386/fpu/e_hypot.S: Likewise.
6460         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6461         * sysdeps/i386/fpu/e_log.S: Likewise.
6462         * sysdeps/i386/fpu/e_log10.S: Likewise.
6463         * sysdeps/i386/fpu/e_log10f.S: Likewise.
6464         * sysdeps/i386/fpu/e_log10l.S: Likewise.
6465         * sysdeps/i386/fpu/e_log2.S: Likewise.
6466         * sysdeps/i386/fpu/e_log2f.S: Likewise.
6467         * sysdeps/i386/fpu/e_log2l.S: Likewise.
6468         * sysdeps/i386/fpu/e_logf.S: Likewise.
6469         * sysdeps/i386/fpu/e_logl.S: Likewise.
6470         * sysdeps/i386/fpu/e_pow.S: Likewise.
6471         * sysdeps/i386/fpu/e_powf.S: Likewise.
6472         * sysdeps/i386/fpu/e_powl.S: Likewise.
6473         * sysdeps/i386/fpu/e_remainder.S: Likewise.
6474         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6475         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6476         * sysdeps/i386/fpu/e_scalb.S: Likewise.
6477         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6478         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6479         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6480         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6481         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6482         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6483         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6484         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6485         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6486         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6487         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6488         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6489         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6490         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6491         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6492         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6493         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6494         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6495         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6496         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6497         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6498         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6499         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6500         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6501         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6502         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6503         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6504         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6505         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6506         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6507         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6508         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6509         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6510         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6511         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6512         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6513         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6514         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6515         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6516         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6517         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6518         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6519         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6520         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6521         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6522         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6523         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6524         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6525         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6526         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6527         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6528         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6529         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6530         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6531         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6532         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6533         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6534         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6535         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6536         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6537         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6538         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6539         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6540         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6541         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6542         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6543         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6544         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6545         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6546         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6547         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6548         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6549         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6550         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6551         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6552         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6553         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6554         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6555         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6556         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6557         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6558         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6559         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6560         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6561         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6562         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6563         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6564         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6565         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6566         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6567         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6568         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6569         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6570         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6571         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6572         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6573         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6574         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6575         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6576         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6577         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6578         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6579         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6580         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6581         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6582         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6583         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6584         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6585         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6586         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6587         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6588         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6589         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6590         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6591         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6592         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
6593         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6594         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6595         (__isnanf): Likewise.
6596         (__isinf_ns): Likewise.
6597         (__isinf_nsf): Likewise.
6598         (__finite): Likewise.
6599         (__finitef): Likewise.
6600         (__ieee754_sqrt): Define as macro.
6601         (__ieee754_sqrtf): Define as macro.
6602         (__ieee754_sqrtl): Define as macro.
6603         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6604         inlined copy.
6605         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6606         __FINITE_MATH_ONLY__ consistent.
6607         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6609 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
6611         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6612         of rawmemchr.
6614         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6616 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
6618         * po/ja.po: Update from translation team.
6620 2011-10-08  Roland McGrath  <roland@hack.frob.com>
6622         * locale/programs/locarchive.c (prepare_address_space): New function.
6623         (create_archive, enlarge_archive, open_archive): Use it.
6625         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6626         inside [SHARED], where it is used.
6628         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6630         * nss/getent.c (netgroup_keys): Remove unused variable.
6631         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6633 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
6635         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6636         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6637         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6638         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6639         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6640         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6641         * math/Makefile (libm-calls): Add s_isinf_ns.
6642         * math/divtc3.c: Use __isinf_nsl instead of isinf.
6643         * math/multc3.c: Likewise.
6644         * math/s_casin.c: Likewise.
6645         * math/s_casinf.c: Likewise.
6646         * math/s_casinl.c: Likewise.
6647         * math/s_ccos.c: Likewise.
6648         * math/s_ccosf.c: Likewise.
6649         * math/s_ccosl.c: Likewise.
6650         * math/s_ctan.c: Likewise.
6651         * math/s_ctanf.c: Likewise.
6652         * math/s_ctanh.c: Likewise.
6653         * math/s_ctanhf.c: Likewise.
6654         * math/s_ctanhl.c: Likewise.
6655         * math/s_ctanl.c: Likewise.
6656         * math/w_fmod.c: Likewise.
6657         * math/w_fmodf.c: Likewise.
6658         * math/w_fmodl.c: Likewise.
6659         * math/w_remainder.c: Likewise.
6660         * math/w_remainderf.c: Likewise.
6661         * math/w_remainderl.c: Likewise.
6662         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6663         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6664         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6665         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6666         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6667         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6668         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6669         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6671         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6672         of the number.
6673         * stdio-common/printf_fphex.c: Likewise.
6674         * stdio-common/printf_size.c: Likewise.
6676         * math/e_exp10.c: Include math_private.h using <...> not "...".
6677         * math/e_exp10f.c: Likewise.
6678         * math/e_exp10l.c: Likewise.
6679         * math/e_exp2l.c: Likewise.
6680         * math/e_j0l.c: Likewise.
6681         * math/e_j1l.c: Likewise.
6682         * math/e_jnl.c: Likewise.
6683         * math/e_lgammal_r.c: Likewise.
6684         * math/e_rem_pio2l.c: Likewise.
6685         * math/e_scalb.c: Likewise.
6686         * math/e_scalbf.c: Likewise.
6687         * math/e_scalbl.c: Likewise.
6688         * math/k_cosl.c: Likewise.
6689         * math/k_sinl.c: Likewise.
6690         * math/k_tanl.c: Likewise.
6691         * math/s_cacoshf.c: Likewise.
6692         * math/s_catan.c: Likewise.
6693         * math/s_catanf.c: Likewise.
6694         * math/s_catanh.c: Likewise.
6695         * math/s_catanhf.c: Likewise.
6696         * math/s_catanhl.c: Likewise.
6697         * math/s_catanl.c: Likewise.
6698         * math/s_ccosh.c: Likewise.
6699         * math/s_ccoshf.c: Likewise.
6700         * math/s_ccoshl.c: Likewise.
6701         * math/s_cexp.c: Likewise.
6702         * math/s_cexpf.c: Likewise.
6703         * math/s_cexpl.c: Likewise.
6704         * math/s_clog.c: Likewise.
6705         * math/s_clog10.c: Likewise.
6706         * math/s_clog10f.c: Likewise.
6707         * math/s_clog10l.c: Likewise.
6708         * math/s_clogf.c: Likewise.
6709         * math/s_clogl.c: Likewise.
6710         * math/s_csin.c: Likewise.
6711         * math/s_csinf.c: Likewise.
6712         * math/s_csinh.c: Likewise.
6713         * math/s_csinhf.c: Likewise.
6714         * math/s_csinhl.c: Likewise.
6715         * math/s_csinl.c: Likewise.
6716         * math/s_csqrt.c: Likewise.
6717         * math/s_csqrtf.c: Likewise.
6718         * math/s_csqrtl.c: Likewise.
6719         * math/s_ctan.c: Likewise.
6720         * math/s_ctanf.c: Likewise.
6721         * math/s_ctanh.c: Likewise.
6722         * math/s_ctanhf.c: Likewise.
6723         * math/s_ctanhl.c: Likewise.
6724         * math/s_ctanl.c: Likewise.
6725         * math/s_ldexp.c: Likewise.
6726         * math/s_ldexpf.c: Likewise.
6727         * math/s_ldexpl.c: Likewise.
6728         * math/s_significand.c: Likewise.
6729         * math/s_significandf.c: Likewise.
6730         * math/s_significandl.c: Likewise.
6731         * math/w_acos.c: Likewise.
6732         * math/w_acosf.c: Likewise.
6733         * math/w_acosh.c: Likewise.
6734         * math/w_acoshf.c: Likewise.
6735         * math/w_acoshl.c: Likewise.
6736         * math/w_acosl.c: Likewise.
6737         * math/w_asin.c: Likewise.
6738         * math/w_asinf.c: Likewise.
6739         * math/w_asinl.c: Likewise.
6740         * math/w_atan2.c: Likewise.
6741         * math/w_atan2f.c: Likewise.
6742         * math/w_atan2l.c: Likewise.
6743         * math/w_atanh.c: Likewise.
6744         * math/w_atanhf.c: Likewise.
6745         * math/w_atanhl.c: Likewise.
6746         * math/w_cosh.c: Likewise.
6747         * math/w_coshf.c: Likewise.
6748         * math/w_coshl.c: Likewise.
6749         * math/w_dremf.c: Likewise.
6750         * math/w_exp10.c: Likewise.
6751         * math/w_exp10f.c: Likewise.
6752         * math/w_exp10l.c: Likewise.
6753         * math/w_exp2.c: Likewise.
6754         * math/w_exp2f.c: Likewise.
6755         * math/w_fmod.c: Likewise.
6756         * math/w_fmodf.c: Likewise.
6757         * math/w_fmodl.c: Likewise.
6758         * math/w_hypot.c: Likewise.
6759         * math/w_hypotf.c: Likewise.
6760         * math/w_hypotl.c: Likewise.
6761         * math/w_j0.c: Likewise.
6762         * math/w_j0f.c: Likewise.
6763         * math/w_j0l.c: Likewise.
6764         * math/w_j1.c: Likewise.
6765         * math/w_j1f.c: Likewise.
6766         * math/w_j1l.c: Likewise.
6767         * math/w_jn.c: Likewise.
6768         * math/w_jnf.c: Likewise.
6769         * math/w_jnl.c: Likewise.
6770         * math/w_lgamma.c: Likewise.
6771         * math/w_lgamma_r.c: Likewise.
6772         * math/w_lgammaf.c: Likewise.
6773         * math/w_lgammaf_r.c: Likewise.
6774         * math/w_lgammal.c: Likewise.
6775         * math/w_lgammal_r.c: Likewise.
6776         * math/w_log.c: Likewise.
6777         * math/w_log10.c: Likewise.
6778         * math/w_log10f.c: Likewise.
6779         * math/w_log10l.c: Likewise.
6780         * math/w_log2.c: Likewise.
6781         * math/w_log2f.c: Likewise.
6782         * math/w_log2l.c: Likewise.
6783         * math/w_logf.c: Likewise.
6784         * math/w_logl.c: Likewise.
6785         * math/w_pow.c: Likewise.
6786         * math/w_powf.c: Likewise.
6787         * math/w_powl.c: Likewise.
6788         * math/w_remainder.c: Likewise.
6789         * math/w_remainderf.c: Likewise.
6790         * math/w_remainderl.c: Likewise.
6791         * math/w_scalb.c: Likewise.
6792         * math/w_scalbf.c: Likewise.
6793         * math/w_scalbl.c: Likewise.
6794         * math/w_sinh.c: Likewise.
6795         * math/w_sinhf.c: Likewise.
6796         * math/w_sinhl.c: Likewise.
6797         * math/w_sqrt.c: Likewise.
6798         * math/w_sqrtf.c: Likewise.
6799         * math/w_sqrtl.c: Likewise.
6800         * math/w_tgamma.c: Likewise.
6801         * math/w_tgammaf.c: Likewise.
6802         * math/w_tgammal.c: Likewise.
6804         * po/ja.po: Update from translation team.
6806 2011-09-29  Andreas Jaeger  <aj@suse.de>
6808         [BZ #13179]
6809         * sunrpc/netname.c (netname2host): Fix logic.
6811         [BZ #6779]
6812         [BZ #6783]
6813         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
6814         correctly.
6815         * math/w_remainder.c (__remainder): Likewise.
6816         * math/w_remainderf.c (__remainderf): Likewise.
6817         * math/libm-test.inc (remainder_test): Add test cases.
6819 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6821         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
6822         sdiv_qrnnd.
6824 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
6826         * string/test-memcmp.c: Avoid unncessary #defines.
6827         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6829 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6831         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
6832         Use new sse2 version for core i3 - i7 as it's faster
6833         than sse42 version.
6834         (bit_Prefer_PMINUB_for_stringop): New.
6835         * sysdeps/x86_64/rawmemchr.S: Update.
6836         Replace with faster SSE2 version.
6837         * sysdeps/x86_64/memrchr.S: New file.
6838         * sysdeps/x86_64/memchr.S: Update.
6839         Replace with faster SSE2 version.
6841 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
6843         * elf/dl-load.c (lose): Add cast to avoid warning.
6845 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
6847         * po/ca.po: Update from translation team.
6849         * inet/getnetgrent_r.c: Hook up nscd.
6850         * nscd/Makefile (routines): Add nscd_netgroup.
6851         (nscd-modules): Add netgroupcache.
6852         (CFLAGS-netgroupcache.c): Define.
6853         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
6854         (cache_search): Add const to second parameter.
6855         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
6856         INNETGR.
6857         (dbs): Add netgrdb entry.
6858         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
6859         (verify_persistent_db): Handle netgrdb.
6860         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
6861         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
6862         GETFDNETGR.
6863         (netgroup_response_header): Define.
6864         (innetgroup_response_header): Define.
6865         (datahead): Add netgroup_response_header and innetgroup_response_header
6866         elements.
6867         * nscd/nscd.conf: Add entries for netgroup cache.
6868         * nscd/nscd.h (dbtype): Add netgrdb.
6869         (_PATH_NSCD_NETGROUP_DB): Define.
6870         (netgroup_iov_disabled): Declare.
6871         (xmalloc, xcalloc, xrealloc): Move declarations here.
6872         (cache_search): Adjust prototype.
6873         Add netgroup-related prototypes.
6874         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
6875         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
6876         (__nscd_innetgr): Declare.
6877         * nscd/selinux.c (perms): Use access_vector_t as element type and
6878         add netgroup-related initializers.
6879         * nscd/netgroupcache.c: New file.
6880         * nscd/nscd_netgroup.c: New file.
6881         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
6882         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
6883         For four parameters use innetgr.
6884         * nss/nss_files/files-init.c: Add definition and callback for netgr.
6885         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
6886         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
6887         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
6889         * nscd/connections.c (register_traced_file): Don't register file
6890         for disabled databases.
6892 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
6894         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
6896         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
6897         from tree and freeing node.
6899 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
6901         * nss/nsswitch.c (__nss_database_lookup): Handle
6902         nss_parse_service_list out of memory case.
6904 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
6906         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
6907         out of memory case.
6909 2011-10-04  Andreas Schwab  <schwab@redhat.com>
6911         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
6912         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
6913         pass it down.
6914         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
6915         elf_machine_rela, elf_machine_lazy_rel.
6916         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
6917         (ELF_DYNAMIC_DO_REL): Likewise.
6918         (ELF_DYNAMIC_DO_RELA): Likewise.
6919         (ELF_DYNAMIC_RELOCATE): Likewise.
6920         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
6921         to ELF_DYNAMIC_DO_REL.
6922         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
6923         (dl_main): In trace mode always set __RTLD_NOIFUNC.
6924         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
6925         elf_machine_rela.
6926         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
6927         skip_ifunc, don't call ifunc function if non-zero.
6928         (elf_machine_rela): Likewise.
6929         (elf_machine_lazy_rel): Likewise.
6930         (elf_machine_lazy_rela): Likewise.
6931         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
6932         (elf_machine_lazy_rel): Likewise.
6933         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
6934         Likewise.
6935         (elf_machine_lazy_rel): Likewise.
6936         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6937         Likewise.
6938         (elf_machine_lazy_rel): Likewise.
6939         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
6940         (elf_machine_lazy_rel): Likewise.
6941         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
6942         (elf_machine_lazy_rel): Likewise.
6943         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6944         (elf_machine_lazy_rel): Likewise.
6945         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6946         (elf_machine_lazy_rel): Likewise.
6947         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6948         (elf_machine_lazy_rel): Likewise.
6949         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6950         (elf_machine_lazy_rel): Likewise.
6952 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
6954         * nss/nss_files/files-init.c (_nss_files_init): Use static
6955         initialization for all the *_traced_file variables.
6957 2011-09-28  Andreas Schwab  <schwab@redhat.com>
6959         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6961 2011-09-27  Roland McGrath  <roland@hack.frob.com>
6963         [BZ #13226]
6964         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
6966 2011-09-27  Andreas Schwab  <schwab@redhat.com>
6968         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6969         Reread the line before reparsing it.
6971 2011-09-26  Andreas Schwab  <schwab@redhat.com>
6973         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
6975 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
6976             Maxim Kuvyrkov  <maxim@codesourcery.com>
6977             Joseph Myers  <joseph@codesourcery.com>
6979         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
6980         if needed for __stack_chk_guard.
6982 2011-09-19  Roland McGrath  <roland@hack.frob.com>
6984         * sysdeps/posix/spawni.c (script_execute): Always define it.
6985         It will be optimized away if unused.
6986         (maybe_script_execute): New function.
6987         (__spawni): Call it.
6989         * Makerules: Don't include tls.make.
6990         (config-tls): Always set to thread.
6991         * tls.make.c: File removed.
6993 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
6995         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
6996         * config.make.in (CPPFLAGS-config): New substituted variable.
6998 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
7000         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
7002         [BZ #13192]
7003         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
7004         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
7006 2011-09-15  Roland McGrath  <roland@hack.frob.com>
7008         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
7009         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
7010         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
7011         (CALL_FAIL): Likewise.
7012         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
7013         (CALL_FAIL): Macro removed.
7014         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
7016 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
7018         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
7019         for __FINITE_MATH_ONLY__ == 1.
7021 2011-09-15  Andreas Schwab  <schwab@redhat.com>
7023         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
7024         __ieee754_sqrt instead of sqrt.
7025         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
7026         __ieee754_sqrtf instead of sqrtf.
7027         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7028         __floorf instead of floorf.
7029         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
7030         __floorf, __truncf instead of floorf, truncf.
7032 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
7034         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
7036         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
7037         __extern_always_inline.
7038         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
7039         32-bit.
7041 2011-09-14  Andreas Schwab  <schwab@redhat.com>
7043         * elf/rtld.c (dl_main): Also relocate in dependency order when
7044         doing symbol dependency testing.
7046 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
7048         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7049         Always define `refsym'.
7051 2011-09-13  Andreas Schwab  <schwab@redhat.com>
7053         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
7054         (__FD_ELT): Renamed from __FDELT.
7055         * misc/bits/select2.h (__FD_ELT): Likewise.
7056         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
7057         __FD_MASK instead of __FDELT, __FDMASK.
7058         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7059         Likewise.
7060         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7061         Likewise.
7063         * elf/Makefile (gen-ldd): Fix pattern.
7065         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
7066         (init_tls): Likewise.
7068 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
7070         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
7072 2011-09-12  Andreas Schwab  <schwab@redhat.com>
7074         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
7075         `struct cmsghdr *' instead of `void *'.
7076         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
7077         Likewise.
7079 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
7081         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
7082         if non-absolute.
7083         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
7084         ldd_rewrite_script.
7086 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
7088         * configure.in: Remove --with-tls option.
7089         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
7090         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
7091         out in case it is missing.
7092         * sysdeps/ia64/elf/configure.in: Likewise.
7093         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
7094         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
7095         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
7096         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
7097         * sysdeps/sh/elf/configure.in: Likewise.
7098         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
7099         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7100         * sysdeps/x86_64/elf/configure.in: Likewise.
7101         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
7102         * sysdeps/mach/hurd/tls.h: Likewise.
7104         [BZ #13067]
7105         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
7107         [BZ #13090]
7108         * configure.in: Fix use of AC_INIT.
7110         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
7112 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
7114         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
7115         __set_errno.
7116         * malloc/hooks.c: Likewise.
7118         [BZ #11929]
7119         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
7120         variables statically.
7121         (narenas): Initialize.
7122         (list_lock): Initialize.
7123         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
7124         initializtion of main_arena and list_lock.  Small cleanups.
7125         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
7126         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
7127         Add initializers to main_arena and mp_.
7128         (malloc_state): Remove pagesize member.  Change all users to use
7129         GLRO(dl_pagesize).
7131         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
7132         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
7133         is always initialized.
7135         * malloc/malloc.c: Removed unused configurations and dead code.
7136         * malloc/arena.c: Likewise.
7137         * malloc/hooks.c: Likewise.
7138         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
7140         * include/tls.h: Removed.  USE___THREAD must always be defined.
7141         * bits/libc-tsd.h: Don't handle !USE___THREAD.
7142         * elf/dl-libc.c: Likewise.
7143         * elf/dl-tsd.c: Likewise.
7144         * include/errno.h: Likewise.
7145         * include/netdb.h: Likewise.
7146         * include/resolv.h: Likewise.
7147         * inet/herrno-loc.c: Likewise.
7148         * inet/herrno.c: Likewise.
7149         * malloc/arena.c: Likewise.
7150         * malloc/hooks.c: Likewise.
7151         * malloc/malloc.c: Likewise.
7152         * resolv/res-state.c: Likewise.
7153         * resolv/res_libc.c: Likewise.
7154         * sysdeps/i386/dl-machine.h: Likewise.
7155         * sysdeps/ia64/dl-machine.h: Likewise.
7156         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7157         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7158         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7159         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7160         * sysdeps/sh/dl-machine.h: Likewise.
7161         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7162         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7163         * sysdeps/unix/i386/sysdep.S: Likewise.
7164         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7165         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7166         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7167         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7168         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7169         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7170         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7171         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7172         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7173         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7174         * sysdeps/unix/x86_64/sysdep.S: Likewise.
7175         * sysdeps/x86_64/dl-machine.h: Likewise.
7176         * tls.make.c: Likewise.
7178         * configure.in: Remove --with-__thread option.  Make tests for
7179         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
7180         tls_model attribute fail if no support is available.  Remove
7181         USE_IN_LIBIO.
7182         * Makeconfig: Adjust for dropped configure option.  All features are
7183         now mandatory.
7184         * Makerules: Likewise.
7185         * Versions.def: Likewise.
7186         * argp/argp-fmtstream.c: Likewise.
7187         * argp/argp-fmtstream.h: Likewise.
7188         * argp/argp-help.c: Likewise.
7189         * assert/assert.c: Likewise.
7190         * config.h.in: Likewise.
7191         * config.make.in: Likewise.
7192         * configure: Likewise.
7193         * configure.in: Likewise.
7194         * csu/Versions: Likewise.
7195         * csu/init.c: Likewise.
7196         * elf/tst-audit2.c: Likewise.
7197         * elf/tst-tls10.c: Likewise.
7198         * elf/tst-tls10.h: Likewise.
7199         * elf/tst-tls11.c: Likewise.
7200         * elf/tst-tls12.c: Likewise.
7201         * elf/tst-tls14.c: Likewise.
7202         * elf/tst-tlsmod11.c: Likewise.
7203         * elf/tst-tlsmod12.c: Likewise.
7204         * elf/tst-tlsmod13.c: Likewise.
7205         * elf/tst-tlsmod13a.c: Likewise.
7206         * elf/tst-tlsmod14a.c: Likewise.
7207         * elf/tst-tlsmod15b.c: Likewise.
7208         * elf/tst-tlsmod16a.c: Likewise.
7209         * elf/tst-tlsmod16b.c: Likewise.
7210         * elf/tst-tlsmod7.c: Likewise.
7211         * elf/tst-tlsmod8.c: Likewise.
7212         * elf/tst-tlsmod9.c: Likewise.
7213         * gmon/gmon.c: Likewise.
7214         * grp/fgetgrent_r.c: Likewise.
7215         * grp/putgrent.c: Likewise.
7216         * hurd/fopenport.c: Likewise.
7217         * include/libc-symbols.h: Likewise.
7218         * include/tls.h: Likewise.
7219         * intl/gettextP.h: Likewise.
7220         * intl/loadinfo.h: Likewise.
7221         * locale/global-locale.c: Likewise.
7222         * locale/localeinfo.h: Likewise.
7223         * mach/devstream.c: Likewise.
7224         * malloc/arena.c: Likewise.
7225         * malloc/set-freeres.c: Likewise.
7226         * misc/err.c: Likewise.
7227         * misc/getttyent.c: Likewise.
7228         * misc/mntent_r.c: Likewise.
7229         * posix/getopt.c: Likewise.
7230         * posix/wordexp.c: Likewise.
7231         * pwd/fgetpwent_r.c: Likewise.
7232         * resolv/Versions: Likewise.
7233         * resolv/res_hconf.c: Likewise.
7234         * shadow/fgetspent_r.c: Likewise.
7235         * shadow/putspent.c: Likewise.
7236         * stdio-common/printf_fphex.c: Likewise.
7237         * stdio-common/tmpfile.c: Likewise.
7238         * stdlib/abort.c: Likewise.
7239         * stdlib/fmtmsg.c: Likewise.
7240         * sunrpc/auth_unix.c: Likewise.
7241         * sunrpc/clnt_perr.c: Likewise.
7242         * sunrpc/clnt_tcp.c: Likewise.
7243         * sunrpc/clnt_udp.c: Likewise.
7244         * sunrpc/clnt_unix.c: Likewise.
7245         * sunrpc/openchild.c: Likewise.
7246         * sunrpc/svc_simple.c: Likewise.
7247         * sunrpc/svc_tcp.c: Likewise.
7248         * sunrpc/svc_udp.c: Likewise.
7249         * sunrpc/svc_unix.c: Likewise.
7250         * sunrpc/xdr.c: Likewise.
7251         * sunrpc/xdr_array.c: Likewise.
7252         * sunrpc/xdr_rec.c: Likewise.
7253         * sunrpc/xdr_ref.c: Likewise.
7254         * sunrpc/xdr_stdio.c: Likewise.
7256 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
7258         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7260 2011-07-03  Andreas Jaeger  <aj@suse.de>
7262         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
7263         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
7264         regenerate with gen-libm-tests.pl.
7266 2010-05-12  Petr Baudis  <pasky@suse.cz>
7268         [BZ #11589]
7269         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
7270         around j0() zero points by switching to j1().
7271         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7272         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7273         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7274         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7276 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
7278         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
7279         instead of 0.
7280         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
7281         instead of 0.                              .
7282         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7283         Patch in part by Pavel Roskin <proski@gnu.org>.
7285         [BZ #13138]
7286         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
7287         realloc.
7288         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
7289         Free memory block if necessary.
7291         [BZ #12847]
7292         * libio/genops.c (INTDEF): For string streams the _lock pointer can
7293         be NULL.  Don't lock in this case.
7295 2011-09-09  Roland McGrath  <roland@hack.frob.com>
7297         * elf/elf.h (ELFOSABI_GNU): New macro.
7298         (ELFOSABI_LINUX): Define to that.
7300 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
7302         * string/strncat.c (strncat): Undef the symbol in case it has been
7303         defined in bits/string.h.
7305 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
7307         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
7309         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
7310         link map.
7312 2011-08-17  Andreas Jaeger  <aj@suse.de>
7314         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
7316 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
7317             Ian Lance Taylor  <iant@google.com>
7319         * math/libm-test.inc (lround_test): New testcase.
7320         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
7322 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
7324         * Makefile: Remove support for automatic cvs check-ins.
7325         * Makerules: Likewise.
7326         * config.make.in: Likewise.
7327         * configure.in: Likewise.
7328         * intl/Makefile: Likewise.
7329         * locale/Makefile: Likewise.
7330         * po/Makefile: Likewise.
7331         * posix/Makefile: Likewise.
7332         * sysdeps/gnu/Makefile: Likewise.
7333         * sysdeps/mach/hurd/Makefile: Likewise.
7334         * sysdeps/sparc/sparc32/Makefile: Likewise.
7336         [BZ #13118]
7337         * posix/Makefile (bug-regex32-ENV): Define.
7338         Patch by John Stanley <jpsinthemix@verizon.net>.
7340         * misc/Makefile (headers): Add bits/select2.h.
7341         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
7342         * misc/bits/select2.h: New file.
7343         * include/bits/select2.h: New file.
7344         * debug/Makefile (routines): Add fdelt_chk.
7345         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
7346         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
7347         FD_ISSET.
7348         * debug/fdelt_chk.c: New file.
7350         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
7351         * wcsmbs/test-wmemcmp.c: Likewise.
7352         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
7353         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
7355 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7357         * string/Makefile (strop-tests): Add memcmp.
7358         * string/test-wmemcmp.c: New file.
7359         * string/test-memcmp.c: Add wmemcmp support.
7361 2011-09-08  Roland McGrath  <roland@hack.frob.com>
7363         [BZ #13153]
7364         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
7365         2011-07-19 change.
7367         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
7368         garbage value in a __mach_port_mod_refs call in the cases of the
7369         task-self and thread-self ports.
7371 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7373         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
7375 2011-09-08  Andreas Schwab  <schwab@redhat.com>
7377         * elf/dl-load.c (lose): Check for non-null L.
7379 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
7381         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
7383         * elf/dl-libc.c (dlerror_run): Pass back error code from
7384         dl_catch_error.
7386         [BZ #13123]
7387         * elf/dl-load.c (lose): Free l_origin if it is valid.
7389         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
7390         names.
7391         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7392         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7393         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7394         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7395         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7396         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
7398 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7400         * sysdeps/powerpc/fpu/e_hypot.c: New file.
7401         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
7402         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
7403         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
7404         * sysdeps/powerpc/fpu/k_cosf.c: New file.
7405         * sysdeps/powerpc/fpu/k_sinf.c: New file.
7406         * sysdeps/powerpc/fpu/s_cosf.c: New file.
7407         * sysdeps/powerpc/fpu/s_sinf.c: New file.
7408         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
7409         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
7411 2011-08-15  Alan Modra  <amodra@gmail.com>
7413         [BZ #13092]
7414         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
7415         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
7416         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
7417         ppc_mcount to static-only-routines.
7418         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
7419         __mcount_internal.
7420         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
7421         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
7423 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
7425         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
7426         for finite and infinity parameters.
7428 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
7430         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
7431         and add nop instructions for throughput optimization.
7432         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7434 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
7436         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
7437         aligned copy for power7 with vector-scalar instructions.
7438         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7440 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
7442         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
7443         AVX check.
7445 2011-09-07  Andreas Schwab  <schwab@redhat.com>
7447         [BZ #13144]
7448         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
7449         last change.
7451 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
7453         * sysdeps/unix/sysv/linux/x86_64/init-first.c
7454         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7455         syscall wrapper around clock_gettime in __vdso_clock_gettime.
7456         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7457         clock_gettime.
7459 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
7461         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7462         Forgot to demangle the pointer.
7464         * sysdeps/i386/sysdep.h: Define atom_text_section.
7465         * sysdeps/x86_64/sysdep.h: Likewise.
7466         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7467         section with atom_text_section.
7468         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7469         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7470         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7471         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7472         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7474         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7475         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7476         already be defined.  Change to take two parameters and don't assign
7477         result to variable.  Adjust all users.
7478         Define INTERNAL_GETTIME if not already defined.
7479         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7480         call.
7481         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7482         HAVE_CLOCK_GETTIME_VSYSCALL.
7483         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7485         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7486         gettimeofday vsyscall, just use time.
7488 2011-09-06  Andreas Schwab  <schwab@redhat.com>
7490         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7491         <errno.h>.
7493 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
7495         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7496         syscall on x86-64.
7497         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7498         syscall.
7499         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7500         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7501         syscall if possible.
7503 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
7505         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7506         e_ident.  Don't pass to find_mapsXX.
7507         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7509 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7511         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7512         strchr-sse2-no-bsf strrchr-sse2-no-bsf
7513         * sysdeps/x86_64/multiarch/strchr.S: Update.
7514         Check bit_slow_BSF bit.
7515         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7516         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7517         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7519 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
7521         [BZ #13134]
7522         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7523         before glibc 2.15.
7524         (tryshell): Define.
7525         (__spawni): Change last parameter to be flag.  Test
7526         SPAWN_XFLAGS_USE_PATH flag to use path or not.
7527         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7528         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7529         * posix/spawni.c: Likewise.
7530         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7531         * posix/spawnp.c: Likewise.  Change normal version to use
7532         SPAWN_XFLAGS_USE_PATH.
7533         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7534         SPAWN_XFLAGS_TRY_SHELL.
7536         [BZ #13150]
7537         * posix/glob.h: Remove gcc 1.x support.
7539         [BZ #13068]
7540         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7542 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7544         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7545         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7546         strrchr-sse2-bsf
7547         * sysdeps/i386/i686/multiarch/strchr.S: New file.
7548         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7549         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7550         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7551         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7552         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7554 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7556         * sysdeps/x86_64/wcscmp.S: New file.
7558         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7559         wcscmp-c wcscmp-sse2
7560         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7561         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7562         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7563         * wcsmbs/wcscmp.c: Allow renaming.
7565 2011-09-05  David S. Miller  <davem@davemloft.net>
7567         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7568         stack slot, rather than the struct return pointer slot.
7569         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7570         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7571         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7572         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7574 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
7576         * po/ja.po: Update from translation team.
7578         [BZ #13144]
7579         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7580         kernel in 64-bit binaries.
7582 2011-09-01  David S. Miller  <davem@davemloft.net>
7584         * elf/elf.h (HWCAP_SPARC_*): Move to..
7585         * sysdeps/sparc/sysdep.h: this new file and add new values.
7586         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7587         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7588         _DL_HWCAP_COUNT to 24.
7589         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7590         entries.
7591         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7592         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7593         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7594         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7595         instead of magic constants.
7596         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7598 2011-08-31  David S. Miller  <davem@davemloft.net>
7600         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7601         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7602         Reimplement to do errno handling inline.
7603         (SYSCALL_ERROR_HANDLER): New macro.
7604         (__SYSCALL_STRING): Do not do errno handling in asm.
7605         (__CLONE_SYSCALL_STRING): Delete.
7606         (__INTERNAL_SYSCALL_STRING): Delete.
7607         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7608         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7609         (PSEUDO): Reimplement to do errno handling inline.
7610         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7611         (SYSCALL_ERROR_HANDLER): New macro.
7612         (__SYSCALL_STRING): Do not do errno handling in asm.
7613         (__CLONE_SYSCALL_STRING): Delete.
7614         (__INTERNAL_SYSCALL_STRING): Delete.
7615         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7616         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7617         i386.
7618         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7619         (inline_syscall*): Add 'err' argument.
7620         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7621         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7622         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7623         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7625         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7626         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7628 2011-08-30  Andreas Schwab  <schwab@redhat.com>
7630         * elf/rtld.c (dl_main): Relocate objects in dependency order.
7632 2011-08-29  Jiri Olsa <jolsa@redhat.com>
7634         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7635         directive.
7637 2011-08-24  David S. Miller  <davem@davemloft.net>
7639         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7641 2011-08-24  Andreas Schwab  <schwab@redhat.com>
7643         * elf/Makefile: Add rules to build and run unload8 test.
7644         * elf/unload8.c: New file.
7645         * elf/unload8mod1.c: New file.
7646         * elf/unload8mod1x.c: New file.
7647         * elf/unload8mod2.c: New file.
7648         * elf/unload8mod3.c: New file.
7650         * elf/dl-close.c (_dl_close_worker): Reset private search list if
7651         it wasn't used.
7653 2011-08-23  David S. Miller  <davem@davemloft.net>
7655         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7656         subtract stack bias.
7657         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7658         %sp not %fp in calculations.
7659         (_JMPBUF_UNWINDS_ADJ): Likewise.
7661         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7662         (aio_suspend): Call it to force an exception region around the
7663         AIO_MISC_WAIT() invocation.
7665 2011-08-23  Andreas Schwab  <schwab@redhat.com>
7667         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7668         backslash.
7670 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
7672         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7673         protection macro.
7674         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7675         and <dl-machine.h>.
7676         (Elf64_FuncDesc): Remove.
7678 2011-08-22  David S. Miller  <davem@davemloft.net>
7680         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7681         sigaltstack check, add missing cfi directives.
7682         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7683         missing cfi directives, and sigaltstack handling.
7685 2011-08-16  Andreas Schwab  <schwab@redhat.com>
7687         [BZ #11724]
7688         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7689         object is seen twice.
7690         * elf/dl-fini.c (_dl_sort_fini): Likewise.
7692         * elf/Makefile (distribute): Add tst-initorder2.c.
7693         (tests): Add tst-initorder2.
7694         (modules-names): Add tst-initorder2a tst-initorder2b
7695         tst-initorder2c tst-initorder2d.  Add rules to build them.
7696         ($(objpfx)tst-initorder2.out): New rule.
7697         * elf/tst-initorder2.c: New file.
7698         * elf/tst-initorder2.exp: New file.
7700 2011-08-22  Andreas Schwab  <schwab@redhat.com>
7702         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7704         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7705         dependencies back to end of function.
7707         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7708         $(elfobjdir)/ld.so.
7710 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
7712         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7713         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7714         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
7715         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
7716         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
7717         of __vdso_gettimeofday.
7718         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
7719         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
7720         attribute_hidden.
7721         (_libc_vdso_platform_setup): Remove initialization of
7722         __vdso_gettimeofday and __vdso_time.
7724 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
7726         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
7727         and fgetc_unlocked.
7728         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
7729         getc_unlocked.
7731         * elf/dl-open.c (add_to_global): Report additions to the global scope
7732         for LD_DEBUG=scopes.
7733         (dl_open_worker): Also print scope of newly loaded dependencies.
7734         (_dl_show_scope): Indicate if there is no scope.
7736         [BZ #13114]
7737         * stdio-common/Makefile (tests): Add bug24.
7738         * stdio-common/bug24.c: New file.
7740 2011-08-19  Andreas Jaeger  <aj@suse.de>
7742         [BZ #13114]
7743         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
7744         non-existant file when using close-on-exec mode.
7746 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
7748         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
7749         the very first instruction.
7751         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
7752         the CFI state in the end.
7753         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
7754         inclusion of dl-trampoline.h.
7755         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
7757 2011-08-19  Andreas Schwab  <schwab@redhat.com>
7759         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
7760         expectations for long double.
7762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
7763         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
7765 2011-08-14  David S. Miller  <davem@davemloft.net>
7767         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
7768         artificual limit depends upon the system page size.
7770 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
7772         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
7773         * resolv/Makefile: Define CFLAGS-libresolv.
7775 2011-08-17  Andreas Schwab  <schwab@redhat.com>
7777         * nss/makedb.c (compute_tables): Make variables used in nested
7778         function static.
7780 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
7782         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
7783         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
7784         if buffer was too small.
7786         * elf/pldd.c (main): Attach to all threads in the process.
7787         Rewrite /proc handling to use *at functions.
7789 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
7791         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
7792         specifies first scope to show.
7793         (dl_open_worker): Update callers.  Move printing scope of new
7794         object to before the relocation.
7795         * elf/rtld.c (dl_main): Update _dl_show_scope call.
7796         * sysdeps/generic/ldsodefs.h: Update declaration.
7798         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
7799         string for the scope number.
7801 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
7803         * nscd/servicescache.c (cache_addserv): Make sure written is always
7804         initialized.
7806 2011-08-14  Roland McGrath  <roland@hack.frob.com>
7808         * sysdeps/i386/i486/bits/atomic.h
7809         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
7810         statement expression, so as to suppress "set but not used" warning.
7811         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
7813         * string/strncat.c (STRNCAT): Use prototype definition.
7815         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
7816         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
7817         -Iprograms here.
7818         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
7819         (localedef-modules): Add localedef.
7820         (locale-modules): Add locale.
7822         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
7823         * elf/rtld.c (dl_main): Invert order of assignment in last change,
7824         to avoid a warning.
7826 2011-08-14  David S. Miller  <davem@davemloft.net>
7828         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
7829         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
7831 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
7833         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
7834         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
7835         * elf/rtld.c (dl_main): Set l_name of vDSO.
7836         Call _dl_show_scope when DL_DEBUG_SCOPES.
7837         (process_dl_debug): Recognize scopes flag and also set it for all.
7838         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
7839         Declare _dl_show_scope.
7841         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
7842         (do_dlopen): Pass caller_dlopen to dl_open.
7843         (__libc_dlopen_mode): Initialize caller_dlopen.
7845         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
7846         of libc.  Make tolower call locale-independent.  Optimize a bit by
7847         using isdigit instead of isalnum.
7848         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
7850 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
7852         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
7853         was a dependency or dynamically loaded.
7855 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
7857         * intl/l10nflist.c: Allow architecture-specific pop function.
7858         * sysdeps/x86_64/l10nflist.c: New file.
7860         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
7861         classification.
7863 2011-08-10  Andreas Schwab  <schwab@redhat.com>
7865         * include/dirent.h: Add libc_hidden_proto for scandirat and
7866         scandirat64.  Don't declare __scandirat64.
7867         * dirent/scandirat.c: Add libc_hidden_def.
7868         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
7869         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
7871 2011-08-10  David S. Miller  <davem@davemloft.net>
7873         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
7874         enum.
7875         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7876         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7877         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7879 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
7881         * Versions.def [libc]: Add GLIBC_2.15.
7882         * dirent/Makefile (routines): Add scandirat and scandirat64.
7883         * dirent/Versions [libc]: Export scandirat and scandirat64 for
7884         GLIBC_2.15.
7885         * dirent/dirent.h: Declare scandirat and scandirat64.
7886         * dirent/scandirat.c: New file.
7887         * dirent/scandirat64.c: New file.
7888         * sysdeps/wordsize-64/scandirat.c: New file.
7889         * sysdeps/wordsize-64/scandirat64.c: New file.
7890         * dirent/opendir.c: Define opendirat.
7891         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
7892         using scandirat.
7893         * dirent/scandir64.c: Adjust for scandir.c change.
7894         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
7895         __scandirat64, and __scandir_cancel_handler.
7896         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
7897         additional parameter and use openat instead of open (outside of ld.so).
7898         Add new __opendir as wrapper around __opendirat.
7899         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
7900         here without requiring old scandirat implementation.
7902 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
7904         * dirent/scandir.c (cancel_handler): Renamed to
7905         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
7906         defined.  Adjust users.
7907         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
7908         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
7910 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
7912         * string/test-string.h (IMPL): Use __STRING to expand name and then
7913         stringify it.
7915         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
7916         of cleanups.
7918 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7920         * string/Makefile: Update.
7921         (strop-tests): Append strncat.
7922         * string/test-wcscmp.c: New file.
7923         New comprehensive test for wcscmp.
7924         * string/test-strcmp.c: Update.
7925         (WIDE): New define.
7927 2011-07-22  Andreas Schwab  <schwab@redhat.com>
7929         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
7930         line.
7932 2011-07-26  Andreas Schwab  <schwab@redhat.com>
7934         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7935         encoding to ACE if AI_IDN.
7937 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
7939         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
7940         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
7942 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7944         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
7945         Fix overflow bug in strncat.
7946         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7948         * string/test-strncat.c: Update.
7949         Add new tests for checking overflow bugs.
7951 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7953         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7954         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
7955         * sysdeps/i386/i686/multiarch/strcat.S: New file.
7956         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
7957         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
7958         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
7959         * sysdeps/i386/i686/multiarch/strncat.S: New file.
7960         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
7961         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
7963         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
7964         (USE_AS_STRCAT): Define.
7965         Add strcat and strncat support.
7966         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7968 2011-07-25  Andreas Schwab  <schwab@redhat.com>
7970         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
7971         __n bigger than INT_MAX+1.
7972         (__strncmp_g): Likewise.
7974 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
7976         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
7977         * libio/stido.h: Likewise.
7979         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
7980         (AF_NFC): Define.
7981         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
7982         (AF_NFC): Define.
7984         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
7985         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7986         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7987         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7988         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7990         [BZ #13021]
7991         * scripts/test-installation.pl: Don't expect libnss_test1 to be
7992         installed.
7994         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
7995         typo.
7996         (_dl_x86_64_save_sse): Likewise.
7998 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
8000         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
8001         OSXSAVE.
8002         (_dl_x86_64_save_sse): Likewise.
8004         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
8006         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
8008 2011-07-21  Andreas Schwab  <schwab@redhat.com>
8010         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
8011         change.
8012         (_dl_x86_64_save_sse): Use correct AVX check.
8014 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8016         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
8017         bug in strncpy/strncat.
8018         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8020 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
8022         * string/tester.c (test_strcat): Add tests for different alignments
8023         of source and destination.
8024         (test_strncat): Likewise.
8026 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
8028         [BZ #12852]
8029         * posix/glob.c (glob): Check passed in values before using them in
8030         expressions to avoid some overflows.
8031         (glob_in_dir): Likewise.
8033         [BZ #13007]
8034         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
8035         check for AVX enablement so that we don't crash with old kernels and
8036         new hardware.
8037         * elf/tst-audit4.c: Add same checks here.
8038         * elf/tst-audit6.c: Likewise.
8040         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
8042 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
8044         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
8046 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
8048         * po/cs.po: Update from translation team.
8049         * po/bg.po: Likewise.
8051 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
8053         * misc/sys/cdefs.h: Add support for const attribute.
8054         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
8055         to gnu_dev_{major,minor,makedev} functions.
8057 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
8059         * intl/dcigettext.c (get_output_charset): Add missing bracket.
8061 2011-07-20  Andreas Schwab  <schwab@redhat.com>
8063         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
8064         strlen results.
8066 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8068         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
8069         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
8070         register in order to avoid conflicts with the soft frame pointer
8071         being held in r11 when necessary.
8072         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
8073         (INTERNAL_VSYSCALL_NCS): Likewise.
8075 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
8077         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
8078         * elf/dl-fini.c (_dl_fini): Adjust caller.
8079         * elf/dl-close.c (_dl_close_worker): Likewise.
8080         * sysdeps/generic/ldsodefs.h: Adjust declaration.
8082 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
8084         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
8085         "aux_cache->nlibs < 0".
8087         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
8088         in the reload-count case.
8090 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8092         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8093         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
8094         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
8095         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
8096         * sysdeps/x86_64/multiarch/strcat.S: New file.
8097         * sysdeps/x86_64/multiarch/strncat.S: New file.
8098         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
8099         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
8100         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
8101         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
8102         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
8103         (USE_AS_STRCAT): Define.
8104         Add strcat and strncat support.
8105         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8106         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8107         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
8108         * string/strncat.c: Update.
8109         (USE_AS_STRNCAT): Define.
8110         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8111         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
8112         and i7.
8113         * sysdeps/x86_64/multiarch/init-arch.h
8114         (bit_Prefer_PMINUB_for_stringop): New.
8115         (index_Prefer_PMINUB_for_stringop): Likewise.
8116         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
8117         bit_Prefer_PMINUB_for_stringop.
8119 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
8121         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
8122         buffer64.
8123         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
8124         of casting of buffer.
8125         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
8126         buffer32 and buffer64.
8127         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
8128         writes instead of casting of buffer.
8129         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
8130         buffer32.
8131         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
8132         casting of buffer.
8134 2011-07-19  Andreas Schwab  <schwab@redhat.com>
8136         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
8138 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
8140         * nscd/nscd.c (termination_handler): Don't do anything for a database
8141         if it has not yet been initialized.
8143 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
8145         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8147 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
8149         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8151 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
8153         * po/nl.po: Update from translation team.
8154         * po/sv.po: Likewise.
8156 2011-07-16  Roland McGrath  <roland@hack.frob.com>
8158         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
8159         now disallowed by GCC.
8161         * configure.in (use-default-link): Default to yes if a test -shared
8162         link meets our qualifications.
8163         * configure: Regenerated.
8165         * config.make.in (output-format): New variable.
8166         * configure.in: Check for ld --print-output-format support.
8167         * configure: Regenerated.
8168         * Makerules ($(common-objpfx)format.lds)
8169         [$(output-format) != unknown]: Just use $(output-format),
8170         instead of the linker-script munging.
8172 2011-07-14  Roland McGrath  <roland@hack.frob.com>
8174         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
8175         of $(common-objpfx)shlib.lds.
8176         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
8178         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
8179         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
8181         * configure.in (-z relro check): Adjust test code to add a large
8182         writable data section after it.
8183         * configure: Regenerated.
8185 2011-07-11  Roland McGrath  <roland@hack.frob.com>
8187         * configure.in (-z relro check): Fix test code to make the variable
8188         truly const.
8189         * configure: Regenerated.
8191 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
8193         * nscd/nscd.h (struct traced_file): Define.
8194         (struct database_dyn): Remove inotify_descr, reset_res, and filename
8195         elements.  Add traced_files.
8196         (inotify_fd): Declare.
8197         (register_traced_file): Declare.
8198         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
8199         (inotify_fd): Export.
8200         (resolv_conf_descr): Remove.
8201         (nscd_init): Move inotify descriptor creation to main.
8202         Don't register files for notification here.
8203         (register_traced_file): New function.
8204         (invalidate_cache): Don't use reset_res to determine whether to call
8205         res_init, go through the list of registered files.
8206         (main_loop_poll): The inotify descriptors are now stored in the
8207         structures for the traced files.
8208         (main_loop_epoll): Likewise
8209         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
8210         to __nss_disable_nscd.
8211         * nscd/cache.c (prune_cache): There is no single inotify descriptor
8212         for a database anymore.  Check the records for all the registered
8213         files instead.
8214         * nss/Makefile (libnss_files-routines): Add files-init.
8215         (libnss_db-routines): Add db-init.
8216         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
8217         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
8218         * nss/nss_db/db-init.c: New file.
8219         * nss/nss_files/files-init.c: New file.
8220         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
8221         __nss_lookup_function.
8222         (__nss_lookup_function): Call nss_load_library.
8223         (nss_load_all_libraries): New function.
8224         (__nss_disable_nscd): Take parameter with callback function for files
8225         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
8226         used for the cached services.
8227         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
8228         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
8229         options for features to all the files in nscd.
8231         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
8233 2011-07-10  Roland McGrath  <roland@hack.frob.com>
8235         * csu/elf-init.c (__libc_csu_init): Comment typo.
8237 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
8239         * po/pl.po: Update from translation team.
8240         * po/ja.po: Likewise.
8241         * po/ru.po: Likewise.
8242         * po/ko.po: Likewise.
8243         * po/fr.po: Likewise.
8245 2011-07-09  Roland McGrath  <roland@hack.frob.com>
8247         * configure.in (.ctors/.dtors header and trailer check):
8248         Use an empirical test on a built program.
8249         * configure: Regenerated.
8251         * configure.in (-z relro check): Use an empirical test on a built DSO.
8252         Detect, but do not require, on ia64.
8253         * configure: Regenerated.
8255         * configure.in (READELF): Find it with AC_CHECK_TOOL.
8256         Update tests that use readelf to use $READELF instead.
8257         * configure: Regenerated.
8259 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
8261         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
8262         if the result is not used.
8264 2011-07-05  Andreas Jaeger  <aj@suse.de>
8266         [BZ#9696]
8267         * stdlib/tst-strtod.c: Add testcase.
8269 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
8271         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
8272         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
8273         The latter has a higher limit.  Take additional parameter to pass to
8274         the new function.
8275         (__pathconf): Pass file to __statfs_link_max.
8276         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
8277         __statfs_link_max.
8278         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
8279         __statfs_link_max.
8281         [BZ #12868]
8282         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
8283         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8284         Handle Lustre.
8285         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
8286         (__statfs_filesize_max): Likewise.
8287         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
8289 2011-07-05  Andreas Jaeger  <aj@suse.de>
8291         * resolv/res_comp.c (dn_skipname): Remove unused variable.
8293 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
8295         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
8296         `status' variable.
8297         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
8298         Likewise.
8300 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
8302         * Makefile (strop-tests): Add strncat.
8303         * string/test-strncat.c: New file.
8305 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
8307         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
8309 2011-06-21  Andreas Jaeger  <aj@suse.de>
8311         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
8312         Copy rule from iconvdata/Makefile.
8314 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
8316         [BZ #12922]
8317         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
8318         but no long options are defined, just return 'W'.
8320 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
8322         [BZ #9696]
8323         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
8325 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
8327         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
8328         netgroups to read.
8329         (innetgr): Likewise.
8331 2011-07-05  Roland McGrath  <roland@hack.frob.com>
8333         * config.make.in (install_root): Default to $(DESTDIR).
8335 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
8337         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
8339 2011-07-02  Roland McGrath  <roland@hack.frob.com>
8341         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
8343         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
8344         containing directory rather than embedding absolute directory names.
8346         * scripts/check-local-headers.sh: Rewritten using awk.
8347         Match by word, not by line.  Print error messages for matches.
8348         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
8350         * Makerules [shlib-lds-flags empty]:
8351         ($(common-objpfx)libc_pic.opts): New target.
8352         ($(common-objpfx)libc_pic.os.clean): New target.
8353         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
8355         * config.make.in (OBJCOPY): New variable.
8356         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
8357         * configure: Regenerated.
8359         * config.make.in (use-default-link): New variable.
8360         * configure.in (use_default_link): Grok --with-default-link to set it.
8361         * configure: Regenerated.
8362         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
8363         (shlib-lds, shlib-lds-flags): Define to empty.
8365         * Makerules (shlib-lds): New variable.
8366         (shlib-lds-flags): New variable.
8367         (build-shlib, build-moduile, build-module-asneeded): Use it.
8368         ($(common-objpfx)libc.so): Use $(shlib-lds).
8369         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
8370         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
8372         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
8373         DT_FLAGS/DT_FLAGS_1 with zero flags.
8375         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
8376         linker script munging.
8378 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
8380         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
8381         as 128-bit value.
8382         * crypt/sha512.c (sha512_process_block): Perform total addition using
8383         128-bit if possible.
8384         (__sha512_finish_ctx): Likewise.
8385         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
8386         as 64-bit value.
8387         * crypt/sha256.c (SWAP64): Define.
8388         (sha256_process_block): Perform total addition using 64-bit if
8389         possible.
8390         (__sha256_finish_ctx): Likewise.
8392 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
8394         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
8395         * nscd/initgrcache.c (addinitgroupsX): Likewise.
8396         * nscd/hstcache.c (cache_addhst): Likewise.
8397         * nscd/grpcache.c (cache_addgr): Likewise.
8398         * nscd/aicache.c (addhstaiX): Likewise
8399         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
8401 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
8403         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
8404         * nscd/initgrcache.c (addinitgroupsX): Likewise.
8405         * nscd/hstcache.c (cache_addhst): Likewise.
8406         * nscd/grpcache.c (cache_addgr): Likewise.
8407         * nscd/aicache.c (addhstaiX): Likewise
8409 2011-07-01  Andreas Schwab  <schwab@redhat.com>
8411         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
8412         domain only when needed.
8414 2011-06-30  Andreas Schwab  <schwab@redhat.com>
8416         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
8417         is always restored.
8419 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
8421         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
8422         are re-adding the entry.
8423         * nscd/servicescache.c (cache_addserv): Likewise.
8425 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
8427         * sysdeps/generic/dl-irel.h: fix protection against multiple
8428         inclusions.
8429         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
8431 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
8433         [BZ #12935]
8434         * malloc/memusage.sh: Fix quoting in message.
8435         * debug/xtrace.sh: Likewise.
8437         * configure.in: Remove support for --experimental-malloc option, make
8438         it the default.
8439         * config.make.in: Likewise.
8440         * malloc/Makefile: Likewise.
8442 2011-06-27  Andreas Schwab  <schwab@redhat.com>
8444         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
8445         two-byte characters.
8447 2011-06-27  Roland McGrath  <roland@hack.frob.com>
8449         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
8450         AC_CACHE_CHECK invocation.
8451         * configure: Regenerated.
8453         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8455 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
8457         [BZ #12350]
8458         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
8459         bit from old_res_options.
8461         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8463         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8464         value type for setfct.
8466 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
8468         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8469         __gettimeofday instead of gettimeofday.
8471 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
8473         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8475 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
8477         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8479         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8480         info.
8482 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
8484         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8485         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8486         strcpy-sse2-unaligned strncpy-sse2-unaligned
8487         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8488         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8489         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8490         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8491         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8492         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8493         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8494         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8495         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8496         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8497         (STRCPY): Support SSE2 and SSSE3 versions.
8499 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
8501         [BZ #12874]
8502         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8503         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8504         kernels which artificially limit size of requests.
8506 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
8508         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8509         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8510         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8511         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8512         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8513         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8514         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8515         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8516         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8517         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8518         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8519         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8520         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8521         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8522         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8523         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8524         Enable unaligned load optimization for Intel Core i3, i5 and i7
8525         processors.
8526         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8527         Define.
8528         (index_Fast_Unaligned_Load): Define.
8529         (HAS_FAST_UNALIGNED_LOAD): Define.
8531 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
8533         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8535 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
8537         [BZ #12907]
8538         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8539         until it is clear that the information is realy needed.
8540         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8542 2011-06-22  Andreas Schwab  <schwab@redhat.com>
8544         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8546 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
8548         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8549         /sys/devices/system/cpu/online if it is usable.
8551         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8552         reading the information from the /proc filesystem to once a second.
8554 2011-06-21  Andreas Jaeger  <aj@suse.de>
8556         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8557         NULL after inclusion of kernel headers.
8559 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
8561         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8562         calls to internal_setent.
8564         [BZ #12885]
8565         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8566         addresses using gethostbyname4_r ignore IPv4 addresses.
8568         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8569         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
8571         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8573 2011-06-20  David S. Miller  <davem@davemloft.net>
8575         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8576         inclusions.
8577         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8579         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8580         (elf_irel): Use it.
8581         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8582         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8583         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8584         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8585         * sysdeps/x86_64/dl-irel.h: Likewise.
8587         * elf/dl-runtime.c: Use elf_ifunc_invoke.
8588         * elf/dl-sym.c: Likewise.
8590 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
8592         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
8593         need to dereference resplen2.
8595 2011-06-14  Andreas Schwab  <schwab@redhat.com>
8597         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8599 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
8601         * Makeconfig: Define vardbdir and inst_vardbdir.
8602         * nss/Makefile: Add rules to install db-Makefile.
8604         * nss/nss_db/db-XXX.c: Cleanup.
8606         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8607         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8608         GLIBC_PRIVATE.
8609         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8610         * nss/makedb.c: Implement -g option to specify that value strings
8611         are generated and should not be added to table iterated over for
8612         get*ent calls.
8613         * nss/nss_db/db-initgroups.c: New file.
8615         * nss/getent.c: Add support for initgroups lookups through getgrouplist
8616         interface.
8618         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8619         (internal_getgrouplist): Adjust to name change.
8620         Update use_initgroups_entry if this is not the first call.
8621         * nss/databases.def: Add initgroups entry.
8623         * nss/makedb.c (compute_tables): Check result of multiple hash table
8624         sizes to minimize maximum chain length.
8626 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
8628         * Versions.def: Add entry for libnss_db.
8629         * shlib-versions: Likewise.
8630         * nss/Makefile: Add rules to build libnss_db.
8631         * nss/Versions: Add libnss_db information.  Organize libnss_files
8632         entries better.
8633         * nss/db-Makefile: Add gshadow support.  Change rules for the new
8634         makedb progra.  Some minor improvements to generate smaller files.
8635         * nss/nss_db/nss_db.h: Move NSS database header data structures to
8636         here from...
8637         * nss/makedb.c: ...here.
8638         Improve database format to be smaller and require less memory at
8639         runtime.
8640         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
8641         db anymore.
8642         * nss/nss_db/db-netgrp.c: Likewise.
8643         * nss/nss_db/db-open.c: Likewise.
8644         * nss/nss_files/flies-XXX.x: Adjust comments.
8645         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8646         * nss/nss_files/files-grp.c: Likewise.
8647         * nss/nss_files/files-hosts.c: Likewise.
8648         * nss/nss_files/files-network.c: Likewise.
8649         * nss/nss_files/files-proto.c: Likewise.
8650         * nss/nss_files/files-pwd.c: Likewise.
8651         * nss/nss_files/files-rpc.c: Likewise.
8652         * nss/nss_files/files-service.c: Likewise.
8653         * nss/nss_files/files-sgrp.c: Likewise.
8654         * nss/nss_files/files-spwd.c: Likewise.
8655         * nss/nss_db/db-alias.c: Removed.
8656         * nss/nss_db/dummy-db.h: Removed.
8658 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
8660         * nss/makedb.c: Rewritten to not use database library.
8661         * nss/Makefile: Update to build new makedb program.
8663 2011-06-14  Andreas Jaeger  <aj@suse.de>
8665         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8666         memset declaration.
8668 2011-06-10  Andreas Schwab  <schwab@redhat.com>
8670         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8671         tmpbuf.
8673 2011-06-10  Roland McGrath  <roland@hack.frob.com>
8675         * Makerules (shlib.lds): Fail if the linker script comes out empty.
8676         * elf/Makefile ($(objpfx)ld.so): Likewise.
8678         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8679         Don't list ld.so twice in dependencies.
8681         * posix/bug-regex31.c: Include <stdlib.h>.
8683         * nscd/hstcache.c (cache_addhst): Remove unused variable.
8685         * nis/nss_compat/compat-spwd.c
8686         (getspent_next_nss_netgr): Remove unused variable.
8687         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8689         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8690         nonmembers" output to use the right array.
8692         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8694         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8696         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8697         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8698         * catgets/gencat.c (read_input_file): Likewise.
8699         * locale/programs/locarchive.c (enlarge_archive): Likewise.
8701         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8702         variable definition inside #if's controlling its use.
8704         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8706         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8708         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8710         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8711         unreachable code.
8713         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
8715         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
8716         * configure: Regenerated.
8718         * Makerules: Revert last change.
8719         * elf/Makefile: Likewise.
8721 2011-06-09  Roland McGrath  <roland@hack.frob.com>
8723         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
8724         * elf/Makefile ($(objpfx)librtld.os): Likewise.
8725         (reloc-link): Likewise.
8727 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
8729         * elf/Makefile: Add rules to build pldd.
8730         * elf/pldd.c: New file.
8731         * elf/pldd-xx.c: New file.
8733 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
8735         * version.h: Update for 2.15 development version.
8737 2011-06-07  David S. Miller  <davem@davemloft.net>
8739         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
8740         ifuncs.
8741         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
8742         elf_machine_lazy_rel): Likewise.
8743         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8744         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
8745         elf_machine_lazy_rel): Likewise.
8746         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
8747         dl_hwcap via passed in argument.
8748         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
8749         Likewise.
8751 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8753         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
8755 2011-06-06  Roland McGrath  <roland@hack.frob.com>
8757         [BZ #12849]
8758         * manual/fdl-1.1.texi: New file, verbatim from:
8759         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
8760         * manual/lgpl-2.1.texi: New file, verbatim from:
8761         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
8762         * manual/Makefile (licenses): New variable, list those new file names.
8763         (texis): Use it.
8764         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
8766         * manual/fdl.texi: File removed.
8767         * manual/lesser.texi: File removed.
8768         * manual/libc.texinfo (Copying, Documentation License):
8769         Use new @include file names, put @appendix directive before @include.
8771 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
8773         [BZ #12841]
8774         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
8775         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
8776         (mq_open): Add __NTH.
8778 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
8780         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8781         Assume Intel Core i3/i5/i7 processor if AVX is available.
8783 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
8785         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8786         typo.
8788 2011-05-31  Andreas Schwab  <schwab@redhat.com>
8790         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
8791         memory.  Use alloca_account.  Fix memory leak when retrying.
8793 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
8795         * version.h (RELEASE): Bump for 2.14 release.
8796         * include/features.h (__GLIBC_MINOR__): Bump to 14.
8798         * config.make.in (RANLIB): Remove entry.
8800 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
8802         * po/Makefile (po-sed-cmd): Add ksh to extensions.
8803         (libc.pot): Work around missing support for .ksh extension in xgettext.
8805         [BZ #12684]
8806         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
8807         if both request failed.
8808         (send_dg): In case of server errors clear resplen or *resplen2.
8810         [BZ #12454]
8811         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
8812         when there are multiple maps.
8813         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
8814         (_dl_fini): Remove test here.
8816         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
8818 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
8820         [BZ #12350]
8821         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
8822         bit from old_res_options.
8823         (gaih_inet): Likewise.
8825         [BZ #11099]
8826         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
8827         as signed.
8829         * resolv/res_init.c (res_setoptions): Make the code more compact.
8831         [BZ #11558]
8832         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
8833         set RES_USEVC.
8835         [BZ #11634]
8836         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
8838         * malloc/malloc.h: Mark malloc hook variables as deprecated.
8840         [BZ #11781]
8841         * malloc/malloc.h: Declare malloc hook variables as volatile.
8843         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
8844         in last patch.
8846         [BZ #11799]
8847         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
8848         raise in the comment.
8849         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8850         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8851         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
8853 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
8855         [BZ #12811]
8856         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
8857         grow the buffers more if it already has to be sufficient.
8858         (build_wcs_upper_buffer): Likewise.
8859         * posix/regexec.c (check_matching): Likewise.
8860         (clean_state_log_if_needed): Likewise.
8861         (extend_buffers): Don't enlarge buffers beyond size of the input
8862         buffer.
8863         Patches mostly by Emil Wojak <emil@wojak.eu>.
8864         * posix/bug-regex32.c: New file.
8865         * posix/Makefile (tests): Add bug-regex32.
8867         * locale/findlocale.c (_nl_find_locale): Return right away if
8868         _nl_explode_name failed.
8869         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8871         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
8873         * debug/xtrace.sh: Unify messages.
8874         * malloc/memusage.sh: Likewise.
8876         [BZ #12813]
8877         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
8878         time symbol from vDSO.  Substitute with vsyscall if not available.
8879         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
8880         __vdso_time.
8882         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
8883         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
8884         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
8885         Add sendmmsg and internal_sendmmsg.
8886         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
8887         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
8888         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
8890         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
8891         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
8892         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
8894 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
8896         [BZ #12813]
8897         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
8898         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
8899         available.
8900         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
8901         __vdso_getcpu.
8903         [BZ #12814]
8904         * iconvdata/Makefile (tests): Add bug-iconv9.
8905         * iconvdata/bug-iconv9.c: New file.
8907 2011-05-27  Andreas Schwab  <schwab@redhat.com>
8909         [BZ #12814]
8910         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
8912 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
8914         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8915         (struct user_regs_struct): Change intcs field back to cs.
8917 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
8919         * po/ja.po: Update from translation team.
8921 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
8923         [BZ #12795]
8924         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
8925         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
8927 2011-05-20  Andreas Schwab  <schwab@redhat.com>
8929         * stdlib/longlong.h: Update from GCC.
8931 2011-05-23  Andreas Schwab  <schwab@redhat.com>
8933         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
8934         parameter name.
8935         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
8936         Add parameter name.
8937         (__sysconf): Pass it down.
8939 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
8941         [BZ #12671]
8942         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
8943         some situations.
8944         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8945         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
8946         add in in __libc_use_alloca calls.  Adjust callers.
8947         (glob): Use malloc in some situations.
8949         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
8950         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
8951         pltexit.
8953 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
8955         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
8956         and CLOCK_BOOTTIME_ALARM.
8958         [BZ #12782]
8959         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
8960         is returned.
8962         * string/_strerror.c (__strerror_r): Print negative errors as signed
8963         numbers.
8965         [BZ #12777]
8966         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
8967         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
8968         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
8970         * configure.in: Fix typo in redirection and correct removal of test
8971         files in two cases.
8973         [BZ #12788]
8974         * locale/setlocale.c (new_composite_name): Fix test to check for
8975         identical name of all categories.
8977         [BZ #12792]
8978         * libio/filedoalloc.c (local_isatty): New function.
8979         (_IO_file_doallocate): Use local_isatty.
8980         * stdio-common/perror.c (perror): In case a new stream is used
8981         forward the stream error.
8982         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
8983         error flag.
8985 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
8987         [BZ #11869]
8988         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
8989         alloca.
8990         * include/alloca.h (extend_alloca_account): Define.
8992         [BZ #11857]
8993         * posix/regex.h: Fix comments with documentation of user-accessible
8994         fields after compilation and describe correct free'ing of pattern
8995         after re_compile_pattern.
8996         Patch by Reuben Thomas <rrt@sc3d.org>.
8998 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
9000         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
9001         and -mno-altivec to prevent the compiler from using Altivec and/or
9002         VSX instructions when the corresponding registers are not available.
9004 2011-05-19  Andreas Schwab  <schwab@redhat.com>
9006         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
9008 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
9010         * libio/freopen.c (freopen): Use __dup2, not dup2.
9011         * libio/freopen64.c (freopen64): Likewise.
9013 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
9015         [BZ #12775]
9016         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
9017         * math/Makefile (tests): Add test-powl.
9018         (CFLAGS-test-powl.c): Define.
9019         * math/test-powl.c: New file.
9021 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9023         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
9025 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
9027         [BZ #11837]
9028         * iconvdata/gb18030.c: Update to GB18020-2005.
9030 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
9032         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
9033         RE_SYNTAX_POSIX_AWK): Update to match recent development.
9034         Patch by Aharon Robbins <arnold@skeeve.com>.
9036         [BZ #11892]
9037         * stdlib/putenv.c (putenv): Don't always create copy of the variable
9038         on the stack.
9040         [BZ #11895]
9041         * misc/pselect.c (__pselect): Handle timeout value errors hidden
9042         through underflows.
9044         [BZ #12766]
9045         * misc/error.c (error_at_line): Ensure file_name and old_file_name
9046         point to strings before performing equality test for error_one_per_line
9047         mode.
9049         [BZ #11697]
9050         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
9052         [BZ #11820]
9053         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9054         (struct user_fpregs_struct): Avoid __uint*_t types.
9056         [BZ #6420]
9057         * malloc/mtrace.c (tr_where): Add additional parameter to point to
9058         symbol info.  Use it instead of calling _dl_addr locally.
9059         (lock_and_info): New function.
9060         (tr_freehook): Call lock_and_info and pass symbol info as additional
9061         parameter to tr_where.
9062         (tr_mallochook): Likewise.
9063         (tr_reallochook): Likewise.
9064         (tr_memalignhook): Likewise.
9066         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
9067         used and couldn't be at all thread-safe.
9069 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
9071         * libio/freopen.c (freopen): Don't close old file descriptor
9072         before the new one is opened.  Instead dup the new file descriptor
9073         to the old one after the new stream is created.
9074         * libio/freopen64.c (freopen64): Likewise.
9075         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
9076         * libio/fileops.c (_IO_new_file_close_it): Handle new
9077         _IO_FLAGS2_NOCLOSE flag.
9078         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
9079         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
9080         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
9081         _IO_FLAGS2_NOCLOSE flag.
9082         * include/unistd.h: Add hidden_proto for dup3.
9083         Define __have_dup3.
9084         * io/dup3.c: Define hidden symbol.
9085         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
9087         [BZ #7101]
9088         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
9089         when an incomplete long option is used.
9090         * posix/tst-getopt_long1.c: New file.
9091         * posix/Makefile (tests): Add tst-getopt_long1.
9093         [BZ #10138]
9094         * scripts/config.guess: Update from autoconf-2.68.
9095         * scripts/config.sub: Likewise.
9097         [BZ #10157]
9098         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
9099         tests into ...
9100         (has_cpuclock): ...this.  New function.
9101         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
9102         macro here based on has_cpuclock code.
9104         [BZ #10149]
9105         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9106         First byte (not low byte) is now always NUL.
9107         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
9109         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9110         Use non-cancelable interfaces.
9112         [BZ #9809]
9113         * locale/iso-639.def: Add entry for Sorani.
9115         [BZ #11901]
9116         * include/stdlib.h: Move include protection to the right place.
9117         Define abort_msg_s.  Declare __abort_msg with it.
9118         * stdlib/abort.c (__abort_msg): Adjust type.
9119         * assert/assert.c (__assert_fail_base): New function.  Majority
9120         of code from __assert_fail.  Allocate memory for __abort_msg with
9121         mmap.
9122         (__assert_fail): Now call __assert_fail_base.
9123         * assert/assert-perr.c: Remove bulk of implementation.  Use
9124         __assert_fail_base.
9125         * include/assert.hL Declare __assert_fail_base.
9126         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
9127         mmap.
9128         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
9130 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
9132         [BZ #11952]
9133         [BZ #12453]
9134         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
9135         until all modules are registered in the DTV.
9136         * elf/Makefile: Add rules to build and run tst-tls19.
9137         * elf/tst-tls19.c: New file.
9138         * elf/tst-tls19mod1.c: New file.
9139         * elf/tst-tls19mod2.c: New file.
9140         * elf/tst-tls19mod3.c: New file.
9141         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
9143         [BZ #12083]
9144         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
9145         correctly.
9147         [BZ #12601]
9148         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
9149         two-byte sequence errors.
9150         * iconvdata/Makefile (tests): Add bug-iconv8.
9151         * iconvdata/bug-iconv8.c: New file.
9153         [BZ #12626]
9154         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
9155         buf2 definition.
9157         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
9159         [BZ #12432]
9160         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
9161         (dummy_getcfa): New function.
9162         (init): Get _Unwind_GetCFA address, use dummy if not found.
9163         (backtrace_helper): In recursion check, also check whether CFA changes.
9164         (__backtrace): Completely initialize arg.
9166         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
9167         storing incomplete byte sequence in state object.  Avoid testing for
9168         guaranteed too small input if we know there is enough data available.
9170 2011-05-11  Andreas Schwab  <schwab@redhat.com>
9172         * Makeconfig (+link-pie): Indent.
9173         * Rules (binaries-pie): Define if $(have-fpie) and
9174         $(build-shared).
9175         (binaries-shared): Also filter out $(binaries-pie).
9176         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
9177         * nscd/Makefile (others-pie): Add nscd.
9178         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
9179         ($(objpfx)nscd): Remove command override.
9180         * login/Makefile (others-pie): Add pt_chown.
9181         ($(objpfx)pt_chown): Remove command override.
9182         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
9183         remove command overrides.
9185 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
9187         * libio/tst_putwc.c: Fix error messages.
9189         [BZ #12724]
9190         * libio/fileops.c (_IO_new_file_close_it): Always flush when
9191         currently writing and seek to current position when not.
9192         * libio/Makefile (tests): Add bug-fclose1.
9193         * libio/bug-fclose1.c: New file.
9195 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
9197         [BZ #12511]
9198         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
9199         don't set DF_1_NODELETE here.
9200         (do_lookup_x): When entering new entry test for copy relocation
9201         and if necessary set DF_1_NODELETE flag.
9202         * elf/tst-unique4.cc: New file.
9203         * elf/tst-unique4.h: New file.
9204         * elf/tst-unique4lib.cc: New file.
9205         * elf/Makefile: Add rules to build and run tst-unique4.
9206         Patch by Piotr Bury <pbury@goahead.com>.
9208 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
9210         [BZ #12052]
9211         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
9213         [BZ #12625]
9214         * misc/mntent_r.c (addmntent): Flush the stream after the output
9216         [BZ #12393]
9217         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
9218         (is_trusted_path_normalize): Skip initial colon.  Append slash
9219         to empty buffer.  Duplicate is_trusted_path code but allow
9220         constructed patch to be prefix.
9221         (is_dst): Allow $ORIGIN followed by /.
9222         (_dl_dst_substitute): Correct clearing of check_for_trusted.
9223         Correct testing of result of is_trusted_path_normalize
9224         (decompose_rpath): Fix warning.
9226 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
9228         [BZ #11257]
9229         * grp/initgroups.c (internal_getgrouplist): When we found the service
9230         list through the initgroups entry in nsswitch.conf do not always
9231         continue on a successful lookup.  Don't always use the
9232         __nss_group_database value if it is set.
9233         * nss/nsswitch.conf (initgroups): Change action for successful db
9234         lookup to continue for compatibility.
9236 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
9238         [BZ #11532]
9239         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
9240         and CP774 modules.
9241         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
9242         and CP774 modules.
9243         * iconvdata/tst-tables.sh: Likewise.
9244         * iconvdata/cp770.c: New file.
9245         * iconvdata/cp771.c: New file.
9246         * iconvdata/cp772.c: New file.
9247         * iconvdata/cp773.c: New file.
9248         * iconvdata/cp774.c: New file.
9249         * iconvdata/testdata/CP770: New file.
9250         * iconvdata/testdata/CP770..UTF8: New file.
9251         * iconvdata/testdata/CP771: New file.
9252         * iconvdata/testdata/CP771..UTF8: New file.
9253         * iconvdata/testdata/CP772: New file.
9254         * iconvdata/testdata/CP772..UTF8: New file.
9255         * iconvdata/testdata/CP773: New file.
9256         * iconvdata/testdata/CP773..UTF8: New file.
9257         * iconvdata/testdata/CP774: New file.
9258         * iconvdata/testdata/CP774..UTF8: New file.
9260         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
9261         END CHARMAP line.
9262         * iconvdata/gen-8bit-gap.sh: Likewise.
9263         * iconvdata/gen-8bit.sh: Likewise.
9265         * locale/iso-639.def: Add ary entry.
9267         [BZ #11258]
9268         * locale/C-translit.h.in: Add U20A1 transliteration.
9270         [BZ #12178]
9271         * locale/iso-639.def: Add wae entry.
9272         Patch by Kevin Bortis <bortis@translate-wae.ch>.
9274         [BZ #12545]
9275         * locale/programs/localedef.c (construct_output_path): Use ssize_t
9276         for n.
9278         [BZ #12711]
9279         * locale/C-translit.h.in: Add entry for U20B9.
9280         Patch by pravin.d.s@gmail.com.
9282 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
9284         [BZ #12713]
9285         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
9286         ENAMETOOLONG use generic getcwd.
9287         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
9288         in rtld.  Use *stat64.
9289         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
9290         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
9291         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
9292         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
9293         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
9294         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
9295         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
9296         __fstatat64 macros.
9297         * include/dirent.h: Add libc_hidden_proto for rewinddir.
9298         * dirent/rewinddir.c: Add libc_hidden_def.
9299         * sysdeps/mach/hurd/rewinddir.c: Likewise.
9300         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
9302         * include/dirent.h (__alloc_dir): Add flags parameter.
9303         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
9304         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
9305         __alloc_dir.
9306         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
9307         from fdopendir if O_CLOEXEC is already set.
9309 2011-03-15  Alan Modra  <amodra@gmail.com>
9311         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
9312         l_tls_firstbyte_offset non-zero.  Save padding offset in
9313         l_tls_firstbyte_offset for later use.
9314         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
9315         freeing static tls block.
9317 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
9319         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
9320         where #ifdef was intended.  The intent is to prevent ARG_MAX from
9321         being defined by the kernel headers.
9323 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
9325         [BZ #12734]
9326         * resolv/resolv.h: Define RES_NOTLDQUERY.
9327         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
9328         no-tld-query and set RES_NOTLDQUERY.
9329         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
9330         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
9331         modern BIND to search name as TLD unless forbidden.
9333 2011-05-07  Petr Baudis  <pasky@suse.cz>
9334             Ulrich Drepper  <drepper@gmail.com>
9336         [BZ #12393]
9337         * elf/dl-load.c (fillin_rpath): Move trusted path check...
9338         (is_trusted_path): ...to here.
9339         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
9340         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
9341         using is_trusted_path_normalize() in setuid scripts.
9343 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
9345         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
9346         __BEGIN/__END_DECLS.
9348 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
9350         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
9351         NSS_STATUS_NOTFOUND if no record was found.
9353 2011-05-05  Andreas Schwab  <schwab@redhat.com>
9355         * sunrpc/Makefile (headers): Add rpc/netdb.h.
9356         (headers-not-in-tirpc): Remove rpc/netdb.h
9357         * resolv/netdb.h: Revert last change.
9359 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
9361         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
9362         circular dependency between libgcc.a and libc.a.
9364 2011-05-05  Andreas Schwab  <schwab@redhat.com>
9366         * resolv/netdb.h: Don't include <rpc/netdb.h>.
9367         * nis/Makefile: Don't install rpcsvc/*.
9368         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
9369         instead of <rpc/types.h>.
9370         (MAXHOSTNAMELEN): Define.
9372 2011-05-03  Andreas Schwab  <schwab@redhat.com>
9374         * elf/ldconfig.c (add_dir): Don't crash on empty path.
9376 2011-04-28  Maciej Babinski  <mbabinski@google.com>
9378         [BZ #12714]
9379         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
9380         gethostbyname4_r when IPv6 results are possible.
9382 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
9384         [BZ #12723]
9385         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
9386         _PC_PIPE_BUF handling.
9388 2011-04-30  Bruno Haible  <bruno@clisp.org>
9390         [BZ #12717]
9391         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
9392         * resolv/netdb.h (getnameinfo): Change type of flags parameter
9393         to 'int'.
9394         * inet/getnameinfo.c (getnameinfo): Likewise.
9396 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
9398         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
9399         to groups setting in database lookup.
9400         * nss/nsswitch.conf: Add initgroups entry.
9402 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
9404         [BZ #12685]
9405         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
9406         mode string.
9407         Patch by Eric Blake <eblake@redhat.com>.
9409 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
9411         * sunrpc/Makefile (need-export-routines): Add svc_run.
9412         (routines): Remove svc_run.
9413         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
9414         * sunrpc/clnt_perr.c (clnt_perrno): Export.
9415         * sunrpc/svc_run.c (svc_run): Likewise.
9416         * sunrpc/svc_udp.c (svcudp_create): Likewise.
9418 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
9420         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
9421         problem in reallocation in last patch.
9423 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
9425         * sunrpc/Makefile: Move inclusion of Rules.
9427 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
9429         * nss/nss_files/files-initgroups.c: New file.
9430         * nss/Makefile (libnss_files-routines): Add files-initgroups.
9431         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
9432         _nss_files_initgroups_dyn.
9434 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
9436         * elf/elf.h (R_ARM_IRELATIVE): Define.
9438 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
9440         * po/ru.po: Update from translation team.
9442 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
9444         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
9445         dependencies.
9447 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
9449         [BZ #12653]
9450         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
9451         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
9452         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9453         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9454         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9456 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
9458         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9459         differing bytes.
9460         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9461         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9462         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9464 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
9466         [BZ #12420]
9467         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9468         storing it.
9469         * stdlib/bug-getcontext.c: New file.
9470         * stdlib/Makefile: Add rules to build and run bug-getcontext.
9472 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9474         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9475         instructions into .machine "z9-109".
9476         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9477         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9479 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9481         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9482         between environment variables and auxiliary vector.
9484 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
9486         * Makefile: Add rules to build linkobj/libc.so.
9487         * include/libc-symbols.h: Define libc_hidden_nolink.
9488         * include/rpc/auth.h: Mark functions which are to be hidden.
9489         * include/rpc/auth_des.h: Likewise.
9490         * include/rpc/auth_unix.h: Likewise.
9491         * include/rpc/clnt.h: Likewise.
9492         * include/rpc/des_crypt.h: Likewise.
9493         * include/rpc/key_prot.h: Likewise.
9494         * include/rpc/pmap_clnt.h: Likewise.
9495         * include/rpc/pmap_prot.h: Likewise.
9496         * include/rpc/pmap_rmt.h: Likewise.
9497         * include/rpc/rpc_msg.h: Likewise.
9498         * include/rpc/svc.h: Likewise.
9499         * include/rpc/svc_auth.h: Likewise.
9500         * include/rpc/xdr.h: Likewise.
9501         * nis/Makefile: Link all DSOs against linkobj/libc.so.
9502         * nss/Makefile: Likewise.
9503         * sunrpc/Makefile: Don't install headers.  Build library with normal
9504         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
9505         * sunrpc/auth_des.c: Hide exported symbols by default, export some
9506         for the compat linking library.  Remove use of INTDEF/INTUSE.
9507         * sunrpc/auth_none.c: Likewise.
9508         * sunrpc/auth_unix.c: Likewise.
9509         * sunrpc/authdes_prot.c: Likewise.
9510         * sunrpc/authuxprot.c: Likewise.
9511         * sunrpc/clnt_gen.c: Likewise.
9512         * sunrpc/clnt_perr.c: Likewise.
9513         * sunrpc/clnt_raw.c: Likewise.
9514         * sunrpc/clnt_simp.c: Likewise.
9515         * sunrpc/clnt_tcp.c: Likewise.
9516         * sunrpc/clnt_udp.c: Likewise.
9517         * sunrpc/clnt_unix.c: Likewise.
9518         * sunrpc/des_crypt.c: Likewise.
9519         * sunrpc/des_soft.c: Likewise.
9520         * sunrpc/get_myaddr.c: Likewise.
9521         * sunrpc/key_call.c: Likewise.
9522         * sunrpc/key_prot.c: Likewise.
9523         * sunrpc/netname.c: Likewise.
9524         * sunrpc/pm_getmaps.c: Likewise.
9525         * sunrpc/pm_getport.c: Likewise.
9526         * sunrpc/pmap_clnt.c: Likewise.
9527         * sunrpc/pmap_prot.c: Likewise.
9528         * sunrpc/pmap_prot2.c: Likewise.
9529         * sunrpc/pmap_rmt.c: Likewise.
9530         * sunrpc/publickey.c: Likewise.
9531         * sunrpc/rpc_cmsg.c: Likewise.
9532         * sunrpc/rpc_common.c: Likewise.
9533         * sunrpc/rpc_dtable.c: Likewise.
9534         * sunrpc/rpc_prot.c: Likewise.
9535         * sunrpc/rpc_thread.c: Likewise.
9536         * sunrpc/rtime.c: Likewise.
9537         * sunrpc/svc.c: Likewise.
9538         * sunrpc/svc_auth.c: Likewise.
9539         * sunrpc/svc_authux.c: Likewise.
9540         * sunrpc/svc_raw.c: Likewise.
9541         * sunrpc/svc_run.c: Likewise.
9542         * sunrpc/svc_simple.c: Likewise.
9543         * sunrpc/svc_tcp.c: Likewise.
9544         * sunrpc/svc_udp.c: Likewise.
9545         * sunrpc/svc_unix.c: Likewise.
9546         * sunrpc/svcauth_des.c: Likewise.
9547         * sunrpc/xcrypt.c: Likewise.
9548         * sunrpc/xdr.c: Likewise.
9549         * sunrpc/xdr_array.c: Likewise.
9550         * sunrpc/xdr_float.c: Likewise.
9551         * sunrpc/xdr_intXX_t.c: Likewise.
9552         * sunrpc/xdr_mem.c: Likewise.
9553         * sunrpc/xdr_rec.c: Likewise.
9554         * sunrpc/xdr_ref.c: Likewise.
9555         * sunrpc/xdr_sizeof.c: Likewise.
9556         * sunrpc/xdr_stdio.c: Likewise.
9558 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
9560         [BZ #12650]
9561         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9562         * sysdeps/ia64/dl-tls.h: Likewise.
9563         * sysdeps/powerpc/dl-tls.h: Likewise.
9564         * sysdeps/s390/dl-tls.h: Likewise.
9565         * sysdeps/sh/dl-tls.h: Likewise.
9566         * sysdeps/sparc/dl-tls.h: Likewise.
9567         * sysdeps/x86_64/dl-tls.h: Likewise.
9568         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9570 2011-03-14  Andreas Schwab  <schwab@redhat.com>
9572         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9573         rpath element also skip the following colon.
9574         (expand_dynamic_string_token): Add is_path parameter and pass
9575         down to DL_DST_REQUIRED and _dl_dst_substitute.
9576         (decompose_rpath): Call expand_dynamic_string_token with
9577         non-zero is_path.  Ignore empty rpaths.
9578         (_dl_map_object_from_fd): Call expand_dynamic_string_token
9579         with zero is_path.
9581 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
9583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9584         Make cancelable.
9586 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
9588         [BZ #12655]
9589         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9590         Patch by Filipe David Manana <fdmanana@apache.org>.
9592 2011-04-07  Andreas Schwab  <schwab@redhat.com>
9594         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9595         Maintain aligned stack.
9596         (CHECK_RSP): Remove unused macro.
9598 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
9600         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9601         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9603 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
9605         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9607         * include/features.h: Mention __USE_XOPEN2K8 in comment.
9609 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
9611         [BZ #12518]
9612         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9613         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9614         * sysdeps/x86_64/memmove.c: New file.
9615         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9616         (memcpy): Renamed to ...
9617         (__new_memcpy): This.
9618         (memcpy): Provide GLIBC_2_14 memcpy.
9619         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9620         (memcpy): Provide GLIBC_2_2_5 memcpy.
9622 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
9624         [BZ #12631]
9625         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9627 2011-03-30  Andreas Schwab  <schwab@redhat.com>
9629         * misc/syncfs.c: New file.
9630         * misc/Makefile (routines): Add syncfs.
9631         * posix/unistd.h: Declare syncfs.
9632         * sysdeps/unix/syscalls.list: Add syncfs.
9634 2011-04-01  Andreas Schwab  <schwab@redhat.com>
9636         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9637         open_by_handle_at.
9638         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9639         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9640         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9641         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9642         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9643         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9644         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9646 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
9648         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9649         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9650         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9651         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9652         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9653         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9654         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9656         * io/Makefile: Compile fallocate.c, fallocate64.c, and
9657         sync_file_range.c with -fexceptions.
9658         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9659         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9660         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9661         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9662         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9663         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9664         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
9665         sync_file_range as cancellation point
9666         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
9667         now a wrapper around __call_sync_file_range with cancellation handling.
9668         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9669         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
9670         function name to __call_sync_file_range.
9671         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9672         Add call_sync_file_range.
9674 2011-04-01  Andreas Schwab  <schwab@redhat.com>
9676         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9677         bits/timex.h.
9679 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
9681         * iconv/iconv.h: Fix typo in comment.
9682         * io/fcntl.h: Likewise.
9683         * libio/stdio.h: Likewise.
9684         * posix/spawn.h: Likewise.
9685         * posix/unistd.h: Likewise.
9686         * stdlib/stdlib.h: Likewise.
9687         * time/time.h: Likewise.
9688         * wcsmbs/wchar.h: Likewise.
9690         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9691         open_by_handle): Add.
9692         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9693         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
9694         Augment a few comments.
9695         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9696         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9697         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9698         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9699         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9700         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9701         open_by_handle.
9703         * io/fcntl.h (AT_EMPTY_PATH): Define.
9705 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
9707         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9708         * sysdeps/unix/sysv/linux/bits/time.h: New file.
9709         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9710         to...
9711         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
9712         * Versions.def: Add GLIBC_2.14.
9713         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9714         Export.
9716 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
9718         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
9719         round counter.
9720         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9722 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
9724         [BZ #12597]
9725         * string/test-strncmp.c (do_page_test): New function.
9726         (check2): Likewise.
9727         (test_main): Call check2.
9728         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
9730 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
9732         [BZ #12587]
9733         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
9734         Handle cache information in CPU leaf 4.
9735         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9737 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
9739         [BZ #12583]
9740         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
9741         character representation.
9742         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
9744 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
9746         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
9747         END(__isnan) to END(__isnanf) to match function entry point/label
9748         EALIGN(__isnanf,...).
9750 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
9752         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
9754 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
9756         [BZ #12510]
9757         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
9758         copy from the symbol referenced in the relocation to initialize the
9759         used variable.
9760         Patch by Piotr Bury <pbury@goahead.com>.
9761         * elf/Makefile: Add rules to build and tst-unique3.
9762         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
9763         * elf/tst-unique3.cc: New file.
9764         * elf/tst-unique3.h: New file.
9765         * elf/tst-unique3lib.cc: New file.
9766         * elf/tst-unique3lib2.cc: New file.
9768         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
9770 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
9772         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
9773         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
9774         to _start.
9776 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
9778         * elf/dl-load.c (_dl_map_object): If we are looking for the first
9779         to-be-loaded object along a path to loader is ld.so.
9781 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
9782             Ulrich Drepper  <drepper@gmail.com>
9784         * sysdeps/x86_64/memset.S: After aligning destination, code
9785         branches to different locations depending on the value of
9786         misalignment, when multiarch is enabled. Fix this.
9788 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
9790         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
9791         Set _x86_64_preferred_memory_instruction for AMD processsors.
9792         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9793         Set bit_Prefer_SSE_for_memop for AMD processors.
9795 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
9797         * libio/fmemopen.c (fmemopen): Optimize a bit.
9799 2011-03-03  Andreas Schwab  <schwab@redhat.com>
9801         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
9803 2011-03-03  Roland McGrath  <roland@redhat.com>
9805         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
9807 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
9809         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
9810         __bzero_ultra1 instead of __memset_ultra1.
9812 2011-02-23  Andreas Schwab  <schwab@redhat.com>
9813             Ulrich Drepper  <drepper@gmail.com>
9815         [BZ #12509]
9816         * include/link.h (struct link_map): Add l_orig_initfini.
9817         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
9818         returning unsuccessfully.
9819         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
9820         close of a file loaded at startup, restore the original l_initfini
9821         list.
9822         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
9823         list, store the pointer.
9824         * elf/Makefile ($(objpfx)noload-mem): New rule.
9825         (noload-ENV): Define.
9826         (tests): Add $(objpfx)noload-mem.
9827         * elf/noload.c: Include <memcheck.h>.
9828         (main): Call mtrace.  Close all opened handles.
9830 2011-02-17  Andreas Schwab  <schwab@redhat.com>
9832         [BZ #12454]
9833         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
9834         dependencies are missing.
9836 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9838         Fix __if_freereq crash: Unlike the generic version which uses free,
9839         Hurd needs munmap.
9840         * sysdeps/mach/hurd/ifreq.h: New file.
9842 2011-01-27  Petr Baudis  <pasky@suse.cz>
9843             Ulrich Drepper  <drepper@gmail.com>
9845         [BZ 12445]#
9846         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
9847         to extend_alloca().
9848         * stdio-common/bug23.c: New file.
9849         * stdio-common/Makefile (tests): Add bug23.
9851 2010-09-28  Andreas Schwab  <schwab@redhat.com>
9852             Ulrich Drepper  <drepper@gmail.com>
9854         [BZ #12489]
9855         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
9856         before performing relro protection.  At old place add assertion
9857         to make sure nothing changed.
9859 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
9860             Glauber de Oliveira Costa  <glommer@gmail.com>
9862         * elf/elf.h: Add new ARM TLS relocs.
9864 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
9866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9867         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
9868         cast from r3.
9869         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
9870         'tests' variable.
9871         * sysdeps/wordsize-64/tst-writev.c: New file.
9873 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
9875         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
9876         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
9877         insns in _dl_start to prevent a TOC reference before relocs are
9878         resolved.
9880 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
9882         [BZ #12469]
9883         * Makeconfig: Remove RANLIB definition.
9884         * Makerules: Don't use RANLIB.
9885         * aclocal.m4: Remove ranlib test.
9886         * configure.in: No need to check for ranlib.
9887         * elf/rtld-Rules: Don't use RANLIB.
9889 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9891         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
9892         protection macro.
9893         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
9894         inclusion protection macro.
9896         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
9897         SIGRTMIN and SIGRTMAX and print information in that case only when
9898         SIGRTMIN is defined.
9900 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
9902         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
9903         arginfo fn returning -1.
9905         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
9906         and thousands string is zero terminated.
9908 2011-02-03  Andreas Schwab  <schwab@redhat.com>
9910         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
9911         sysdeps/unix/sysv/linux/bits/socket.h.
9913 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9915         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
9916         (__CPU_COUNT): Remove old macros.
9917         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
9918         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
9919         (__CPU_ALLOC, __CPU_FREE): Add macros.
9920         (__sched_cpualloc, __sched_cpufree): Add declarations.
9922 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
9924         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
9925         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
9926         * nscd/aicache.c (addhstaiX): Return timeout of added value.
9927         (readdhstai): Return value of addhstaiX call.
9928         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
9929         (addgrbyX): Return value returned by cache_addgr.
9930         (readdgrbyname): Return value returned by addgrbyX.
9931         (readdgrbygid): Likewise.
9932         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
9933         (addpwbyX): Return value returned by cache_addpw.
9934         (readdpwbyname): Return value returned by addhstbyX.
9935         (readdpwbyuid): Likewise.
9936         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
9937         (addservbyX): Return value returned by cache_addserv.
9938         (readdservbyname): Return value returned by addservbyX:
9939         (readdservbyport): Likewise.
9940         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
9941         (addhstbyX): Return value returned by cache_addhst.
9942         (readdhstbyname): Return value returned by addhstbyX.
9943         (readdhstbyaddr): Likewise.
9944         (readdhstbynamev6): Likewise.
9945         (readdhstbyaddrv6): Likewise.
9946         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
9947         (readdinitgroups): Return value returned by addinitgroupsX.
9948         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
9949         (prune_cache): Keep track of timeout value of re-added entries.
9950         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
9951         * nscd/nscd.h: Adjust prototypes of readd* functions.
9953 2011-02-04  Roland McGrath  <roland@redhat.com>
9955         * nis/nis_server.c (nis_servstate): Use the right name for 0.
9956         (nis_stats): Likewise.
9957         * nis/nis_modify.c (nis_modify): Likewise.
9958         * nis/nis_remove.c (nis_remove): Likewise.
9959         * nis/nis_add.c (nis_add): Likewise.
9961         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
9963         * posix/fnmatch_loop.c: Add some consts.
9965         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
9967 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
9969         [BZ #12460]
9970         * config.make.in (config-cflags-novzeroupper): Define.
9971         * configure.in: Substitute libc_cv_cc_novzeroupper.
9972         * elf/Makefile (AVX-CFLAGS): Define.
9973         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
9974         (CFLAGS-tst-auditmod4a.c): Likewise.
9975         (CFLAGS-tst-auditmod4b.c): Likewise.
9976         (CFLAGS-tst-auditmod6b.c): Likewise.
9977         (CFLAGS-tst-auditmod6c.c): Likewise.
9978         (CFLAGS-tst-auditmod7b.c): Likewise.
9979         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
9981 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
9983         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
9984         function to the callback.
9985         Patch partly by Jiri Olsa <jolsa@redhat.com>.
9987 2011-02-02  Andreas Schwab  <schwab@redhat.com>
9989         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
9990         of errno.
9992 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
9994         [BZ #11724]
9995         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
9996         of constructors.
9997         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
9998         of destructors.
9999         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
10001         [BZ #11724]
10002         * elf/Makefile: Add rules to build and run new test.
10003         * elf/tst-initorder.c: New file.
10004         * elf/tst-initorder.exp: New file.
10005         * elf/tst-initordera1.c: New file.
10006         * elf/tst-initordera2.c: New file.
10007         * elf/tst-initordera3.c: New file.
10008         * elf/tst-initordera4.c: New file.
10009         * elf/tst-initorderb1.c: New file.
10010         * elf/tst-initorderb2.c: New file.
10011         * elf/tst-order-a1.c: New file.
10012         * elf/tst-order-a2.c: New file.
10013         * elf/tst-order-a3.c: New file.
10014         * elf/tst-order-a4.c: New file.
10015         * elf/tst-order-b1.c: New file.
10016         * elf/tst-order-b2.c: New file.
10017         * elf/tst-order-main.c: New file.
10018         New test case by George Gensure <werkt0@gmail.com>.
10020 2010-10-01  Andreas Schwab  <schwab@redhat.com>
10022         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10023         decoding ACE if AI_CANONIDN.
10025 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
10027         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
10029 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
10031         * version.h (RELEASE): Bump for 2.13 release.
10032         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
10034         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
10036         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
10037         MADV_NOHUGEPAGE.
10038         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
10039         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10040         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10041         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10042         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10043         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10045         * posix/getconf.c: Update copyright year.
10046         * catgets/gencat.c: Likewise.
10047         * csu/version.c: Likewise.
10048         * debug/catchsegv.sh: Likewise.
10049         * debug/xtrace.sh: Likewise.
10050         * elf/ldconfig.c: Likewise.
10051         * elf/ldd.bash.in: Likewise.
10052         * elf/sprof.c (print_version): Likewise.
10053         * iconv/iconv_prog.c: Likewise.
10054         * iconv/iconvconfig.c: Likewise.
10055         * locale/programs/locale.c: Likewise.
10056         * locale/programs/localedef.c: Likewise.
10057         * malloc/memusage.sh: Likewise.
10058         * malloc/mtrace.pl: Likewise.
10059         * nscd/nscd.c (print_version): Likewise.
10060         * nss/getent.c: Likewise.
10062         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
10063         PF_CAIF, and PF_ALG.
10064         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10066 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
10068         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
10069         (modules-names): Use them.
10070         (ifunc-test-modules, ifunc-pie-tests): Define.
10071         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
10072         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
10073         (test-extras): Likewise.
10074         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
10075         $(compile-command.c).
10076         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
10077         (all-built-dso): Define.
10078         (check-textrel.out, check-execstack.out): Depend on it.
10080         * configure.in: Don't override --enable-multi-arch.
10082 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
10084         [BZ #6812]
10085         * nscd/hstcache.c (tryagain): Define.
10086         (cache_addhst): Return tryagain not notfound for temporary errors.
10087         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
10088         failed.
10090 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
10092         [BZ #10563]
10093         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
10094         to make the syscall.
10095         * sysdeps/unix/sysv/linux/setgroups.c: New file.
10097         [BZ #12378]
10098         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
10099         and fall back to matching as normal character if the string ends before
10100         the matching ']' is found.  This is what POSIX requires.
10101         * posix/testfnm.c: Adjust test result.
10102         * posix/globtest.sh: Adjust test result.  Add new test.
10103         * posix/tst-fnmatch.input: Likewise.
10104         * posix/tst-fnmatch2.c: Add new test.
10106 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
10108         * elf/Makefile (check-execstack): Revert last change.  Depend on
10109         check-execstack.h.
10110         (check-execstack.h): New target.
10111         (generated): Add check-execstack.h.
10112         * elf/check-execstack.c: Include "check-execstack.h".
10113         (main): Revert last change.
10114         (handle_file): Return zero if GNU_STACK is absent and
10115         DEFAULT_STACK_PERMS doesn't include PF_X.
10117 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
10119         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
10120         in child fails because the descriptor is already closed.
10121         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
10122         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
10123         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
10125         [BZ #12397]
10126         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
10127         syscall.
10129         [BZ #10484]
10130         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
10131         temporary buffer used to handle multi lookups locally.
10132         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
10134 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
10136         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
10137         loader is ld.so.
10139 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
10141         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
10142         alignment for SSE2.
10144 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
10146         [BZ #12394]
10147         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
10148         characters.  When rounding increased number of integer digits recompute
10149         number of groups.
10150         * stdio-common/tst-grouping.c: New file.
10151         * stdio-common/Makefile: Add rules to build and run tst-grouping.
10153 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
10155         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
10156         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
10158         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
10159         void.
10160         * bits/select.h: Likewise.
10162 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
10164         * po/ja.po: Update from translation team.
10166 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
10168         [BZ #11155]
10169         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
10170         implementation just like for lxstat, fxstatat, et al.
10172 2010-12-27  Jim Meyering  <meyering@redhat.com>
10174         [BZ #12348]
10175         * posix/regexec.c (build_trtable): Return failure indication upon
10176         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
10178 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
10180         [BZ #12201]
10181         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
10182         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
10183         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
10184         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
10186         [BZ #12207]
10187         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
10189         [BZ #12204]
10190         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
10191         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
10193 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
10195         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
10196         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
10197         script has SORT_BY_INIT_PRIORITY.
10198         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
10199         NO_CTORS_DTORS_SECTIONS is defined.
10200         * elf/soinit.c: Likewise.
10201         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
10202         NO_CTORS_DTORS_SECTIONS is defined.
10203         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
10204         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
10205         * sysdeps/sh/init-first.c: Likewise.
10206         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10208 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
10210         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
10211         always use the slow path.
10213 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
10215         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
10216         similar rule which adds the sysdep directories to the header search in
10217         order to pick up the correct platform stackinfo.h.
10218         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
10219         perform test if it is, otherwise return successfully without testing.
10220         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
10221         DEFAULT_STACK_PERMS define in stackinfo.h.
10222         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
10223         defined in stackinfo.h.
10224         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
10225         DEFAULT_STACK_PERMS defined in stackinfo.h.
10226         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
10227         * sysdeps/ia64/stackinfo.h: Likewise.
10228         * sysdeps/s390/stackinfo.h: Likewise.
10229         * sysdeps/sh/stackinfo.h: Likewise.
10230         * sysdeps/sparc/stackinfo.h: Likewise.
10231         * sysdeps/x86_64/stackinfo.h: Likewise.
10232         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
10233         PF_X for powerpc64.  Retain PF_X for powerpc32.
10235 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
10237         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
10238         accurately.
10239         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
10240         GETDENTS_64BIT_ALIGNED.
10242 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
10244         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
10246 2010-12-10  Andreas Schwab  <schwab@redhat.com>
10248         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
10249         _GNU_SOURCE.
10251         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
10252         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
10253         Remove __restrict.
10254         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
10255         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
10257 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
10259         [BZ #11655]
10260         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
10261         are initialized.
10263 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
10265         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
10267 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
10269         * po/it.po: Update from translation team.
10271 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
10273         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
10274         unused codes.
10276 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
10278         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
10280 2010-11-24  Andreas Schwab  <schwab@redhat.com>
10282         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
10283         specially.
10284         (gaih_getanswer_slice): Likewise.
10286 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
10288         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
10290 2010-05-31  Petr Baudis  <pasky@suse.cz>
10292         [BZ #11149]
10293         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
10294         silently even in the chroot mode.
10296 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
10298         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
10299         last patch a bit.  Pretty printing
10301 2010-05-31  Petr Baudis <pasky@suse.cz>
10303         [BZ #10085]
10304         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
10305         initialization of skip_initgroups_dyn.
10307 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
10309         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
10310         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10312 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
10314         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
10316 2010-11-11  Andreas Schwab  <schwab@redhat.com>
10318         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
10319         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
10320         (tst-fnmatch-ENV): Set MALLOC_TRACE.
10321         ($(objpfx)tst-fnmatch-mem): New rule.
10322         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
10323         * posix/tst-fnmatch.c (main): Call mtrace.
10325 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
10327         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10328         Support Intel processor model 6 and model 0x2c.
10330 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
10332         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
10333           signed comparison.
10335 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
10337         [BZ #12205]
10338         * string/test-strncasecmp.c (check_result): New function.
10339         (do_one_test): Use it.
10340         (check1): New function.
10341         (test_main): Use it.
10342         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
10343         Support strcasecmp and strncasecmp.
10345 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
10347         [BZ #12194]
10348         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
10349         * sysdeps/x86_64/bits/byteswap.h: Likewise.
10351 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
10353         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
10354         IFUNC support.
10355         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10356         memset-x86-64.
10357         * sysdeps/x86_64/multiarch/bzero.S: New file.
10358         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
10359         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
10360         * sysdeps/x86_64/multiarch/memset.S: New file.
10361         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
10362         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10363         Set bit_Prefer_SSE_for_memop for Intel processors.
10364         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
10365         Define.
10366         (index_Prefer_SSE_for_memop): Define.
10367         (HAS_PREFER_SSE_FOR_MEMOP): Define.
10369 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
10371         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
10372         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
10374 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
10376         [BZ #12191]
10377         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10378         (__x86_64_raw_data_cache_size_half): Likewise.
10379         (__x86_64_raw_shared_cache_size): Likewise.
10380         (__x86_64_raw_shared_cache_size_half): Likewise.
10382         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10383         (__x86_64_raw_data_cache_size_half): Likewise.
10384         (__x86_64_raw_shared_cache_size): Likewise.
10385         (__x86_64_raw_shared_cache_size_half): Likewise.
10386         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
10387         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
10388         and __x86_64_raw_shared_cache_size_half.  Round
10389         __x86_64_data_cache_size_half, __x86_64_data_cache_size
10390         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
10391         to multiple of 256 bytes.
10393 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
10395         [BZ #12167]
10396         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
10397         of inacessible symlinks.  Verify result of symlink before returning it.
10398         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10399         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
10401 2010-10-28  Erich Ritz  <erichritz@gmail.com>
10403         * math/math.h (isinf): Fix typo in comment.
10405 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
10407         * po/da.po: Update from translation team.
10409 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
10411         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
10412         is added to the list.
10414 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10415             Ulrich Drepper  <drepper@gmail.com>
10417         * elf/dl-object.c (_dl_new_object): Don't append the new object to
10418         the global list here.  Move code to...
10419         (_dl_add_to_namespace_list): ...here.  New function.
10420         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
10421         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
10422         * elf/dl-load.c (lose): Don't remove the element from the list.
10423         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
10424         (_dl_map_object): Likewise.
10426 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
10428         [BZ #12159]
10429         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
10430         into all bytes of SSE register.
10431         Patch by Richard Li <richardpku@gmail.com>.
10433 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
10435         [BZ #12140]
10436         * malloc/malloc.c (_int_free): Fill correct number of bytes when
10437         perturbing.
10439 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
10441         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
10442         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
10443         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
10444         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
10446         submachine.
10447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10449 2010-10-22  Andreas Schwab  <schwab@redhat.com>
10451         * include/dlfcn.h (__RTLD_SECURE): Define.
10452         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
10453         mode & __RTLD_SECURE instead.
10454         (open_path): Rename preloaded parameter to secure.
10455         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10456         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10457         * elf/dl-deps.c (openaux): Likewise.
10458         * elf/rtld.c (struct map_args): Remove is_preloaded.
10459         (map_doit): Don't use it.
10460         (dl_main): Likewise.
10461         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10462         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10464 2010-09-09  Andreas Schwab  <schwab@redhat.com>
10466         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10467         (sysd-rules-targets): Remove duplicates.
10468         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10469         rtld-%.$o dependency.
10471 2010-10-18  Andreas Schwab  <schwab@redhat.com>
10473         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10474         _dl_map_object do it.
10476 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
10478         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10479         fast fma builtins, define the macros in the C99 standard.
10480         (FP_FAST_FMAF): Likewise.
10481         (FP_FAST_FMAL): Likewise.
10482         * sysdeps/x86_64/bits/mathdef.h: Likewise.
10484         * bits/mathdef.h: Update copyright year.
10485         * sysdeps/powerpc/bits/mathdef.h: Likewise.
10487 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
10489         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10490         builtins, define the macros in the C99 standard.
10491         (FP_FAST_FMAF): Likewise.
10492         (FP_FAST_FMAL): Likewise.
10493         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10494         multiply/add.
10495         (FP_FAST_FMAF): Likewise.
10497 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
10499         [BZ #3268]
10500         * math/libm-test.inc (fma_test): Some new testcases.
10501         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10502         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10503         y and infinite z.  Do multiplication by C already in long double.
10504         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10505         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10506         y and infinite z.  Do bitwise or of inexact bit into u.d.
10507         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10508         * sysdeps/i386/fpu/s_fmaf.S: Removed.
10509         * sysdeps/i386/fpu/s_fma.S: Removed.
10510         * sysdeps/i386/fpu/s_fmal.S: Removed.
10512 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
10514         [BZ #3268]
10515         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10516         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10517         computation is not scheduled after fetestexcept.  Fix value
10518         of minimum denormal long double.
10520 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
10522         [BZ #3268]
10523         * math/libm-test.inc (fma_test): Add some more tests.
10524         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10525         correctly.
10527 2010-10-15  Andreas Schwab  <schwab@redhat.com>
10529         * scripts/data/localplt-s390-linux-gnu.data: New file.
10530         * scripts/data/localplt-s390x-linux-gnu.data: New file.
10532 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
10534         [BZ #3268]
10535         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10536         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10537         instead of dbl-64.
10538         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10539         inlines.
10540         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10541         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10542         if one of x and y is very large and the other is subnormal.
10543         * sysdeps/s390/fpu/s_fmaf.c: New file.
10544         * sysdeps/s390/fpu/s_fma.c: New file.
10545         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10546         * sysdeps/powerpc/fpu/s_fma.S: New file.
10547         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10548         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10549         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10551 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
10553         [BZ #3268]
10554         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10555         fma tests.
10556         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10557         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10558         * sysdeps/i386/i686/multiarch/s_fma.c: Include
10559         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10560         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10561         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10562         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10564 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
10566         [BZ #12078]
10567         * posix/regcomp.c (parse_branch): One more memory leak plugged.
10568         * posix/bug-regex31.input: Add test case.
10570 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
10572         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10573         * posix/bug-regex31.input: New file.
10575         [BZ #12078]
10576         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10577         (parse_sub_exp): Fix last change, use postorder.
10579         * posix/bug-regex31.c: New file.
10580         * posix/Makefile: Add rules to build and run bug-regex31.
10582         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10584         [BZ #12078]
10585         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10587         [BZ #12108]
10588         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10589         to have entries in sys_siglist.
10591         [BZ #12093]
10592         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10593         be NULL.
10595 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
10597         [BZ #3268]
10598         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10599         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10600         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10601         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10602         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10603         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10604         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10605         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10606         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10607         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10608         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10609         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10610         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10611         * math/ftestexcept.c (fetestexcept): Likewise.
10612         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10613         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10614         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10615         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10616         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10617         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10618         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10620 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
10622         [BZ #12107]
10623         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10624         newline.
10626 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
10628         * string/bug-strstr1.c: New file.
10629         * string/Makefile: Add rules to build and run bug-strstr1.
10631 2010-10-05  Eric Blake  <eblake@redhat.com>
10633         [BZ #12092]
10634         * string/str-two-way.h (two_way_long_needle): Always clear memory
10635         when skipping input due to the shift table.
10637 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
10639         [BZ #12005]
10640         * malloc/mcheck.c: Handle large requests.
10642         [BZ #12077]
10643         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10644         for strncmp and strncasecmp.
10645         * string/stratcliff.c: Add tests for strcmp and strncmp.
10646         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10648 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
10650         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10651         __set_fpscr.
10653 2010-09-30  Andreas Jaeger  <aj@suse.de>
10655         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10656         (CGROUP_SUPER_MAGIC): Define.
10657         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10658         Handle btrfs and cgroup file systems.
10659         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10660         Likewise.
10662 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
10664         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10665         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10667 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10669         [BZ #12067]
10670         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10671         trying to locate the ELF header.
10673 2010-09-27  Andreas Schwab  <schwab@redhat.com>
10675         [BZ #11611]
10676         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10677         Mask out sign-bit copies when constructing f_fsid.
10679 2010-09-24  Petr Baudis <pasky@suse.cz>
10681         * debug/stack_chk_fail_local.c: Add missing licence exception.
10682         * debug/warning-nop.c: Likewise.
10684 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
10686         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10687         implementing getdents64 using getdents syscall, set d_type if
10688         __ASSUME_GETDENTS32_D_TYPE.
10690 2010-09-16  Andreas Schwab  <schwab@redhat.com>
10692         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10693         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10695 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
10697         [BZ #12037]
10698         * posix/unistd.h: Undo change of feature selection for ftruncate from
10699         2010-01-11.
10701 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
10703         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
10704         detection.
10706 2010-09-20  Andreas Schwab  <schwab@redhat.com>
10708         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10709         fanotify_mark.
10710         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10712 2010-09-14  Andreas Schwab  <schwab@redhat.com>
10714         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
10715         variables after CHECK_SP call.
10716         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
10718 2010-09-13  Andreas Schwab  <schwab@redhat.com>
10719             Ulrich Drepper  <drepper@redhat.com>
10721         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
10722         re-relocationg ld.so.
10723         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
10724         _dl_init_paths call.
10725         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
10726         here anymore.
10728 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
10730         * resolv/res_init.c (__res_vinit): Count the default server we added.
10732 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
10733             Ulrich Drepper  <drepper@redhat.com>
10735         [BZ #11968]
10736         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10737         (____longjmp_chk): Use %ebx for saving value across system call.
10738         Add unwind info.
10740 2010-09-06  Andreas Schwab  <schwab@redhat.com>
10742         * manual/Makefile: Don't mix pattern rules with normal rules.
10744 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
10746         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
10747         operation.
10748         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10749         * libio/iofopncook.c (_IO_cookie_init): Likewise.
10750         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10751         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10752         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10753         Likewise.
10755 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
10757         [BZ #11979]
10758         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
10759         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
10761 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
10763         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
10764         * sysdeps/x86_64/addmul_1.S: Likewise.
10765         * sysdeps/x86_64/lshift.S: Likewise.
10766         * sysdeps/x86_64/mul_1.S: Likewise.
10767         * sysdeps/x86_64/rshift.S: Likewise.
10768         * sysdeps/x86_64/sub_n.S: Likewise.
10769         * sysdeps/x86_64/submul_1.S: Likewise.
10771 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10773         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
10774         Define __sched_param instead of SCHED_* and sched_param when
10775         <bits/sched.h> is included with __need_schedparam defined.
10776         * bits/sched.h [__need_schedparam]
10777         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
10778         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
10779         (__defined_schedparam): Define to 1.
10780         (__sched_param): New structure, identical to sched_param.
10781         (__need_schedparam): Undefine.
10783 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
10785         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
10786         (epoll_create1): Declare.
10788         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
10790 2010-08-31  Andreas Schwab  <schwab@redhat.com>
10792         [BZ #7066]
10793         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
10794         shifting retval into place.
10796 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
10798         * nis/rpcsvc/nis.h: Update copyright notice.
10799         * nis/rpcsvc/nis.x: Likewise.
10800         * nis/rpcsvc/nis_callback.h: Likewise.
10801         * nis/rpcsvc/nis_callback.x: Likewise.
10802         * nis/rpcsvc/nis_object.x: Likewise.
10803         * nis/rpcsvc/nis_tags.h: Likewise.
10804         * nis/rpcsvc/yp.h: Likewise.
10805         * nis/rpcsvc/yp.x: Likewise.
10806         * nis/rpcsvc/ypupd.h: Likewise.
10807         * nis/yp_xdr.c: Likewise.
10808         * nis/ypupdate_xdr.c: Likewise.
10810         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
10811         mainly the body of pmap_getport.  Add parameters to specify timeouts.
10812         (pmap_getport): Use __libc_rpc_getport.
10813         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
10814         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
10815         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
10817 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
10819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
10820         fanotify_mark.
10822 2010-08-27  Roland McGrath  <roland@redhat.com>
10824         * sysdeps/i386/i686/multiarch/Makefile
10825         (CFLAGS-varshift.c): New variable.
10827 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
10829         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
10830         * sysdeps/i386/i686/multiarch/varshift.c: New file.
10832         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
10834         * sysdeps/x86_64/strlen.S: Minimal code improvement.
10836 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
10838         * sysdeps/x86_64/strlen.S: Unroll the loop.
10839         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10840         strlen-sse2 strlen-sse2-bsf.
10841         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
10842         __strlen_no_bsf if bit_Slow_BSF is set.
10843         (__strlen_sse42): Removed.
10844         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
10845         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
10847 2010-08-25  Roland McGrath  <roland@redhat.com>
10849         * sysdeps/x86_64/multiarch/varshift.S: File removed.
10850         * sysdeps/x86_64/multiarch/varshift.c: New file.
10851         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
10852         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
10853         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
10854         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10856 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
10858         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10859         strlen-sse2 strlen-sse2-bsf.
10860         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
10861         __strlen_sse2_bsf if bit_Slow_BSF is unset.
10862         (__strlen_sse2): Removed.
10863         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
10864         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
10865         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10866         bit_Slow_BSF for Atom.
10867         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
10868         (index_Slow_BSF): Define.
10869         (HAS_SLOW_BSF): Define.
10871 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
10873         [BZ #10851]
10874         * resolv/res_init.c (__res_vinit): When no server address at all
10875         is given default to loopback.
10877 2010-08-24  Roland McGrath  <roland@redhat.com>
10879         * configure.in: Remove config-name.h generation.
10880         * configure: Regenerated.
10881         * config-name.in: File removed.
10882         * scripts/config-uname.sh: New file.
10883         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
10884         ($(objdir)config-name.h): New target.
10886         * sunrpc/rpc_parse.h: Avoid nested comment.
10888 2010-08-24  Richard Henderson  <rth@redhat.com>
10889             Ulrich Drepper  <drepper@redhat.com>
10890             H.J. Lu  <hongjiu.lu@intel.com>
10892         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
10893         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
10894         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
10895         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
10896         _mm_alignr_epi8 with _mm_loadu_si128.
10897         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
10898         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
10899         (__m128i_shift_right): Removed.
10900         * sysdeps/i386/i686/multiarch/varshift.h: New file.
10901         * sysdeps/i386/i686/multiarch/varshift.S: New file.
10902         * sysdeps/x86_64/multiarch/varshift.h: New file.
10903         * sysdeps/x86_64/multiarch/varshift.S: New file.
10905 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
10907         * configure.in: Move assembler checks to before sysdep dir checking.
10909 2010-08-20  Petr Baudis  <pasky@suse.cz>
10911         * LICENSES: Sync the sunrpc license.
10913 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
10915         * sunrpc/auth_des.c: Update copyright notice once again.
10916         * sunrpc/auth_none.c: Likewise.
10917         * sunrpc/auth_unix.c: Likewise.
10918         * sunrpc/authdes_prot.c: Likewise.
10919         * sunrpc/authuxprot.c: Likewise.
10920         * sunrpc/bindrsvprt.c: Likewise.
10921         * sunrpc/clnt_gen.c: Likewise.
10922         * sunrpc/clnt_perr.c: Likewise.
10923         * sunrpc/clnt_raw.c: Likewise.
10924         * sunrpc/clnt_simp.c: Likewise.
10925         * sunrpc/clnt_tcp.c: Likewise.
10926         * sunrpc/clnt_udp.c: Likewise.
10927         * sunrpc/clnt_unix.c: Likewise.
10928         * sunrpc/des_crypt.c: Likewise.
10929         * sunrpc/des_soft.c: Likewise.
10930         * sunrpc/get_myaddr.c: Likewise.
10931         * sunrpc/getrpcport.c: Likewise.
10932         * sunrpc/key_call.c: Likewise.
10933         * sunrpc/key_prot.c: Likewise.
10934         * sunrpc/openchild.c: Likewise.
10935         * sunrpc/pm_getmaps.c: Likewise.
10936         * sunrpc/pm_getport.c: Likewise.
10937         * sunrpc/pmap_clnt.c: Likewise.
10938         * sunrpc/pmap_prot.c: Likewise.
10939         * sunrpc/pmap_prot2.c: Likewise.
10940         * sunrpc/pmap_rmt.c: Likewise.
10941         * sunrpc/rpc/auth.h: Likewise.
10942         * sunrpc/rpc/auth_unix.h: Likewise.
10943         * sunrpc/rpc/clnt.h: Likewise.
10944         * sunrpc/rpc/des_crypt.h: Likewise.
10945         * sunrpc/rpc/key_prot.h: Likewise.
10946         * sunrpc/rpc/netdb.h: Likewise.
10947         * sunrpc/rpc/pmap_clnt.h: Likewise.
10948         * sunrpc/rpc/pmap_prot.h: Likewise.
10949         * sunrpc/rpc/pmap_rmt.h: Likewise.
10950         * sunrpc/rpc/rpc.h: Likewise.
10951         * sunrpc/rpc/rpc_des.h: Likewise.
10952         * sunrpc/rpc/rpc_msg.h: Likewise.
10953         * sunrpc/rpc/svc.h: Likewise.
10954         * sunrpc/rpc/svc_auth.h: Likewise.
10955         * sunrpc/rpc/types.h: Likewise.
10956         * sunrpc/rpc/xdr.h: Likewise.
10957         * sunrpc/rpc_clntout.c: Likewise.
10958         * sunrpc/rpc_cmsg.c: Likewise.
10959         * sunrpc/rpc_common.c: Likewise.
10960         * sunrpc/rpc_cout.c: Likewise.
10961         * sunrpc/rpc_dtable.c: Likewise.
10962         * sunrpc/rpc_hout.c: Likewise.
10963         * sunrpc/rpc_main.c: Likewise.
10964         * sunrpc/rpc_parse.c: Likewise.
10965         * sunrpc/rpc_parse.h: Likewise.
10966         * sunrpc/rpc_prot.c: Likewise.
10967         * sunrpc/rpc_sample.c: Likewise.
10968         * sunrpc/rpc_scan.c: Likewise.
10969         * sunrpc/rpc_scan.h: Likewise.
10970         * sunrpc/rpc_svcout.c: Likewise.
10971         * sunrpc/rpc_tblout.c: Likewise.
10972         * sunrpc/rpc_util.c: Likewise.
10973         * sunrpc/rpc_util.h: Likewise.
10974         * sunrpc/rpcinfo.c: Likewise.
10975         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
10976         * sunrpc/rpcsvc/key_prot.x: Likewise.
10977         * sunrpc/rpcsvc/klm_prot.x: Likewise.
10978         * sunrpc/rpcsvc/mount.x: Likewise.
10979         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
10980         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
10981         * sunrpc/rpcsvc/rex.x: Likewise.
10982         * sunrpc/rpcsvc/rstat.x: Likewise.
10983         * sunrpc/rpcsvc/rusers.x: Likewise.
10984         * sunrpc/rpcsvc/sm_inter.x: Likewise.
10985         * sunrpc/rpcsvc/spray.x: Likewise.
10986         * sunrpc/rpcsvc/yppasswd.x: Likewise.
10987         * sunrpc/rtime.c: Likewise.
10988         * sunrpc/svc.c: Likewise.
10989         * sunrpc/svc_auth.c: Likewise.
10990         * sunrpc/svc_authux.c: Likewise.
10991         * sunrpc/svc_raw.c: Likewise.
10992         * sunrpc/svc_run.c: Likewise.
10993         * sunrpc/svc_simple.c: Likewise.
10994         * sunrpc/svc_tcp.c: Likewise.
10995         * sunrpc/svc_udp.c: Likewise.
10996         * sunrpc/svc_unix.c: Likewise.
10997         * sunrpc/svcauth_des.c: Likewise.
10998         * sunrpc/xcrypt.c: Likewise.
10999         * sunrpc/xdr.c: Likewise.
11000         * sunrpc/xdr_array.c: Likewise.
11001         * sunrpc/xdr_float.c: Likewise.
11002         * sunrpc/xdr_mem.c: Likewise.
11003         * sunrpc/xdr_rec.c: Likewise.
11004         * sunrpc/xdr_ref.c: Likewise.
11005         * sunrpc/xdr_sizeof.c: Likewise.
11006         * sunrpc/xdr_stdio.c: Likewise.
11008         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
11009         handling.
11011 2010-08-19  Andreas Schwab  <schwab@redhat.com>
11013         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
11015 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
11017         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
11018         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
11019         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
11020         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
11021         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
11022         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
11023         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
11024         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
11025         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
11026         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
11027         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
11028         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
11029         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
11030         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
11032 2010-07-26  Anton Blanchard  <anton@samba.org>
11034         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
11035         * malloc/arena.c (heap_trim): Likewise.
11037 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
11039         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
11040         here.  Not...
11041         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
11042         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
11044 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
11046         * sysdeps/i386/elf/Makefile: New file.
11048 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
11050         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
11051         from fanotify_init.
11052         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
11053         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11055 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
11057         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
11058         of strncasecmp_l.
11059         * sysdeps/multiarch/strcmp.S: Likewise.
11061 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
11063         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11064         strncase_l-nonascii.
11065         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11066         Add strncase_l-ssse3.
11067         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
11068         * sysdeps/x86_64/strcmp.S: Likewise.
11069         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
11070         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
11071         * sysdeps/x86_64/strncase.S: New file.
11072         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
11073         * sysdeps/x86_64/strncase_l.S: New file.
11074         * string/Makefile (strop-tests): Add strncasecmp.
11075         * string/test-strncasecmp.c: New file.
11077         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
11078         warning.
11080         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
11081         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
11083 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
11085         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
11087 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
11089         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
11090         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11091         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11093 2010-05-01  Alan Modra  <amodra@gmail.com>
11095         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
11096         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
11097         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
11098         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
11099         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
11100         tidying.  Don't tail-call __sigjmp_save for static lib.
11101         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
11102         save location.
11103         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
11104         (CALL_MCOUNT): Add eh info, and nop after bl.
11105         (TAIL_CALL_SYSCALL_ERROR): New macro.
11106         (PSEUDO_RET): Use it.
11107         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11108         Correct save location of integer regs and cr.
11109         (_dl_profile_resolve): Correct cr save location.  Delete nops
11110         after bl when SHARED.  Reduce cfi size a little by better
11111         placement of cfi directives.
11112         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
11113         make a stack frame.  Instead use parm save area as a temp.
11114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
11115         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
11116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11117         Don't make a stack frame for parent, use parm save area.
11118         Increase child stack frame to 112 bytes.  Don't save unused reg,
11119         and adjust reg usage.  Set up cfi on error recovery and
11120         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
11121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11122         (__makecontext): Add dummy nop after jump to exit.
11123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
11124         Use correct parm save area and cr save, reduce stack frame.
11125         Correct cfi for possible PSEUDO_RET frame setup.
11126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
11127         Branch to local label emitted by PSEUDO_RET rather than
11128         __syscall_error.
11130 2010-08-12  Andreas Schwab  <schwab@redhat.com>
11132         [BZ #11904]
11133         * locale/programs/locale.c (print_assignment): New function.
11134         (show_locale_vars): Use it.
11136 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
11138         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
11139         field.
11140         (struct statfs64): Likewise.
11141         (_STATFS_F_FLAGS): Define.
11142         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
11143         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11144         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
11145         (ST_VALID): Define locally.
11146         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
11147         __statvfs_getflags, use the provided value.
11148         * sysdeps/unix/sysv/linux/kernel-features.h: Define
11149         __ASSUME_STATFS_F_FLAGS.
11151         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
11153         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
11154         Add sys/fanotify.h.
11155         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
11156         fanotify_mask for GLIBC_2.13.
11157         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
11158         fanotify_init and fanotify_mark.
11159         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11160         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
11162         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
11163         Add prlimit.
11164         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
11165         prlimit64 for GLIBC_2.13.
11166         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
11167         prlimit64.
11168         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
11169         syscall.
11170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11171         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11172         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
11173         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
11174         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
11175         add prlimit alias.
11176         * sysdeps/unix/sysv/linux/prlimit.c: New file.
11178         [BZ #11903]
11179         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
11180         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
11182         * nss/Makefile: Add rules to build and run tst-nss-test1.
11183         * shlib-versions: Add entry for libnss_test1.
11184         * nss/nss_test1.c: New file.
11185         * nss/tst-nss-test1.c: New file.
11187         * nss/nsswitch.c (__nss_database_custom): Define new variable.
11188         (__nss_configure_lookup): Set appropriate entry in
11189         __nss_configure_lookup to true.
11190         * nss/nsswitch.h: Define enum with indeces of databases in
11191         databases and __nss_database_custom arrays.  Declare
11192         __nss_database_custom.
11193         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
11194         to avoid using nscd when custom rules are installed.
11195         * nss/getXXbyYY_r.c: Likewise.
11196         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11198         * nss/nss_files/files-parse.c: Whitespace fixes.
11200 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
11202         [BZ #11883]
11203         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
11204         * posix/fnmatch_loop.c: Likewise.
11206 2010-07-17  Andi Kleen  <ak@linux.intel.com>
11208         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
11209         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
11210         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
11211         * Versions.def [GLIBC_2.13]: Add.
11213 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
11215         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11216         Also fail if tpwd after pwuid call is NULL.
11218 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11220         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
11221         when converting to ms.
11223 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11225         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
11226         EOPNOTSUPP errors with ENOTTY.
11227         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
11228         EOPNOTSUPP errors with ENOTTY.
11230 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
11232         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11233         Add strcasecmp_l-ssse3.
11234         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
11235         strcasecmp.
11236         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
11237         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
11238         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
11240 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
11242         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
11244         * string/Makefile (strop-tests): Add strcasecmp.
11245         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11246         strcasecmp_l-nonascii.
11247         (gen-as-const-headers): Add locale-defines.sym.
11248         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
11249         * sysdeps/x86_64/strcasecmp.S: New file.
11250         * sysdeps/x86_64/strcasecmp_l.S: New file.
11251         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
11252         * sysdeps/x86_64/locale-defines.sym: New file.
11253         * string/test-strcasecmp.c: New file.
11255         * string/test-strcasestr.c: Test both ends of the range of characters.
11256         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
11258 2010-07-29  Roland McGrath  <roland@redhat.com>
11260         [BZ #11856]
11261         * manual/locale.texi (Yes-or-No Questions): Fix example code.
11263 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
11265         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
11266         for ld.so.
11268 2010-07-27  Andreas Schwab  <schwab@redhat.com>
11270         * manual/memory.texi (Malloc Tunable Parameters): Document
11271         M_PERTURB.
11273 2010-07-26  Roland McGrath  <roland@redhat.com>
11275         [BZ #11840]
11276         * configure.in (-fgnu89-inline check): Set and substitute
11277         gnu89_inline, not libc_cv_gnu89_inline.
11278         * configure: Regenerated.
11279         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
11281 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
11283         * string/test-strnlen.c: New file.
11284         * string/Makefile (strop-tests): Add strnlen.
11285         * string/tester.c (test_strnlen): Add a few more test cases.
11286         * string/tst-strlen.c: Better error reporting.
11288         * sysdeps/x86_64/strnlen.S: New file.
11290 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
11292         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
11293         lower-latency instructions.
11295 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
11297         * string/test-strcasestr.c: New file.
11298         * string/test-strstr.c: New file.
11299         * string/Makefile (strop-tests): Add strstr and strcasestr.
11300         * string/str-two-way.h: Don't undefine MAX.
11301         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
11303 2010-07-21  Andreas Schwab  <schwab@redhat.com>
11305         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11306         strcasestr-nonascii.
11307         (CFLAGS-strcasestr-nonascii.c): Define.
11308         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
11309         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
11310         Remove unused attribute.
11312 2010-07-20  Roland McGrath  <roland@redhat.com>
11314         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
11315         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
11316         ld.so.cache was broken.  With it, there is no way to disable dsocaps
11317         like LD_HWCAP_MASK can disable hwcaps.
11319 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
11321         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
11323 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
11325         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
11326         call in strcasestr.
11327         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
11328         __strcasestr_sse42_nonascii.
11329         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
11330         strcasestr-nonascii.c.
11331         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
11333 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
11335         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
11336         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
11337         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
11338         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
11340 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
11342         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
11343         fcntl.
11345 2010-07-06  Andreas Schwab  <schwab@redhat.com>
11347         [BZ #11577]
11348         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
11349         dl_signal_cerror.
11351 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
11353         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
11354         _PC_PIPE_BUF using F_GETPIPE_SZ.
11356 2010-07-05  Roland McGrath  <roland@redhat.com>
11358         * manual/arith.texi (Rounding Functions): Fix rint description
11359         implicit in round description.
11361 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
11363         * elf/Makefile: Fix linking for a few tests to make recent linker
11364         happy.
11366 2010-06-30  Andreas Schwab  <schwab@redhat.com>
11368         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11369         $(common-objpfx)libc_nonshared.a.
11371 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
11373         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
11374         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
11375         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11376         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11377         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
11378         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
11379         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11380         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
11382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
11383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
11384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
11386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
11388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
11389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
11390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
11391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
11393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
11395         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
11396         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
11397         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
11398         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
11399         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
11400         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
11401         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
11402         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
11403         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
11404         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
11405         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
11406         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
11407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
11408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
11409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
11410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
11411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
11412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
11413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
11414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
11415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
11416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
11417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
11418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
11419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
11420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
11422 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
11424         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
11425         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
11426         * string/memmove.c (memmove): Renamed to ...
11427         (MEMMOVE): ...this.  Default to memmove.
11428         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
11429         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
11430         (END_CHK): Define.
11431         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11432         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
11433         mempcpy-ssse3-back memmove-ssse3-back.
11434         * sysdeps/x86_64/multiarch/bcopy.S: New file .
11435         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
11436         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
11437         * sysdeps/x86_64/multiarch/memcpy.S: New file.
11438         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
11439         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
11440         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
11441         * sysdeps/x86_64/multiarch/memmove.c: New file.
11442         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
11443         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
11444         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
11445         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
11446         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
11447         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
11448         Define.
11449         (index_Fast_Copy_Backward): Define.
11450         (HAS_ARCH_FEATURE): Define.
11451         (HAS_FAST_REP_STRING): Define.
11452         (HAS_FAST_COPY_BACKWARD): Define.
11454 2010-06-21  Andreas Schwab  <schwab@redhat.com>
11456         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11457         Restore proper fallback handling.
11459 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
11461         [BZ #11701]
11462         * posix/group_member.c (__group_member): Correct checking loop.
11464         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11465         OOM in getpwuid_r correctly.  Return error number when the caller
11466         should return, otherwise -1.
11467         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11468         call returning > 0 value.
11469         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11471 2010-06-07  Andreas Schwab  <schwab@redhat.com>
11473         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11474         libc_nonshared.a from targets in modules-names.
11476 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
11478         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11479         requires it.
11481 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
11483         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11484         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11485         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11486         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11488 2010-06-02  Andreas Schwab  <schwab@redhat.com>
11490         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11492 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
11494         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11495         and F_GETPIPE_SZ.
11496         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11497         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11498         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11499         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11500         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11501         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11503 2010-06-14  Roland McGrath  <roland@redhat.com>
11505         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11507 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
11509         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11510         __REDIRECT followed by __THROW.
11511         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11512         * posix/getopt.h (getopt): Likewise.
11514 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
11516         * hurd/lookup-at.c (__file_name_lookup_at): Accept
11517         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
11518         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11519         in AT_FLAGS.
11520         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11521         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11523 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
11525         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11527 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
11529         [BZ #11640]
11530         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11531         Properly check family and model.
11533 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
11535         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11537 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
11539         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11541 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
11543         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11544         symbol reference.
11546 2010-05-19  Andreas Schwab  <schwab@redhat.com>
11548         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11549         symbol reference.
11551 2010-05-21  Andreas Schwab  <schwab@redhat.com>
11553         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11554         and internal_recvmmsg.
11555         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11556         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11557         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11558         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11560         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11561         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11562         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11564 2010-05-20  Andreas Schwab  <schwab@redhat.com>
11566         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11568 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
11570         POWER7 optimizations.
11571         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11572         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11574 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
11576         * version.h: Update for 2.13 development version.
11578 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
11580         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11581         exceptions.  Return 0.
11583 2010-05-07  Roland McGrath  <roland@redhat.com>
11585         * elf/ldconfig.c (main): Add a const.
11587 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
11589         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11590         (args_options): Add no-idn option.
11591         (ahosts_keys_int): Add idn_flags to ai_flags.
11592         (parse_option): Handle 'i' option to clear idn_flags.
11594         * malloc/malloc.c (_int_free): Possible race in the most recently
11595         added check.  Only act on the data if no current modification
11596         happened.
11598 See ChangeLog.17 for earlier changes.