* stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
[glibc.git] / ChangeLog
blob1a55bd769250a7de392d4bdb492cd169a9a7b839
1 2013-04-23  Paul Eggert  <eggert@cs.ucla.edu>
3         [BZ #13970]
4         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
5         (strtod, strtof, strtold, strtol, strtoul, strtoq)
6         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
7         (strtod_l, strtof_l, strtold_l): Remove __wur.
8         It is not necessarily an error to ignore strtol's return value.
9         One can reliably look at the stored endptr to decide whether
10         the number had valid syntax.
12 2012-04-21  Andreas Jaeger  <aj@suse.de>
14         [BZ #13739]
15         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
17 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
19         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
20         * sysdeps/unix/sysv/Versions: Remove file.
22 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
24         [BZ #13927]
25         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
29         [BZ #7064]
30         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31         version from __vm86.
33 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
35         * sysdeps/unix/common/lxstat.c: Remove file.
36         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
38         * sysdeps/unix/sysv/Makefile: Remove file.
40         * sysdeps/unix/sysv/direct.h: Remove file.
42         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
43         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
44         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
45         * sysdeps/unix/sysv/bits/signum.h: Likewise.
46         * sysdeps/unix/sysv/bits/stat.h: Likewise.
47         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
48         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
50         * sysdeps/unix/sysv/setrlimit.c: Remove file.
52         * sysdeps/unix/xmknod.c: Remove file.
53         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
55         * sysdeps/unix/sysv/settimeofday.c: Remove file.
57         * sysdeps/unix/sysv/i386/time.S: Remove file.
59         * sysdeps/unix/fxstat.c: Remove file.
60         * sysdeps/unix/xstat.c: Likewise.
61         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
63         * sysdeps/unix/sysv/sigaction.c: Remove file.
65         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
66         (sysdep_headers): Remove variable.
67         [termio.h not in sysdep_headers] (generated): Likewise.
68         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
69         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
70         * sysdeps/unix/sysv/tcdrain.c: Likewise.
71         * sysdeps/unix/sysv/tcflow.c: Likewise.
72         * sysdeps/unix/sysv/tcflush.c: Likewise.
73         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
74         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
75         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
76         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
77         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
79         * sysdeps/unix/siglist.c: Remove file.
81         * sysdeps/unix/getppid.S: Remove file.
83         * sysdeps/unix/mkdir.c: Remove file.
84         * sysdeps/unix/rmdir.c: Likewise.
86 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
88         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
89         ERR_MAX value.
90         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
91         errlist-compat value.
93 2012-04-18  David S. Miller  <davem@davemloft.net>
95         * sysdeps/generic/memcopy.h (reg_char): Delete.
96         * debug/strcat_chk.c: Use char, not reg_char.
97         * debug/strcpy_chk.c: Likewise.
98         * debug/strncat_chk.c: Likewise.
99         * debug/strncpy_chk.c: Likewise.
100         * string/memchr.c: Likewise.
101         * string/memrchr.c: Likewise.
102         * string/rawmemchr.c: Likewise.
103         * string/strcat.c: Likewise.
104         * string/strchr.c: Likewise.
105         * string/strchrnul.c: Likewise.
106         * string/strcmp.c: Likewise.
107         * string/strcpy.c: Likewise.
108         * string/strncat.c: Likewise.
109         * string/strncmp.c: Likewise.
110         * string/strncpy.c: Likewise.
112 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
114         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
115         __builtin_memcopy is called when src and dest ranges are known to not
116         overlap.
118 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
120         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
121         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
122         fwd_align_merge macro call.
123         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
124         bwd_align_merge macro call.
125         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
127 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
129         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
130         bwd_align_merge macros.
131         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
132         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
133         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
135 2012-04-18  David S. Miller  <davem@davemloft.net>
137         * sysdeps/sparc/sparc64/memcopy.h: Delete.
139 2012-04-18  Andreas Jaeger  <aj@suse.de>
141         [BZ# 6794]
142         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
143         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
144         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
146         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
147         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
148         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
150         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
151         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
152         Adjust for changed ldbl-128 files.
154         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
155         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
156         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
158 2012-04-17  David S. Miller  <davem@davemloft.net>
160         * sysdeps/sparc/sparc32/memcopy.h: Delete.
162 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
164         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
165         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
166         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
167         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
168         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
169         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
171 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
173         [BZ #6794]
174         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
175         * math/libm-test.inc: Add ilogb errno and exception tests.
176         * math/w_ilogb.c: New file: ilogb wrapper.
177         * math/w_ilogbf.c: New file: ilogbf wrapper.
178         * math/w_ilogbl.c: New file: ilogbl wrapper.
179         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
180         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
181         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
182         exception being thrown with 0.0 as argument.
183         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
184         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
185         exception being thrown with 0.0 as argument.
186         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
187         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
188         exception being thrown with 0.0 as argument.
189         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
190         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
191         exception being thrown with 0.0 as argument.
192         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
193         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
194         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
195         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
196         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
197         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
198         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
199         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
200         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
202 2012-04-17  Petr Baudis  <pasky@ucw.cz>
204         * include/sys/uio.h: Change __vector to __iovec to avoid clash
205         with altivec.
207 2012-04-16  Marek Polacek  <polacek@redhat.com>
209         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
211 2012-04-16  Marek Polacek  <polacek@redhat.com>
213         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
214         operands of fdivp instruction.
216 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
218         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
219         * elf/tst-auditmod3b.c: Likewise.
220         * elf/tst-auditmod4b.c: Likewise.
221         * elf/tst-auditmod5b.c: Likewise.
222         * elf/tst-auditmod6b.c: Likewise.
223         * elf/tst-auditmod6c.c: Likewise.
224         * elf/tst-auditmod7b.c: Likewise.
225         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
226         * sysdeps/x86_64/preconfigure.in: Likewise.
227         * sysdeps/x86_64/preconfigure: Regenerated.
229 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
231         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
232         __ILP32__.
234 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
236         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
237         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
239 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
241         [BZ #13973]
242         * locale/iso-639.def: Fix gl language name. Spotted by
243         Yaron Shahrabani.
245 2012-04-12  Roland McGrath  <roland@hack.frob.com>
247         [BZ #2074]
248         * libio/libio.h (__io_write_fn): Update comment.
250 2012-04-12  Petr Baudis  <pasky@ucw.cz>
252         [BZ #2074]
253         * stdio.texi (Hook Functions): The user provided writer function
254         is not allowed to return -1.
256 2012-04-11  David S. Miller  <davem@davemloft.net>
258         * sysdeps/sparc/fpu/libm-test-ulps: Update.
260 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
262         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
263         Add a leading slash to rtkaio.
265 2012-04-11  Jim Meyering  <meyering@redhat.com>
267         [BZ #11959]
268         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
269         It is not necessarily an error to ignore fwrite's return
270         value.  One can reliably use ferror to test for errors after
271         the fact.
273 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
275         * bits/types.h (__snseconds_t): New type.
276         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
278         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
279         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
280         (__SNSECONDS_T_TYPE): Likewise.
281         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
282         (__SNSECONDS_T_TYPE): Likewise.
283         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
284         (__SNSECONDS_T_TYPE): Likewise.
286 2012-04-10  Andreas Jaeger  <aj@suse.de>
288         [BZ #2636]
289         * manual/time.texi (Processor Time): Return type of times is
290         elapsed real time since an arbitrary point in the past.
291         (CPU Time): Move CLK_TCK from here...
292         (Processor Time): ...to here.  Correct description.
293         * manual/conf.texi (Constants for Sysconf): Correct description of
294         _SC_CLK_TCK.
296 2012-04-10  David S. Miller  <davem@davemloft.net>
298         [BZ #13967]
299         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
300         where the is a gap between DT_REL(A) and DT_JMPREL.
302 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
304         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
305         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
306         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
308 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
310         * elf/dl-support.c (_dl_inhibit_cache): New variable.
311         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
312         (dl_main): Handle --inhibit-cache.
313         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
314         _dl_inhibit_cache.
315         * elf/dl-load.c (_dl_map_object): Use it.
316         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
318 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
320         [BZ #13872]
321         * sysdeps/i386/fpu/e_powl.S (p78): New object.
322         (__ieee754_powl): Saturate large exponents rather than testing for
323         overflow of y*log2(x).
324         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
325         * math/libm-test.inc (pow_test): Do not permit spurious overflow
326         exceptions.
328         [BZ #11521]
329         * math/s_ctan.c: Include <float.h>.
330         (__ctan): Avoid internal overflow or cancellation in calculating
331         denominator.
332         * math/s_ctanf.c: Likewise.
333         * math/s_ctanl.c: Likewise.
334         * math/s_ctanh.c: Likewise.
335         * math/s_ctanhf.c: Likewise.
336         * math/s_ctanhl.c: Likewise.
337         * math/libm-test.inc (ctan_test): Add more tests.
338         (ctanh_test): Likewise.
339         * sysdeps/i386/fpu/libm-test-ulps: Update.
340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
342 2012-04-09  Andreas Jaeger  <aj@suse.de>
344         [BZ #6894]
345         * manual/filesys.texi (Directory Entries): Mention that d_namlen
346         is an optional BSD extension.
348         [BZ #10254]
349         * manual/stdio.texi (Opening Streams): Document additional fopen
350         parameters.
352 2012-04-09  Roland McGrath  <roland@hack.frob.com>
354         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
355         %eax without telling the compiler.
357 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
359         [BZ # 13963]
360         * manual/install.texi: Use sourceware.org.
362 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
364         [BZ #13873]
365         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
366         (__ieee754_pow): Generate overflow and underflow using huge*huge
367         and tiny*tiny rather than just returning constant infinity or zero
368         for large exponents.
369         * math/libm-test.inc (pow_test): Require overflow exceptions for
370         applicable cases of large exponents.
372         [BZ #706]
373         * sysdeps/i386/fpu/e_pow.S (p10): New object.
374         (__ieee754_pow): Use iterative multiplication algorithm only for
375         integer exponents with absolute value below 1024.  Check for odd
376         integer exponents when using algorithm for real exponents.
377         * math/libm-test.inc (pow_test): Add more tests.
378         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
380 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
382         [BZ #13705]
383         * math/libm-test.inc (exp_test): Do not allow overflow exception
384         on underflow test.
386 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
388         [BZ #13705]
389         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
390         instead of __kernel_standard_f.
392 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
394         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
395         * sysdeps/x86_64/memset_chk.S: Likewise.
397 2012-04-08  Andreas Jaeger  <aj@suse.de>
399         [BZ #10153]
400         * manual/startup.texi (Environment Access): Describe return value
401         for putenv and setenv.
403         [BZ #6895]
404         * manual/filesys.texi (Directory Entries): Add description for
405         DT_LNK.
407         [BZ #6890]
408         * manual/filesys.texi (Directory Entries): Clarify that it's file
409         system not operating system in the description of DT_UNKNOWN.
411         [BZ #6578]
412         * manual/syslog.texi (closelog): Fix reference, it's openlog.
414 2012-04-08  Stephen Compall  <s11@member.fsf.org>
416         [BZ #6649]
417         * manual/llio.texi (Opening and Closing Files): Add cross
418         reference to explain mode argument.
420 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
422         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
423         * sysdeps/x86_64/memset_chk.S: Likewise.
425 2012-04-07  David S. Miller  <davem@davemloft.net>
427         * elf/elf.h (R_SPARC_WDISP10): Define.
428         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
429         R_SPARC_SIZE32.
430         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
431         R_SPARC_SIZE64 and R_SPARC_H34.
433 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
435         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
436         conditions and remove no longer applicable assertion.
438 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
440         * bits/byteswap.h: Include <features.h>.
441         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
442         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
444 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
446         * bits/byteswap.h (__bswap_16): Removed.
447         Include <bits/byteswap-16.h> to get __bswap_16.
448         * sysdeps/i386/bits/byteswap.h: Likewise.
449         * sysdeps/s390/bits/byteswap.h: Likewise.
450         * sysdeps/x86_64/bits/byteswap.h: Likewise.
451         * bits/byteswap-16.h: New file.
452         * sysdeps/i386/bits/byteswap-16.h: Likewise.
453         * sysdeps/s390/bits/byteswap-16.h: Likewise.
454         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
455         * string/Makefile (headers): Add bits/byteswap-16.h.
457 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
459         [BZ #13895]
460         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
461         extra indirection.
462         * nss/Makefile (tests-static, tests): Add tst-nss-static.
463         * nss/tst-nss-static.c: New.
465 2012-04-06  Robert Millan  <rmh@gnu.org>
467         [BZ #6486]
468         * manual/llio.texi (File Position Primitive): lseek
469         refers to WHENCE when it really means OFFSET.
471 2012-04-06  Andreas Jaeger  <aj@suse.de>
473         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
474         strncmp declarations.
476         * abilist/libc.abilist: Add __poll and __ppoll.
478 2012-04-05  David S. Miller  <davem@davemloft.net>
480         * scripts/check-local-headers.sh: Accept a host triplet in the
481         path matched by the exclude regexp.
483         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
484         definition.
485         * sysdeps/powerpc/powerpc32/dl-machine.h
486         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
487         * sysdeps/s390/s390-32/dl-machine.h
488         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
489         * sysdeps/sparc/sparc32/dl-machine.h
490         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
491         * sysdeps/sparc/sparc64/dl-machine.h
492         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
494         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
495         lazy binding.
496         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
497         undefined symbol errors.
499         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
500         DT_NEEDED entries.
502 2012-04-05  Michael Matz  <matz@suse.de>
504         [BZ #13592]
505         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
507 2012-04-05  Andreas Jaeger  <aj@suse.de>
509         [BZ #13908]
510         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
511         comment.
513 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
515         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
516         which ROUND is no valid rounding mode.
518 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
520         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
521         read again.
522         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
524 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
526         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
527         an exception using FPU order intentionally.
529 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
531         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
532         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
533         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
534         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
536 2012-04-05  Simon Josefsson  <simon@josefsson.org>
538         [BZ #12340]
539         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
540         EINVAL when BUFLEN is too smal.
542 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
544         [BZ #13553]
545         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
546         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
548 2012-04-03  Andreas Jaeger  <aj@suse.de>
550         [BZ #13938]
551         * manual/setjmp.texi (System V contexts): Fix sentence.
553         [BZ #13926]
554         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
555         New macro for this case.
556         [!__GNUC__] (__bswap_64): New inline function for this case.
557         * sysdeps/x86_64/bits/byteswap.h: Likewise.
558         * bits/byteswap.h: Likewise.
559         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
560         ull, guard with __GLIBC_HAVE_LONG_LONG.
562         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
563         __GLIBC_HAVE_LONG_LONG.
565         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
566         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
568 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
570         [BZ #13691]
571         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
572         inptr and inend, rather than using last_ch.
574 2012-04-02  David S. Miller  <davem@davemloft.net>
576         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
577         * stdio-common/printf-parse.h (read_int): Change return type to
578         'int', return -1 on INT_MAX overflow.
579         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
580         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
581         overflows INT_MAX.  Check for overflow of in-format-string precision
582         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
583         SIZE_MAX not INT_MAX for integer overflow test.
584         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
585         skip the construct in the format string but do not record anything.
586         * stdio-common/bug22.c: Adjust to test both width/prevision
587         INT_MAX overflow as well as total length INT_MAX overflow.  Check
588         explicitly for proper errno values.
590 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
592         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
593         CHAR_MAX.
594         * string/test-strcmp.c [! WIDE]: Likewise.
595         * time/tst-mktime2.c: Likewise for INT_MAX.
596         * string/test-string.h: #include <sys/param.h> for MIN.
598         * csu/init-first.c (__libc_init_first): Call __ctype_init.
599         * sysdeps/i386/init-first.c (init): Likewise.
600         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
601         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
602         * sysdeps/sh/init-first.c (init): Likewise.
604 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
606         * po/ru.po: Update from translation team.
607         * po/vi.po: Likewise.
609 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
611         * resolv/nss_dns/dns-host.c: Merge copyright years.
613 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
615         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
616         Optimize memcpy with prefetch if
617         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
618         src, dst pointers have unequal 16 byte alignments.
620 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
622         [BZ #13928]
623         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
624         from a CNAME entry and return the minimum ttl for the query.
625         (gaih_getanswer_slice): Likewise.
627 2012-03-30  Jeff Law  <law@redhat.com>
629         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
630         due to long keys.
631         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
632         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
634         * resolv/nss_dns/dns-host.c: Update copyright year.
636 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
638         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
639         requests to save a system call.  Fix check that all bytes are sent.
641         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
642         comments for sendmmsg.
644 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
646         [BZ #13691]
647         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
648         with only 1 character between 0x0041 and 0x01b0.
649         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
650         * wcsmbs/tst-mbsnrtowcs.c: New file.
652 2012-03-29  David S. Miller  <davem@davemloft.net>
654         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
655         small copies by hand.
657 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
659         [BZ #13761]
660         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
661         _nss_compat_initgroups_dyn): Fall back to malloc/free
662         for large group memberships.
664 2012-03-28  David S. Miller  <davem@davemloft.net>
666         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
667         that branches into memcpy.
668         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
669         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
670         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
671         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
672         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
673         bits.
674         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
675         implementation too.
676         * sysdeps/sparc/mempcpy.S: New file.
678         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
679         the IFUNC routine in the libc case.
680         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
682         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
683         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
684         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
685         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
686         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
687         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
688         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
689         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
691         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
692         loop to 256 bytes instead of 64 bytes and fix test signedness.
694         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
695         * sysdeps/sparc/sparc32/Makefile: rather than here...
696         * sysdeps/sparc/sparc64/Makefile: and here.
698 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
700         * malloc/mallocbug.c: Avoid warnings about unused variables.
702 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
704         [BZ #13760]
705         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
706         in the right place. Discard and retry query if response is
707         larger than input buffer size.
709 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
711         [BZ #369]
712         [BZ #2678]
713         [BZ #3866]
714         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
715         x for large integer exponent.
716         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
717         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
718         sign of result as needed afterwards.
719         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
720         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
721         result for underflowing pow the same as for overflow.
722         (__kernel_standard_l): Handle powl overflow and underflow here
723         rather than calling __kernel_standard.
724         * math/libm-test.inc (pow_test): Add more tests.
726         [BZ #3868]
727         [BZ #13879]
728         [BZ #13910]
729         [BZ #13911]
730         [BZ #13912]
731         [BZ #13913]
732         [BZ #13915]
733         [BZ #13916]
734         [BZ #13917]
735         [BZ #13918]
736         [BZ #13919]
737         [BZ #13920]
738         [BZ #13921]
739         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
740         * sysdeps/ieee754/k_standard.c: Include <float.h>.
741         (__kernel_standard_l): New function.
742         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
743         __kernel_standard.
744         * math/w_acosl.c (__acosl): Likewise.
745         * math/w_asinl.c (__asinl): Likewise.
746         * math/w_atan2l.c (__atan2l): Likewise.
747         * math/w_atanhl.c (__atanhl): Likewise.
748         * math/w_coshl.c (__coshl): Likewise.
749         * math/w_exp10l.c (__exp10l): Likewise.
750         * math/w_exp2l.c (__exp2l): Likewise.
751         * math/w_fmodl.c (__fmodl): Likewise.
752         * math/w_hypotl.c (__hypotl): Likewise.
753         * math/w_j0l.c (__j0l, __y0l): Likewise.
754         * math/w_j1l.c (__j1l, __y1l): Likewise.
755         * math/w_jnl.c (__jnl, __ynl): Likewise.
756         * math/w_lgammal.c (__lgammal): Likewise.
757         * math/w_log10l.c (__log10l): Likewise.
758         * math/w_log2l.c (__log2l): Likewise.
759         * math/w_logl.c (__logl): Likewise.
760         * math/w_powl.c (__powl): Likewise.
761         * math/w_remainderl.c (__remainderl): Likewise.
762         * math/w_scalbl.c (sysv_scalbl): Likewise.
763         * math/w_sinhl.c (__sinhl): Likewise.
764         * math/w_sqrtl.c (__sqrtl): Likewise.
765         * math/w_tgammal.c (__tgammal): Likewise.
766         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
767         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
768         * math/libm-test.inc (acos_test): Add more tests.
769         (acosh_test): Likewise.
770         (asin_test): Likewise.
771         (atanh_test): Likewise.
772         (exp_test): Likewise.
773         (exp10_test): Likewise.
774         (exp2_test): Likewise.
775         (expm1_test): Likewise.
776         (lgamma_test): Likewise.
777         (log_test): Likewise.
778         (log10_test): Likewise.
779         (log1p_test): Likewise.
780         (log2_test): Likewise.
781         (pow_test): Do not allow some spurious overflow exceptions.
782         (sqrt_test): Add more tests.
783         (tgamma_test): Likewise.
784         (y0_test): Likewise.
785         (y1_test): Likewise.
786         (yn_test): Likewise.
788 2012-03-27  Anton Blanchard  <anton@samba.org>
790         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
791         MAP_HUGETLB.
792         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
793         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
794         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
796 2012-03-27  David S. Miller  <davem@davemloft.net>
798         * conform/Makefile: Run run-conformtest.sh using $(BASH).
800         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
801         have-as-vis3 check.
803 2012-03-27  Andreas Jaeger  <aj@suse.de>
805         * sysdeps/x86_64/elf/configure.in: Moved to ...
806         * sysdeps/x86_64/configure.in: ... here.
807         * sysdeps/x86_64/elf/start.S: Moved to ...
808         * sysdeps/x86_64/start.S: ... here.
809         * sysdeps/x86_64/elf/configure: Delete.
811         * sysdeps/x86_64/configure.in: Merge contents from
812         sysdeps/i386/configure.in (without i686 check).
814         * sysdeps/i386/elf/Versions: Merge into ...
815         * sysdeps/i386/Versions: ... this.
816         * sysdeps/i386/elf/Versions: Delete file.
817         * sysdeps/i386/elf/start.S: Moved to ...
818         * sysdeps/i386/start.S: ...here.
819         * sysdeps/i386/elf/configure.in: Merge into...
820         * sysdeps/i386/configure.in: ...here.
821         * sysdeps/i386/elf/configure.in: Delete file.
822         * sysdeps/i386/elf/configure: Delete file.
824         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
825         * debug/backtracesyms.c: ... here.
826         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
827         * debug/backtracesymsfd.c: ... here.
828         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
829         * sysdeps/generic/ifunc-sel.h: ... here.
831         * sysdeps/unix/i386/start.c: Delete file.
832         * sysdeps/unix/sparc/start.c: Delete file.
833         * sysdeps/unix/start.c: Delete file.
835         * sysdeps/sh/elf/configure.in: Moved to ...
836         * sysdeps/sh/configure.in: ... here.
837         * sysdeps/sh/elf/start.S: Moved to ...
838         * sysdeps/sh/start.S: ... here.
839         * sysdeps/sh/elf/configure: Delete file.
841         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
842         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
843         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
844         * sysdeps/powerpc/powerpc64/entry.h: ... here.
845         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
846         * sysdeps/powerpc/powerpc64/start.S: here.
847         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
848         * sysdeps/powerpc/powerpc64/Makefile: ... this.
849         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
850         * sysdeps/powerpc/powerpc64/configure.in: ... this.
851         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
853         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
854         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
855         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
856         * sysdeps/powerpc/powerpc32/start.S: ... here.
857         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
858         * sysdeps/powerpc/powerpc32/configure.in: ... this.
859         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
861         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
862         * sysdeps/powerpc/ifunc-sel.h: ... here.
863         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
864         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
866         * sysdeps/sparc/elf/configure.in: Moved to ...
867         * sysdeps/sparc/configure.in: ... here.
868         * sysdeps/sparc/elf/configure: Delete file.
869         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
870         * sysdeps/sparc/sparc32/start.S: ... here.
871         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
872         * sysdeps/sparc/sparc64/start.S: ... here.
873         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
874         * sysdeps/sparc/sparc32/Makefile: ... this.
875         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
876         * sysdeps/sparc/sparc64/Makefile: ... this.
878         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
879         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
880         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
881         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
882         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
883         * sysdeps/s390/s390-32/setjmp.S: ... here.
884         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
885         * sysdeps/s390/s390-32/configure.in: ... here.
886         * sysdeps/s390/s390-32/elf/configure: Delete file.
887         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
888         * sysdeps/s390/s390-32/start.S: ... here.
890         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
891         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
892         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
893         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
894         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
895         * sysdeps/s390/s390-64/setjmp.S: ... here.
896         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
897         * sysdeps/s390/s390-64/configure.in: ... here
898         * sysdeps/s390/s390-64/elf/configure: Delete file.
899         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
900         * sysdeps/s390/s390-64/start.S: ... here.
901         * sysdeps/s390/s390-64/elf/configure: Delete.
903         * configure.in: Remove support for elf directories in sysdeps.
905         * configure: Regenerated.
906         * sysdeps/i386/configure: Regenerated.
907         * sysdeps/powerpc/powerpc32/configure: Regenerated.
908         * sysdeps/powerpc/powerpc64/configure: Regenerated.
909         * sysdeps/s390/s390-32/configure: Regenerated.
910         * sysdeps/s390/s390-64/configure: Regenerated.
911         * sysdeps/sh/configure: Regenerated.
912         * sysdeps/sparc/configure: Regenerated.
913         * sysdeps/x86_64/configure: Regenerated.
915 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
917         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
919         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
920         denormal result into account.
922 2012-03-25  Roland McGrath  <roland@hack.frob.com>
924         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
925         Reported by Allan McRae <allan@archlinux.org>.
927 2012-03-23  Jeff Law  <law@redhat.com>
929         * nss/getnssent.c (__nss_getent): Fix typo.
931 2012-03-23  David S. Miller  <davem@davemloft.net>
933         * sysdeps/sparc/fpu/libm-test-ulps: Update.
935 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
937         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
938         to pad to uint64_t for each field.
939         (dl_tls_index): Replace unsigned long with uint64_t.
941 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
942         Paul Pluzhnikov  <ppluzhnikov@google.com>
944         [BZ #6528]
945         * grp/Makefile (otherlibs): Don't set it.
946         * inet/Makefile (otherlibs): Likewise.
947         * login/Makefile (otherlibs): Likewise.
948         * nscd/Makefile (otherlibs): Likewise.
949         * posix/Makefile (otherlibs): Likewise.
950         * pwd/Makefile (otherlibs): Likewise.
951         * rt/Makefile (otherlibs): Likewise.
952         * sunrpc/Makefile (otherlibs): Likewise.
953         * nss/Makefile (otherlibs): Likewise.
954         Add libnss_files to routines and static-only-routines.
955         ($(objpfx)getent): Remove rule.
956         * resolv/Makefile: Add libnss_dns and libresolv to routines and
957         static-only-routines.
959 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
961         [BZ #13892]
962         * math/s_cexp.c: Include <float.h>.
963         (__cexp): Handle exp result overflowing not necessarily
964         overflowing both real and imaginary parts of result.
965         * math/s_cexpf.c: Likewise.
966         * math/s_cexpl.c: Likewise.
967         * math/libm-test.inc (cexp_test): Add more tests.
968         * sysdeps/i386/fpu/libm-test-ulps: Update.
969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
971 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
973         * include/link.h (ELFW): New macro.
974         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
975         Replace ELF64_R_TYPE with ELFW(R_TYPE).
977 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
979         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
980         with uint64_t.
982 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
984         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
985         declaration.
986         (struct La_x32_retval): Likewise.
988 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
990         * sysdeps/x86_64/preconfigure.in: New file.
991         * sysdeps/x86_64/preconfigure: New generated file.
993 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
995         [BZ #13824]
996         * math/e_exp2l.c: Include <float.h>.
997         (__ieee754_exp2l): Handle overflow and underflow cases
998         separately.  Only pass fractional part of argument to
999         __ieee754_expl.
1000         * math/libm-test.inc (exp2_test): Add more tests.
1002         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
1003         negating x to take absolute value.
1004         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
1005         Likewise.
1006         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1007         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
1008         Likewise.
1009         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
1010         computing low part if x was negated.
1011         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1013 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1015         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
1016         la_x32_gnu_pltexit.
1017         (pltexit): Cast int_retval to ptrdiff_t.
1018         * elf/tst-auditmod3b.c: Likewise.
1019         * elf/tst-auditmod4b.c: Likewise.
1020         * elf/tst-auditmod5b.c: Likewise.
1021         * elf/tst-auditmod6b.c: Likewise.
1022         * elf/tst-auditmod6c.c: Likewise.
1023         * elf/tst-auditmod7b.c: Likewise.
1025         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
1026         and x32_gnu_pltexit.
1028         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
1029         __ELF_NATIVE_CLASS.
1030         (La_x32_regs): New macro.
1031         (La_x32_retval): Likewise.
1032         (la_x32_gnu_pltenter): New function prototype.
1033         (la_x32_gnu_pltexit): Likewise.
1035 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
1037         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
1038         exponent.
1040         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1042         * configure.in (libc_cv_cc_nofma): Check for option to disable
1043         generation of FMA instructions.
1044         * configure: Regenerate.
1045         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
1046         * sysdeps/ieee754/dbl-64/Makefile: New file.
1047         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1048         Remove brandred-fma4.
1049         (CFLAGS-brandred-fma4.c): Remove.
1050         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
1051         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
1052         define.
1053         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
1054         define.
1056 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1058         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1059         LLONG_MAX != LONG_MAX.
1060         (_itoa_word): Use _ITOA_WORD_TYPE on value.
1061         (_fitoa_word): Likewise.
1062         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
1063         LLONG_MAX != LONG_MAX.
1064         * stdio-common/_itowa.h: Include <_itoa.h>.
1065         (_itowa_word): Use _ITOA_WORD_TYPE on value.
1066         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
1067         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
1068         only if not defined.
1069         (_ITOA_WORD_TYPE): Likewise.
1070         (_itoa_word): Use _ITOA_WORD_TYPE on value.
1071         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
1073 2012-03-21  David S. Miller  <davem@davemloft.net>
1075         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1077 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1079         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
1080         of x86_64 when setting libc_cv_slibdir, libdir and
1081         libc_cv_localedir.
1082         * sysdeps/unix/sysv/linux/configure: Regenerated.
1084 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
1086         * manual/lang.texi (Old Varargs): Remove section.
1087         (How Variadic): Update menu.
1088         (va_start): Do not mention varargs.h.
1090 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
1091             Joseph Myers  <joseph@codesourcery.com>
1093         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
1094         link test.
1095         * configure: Regenerated.
1097 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
1099         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
1100         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
1101         conformtest.pl
1103 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
1105         * NOTES: Remove.
1106         * Makefile (files-for-dist): Remove NOTES.
1107         (NOTES): Remove rule.
1108         * README: Don't refer to NOTES.
1109         * manual/creature.texi: Don't include macros.texi.
1110         * manual/intro.texi (creature.texi): Remove comment referring to
1111         NOTES.
1113         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
1114         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
1115         * configure: Regenerated.
1116         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
1117         LIBC_TRY_CC_OPTION.
1118         (libc_cv_as_i686): Likewise.
1119         (libc_cv_cc_avx): Likewise.
1120         (libc_cv_cc_sse2avx): Likewise.
1121         (libc_cv_cc_fma4): Likewise.
1122         (libc_cv_cc_novzeroupper): Likewise.
1123         * sysdeps/i386/configure: Regenerated.
1125         [BZ #13883]
1126         * sysdeps/i386/fpu/s_cexp.S: Remove.
1127         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1128         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1129         * math/libm-test.inc (cexp_test): Add more tests.
1130         * sysdeps/i386/fpu/libm-test-ulps: Update.
1131         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1133 2012-03-21  Allan McRae  <allan@archlinux.org>
1135         * timezone/Makefile: Do not install iso3166.tab and zone.tab
1137 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
1139         [BZ #13871]
1140         * math/w_exp2.c: Do not include <float.h>.
1141         (o_threshold, u_threshold): Remove.
1142         (__exp2): Calculate result before checking finiteness and calling
1143         __kernel_standard.
1144         * math/w_exp2f.c: Likewise.
1145         * math/w_exp2l.c: Likewise.
1146         * math/libm-test.inc (exp2_test): Require overflow exception for
1147         1e6 input.
1149         [BZ #3866]
1150         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
1151         range of signed 64-bit integers before using fistpll.  Remove
1152         checks for whether integers fit in mantissa bits.
1153         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
1154         the range of signed 32-bit integers before using fistpl.  Remove
1155         checks for whether integers fit in mantissa bits.
1156         * sysdeps/i386/fpu/e_powl.S (p64): New object.
1157         (__ieee754_powl): Test for y outside the range of signed 64-bit
1158         integers before using fistpll.  Reduce 64-bit values to 63-bit
1159         ones as needed.
1160         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
1161         divide-by-zero is raised for zero to large negative powers.
1162         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
1163         (__ieee754_powl): Test for y outside the range of signed 64-bit
1164         integers before using fistpll.  Reduce 64-bit values to 63-bit
1165         ones as needed.
1166         * math/libm-test.inc (pow_test): Add more tests.
1168 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
1170         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
1171         <stdio-common/_itoa.h>.
1172         * debug/segfault.c: Likewise.
1173         * elf/dl-cache.c: Likewise.
1174         * elf/dl-minimal.c: Likewise.
1175         * elf/dl-misc.c: Likewise.
1176         * elf/dl-sysdep.c: Likewise.
1177         * elf/dl-version.c: Likewise.
1178         * elf/rtld.c: Likewise.
1179         * hurd/hurdsock.c: Likewise.
1180         * hurd/lookup-retry.c: Likewise.
1181         * malloc/malloc.c: Likewise.
1182         * malloc/mtrace.c: Likewise.
1183         * nscd/nscd_getgr_r.c: Likewise.
1184         * nscd/nscd_getpw_r.c: Likewise.
1185         * nscd/nscd_getserv_r.c: Likewise.
1186         * posix/getopt_init.c: Likewise.
1187         * posix/wordexp.c: Likewise.
1188         * stdio-common/_itoa.c: Likewise.
1189         * stdio-common/printf_fphex.c: Likewise.
1190         * stdio-common/vfprintf.c: Likewise.
1191         * string/_strerror.c: Likewise.
1192         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
1193         * sysdeps/i386/i686/hp-timing.h: Likewise.
1194         * sysdeps/mach/_strerror.c: Likewise.
1195         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
1196         * sysdeps/mach/hurd/sethostid.c: Likewise.
1197         * sysdeps/mach/hurd/xmknodat.c: Likewise.
1198         * sysdeps/mach/xpg-strerror.c: Likewise.
1199         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1200         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1201         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
1202         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
1203         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1204         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
1205         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1206         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1207         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
1208         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
1209         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
1210         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1211         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
1212         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1213         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1214         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
1215         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
1216         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
1217         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1218         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1219         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
1221         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
1223         * stdio-common/_itoa.h: Moved to ...
1224         * sysdeps/generic/_itoa.h: Here.
1226         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
1228         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
1229         instead of "_itoa.h" and "_itowa.h".
1230         * stdio-common/vfprintf.: Likewise.
1232 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
1234         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
1235         <bits/wordsize.h>.
1236         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
1237         (__signbit): Likwise.
1238         (llrintf): Likwise.
1239         (llrint): Likwise.
1241 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
1243         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
1244         __WORDSIZE != 64.
1246 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
1248         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
1249         OVERFLOW_EXCEPTION_OK.
1250         * math/libm-test.inc ("Philosophy"): Update comment about
1251         exception testing.
1252         (OVERFLOW_EXCEPTION): Define.
1253         (OVERFLOW_EXCEPTION_OK): Likewise.
1254         (INVALID_EXCEPTION_OK): Renumber.
1255         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1256         (IGNORE_ZERO_INF_SIGN): Likewise.
1257         (test_exceptions): Handle FE_OVERFLOW.
1258         (exp10_test): Expect overflow exceptions.
1259         (exp2_test): Likewise.
1260         (expm1_test): Likewise.
1261         (nextafter_test): Likewise.
1262         (pow_test): Likewise.
1263         (scalbn_test): Likewise.
1264         (scalbln_test): Likewise.
1266 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1268         * sysdeps/x86_64/bits/atomic.h
1269         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
1270         64bit integer.
1271         (atomic_exchange_acq): Likewise.
1272         (__arch_exchange_and_add_body): Likewise.
1273         (__arch_add_body): Likewise.
1274         (atomic_add_negative): Likewise.
1275         (atomic_add_zero): Likewise.
1277 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1279         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
1280         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
1282 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1284         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
1285         Check __x86_64__ instead of __WORDSIZE.
1287 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1289         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
1291 2012-03-19  David S. Miller  <davem@davemloft.net>
1293         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1295         * sysdeps/sparc/fpu/fenv_private.h: New file.
1296         * sysdeps/sparc/fpu/math_private.h: Use it.
1297         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
1298         Remove.
1299         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
1300         (libc_feholdexcept_setroundl): Remove.
1301         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
1302         Remove.
1303         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
1304         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
1306 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1308         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
1309         int64_t instead of long int.
1310         (INSERT_WORDS64): Likwise.
1312 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1314         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
1315         _Unwind_GetCFA return to _Unwind_Ptr first.
1317 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
1319         [BZ #13629]
1320         * math/s_clog.c: Include <float.h>.
1321         (__clog): Scale large or subnormal inputs.
1322         * math/s_clogf.c: Likewise.
1323         * math/s_clogl.c: Likewise.
1324         * math/s_clog10.c: Include <float.h>.
1325         (M_LOG10_2): Define.
1326         (__clog10): Scale large or subnormal inputs.
1327         * math/s_clog10f.c: Likewise.
1328         * math/s_clog10l.c: Likewise.
1329         * math/libm-test.inc (clog_test): Add more tests.
1330         (clog10_test): Likewise.
1331         * sysdeps/i386/fpu/libm-test-ulps: Update.
1332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1334         [BZ #11451]
1335         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
1336         x and y.
1337         * math/libm-test.inc (atan2_test): Add another test.
1339         * Makerules (common-objdir-compile): Remove.
1340         * sysdeps/unix/Makefile (config-generated): Do not add
1341         $(unix-generated) to variable.
1342         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
1343         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
1344         Remove rule.
1345         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
1346         Likewise.
1347         [generic bits/local_lim.h] (before-compile): Do not append to
1348         variable.
1349         [generic bits/local_lim.h] (common-generated): Likewise.
1350         [generic sys/param.h] (before-compile): Do not append to variable.
1351         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
1352         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
1353         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
1354         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
1355         include.
1356         [generic sys/param.h] (sys/param.h-includes): Remove variable.
1357         [generic sys/param.h] (sys/param.h-includes): Remove rule.
1358         [generic sys/param.h] ($(addprefix
1359         $(common-objpfx),$(sys/param.h-includes))): Likewise.
1360         [generic sys/param.h] (common-generated): Do not append to
1361         variable.
1362         [generic sys/param.h] (sysdep_headers): Likewise.
1363         [generic bits/errno.h] (before-compile): Do not append to
1364         variable.
1365         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
1366         rule.
1367         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
1368         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
1369         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
1370         [generic bits/errno.h] (common-generated): Do not append to
1371         variable.
1372         [generic bits/ioctls.h] (before-compile): Do not append to
1373         variable.
1374         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
1375         rule.
1376         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
1377         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
1378         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
1379         rule.
1380         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
1381         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
1382         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
1383         [generic bits/ioctls.h] (common-generated): Do not append to
1384         variable.
1385         [generic sys/syscall.h] (syscall.h): Remove variable.
1386         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
1387         rule.
1388         [generic sys/syscall.h] (before-compile): Do not append to
1389         variable.
1390         [generic sys/syscall.h] (common-generated): Likewise.
1391         * sysdeps/unix/errnos-tmpl.c: Remove file.
1392         * sysdeps/unix/errnos.awk: Likewise.
1393         * sysdeps/unix/ioctls-tmpl.c: Likewise.
1394         * sysdeps/unix/ioctls.awk: Likewise.
1395         * sysdeps/unix/mk-local_lim.c: Likewise.
1396         * sysdeps/unix/snarf-ioctls: Likewise.
1398 2012-03-19  Richard Henderson  <rth@twiddle.net>
1400         * sysdeps/i386/fpu/fenv_private.h: New file.
1401         * sysdeps/i386/fpu/math_private.h: Use it.
1402         (math_opt_barrier, math_force_eval): Remove.
1403         (libc_feholdexcept_setround_53bit): Remove.
1404         (libc_feupdateenv_53bit): Remove.
1405         * sysdeps/x86_64/fpu/math_private.h: Likewise.
1406         (math_opt_barrier, math_force_eval): Remove.
1407         (libc_feholdexcept): Remove.
1408         (libc_feholdexcept_setround): Remove.
1409         (libc_fetestexcept, libc_fesetenv): Remove.
1410         (libc_feupdateenv_test): Remove.
1411         (libc_feupdateenv, libc_feholdsetround): Remove.
1412         (libc_feresetround): Remove.
1414         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
1415         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1417         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
1418         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
1419         (libc_feupdateenv_testl): New.
1420         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
1421         (libc_feupdateenv_testf): New.
1422         (libc_feupdateenv): Use libc_feupdateenv_test.
1423         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
1424         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
1426         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
1427         (libc_feholdsetroundf, libc_feholdsetroundl): New.
1428         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
1429         (libc_feresetround_noex): New.
1430         (libc_feresetround_noexf): New.
1431         (libc_feresetround_noexl): New.
1432         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
1433         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
1434         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
1435         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
1436         SET_RESTORE_ROUND.
1437         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1438         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
1439         (__cos): Likewise.
1440         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
1441         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
1442         SET_RESTORE_ROUND_NOEX.
1443         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
1444         SET_RESTORE_ROUND_NOEXF.
1445         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
1446         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
1447         (libc_feholdsetroundf): New.
1448         (libc_feresetround, libc_feresetroundf): New.
1450         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
1451         (libc_feholdexcept_setround_53bit): Convert from macro to function.
1452         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
1454         * sysdeps/generic/math_private.h: Include <fenv.h>.
1455         (default_libc_feholdexcept): New.
1456         (default_libc_feholdexcept_setround): New.
1457         (default_libc_fesetenv, default_libc_feupdateenv): New.
1458         (libc_feholdexcept): Only define if undefined.
1459         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
1460         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
1461         (libc_feholdexcept_setroundl): Likewise.
1462         (libc_feholdexcept_setround_53bit): Likewise.
1463         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
1464         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
1465         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
1466         (libc_feupdateenv_53bit): Likewise.
1467         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
1468         (libc_feholdexcept): Convert from macro to inline function.
1469         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
1470         (libc_fesetenv, libc_feupdateenv): Likewise.
1472         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
1473         not previously defined.
1474         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
1475         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
1476         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
1477         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
1478         * sysdeps/ieee754/flt-32/math_private.h: New file.
1479         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
1480         math_private.h below SET_FLOAT_WORD.
1481         (__isnan, __isinf_ns, __finite): Remove.
1482         (__isnanf, __isinf_nsf, __finitef): Remove.
1484 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
1486         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1488 2012-03-17  David S. Miller  <davem@davemloft.net>
1490         [BZ #6471]
1491         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
1492         for 2.16.
1494 2012-03-16  David S. Miller  <davem@davemloft.net>
1496         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
1497         warnings.
1499         [BZ #6471]
1500         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
1501         properly.
1502         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
1503         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
1504         sysdep_routines when subdir is sysvipc.
1505         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
1506         __getshmlba helper.
1508         * sysdeps/sparc/fpu/libm-test/ulps: Update.
1510 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1512         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
1513         [__LP64__].
1515 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1517         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
1518         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
1519         (__lround): Renamed to ...
1520         (__llround): This.  Replace long int with long long int.
1521         Define lround functions as aliases of llround functions.
1522         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
1524 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1526         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1527         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
1528         adresses to uintptr_t.  Replace "long int" and "unsigned long
1529         int" with "greg_t" on va_arg.
1531 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1533         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
1534         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
1536         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
1537         Move e_machine check before EI_CLASS check.  Handle x32
1538         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
1539         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
1540         SKIP_EM_IA_64 and include
1541         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
1543         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
1544         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
1545         (add_system_dir): New macro.
1547         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
1548         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
1550 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
1552         [BZ #2551]
1553         [BZ #2552]
1554         [BZ #2553]
1555         [BZ #2554]
1556         [BZ #2562]
1557         [BZ #2563]
1558         [BZ #2565]
1559         [BZ #2566]
1560         [BZ #2576]
1561         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
1562         (y0): Likewise.
1563         * math/w_j0f.c (j0f): Likewise.
1564         (y0f): Likewise.
1565         * math/w_j0l.c (__j0l): Likewise.
1566         (__y0l): Likewise.
1567         * math/w_j1.c (j1): Likewise.
1568         (y1): Likewise.
1569         * math/w_j1f.c (j1f): Likewise.
1570         (y1f): Likewise.
1571         * math/w_j1l.c (__j1l): Likewise.
1572         (__y1l): Likewise.
1573         * math/w_jn.c (jn): Likewise.
1574         (yn): Likewise.
1575         * math/w_jnf.c (jnf): Likewise.
1576         (ynf): Likewise.
1577         * math/w_jnl.c (__jnl): Likewise.
1578         (__ynl): Likewise.
1579         * math/libm-test.inc (j0_test): Add more tests.
1580         (j1_test): Likewise.
1581         (jn_test): Likewise.  Add trailing semicolon to existing test.
1582         (y0_test): Likewise.
1583         (y1_test): Likewise.
1584         * sysdeps/i386/fpu/libm-test-ulps: Update.
1585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1587         [BZ #13851]
1588         [BZ #13854]
1589         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
1590         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
1591         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
1592         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
1593         (__tanl): Set errno for infinite argument.
1594         * sysdeps/i386/fpu/mptan.c: Remove.
1595         * sysdeps/i386/fpu/s_tan.S: Likewise.
1596         * sysdeps/i386/fpu/s_tanl.S: Likewise.
1597         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
1598         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
1599         * math/libm-test.inc (tan_test): Add more tests and enable more
1600         tests for double and long double.
1601         * sysdeps/i386/fpu/libm-test-ulps: Update.
1602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1604 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
1606         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
1607         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
1609 2012-03-16  Roland McGrath  <roland@hack.frob.com>
1611         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
1612         * configure.in: Use it for both main tree and add-ons.
1613         * configure: Regenerated.
1615 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1617         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
1619 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
1621         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
1622         in comment.
1624         [BZ #13851]
1625         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
1626         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
1627         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
1628         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
1629         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
1630         infinite argument.
1631         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
1632         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
1633         != 0 for prec == 2.
1634         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
1635         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
1636         * sysdeps/i386/fpu/s_cosl.S: Likewise.
1637         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1638         * sysdeps/i386/fpu/s_sinl.S: Likewise.
1639         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
1640         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
1641         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
1642         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
1643         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
1644         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
1645         * math/libm-test.inc (cos_test): Add more tests and enable more
1646         tests for long double.
1647         (sin_test): Likewise.
1648         (sincos_test): Likewise.
1649         * sysdeps/i386/fpu/libm-test-ulps: Update.
1650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1652 2012-03-16  David S. Miller  <davem@davemloft.net>
1654         * sysdeps/sparc/fpu/math_private.h: New file.
1656 2012-03-15  David S. Miller  <davem@davemloft.net>
1658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1659         file.
1660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
1661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1662         file.
1663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1664         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1665         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1666         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1667         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1668         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1669         sysdep routines.
1670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1672         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1673         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1675         * sysdeps/sparc/sparc-ifunc.h: New file.
1676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1677         sparc-ifunc.h
1678         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1680         Likewise.
1681         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1682         Likewise.
1683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1686         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1687         Likewise.
1688         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
1692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1693         Likewise.
1694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1695         Likewise.
1696         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1700         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1701         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1702         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1703         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1704         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1705         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1706         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1707         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1708         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1709         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1710         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1711         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1712         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1713         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1714         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1715         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1716         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1717         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1718         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1719         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1721 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
1723         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1724         scaling.
1725         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1727 2012-03-15  Andreas Jaeger  <aj@suse.de>
1729         [BZ #13852]
1730         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1731         ieee754/flt-32 implementation for sin, cos and sincos.
1732         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1733         * sysdeps/i386/fpu/s_cosf.S: Likewise.
1734         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1735         * sysdeps/i386/fpu/s_sinf.S: Likewise.
1736         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1737         ieee754/flt-32 implementation for tan.
1739         * math/libm-test.inc (cos_test): Enable some large input tests for
1740         float as well
1741         (sin_test): Likewise.
1742         (sincos_test): Likewise.
1743         (tan_test): Add tests for large input.
1745         * sysdeps/i386/fpu/libm-test-ulps: Update.
1747 2012-03-15  Andreas Jaeger  <aj@suse.de>
1749         [BZ #13658]
1750         * math/libm-test.inc (cos_test): Add more test cases.
1751         (sin_test): Likewise.
1752         (sincos_test): Likewise.
1754 2012-03-15  Andreas Jaeger  <aj@suse.de>
1756         [BZ #13837]
1757         * math/libm-test.inc (cos_test): Add a test case for large input
1758         value.
1759         (sin_test): Likewise.
1760         (sincos_test): Likewise.
1762 2012-03-15  Andreas Jaeger  <aj@suse.de>,
1763         Joseph Myers  <joseph@codesourcery.com>
1765         [BZ #13658]
1766         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
1767         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1768         * sysdeps/i386/fpu/branred.c: Likewise.
1769         * sysdeps/i386/fpu/dosincos.c: Likewise.
1770         * sysdeps/i386/fpu/mpa.c: Likewise.
1771         * sysdeps/i386/fpu/s_cos.S: Likewise.
1772         * sysdeps/i386/fpu/s_sin.S: Likewise.
1773         * sysdeps/i386/fpu/s_sincos.S: Likewise.
1774         * sysdeps/i386/fpu/sincos32.c: Likewise.
1776         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1777         Define.
1778         (libc_feupdateenv_53bit): Define.
1779         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1780         Define.
1781         (libc_feupdateenv_53bit): Define.
1783         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1784         53 bit (without extend i386 double precision).
1786         * math/libm-test.inc (sincos_test): Add tests for large input.
1787         (sin): Likewise.
1788         (cos): Likewise.
1790         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1792 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
1794         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1796 2012-03-15  David S. Miller  <davem@davemloft.net>
1798         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1799         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1800         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1801         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1802         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1803         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1804         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1805         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1806         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1807         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1808         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1809         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1810         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1811         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1812         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
1813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1814         file.
1815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
1816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1817         file.
1818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
1819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1820         file.
1821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
1822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1823         file.
1824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1825         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1826         fmin/fmax sysdep routines.
1827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1829 2012-03-14  David S. Miller  <davem@davemloft.net>
1831         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1832         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1833         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1834         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1835         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1836         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1837         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1838         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1839         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1840         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1841         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1842         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1843         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1844         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1845         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1846         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1847         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1848         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1849         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1850         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1851         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1852         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1853         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1854         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1855         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1856         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1857         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1858         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
1859         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1860         routines.
1861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1862         file.
1863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
1864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1865         file.
1866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
1867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1868         file.
1869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
1870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1871         file.
1872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
1873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1874         file.
1875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
1876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1877         file.
1878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1879         file.
1880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1881         file.
1882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1883         file.
1884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1885         New file.
1886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1887         file.
1888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1889         file.
1890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
1891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1892         file.
1893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
1894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1895         file.
1896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
1897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1898         file.
1899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
1900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1901         VIS3 routines.
1903         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1904         New file.
1906         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1908         * sysdeps/sparc/configure.in: New file.
1909         * sysdeps/sparc/configure: Generate.
1910         * configure.in (libc_cv_sparc_as_vis3): Substitute.
1911         * configure: Regenerate.
1912         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1913         * config.make.in (have-as-vis3): New.
1914         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1915         available use -Av9d instead of -Av9a.
1916         * sysdeps/sparc/sparc64/Makefile: Likewise.
1917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
1918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
1919         New file.
1920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
1921         file.
1922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
1923         New file.
1924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
1925         file.
1926         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
1927         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
1928         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
1929         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
1930         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
1932         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
1933         fzeros/fnegs to load 0x80000000 into a float register instead of
1934         using the stack.
1935         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
1937 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
1939         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1940         bits/syscall.h.
1941         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
1942         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
1943         ($(inst_includedir)/bits/syscall.h): Remove rule.
1944         ($(objpfx)bits/syscall.d): Include instead of
1945         $(objpfx)syscall-list.d.
1946         (generated): Change syscall-list.h and syscall-list.d to
1947         bits/syscall.h and bits/syscall.d.
1949 2012-03-14  Roland McGrath  <roland@hack.frob.com>
1951         [BZ #13846]
1952         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
1954 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
1956         [BZ #13841]
1957         * math/s_csqrt.c: Include <float.h>.
1958         (__csqrt): Scale large or subnormal inputs.
1959         * math/s_csqrtf.c: Likewise.
1960         * math/s_csqrtl.c: Likewise.
1961         * math/libm-test.inc (csqrt_test): Add more tests.
1962         * sysdeps/i386/fpu/libm-test-ulps: Update.
1963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1965         [BZ #13840]
1966         * math/libm-test.inc (hypot_test): Add more tests.
1968 2012-03-13  David S. Miller  <davem@davemloft.net>
1970         [BZ #13840]
1971         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
1972         double-precision for the calculation instead of scaling.
1974 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
1976         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
1977         manipulate bits before adding and subtracting TWO52[sx].
1978         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
1979         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
1980         Likewise.
1981         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
1983 2012-03-13  David S. Miller  <davem@davemloft.net>
1985         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
1986         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
1987         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
1988         rtld-global-offsets.h
1989         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1991         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
1992         large parameters.
1994         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
1996         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
1997         'err' in the ifdef scope in which it is actually used.
1999         * nss/nss_db/db-init.c: Include string.h
2001 2012-03-12  David S. Miller  <davem@davemloft.net>
2003         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
2004         masking out of the most significant byte of random value used.
2005         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2006         Fix coding style in previous change.
2008         * sysdeps/unix/sysv/linux/kernel-features.h
2009         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
2010         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
2011         expression.
2012         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
2013         later.
2015 2012-03-11  David S. Miller  <davem@davemloft.net>
2017         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2018         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
2019         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
2020         for 'resultvar' otherwise things get truncated on 64-bit.
2022         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2023         Fix masking out of the most significant byte of random value used.
2025         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2027 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
2029         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2031 2012-03-09  David S. Miller  <davem@davemloft.net>
2033         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
2034         variables with appropriate CPP guards.
2035         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
2036         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
2037         on resulting framesize and the management of the outregs buffer for pltexit.
2038         Preserve floating point return values across _dl_call_pltexit call.
2039         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
2040         framesize and the management of the outregs buffer for pltexit.
2041         Preserve floating point return values across _dl_call_pltexit
2042         call.
2043         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
2044         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
2045         (print_exit): Fix format string for return register value.
2047 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
2049         * sunrpc/Makefile (others): Add rpcgen.
2050         ($(objpfx)rpcgen): Remove special build rule and dependency on
2051         libc.
2052         * sunrpc/rpcgen.c: New file.
2054 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
2056         [BZ #13673]
2057         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
2058         * stdio-common/bug-vfprintf-nargs.c: Likewise.
2059         * sysdeps/i386/crti.S: Likewise.
2060         * sysdeps/i386/crtn.S: Likewise.
2061         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
2062         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
2063         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
2064         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
2065         * sysdeps/sh/crti.S: Likewise.
2066         * sysdeps/sh/crtn.S: Likewise.
2067         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2069         [BZ #13673]
2070         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
2071         with URL.
2072         * locale/programs/locfile-kw.gperf: Likewise.
2073         * locale/programs/charmap-kw.h: Regenerated.
2074         * locale/programs/locfile-kw.h: Likewise.
2076         [BZ #13673]
2077         * intl/plural.y: Replace FSF snail mail address with URL.
2078         * intl/plural.c: Regenerated.
2080 2012-03-09  Richard Henderson  <rth@twiddle.net>
2082         * include/math_private.h: Remove file.
2083         * math/math_private.h: Move file ...
2084         * sysdeps/generic/math_private.h: ... here.
2086         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
2087         * sysdeps/powerpc/fpu/math_private.h: Likewise.
2088         * sysdeps/x86_64/fpu/math_private.h: Likewise.
2090         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
2091         and <math_private.h>.
2092         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2093         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2094         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2095         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2096         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2097         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
2098         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2099         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2100         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2101         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2102         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2103         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2104         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2105         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2106         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2107         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2108         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2109         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2110         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2111         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
2112         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2113         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2114         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2115         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2116         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2117         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2118         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2119         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2120         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2121         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2122         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2123         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2124         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2125         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2126         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2127         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2128         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2129         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2130         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2131         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2132         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
2133         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2134         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2135         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2136         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2137         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2138         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
2139         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2140         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2141         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2142         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2143         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
2144         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2145         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2146         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2147         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2148         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2149         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2150         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2151         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
2152         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2153         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2154         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2155         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2156         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
2157         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2158         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2159         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2160         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
2161         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
2162         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2163         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
2164         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2165         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2166         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
2167         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
2168         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
2169         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2170         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
2171         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
2172         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2173         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
2174         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2175         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
2176         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2177         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2178         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
2179         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
2180         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
2181         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2182         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2183         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
2184         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2185         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
2186         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
2187         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
2188         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
2189         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2190         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2191         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
2192         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
2193         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
2194         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
2195         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
2196         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2197         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
2198         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
2199         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
2200         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2201         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2202         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2203         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2204         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
2205         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2206         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
2207         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
2208         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2209         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2210         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2211         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
2212         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2213         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
2214         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
2215         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
2216         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2217         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2218         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
2219         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
2220         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2221         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
2222         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
2223         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
2224         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2225         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
2226         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
2227         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
2228         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
2229         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2230         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
2231         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
2232         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2233         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
2234         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
2235         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
2236         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
2237         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2238         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2239         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2240         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2241         * sysdeps/ieee754/k_standard.c: Likewise.
2242         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
2243         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2244         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2245         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2246         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2247         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2248         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2249         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2250         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2251         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2252         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2253         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2254         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2255         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2256         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2257         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2258         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2259         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2260         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2261         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2262         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2263         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2264         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2265         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2266         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2267         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2268         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2269         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2270         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2271         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2272         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2273         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2274         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2275         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2276         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2277         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2278         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2279         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
2280         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2281         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2282         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2283         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2284         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2285         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2286         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2287         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2288         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2289         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2290         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2291         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2292         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2293         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2294         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2295         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2296         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2297         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2298         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
2299         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2300         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2301         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2302         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2303         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2304         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2305         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
2306         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2307         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2308         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
2309         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
2310         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
2311         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
2312         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
2313         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2314         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
2315         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
2316         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
2317         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
2318         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
2319         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
2320         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2321         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2322         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2323         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2324         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2325         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2326         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
2327         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2328         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2329         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2330         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2331         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2332         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
2333         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2334         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2335         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2336         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2337         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2338         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
2339         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2340         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2341         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
2342         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2343         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2344         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2345         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2346         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
2347         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2348         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2349         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2350         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
2351         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2352         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2353         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2354         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
2355         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2356         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
2357         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2358         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
2359         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2360         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2361         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2362         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2363         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
2364         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2365         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
2366         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2367         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
2368         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2369         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2370         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2371         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2372         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2373         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2374         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2375         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2376         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2377         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2378         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
2379         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2380         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2381         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
2382         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
2383         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2384         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
2385         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
2386         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2387         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2388         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2389         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2390         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2391         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
2392         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2393         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
2394         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2395         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2396         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
2397         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
2398         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2399         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2400         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2401         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2402         * sysdeps/ieee754/s_lib_version.c: Likewise.
2403         * sysdeps/ieee754/s_matherr.c: Likewise.
2404         * sysdeps/ieee754/s_signgam.c: Likewise.
2405         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2406         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2407         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
2408         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
2409         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
2410         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2411         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
2412         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
2413         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
2414         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
2415         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2416         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
2417         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2418         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2419         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
2420         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2421         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2422         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2423         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2424         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2425         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2427 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
2429         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
2430         * sunrpc/rpc_main.c: Likewise.
2431         * sunrpc/rpc_svcout.c: Likewise.
2433 2012-03-09  David S. Miller  <davem@davemloft.net>
2435         * include/math_private.h: New file.
2437 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
2439         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
2440         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
2441         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
2442         from <bits/socket_type.h>.
2443         (enum __socket_type): Don't define here.
2444         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
2445         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2446         bits/socket_type.h.
2448         [BZ #13566]
2449         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
2450         checking __USE_GNU.
2452         * Makerules ($(inst_includedir)/%.h): New rule.
2453         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
2454         (install-others): Remove variable setting.
2455         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
2457 2012-03-08  Richard Henderson  <rth@twiddle.net>
2459         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
2460         from macro to inline function; merge with the
2461         !__LIBC_INTERNAL_MATH_INLINES version.
2462         (__ieee754_sqrtf): Likewise.
2464         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
2465         to inline function.
2466         (__rintf, __floor, __floorf): Likewise.
2468         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
2469         macro to inline function.
2470         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
2472         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
2473         not <math/math_private.h>.
2475 2012-03-08  David S. Miller  <davem@davemloft.net>
2477         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
2478         copyright year.
2479         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2481 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
2483         * resolv/gai_misc.c (handle_requests): Fix struct timespec
2484         normalization.
2485         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
2486         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2488 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
2490         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
2491         be defined individually, they must be defined as a block.  Define
2492         S for printing a string instead of hidint the different by using a
2493         macro for adding the 'l'.
2494         * stdio-common/tst-fphex-wide.c: Adjust.
2496 2012-03-07  Marek Polacek  <polacek@redhat.com>
2498         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
2500 2012-03-08  Marek Polacek  <polacek@redhat.com>
2502         [BZ #13806]
2503         * stdio-common/Makefile (tests): Add tst-fphex-wide.
2504         * stdio-common/tst-fphex.c: Define a few macros to make the
2505         test reusable.  Use them.
2506         * stdio-common/tst-fphex-wide.c: New file.
2508 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
2510         [BZ #6911]
2511         * manual/macros.texi (gnusystems): New macro.
2512         (nongnusystems): Likewise.
2513         (gnulinuxhurdsystems): Likewise.
2514         (gnuhurdsystems): Likewise..
2515         (gnulinuxsystems): Likewise.
2516         * manual/charset.texi: Use new macros or @theglibc{} to refer to
2517         variants of the GNU system, not "GNU system".
2518         * manual/conf.texi: Likewise.
2519         * manual/errno.texi: Likewise.  Update example of errno macro
2520         expansion.
2521         * manual/filesys.texi: Likewise.
2522         (getumask): Document as specific to GNU/Hurd.
2523         * manual/install.texi: Likewise.  Reword some references to
2524         GNU/Linux.
2525         * manual/intro.texi: Likewise.
2526         * manual/io.texi: Likewise.
2527         (File Name Portability): Detail which constraints are inapplicable
2528         to all GNU systems and which are only inapplicable to GNU/Hurd.
2529         * manual/job.texi: Likewise.
2530         * manual/llio.texi: Likewise.
2531         (O_NOCTTY): Document as present on GNU/Linux.
2532         * manual/maint.texi: Likewise.
2533         * manual/memory.texi: Likewise.
2534         * manual/pattern.texi: Likewise.
2535         * manual/pipe.texi: Likewise.
2536         * manual/process.texi: Likewise.
2537         * manual/resource.texi: Likewise.
2538         (RUSAGE_CHILDREN): Remove statement about specifying a particular
2539         child on GNU/Hurd.
2540         * manual/setjmp.texi: Likewise.
2541         * manual/signal.texi: Likewise.
2542         * manual/startup.texi: Likewise.
2543         * manual/stdio.texi: Likewise.
2544         * manual/terminal.texi: Likewise.
2545         (ONLCR): Document as POSIX.
2546         (OXTABS): Document availability on GNU/Linux as XTABS.
2547         (ONOEOT): Document availability separately from other bits.
2548         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
2549         * manual/time.texi: Likewise.
2550         * manual/users.texi: Likewise.
2551         * INSTALL: Regenerated.
2552         * sysdeps/gnu/errlist.c: Regenerated.
2554         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
2555         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
2556         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
2557         puts.
2558         * configure: Regenerated.
2560 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
2562         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
2563         default includes instead of AC_HEADER_CHECK.
2564         * sysdeps/i386/configure: Regenerated.
2566         [BZ #10716]
2567         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
2568         * math/s_cacoshf.c (__cacoshf): Likewise.
2569         * math/s_cacoshl.c (__cacoshl): Likewise.
2570         * math/s_casinh.c (__casinh): Set signs of result from argument.
2571         * math/s_casinhf.c (__casinhf): Likewise.
2572         * math/s_casinhl.c (__casinhl): Likewise.
2573         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
2574         (casinh_test): Add more tests.
2575         * sysdeps/i386/fpu/libm-test-ulps: Update.
2576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2578 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
2580         * po/zh_TW.po: Update from translation team.
2582         * login/Makefile (distribute): Remove variable.
2583         * catgets/Makefile: Likewise.
2584         * mach/Makefile: Likewise.
2585         * malloc/Makefile: Likewise.
2586         * misc/Makefile: Likewise.
2587         * iconv/Makefile: Likewise.
2588         * nscd/Makefile: Likewise.
2589         * hurd/Makefile: Likewise.
2590         * manual/Makefile: Likewise.
2591         * locale/Makefile: Likewise.
2592         * intl/Makefile: Likewise.
2593         * conform/Makefile: Likewise.
2594         * nss/Makefile: Likewise.
2595         * time/Makefile: Likewise.
2596         * soft-fp/Makefile: Likewise.
2597         * dirent/Makefile: Likewise.
2598         * gmon/Makefile: Likewise.
2599         * po/Makefile: Likewise.
2600         * rt/Makefile: Likewise.
2601         * socket/Makefile: Likewise.
2602         * math/Makefile: Likewise.
2603         * signal/Makefile: Likewise.
2604         * debug/Makefile: Likewise.
2605         * elf/Makefile: Likewise.
2606         * timezone/Makefile: Likewise.
2607         * stdlib/Makefile: Likewise.
2608         * iconvdata/Makefile: Likewise.
2609         * sunrpc/Makefile: Likewise.
2610         * io/Makefile: Likewise.
2611         * argp/Makefile: Likewise.
2612         * inet/Makefile: Likewise.
2613         * hesiod/Makefile: Likewise.
2614         * grp/Makefile: Likewise.
2615         * csu/Makefile: Likewise.
2616         * wctype/Makefile: Likewise.
2617         * crypt/Makefile: Likewise.
2618         * libio/Makefile: Likewise.
2619         * string/Makefile: Likewise.
2620         * nis/Makefile: Likewise.
2621         * resolv/Makefile: Likewise.
2622         * stdio-common/Makefile: Likewise.
2623         * wcsmbs/Makefile: Likewise.
2624         * dlfcn/Makefile: Likewise.
2625         * posix/Makefile: Likewise.
2627         * timezone/Makefile: Don't install timezone files, just the programs
2628         and scripts.
2630 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
2632         * nss/databases.def: Add missing gshadow entry.
2634         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
2636 2012-03-06  Marek Polacek  <polacek@redhat.com>
2638         [BZ #13726]
2639         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
2640         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2641         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
2642         * stdio-common/tst-long-dbl-fphex.c: New file.
2644 2012-03-06  David S. Miller  <davem@davemloft.net>
2646         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2647         (set_obp_int): New function.
2648         (get_obp_int): New function.
2649         (__get_clockfreq_via_dev_openprom): Likewise.
2650         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
2651         Avoid unused variable warnings on 'val' and use builtin_expect.
2652         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
2653         __builtin_expect.
2654         (INLINE_CLONE_SYSCALL): Likewise.
2656 2012-03-05  David S. Miller  <davem@davemloft.net>
2658         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2660 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
2662         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2664         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2665         only for |x| >= 40.
2666         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2668 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
2670         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2671         Replace gettimeofday with __vdso_gettimeofday.
2673         * sysdeps/unix/sysv/linux/x86_64/init-first.c
2674         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2675         __vdso_clock_gettime and __vdso_getcpu.
2677         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2678         time with __vdso_time.
2680 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
2682         * manual/lang.texi (size_t): Note types to which size_t may be
2683         equivalent with the GNU C Library, but do not describe when
2684         differences between them are significant.
2686 2012-03-05  Andreas Jaeger  <aj@suse.de>
2688         * sysdeps/i386/fpu/libm-test-ulps: Update.
2690 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
2692         [BZ #3976]
2693         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2694         (__ieee754_pow): Save and restore rounding mode and use
2695         round-to-nearest for main computations.
2696         * math/libm-test.inc (pow_test_tonearest): New function.
2697         (pow_test_towardzero): Likewise.
2698         (pow_test_downward): Likewise.
2699         (pow_test_upward): Likewise.
2700         (main): Call the new functions.
2701         * sysdeps/i386/fpu/libm-test-ulps: Update.
2702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2704         [BZ #3976]
2705         * math/libm-test.inc (cosh_test_tonearest): New function.
2706         (cosh_test_towardzero): Likewise.
2707         (cosh_test_downward): Likewise.
2708         (cosh_test_upward): Likewise.
2709         (sinh_test_tonearest): Likewise.
2710         (sinh_test_towardzero): Likewise.
2711         (sinh_test_downward): Likewise.
2712         (sinh_test_upward): Likewise.
2713         (main): Call the new functions.
2714         * sysdeps/i386/fpu/libm-test-ulps: Update.
2715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2717 2012-03-05  Tom de Vries  <tom@codesourcery.com>
2719         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2720         default stack guard is set in last bytes.
2721         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2723 2012-03-05  Kees Cook  <keescook@chromium.org>
2725         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
2727         [BZ #13656]
2728         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2729         possibly allocate from heap instead of stack.
2730         * stdio-common/bug-vfprintf-nargs.c: New file.
2731         * stdio-common/Makefile (tests): Add nargs overflow test.
2733 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
2735         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2737 2012-03-03  Marek Polacek  <polacek@redhat.com>
2739         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2740         * math/math_private.h: Likewise.
2741         * stdlib/tst-strtod.c: Likewise.
2742         * sysdeps/i386/i486/bits/atomic.h: Likewise.
2743         * sysdeps/x86_64/bits/atomic.h: Likewise.
2745 2012-03-02  David S. Miller  <davem@davemloft.net>
2747         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2748         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2749         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2750         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2751         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2752         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2753         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2754         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2756 2012-03-02  Roland McGrath  <roland@hack.frob.com>
2758         [BZ #13792]
2759         * manual/examples/README: New file, says the example source files
2760         can be used under GPL>=2.
2761         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2762         line containing just "*/".
2763         * manual/examples/add.c: Add copyright header (GPL>=2).
2764         * manual/examples/argp-ex1.c: Likewise.
2765         * manual/examples/argp-ex2.c: Likewise.
2766         * manual/examples/argp-ex3.c: Likewise.
2767         * manual/examples/argp-ex4.c: Likewise.
2768         * manual/examples/atexit.c: Likewise.
2769         * manual/examples/db.c: Likewise.
2770         * manual/examples/dir.c: Likewise.
2771         * manual/examples/dir2.c: Likewise.
2772         * manual/examples/execinfo.c: Likewise.
2773         * manual/examples/filecli.c: Likewise.
2774         * manual/examples/filesrv.c: Likewise.
2775         * manual/examples/fmtmsgexpl.c: Likewise.
2776         * manual/examples/genpass.c: Likewise.
2777         * manual/examples/inetcli.c: Likewise.
2778         * manual/examples/inetsrv.c: Likewise.
2779         * manual/examples/isockad.c: Likewise.
2780         * manual/examples/longopt.c: Likewise.
2781         * manual/examples/memopen.c: Likewise.
2782         * manual/examples/memstrm.c: Likewise.
2783         * manual/examples/mkfsock.c: Likewise.
2784         * manual/examples/mkisock.c: Likewise.
2785         * manual/examples/mygetpass.c: Likewise.
2786         * manual/examples/pipe.c: Likewise.
2787         * manual/examples/popen.c: Likewise.
2788         * manual/examples/rprintf.c: Likewise.
2789         * manual/examples/search.c: Likewise.
2790         * manual/examples/select.c: Likewise.
2791         * manual/examples/setjmp.c: Likewise.
2792         * manual/examples/sigh1.c: Likewise.
2793         * manual/examples/sigusr.c: Likewise.
2794         * manual/examples/stpcpy.c: Likewise.
2795         * manual/examples/strdupa.c: Likewise.
2796         * manual/examples/strftim.c: Likewise.
2797         * manual/examples/strncat.c: Likewise.
2798         * manual/examples/subopt.c: Likewise.
2799         * manual/examples/swapcontext.c: Likewise.
2800         * manual/examples/termios.c: Likewise.
2801         * manual/examples/testopt.c: Likewise.
2802         * manual/examples/testpass.c: Likewise.
2803         * manual/examples/timeval_subtract.c: Likewise.
2805         [BZ #13792]
2806         * manual/time.texi (Elapsed Time): Move timeval_subtract example
2807         function to ...
2808         * manual/timeval_subtract.c.texi: ... here, new file.
2810 2012-03-02  David S. Miller  <davem@davemloft.net>
2812         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2814 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
2816         [BZ #3976]
2817         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2818         (__sin): Save and restore rounding mode and use round-to-nearest
2819         for all computations.
2820         (__cos): Save and restore rounding mode and use round-to-nearest
2821         for all computations.
2822         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2823         <fenv.h>.
2824         (tan): Save and restore rounding mode and use round-to-nearest for
2825         all computations.
2826         * math/libm-test.inc (cos_test_tonearest): New function.
2827         (cos_test_towardzero): Likewise.
2828         (cos_test_downward): Likewise.
2829         (cos_test_upward): Likewise.
2830         (sin_test_tonearest): Likewise.
2831         (sin_test_towardzero): Likewise.
2832         (sin_test_downward): Likewise.
2833         (sin_test_upward): Likewise.
2834         (tan_test_tonearest): Likewise.
2835         (tan_test_towardzero): Likewise.
2836         (tan_test_downward): Likewise.
2837         (tan_test_upward): Likewise.
2838         (main): Call the new functions.
2839         * sysdeps/i386/fpu/libm-test-ulps: Update.
2840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2842         [BZ #10135]
2843         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2844         small n, then large n, before computing and testing k+n.
2845         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2846         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2847         Likewise.
2848         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2849         Likewise.
2850         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2851         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2852         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2853         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2854         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2855         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2856         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2857         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2858         * math/libm-test.inc (scalbn_test): Add more tests.
2859         (scalbln_test): Likewise.
2861         * manual/filesys.texi (mode_t): Describe constraints on size and
2862         signedness, not exact equivalence to a particular type.
2863         (ino_t): Likewise.
2864         (ino64_t): Likewise.
2865         (dev_t): Likewise.
2866         (nlink_t): Likewise.
2867         (blkcnt_t): Likewise.
2868         (blkcnt64_t): Likewise.
2869         * manual/llio.texi (off_t): Likewise.
2871         [BZ #3976]
2872         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2873         (__ieee754_exp): Save and restore rounding mode and use
2874         round-to-nearest for all computations.
2875         * math/libm-test.inc (exp_test_tonearest): New function.
2876         (exp_test_towardzero): Likewise.
2877         (exp_test_downward): Likewise.
2878         (exp_test_upward): Likewise.
2879         (main): Call the new functions.
2880         * sysdeps/i386/fpu/libm-test-ulps: Update.
2881         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2883 2012-03-01  Chris Demetriou  <cgd@google.com>
2885         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2886         have predictable order.
2888 2012-03-01  David S. Miller  <davem@davemloft.net>
2890         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2892         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2893         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2894         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2895         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2897         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2898         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2899         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2900         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2901         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2902         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2903         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2904         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2905         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2907         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2909         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2910         * sysdeps/sparc/fpu/libm-test-ulps: to here.
2911         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2913         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2914         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2915         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2916         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2917         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2918         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2919         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2920         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2921         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2922         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2923         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2924         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2925         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2926         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2927         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2928         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2929         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
2930         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
2931         * sysdeps/sparc/elf/configure: Regenerated.
2933 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
2935         * configure.in (AS, LD): Require binutils 2.20 or later.
2936         * configure: Regenerated.
2937         * manual/install.texi (Tools for Compilation): Give binutils 2.20
2938         as required minimum version.
2939         * INSTALL: Regenerated.
2941         [BZ #2541]
2942         [BZ #4108]
2943         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
2944         before squaring exponent.
2945         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
2946         bottom long double and 27 bits of top long double before squaring
2947         exponent.
2948         * math/libm-test.inc (erfc_test): Add more tests.
2949         * sysdeps/i386/fpu/libm-test-ulps: Update.
2950         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2953 2012-03-01  Kai Tietz  <ktietz@redhat.com>
2955         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
2956         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
2957         containing bit-fields.
2958         * soft-fp/extended.h (_FP_UNION_E): Likewise.
2959         * soft-fp/single.h (_FP_UNION_S): Likewise.
2960         * soft-fp/double.h (_FP_UNION_D): Likewise.
2962 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
2964         [BZ #13786]
2965         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
2966         not include ../strcmp.S.
2967         [USE_AS_STRNCASECMP_L]: Likewise.
2968         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
2969         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
2970         * sysdeps/i386/i686/multiarch/strncase_l-c.c
2971         (__strncasecmp_l_ia32): Define as alias to
2972         __strncasecmp_l_nonascii.
2974         [BZ #5794]
2975         * math/libm-test.inc (expm1_test): Add test for bug 5794.
2976         * sysdeps/i386/fpu/libm-test-ulps: Update.
2977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2979         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
2980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2982 2012-02-29  Jeff Law  <law@redhat.com>
2984         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
2985         out of bounds read.
2987 2012-02-29  Marek Polacek  <polacek@redhat.com>
2989         [BZ #13706]
2990         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
2991         * elf/Makefile: Add rules to run tst-unused-dep.out.
2993 2012-02-28  David S. Miller  <davem@davemloft.net>
2995         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
2996         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
2997         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
2998         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
2999         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
3000         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
3002 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
3004         * math/libm-test.inc (llround_test): Move one test from
3005         lround_test.  Use TEST_f_L in moved test.
3006         (lround_test): Move misplaced test to llround_test.  Add testcase
3007         from bug 2561.
3009 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
3011         * sysdeps/x86_64/fpu/e_expf.S: New file.
3012         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
3014 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
3016         [BZ #13637]
3017         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
3018         of remain_len that may cause incomplete multi-byte character and
3019         false match.
3020         * posix/bug-regex33.c: New file.
3021         * posix/Makefile (tests): Add bug-regex33.
3023 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
3025         * manual/macros.texi: New file.
3026         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
3027         * manual/libc.texinfo: Include macros.texi.
3028         * manual/creatute.texi: Likewise.
3029         * manual/install.texi: Likewise.
3030         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
3031         @glibcadj{} in references to the GNU C Library.
3032         * manual/charset.texi: Likewise.
3033         * manual/conf.texi: Likewise.
3034         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
3035         when not using those macros.
3036         * manual/creature.texi: Likewise.
3037         * manual/crypt.texi: Likewise.
3038         * manual/errno.texi: Likewise.
3039         * manual/filesys.texi: Likewise.
3040         * manual/header.texi: Likewise.
3041         * manual/install.texi: Likewise.
3042         * manual/intro.texi: Likewise.
3043         * manual/io.texi: Likewise.
3044         * manual/job.texi: Likewise.
3045         * manual/lang.texi: Likewise.
3046         * manual/libc.texiinfo: Likewise.
3047         * manual/llio.texi: Likewise.
3048         * manual/locale.texi: Likewise.
3049         * manual/maint.texi: Likewise.
3050         * manual/math.texi: Likewise.
3051         * manual/memory.texi: Likewise.
3052         * manual/message.texi: Likewise.
3053         * manual/nss.texi: Likewise.
3054         * manual/pattern.texi: Likewise.
3055         * manual/process.texi: Likewise.
3056         * manual/resource.texi: Likewise.
3057         * manual/search.texi: Likewise.
3058         * manual/setjmp.texi: Likewise.
3059         * manual/signal.texi: Likewise.
3060         * manual/socket.texi: Likewise.
3061         * manual/startup.texi: Likewise.
3062         * manual/stdio.texi: Likewise.
3063         * manual/string.texi: Likewise.
3064         * manual/sysinfo.texi: Likewise.
3065         * manual/syslog.texi: Likewise.
3066         * manual/terminal.texi: Likewise.
3067         * manual/time.texi: Likewise.
3068         * manual/users.texi: Likewise.
3069         * INSTALL: Regenerated.
3070         * NOTES: Regenerated.
3071         * sysdeps/gnu/errlist.c: Regenerated.
3073 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
3075         * include/dirent.h: Include <dirstream.h> before
3076         <dirent/dirent.h>.
3078 2012-02-28  David S. Miller  <davem@davemloft.net>
3080         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
3081         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
3082         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
3083         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
3085 2012-02-27  David S. Miller  <davem@davemloft.net>
3087         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
3088         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
3089         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
3090         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
3092         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
3093         frame pointer instead of stack pointer relative arg slot.
3094         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3095         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3096         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3098 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
3100         [BZ #3992]
3101         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
3103 2012-02-27  David S. Miller  <davem@davemloft.net>
3105         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
3106         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3107         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3108         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
3109         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3110         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3111         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
3112         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
3114 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
3116         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
3117         later.  Allow versions 5-9.
3118         * configure: Regenerated.
3119         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
3120         required minimum version and 4.6 as recommended version.  Do not
3121         mention bugs in GCC 2.7 and 2.8.
3122         * INSTALL: Regenerated.
3124 2012-02-27  David S. Miller  <davem@davemloft.net>
3126         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
3127         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
3128         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
3129         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
3130         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
3131         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
3132         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
3133         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
3135         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
3136         manipulate bits before adding and subtracting TWO112[sx].
3137         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3139 2012-02-27  Roland McGrath  <roland@hack.frob.com>
3141         [BZ #13775]
3142         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
3143         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
3144         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
3145         being in POSIX, because they are in 1003.1-2008.
3147         * rt/tst-aio.c: Include <fcntl.h>.
3148         * rt/tst-aio7.c: Likewise.
3149         * rt/tst-aio64.c: Likewise.
3151         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
3153 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
3155         * manual/install.texi (--with-headers): Describe headers as
3156         interface headers, not private headers.
3157         (Specific advice for GNU/Linux systems): Describe use of headers
3158         from "make headers_install", not private headers from older
3159         kernels.
3160         * INSTALL: Regenerated.
3161         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
3162         Change to 2.6.19.
3163         * sysdeps/unix/sysv/linux/configure: Regenerated.
3165         * manual/llio.texi (fclean): Remove documentation.
3167         * manual/Makefile (libc-texi-generated): New variable.  Include
3168         version.texi.
3169         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
3170         $(libc-texi-generated), not duplicated list of files.
3171         (version.texi, stamp-version): New rules.
3172         (realclean): Remove $(libc-texi-generated), not individual files
3173         from that list.  Do not remove dir-add.texinfo.
3174         * manual/libc.texinfo: Comment out uses of edition numbers and
3175         references to printed manual.  Remove last-updated dates.
3176         (EDITION): Comment out.
3177         (ISBN): Likewise.
3178         (VERSION, UPDATED): Remove.
3179         (version.texi): Include.
3181 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
3183         * sysdeps/posix/spawni.c: Include <signal.h>.
3184         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
3185         * sysdeps/pthread/aio_fsync.c: Likewise.
3187 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
3189         * conform/Makefile (tests): Run only when not cross-compiling and
3190         when fast-check is not defined.
3192         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
3193         * conform/data/limits.h-data: Fixes for POSIX2008.
3194         * conform/run-conformtest.sh: Run all tests.
3195         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
3196         headers.
3197         * include/bits/dlfcn.h: Likewise.
3198         * include/langinfo.h: Likewise.
3199         * include/monetary.h: Likewise.
3200         * include/sys/poll.h: Likewise.
3202         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
3203         for __USE_GNU.
3204         * posix/spawn.h: Define __need_sigset_t.
3205         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
3206         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
3207         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
3208         to get sigevent_t only.
3209         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
3210         only for __USE_GNU.
3211         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3212         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
3213         process_vm_writev only for __USE_GNU.
3214         * termios/termios.h: Declare tcgetsid also for POSIX2008.
3216         * conform/Makefile: For now ignore errors from run-conformtest.
3217         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
3218         POSIX to avoid namespace pollution.  Don't prepend headers.
3219         * conform/data/aio.h-data: Fixes for POSIX testing.
3220         * conform/data/fcntl.h-data: Likewise.
3221         * conform/data/glob.h-data: Likewise.
3222         * conform/data/grp.h-data: Likewise.
3223         * conform/data/pthread.h-data: Likewise.
3224         * conform/data/pwd.h-data: Likewise.
3225         * conform/data/signal.h-data: Likewise.
3226         * conform/data/spawn.h-data: Likewise.
3227         * conform/data/stdio.h-data: Likewise.
3228         * conform/data/stdlib.h-data: Likewise.
3229         * conform/data/stropts.h-data: Likewise.
3230         * conform/data/sys/mman.h-data: Likewise.
3231         * conform/data/sys/stat.h-data: Likewise.
3232         * conform/data/sys/types.h-data: Likewise.
3233         * conform/data/sys/wait.h-data: Likewise.
3234         * conform/data/time.h-data: Likewise.
3235         * conform/data/unistd.h-data: Likewise.
3236         * conform/data/utime.h-data: Likewise.
3238         * io/sys/stat.h: fchmod was always in POSIX.
3239         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
3240         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
3241         * rt/aio.h: Define __need_timespec before including <time.h>.
3242         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
3243         struct.  Add forward declaration of pthread_attr_t and use it in
3244         sigevent.
3245         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
3246         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3247         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
3248         always remove CLK_TCK definition.
3250 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
3252         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
3254 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
3256         * conform/run-conformtest.sh: New file.
3257         * conform/Makefile: Run run-conformtest for tests.
3258         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
3259         support.
3261         * conform/data/uchar.h-data: New file.
3262         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
3263         * conform/data/arpa/inet.h-data: Likewise.
3264         * conform/data/assert.h-data: Likewise.
3265         * conform/data/complex.h-data: Likewise.
3266         * conform/data/cpio.h-data: Likewise.
3267         * conform/data/ctype.h-data: Likewise.
3268         * conform/data/dirent.h-data: Likewise.
3269         * conform/data/dlfcn.h-data: Likewise.
3270         * conform/data/errno.h-data: Likewise.
3271         * conform/data/fcntl.h-data: Likewise.
3272         * conform/data/float.h-data: Likewise.
3273         * conform/data/fmtmsg.h-data: Likewise.
3274         * conform/data/fnmatch.h-data: Likewise.
3275         * conform/data/ftw.h-data: Likewise.
3276         * conform/data/glob.h-data: Likewise.
3277         * conform/data/grp.h-data: Likewise.
3278         * conform/data/iconv.h-data: Likewise.
3279         * conform/data/inttypes.h-data: Likewise.
3280         * conform/data/langinfo.h-data: Likewise.
3281         * conform/data/libgen.h-data: Likewise.
3282         * conform/data/limits.h-data: Likewise.
3283         * conform/data/locale.h-data: Likewise.
3284         * conform/data/math.h-data: Likewise.
3285         * conform/data/monetary.h-data: Likewise.
3286         * conform/data/mqueue.h-data: Likewise.
3287         * conform/data/ndbm.h-data: Likewise.
3288         * conform/data/net/if.h-data: Likewise.
3289         * conform/data/netdb.h-data: Likewise.
3290         * conform/data/netinet/in.h-data: Likewise.
3291         * conform/data/nl_types.h-data: Likewise.
3292         * conform/data/poll.h-data: Likewise.
3293         * conform/data/pthread.h-data: Likewise.
3294         * conform/data/pwd.h-data: Likewise.
3295         * conform/data/regex.h-data: Likewise.
3296         * conform/data/sched.h-data: Likewise.
3297         * conform/data/search.h-data: Likewise.
3298         * conform/data/semaphore.h-data: Likewise.
3299         * conform/data/setjmp.h-data: Likewise.
3300         * conform/data/signal.h-data: Likewise.
3301         * conform/data/spawn.h-data: Likewise.
3302         * conform/data/stdarg.h-data: Likewise.
3303         * conform/data/stdio.h-data: Likewise.
3304         * conform/data/stdlib.h-data: Likewise.
3305         * conform/data/string.h-data: Likewise.
3306         * conform/data/strings.h-data: Likewise.
3307         * conform/data/stropts.h-data: Likewise.
3308         * conform/data/sys/ipc.h-data: Likewise.
3309         * conform/data/sys/mman.h-data: Likewise.
3310         * conform/data/sys/msg.h-data: Likewise.
3311         * conform/data/sys/resource.h-data: Likewise.
3312         * conform/data/sys/select.h-data: Likewise.
3313         * conform/data/sys/sem.h-data: Likewise.
3314         * conform/data/sys/shm.h-data: Likewise.
3315         * conform/data/sys/socket.h-data: Likewise.
3316         * conform/data/sys/stat.h-data: Likewise.
3317         * conform/data/sys/statvfs.h-data: Likewise.
3318         * conform/data/sys/time.h-data: Likewise.
3319         * conform/data/sys/timeb.h-data: Likewise.
3320         * conform/data/sys/times.h-data: Likewise.
3321         * conform/data/sys/types.h-data: Likewise.
3322         * conform/data/sys/uio.h-data: Likewise.
3323         * conform/data/sys/un.h-data: Likewise.
3324         * conform/data/sys/utsname.h-data: Likewise.
3325         * conform/data/sys/wait.h-data: Likewise.
3326         * conform/data/syslog.h-data: Likewise.
3327         * conform/data/tar.h-data: Likewise.
3328         * conform/data/termios.h-data: Likewise.
3329         * conform/data/utime.h-data: Likewise.
3330         * conform/data/utmpx.h-data: Likewise.
3331         * conform/data/varargs.h-data: Likewise.
3332         * conform/data/wchar.h-data: Likewise.
3333         * conform/data/wctype.h-data: Likewise.
3334         * conform/data/wordexp.h-data: Likewise.
3336         * include/stropts.h: New file.
3337         * include/uchar.h: New file.
3338         * include/aio.h: Changes to allow conformtest.pl to use the headers.
3339         * include/assert.h: Likewise.
3340         * include/ctype.h: Likewise.
3341         * include/dirent.h: Likewise.
3342         * include/dlfcn.h: Likewise.
3343         * include/fcntl.h: Likewise.
3344         * include/fnmatch.h: Likewise.
3345         * include/glob.h: Likewise.
3346         * include/grp.h: Likewise.
3347         * include/libio.h: Likewise.
3348         * include/locale.h: Likewise.
3349         * include/math.h: Likewise.
3350         * include/net/if.h: Likewise.
3351         * include/netdb.h: Likewise.
3352         * include/netinet/in.h: Likewise.
3353         * include/pthread.h: Likewise.
3354         * include/pwd.h: Likewise.
3355         * include/regex.h: Likewise.
3356         * include/sched.h: Likewise.
3357         * include/search.h: Likewise.
3358         * include/setjmp.h: Likewise.
3359         * include/signal.h: Likewise.
3360         * include/stdio.h: Likewise.
3361         * include/stdlib.h: Likewise.
3362         * include/string.h: Likewise.
3363         * include/sys/cdefs.h: Likewise.
3364         * include/sys/mman.h: Likewise.
3365         * include/sys/msg.h: Likewise.
3366         * include/sys/resource.h: Likewise.
3367         * include/sys/select.h: Likewise.
3368         * include/sys/socket.h: Likewise.
3369         * include/sys/stat.h: Likewise.
3370         * include/sys/statvfs.h: Likewise.
3371         * include/sys/time.h: Likewise.
3372         * include/sys/times.h: Likewise.
3373         * include/sys/uio.h: Likewise.
3374         * include/sys/utsname.h: Likewise.
3375         * include/sys/wait.h: Likewise.
3376         * include/termios.h: Likewise.
3377         * include/time.h: Likewise.
3378         * include/ulimit.h: Likewise.
3379         * include/unistd.h: Likewise.
3380         * include/utime.h: Likewise.
3381         * include/wchar.h: Likewise.
3382         * include/wctype.h: Likewise.
3383         * include/wordexp.h: Likewise.
3385         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
3387         * time/time.h: TIME_UTC must be a macro.
3388         Make timespec_get available for ISO C11 only as well.
3390 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
3392         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
3393         Reported by Peng Haitao <penght@cn.fujitsu.com>.
3395 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
3397         * configure.in: Use -o not -a in test for unsupported multi-arch.
3399 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
3401         * manual/texinfo.tex: Update to version 2012-01-19.16.
3403 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
3405         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
3407 2012-02-24  Roland McGrath  <roland@hack.frob.com>
3409         [BZ #13738]
3410         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
3411         * manual/fdl-1.3.texi: New file.
3412         * manual/fdl-1.1.texi: File removed.
3414         [BZ #13738]
3415         * manual/libc.texinfo (FDL_VERSION): New @set.
3416         Use it for mention of FDL in cover text.
3417         (Documentation License): Use it in @include file name.
3419 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3420             Roland McGrath  <roland@hack.frob.com>
3422         [BZ #5461]
3423         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
3424         not LONG_LONG_MAX and LONG_LONG_MIN.
3425         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
3426         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
3427         name.
3428         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
3430 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3432         [BZ #2547]
3433         [BZ #11365]
3434         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
3435         manipulate bits before adding and subtracting TWO23[sx].
3436         * math/libm-test.inc (nearbyint_test): Add more tests.
3438 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3440         [BZ #2548]
3441         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
3442         bits before adding and subtracting TWO23[sx].
3443         * math/libm-test.inc (rint_test): Add more tests.
3444         (rint_test_tonearest): Likewise.
3445         (rint_test_towardzero): Likewise.
3446         (rint_test_downward): Likewise.
3447         (rint_test_upward: Likewise.
3449 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3451         [BZ #10110]
3452         * include/stdc-predef.h: New file.  Extracted from features.h.
3453         * include/features.h: Include stdc-predef.h.
3454         * Makefile (headers): Add stdc-predef.h.
3455         * CONFORMANCE (Compiler limitations): Update.
3457 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3459         * manual/libc.texinfo (VERSION, UPDATED): Revert.
3461 2012-02-21  David S. Miller  <davem@davemloft.net>
3463         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
3464         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3466 2012-02-20  David S. Miller  <davem@davemloft.net>
3468         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
3469         using a normal save/restore sequence, rather than allocating a
3470         dummy stack frame just to store a frame pointer and restore.
3471         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3473 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
3475         * manual/install.texi: Fix stray word in line-wrapped comment.
3477 2012-02-20  David S. Miller  <davem@davemloft.net>
3479         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
3480         both binutils and gcc support GOTDATA.
3482         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
3483         "rd %pc" in the PIC register setup sequences.
3485         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
3486         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3487         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3488         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3489         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3490         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3491         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3492         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3493         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
3494         (SYSCALL_ERROR_HANDLER): Likewise.
3495         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3496         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3497         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
3498         (SYSCALL_ERROR_HANDLER): Likewise.
3500         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
3501         (HAVE_GCC_GOTDATA): New.
3502         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
3503         relocation support in both binutils and gcc.
3504         * sysdeps/sparc/elf/configure: Regenerate.
3506         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
3507         * sysdeps/sparc/sparc32/elf/configure: Delete.
3508         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
3509         * sysdeps/sparc/sparc64/elf/configure: Delete.
3510         * sysdeps/sparc/elf/configure.in: New file.
3511         * sysdeps/sparc/elf/configure: Generate.
3513         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
3514         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
3515         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
3516         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
3517         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
3519 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
3521         * manual/install.texi: Do not mention specific glibc version
3522         numbers.
3523         * manual/libc.texinfo (VERSION, UPDATED): Update.
3524         (@copying): Use @copyright{} and range of years.
3526 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
3528         [BZ #13695]
3529         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
3530         [crti.S not in sysdirs] (generated): Do not append.
3531         [crti.S not in sysdirs] (omit-deps): Likewise.
3532         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
3533         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
3534         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
3535         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
3536         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
3537         Likewise.
3538         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
3539         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
3540         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
3541         * csu/defs.awk: Remove file.
3542         * sysdeps/generic/initfini.c: Likewise.
3543         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
3544         variable.
3545         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
3546         Likewise.
3548 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
3550         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
3551         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
3552         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
3553         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
3554         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3555         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
3556         <bits/epoll.h>.
3557         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
3558         (__EPOLL_PACKED): Define to empty if not defined by
3559         <bits/epoll.h>.
3560         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
3561         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3562         bits/epoll.h.
3564 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
3566         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
3567         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
3568         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
3569         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
3570         <bits/timerfd.h>.
3571         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
3572         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3573         bits/timerfd.h.
3575 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
3577         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
3578         in C locale.
3579         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3580         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3581         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3584 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
3586         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3587         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3589 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
3591         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
3592         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
3593         defined.
3594         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
3595         Likewise.
3596         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
3597         entry for 2.16.
3599 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
3601         * math/w_acos.c: Use non-signaling floating-point comparisons.
3602         * math/w_acosf.c: Likewise.
3603         * math/w_acosh.c: Likewise.
3604         * math/w_acoshf.c: Likewise.
3605         * math/w_acoshl.c: Likewise.
3606         * math/w_acosl.c: Likewise.
3607         * math/w_asin.c: Likewise.
3608         * math/w_asinf.c: Likewise.
3609         * math/w_asinl.c: Likewise.
3610         * math/w_atanh.c: Likewise.
3611         * math/w_atanhf.c: Likewise.
3612         * math/w_atanhl.c: Likewise.
3613         * math/w_exp2.c: Likewise.
3614         * math/w_exp2f.c: Likewise.
3615         * math/w_exp2l.c: Likewise.
3616         * math/w_j0.c: Likewise.
3617         * math/w_j0f.c: Likewise.
3618         * math/w_j0l.c: Likewise.
3619         * math/w_j1.c: Likewise.
3620         * math/w_j1f.c: Likewise.
3621         * math/w_j1l.c: Likewise.
3622         * math/w_jn.c: Likewise.
3623         * math/w_jnf.c: Likewise.
3624         * math/w_log.c: Likewise.
3625         * math/w_log10.c: Likewise.
3626         * math/w_log10f.c: Likewise.
3627         * math/w_log10l.c: Likewise.
3628         * math/w_log2.c: Likewise.
3629         * math/w_log2f.c: Likewise.
3630         * math/w_log2l.c: Likewise.
3631         * math/w_logf.c: Likewise.
3632         * math/w_logl.c: Likewise.
3633         * math/w_sqrt.c: Likewise.
3634         * math/w_sqrtf.c: Likewise.
3635         * math/w_sqrtl.c: Likewise.
3636         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3637         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3638         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3639         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3640         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3642 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
3644         [BZ #9739]
3645         * manual/string.texi (strnlen): Use correct parameter name in
3646         equivalent expression.
3648 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
3650         [BZ #11174]
3651         * manual/users.texi (seteuid): Consistently use neweuid for
3652         argument name.
3654 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
3656         [BZ #13704]
3657         * manual/nss.texi (Services in the NSS configuration): Correct
3658         list of services in example configuration file.
3660 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
3662         [BZ #11322]
3663         * manual/arith.texi: Remove statements about negative zero
3664         behaving identically to zero.
3666 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
3668         [BZ #5993]
3669         * manual/install.texi: Do not document upgrading from libc5.
3671 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
3673         [BZ #4596]
3674         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3676 2012-02-18  David S. Miller  <davem@davemloft.net>
3678         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3679         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3680         %o7 across the call.
3681         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3682         instead.
3683         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3684         SETUP_PIC_REG_LEAF.
3685         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3686         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3687         * sysdeps/sparc/crtn.S: Likewise.
3689 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
3691         * aout/Makefile: Remove.
3693 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
3695         [BZ #13058]
3696         * manual/examples/argp-ex1.c (main): Format definition in GNU
3697         style.
3698         * manual/examples/argp-ex2.c (main): Likewise.
3699         * manual/examples/argp-ex3.c (main): Likewise.
3700         * manual/examples/argp-ex4.c (main): Likewise.
3701         * manual/examples/longopt.c (main): Use new-style prototype
3702         definition.
3703         * manual/examples/strncat.c (main): Specify return type and use
3704         (void) for arguments.
3705         * manual/examples/subopt.c (main): Use char **argv argument.
3707 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
3709         [BZ #5077]
3710         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3711         rounding modes.
3713 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
3715         [BZ #6907]
3716         * manual/string.texi (strchr): Change when strchrnul is
3717         recommended.
3719 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
3721         [BZ #174]
3722         * manual/locale.texi (setlocale): Document LOCPATH.
3724 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
3726         [BZ #10210]
3727         * manual/process.texi (execle): Move @dots{} before last argument.
3729 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
3731         [BZ #12047]
3732         * manual/charset.texi (Generic Charset Conversion): Fix typo
3733         (LC_TYPE -> LC_CTYPE).
3735 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
3737         [BZ #5805]
3738         * manual/arith.texi (scalbn): Use @var{} on parameter names.
3739         (scalbnf): Likewise.
3740         (scalbnl): Likewise.
3741         (scalbln): Likewise.
3742         (scalblnf): Likewise.
3743         (scalblnl): Likewise.
3744         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3745         (vwarnx): Likewise.
3746         (verr): Likewise.
3747         (verrx): Likewise.
3748         * manual/filesys.texi (telldir): Use braces around return type.
3749         * manual/llio.texi (mmap): Add space after comma.
3750         (mmap64): Likewise.
3751         * manual/math.texi (jn): Use @var{} on parameter names.
3752         (jnf): Likewise.
3753         (jnl): Likewise.
3754         (yn): Likewise.
3755         (ynf): Likewise.
3756         (ynl): Likewise.
3757         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3758         line.
3759         * manual/resource.texi (ulimit): Use @dots{} instead of literal
3760         "...".
3761         (sched_get_priority_min): Remove semicolon on @deftypefun line.
3762         (sched_get_priority_max): Likewise.
3763         * manual/signal.texi (sigvec): Add space after comma.
3764         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3765         names.
3766         (if_indextoname): Likewise.
3767         (if_freenameindex): Likewise.
3768         (sendto): Use ',' instead of '.' in prototype.
3769         * manual/startup.texi (syscall): Use @dots{} instead of literal
3770         "...".
3771         * manual/stdio.texi (__fpending): Separate initial words of
3772         paragraph from @deftypefun line.
3773         * manual/syslog.texi (syslog): Use @dots{} instead of literal
3774         "...".
3775         (vsyslog): Use @var{} on parameter names.
3776         * manual/terminal.texi (stty): Use @var{} on parameter names.
3777         * manual/users.texi (getutmp): Use @var{} on parameter names.
3778         (getutmpx): Likewise.
3780 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
3782         [BZ #6884]
3783         * manual/stdio.texi (fopen): Fix typos in description of
3784         ",ccs=STRING".
3786 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
3788         [BZ #4026]
3789         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3790         get clock_id definition.
3792 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
3794         [BZ #4822]
3795         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3796         (madvise): Cast every argument to void on its own.
3798 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
3800         [BZ #9902]
3801         * manual/startup.texi (Exit Status): Fix typo.
3803 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
3805         [BZ #10140]
3806         * manual/examples/argp-ex1.c: Include <stdlib.h>.
3807         * manual/examples/argp-ex2.c: Likewise.
3808         * manual/examples/argp-ex3.c: Likewise.
3810 2012-02-16  Richard Henderson  <rth@redhat.com>
3812         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3813         * sysdeps/s390/s390-32/initfini.c: Remove.
3814         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3815         * sysdeps/s390/s390-64/initfini.c: Remove.
3817 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3819         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3820         compiler output for sysdeps/generic/initfini.c.
3821         * sysdeps/sh/elf/initfini.c: Remove file.
3823 2012-02-16  David S. Miller  <davem@davemloft.net>
3825         [BZ #11494]
3826         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3828         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3829         * sysdeps/sparc/crti.S: New file.
3830         * sysdeps/sparc/crtn.S: New file.
3831         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3832         * sysdeps/sparc/sparc64/Makefile: Likewise.
3834 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
3836         [BZ #3335]
3837         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3839 2012-02-15  Roland McGrath  <roland@hack.frob.com>
3841         [BZ #4822]
3842         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3844         * mach/devstream.c (cookie_io_functions_t): Macro removed.
3845         (write, read, close): Likewise.
3846         Patch by Aurelien Jarno <aurelien@aurel32.net>.
3848 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
3850         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3851         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3852         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3853         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3854         <bits/signalfd.h>.
3855         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3856         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3857         bits/signalfd.h.
3859 2012-02-14  Marek Polacek  <polacek@redhat.com>
3861         * sysdeps/x86_64/crti.S: New file.
3862         * sysdeps/x86_64/crtn.S: New file.
3863         * sysdeps/x86_64/elf/initfini.c: Remove file.
3865 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
3867         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3868         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3869         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3870         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3871         <bits/inotify.h>.
3872         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3873         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3874         bits/inotify.h.
3876 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
3878         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3879         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3880         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3881         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3882         <bits/eventfd.h>.
3883         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3884         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3885         bits/eventfd.h.
3887 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
3889         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3890         __feraiseexcept instead of feraiseexcept.
3892         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3893         nanosleep invocations.
3894         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3895         strings, and add error checking for a nanosleep invocations.
3897 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
3899         Replace FSF snail mail address with URLs, as per GNU coding standards.
3900         Most of the snail mail addresses were wrong anyway, and omitting
3901         them makes the source code easier to maintain.  Almost all of the
3902         changes are to license notices and to locale LC_IDENTIFICATION
3903         addresses, except for this one:
3904         * manual/libc.texinfo: In "Published by", give the FSF's URL,
3905         not its snail mail address.
3907 2012-02-09  Richard Henderson  <rth@twiddle.net>
3909         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3910         of kernel-features.h.
3912         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3914 2012-02-08  Marek Polacek  <polacek@redhat.com>
3916         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
3917         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
3918         * sysdeps/gnu/_G_config.h: Likewise.
3919         * sysdeps/generic/_G_config.h: Likewise.
3921 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
3923         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
3924         tests.
3925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3927         * sysdeps/powerpc/powerpc32/crti.S: New file.
3928         * sysdeps/powerpc/powerpc32/crtn.S: New file.
3929         * sysdeps/powerpc/powerpc64/crti.S: New file.
3930         * sysdeps/powerpc/powerpc64/crtn.S: New file.
3932         * Makeconfig (have-initfini): Don't set.
3933         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
3934         * configure.in (nopic_initfini): Don't substitute.
3935         * config.h.in (HAVE_INITFINI): Don't #undef.
3936         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
3937         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
3939 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
3941         Support crti.S and crtn.S provided directly by architectures.
3942         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
3943         [crti.S in sysdirs] (omit-deps): Likewise.
3944         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
3945         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
3946         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
3947         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
3948         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
3949         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
3950         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
3951         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
3952         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
3953         compiler output for sysdeps/generic/initfini.c.
3954         * sysdeps/i386/elf/Makefile: Remove file.
3955         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
3957 2012-02-07  Marek Polacek  <polacek@redhat.com>
3959         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
3960         * sysdeps/gnu/_G_config.h: Likewise.
3961         * sysdeps/mach/hurd/_G_config.h: Likewise.
3963 2012-02-07  Marek Polacek  <polacek@redhat.com>
3965         * math/Makefile (tests): Add tst-CMPLX2.
3966         * math/tst-CMPLX2.c: New file.
3968 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
3970         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3972         * math/libm-test.inc (jn_test): Add missing L suffix.
3974 2012-02-06  Marek Polacek  <polacek@redhat.com>
3976         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
3977         * sysdeps/i386/fpu/e_powf.S: Likewise.
3978         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3979         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3980         * sysdeps/i386/fpu/e_acosh.S: Likewise.
3981         * sysdeps/i386/fpu/e_pow.S: Likewise.
3982         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3983         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3984         * sysdeps/i386/fpu/s_expm1.S: Likewise.
3985         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3986         * sysdeps/i386/fpu/e_log2.S: Likewise.
3987         * sysdeps/i386/fpu/e_log2l.S: Likewise.
3988         * sysdeps/i386/fpu/e_scalb.S: Likewise.
3989         * sysdeps/i386/fpu/e_powl.S: Likewise.
3990         * sysdeps/i386/fpu/s_log1p.S: Likewise.
3991         * sysdeps/i386/fpu/e_log10f.S: Likewise.
3992         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3993         * sysdeps/i386/fpu/e_logl.S: Likewise.
3994         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3995         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
3996         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3997         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3998         * sysdeps/i386/fpu/e_log2f.S: Likewise.
3999         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4000         * sysdeps/i386/fpu/e_log.S: Likewise.
4001         * sysdeps/i386/fpu/s_cexp.S: Likewise.
4002         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4003         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
4004         * sysdeps/i386/fpu/e_logf.S: Likewise.
4005         * sysdeps/i386/fpu/e_log10l.S: Likewise.
4006         * sysdeps/i386/fpu/e_atanh.S: Likewise.
4007         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
4008         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4009         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4010         * sysdeps/i386/fpu/e_log10.S: Likewise.
4011         * sysdeps/i386/fpu/s_frexp.S: Likewise.
4012         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4013         * sysdeps/i386/fpu/s_asinh.S: Likewise.
4014         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4015         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4016         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4017         * sysdeps/i386/asm-syntax.h: Likewise.
4018         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4019         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4020         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4021         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
4022         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
4023         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4024         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4025         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4026         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4027         * sysdeps/powerpc/sysdep.h: Likewise.
4028         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
4029         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4031 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
4033         [BZ #411]
4034         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
4036 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
4038         * sysdeps/i386/sysdep.h: Include <features.h>.
4039         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
4040         version.
4042 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
4044         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
4045         Define.
4046         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
4047         LOAD_PIC_REG_STR.
4049 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
4051         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
4052         (SETUP_PIC_REG): Use GET_PC_THUNK.
4053         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
4054         macro.
4056 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
4058         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
4059         for non-PIC compilation.
4060         (SETUP_PIC_REG): Add .p2align directive.
4061         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
4062         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4063         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4064         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4065         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4066         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4067         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4068         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4069         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4070         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4071         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4072         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4073         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4074         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4075         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4076         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4077         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4078         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4079         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4080         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4081         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4082         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4083         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4084         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4085         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4086         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4087         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4088         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4089         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4090         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4091         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4092         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4093         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4094         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4095         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4096         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4097         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4098         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4099         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4100         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4101         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4103 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
4105         * math/tst-CMPLX.c: Include <stdio.h>.
4107 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
4109         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
4110         float.
4111         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4112         * sysdeps/sparc/bits/mathdef.h: Likewise.
4114 2012-01-31  Marek Polacek  <polacek@redhat.com>
4116         * libio/libio.h: Don't define _PARAMS.
4117         * locale/programs/config.h: Don't define PARAMS.
4118         * stdlib/strtol_l.c: Likewise.
4119         (__strtol_l): Remove PARAMS from the prototype.
4121 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
4123         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
4124         names.  Just use the correct names.  Remove unnecessary wrapper
4125         functions.
4126         * malloc/arena.c: Likewise.
4127         * malloc/hooks.c: Likewise.
4129         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
4130         ARENA_TEST says not to.  Simplify test for creation of a new arena.
4131         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
4133 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
4135         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
4136         into tail calls.
4137         (update_get_addr): New function.
4138         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
4139         GET_ADDR_MODULE parameter.
4141 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
4143         * crypt/cert.c: Remove __STDC__ conditionals.
4144         * crypt/crypt-entry.c: Likewise.
4145         * crypt/crypt_util.c: Likewise.
4146         * libio/filedoalloc.c: Likewise.
4147         * libio/fileops.c: Likewise.
4148         * libio/genops.c: Likewise.
4149         * libio/iofclose.c: Likewise.
4150         * libio/iofdopen.c: Likewise.
4151         * libio/iofopen.c: Likewise.
4152         * libio/iofopen64.c: Likewise.
4153         * libio/iogetdelim.c: Likewise.
4154         * libio/iopopen.c: Likewise.
4155         * libio/obprintf.c: Likewise.
4156         * libio/oldfileops.c: Likewise.
4157         * libio/oldiofclose.c: Likewise.
4158         * libio/oldiofdopen.c: Likewise.
4159         * libio/oldiofopen.c: Likewise.
4160         * libio/oldiopopen.c: Likewise.
4161         * libio/wfiledoalloc.c: Likewise.
4162         * libio/wgenops.c: Likewise.
4163         * locale/programs/xmalloc.c: Likewise.
4164         * misc/syslog.c: Likewise.
4165         * stdio-common/xbug.c: Likewise.
4166         * string/memchr.c: Likewise.
4167         * string/memcmp.c: Likewise.
4168         * string/memrchr.c: Likewise.
4169         * string/rawmemchr.c: Likewise.
4170         * sysdeps/posix/getcwd.c: Likewise.
4171         * time/strftime_l.c: Likewise.
4173 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
4175         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
4176         * config.make.in (config-cflags-sse2avx): Define.
4177         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
4178         Fix typo.
4180 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
4182         * scripts/config.guess: Update from upstream config git repository.
4183         * scripts/config.sub: Likewise.
4185 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
4187         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
4188         (EM_NUM): Update.
4189         (R_TILEPRO_*, R_TILEGX_*): New macros.
4191         * scripts/firstversions.awk: Fix bug in version range handling.
4193         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
4195         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
4197         * include/sys/epoll.h: New file.
4198         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
4199         libc_hidden_def.
4201 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
4203         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
4204         Avoid unnecessary __WORDSIZE == 64 test.
4205         (fmaxf): Use VEX format if possible.
4206         (fmax): Likewise.
4207         (fminf): Likewise.
4208         (fmin): Likewise.
4210         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
4211         * math/math_private.h: Remove libc_fegetround* and
4212         libc_fesetround*.
4213         * sysdeps/i386/configure.in: Check for -msse2avx.
4214         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
4215         also if SSE2AVX is defined.
4216         Remove libc_fegetround* and libc_fesetround*.
4217         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
4218         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
4219         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
4220         of HAS_YMM_USABLE.
4221         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4222         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4223         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4224         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4225         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4227         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
4229 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4231         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
4232         size is not set.
4233         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
4235 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
4237         [BZ #13618]
4238         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
4239         relocation.
4240         * Makeconfig (libm): Define.
4241         * elf/Makefile: Add rules to build and run tst-relsort1.
4242         * elf/tst-relsort1.c: New file.
4243         * elf/tst-relsort1mod1.c: New file.
4244         * elf/tst-relsort1mod2.c: New file.
4246 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
4248         * math/s_ldexp.c: Remove __STDC__ conditionals.
4249         * math/s_ldexpf.c: Likewise.
4250         * math/s_ldexpl.c: Likewise.
4251         * math/s_nextafter.c: Likewise.
4252         * math/s_nexttowardf.c: Likewise.
4253         * math/s_significand.c: Likewise.
4254         * math/s_significandf.c: Likewise.
4255         * math/s_significandl.c: Likewise.
4256         * math/w_jnl.c: Likewise.
4257         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4258         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4259         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4260         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4261         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4262         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4263         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
4264         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4265         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4266         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4267         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4268         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4269         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4270         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4271         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4272         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4273         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4274         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4275         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4276         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4277         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4278         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4279         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4280         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4281         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4282         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4283         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4284         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4285         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4286         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4287         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4288         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4289         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4290         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4291         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4292         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4293         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4294         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4295         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4296         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4297         * sysdeps/ieee754/k_standard.c: Likewise.
4298         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4299         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4300         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4301         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4302         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4303         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4304         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4305         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4306         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4307         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4308         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4309         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4310         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4311         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4312         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4313         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4314         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4315         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4316         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4317         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4318         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4319         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4320         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4321         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4322         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4323         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4324         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4325         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4326         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4327         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4328         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4329         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
4330         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4331         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4332         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4333         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4334         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
4335         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4336         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4337         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
4338         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
4339         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4340         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4341         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
4342         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4343         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4344         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4345         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4346         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4347         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4348         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
4349         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4350         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4351         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4352         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4353         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4354         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
4355         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4356         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4357         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4358         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4359         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4360         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4361         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4362         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4363         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4364         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4365         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4366         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4367         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4368         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4369         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4370         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4371         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4372         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4373         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4374         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4375         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4376         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4377         * sysdeps/ieee754/s_matherr.c: Likewise.
4378         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4379         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4380         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4381         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4383 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
4385         * crypt/md5.h: Remove __STDC__ conditionals.
4386         * libio/libioP.h: Likewise.
4387         * locale/programs/config.h: Likewise.
4388         * sysdeps/generic/sysdep.h: Likewise.
4389         * sysdeps/i386/asm-syntax.h: Likewise.
4390         * sysdeps/s390/asm-syntax.h: Likewise.
4391         * sysdeps/unix/sysdep.h: Likewise.
4392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4395 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
4397         * libio/libio.h: Remove __STDC__ conditionals.
4398         * malloc/obstack.h: Likewise.
4399         * math/complex.h: Likewise.
4400         * math/math.h: Likewise.
4401         * sysdeps/generic/_G_config.h: Likewise.
4402         * sysdeps/gnu/_G_config.h: Likewise.
4403         * sysdeps/mach/hurd/_G_config.h: Likewise.
4404         * sysdeps/powerpc/bits/mathdef.h: Likewise.
4405         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4406         * sysdeps/sparc/bits/mathdef.h: Likewise.
4408 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
4410         [BZ #13583]
4411         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
4412         Clean up HAS_* macros.
4413         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
4414         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
4415         possible.
4416         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
4417         HAS_AVX.
4418         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4419         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4420         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4421         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4422         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4424 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
4426         * elf/tst-unique3.cc (gets): Remove declaration.
4427         * elf/tst-unique3lib.cc (gets): Likewise.
4428         * elf/tst-unique3lib2.cc (gets): Likewise.
4429         * elf/tst-unique4.cc (gets): Likewise.
4431 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
4433         * include/stdio.h: Add C++ protection.  Add gets declarations and
4434         definitions.
4435         * debug/tst-chk1.c: Don't declare gets here.
4436         * stdio-common/tst-gets.c: Likewise.
4438 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
4440         * posix/glob: Remove directory.
4442 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
4444         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
4446 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
4448         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
4449         of the non-standard EPFNOSUPPORT.
4451 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4453         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
4454         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
4455         ANYWHERE set to 1 only on KERN_NO_SPACE error.
4457 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
4459         * wcsmbs/uchar.h: Test __STDC_VERSION__.
4461 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
4463         * nscd/aicache.c (addhstaiX): Do not cache negative results of
4464         transient errors.
4465         * nscd/grpcache.c (cache_addgr): Likewise.
4466         * nscd/hstcache.c (cache_addhst): Likewise.
4467         * nscd/initgrcache.c (addinitgroupsX): Likewise.
4468         * nscd/pwdcache.c (cache_addpw): Likewise.
4469         * nscd/servicescache.c (cache_addserv): Likewise.
4471 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
4473         * malloc/malloc.c: Various cleanups.
4474         * malloc/hooks.c: Likewise.
4476         * stdlib/Makefile (tests): Add bug-fmtmsg1.
4477         * stdlib/bug-fmtmsg1.c: New file.
4479         * stdlib/fmtmsg.c (init): Add missing unlock.
4480         Patch by Peng Haitao <penght@cn.fujitsu.com>.
4482 2012-01-12  Marek Polacek  <polacek@redhat.com>
4484         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
4485         and _GNU_SOURCE.
4487 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
4489         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
4490         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
4491         macro to ensure uniqueness of label name.
4492         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4493         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4495 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
4497         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
4499         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
4500         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4501         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4502         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
4504 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
4506         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
4508         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
4509         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4510         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4512         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
4514         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
4515         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4516         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4517         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
4519         * math/bits/math-finite.h: Add ldexp support.
4521 2012-01-10  Marek Polacek  <polacek@redhat.com>
4523         * locale/programs/localedef.h (show_archive_content): Add noreturn
4524         attribute.
4526 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
4528         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
4530 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
4532         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
4534         * io/Makefile (headers): Add bits/poll2.h.
4536 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
4538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
4539         typo #include statement.
4541 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
4543         * include/sys/cdefs.h: Define __attribute_alloc_size.
4544         * catgets/gencat.c: Add alloc_size attribute and apply consistently
4545         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
4546         * elf/pldd.c: Likewise.
4547         * iconv/iconv_charmap.c: Likewise.
4548         * iconv/iconvconfig.c: Likewise.
4549         * iconv/strtab.c: Likewise.
4550         * locale/programs/locale.c: Likewise.
4551         * locale/programs/localedef.h: Likewise.
4552         * locale/programs/simple-hash.c: Likewise.
4553         * nscd/nscd.h: Likewise.
4554         * nss/makedb.c: Likewise.
4555         * sysdeps/generic/ldconfig.h: Likewise.
4556         * locale/programs/localedef.c: Remove xmalloc prototype.
4557         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
4559 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
4561         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
4562         appropriate.
4564 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
4566         * math/Makefile (tests): Add tst-CMPLX.
4567         * math/tst-CMPLX.c: New file.
4569         * math/complex.h (CMPLXL): Fix typo.
4571         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
4572         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
4573         GLIBC_2.16.
4574         * debug/tst-chk1.c: Add poll and ppoll tests.
4575         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
4576         * include/sys/poll.h: Add hidden proto for ppoll.
4577         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
4578         * sysdeps/mach/hurd/ppoll.c: Likewise.
4579         * io/ppoll.c: Likewise.
4580         * debug/poll_chk.c: New file.
4581         * debug/ppoll_chk.c: New file.
4582         * include/bits/poll2.h: New file.
4583         * io/bits/poll2.h: New file.
4585         [BZ #1350]
4586         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
4588         * configure.in: static is always set to yes.  Remove.
4589         * config.make.in: Don't set build-static.
4590         * Makeconfig: Remove use of build-static.
4591         * dlfcn/Makefile: Likewise.
4592         * elf/Makefile: Likewise.
4593         * math/Makefile: Likewise.
4594         * misc/Makefile: Likewise.
4595         * nptl/Makefile: Likewise.
4596         * sysdeps/mach/hurd/Makefile: Likewise.
4598         * configure.in: PWD_P is not used anymore.
4599         * config.make.in: Remove PWD_P entry.
4601         * configure.in: Remove last remnants of RANLIB.
4602         No need to check for signed size_t anymore.
4603         Don't set libc_commonpagesize and libc_relro_required here for Alpha
4604         and IA-64.
4605         Remove __builtin_expect test because we require at least gcc 3.4.
4606         * aclocal.m4: Likewise.
4608         * wcsmbs/mbrtoc16.c: Implement using towc function.
4609         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
4610         * wcsmbs/wcsmbsload.c: Likewise.
4611         * iconv/gconv_simple.c: Likewise.
4612         * iconv/gconv_int.h: Likewise.
4613         * iconv/gconv_builtin.h: Likewise.
4614         * iconv/iconv_prog.c: Remove CHAR16 handling.
4616         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
4618         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
4620         * configure.in: Remove --with-elf and --enable-bounded options.
4621         Dont set base_machine for ia64.  More non-ELF conditions removed.
4622         Remove testing and setting of leading underscore information.
4623         * config.make.in (build-bounded): Set to no.
4624         * config.h.in: Remove NO_UNDERSCORES entry.
4625         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
4626         them.
4627         * csu/start.c: Remove !NO_UNDERSCORE code.
4628         * locale/localeinfo.h: Likewise.
4629         * sysdeps/generic/machine-gmon.h: Likewise.
4630         * sysdeps/generic/sysdep.h: Likewise.
4631         * sysdeps/i386/sysdep.h: Likewise.
4632         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4633         * sysdeps/mach/sysdep.h: Likewise.
4634         * sysdeps/s390/s390-32/sysdep.h: Likewise.
4635         * sysdeps/s390/s390-64/sysdep.h: Likewise.
4636         * sysdeps/sh/sysdep.h: Likewise.
4637         * sysdeps/sparc/sparc32/alloca.S: Likewise.
4638         * sysdeps/unix/i386/sysdep.S: Likewise.
4639         * sysdeps/unix/sparc/start.c: Likewise.
4640         * sysdeps/unix/sparc/sysdep.S: Likewise.
4641         * sysdeps/unix/sparc/sysdep.h: Likewise.
4642         * sysdeps/unix/start.c: Likewise.
4643         * sysdeps/unix/x86_64/sysdep.S: Likewise.
4644         * sysdeps/x86_64/sysdep.h: Likewise.
4646 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
4648         [BZ #13553]
4649         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
4650         for non-gcc.
4651         * argp/argp-fmtstream.h: Use const instead __const.
4652         * argp/argp.h: Likewise.
4653         * assert/assert.h: Likewise.
4654         * bits/fenv.h: Likewise.
4655         * bits/sched.h: Likewise.
4656         * bits/sigset.h: Likewise.
4657         * bits/sigthread.h: Likewise.
4658         * catgets/nl_types.h: Likewise.
4659         * conform/data/pthread.h-data: Likewise.
4660         * crypt/crypt-private.h: Likewise.
4661         * crypt/crypt.h: Likewise.
4662         * crypt/crypt_util.c: Likewise.
4663         * ctype/ctype.h: Likewise.
4664         * debug/execinfo.h: Likewise.
4665         * debug/mbsnrtowcs_chk.c: Likewise.
4666         * debug/mbsrtowcs_chk.c: Likewise.
4667         * debug/wcsnrtombs_chk.c: Likewise.
4668         * debug/wcsrtombs_chk.c: Likewise.
4669         * debug/wcstombs_chk.c: Likewise.
4670         * dirent/dirent.h: Likewise.
4671         * dlfcn/dlfcn.h: Likewise.
4672         * elf/neededtest4.c: Likewise.
4673         * grp/grp.h: Likewise.
4674         * gshadow/gshadow.h: Likewise.
4675         * iconv/gconv.h: Likewise.
4676         * iconv/gconv_int.h: Likewise.
4677         * iconv/gconv_simple.c: Likewise.
4678         * iconv/iconv.h: Likewise.
4679         * iconv/loop.c: Likewise.
4680         * iconv/skeleton.c: Likewise.
4681         * include/aio.h: Likewise.
4682         * include/aliases.h: Likewise.
4683         * include/argz.h: Likewise.
4684         * include/arpa/inet.h: Likewise.
4685         * include/assert.h: Likewise.
4686         * include/dirent.h: Likewise.
4687         * include/dlfcn.h: Likewise.
4688         * include/execinfo.h: Likewise.
4689         * include/fcntl.h: Likewise.
4690         * include/fenv.h: Likewise.
4691         * include/glob.h: Likewise.
4692         * include/grp.h: Likewise.
4693         * include/libintl.h: Likewise.
4694         * include/mntent.h: Likewise.
4695         * include/netdb.h: Likewise.
4696         * include/pwd.h: Likewise.
4697         * include/rpc/netdb.h: Likewise.
4698         * include/sched.h: Likewise.
4699         * include/search.h: Likewise.
4700         * include/shadow.h: Likewise.
4701         * include/signal.h: Likewise.
4702         * include/stdio.h: Likewise.
4703         * include/stdlib.h: Likewise.
4704         * include/string.h: Likewise.
4705         * include/sys/socket.h: Likewise.
4706         * include/sys/stat.h: Likewise.
4707         * include/sys/statfs.h: Likewise.
4708         * include/sys/statvfs.h: Likewise.
4709         * include/sys/syslog.h: Likewise.
4710         * include/sys/time.h: Likewise.
4711         * include/sys/uio.h: Likewise.
4712         * include/time.h: Likewise.
4713         * include/unistd.h: Likewise.
4714         * include/utmp.h: Likewise.
4715         * include/wchar.h: Likewise.
4716         * include/wctype.h: Likewise.
4717         * inet/aliases.h: Likewise.
4718         * inet/arpa/inet.h: Likewise.
4719         * inet/netinet/ether.h: Likewise.
4720         * inet/netinet/in.h: Likewise.
4721         * intl/libintl.h: Likewise.
4722         * io/bits/fcntl2.h: Likewise.
4723         * io/fcntl.h: Likewise.
4724         * io/ftw.h: Likewise.
4725         * io/sys/poll.h: Likewise.
4726         * io/sys/stat.h: Likewise.
4727         * io/sys/statfs.h: Likewise.
4728         * io/sys/statvfs.h: Likewise.
4729         * io/utime.h: Likewise.
4730         * libio/bits/stdio.h: Likewise.
4731         * libio/bits/stdio2.h: Likewise.
4732         * libio/libio.h: Likewise.
4733         * libio/libioP.h: Likewise.
4734         * libio/stdio.h: Likewise.
4735         * locale/lc-ctype.c: Likewise.
4736         * locale/locale.h: Likewise.
4737         * login/utmp.h: Likewise.
4738         * malloc/arena.c: Likewise.
4739         * malloc/malloc.c: Likewise.
4740         * malloc/malloc.h: Likewise.
4741         * malloc/mcheck.c: Likewise.
4742         * malloc/mtrace.c: Likewise.
4743         * math/bits/mathcalls.h: Likewise.
4744         * math/fenv.h: Likewise.
4745         * math/math_private.h: Likewise.
4746         * misc/bits/error.h: Likewise.
4747         * misc/bits/syslog.h: Likewise.
4748         * misc/err.h: Likewise.
4749         * misc/error.h: Likewise.
4750         * misc/fstab.h: Likewise.
4751         * misc/mntent.h: Likewise.
4752         * misc/regexp.h: Likewise.
4753         * misc/search.h: Likewise.
4754         * misc/sgtty.h: Likewise.
4755         * misc/sys/mman.h: Likewise.
4756         * misc/sys/syslog.h: Likewise.
4757         * misc/sys/uio.h: Likewise.
4758         * misc/sys/xattr.h: Likewise.
4759         * misc/ttyent.h: Likewise.
4760         * nis/rpcsvc/ypclnt.h: Likewise.
4761         * nss/nss.h: Likewise.
4762         * posix/bits/unistd.h: Likewise.
4763         * posix/fnmatch.h: Likewise.
4764         * posix/glob.h: Likewise.
4765         * posix/sched.h: Likewise.
4766         * posix/spawn.h: Likewise.
4767         * posix/sys/wait.h: Likewise.
4768         * posix/unistd.h: Likewise.
4769         * posix/wordexp.h: Likewise.
4770         * pwd/pwd.h: Likewise.
4771         * resolv/netdb.h: Likewise.
4772         * resource/sys/resource.h: Likewise.
4773         * rt/aio.h: Likewise.
4774         * rt/bits/mqueue2.h: Likewise.
4775         * rt/mqueue.h: Likewise.
4776         * shadow/shadow.h: Likewise.
4777         * signal/signal.h: Likewise.
4778         * socket/send.c: Likewise.
4779         * socket/sendto.c: Likewise.
4780         * socket/sys/socket.h: Likewise.
4781         * stdio-common/printf.h: Likewise.
4782         * stdlib/bits/stdlib.h: Likewise.
4783         * stdlib/fmtmsg.h: Likewise.
4784         * stdlib/monetary.h: Likewise.
4785         * stdlib/stdlib.h: Likewise.
4786         * stdlib/ucontext.h: Likewise.
4787         * streams/stropts.h: Likewise.
4788         * string/argz.h: Likewise.
4789         * string/bits/string2.h: Likewise.
4790         * string/string.h: Likewise.
4791         * string/strings.h: Likewise.
4792         * sunrpc/rpc/auth.h: Likewise.
4793         * sunrpc/rpc/auth_des.h: Likewise.
4794         * sunrpc/rpc/clnt.h: Likewise.
4795         * sunrpc/rpc/netdb.h: Likewise.
4796         * sunrpc/rpc/pmap_clnt.h: Likewise.
4797         * sunrpc/rpc/xdr.h: Likewise.
4798         * sysdeps/generic/inttypes.h: Likewise.
4799         * sysdeps/generic/net/if.h: Likewise.
4800         * sysdeps/generic/sys/swap.h: Likewise.
4801         * sysdeps/gnu/net/if.h: Likewise.
4802         * sysdeps/gnu/utmpx.h: Likewise.
4803         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4804         * sysdeps/i386/i486/bits/string.h: Likewise.
4805         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4806         * sysdeps/s390/bits/string.h: Likewise.
4807         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4808         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4809         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4810         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4811         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4812         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4813         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4814         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4815         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4816         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4817         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4818         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4819         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4820         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4821         * sysdeps/unix/sysv/linux/readv.c: Likewise.
4822         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4823         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4824         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4825         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4826         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4827         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4828         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4829         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4830         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4831         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4832         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4833         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4834         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4835         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4836         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4837         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4838         * sysvipc/sys/ipc.h: Likewise.
4839         * sysvipc/sys/msg.h: Likewise.
4840         * sysvipc/sys/sem.h: Likewise.
4841         * sysvipc/sys/shm.h: Likewise.
4842         * termios/termios.h: Likewise.
4843         * time/sys/time.h: Likewise.
4844         * time/time.h: Likewise.
4845         * wcsmbs/bits/wchar2.h: Likewise.
4846         * wcsmbs/uchar.h: Likewise.
4847         * wcsmbs/wchar.h: Likewise.
4848         * wctype/wctype.h: Likewise.
4850         [BZ #13551]
4851         * Makeconfig: Remove all but ELF support including AIX support.
4852         * Makerules: Likewise.
4853         * config.h.in: Likewise.
4854         * config.make.in: Likewise.
4855         * configure: Likewise.
4856         * configure.in: Likewise.
4857         * csu/Makefile: Likewise.
4858         * csu/version.c: Likewise.
4859         * debug/Makefile: Likewise.
4860         * dlfcn/Makefile: Likewise.
4861         * elf/Makefile: Likewise.
4862         * extra-lib.mk: Likewise.
4863         * iconv/Makefile: Likewise.
4864         * include/libc-symbols.h: Likewise.
4865         * include/shlib-compat.h: Likewise.
4866         * resolv/Makefile: Likewise.
4867         * resolv/res_libc.c: Likewise.
4868         * rt/Makefile: Likewise.
4869         * sysdeps/i386/asm-syntax.h: Likewise.
4870         * sysdeps/i386/sysdep.h: Likewise.
4871         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4872         * sysdeps/mach/sysdep.h: Likewise.
4873         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4874         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4875         * sysdeps/s390/asm-syntax.h: Likewise.
4876         * sysdeps/s390/s390-32/sysdep.h: Likewise.
4877         * sysdeps/s390/s390-64/sysdep.h: Likewise.
4878         * sysdeps/sh/sysdep.h: Likewise.
4879         * sysdeps/unix/sparc/sysdep.h: Likewise.
4880         * sysdeps/wordsize-32/divdi3.c: Likewise.
4881         * sysdeps/x86_64/sysdep.h: Likewise.
4883         * argp/Versions: Remove _argp_unlock_xxx.
4885         [BZ #13559]
4886         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
4887         * abilist/libBrokenLocale.abilist: Likewise.
4888         * abilist/libanl.abilist: Likewise.
4889         * abilist/libc.abilist: Likewise.
4890         * abilist/libcrypt.abilist: Likewise.
4891         * abilist/libdl.abilist: Likewise.
4892         * abilist/libm.abilist: Likewise.
4893         * abilist/libnsl.abilist: Likewise.
4894         * abilist/libpthread.abilist: Likewise.
4895         * abilist/libresolv.abilist: Likewise.
4896         * abilist/librt.abilist: Likewise.
4897         * abilist/libthread_db.abilist: Likewise.
4898         * abilist/libutil.abilist: Likewise.
4899         * abilist/libnss_db.abilist: New file.
4901         * scripts/abilist.awk: Add support for indirect functions.
4903         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4905         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4907         * shlib-versions: Remove entries for ports architectures.
4909         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
4910         files in ports.
4911         * elf/stackguard-macros.h: Remove support for IA-64.
4912         * elf/tst-auditmod1.c: Likewise.
4913         * sysdeps/generic/ldsodefs.h: Likewise.
4915         * sysdeps/unix/sysv/linux/configure.in: Ports should define
4916         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
4917         configure files.
4919         [BZ #13552]
4920         * configure.in: Remove --enable-omitfp support.
4921         * FAQ.in: Adjust.
4922         * config.make.in: Likewise.
4923         * Makeconfig: Likewise.
4924         * manual/install.texi: Likewise.
4926         In case anyone cares, the IA-64 architecture could move to ports.
4927         * sysdeps/ia64/*: Removed.
4928         * sysdeps/unix/sysv/linux/ia64/*: Removed.
4929         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
4931         [BZ #13555]
4932         * configure.in: Remove entries for unsupported architectures.
4934         [BZ #13533]
4935         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
4936         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
4937         routines.
4938         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
4939         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
4940         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
4941         fall back to using wcrtomb.
4942         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
4943         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
4944         renaming.
4945         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
4946         * wcsmbs/tst-c16c32-1.c: New file.
4948         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
4949         local variable.
4951         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
4953         * elf/tst-unique3.cc: Add explicit declaration of gets.
4954         * elf/tst-unique3lib.cc: Likewise.
4955         * elf/tst-unique3lib2.cc: Likewise.
4956         * elf/tst-unique4.cc: Likewise.
4958         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
4960 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
4962         [BZ #13566]
4963         * assert/assert.h (static_assert): Don't define for C++.
4964         * libio/stdio.h (gets): Do declare for C++ <= C++11.
4965         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
4967 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
4969         * iconv/loop.c (single loop): Fix assertion in storing of
4970         remaining bytes.
4972         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
4974 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
4976         * posix/getconf.c: Update copyright year.
4977         * nss/getent.c: Likewise.
4978         * nss/makedb.c: Likewise.
4979         * iconv/iconvconfig.c: Likewise.
4980         * iconv/iconv_prog.c: Likewise.
4981         * elf/ldconfig.c: Likewise.
4982         * elf/pldd.c: Likewise.
4983         * elf/sotruss.ksh: Likewise.
4984         * catgets/gencat.c: Likewise.
4985         * csu/version.c: Likewise.
4986         * elf/ldd.bash.in: Likewise.
4987         * elf/sprof.c (print_version): Likewise.
4988         * locale/programs/locale.c: Likewise.
4989         * locale/programs/localedef.c: Likewise.
4990         * login/programs/pt_chown.c: Likewise.
4991         * nscd/nscd.c (print_version): Likewise.
4992         * debug/xtrace.sh: Likewise.
4993         * malloc/memusage.sh: Likewise.
4994         * malloc/mtrace.pl: Likewise.
4995         * debug/catchsegv.sh: Likewise.
4997 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
4999         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
5000         pure attribute.
5002 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
5004         [BZ #13533]
5005         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
5006         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
5007         transformations.
5008         * iconv/gconv_int.h: Likewise.
5009         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
5010         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
5011         from libc for GLIBC_2.16.
5012         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
5013         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
5014         * wcsmbs/uchar.h: Really define mbstate_t.
5015         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
5016         * wcsmbs/c16rtomb.c: New file.
5017         * wcsmbs/mbrtoc16.c: New file.
5018         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
5019         for C/POSIX locale.
5020         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
5021         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
5023         * wcsmbs/wchar.h: Add missing __restrict.
5025 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
5027         [BZ #13532]
5028         * time/Makefile (routines): Add timespec_get.
5029         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
5030         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
5031         timespec for ISO C11.
5032         * time/timespec_get.c: New file.
5033         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
5034         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
5036         [BZ #13531]
5037         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
5038         * stdlib/stdlib.h: Declare aligned_alloc.
5039         * Versions.def: Add GLIBC_2.16 for libc.
5040         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
5042         [BZ 13527]
5043         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
5044         ISO C11.
5046         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
5047         code.
5049         [BZ #13528]
5050         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
5052         [BZ #13529]
5053         * assert/assert.h (static_assert): Define.
5055         * version.h: Update for 2.16 development version.
5057         [BZ #13526]
5058         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
5059         _ISOC11_SOURCE.
5061         * version.h (RELEASE): Bump for 2.15 release.
5062         * include/features.h (__GLIBC_MINOR__): Bump to 15.
5064         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
5065         Patch by Marek Polacek <mpolacek@redhat.com>.
5067         * bits/byteswap.h: Protect long long constants with __extension__.
5068         * sysdeps/i386/bits/byteswap.h: Likewise.
5069         * sysdeps/ia64/bits/byteswap.h: Likewise.
5070         * sysdeps/s390/bits/byteswap.h: Likewise.
5071         * sysdeps/x86_64/bits/byteswap.h: Likewise.
5073 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5075         [BZ #13540]
5076         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
5077         destination buffer.
5078         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5080 2011-12-23  Marek Polacek  <polacek@redhat.com>
5082         * elf/dl-addr.c (determine_info): Add inline keyword.
5083         * elf/tst-auditmod4b.c (check_avx): Likewise.
5084         * elf/tst-auditmod6b.c (check_avx): Likewise.
5085         * elf/tst-auditmod6c.c (check_avx): Likewise.
5086         * elf/tst-auditmod7b.c (check_avx): Likewise.
5088 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
5090         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
5091         !__SSE_MATH__.
5093 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5095         [BZ #13540]
5096         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
5097         processing for last bytes.
5099 2011-08-06  Bruno Haible  <bruno@clisp.org>
5101         [BZ #13061]
5102         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
5103         U+0385, not to U+1FEE.
5105         [BZ #13062]
5106         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
5107         entry for U+00A5 U+0301.
5109 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
5111         [BZ #13166]
5112         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
5113         buffer for the output is too small.
5115         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
5116         optimization.
5118         [BZ #13185]
5119         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
5120         SSE flags if possible.
5122 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5124         [BZ #13540]
5125         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
5126         processing for last bytes.
5128 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
5130         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
5131         (syscall-list-default-options, syscall-list-default-condition)
5132         (syscall-list-includes): Define.
5133         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
5134         list of ABIs and options and #if conditions for each ABI.  Do not
5135         handle common syscalls between ABIs specially.
5136         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
5137         Remove.
5138         (syscall-list-variants, syscall-list-32bit-options)
5139         (syscall-list-32bit-condition, syscall-list-64bit-options)
5140         (syscall-list-64bit-condition): Define.
5141         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
5142         (syscall-list-variants, syscall-list-32bit-options)
5143         (syscall-list-32bit-condition, syscall-list-64bit-options)
5144         (syscall-list-64bit-condition): Define.
5145         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
5146         Remove.
5147         (syscall-list-variants, syscall-list-32bit-options)
5148         (syscall-list-32bit-condition, syscall-list-64bit-options)
5149         (syscall-list-64bit-condition): Define.
5150         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
5151         Remove.
5152         (syscall-list-variants, syscall-list-32bit-options)
5153         (syscall-list-32bit-condition, syscall-list-64bit-options)
5154         (syscall-list-64bit-condition): Define.
5156 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
5158         * locale/iso-639.def: Add brx entry.
5160         [BZ #13328]
5161         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
5162         Proposed by Mariusz_Cukr <marcukr@op.pl>.
5164         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
5165         __feraiseexcept_renamed.
5167 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
5169         [BZ #13538]
5170         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
5171         EPOLLET with unsigned values.
5172         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5173         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5175         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
5176         to large cancellation.
5177         * math/s_cacoshf.c: Likewise.
5178         * math/s_cacoshl.c: Likewise.
5180 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
5182         [BZ #13305]
5183         [BZ #12786]
5184         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
5185         * math/s_cacoshf.c: Likewise.
5186         * math/s_cacoshl.c: Likewise.
5188 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
5190         [BZ #13439]
5191         * iconv/gconv.h: Define __GCONV_SWAP.
5192         * iconvdata/unicode.c: The swap bit must be stored in __flags.
5193         * iconvdata/utf-16.c: Likewise.
5194         * iconvdata/utf-32.c: Likewise.
5196 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
5198         [BZ #13524]
5199         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
5200         numerator after shifting it by one limb.
5202 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
5204         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
5205         under [__USE_EXTERN_INLINES].
5207 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
5209         [BZ #13446]
5210         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
5212 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5214         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
5215         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
5216         optimized code.
5217         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
5218         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
5219         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
5220         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
5221         for strncasecmp/strncasecmp_l compilation.
5222         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
5223         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
5225 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
5227         [BZ #13484]
5228         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
5229         of __asm__.
5231 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
5233         [BZ #13506]
5234         * time/tzfile.c (__tzfile_read): Check values from file header.
5236 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
5238         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
5239         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
5240         * powerpc/powerpc32/dl-start.S: Likewise.
5241         * powerpc/powerpc32/elf/start.S: Likewise.
5242         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5243         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
5244         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
5245         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
5246         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5247         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
5248         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
5249         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5250         * powerpc/powerpc32/fpu/s_round.S: Likewise.
5251         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5252         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5253         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5254         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5255         * powerpc/powerpc32/memset.S: Likewise.
5256         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5257         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5258         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5259         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5260         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5261         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5262         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5263         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5264         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
5265         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
5266         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
5267         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5268         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5270 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5272         * math/libm-test.inc: Added more nearbyint tests.
5273         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
5274         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
5275         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
5276         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
5278 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
5280         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
5281         FD_CLOEXEC.
5283 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5285         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
5286         Add wcscpy-ssse3 wcscpy-c.
5287         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
5288         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
5289         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
5290         * sysdeps/x86_64/wcschr.S: New file.
5291         * sysdeps/x86_64/wcsrchr.S: New file.
5292         * string/test-strcmp.c: Remove checking of wcscmp function for
5293         wrong alignments.
5294         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
5295         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
5296         wcsrchr-sse2 wcsrchr-c.
5297         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
5298         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
5299         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
5300         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
5301         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
5302         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
5303         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
5304         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
5305         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
5306         * wcsmbc/wcschr.c (WCSCHR): New macro.
5308 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5310         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
5311         * wcsmbs/test-wcsrchr.c: New file.
5312         * string/test-strrchr.c: Add wcsrchr support.
5313         (WIDE): New macro.
5314         * wcsmbs/test-wcscpy.c: New file.
5315         * string/test-strcpy.c: Add wcscpy support.
5316         (WIDE): New macro.
5318 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
5320         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
5321         the inner loop.
5323 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
5325         [BZ #13472]
5326         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
5328 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
5330         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
5331         Minor optimizations.
5333         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
5334         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
5335         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5337 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
5339         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
5340         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
5341         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
5342         for gcc to avoid warnings.
5343         * inet/Makefile (tests): Add tst-checks.
5344         * inet/tst-checks.c: New file.
5346         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
5347         warning.
5349         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
5350         __wmemcmp_sse2.
5352         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
5353         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
5355         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
5357 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
5359         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
5360         problem.
5362         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
5364 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
5366         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
5367         conditional on GCC version.
5368         (__arch_compare_and_exchange_val_8_acq)
5369         (__arch_compare_and_exchange_val_16_acq)
5370         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
5371         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
5372         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
5374 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
5376         * sysdeps/sh/backtrace.c: New file.
5378 2011-12-02  Andreas Schwab  <schwab@redhat.com>
5380         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
5381         parenthesis.
5383 2011-12-01  Andreas Schwab  <schwab@redhat.com>
5385         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
5386         falling back to utime.
5388 2011-11-30  Andreas Schwab  <schwab@redhat.com>
5390         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
5391         expectations for float.
5393 2011-11-29  Andreas Schwab  <schwab@redhat.com>
5395         * locale/weight.h (findidx): Add parameter len.
5396         * locale/weightwc.h (findidx): Likewise.
5397         * posix/fnmatch_loop.c (FCT): Adjust caller.
5398         * posix/regcomp.c (build_equiv_class): Likewise.
5399         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
5400         * posix/regexec.c (check_node_accept_bytes): Likewise.
5401         * string/strcoll_l.c (STRCOLL): Likewise.
5402         * string/strxfrm_l.c (STRXFRM): Likewise.
5404 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
5406         * Makefile.in: Remove CVSOPT handling.
5407         * configure.in: Remove use of AC_REVISION.
5408         * iconvdata/Makefile (distribute): No need to filter out CVS.
5409         * scripts/list-sources.sh: Remove CVS, subversion and monotone
5410         handling.
5412 2011-11-16  Andreas Schwab  <schwab@redhat.com>
5414         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
5415         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
5416         [USE_AS_STRNCASECMP_L]: Likewise.
5417         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
5418         NO_TLS_DIRECT_SEG_REFS.
5419         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
5420         Fix argument offsets for non-PIC.
5421         [USE_AS_STRNCASECMP_L]: Likewise.
5422         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
5423         NO_TLS_DIRECT_SEG_REFS.
5425 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
5427         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
5428         O_CLOEXEC.
5429         * locale/loadlocale.c (_nl_load_locale): Likewise.
5431 2011-11-15  Andreas Schwab  <schwab@redhat.com>
5433         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
5434         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
5435         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
5436         (SYSCALL_GETTIME): Set errno on error.
5438         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
5439         count references to noai6ai_cached.
5441 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
5443         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
5445         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
5446         FD_CLOEXEC for /proc/self/maps.
5448         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
5449         FD_CLOEXEC for /proc/meminfo.
5451         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
5452         gai.conf.
5454         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
5455         FD_CLOEXEC for given file.
5457         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
5459         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
5460         FD_CLOEXEC for /etc/hosts.
5461         (_gethtent): Likewise.
5463         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
5465         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
5466         cancellation and set FD_CLOEXEC for /etc/netgroup.
5468         * nss/nss_files/files-key.c (search): Don't allow cancellation when
5469         reading /etc/publickey.
5471         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
5472         allow cancellation when reading /etc/group.
5474         * nss/nss_files/files-alias.c (internal_setent): Don't allow
5475         cancellation.
5476         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
5478         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
5479         when using data file.
5481         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
5483         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
5484         (write_nis_obj): Use "c" and "e" in fopen.
5486         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
5488         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
5490         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
5492         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
5494         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
5495         locale.alias.
5497         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
5499         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
5501         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
5503         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
5504         file parsing and set FD_CLOEXEC.
5506 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
5508         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
5510 2011-11-14  Andreas Schwab  <schwab@redhat.com>
5512         * malloc/arena.c (arena_get2): Don't call reused_arena when
5513         _int_new_arena failed.
5515 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
5517         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
5518         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
5519         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
5520         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5521         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5522         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
5523         to compile strcasecmp and strncasecmp.
5524         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
5525         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
5527         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
5529 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
5531         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
5532         locale-defines.sym to gen-as-const-headers.
5533         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
5534         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
5535         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
5536         to compile strcasecmp and strncasecmp.
5537         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
5538         strcasecmp_l and strncasecmp_l.
5539         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
5540         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
5541         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
5542         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
5543         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
5544         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
5545         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
5546         * sysdeps/i386/i686/multiarch/strncase.S: New file.
5547         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
5548         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
5549         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
5551 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
5553         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
5554         result of SYSDEP_GETTIME_CPU to retval.
5555         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
5556         parameter list to macro.  Remove trailing semicolon.  Adjust users.
5558         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
5559         variable.
5561         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
5562         mantissa words.
5563         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5565         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
5566         from unused variable.
5568         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
5569         DWARF definitions.
5570         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
5571         for assembling.
5573         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
5574         over namespaces.
5576         * sunrpc/rpc_prot.c (rejected): Fix case value.
5578         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
5579         unsigned long long int to avoid warnings in shift.
5581         * posix/regex_internal.c (re_string_reconstruct): Actually use result
5582         of use of trans.
5583         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
5584         variable tmp.
5586         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
5587         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5588         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5590         * nis/nis_table.c (nis_list): Use variable of correct type for
5591         result of __follow_path call.
5593 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5595         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
5596         of math functions ceil, trunc, floor, round, and sqrt, when
5597         avaliable on the platform.
5598         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
5599         name clash.
5600         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5601         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5602         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5604 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
5606         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
5607         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5609 2011-11-11  Roland McGrath  <roland@hack.frob.com>
5611         * include/unistd.h: Fix __readlink return type.
5612         Reported by Chris Metcalf <cmetcalf@tilera.com>.
5614 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
5616         * stdlib/ucontext.h: Undo last change for makecontext.
5618 2011-11-11  Andreas Schwab  <schwab@redhat.com>
5620         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
5622         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
5623         * setjmp/setjmp.h: Mark functions as non-leaf.
5624         * setjmp/bits/setjmp2.h: Likewise.
5625         * stdlib/ucontext.h: Likewise.
5627 2011-11-10  Andreas Schwab  <schwab@redhat.com>
5629         * malloc/arena.c (_int_new_arena): Don't increment narenas.
5630         (reused_arena): Don't check arena limit.
5631         (arena_get2): Atomically check arena limit.
5633 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
5635         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
5636         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
5638         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
5639         instructions.
5641 2011-11-07  Andreas Schwab  <schwab@redhat.com>
5643         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
5644         handler when locking.
5646         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5647         Fix size of allocated buffer.
5649 2011-11-04  Andreas Schwab  <schwab@redhat.com>
5651         [BZ #10103]
5652         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
5653         declarations for long double functions.
5654         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5656         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5658 2011-11-03  Andreas Schwab  <schwab@redhat.com>
5660         * nscd/nscd.c (main): Don't start AVC thread until credentials are
5661         installed.
5663         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5664         is disabled.
5666 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5668         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5670 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
5672         * include/alloca.h (stackinfo_alloca_round): Define.
5673         (extend_alloca): Use it.
5674         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5675         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5676         here.
5678         * scripts/check-local-headers.sh: Ignore libaudit.h.
5680         * nscd/Makefile (extra-objs): Make recursively expanded.
5682 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
5684         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5685         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5687         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5688         * posix/tst-rfc3484-2.c: Likewise.
5689         * posix/tst-rfc3484-3.c: Likewise.
5691         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5692         process_vm_writev.
5693         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5694         process_vm_writev.
5695         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5696         process_vm_writev from libc using GLIBC_2.15 version.
5698         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5700 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
5702         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5703         stack usage.
5705 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
5707         [BZ #13367]
5708         * nss/getent.c (initgroups_keys): Show error message in case no group
5709         names are given.
5711         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5712         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5713         __bump_nl_timestamp.
5714         * nscd/connections (nscd_init): When host database is served open
5715         netlink socket and request notification about configuration changes.
5716         (main_loop_poll): Track netlink file descriptor and bump timestamp
5717         in case data becomes available.
5718         (main_loop_epoll): Likewise.
5719         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5720         (database_pers_head): Add extra_data fileds.
5721         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5722         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5723         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5724         Adjust caller.
5725         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5726         in6ai data, call __free_in6ai.
5727         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5728         Add -DHAVE_NETLINK.
5729         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
5730         interface information.  Reuse previous data if netlink timestamp
5731         is not changed.
5732         (__bump_nl_timestamp): New function.
5733         (__free_in6ai): New function.
5735 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
5737         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5738         close_not_cancel_no_status here.
5739         (__check_pf): Reorganize code a bit to not call close twice if OOM.
5741 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
5743         [BZ #13276]
5744         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5745         return value.
5747         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
5748         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5749         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5751 2011-07-03  Andreas Jaeger  <aj@suse.de>
5753         [BZ #10709]
5754         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5755         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5756         * math/libm-test.inc (sin_test): Add test case.
5758 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
5760         [BZ #13337]
5761         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5762         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5764         * elf/chroot_canon.c (chroot_canon): Cleanups.
5766         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5768         [BZ #13335]
5769         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5770         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5772         * string/test-strchr.c: Make usable for strchrnul testing.
5773         * string/test-strchrnul.c: New file.
5774         * string/Makefile (strop-tests): Add strchrnul.
5776         * po/it.po: Update from translation team.
5777         * po/es.po: Likewise.
5779 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
5781         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5782         the three constants needed as parameters.  Drop the others.
5783         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5784         __m128i_strloadu_tolower.
5785         Create and initialize variable zero and use it in all the places
5786         where _mm_setzero_si128 was used.
5788         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5789         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5790         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5791         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5792         anymore.
5793         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5794         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5795         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5796         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5797         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5798         __mpranred, __mptan.
5799         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5800         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5801         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5802         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5803         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5804         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5805         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5806         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5807         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5809 2011-10-28  Andreas Schwab  <schwab@redhat.com>
5811         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5812         redefine if SHARED.
5813         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5815         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5816         wide char related routines to wcsmbs subdir.
5818 2011-10-27  Andreas Schwab  <schwab@redhat.com>
5820         [BZ #13344]
5821         * misc/sys/cdefs.h (__THROWNL): Define.
5822         * posix/unistd.h: Use __THREADNL instead of __THREAD
5823         for memory synchronization functions.
5825 2011-10-26  Roland McGrath  <roland@hack.frob.com>
5827         [BZ #13349]
5828         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5829         doesn't exist.
5830         * manual/stdio.texi (Obstack Streams): Node removed.
5832 2011-10-26  Andreas Schwab  <schwab@redhat.com>
5834         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5835         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5836         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5838         * math/math_private.h (math_force_eval): Allow non-addressable
5839         arguments.
5840         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5842 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
5844         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5845         file is not needed.
5847         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5848         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5849         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5850         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5851         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5852         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5853         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5854         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5855         Add AVX variants.
5856         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5857         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5858         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5859         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5860         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5861         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5862         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5863         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5864         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5865         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5866         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5867         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5868         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5869         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5870         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5871         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5872         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5873         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5874         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5876         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5877         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
5879         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5880         place.  Use VEX encoding when compiling for AVX.
5882 2011-10-25  Andreas Schwab  <schwab@redhat.com>
5884         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5885         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5887         * string/test-strchr.c (do_test): Don't generate NUL bytes.
5889 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
5891         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
5892         useless if() expression.
5893         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5894         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5895         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5896         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5897         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5898         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5899         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5900         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5901         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5902         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5903         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5904         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5905         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5906         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5907         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5908         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5909         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5910         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5911         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5913         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5915 2011-10-25  Andreas Schwab  <schwab@redhat.com>
5917         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
5918         condition.
5919         * elf/dl-fini.c (_dl_sort_fini): Likewise.
5921 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
5923         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
5924         .text section.  Avoid duplicate constants.
5925         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5926         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5927         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5928         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5929         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5930         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5931         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5932         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5933         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5934         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
5935         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5936         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5937         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5938         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5939         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5940         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5941         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5942         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5943         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5944         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5945         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5946         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5947         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5948         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
5949         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
5950         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
5951         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
5952         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
5953         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
5954         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
5955         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
5956         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
5957         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5958         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
5959         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
5960         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
5961         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
5962         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
5963         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
5964         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
5965         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
5966         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
5967         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
5968         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
5969         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
5971 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
5973         * sysdeps/x86_64/dla.h: Move to ...
5974         * sysdeps/x86_64/fpu/dla.h: ...here.
5975         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
5976         situations.  Use __builtin_fma only for gcc 4.6 and up.
5978         * config.make.in: Add have-mfma4 entry.
5979         * configure.in: Substitute libc_cv_cc_fma4.
5980         * math/Makefile (dbl-only-routines): Add sincostab.
5981         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
5982         Use __sincostab not sincos.
5983         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
5984         name is a macro.
5985         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5986         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5987         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5988         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
5989         using __copysign.
5990         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
5991         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
5992         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
5993         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
5994         and __inv.
5995         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
5996         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
5997         __copysign.
5998         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
5999         define aliases when function name is a macro.
6000         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
6001         sysdeps/ieee754/dbl-64/sincos.tbl.
6002         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
6003         fma4-enabled routines.
6004         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
6005         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
6006         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
6007         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
6008         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
6009         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
6010         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
6011         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
6012         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
6013         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
6014         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
6015         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
6016         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
6017         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
6018         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
6019         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
6020         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
6021         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
6022         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
6023         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
6024         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
6025         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
6026         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
6027         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
6028         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
6029         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
6030         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
6031         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
6032         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
6033         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
6035         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
6036         rename.
6037         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6038         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6039         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6040         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6041         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6042         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6043         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6044         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6046 2011-10-24  Andreas Schwab  <schwab@redhat.com>
6048         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
6050 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
6052         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
6054         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
6055         prediction.
6056         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
6058         * string/strnlen.c: Don't define STRNLEN, reverse logic.
6059         Remove unused variable magic_bits.
6060         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
6062         * string/strnlen.c: Define and use STRNLEN macro.
6063         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
6064         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
6065         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
6066         * wcsmbs/wcslen.c: Define and use WCSLEN.
6067         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
6068         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
6069         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
6070         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
6071         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
6072         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
6073         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6075 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6077         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6078         strnlen-sse2-no-bsf.
6079         Rename strlen-no-bsf to strlen-sse2-no-bsf.
6080         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
6081         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
6082         Add strnlen support.
6083         (USE_AS_STRNLEN): New macro.
6084         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
6085         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
6086         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
6087         * sysdeps/x86_64/wcslen.S: New file.
6089 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
6091         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6092         XMM-moves are used for copying on small sizes.
6094 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6096         * wcsmbs/Makefile (strop-tests): Add wcschr.
6097         * wcsmbs/test-wcschr.c: New file.
6098         * string/test-strchr.c: Update.
6099         Add wcschr support.
6100         (WIDE): New macro.
6102 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6104         * wcsmbs/Makefile (strop-tests): Add wcslen.
6105         * wcsmbs/test-wcslen.c: New file.
6106         * string/test-strlen.c: Update.
6107         Add wcslen support.
6108         (WIDE): New macro.
6110 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
6112         * po/it.po: Update from translation team.
6114 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6116         * sysdeps/x86_64/wcscmp.S: Update.
6117         Fix wrong comparison semantics.
6118         wcscmp shall use signed comparison not unsigned.
6119         Don't use substraction to avoid overflow bug.
6120         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
6121         * wcsmbc/wcscmp.c: Likewise.
6122         * string/test-strcmp.c: Likewise.
6123         Add new tests to check cases with negative values.
6125 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
6127         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
6128         * sysdeps/x86_64/dla.h: ...here.  New file.
6129         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
6130         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6131         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6132         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6133         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6134         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6135         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6136         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6137         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6139 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
6141         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
6142         __ynl_finite aliases.
6144 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
6146         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6148         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
6149         define DLA_FMA.
6150         [DLA_FMA] (EMULV): Use DLA_FMA.
6151         [DLA_FMA] (MUL12): Use EMULV.
6152         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
6153         that are not needed.
6154         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6155         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6156         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6157         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6158         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6159         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6160         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6162 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
6164         * math/s_nan.c: Undef __nan.
6165         * math/s_nanf.c: Undef __nanf.
6166         * math/s_nanl.c: Undef __nanl.
6167         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
6168         "math_private.h".
6170 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
6172         * math/s_catan.c: Add branch predictions.
6173         * math/s_catanf.c: Likewise.
6174         * math/s_catanh.c: Likewise.
6175         * math/s_catanhf.c: Likewise.
6176         * math/s_catanhl.c: Likewise.
6177         * math/s_catanl.c: Likewise.
6178         * math/s_cexp.c: Likewise.
6179         * math/s_cexpf.c: Likewise.
6180         * math/s_cexpl.c: Likewise.
6181         * math/s_clog.c: Likewise.
6182         * math/s_clog10.c: Likewise.
6183         * math/s_clog10f.c: Likewise.
6184         * math/s_clog10l.c: Likewise.
6185         * math/s_clogf.c: Likewise.
6186         * math/s_clogl.c: Likewise.
6187         * math/s_csqrt.c: Likewise.
6188         * math/s_csqrtf.c: Likewise.
6189         * math/s_csqrtl.c: Likewise.
6190         * math/s_ctanf.c: Likewise.
6191         * math/s_ctanh.c: Likewise.
6192         * math/s_ctanhf.c: Likewise.
6193         * math/s_ctanhl.c: Likewise.
6194         * math/s_ctanl.c: Likewise.
6196         * math/math_private.h: Define __nan, __nanf, __nanl.
6197         * math/s_cacosh.c: Include <math_private.h>.
6198         * math/s_cacoshl.c: Likewise.
6199         * math/s_casinh.c: Likewise.
6200         * math/s_casinhf.c: Likewise.
6201         * math/s_casinhl.c: Likewise.
6202         * math/s_ccos.c: Rely entire on ccosh.
6203         * math/s_ccosf.c: Rely entire on ccoshf.
6204         * math/s_ccosl.c: Rely entirely on ccoshl.
6205         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
6206         Remove tests for FE_INVALID.
6207         * math/s_ccoshf.c: Likewise.
6208         * math/s_ccoshl.c: Likewise.
6209         * math/s_csin.c: Likewise.
6210         * math/s_csinf.c: Likewise.
6211         * math/s_csinh.c Likewise.
6212         * math/s_csinhf.c: Likewise.
6213         * math/s_csinhl.c: Likewise.
6214         * math/s_csinl.c: Likewise.
6215         * math/s_ctan.c: Likewise.
6216         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
6217         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
6218         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
6220 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
6222         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
6223         compilation problems.
6225         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
6226         __builtin_expect.
6228 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
6230         * sysdeps/i386/configure.in: Test for -mfma4 option.
6231         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
6232         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
6233         COMMON_CPUID_INDEX_80000001.
6234         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
6235         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
6236         use it if FMA3 is not supported.
6237         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
6239         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
6240         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
6242 2011-10-20  Andreas Schwab  <schwab@redhat.com>
6244         [BZ #12892]
6245         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
6246         it would create a cycle with a link time dependency.
6248 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
6250         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
6251         instruction.
6252         * string/Makefile (strop-tests): Add rawmemchr.
6253         * string/test-rawmemchr.c: New file.
6255         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
6256         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
6257         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
6258         when compiling str{,n}casecmp and when AVX is available.  Hook up
6259         new optimized code in initializers.
6261 2011-10-19  Andreas Schwab  <schwab@redhat.com>
6263         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
6264         __feraiseexcept instead of feraiseexcept.
6266 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
6268         * math/math_private.h: Define defaults for libc_fetestexcept and
6269         libc_feupdateenv.
6270         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
6271         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6272         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6273         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6274         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6275         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6276         libc_fetestexcept and libc_feupdateenv.
6278         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
6279         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
6280         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
6281         * sysdeps/x86_64/fpu/math_private.h: Define special version of
6282         libc_feholdexcept_setround.
6284         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
6285         Add s_nearbyint-c and s_nearbyintf-c.
6286         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
6287         nearbyintf inlines.
6288         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
6289         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
6290         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
6291         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
6293         * math/math_private.h: Define defaults for libc_fegetround,
6294         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
6295         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
6296         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
6297         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
6298         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
6299         standard functions.
6300         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6301         Remove comments and hacks for old compiler versions.
6302         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6303         libc_fegetround, libc_fesetround, libc_feholdexcept, and
6304         libc_feholdexceptl.
6306 2011-10-18  Andreas Schwab  <schwab@redhat.com>
6308         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
6309         (__feraiseexcept_renamed): Add __NTH.
6310         (feraiseexcept): Add __NTH.  Rename local variables to fix
6311         namespace violations.
6313 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
6315         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
6317         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
6319         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
6320         recently added interfaces.
6321         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
6323         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
6324         about macro parameter expansion.
6326         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
6327         __NO_MATH_INLINES is defined.  Cleanups.
6329         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
6330         and __floorf is target has SSE4.1.
6331         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
6332         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
6333         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
6334         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
6336         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
6337         name.
6338         (floorf): Likewise.
6340         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
6342 2011-10-17  Andreas Schwab  <schwab@redhat.com>
6344         * misc/sys/cdefs.h: Fix last change.
6346         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
6347         database lookup.
6349 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
6351         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
6353         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
6354         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6355         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6356         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6357         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6358         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6359         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6360         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6361         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6362         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
6363         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
6364         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
6365         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
6366         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
6367         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
6368         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
6369         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
6370         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
6371         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
6372         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
6373         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
6374         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
6376         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
6377         ceil, ceilf, floor, floorf.
6379         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
6380         Perform IRELATIVE relocations last.
6382         * elf/do-rel.h: Add another parameter nrelative, replacing the
6383         local variable with the same name.  Change name of the function
6384         to end in Rel or Rela (uppercase).
6385         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
6386         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
6387         elf_dynamic_do_##reloc function.
6389 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
6391         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
6392         is sufficient, at least on modern CPUs.
6394         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
6396         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
6397         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
6399         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
6400         __expl_finite.
6401         * math/bits/math-finite.h: Add entries for exp.
6402         * math/e_expl.c: Add __*_finite alias.
6403         * sysdeps/i386/fpu/e_exp.S: Likewise.
6404         * sysdeps/i386/fpu/e_expf.S: Likewise.
6405         * sysdeps/i386/fpu/e_expl.c: Likewise.
6406         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6407         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6408         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6409         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6410         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
6411         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6412         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6414         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
6415         is sufficient, at least on modern CPUs.
6417         * ctype/ctype-info.c (__ctype_init): Define.
6418         * include/ctype.h (__ctype_init): Declare.
6419         (__ctype_b_loc): The variable is always initialized.
6420         (__ctype_toupper_loc): Likewise.
6421         (__ctype_tolower_loc): Likewise.
6422         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
6423         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
6425 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
6427         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
6429         * configure.in: Also look in $cxxmachine/include for C++ system
6430         headers.
6432 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6434         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
6435         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
6436         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
6437         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
6438         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
6439         (USE_AS_WMEMCMP): New macro.
6440         Fixing indents.
6441         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
6442         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
6443         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
6444         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
6445         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6446         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
6447         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
6448         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
6449         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
6450         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
6451         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
6452         (USE_AS_WMEMCMP): New macro.
6453         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
6454         * sysdeps/string/test-memcmp.c: Update.
6455         Fix simple_wmemcmp.
6456         Add new tests.
6457         * wcsmbs/wmemcmp.c: Update.
6458         (WMEMCMP): New macro.
6459         Fix overflow bug.
6461 2011-10-12  Andreas Jaeger  <aj@suse.de>
6463         [BZ #13268]
6464         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
6466 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
6468         * libio/iofwide.c (do_length): Avoid warning.
6470         * ctype/ctype.h (__isctype_f): Add missing __THROW.
6472 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
6474         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
6476         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
6477         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
6478         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
6479         * sysdeps/i386/i686/fpu/e_log.S: New file.
6480         * sysdeps/i386/i686/fpu/e_logf.S: New file.
6481         * sysdeps/i386/i686/fpu/e_logl.S: New file.
6483         * ctype/ctype.h: Add support for inlined isXXX functions when
6484         compiling C++ code.
6486 2011-10-14  Andreas Schwab  <schwab@redhat.com>
6488         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6490         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
6492 2011-10-13  Roland McGrath  <roland@hack.frob.com>
6494         [BZ #13291]
6495         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
6497 2011-10-13  Andreas Schwab  <schwab@redhat.com>
6499         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
6500         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
6501         feraiseexcept.
6503         * sysdeps/x86_64/memrchr.S: Check for zero size.
6505         * string/stratcliff.c: Add memrchr tests.
6507 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6509         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6510         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
6511         rawmemchr-sse2 rawmemchr-sse2-bsf.
6512         * sysdeps/i386/i686/multiarch/memchr.S: New file.
6513         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
6514         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
6515         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
6516         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
6517         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
6518         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
6519         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
6520         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
6521         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
6522         * string/memrchr.c (MEMRCHR): New macro.
6524 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
6526         Add integration with gcc's -ffinite-math-only and optimize wrapper
6527         functions in libm.
6528         * Versions.def: Define GLIBC_2.15 version for libm.
6529         * math/Makefile (headers): Add bits/math-finite.h.
6530         * math/bits/math-finite.h: New file.
6531         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
6532         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
6533         * math/e_acoshl.c: Add __*_finite alias.
6534         * math/e_acosl.c: Likewise.
6535         * math/e_asinl.c: Likewise.
6536         * math/e_atan2l.c: Likewise.
6537         * math/e_atanhl.c: Likewise.
6538         * math/e_coshl.c: Likewise.
6539         * math/e_exp10.c: Likewise.
6540         * math/e_exp10f.c: Likewise.
6541         * math/e_exp10l.c: Likewise.
6542         * math/e_exp2l.c: Likewise.
6543         * math/e_fmodl.c: Likewise.
6544         * math/e_gammal_r.c: Likewise.
6545         * math/e_hypotl.c: Likewise.
6546         * math/e_j0l.c: Likewise.
6547         * math/e_j1l.c: Likewise.
6548         * math/e_jnl.c: Likewise.
6549         * math/e_lgammal_r.c: Likewise.
6550         * math/e_log10l.c: Likewise.
6551         * math/e_log2l.c: Likewise.
6552         * math/e_logl.c: Likewise.
6553         * math/e_powl.c: Likewise.
6554         * math/e_sinhl.c: Likewise.
6555         * math/e_sqrtl.c: Likewise.
6556         * math/e_scalb.c: Completely rewritten and optimized.
6557         * math/e_scalbf.c: Likewise.
6558         * math/e_scalbl.c: Likewise.
6559         * math/w_acos.c: Likewise.
6560         * math/w_acosf.c: Likewise.
6561         * math/w_acosl.c: Likewise.
6562         * math/w_acosh.c: Likewise.
6563         * math/w_acoshf.c: Likewise.
6564         * math/w_acoshl.c: Likewise.
6565         * math/w_asin.c: Likewise.
6566         * math/w_asinf.c: Likewise.
6567         * math/w_asinl.c: Likewise.
6568         * math/w_atan2.c: Likewise.
6569         * math/w_atan2f.c: Likewise.
6570         * math/w_atan2l.c: Likewise.
6571         * math/w_atanh.c: Likewise.
6572         * math/w_atanhf.c: Likewise.
6573         * math/w_atanhl.c: Likewise.
6574         * math/w_exp10.c: Likewise.
6575         * math/w_exp10f.c: Likewise.
6576         * math/w_exp10l.c: Likewise.
6577         * math/w_fmod.c: Likewise.
6578         * math/w_fmodf.c: Likewise.
6579         * math/w_fmodl.c: Likewise.
6580         * math/w_j0.c: Likewise.
6581         * math/w_j0f.c: Likewise.
6582         * math/w_j0l.c: Likewise.
6583         * math/w_j1.c: Likewise.
6584         * math/w_j1f.c: Likewise.
6585         * math/w_j1l.c: Likewise.
6586         * math/w_jn.c: Likewise.
6587         * math/w_jnf.c: Likewise.
6588         * math/w_log.c: Likewise.
6589         * math/w_logf.c: Likewise.
6590         * math/w_logl.c: Likewise.
6591         * math/w_log10.c: Likewise.
6592         * math/w_log10f.c: Likewise.
6593         * math/w_log10l.c: Likewise.
6594         * math/w_log2.c: Likewise.
6595         * math/w_log2f.c: Likewise.
6596         * math/w_log2l.c: Likewise.
6597         * math/w_pow.c: Likewise.
6598         * math/w_powf.c: Likewise.
6599         * math/w_powl.c: Likewise.
6600         * math/w_remainder.c: Likewise.
6601         * math/w_remainderf.c: Likewise.
6602         * math/w_remainderl.c: Likewise.
6603         * math/w_scalb.c: Likewise.
6604         * math/w_scalbf.c: Likewise.
6605         * math/w_scalbl.c: Likewise.
6606         * math/w_sqrt.c: Likewise.
6607         * math/w_sqrtf.c: Likewise.
6608         * math/w_sqrtl.c: Likewise.
6609         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
6610         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
6611         used.
6612         * math/math_private.h: Declare __kernel_standard_f.
6613         * math/w_cosh.c: Remove cruft and optimize a bit.
6614         * math/w_coshf.c: Likewise.
6615         * math/w_coshl.c: Likewise.
6616         * math/w_exp2.c: Likewise.
6617         * math/w_exp2f.c: Likewise.
6618         * math/w_exp2l.c: Likewise.
6619         * math/w_hypot.c: Likewise.
6620         * math/w_hypotf.c: Likewise.
6621         * math/w_hypotl.c: Likewise.
6622         * math/w_lgamma.c: Likewise.
6623         * math/w_lgamma_r.c: Likewise.
6624         * math/w_lgammaf.c: Likewise.
6625         * math/w_lgammaf_r.c: Likewise.
6626         * math/w_lgammal.c: Likewise.
6627         * math/w_lgammal_r.c: Likewise.
6628         * math/w_sinh.c: Likewise.
6629         * math/w_sinhf.c: Likewise.
6630         * math/w_sinhl.c: Likewise.
6631         * math/w_tgamma.c: Likewise.
6632         * math/w_tgammaf.c: Likewise.
6633         * math/w_tgammal.c: Likewise.
6634         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6635         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6636         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
6637         Minor optimizations.  Pretty printing.  Remove cruft.
6638         * sysdeps/i386/fpu/e_acosf.S: Likewise.
6639         * sysdeps/i386/fpu/e_acosh.S: Likewise.
6640         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6641         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6642         * sysdeps/i386/fpu/e_acosl.c: Likewise.
6643         * sysdeps/i386/fpu/e_asin.S: Likewise.
6644         * sysdeps/i386/fpu/e_asinf.S: Likewise.
6645         * sysdeps/i386/fpu/e_atan2.S: Likewise.
6646         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
6647         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
6648         * sysdeps/i386/fpu/e_atanh.S: Likewise.
6649         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6650         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6651         * sysdeps/i386/fpu/e_exp10.S: Likewise.
6652         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
6653         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
6654         * sysdeps/i386/fpu/e_exp2.S: Likewise.
6655         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6656         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6657         * sysdeps/i386/fpu/e_fmod.S: Likewise.
6658         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6659         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6660         * sysdeps/i386/fpu/e_hypot.S: Likewise.
6661         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6662         * sysdeps/i386/fpu/e_log.S: Likewise.
6663         * sysdeps/i386/fpu/e_log10.S: Likewise.
6664         * sysdeps/i386/fpu/e_log10f.S: Likewise.
6665         * sysdeps/i386/fpu/e_log10l.S: Likewise.
6666         * sysdeps/i386/fpu/e_log2.S: Likewise.
6667         * sysdeps/i386/fpu/e_log2f.S: Likewise.
6668         * sysdeps/i386/fpu/e_log2l.S: Likewise.
6669         * sysdeps/i386/fpu/e_logf.S: Likewise.
6670         * sysdeps/i386/fpu/e_logl.S: Likewise.
6671         * sysdeps/i386/fpu/e_pow.S: Likewise.
6672         * sysdeps/i386/fpu/e_powf.S: Likewise.
6673         * sysdeps/i386/fpu/e_powl.S: Likewise.
6674         * sysdeps/i386/fpu/e_remainder.S: Likewise.
6675         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6676         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6677         * sysdeps/i386/fpu/e_scalb.S: Likewise.
6678         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6679         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6680         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6681         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6682         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6683         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6684         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6685         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6686         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6687         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6688         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6689         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6690         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6691         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6692         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6693         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6694         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6695         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6696         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6697         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6698         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6699         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6700         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6701         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6702         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6703         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6704         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6705         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6706         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6707         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6708         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6709         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6710         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6711         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6712         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6713         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6714         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6715         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6716         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6717         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6718         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6719         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6720         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6721         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6722         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6723         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6724         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6725         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6726         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6727         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6728         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6729         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6730         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6731         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6732         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6733         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6734         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6735         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6736         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6737         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6738         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6739         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6740         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6741         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6742         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6743         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6744         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6745         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6746         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6747         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6748         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6749         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6750         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6751         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6752         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6753         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6754         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6755         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6756         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6757         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6758         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6759         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6760         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6761         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6762         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6763         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6764         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6765         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6766         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6767         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6768         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6769         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6770         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6771         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6772         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6773         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6774         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6775         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6776         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6777         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6778         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6779         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6780         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6781         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6782         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6783         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6784         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6785         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6786         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6787         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6788         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6789         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6790         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6791         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6792         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6793         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
6794         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6795         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6796         (__isnanf): Likewise.
6797         (__isinf_ns): Likewise.
6798         (__isinf_nsf): Likewise.
6799         (__finite): Likewise.
6800         (__finitef): Likewise.
6801         (__ieee754_sqrt): Define as macro.
6802         (__ieee754_sqrtf): Define as macro.
6803         (__ieee754_sqrtl): Define as macro.
6804         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6805         inlined copy.
6806         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6807         __FINITE_MATH_ONLY__ consistent.
6808         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6810 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
6812         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6813         of rawmemchr.
6815         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6817 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
6819         * po/ja.po: Update from translation team.
6821 2011-10-08  Roland McGrath  <roland@hack.frob.com>
6823         * locale/programs/locarchive.c (prepare_address_space): New function.
6824         (create_archive, enlarge_archive, open_archive): Use it.
6826         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6827         inside [SHARED], where it is used.
6829         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6831         * nss/getent.c (netgroup_keys): Remove unused variable.
6832         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6834 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
6836         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6837         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6838         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6839         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6840         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6841         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6842         * math/Makefile (libm-calls): Add s_isinf_ns.
6843         * math/divtc3.c: Use __isinf_nsl instead of isinf.
6844         * math/multc3.c: Likewise.
6845         * math/s_casin.c: Likewise.
6846         * math/s_casinf.c: Likewise.
6847         * math/s_casinl.c: Likewise.
6848         * math/s_ccos.c: Likewise.
6849         * math/s_ccosf.c: Likewise.
6850         * math/s_ccosl.c: Likewise.
6851         * math/s_ctan.c: Likewise.
6852         * math/s_ctanf.c: Likewise.
6853         * math/s_ctanh.c: Likewise.
6854         * math/s_ctanhf.c: Likewise.
6855         * math/s_ctanhl.c: Likewise.
6856         * math/s_ctanl.c: Likewise.
6857         * math/w_fmod.c: Likewise.
6858         * math/w_fmodf.c: Likewise.
6859         * math/w_fmodl.c: Likewise.
6860         * math/w_remainder.c: Likewise.
6861         * math/w_remainderf.c: Likewise.
6862         * math/w_remainderl.c: Likewise.
6863         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6864         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6865         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6866         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6867         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6868         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6869         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6870         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6872         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6873         of the number.
6874         * stdio-common/printf_fphex.c: Likewise.
6875         * stdio-common/printf_size.c: Likewise.
6877         * math/e_exp10.c: Include math_private.h using <...> not "...".
6878         * math/e_exp10f.c: Likewise.
6879         * math/e_exp10l.c: Likewise.
6880         * math/e_exp2l.c: Likewise.
6881         * math/e_j0l.c: Likewise.
6882         * math/e_j1l.c: Likewise.
6883         * math/e_jnl.c: Likewise.
6884         * math/e_lgammal_r.c: Likewise.
6885         * math/e_rem_pio2l.c: Likewise.
6886         * math/e_scalb.c: Likewise.
6887         * math/e_scalbf.c: Likewise.
6888         * math/e_scalbl.c: Likewise.
6889         * math/k_cosl.c: Likewise.
6890         * math/k_sinl.c: Likewise.
6891         * math/k_tanl.c: Likewise.
6892         * math/s_cacoshf.c: Likewise.
6893         * math/s_catan.c: Likewise.
6894         * math/s_catanf.c: Likewise.
6895         * math/s_catanh.c: Likewise.
6896         * math/s_catanhf.c: Likewise.
6897         * math/s_catanhl.c: Likewise.
6898         * math/s_catanl.c: Likewise.
6899         * math/s_ccosh.c: Likewise.
6900         * math/s_ccoshf.c: Likewise.
6901         * math/s_ccoshl.c: Likewise.
6902         * math/s_cexp.c: Likewise.
6903         * math/s_cexpf.c: Likewise.
6904         * math/s_cexpl.c: Likewise.
6905         * math/s_clog.c: Likewise.
6906         * math/s_clog10.c: Likewise.
6907         * math/s_clog10f.c: Likewise.
6908         * math/s_clog10l.c: Likewise.
6909         * math/s_clogf.c: Likewise.
6910         * math/s_clogl.c: Likewise.
6911         * math/s_csin.c: Likewise.
6912         * math/s_csinf.c: Likewise.
6913         * math/s_csinh.c: Likewise.
6914         * math/s_csinhf.c: Likewise.
6915         * math/s_csinhl.c: Likewise.
6916         * math/s_csinl.c: Likewise.
6917         * math/s_csqrt.c: Likewise.
6918         * math/s_csqrtf.c: Likewise.
6919         * math/s_csqrtl.c: Likewise.
6920         * math/s_ctan.c: Likewise.
6921         * math/s_ctanf.c: Likewise.
6922         * math/s_ctanh.c: Likewise.
6923         * math/s_ctanhf.c: Likewise.
6924         * math/s_ctanhl.c: Likewise.
6925         * math/s_ctanl.c: Likewise.
6926         * math/s_ldexp.c: Likewise.
6927         * math/s_ldexpf.c: Likewise.
6928         * math/s_ldexpl.c: Likewise.
6929         * math/s_significand.c: Likewise.
6930         * math/s_significandf.c: Likewise.
6931         * math/s_significandl.c: Likewise.
6932         * math/w_acos.c: Likewise.
6933         * math/w_acosf.c: Likewise.
6934         * math/w_acosh.c: Likewise.
6935         * math/w_acoshf.c: Likewise.
6936         * math/w_acoshl.c: Likewise.
6937         * math/w_acosl.c: Likewise.
6938         * math/w_asin.c: Likewise.
6939         * math/w_asinf.c: Likewise.
6940         * math/w_asinl.c: Likewise.
6941         * math/w_atan2.c: Likewise.
6942         * math/w_atan2f.c: Likewise.
6943         * math/w_atan2l.c: Likewise.
6944         * math/w_atanh.c: Likewise.
6945         * math/w_atanhf.c: Likewise.
6946         * math/w_atanhl.c: Likewise.
6947         * math/w_cosh.c: Likewise.
6948         * math/w_coshf.c: Likewise.
6949         * math/w_coshl.c: Likewise.
6950         * math/w_dremf.c: Likewise.
6951         * math/w_exp10.c: Likewise.
6952         * math/w_exp10f.c: Likewise.
6953         * math/w_exp10l.c: Likewise.
6954         * math/w_exp2.c: Likewise.
6955         * math/w_exp2f.c: Likewise.
6956         * math/w_fmod.c: Likewise.
6957         * math/w_fmodf.c: Likewise.
6958         * math/w_fmodl.c: Likewise.
6959         * math/w_hypot.c: Likewise.
6960         * math/w_hypotf.c: Likewise.
6961         * math/w_hypotl.c: Likewise.
6962         * math/w_j0.c: Likewise.
6963         * math/w_j0f.c: Likewise.
6964         * math/w_j0l.c: Likewise.
6965         * math/w_j1.c: Likewise.
6966         * math/w_j1f.c: Likewise.
6967         * math/w_j1l.c: Likewise.
6968         * math/w_jn.c: Likewise.
6969         * math/w_jnf.c: Likewise.
6970         * math/w_jnl.c: Likewise.
6971         * math/w_lgamma.c: Likewise.
6972         * math/w_lgamma_r.c: Likewise.
6973         * math/w_lgammaf.c: Likewise.
6974         * math/w_lgammaf_r.c: Likewise.
6975         * math/w_lgammal.c: Likewise.
6976         * math/w_lgammal_r.c: Likewise.
6977         * math/w_log.c: Likewise.
6978         * math/w_log10.c: Likewise.
6979         * math/w_log10f.c: Likewise.
6980         * math/w_log10l.c: Likewise.
6981         * math/w_log2.c: Likewise.
6982         * math/w_log2f.c: Likewise.
6983         * math/w_log2l.c: Likewise.
6984         * math/w_logf.c: Likewise.
6985         * math/w_logl.c: Likewise.
6986         * math/w_pow.c: Likewise.
6987         * math/w_powf.c: Likewise.
6988         * math/w_powl.c: Likewise.
6989         * math/w_remainder.c: Likewise.
6990         * math/w_remainderf.c: Likewise.
6991         * math/w_remainderl.c: Likewise.
6992         * math/w_scalb.c: Likewise.
6993         * math/w_scalbf.c: Likewise.
6994         * math/w_scalbl.c: Likewise.
6995         * math/w_sinh.c: Likewise.
6996         * math/w_sinhf.c: Likewise.
6997         * math/w_sinhl.c: Likewise.
6998         * math/w_sqrt.c: Likewise.
6999         * math/w_sqrtf.c: Likewise.
7000         * math/w_sqrtl.c: Likewise.
7001         * math/w_tgamma.c: Likewise.
7002         * math/w_tgammaf.c: Likewise.
7003         * math/w_tgammal.c: Likewise.
7005         * po/ja.po: Update from translation team.
7007 2011-09-29  Andreas Jaeger  <aj@suse.de>
7009         [BZ #13179]
7010         * sunrpc/netname.c (netname2host): Fix logic.
7012         [BZ #6779]
7013         [BZ #6783]
7014         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
7015         correctly.
7016         * math/w_remainder.c (__remainder): Likewise.
7017         * math/w_remainderf.c (__remainderf): Likewise.
7018         * math/libm-test.inc (remainder_test): Add test cases.
7020 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7022         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
7023         sdiv_qrnnd.
7025 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
7027         * string/test-memcmp.c: Avoid unncessary #defines.
7028         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7030 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7032         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
7033         Use new sse2 version for core i3 - i7 as it's faster
7034         than sse42 version.
7035         (bit_Prefer_PMINUB_for_stringop): New.
7036         * sysdeps/x86_64/rawmemchr.S: Update.
7037         Replace with faster SSE2 version.
7038         * sysdeps/x86_64/memrchr.S: New file.
7039         * sysdeps/x86_64/memchr.S: Update.
7040         Replace with faster SSE2 version.
7042 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
7044         * elf/dl-load.c (lose): Add cast to avoid warning.
7046 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
7048         * po/ca.po: Update from translation team.
7050         * inet/getnetgrent_r.c: Hook up nscd.
7051         * nscd/Makefile (routines): Add nscd_netgroup.
7052         (nscd-modules): Add netgroupcache.
7053         (CFLAGS-netgroupcache.c): Define.
7054         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
7055         (cache_search): Add const to second parameter.
7056         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
7057         INNETGR.
7058         (dbs): Add netgrdb entry.
7059         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
7060         (verify_persistent_db): Handle netgrdb.
7061         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
7062         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
7063         GETFDNETGR.
7064         (netgroup_response_header): Define.
7065         (innetgroup_response_header): Define.
7066         (datahead): Add netgroup_response_header and innetgroup_response_header
7067         elements.
7068         * nscd/nscd.conf: Add entries for netgroup cache.
7069         * nscd/nscd.h (dbtype): Add netgrdb.
7070         (_PATH_NSCD_NETGROUP_DB): Define.
7071         (netgroup_iov_disabled): Declare.
7072         (xmalloc, xcalloc, xrealloc): Move declarations here.
7073         (cache_search): Adjust prototype.
7074         Add netgroup-related prototypes.
7075         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
7076         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
7077         (__nscd_innetgr): Declare.
7078         * nscd/selinux.c (perms): Use access_vector_t as element type and
7079         add netgroup-related initializers.
7080         * nscd/netgroupcache.c: New file.
7081         * nscd/nscd_netgroup.c: New file.
7082         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
7083         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
7084         For four parameters use innetgr.
7085         * nss/nss_files/files-init.c: Add definition and callback for netgr.
7086         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
7087         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
7088         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
7090         * nscd/connections.c (register_traced_file): Don't register file
7091         for disabled databases.
7093 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
7095         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
7097         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
7098         from tree and freeing node.
7100 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
7102         * nss/nsswitch.c (__nss_database_lookup): Handle
7103         nss_parse_service_list out of memory case.
7105 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
7107         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
7108         out of memory case.
7110 2011-10-04  Andreas Schwab  <schwab@redhat.com>
7112         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
7113         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
7114         pass it down.
7115         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
7116         elf_machine_rela, elf_machine_lazy_rel.
7117         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
7118         (ELF_DYNAMIC_DO_REL): Likewise.
7119         (ELF_DYNAMIC_DO_RELA): Likewise.
7120         (ELF_DYNAMIC_RELOCATE): Likewise.
7121         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
7122         to ELF_DYNAMIC_DO_REL.
7123         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
7124         (dl_main): In trace mode always set __RTLD_NOIFUNC.
7125         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
7126         elf_machine_rela.
7127         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
7128         skip_ifunc, don't call ifunc function if non-zero.
7129         (elf_machine_rela): Likewise.
7130         (elf_machine_lazy_rel): Likewise.
7131         (elf_machine_lazy_rela): Likewise.
7132         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
7133         (elf_machine_lazy_rel): Likewise.
7134         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
7135         Likewise.
7136         (elf_machine_lazy_rel): Likewise.
7137         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7138         Likewise.
7139         (elf_machine_lazy_rel): Likewise.
7140         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
7141         (elf_machine_lazy_rel): Likewise.
7142         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
7143         (elf_machine_lazy_rel): Likewise.
7144         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7145         (elf_machine_lazy_rel): Likewise.
7146         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7147         (elf_machine_lazy_rel): Likewise.
7148         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7149         (elf_machine_lazy_rel): Likewise.
7150         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7151         (elf_machine_lazy_rel): Likewise.
7153 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
7155         * nss/nss_files/files-init.c (_nss_files_init): Use static
7156         initialization for all the *_traced_file variables.
7158 2011-09-28  Andreas Schwab  <schwab@redhat.com>
7160         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7162 2011-09-27  Roland McGrath  <roland@hack.frob.com>
7164         [BZ #13226]
7165         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
7167 2011-09-27  Andreas Schwab  <schwab@redhat.com>
7169         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7170         Reread the line before reparsing it.
7172 2011-09-26  Andreas Schwab  <schwab@redhat.com>
7174         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
7176 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
7177             Maxim Kuvyrkov  <maxim@codesourcery.com>
7178             Joseph Myers  <joseph@codesourcery.com>
7180         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
7181         if needed for __stack_chk_guard.
7183 2011-09-19  Roland McGrath  <roland@hack.frob.com>
7185         * sysdeps/posix/spawni.c (script_execute): Always define it.
7186         It will be optimized away if unused.
7187         (maybe_script_execute): New function.
7188         (__spawni): Call it.
7190         * Makerules: Don't include tls.make.
7191         (config-tls): Always set to thread.
7192         * tls.make.c: File removed.
7194 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
7196         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
7197         * config.make.in (CPPFLAGS-config): New substituted variable.
7199 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
7201         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
7203         [BZ #13192]
7204         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
7205         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
7207 2011-09-15  Roland McGrath  <roland@hack.frob.com>
7209         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
7210         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
7211         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
7212         (CALL_FAIL): Likewise.
7213         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
7214         (CALL_FAIL): Macro removed.
7215         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
7217 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
7219         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
7220         for __FINITE_MATH_ONLY__ == 1.
7222 2011-09-15  Andreas Schwab  <schwab@redhat.com>
7224         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
7225         __ieee754_sqrt instead of sqrt.
7226         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
7227         __ieee754_sqrtf instead of sqrtf.
7228         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7229         __floorf instead of floorf.
7230         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
7231         __floorf, __truncf instead of floorf, truncf.
7233 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
7235         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
7237         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
7238         __extern_always_inline.
7239         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
7240         32-bit.
7242 2011-09-14  Andreas Schwab  <schwab@redhat.com>
7244         * elf/rtld.c (dl_main): Also relocate in dependency order when
7245         doing symbol dependency testing.
7247 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
7249         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7250         Always define `refsym'.
7252 2011-09-13  Andreas Schwab  <schwab@redhat.com>
7254         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
7255         (__FD_ELT): Renamed from __FDELT.
7256         * misc/bits/select2.h (__FD_ELT): Likewise.
7257         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
7258         __FD_MASK instead of __FDELT, __FDMASK.
7259         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7260         Likewise.
7261         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7262         Likewise.
7264         * elf/Makefile (gen-ldd): Fix pattern.
7266         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
7267         (init_tls): Likewise.
7269 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
7271         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
7273 2011-09-12  Andreas Schwab  <schwab@redhat.com>
7275         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
7276         `struct cmsghdr *' instead of `void *'.
7277         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
7278         Likewise.
7280 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
7282         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
7283         if non-absolute.
7284         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
7285         ldd_rewrite_script.
7287 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
7289         * configure.in: Remove --with-tls option.
7290         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
7291         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
7292         out in case it is missing.
7293         * sysdeps/ia64/elf/configure.in: Likewise.
7294         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
7295         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
7296         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
7297         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
7298         * sysdeps/sh/elf/configure.in: Likewise.
7299         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
7300         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7301         * sysdeps/x86_64/elf/configure.in: Likewise.
7302         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
7303         * sysdeps/mach/hurd/tls.h: Likewise.
7305         [BZ #13067]
7306         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
7308         [BZ #13090]
7309         * configure.in: Fix use of AC_INIT.
7311         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
7313 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
7315         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
7316         __set_errno.
7317         * malloc/hooks.c: Likewise.
7319         [BZ #11929]
7320         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
7321         variables statically.
7322         (narenas): Initialize.
7323         (list_lock): Initialize.
7324         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
7325         initializtion of main_arena and list_lock.  Small cleanups.
7326         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
7327         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
7328         Add initializers to main_arena and mp_.
7329         (malloc_state): Remove pagesize member.  Change all users to use
7330         GLRO(dl_pagesize).
7332         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
7333         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
7334         is always initialized.
7336         * malloc/malloc.c: Removed unused configurations and dead code.
7337         * malloc/arena.c: Likewise.
7338         * malloc/hooks.c: Likewise.
7339         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
7341         * include/tls.h: Removed.  USE___THREAD must always be defined.
7342         * bits/libc-tsd.h: Don't handle !USE___THREAD.
7343         * elf/dl-libc.c: Likewise.
7344         * elf/dl-tsd.c: Likewise.
7345         * include/errno.h: Likewise.
7346         * include/netdb.h: Likewise.
7347         * include/resolv.h: Likewise.
7348         * inet/herrno-loc.c: Likewise.
7349         * inet/herrno.c: Likewise.
7350         * malloc/arena.c: Likewise.
7351         * malloc/hooks.c: Likewise.
7352         * malloc/malloc.c: Likewise.
7353         * resolv/res-state.c: Likewise.
7354         * resolv/res_libc.c: Likewise.
7355         * sysdeps/i386/dl-machine.h: Likewise.
7356         * sysdeps/ia64/dl-machine.h: Likewise.
7357         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7358         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7359         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7360         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7361         * sysdeps/sh/dl-machine.h: Likewise.
7362         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7363         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7364         * sysdeps/unix/i386/sysdep.S: Likewise.
7365         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7366         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7367         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7368         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7369         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7370         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7371         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7372         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7373         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7374         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7375         * sysdeps/unix/x86_64/sysdep.S: Likewise.
7376         * sysdeps/x86_64/dl-machine.h: Likewise.
7377         * tls.make.c: Likewise.
7379         * configure.in: Remove --with-__thread option.  Make tests for
7380         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
7381         tls_model attribute fail if no support is available.  Remove
7382         USE_IN_LIBIO.
7383         * Makeconfig: Adjust for dropped configure option.  All features are
7384         now mandatory.
7385         * Makerules: Likewise.
7386         * Versions.def: Likewise.
7387         * argp/argp-fmtstream.c: Likewise.
7388         * argp/argp-fmtstream.h: Likewise.
7389         * argp/argp-help.c: Likewise.
7390         * assert/assert.c: Likewise.
7391         * config.h.in: Likewise.
7392         * config.make.in: Likewise.
7393         * configure: Likewise.
7394         * configure.in: Likewise.
7395         * csu/Versions: Likewise.
7396         * csu/init.c: Likewise.
7397         * elf/tst-audit2.c: Likewise.
7398         * elf/tst-tls10.c: Likewise.
7399         * elf/tst-tls10.h: Likewise.
7400         * elf/tst-tls11.c: Likewise.
7401         * elf/tst-tls12.c: Likewise.
7402         * elf/tst-tls14.c: Likewise.
7403         * elf/tst-tlsmod11.c: Likewise.
7404         * elf/tst-tlsmod12.c: Likewise.
7405         * elf/tst-tlsmod13.c: Likewise.
7406         * elf/tst-tlsmod13a.c: Likewise.
7407         * elf/tst-tlsmod14a.c: Likewise.
7408         * elf/tst-tlsmod15b.c: Likewise.
7409         * elf/tst-tlsmod16a.c: Likewise.
7410         * elf/tst-tlsmod16b.c: Likewise.
7411         * elf/tst-tlsmod7.c: Likewise.
7412         * elf/tst-tlsmod8.c: Likewise.
7413         * elf/tst-tlsmod9.c: Likewise.
7414         * gmon/gmon.c: Likewise.
7415         * grp/fgetgrent_r.c: Likewise.
7416         * grp/putgrent.c: Likewise.
7417         * hurd/fopenport.c: Likewise.
7418         * include/libc-symbols.h: Likewise.
7419         * include/tls.h: Likewise.
7420         * intl/gettextP.h: Likewise.
7421         * intl/loadinfo.h: Likewise.
7422         * locale/global-locale.c: Likewise.
7423         * locale/localeinfo.h: Likewise.
7424         * mach/devstream.c: Likewise.
7425         * malloc/arena.c: Likewise.
7426         * malloc/set-freeres.c: Likewise.
7427         * misc/err.c: Likewise.
7428         * misc/getttyent.c: Likewise.
7429         * misc/mntent_r.c: Likewise.
7430         * posix/getopt.c: Likewise.
7431         * posix/wordexp.c: Likewise.
7432         * pwd/fgetpwent_r.c: Likewise.
7433         * resolv/Versions: Likewise.
7434         * resolv/res_hconf.c: Likewise.
7435         * shadow/fgetspent_r.c: Likewise.
7436         * shadow/putspent.c: Likewise.
7437         * stdio-common/printf_fphex.c: Likewise.
7438         * stdio-common/tmpfile.c: Likewise.
7439         * stdlib/abort.c: Likewise.
7440         * stdlib/fmtmsg.c: Likewise.
7441         * sunrpc/auth_unix.c: Likewise.
7442         * sunrpc/clnt_perr.c: Likewise.
7443         * sunrpc/clnt_tcp.c: Likewise.
7444         * sunrpc/clnt_udp.c: Likewise.
7445         * sunrpc/clnt_unix.c: Likewise.
7446         * sunrpc/openchild.c: Likewise.
7447         * sunrpc/svc_simple.c: Likewise.
7448         * sunrpc/svc_tcp.c: Likewise.
7449         * sunrpc/svc_udp.c: Likewise.
7450         * sunrpc/svc_unix.c: Likewise.
7451         * sunrpc/xdr.c: Likewise.
7452         * sunrpc/xdr_array.c: Likewise.
7453         * sunrpc/xdr_rec.c: Likewise.
7454         * sunrpc/xdr_ref.c: Likewise.
7455         * sunrpc/xdr_stdio.c: Likewise.
7457 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
7459         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7461 2011-07-03  Andreas Jaeger  <aj@suse.de>
7463         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
7464         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
7465         regenerate with gen-libm-tests.pl.
7467 2010-05-12  Petr Baudis  <pasky@suse.cz>
7469         [BZ #11589]
7470         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
7471         around j0() zero points by switching to j1().
7472         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7473         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7474         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7475         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7477 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
7479         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
7480         instead of 0.
7481         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
7482         instead of 0.                              .
7483         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7484         Patch in part by Pavel Roskin <proski@gnu.org>.
7486         [BZ #13138]
7487         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
7488         realloc.
7489         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
7490         Free memory block if necessary.
7492         [BZ #12847]
7493         * libio/genops.c (INTDEF): For string streams the _lock pointer can
7494         be NULL.  Don't lock in this case.
7496 2011-09-09  Roland McGrath  <roland@hack.frob.com>
7498         * elf/elf.h (ELFOSABI_GNU): New macro.
7499         (ELFOSABI_LINUX): Define to that.
7501 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
7503         * string/strncat.c (strncat): Undef the symbol in case it has been
7504         defined in bits/string.h.
7506 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
7508         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
7510         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
7511         link map.
7513 2011-08-17  Andreas Jaeger  <aj@suse.de>
7515         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
7517 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
7518             Ian Lance Taylor  <iant@google.com>
7520         * math/libm-test.inc (lround_test): New testcase.
7521         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
7523 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
7525         * Makefile: Remove support for automatic cvs check-ins.
7526         * Makerules: Likewise.
7527         * config.make.in: Likewise.
7528         * configure.in: Likewise.
7529         * intl/Makefile: Likewise.
7530         * locale/Makefile: Likewise.
7531         * po/Makefile: Likewise.
7532         * posix/Makefile: Likewise.
7533         * sysdeps/gnu/Makefile: Likewise.
7534         * sysdeps/mach/hurd/Makefile: Likewise.
7535         * sysdeps/sparc/sparc32/Makefile: Likewise.
7537         [BZ #13118]
7538         * posix/Makefile (bug-regex32-ENV): Define.
7539         Patch by John Stanley <jpsinthemix@verizon.net>.
7541         * misc/Makefile (headers): Add bits/select2.h.
7542         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
7543         * misc/bits/select2.h: New file.
7544         * include/bits/select2.h: New file.
7545         * debug/Makefile (routines): Add fdelt_chk.
7546         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
7547         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
7548         FD_ISSET.
7549         * debug/fdelt_chk.c: New file.
7551         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
7552         * wcsmbs/test-wmemcmp.c: Likewise.
7553         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
7554         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
7556 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7558         * string/Makefile (strop-tests): Add memcmp.
7559         * string/test-wmemcmp.c: New file.
7560         * string/test-memcmp.c: Add wmemcmp support.
7562 2011-09-08  Roland McGrath  <roland@hack.frob.com>
7564         [BZ #13153]
7565         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
7566         2011-07-19 change.
7568         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
7569         garbage value in a __mach_port_mod_refs call in the cases of the
7570         task-self and thread-self ports.
7572 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7574         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
7576 2011-09-08  Andreas Schwab  <schwab@redhat.com>
7578         * elf/dl-load.c (lose): Check for non-null L.
7580 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
7582         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
7584         * elf/dl-libc.c (dlerror_run): Pass back error code from
7585         dl_catch_error.
7587         [BZ #13123]
7588         * elf/dl-load.c (lose): Free l_origin if it is valid.
7590         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
7591         names.
7592         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7593         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7594         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7595         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7596         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7597         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
7599 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7601         * sysdeps/powerpc/fpu/e_hypot.c: New file.
7602         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
7603         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
7604         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
7605         * sysdeps/powerpc/fpu/k_cosf.c: New file.
7606         * sysdeps/powerpc/fpu/k_sinf.c: New file.
7607         * sysdeps/powerpc/fpu/s_cosf.c: New file.
7608         * sysdeps/powerpc/fpu/s_sinf.c: New file.
7609         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
7610         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
7612 2011-08-15  Alan Modra  <amodra@gmail.com>
7614         [BZ #13092]
7615         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
7616         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
7617         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
7618         ppc_mcount to static-only-routines.
7619         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
7620         __mcount_internal.
7621         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
7622         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
7624 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
7626         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
7627         for finite and infinity parameters.
7629 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
7631         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
7632         and add nop instructions for throughput optimization.
7633         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7635 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
7637         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
7638         aligned copy for power7 with vector-scalar instructions.
7639         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7641 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
7643         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
7644         AVX check.
7646 2011-09-07  Andreas Schwab  <schwab@redhat.com>
7648         [BZ #13144]
7649         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
7650         last change.
7652 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
7654         * sysdeps/unix/sysv/linux/x86_64/init-first.c
7655         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7656         syscall wrapper around clock_gettime in __vdso_clock_gettime.
7657         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7658         clock_gettime.
7660 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
7662         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7663         Forgot to demangle the pointer.
7665         * sysdeps/i386/sysdep.h: Define atom_text_section.
7666         * sysdeps/x86_64/sysdep.h: Likewise.
7667         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7668         section with atom_text_section.
7669         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7670         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7671         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7672         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7673         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7675         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7676         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7677         already be defined.  Change to take two parameters and don't assign
7678         result to variable.  Adjust all users.
7679         Define INTERNAL_GETTIME if not already defined.
7680         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7681         call.
7682         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7683         HAVE_CLOCK_GETTIME_VSYSCALL.
7684         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7686         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7687         gettimeofday vsyscall, just use time.
7689 2011-09-06  Andreas Schwab  <schwab@redhat.com>
7691         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7692         <errno.h>.
7694 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
7696         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7697         syscall on x86-64.
7698         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7699         syscall.
7700         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7701         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7702         syscall if possible.
7704 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
7706         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7707         e_ident.  Don't pass to find_mapsXX.
7708         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7710 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7712         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7713         strchr-sse2-no-bsf strrchr-sse2-no-bsf
7714         * sysdeps/x86_64/multiarch/strchr.S: Update.
7715         Check bit_slow_BSF bit.
7716         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7717         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7718         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7720 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
7722         [BZ #13134]
7723         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7724         before glibc 2.15.
7725         (tryshell): Define.
7726         (__spawni): Change last parameter to be flag.  Test
7727         SPAWN_XFLAGS_USE_PATH flag to use path or not.
7728         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7729         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7730         * posix/spawni.c: Likewise.
7731         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7732         * posix/spawnp.c: Likewise.  Change normal version to use
7733         SPAWN_XFLAGS_USE_PATH.
7734         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7735         SPAWN_XFLAGS_TRY_SHELL.
7737         [BZ #13150]
7738         * posix/glob.h: Remove gcc 1.x support.
7740         [BZ #13068]
7741         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7743 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7745         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7746         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7747         strrchr-sse2-bsf
7748         * sysdeps/i386/i686/multiarch/strchr.S: New file.
7749         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7750         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7751         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7752         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7753         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7755 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7757         * sysdeps/x86_64/wcscmp.S: New file.
7759         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7760         wcscmp-c wcscmp-sse2
7761         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7762         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7763         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7764         * wcsmbs/wcscmp.c: Allow renaming.
7766 2011-09-05  David S. Miller  <davem@davemloft.net>
7768         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7769         stack slot, rather than the struct return pointer slot.
7770         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7771         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7772         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7773         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7775 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
7777         * po/ja.po: Update from translation team.
7779         [BZ #13144]
7780         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7781         kernel in 64-bit binaries.
7783 2011-09-01  David S. Miller  <davem@davemloft.net>
7785         * elf/elf.h (HWCAP_SPARC_*): Move to..
7786         * sysdeps/sparc/sysdep.h: this new file and add new values.
7787         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7788         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7789         _DL_HWCAP_COUNT to 24.
7790         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7791         entries.
7792         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7793         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7794         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7795         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7796         instead of magic constants.
7797         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7799 2011-08-31  David S. Miller  <davem@davemloft.net>
7801         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7802         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7803         Reimplement to do errno handling inline.
7804         (SYSCALL_ERROR_HANDLER): New macro.
7805         (__SYSCALL_STRING): Do not do errno handling in asm.
7806         (__CLONE_SYSCALL_STRING): Delete.
7807         (__INTERNAL_SYSCALL_STRING): Delete.
7808         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7809         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7810         (PSEUDO): Reimplement to do errno handling inline.
7811         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7812         (SYSCALL_ERROR_HANDLER): New macro.
7813         (__SYSCALL_STRING): Do not do errno handling in asm.
7814         (__CLONE_SYSCALL_STRING): Delete.
7815         (__INTERNAL_SYSCALL_STRING): Delete.
7816         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7817         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7818         i386.
7819         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7820         (inline_syscall*): Add 'err' argument.
7821         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7822         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7823         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7824         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7826         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7827         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7829 2011-08-30  Andreas Schwab  <schwab@redhat.com>
7831         * elf/rtld.c (dl_main): Relocate objects in dependency order.
7833 2011-08-29  Jiri Olsa <jolsa@redhat.com>
7835         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7836         directive.
7838 2011-08-24  David S. Miller  <davem@davemloft.net>
7840         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7842 2011-08-24  Andreas Schwab  <schwab@redhat.com>
7844         * elf/Makefile: Add rules to build and run unload8 test.
7845         * elf/unload8.c: New file.
7846         * elf/unload8mod1.c: New file.
7847         * elf/unload8mod1x.c: New file.
7848         * elf/unload8mod2.c: New file.
7849         * elf/unload8mod3.c: New file.
7851         * elf/dl-close.c (_dl_close_worker): Reset private search list if
7852         it wasn't used.
7854 2011-08-23  David S. Miller  <davem@davemloft.net>
7856         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7857         subtract stack bias.
7858         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7859         %sp not %fp in calculations.
7860         (_JMPBUF_UNWINDS_ADJ): Likewise.
7862         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7863         (aio_suspend): Call it to force an exception region around the
7864         AIO_MISC_WAIT() invocation.
7866 2011-08-23  Andreas Schwab  <schwab@redhat.com>
7868         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7869         backslash.
7871 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
7873         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7874         protection macro.
7875         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7876         and <dl-machine.h>.
7877         (Elf64_FuncDesc): Remove.
7879 2011-08-22  David S. Miller  <davem@davemloft.net>
7881         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7882         sigaltstack check, add missing cfi directives.
7883         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7884         missing cfi directives, and sigaltstack handling.
7886 2011-08-16  Andreas Schwab  <schwab@redhat.com>
7888         [BZ #11724]
7889         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7890         object is seen twice.
7891         * elf/dl-fini.c (_dl_sort_fini): Likewise.
7893         * elf/Makefile (distribute): Add tst-initorder2.c.
7894         (tests): Add tst-initorder2.
7895         (modules-names): Add tst-initorder2a tst-initorder2b
7896         tst-initorder2c tst-initorder2d.  Add rules to build them.
7897         ($(objpfx)tst-initorder2.out): New rule.
7898         * elf/tst-initorder2.c: New file.
7899         * elf/tst-initorder2.exp: New file.
7901 2011-08-22  Andreas Schwab  <schwab@redhat.com>
7903         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7905         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7906         dependencies back to end of function.
7908         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7909         $(elfobjdir)/ld.so.
7911 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
7913         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7914         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7915         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
7916         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
7917         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
7918         of __vdso_gettimeofday.
7919         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
7920         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
7921         attribute_hidden.
7922         (_libc_vdso_platform_setup): Remove initialization of
7923         __vdso_gettimeofday and __vdso_time.
7925 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
7927         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
7928         and fgetc_unlocked.
7929         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
7930         getc_unlocked.
7932         * elf/dl-open.c (add_to_global): Report additions to the global scope
7933         for LD_DEBUG=scopes.
7934         (dl_open_worker): Also print scope of newly loaded dependencies.
7935         (_dl_show_scope): Indicate if there is no scope.
7937         [BZ #13114]
7938         * stdio-common/Makefile (tests): Add bug24.
7939         * stdio-common/bug24.c: New file.
7941 2011-08-19  Andreas Jaeger  <aj@suse.de>
7943         [BZ #13114]
7944         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
7945         non-existant file when using close-on-exec mode.
7947 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
7949         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
7950         the very first instruction.
7952         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
7953         the CFI state in the end.
7954         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
7955         inclusion of dl-trampoline.h.
7956         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
7958 2011-08-19  Andreas Schwab  <schwab@redhat.com>
7960         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
7961         expectations for long double.
7963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
7964         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
7966 2011-08-14  David S. Miller  <davem@davemloft.net>
7968         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
7969         artificual limit depends upon the system page size.
7971 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
7973         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
7974         * resolv/Makefile: Define CFLAGS-libresolv.
7976 2011-08-17  Andreas Schwab  <schwab@redhat.com>
7978         * nss/makedb.c (compute_tables): Make variables used in nested
7979         function static.
7981 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
7983         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
7984         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
7985         if buffer was too small.
7987         * elf/pldd.c (main): Attach to all threads in the process.
7988         Rewrite /proc handling to use *at functions.
7990 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
7992         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
7993         specifies first scope to show.
7994         (dl_open_worker): Update callers.  Move printing scope of new
7995         object to before the relocation.
7996         * elf/rtld.c (dl_main): Update _dl_show_scope call.
7997         * sysdeps/generic/ldsodefs.h: Update declaration.
7999         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
8000         string for the scope number.
8002 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
8004         * nscd/servicescache.c (cache_addserv): Make sure written is always
8005         initialized.
8007 2011-08-14  Roland McGrath  <roland@hack.frob.com>
8009         * sysdeps/i386/i486/bits/atomic.h
8010         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
8011         statement expression, so as to suppress "set but not used" warning.
8012         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
8014         * string/strncat.c (STRNCAT): Use prototype definition.
8016         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
8017         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
8018         -Iprograms here.
8019         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
8020         (localedef-modules): Add localedef.
8021         (locale-modules): Add locale.
8023         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
8024         * elf/rtld.c (dl_main): Invert order of assignment in last change,
8025         to avoid a warning.
8027 2011-08-14  David S. Miller  <davem@davemloft.net>
8029         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
8030         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
8032 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
8034         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
8035         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
8036         * elf/rtld.c (dl_main): Set l_name of vDSO.
8037         Call _dl_show_scope when DL_DEBUG_SCOPES.
8038         (process_dl_debug): Recognize scopes flag and also set it for all.
8039         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
8040         Declare _dl_show_scope.
8042         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
8043         (do_dlopen): Pass caller_dlopen to dl_open.
8044         (__libc_dlopen_mode): Initialize caller_dlopen.
8046         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
8047         of libc.  Make tolower call locale-independent.  Optimize a bit by
8048         using isdigit instead of isalnum.
8049         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
8051 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
8053         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
8054         was a dependency or dynamically loaded.
8056 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
8058         * intl/l10nflist.c: Allow architecture-specific pop function.
8059         * sysdeps/x86_64/l10nflist.c: New file.
8061         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
8062         classification.
8064 2011-08-10  Andreas Schwab  <schwab@redhat.com>
8066         * include/dirent.h: Add libc_hidden_proto for scandirat and
8067         scandirat64.  Don't declare __scandirat64.
8068         * dirent/scandirat.c: Add libc_hidden_def.
8069         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
8070         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
8072 2011-08-10  David S. Miller  <davem@davemloft.net>
8074         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
8075         enum.
8076         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8077         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8078         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8080 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
8082         * Versions.def [libc]: Add GLIBC_2.15.
8083         * dirent/Makefile (routines): Add scandirat and scandirat64.
8084         * dirent/Versions [libc]: Export scandirat and scandirat64 for
8085         GLIBC_2.15.
8086         * dirent/dirent.h: Declare scandirat and scandirat64.
8087         * dirent/scandirat.c: New file.
8088         * dirent/scandirat64.c: New file.
8089         * sysdeps/wordsize-64/scandirat.c: New file.
8090         * sysdeps/wordsize-64/scandirat64.c: New file.
8091         * dirent/opendir.c: Define opendirat.
8092         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
8093         using scandirat.
8094         * dirent/scandir64.c: Adjust for scandir.c change.
8095         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
8096         __scandirat64, and __scandir_cancel_handler.
8097         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
8098         additional parameter and use openat instead of open (outside of ld.so).
8099         Add new __opendir as wrapper around __opendirat.
8100         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
8101         here without requiring old scandirat implementation.
8103 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
8105         * dirent/scandir.c (cancel_handler): Renamed to
8106         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
8107         defined.  Adjust users.
8108         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
8109         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
8111 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
8113         * string/test-string.h (IMPL): Use __STRING to expand name and then
8114         stringify it.
8116         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
8117         of cleanups.
8119 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8121         * string/Makefile: Update.
8122         (strop-tests): Append strncat.
8123         * string/test-wcscmp.c: New file.
8124         New comprehensive test for wcscmp.
8125         * string/test-strcmp.c: Update.
8126         (WIDE): New define.
8128 2011-07-22  Andreas Schwab  <schwab@redhat.com>
8130         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
8131         line.
8133 2011-07-26  Andreas Schwab  <schwab@redhat.com>
8135         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8136         encoding to ACE if AI_IDN.
8138 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
8140         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
8141         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
8143 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8145         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
8146         Fix overflow bug in strncat.
8147         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8149         * string/test-strncat.c: Update.
8150         Add new tests for checking overflow bugs.
8152 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8154         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8155         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
8156         * sysdeps/i386/i686/multiarch/strcat.S: New file.
8157         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
8158         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
8159         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
8160         * sysdeps/i386/i686/multiarch/strncat.S: New file.
8161         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
8162         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
8164         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
8165         (USE_AS_STRCAT): Define.
8166         Add strcat and strncat support.
8167         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8169 2011-07-25  Andreas Schwab  <schwab@redhat.com>
8171         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
8172         __n bigger than INT_MAX+1.
8173         (__strncmp_g): Likewise.
8175 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
8177         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
8178         * libio/stido.h: Likewise.
8180         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
8181         (AF_NFC): Define.
8182         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
8183         (AF_NFC): Define.
8185         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
8186         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8187         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8188         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
8189         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8191         [BZ #13021]
8192         * scripts/test-installation.pl: Don't expect libnss_test1 to be
8193         installed.
8195         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
8196         typo.
8197         (_dl_x86_64_save_sse): Likewise.
8199 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
8201         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
8202         OSXSAVE.
8203         (_dl_x86_64_save_sse): Likewise.
8205         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
8207         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
8209 2011-07-21  Andreas Schwab  <schwab@redhat.com>
8211         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
8212         change.
8213         (_dl_x86_64_save_sse): Use correct AVX check.
8215 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8217         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
8218         bug in strncpy/strncat.
8219         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8221 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
8223         * string/tester.c (test_strcat): Add tests for different alignments
8224         of source and destination.
8225         (test_strncat): Likewise.
8227 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
8229         [BZ #12852]
8230         * posix/glob.c (glob): Check passed in values before using them in
8231         expressions to avoid some overflows.
8232         (glob_in_dir): Likewise.
8234         [BZ #13007]
8235         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
8236         check for AVX enablement so that we don't crash with old kernels and
8237         new hardware.
8238         * elf/tst-audit4.c: Add same checks here.
8239         * elf/tst-audit6.c: Likewise.
8241         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
8243 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
8245         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
8247 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
8249         * po/cs.po: Update from translation team.
8250         * po/bg.po: Likewise.
8252 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
8254         * misc/sys/cdefs.h: Add support for const attribute.
8255         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
8256         to gnu_dev_{major,minor,makedev} functions.
8258 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
8260         * intl/dcigettext.c (get_output_charset): Add missing bracket.
8262 2011-07-20  Andreas Schwab  <schwab@redhat.com>
8264         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
8265         strlen results.
8267 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8269         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
8270         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
8271         register in order to avoid conflicts with the soft frame pointer
8272         being held in r11 when necessary.
8273         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
8274         (INTERNAL_VSYSCALL_NCS): Likewise.
8276 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
8278         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
8279         * elf/dl-fini.c (_dl_fini): Adjust caller.
8280         * elf/dl-close.c (_dl_close_worker): Likewise.
8281         * sysdeps/generic/ldsodefs.h: Adjust declaration.
8283 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
8285         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
8286         "aux_cache->nlibs < 0".
8288         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
8289         in the reload-count case.
8291 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8293         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8294         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
8295         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
8296         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
8297         * sysdeps/x86_64/multiarch/strcat.S: New file.
8298         * sysdeps/x86_64/multiarch/strncat.S: New file.
8299         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
8300         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
8301         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
8302         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
8303         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
8304         (USE_AS_STRCAT): Define.
8305         Add strcat and strncat support.
8306         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8307         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8308         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
8309         * string/strncat.c: Update.
8310         (USE_AS_STRNCAT): Define.
8311         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8312         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
8313         and i7.
8314         * sysdeps/x86_64/multiarch/init-arch.h
8315         (bit_Prefer_PMINUB_for_stringop): New.
8316         (index_Prefer_PMINUB_for_stringop): Likewise.
8317         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
8318         bit_Prefer_PMINUB_for_stringop.
8320 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
8322         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
8323         buffer64.
8324         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
8325         of casting of buffer.
8326         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
8327         buffer32 and buffer64.
8328         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
8329         writes instead of casting of buffer.
8330         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
8331         buffer32.
8332         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
8333         casting of buffer.
8335 2011-07-19  Andreas Schwab  <schwab@redhat.com>
8337         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
8339 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
8341         * nscd/nscd.c (termination_handler): Don't do anything for a database
8342         if it has not yet been initialized.
8344 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
8346         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8348 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
8350         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8352 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
8354         * po/nl.po: Update from translation team.
8355         * po/sv.po: Likewise.
8357 2011-07-16  Roland McGrath  <roland@hack.frob.com>
8359         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
8360         now disallowed by GCC.
8362         * configure.in (use-default-link): Default to yes if a test -shared
8363         link meets our qualifications.
8364         * configure: Regenerated.
8366         * config.make.in (output-format): New variable.
8367         * configure.in: Check for ld --print-output-format support.
8368         * configure: Regenerated.
8369         * Makerules ($(common-objpfx)format.lds)
8370         [$(output-format) != unknown]: Just use $(output-format),
8371         instead of the linker-script munging.
8373 2011-07-14  Roland McGrath  <roland@hack.frob.com>
8375         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
8376         of $(common-objpfx)shlib.lds.
8377         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
8379         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
8380         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
8382         * configure.in (-z relro check): Adjust test code to add a large
8383         writable data section after it.
8384         * configure: Regenerated.
8386 2011-07-11  Roland McGrath  <roland@hack.frob.com>
8388         * configure.in (-z relro check): Fix test code to make the variable
8389         truly const.
8390         * configure: Regenerated.
8392 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
8394         * nscd/nscd.h (struct traced_file): Define.
8395         (struct database_dyn): Remove inotify_descr, reset_res, and filename
8396         elements.  Add traced_files.
8397         (inotify_fd): Declare.
8398         (register_traced_file): Declare.
8399         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
8400         (inotify_fd): Export.
8401         (resolv_conf_descr): Remove.
8402         (nscd_init): Move inotify descriptor creation to main.
8403         Don't register files for notification here.
8404         (register_traced_file): New function.
8405         (invalidate_cache): Don't use reset_res to determine whether to call
8406         res_init, go through the list of registered files.
8407         (main_loop_poll): The inotify descriptors are now stored in the
8408         structures for the traced files.
8409         (main_loop_epoll): Likewise
8410         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
8411         to __nss_disable_nscd.
8412         * nscd/cache.c (prune_cache): There is no single inotify descriptor
8413         for a database anymore.  Check the records for all the registered
8414         files instead.
8415         * nss/Makefile (libnss_files-routines): Add files-init.
8416         (libnss_db-routines): Add db-init.
8417         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
8418         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
8419         * nss/nss_db/db-init.c: New file.
8420         * nss/nss_files/files-init.c: New file.
8421         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
8422         __nss_lookup_function.
8423         (__nss_lookup_function): Call nss_load_library.
8424         (nss_load_all_libraries): New function.
8425         (__nss_disable_nscd): Take parameter with callback function for files
8426         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
8427         used for the cached services.
8428         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
8429         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
8430         options for features to all the files in nscd.
8432         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
8434 2011-07-10  Roland McGrath  <roland@hack.frob.com>
8436         * csu/elf-init.c (__libc_csu_init): Comment typo.
8438 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
8440         * po/pl.po: Update from translation team.
8441         * po/ja.po: Likewise.
8442         * po/ru.po: Likewise.
8443         * po/ko.po: Likewise.
8444         * po/fr.po: Likewise.
8446 2011-07-09  Roland McGrath  <roland@hack.frob.com>
8448         * configure.in (.ctors/.dtors header and trailer check):
8449         Use an empirical test on a built program.
8450         * configure: Regenerated.
8452         * configure.in (-z relro check): Use an empirical test on a built DSO.
8453         Detect, but do not require, on ia64.
8454         * configure: Regenerated.
8456         * configure.in (READELF): Find it with AC_CHECK_TOOL.
8457         Update tests that use readelf to use $READELF instead.
8458         * configure: Regenerated.
8460 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
8462         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
8463         if the result is not used.
8465 2011-07-05  Andreas Jaeger  <aj@suse.de>
8467         [BZ#9696]
8468         * stdlib/tst-strtod.c: Add testcase.
8470 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
8472         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
8473         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
8474         The latter has a higher limit.  Take additional parameter to pass to
8475         the new function.
8476         (__pathconf): Pass file to __statfs_link_max.
8477         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
8478         __statfs_link_max.
8479         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
8480         __statfs_link_max.
8482         [BZ #12868]
8483         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
8484         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8485         Handle Lustre.
8486         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
8487         (__statfs_filesize_max): Likewise.
8488         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
8490 2011-07-05  Andreas Jaeger  <aj@suse.de>
8492         * resolv/res_comp.c (dn_skipname): Remove unused variable.
8494 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
8496         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
8497         `status' variable.
8498         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
8499         Likewise.
8501 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
8503         * Makefile (strop-tests): Add strncat.
8504         * string/test-strncat.c: New file.
8506 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
8508         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
8510 2011-06-21  Andreas Jaeger  <aj@suse.de>
8512         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
8513         Copy rule from iconvdata/Makefile.
8515 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
8517         [BZ #12922]
8518         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
8519         but no long options are defined, just return 'W'.
8521 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
8523         [BZ #9696]
8524         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
8526 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
8528         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
8529         netgroups to read.
8530         (innetgr): Likewise.
8532 2011-07-05  Roland McGrath  <roland@hack.frob.com>
8534         * config.make.in (install_root): Default to $(DESTDIR).
8536 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
8538         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
8540 2011-07-02  Roland McGrath  <roland@hack.frob.com>
8542         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
8544         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
8545         containing directory rather than embedding absolute directory names.
8547         * scripts/check-local-headers.sh: Rewritten using awk.
8548         Match by word, not by line.  Print error messages for matches.
8549         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
8551         * Makerules [shlib-lds-flags empty]:
8552         ($(common-objpfx)libc_pic.opts): New target.
8553         ($(common-objpfx)libc_pic.os.clean): New target.
8554         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
8556         * config.make.in (OBJCOPY): New variable.
8557         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
8558         * configure: Regenerated.
8560         * config.make.in (use-default-link): New variable.
8561         * configure.in (use_default_link): Grok --with-default-link to set it.
8562         * configure: Regenerated.
8563         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
8564         (shlib-lds, shlib-lds-flags): Define to empty.
8566         * Makerules (shlib-lds): New variable.
8567         (shlib-lds-flags): New variable.
8568         (build-shlib, build-moduile, build-module-asneeded): Use it.
8569         ($(common-objpfx)libc.so): Use $(shlib-lds).
8570         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
8571         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
8573         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
8574         DT_FLAGS/DT_FLAGS_1 with zero flags.
8576         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
8577         linker script munging.
8579 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
8581         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
8582         as 128-bit value.
8583         * crypt/sha512.c (sha512_process_block): Perform total addition using
8584         128-bit if possible.
8585         (__sha512_finish_ctx): Likewise.
8586         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
8587         as 64-bit value.
8588         * crypt/sha256.c (SWAP64): Define.
8589         (sha256_process_block): Perform total addition using 64-bit if
8590         possible.
8591         (__sha256_finish_ctx): Likewise.
8593 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
8595         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
8596         * nscd/initgrcache.c (addinitgroupsX): Likewise.
8597         * nscd/hstcache.c (cache_addhst): Likewise.
8598         * nscd/grpcache.c (cache_addgr): Likewise.
8599         * nscd/aicache.c (addhstaiX): Likewise
8600         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
8602 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
8604         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
8605         * nscd/initgrcache.c (addinitgroupsX): Likewise.
8606         * nscd/hstcache.c (cache_addhst): Likewise.
8607         * nscd/grpcache.c (cache_addgr): Likewise.
8608         * nscd/aicache.c (addhstaiX): Likewise
8610 2011-07-01  Andreas Schwab  <schwab@redhat.com>
8612         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
8613         domain only when needed.
8615 2011-06-30  Andreas Schwab  <schwab@redhat.com>
8617         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
8618         is always restored.
8620 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
8622         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
8623         are re-adding the entry.
8624         * nscd/servicescache.c (cache_addserv): Likewise.
8626 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
8628         * sysdeps/generic/dl-irel.h: fix protection against multiple
8629         inclusions.
8630         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
8632 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
8634         [BZ #12935]
8635         * malloc/memusage.sh: Fix quoting in message.
8636         * debug/xtrace.sh: Likewise.
8638         * configure.in: Remove support for --experimental-malloc option, make
8639         it the default.
8640         * config.make.in: Likewise.
8641         * malloc/Makefile: Likewise.
8643 2011-06-27  Andreas Schwab  <schwab@redhat.com>
8645         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
8646         two-byte characters.
8648 2011-06-27  Roland McGrath  <roland@hack.frob.com>
8650         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
8651         AC_CACHE_CHECK invocation.
8652         * configure: Regenerated.
8654         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8656 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
8658         [BZ #12350]
8659         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
8660         bit from old_res_options.
8662         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8664         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8665         value type for setfct.
8667 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
8669         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8670         __gettimeofday instead of gettimeofday.
8672 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
8674         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8676 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
8678         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8680         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8681         info.
8683 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
8685         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8686         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8687         strcpy-sse2-unaligned strncpy-sse2-unaligned
8688         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8689         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8690         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8691         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8692         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8693         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8694         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8695         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8696         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8697         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8698         (STRCPY): Support SSE2 and SSSE3 versions.
8700 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
8702         [BZ #12874]
8703         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8704         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8705         kernels which artificially limit size of requests.
8707 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
8709         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8710         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8711         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8712         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8713         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8714         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8715         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8716         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8717         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8718         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8719         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8720         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8721         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8722         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8723         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8724         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8725         Enable unaligned load optimization for Intel Core i3, i5 and i7
8726         processors.
8727         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8728         Define.
8729         (index_Fast_Unaligned_Load): Define.
8730         (HAS_FAST_UNALIGNED_LOAD): Define.
8732 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
8734         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8736 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
8738         [BZ #12907]
8739         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8740         until it is clear that the information is realy needed.
8741         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8743 2011-06-22  Andreas Schwab  <schwab@redhat.com>
8745         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8747 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
8749         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8750         /sys/devices/system/cpu/online if it is usable.
8752         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8753         reading the information from the /proc filesystem to once a second.
8755 2011-06-21  Andreas Jaeger  <aj@suse.de>
8757         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8758         NULL after inclusion of kernel headers.
8760 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
8762         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8763         calls to internal_setent.
8765         [BZ #12885]
8766         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8767         addresses using gethostbyname4_r ignore IPv4 addresses.
8769         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8770         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
8772         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8774 2011-06-20  David S. Miller  <davem@davemloft.net>
8776         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8777         inclusions.
8778         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8780         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8781         (elf_irel): Use it.
8782         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8783         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8784         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8785         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8786         * sysdeps/x86_64/dl-irel.h: Likewise.
8788         * elf/dl-runtime.c: Use elf_ifunc_invoke.
8789         * elf/dl-sym.c: Likewise.
8791 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
8793         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
8794         need to dereference resplen2.
8796 2011-06-14  Andreas Schwab  <schwab@redhat.com>
8798         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8800 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
8802         * Makeconfig: Define vardbdir and inst_vardbdir.
8803         * nss/Makefile: Add rules to install db-Makefile.
8805         * nss/nss_db/db-XXX.c: Cleanup.
8807         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8808         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8809         GLIBC_PRIVATE.
8810         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8811         * nss/makedb.c: Implement -g option to specify that value strings
8812         are generated and should not be added to table iterated over for
8813         get*ent calls.
8814         * nss/nss_db/db-initgroups.c: New file.
8816         * nss/getent.c: Add support for initgroups lookups through getgrouplist
8817         interface.
8819         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8820         (internal_getgrouplist): Adjust to name change.
8821         Update use_initgroups_entry if this is not the first call.
8822         * nss/databases.def: Add initgroups entry.
8824         * nss/makedb.c (compute_tables): Check result of multiple hash table
8825         sizes to minimize maximum chain length.
8827 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
8829         * Versions.def: Add entry for libnss_db.
8830         * shlib-versions: Likewise.
8831         * nss/Makefile: Add rules to build libnss_db.
8832         * nss/Versions: Add libnss_db information.  Organize libnss_files
8833         entries better.
8834         * nss/db-Makefile: Add gshadow support.  Change rules for the new
8835         makedb progra.  Some minor improvements to generate smaller files.
8836         * nss/nss_db/nss_db.h: Move NSS database header data structures to
8837         here from...
8838         * nss/makedb.c: ...here.
8839         Improve database format to be smaller and require less memory at
8840         runtime.
8841         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
8842         db anymore.
8843         * nss/nss_db/db-netgrp.c: Likewise.
8844         * nss/nss_db/db-open.c: Likewise.
8845         * nss/nss_files/flies-XXX.x: Adjust comments.
8846         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8847         * nss/nss_files/files-grp.c: Likewise.
8848         * nss/nss_files/files-hosts.c: Likewise.
8849         * nss/nss_files/files-network.c: Likewise.
8850         * nss/nss_files/files-proto.c: Likewise.
8851         * nss/nss_files/files-pwd.c: Likewise.
8852         * nss/nss_files/files-rpc.c: Likewise.
8853         * nss/nss_files/files-service.c: Likewise.
8854         * nss/nss_files/files-sgrp.c: Likewise.
8855         * nss/nss_files/files-spwd.c: Likewise.
8856         * nss/nss_db/db-alias.c: Removed.
8857         * nss/nss_db/dummy-db.h: Removed.
8859 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
8861         * nss/makedb.c: Rewritten to not use database library.
8862         * nss/Makefile: Update to build new makedb program.
8864 2011-06-14  Andreas Jaeger  <aj@suse.de>
8866         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8867         memset declaration.
8869 2011-06-10  Andreas Schwab  <schwab@redhat.com>
8871         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8872         tmpbuf.
8874 2011-06-10  Roland McGrath  <roland@hack.frob.com>
8876         * Makerules (shlib.lds): Fail if the linker script comes out empty.
8877         * elf/Makefile ($(objpfx)ld.so): Likewise.
8879         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8880         Don't list ld.so twice in dependencies.
8882         * posix/bug-regex31.c: Include <stdlib.h>.
8884         * nscd/hstcache.c (cache_addhst): Remove unused variable.
8886         * nis/nss_compat/compat-spwd.c
8887         (getspent_next_nss_netgr): Remove unused variable.
8888         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8890         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8891         nonmembers" output to use the right array.
8893         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8895         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8897         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8898         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8899         * catgets/gencat.c (read_input_file): Likewise.
8900         * locale/programs/locarchive.c (enlarge_archive): Likewise.
8902         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8903         variable definition inside #if's controlling its use.
8905         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8907         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8909         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8911         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8912         unreachable code.
8914         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
8916         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
8917         * configure: Regenerated.
8919         * Makerules: Revert last change.
8920         * elf/Makefile: Likewise.
8922 2011-06-09  Roland McGrath  <roland@hack.frob.com>
8924         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
8925         * elf/Makefile ($(objpfx)librtld.os): Likewise.
8926         (reloc-link): Likewise.
8928 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
8930         * elf/Makefile: Add rules to build pldd.
8931         * elf/pldd.c: New file.
8932         * elf/pldd-xx.c: New file.
8934 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
8936         * version.h: Update for 2.15 development version.
8938 2011-06-07  David S. Miller  <davem@davemloft.net>
8940         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
8941         ifuncs.
8942         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
8943         elf_machine_lazy_rel): Likewise.
8944         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8945         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
8946         elf_machine_lazy_rel): Likewise.
8947         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
8948         dl_hwcap via passed in argument.
8949         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
8950         Likewise.
8952 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8954         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
8956 2011-06-06  Roland McGrath  <roland@hack.frob.com>
8958         [BZ #12849]
8959         * manual/fdl-1.1.texi: New file, verbatim from:
8960         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
8961         * manual/lgpl-2.1.texi: New file, verbatim from:
8962         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
8963         * manual/Makefile (licenses): New variable, list those new file names.
8964         (texis): Use it.
8965         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
8967         * manual/fdl.texi: File removed.
8968         * manual/lesser.texi: File removed.
8969         * manual/libc.texinfo (Copying, Documentation License):
8970         Use new @include file names, put @appendix directive before @include.
8972 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
8974         [BZ #12841]
8975         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
8976         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
8977         (mq_open): Add __NTH.
8979 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
8981         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8982         Assume Intel Core i3/i5/i7 processor if AVX is available.
8984 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
8986         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8987         typo.
8989 2011-05-31  Andreas Schwab  <schwab@redhat.com>
8991         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
8992         memory.  Use alloca_account.  Fix memory leak when retrying.
8994 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
8996         * version.h (RELEASE): Bump for 2.14 release.
8997         * include/features.h (__GLIBC_MINOR__): Bump to 14.
8999         * config.make.in (RANLIB): Remove entry.
9001 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
9003         * po/Makefile (po-sed-cmd): Add ksh to extensions.
9004         (libc.pot): Work around missing support for .ksh extension in xgettext.
9006         [BZ #12684]
9007         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
9008         if both request failed.
9009         (send_dg): In case of server errors clear resplen or *resplen2.
9011         [BZ #12454]
9012         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
9013         when there are multiple maps.
9014         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
9015         (_dl_fini): Remove test here.
9017         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
9019 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
9021         [BZ #12350]
9022         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
9023         bit from old_res_options.
9024         (gaih_inet): Likewise.
9026         [BZ #11099]
9027         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
9028         as signed.
9030         * resolv/res_init.c (res_setoptions): Make the code more compact.
9032         [BZ #11558]
9033         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
9034         set RES_USEVC.
9036         [BZ #11634]
9037         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
9039         * malloc/malloc.h: Mark malloc hook variables as deprecated.
9041         [BZ #11781]
9042         * malloc/malloc.h: Declare malloc hook variables as volatile.
9044         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
9045         in last patch.
9047         [BZ #11799]
9048         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
9049         raise in the comment.
9050         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9051         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9052         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
9054 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
9056         [BZ #12811]
9057         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
9058         grow the buffers more if it already has to be sufficient.
9059         (build_wcs_upper_buffer): Likewise.
9060         * posix/regexec.c (check_matching): Likewise.
9061         (clean_state_log_if_needed): Likewise.
9062         (extend_buffers): Don't enlarge buffers beyond size of the input
9063         buffer.
9064         Patches mostly by Emil Wojak <emil@wojak.eu>.
9065         * posix/bug-regex32.c: New file.
9066         * posix/Makefile (tests): Add bug-regex32.
9068         * locale/findlocale.c (_nl_find_locale): Return right away if
9069         _nl_explode_name failed.
9070         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
9072         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
9074         * debug/xtrace.sh: Unify messages.
9075         * malloc/memusage.sh: Likewise.
9077         [BZ #12813]
9078         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
9079         time symbol from vDSO.  Substitute with vsyscall if not available.
9080         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
9081         __vdso_time.
9083         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
9084         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
9085         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
9086         Add sendmmsg and internal_sendmmsg.
9087         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
9088         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
9089         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
9091         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
9092         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
9093         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
9095 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
9097         [BZ #12813]
9098         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
9099         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
9100         available.
9101         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
9102         __vdso_getcpu.
9104         [BZ #12814]
9105         * iconvdata/Makefile (tests): Add bug-iconv9.
9106         * iconvdata/bug-iconv9.c: New file.
9108 2011-05-27  Andreas Schwab  <schwab@redhat.com>
9110         [BZ #12814]
9111         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
9113 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
9115         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9116         (struct user_regs_struct): Change intcs field back to cs.
9118 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
9120         * po/ja.po: Update from translation team.
9122 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
9124         [BZ #12795]
9125         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
9126         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
9128 2011-05-20  Andreas Schwab  <schwab@redhat.com>
9130         * stdlib/longlong.h: Update from GCC.
9132 2011-05-23  Andreas Schwab  <schwab@redhat.com>
9134         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
9135         parameter name.
9136         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
9137         Add parameter name.
9138         (__sysconf): Pass it down.
9140 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
9142         [BZ #12671]
9143         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
9144         some situations.
9145         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9146         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
9147         add in in __libc_use_alloca calls.  Adjust callers.
9148         (glob): Use malloc in some situations.
9150         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
9151         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
9152         pltexit.
9154 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
9156         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
9157         and CLOCK_BOOTTIME_ALARM.
9159         [BZ #12782]
9160         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
9161         is returned.
9163         * string/_strerror.c (__strerror_r): Print negative errors as signed
9164         numbers.
9166         [BZ #12777]
9167         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
9168         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
9169         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
9171         * configure.in: Fix typo in redirection and correct removal of test
9172         files in two cases.
9174         [BZ #12788]
9175         * locale/setlocale.c (new_composite_name): Fix test to check for
9176         identical name of all categories.
9178         [BZ #12792]
9179         * libio/filedoalloc.c (local_isatty): New function.
9180         (_IO_file_doallocate): Use local_isatty.
9181         * stdio-common/perror.c (perror): In case a new stream is used
9182         forward the stream error.
9183         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
9184         error flag.
9186 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
9188         [BZ #11869]
9189         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
9190         alloca.
9191         * include/alloca.h (extend_alloca_account): Define.
9193         [BZ #11857]
9194         * posix/regex.h: Fix comments with documentation of user-accessible
9195         fields after compilation and describe correct free'ing of pattern
9196         after re_compile_pattern.
9197         Patch by Reuben Thomas <rrt@sc3d.org>.
9199 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
9201         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
9202         and -mno-altivec to prevent the compiler from using Altivec and/or
9203         VSX instructions when the corresponding registers are not available.
9205 2011-05-19  Andreas Schwab  <schwab@redhat.com>
9207         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
9209 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
9211         * libio/freopen.c (freopen): Use __dup2, not dup2.
9212         * libio/freopen64.c (freopen64): Likewise.
9214 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
9216         [BZ #12775]
9217         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
9218         * math/Makefile (tests): Add test-powl.
9219         (CFLAGS-test-powl.c): Define.
9220         * math/test-powl.c: New file.
9222 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9224         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
9226 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
9228         [BZ #11837]
9229         * iconvdata/gb18030.c: Update to GB18020-2005.
9231 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
9233         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
9234         RE_SYNTAX_POSIX_AWK): Update to match recent development.
9235         Patch by Aharon Robbins <arnold@skeeve.com>.
9237         [BZ #11892]
9238         * stdlib/putenv.c (putenv): Don't always create copy of the variable
9239         on the stack.
9241         [BZ #11895]
9242         * misc/pselect.c (__pselect): Handle timeout value errors hidden
9243         through underflows.
9245         [BZ #12766]
9246         * misc/error.c (error_at_line): Ensure file_name and old_file_name
9247         point to strings before performing equality test for error_one_per_line
9248         mode.
9250         [BZ #11697]
9251         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
9253         [BZ #11820]
9254         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9255         (struct user_fpregs_struct): Avoid __uint*_t types.
9257         [BZ #6420]
9258         * malloc/mtrace.c (tr_where): Add additional parameter to point to
9259         symbol info.  Use it instead of calling _dl_addr locally.
9260         (lock_and_info): New function.
9261         (tr_freehook): Call lock_and_info and pass symbol info as additional
9262         parameter to tr_where.
9263         (tr_mallochook): Likewise.
9264         (tr_reallochook): Likewise.
9265         (tr_memalignhook): Likewise.
9267         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
9268         used and couldn't be at all thread-safe.
9270 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
9272         * libio/freopen.c (freopen): Don't close old file descriptor
9273         before the new one is opened.  Instead dup the new file descriptor
9274         to the old one after the new stream is created.
9275         * libio/freopen64.c (freopen64): Likewise.
9276         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
9277         * libio/fileops.c (_IO_new_file_close_it): Handle new
9278         _IO_FLAGS2_NOCLOSE flag.
9279         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
9280         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
9281         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
9282         _IO_FLAGS2_NOCLOSE flag.
9283         * include/unistd.h: Add hidden_proto for dup3.
9284         Define __have_dup3.
9285         * io/dup3.c: Define hidden symbol.
9286         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
9288         [BZ #7101]
9289         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
9290         when an incomplete long option is used.
9291         * posix/tst-getopt_long1.c: New file.
9292         * posix/Makefile (tests): Add tst-getopt_long1.
9294         [BZ #10138]
9295         * scripts/config.guess: Update from autoconf-2.68.
9296         * scripts/config.sub: Likewise.
9298         [BZ #10157]
9299         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
9300         tests into ...
9301         (has_cpuclock): ...this.  New function.
9302         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
9303         macro here based on has_cpuclock code.
9305         [BZ #10149]
9306         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9307         First byte (not low byte) is now always NUL.
9308         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
9310         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9311         Use non-cancelable interfaces.
9313         [BZ #9809]
9314         * locale/iso-639.def: Add entry for Sorani.
9316         [BZ #11901]
9317         * include/stdlib.h: Move include protection to the right place.
9318         Define abort_msg_s.  Declare __abort_msg with it.
9319         * stdlib/abort.c (__abort_msg): Adjust type.
9320         * assert/assert.c (__assert_fail_base): New function.  Majority
9321         of code from __assert_fail.  Allocate memory for __abort_msg with
9322         mmap.
9323         (__assert_fail): Now call __assert_fail_base.
9324         * assert/assert-perr.c: Remove bulk of implementation.  Use
9325         __assert_fail_base.
9326         * include/assert.hL Declare __assert_fail_base.
9327         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
9328         mmap.
9329         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
9331 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
9333         [BZ #11952]
9334         [BZ #12453]
9335         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
9336         until all modules are registered in the DTV.
9337         * elf/Makefile: Add rules to build and run tst-tls19.
9338         * elf/tst-tls19.c: New file.
9339         * elf/tst-tls19mod1.c: New file.
9340         * elf/tst-tls19mod2.c: New file.
9341         * elf/tst-tls19mod3.c: New file.
9342         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
9344         [BZ #12083]
9345         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
9346         correctly.
9348         [BZ #12601]
9349         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
9350         two-byte sequence errors.
9351         * iconvdata/Makefile (tests): Add bug-iconv8.
9352         * iconvdata/bug-iconv8.c: New file.
9354         [BZ #12626]
9355         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
9356         buf2 definition.
9358         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
9360         [BZ #12432]
9361         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
9362         (dummy_getcfa): New function.
9363         (init): Get _Unwind_GetCFA address, use dummy if not found.
9364         (backtrace_helper): In recursion check, also check whether CFA changes.
9365         (__backtrace): Completely initialize arg.
9367         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
9368         storing incomplete byte sequence in state object.  Avoid testing for
9369         guaranteed too small input if we know there is enough data available.
9371 2011-05-11  Andreas Schwab  <schwab@redhat.com>
9373         * Makeconfig (+link-pie): Indent.
9374         * Rules (binaries-pie): Define if $(have-fpie) and
9375         $(build-shared).
9376         (binaries-shared): Also filter out $(binaries-pie).
9377         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
9378         * nscd/Makefile (others-pie): Add nscd.
9379         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
9380         ($(objpfx)nscd): Remove command override.
9381         * login/Makefile (others-pie): Add pt_chown.
9382         ($(objpfx)pt_chown): Remove command override.
9383         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
9384         remove command overrides.
9386 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
9388         * libio/tst_putwc.c: Fix error messages.
9390         [BZ #12724]
9391         * libio/fileops.c (_IO_new_file_close_it): Always flush when
9392         currently writing and seek to current position when not.
9393         * libio/Makefile (tests): Add bug-fclose1.
9394         * libio/bug-fclose1.c: New file.
9396 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
9398         [BZ #12511]
9399         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
9400         don't set DF_1_NODELETE here.
9401         (do_lookup_x): When entering new entry test for copy relocation
9402         and if necessary set DF_1_NODELETE flag.
9403         * elf/tst-unique4.cc: New file.
9404         * elf/tst-unique4.h: New file.
9405         * elf/tst-unique4lib.cc: New file.
9406         * elf/Makefile: Add rules to build and run tst-unique4.
9407         Patch by Piotr Bury <pbury@goahead.com>.
9409 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
9411         [BZ #12052]
9412         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
9414         [BZ #12625]
9415         * misc/mntent_r.c (addmntent): Flush the stream after the output
9417         [BZ #12393]
9418         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
9419         (is_trusted_path_normalize): Skip initial colon.  Append slash
9420         to empty buffer.  Duplicate is_trusted_path code but allow
9421         constructed patch to be prefix.
9422         (is_dst): Allow $ORIGIN followed by /.
9423         (_dl_dst_substitute): Correct clearing of check_for_trusted.
9424         Correct testing of result of is_trusted_path_normalize
9425         (decompose_rpath): Fix warning.
9427 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
9429         [BZ #11257]
9430         * grp/initgroups.c (internal_getgrouplist): When we found the service
9431         list through the initgroups entry in nsswitch.conf do not always
9432         continue on a successful lookup.  Don't always use the
9433         __nss_group_database value if it is set.
9434         * nss/nsswitch.conf (initgroups): Change action for successful db
9435         lookup to continue for compatibility.
9437 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
9439         [BZ #11532]
9440         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
9441         and CP774 modules.
9442         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
9443         and CP774 modules.
9444         * iconvdata/tst-tables.sh: Likewise.
9445         * iconvdata/cp770.c: New file.
9446         * iconvdata/cp771.c: New file.
9447         * iconvdata/cp772.c: New file.
9448         * iconvdata/cp773.c: New file.
9449         * iconvdata/cp774.c: New file.
9450         * iconvdata/testdata/CP770: New file.
9451         * iconvdata/testdata/CP770..UTF8: New file.
9452         * iconvdata/testdata/CP771: New file.
9453         * iconvdata/testdata/CP771..UTF8: New file.
9454         * iconvdata/testdata/CP772: New file.
9455         * iconvdata/testdata/CP772..UTF8: New file.
9456         * iconvdata/testdata/CP773: New file.
9457         * iconvdata/testdata/CP773..UTF8: New file.
9458         * iconvdata/testdata/CP774: New file.
9459         * iconvdata/testdata/CP774..UTF8: New file.
9461         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
9462         END CHARMAP line.
9463         * iconvdata/gen-8bit-gap.sh: Likewise.
9464         * iconvdata/gen-8bit.sh: Likewise.
9466         * locale/iso-639.def: Add ary entry.
9468         [BZ #11258]
9469         * locale/C-translit.h.in: Add U20A1 transliteration.
9471         [BZ #12178]
9472         * locale/iso-639.def: Add wae entry.
9473         Patch by Kevin Bortis <bortis@translate-wae.ch>.
9475         [BZ #12545]
9476         * locale/programs/localedef.c (construct_output_path): Use ssize_t
9477         for n.
9479         [BZ #12711]
9480         * locale/C-translit.h.in: Add entry for U20B9.
9481         Patch by pravin.d.s@gmail.com.
9483 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
9485         [BZ #12713]
9486         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
9487         ENAMETOOLONG use generic getcwd.
9488         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
9489         in rtld.  Use *stat64.
9490         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
9491         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
9492         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
9493         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
9494         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
9495         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
9496         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
9497         __fstatat64 macros.
9498         * include/dirent.h: Add libc_hidden_proto for rewinddir.
9499         * dirent/rewinddir.c: Add libc_hidden_def.
9500         * sysdeps/mach/hurd/rewinddir.c: Likewise.
9501         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
9503         * include/dirent.h (__alloc_dir): Add flags parameter.
9504         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
9505         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
9506         __alloc_dir.
9507         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
9508         from fdopendir if O_CLOEXEC is already set.
9510 2011-03-15  Alan Modra  <amodra@gmail.com>
9512         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
9513         l_tls_firstbyte_offset non-zero.  Save padding offset in
9514         l_tls_firstbyte_offset for later use.
9515         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
9516         freeing static tls block.
9518 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
9520         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
9521         where #ifdef was intended.  The intent is to prevent ARG_MAX from
9522         being defined by the kernel headers.
9524 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
9526         [BZ #12734]
9527         * resolv/resolv.h: Define RES_NOTLDQUERY.
9528         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
9529         no-tld-query and set RES_NOTLDQUERY.
9530         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
9531         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
9532         modern BIND to search name as TLD unless forbidden.
9534 2011-05-07  Petr Baudis  <pasky@suse.cz>
9535             Ulrich Drepper  <drepper@gmail.com>
9537         [BZ #12393]
9538         * elf/dl-load.c (fillin_rpath): Move trusted path check...
9539         (is_trusted_path): ...to here.
9540         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
9541         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
9542         using is_trusted_path_normalize() in setuid scripts.
9544 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
9546         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
9547         __BEGIN/__END_DECLS.
9549 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
9551         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
9552         NSS_STATUS_NOTFOUND if no record was found.
9554 2011-05-05  Andreas Schwab  <schwab@redhat.com>
9556         * sunrpc/Makefile (headers): Add rpc/netdb.h.
9557         (headers-not-in-tirpc): Remove rpc/netdb.h
9558         * resolv/netdb.h: Revert last change.
9560 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
9562         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
9563         circular dependency between libgcc.a and libc.a.
9565 2011-05-05  Andreas Schwab  <schwab@redhat.com>
9567         * resolv/netdb.h: Don't include <rpc/netdb.h>.
9568         * nis/Makefile: Don't install rpcsvc/*.
9569         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
9570         instead of <rpc/types.h>.
9571         (MAXHOSTNAMELEN): Define.
9573 2011-05-03  Andreas Schwab  <schwab@redhat.com>
9575         * elf/ldconfig.c (add_dir): Don't crash on empty path.
9577 2011-04-28  Maciej Babinski  <mbabinski@google.com>
9579         [BZ #12714]
9580         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
9581         gethostbyname4_r when IPv6 results are possible.
9583 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
9585         [BZ #12723]
9586         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
9587         _PC_PIPE_BUF handling.
9589 2011-04-30  Bruno Haible  <bruno@clisp.org>
9591         [BZ #12717]
9592         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
9593         * resolv/netdb.h (getnameinfo): Change type of flags parameter
9594         to 'int'.
9595         * inet/getnameinfo.c (getnameinfo): Likewise.
9597 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
9599         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
9600         to groups setting in database lookup.
9601         * nss/nsswitch.conf: Add initgroups entry.
9603 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
9605         [BZ #12685]
9606         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
9607         mode string.
9608         Patch by Eric Blake <eblake@redhat.com>.
9610 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
9612         * sunrpc/Makefile (need-export-routines): Add svc_run.
9613         (routines): Remove svc_run.
9614         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
9615         * sunrpc/clnt_perr.c (clnt_perrno): Export.
9616         * sunrpc/svc_run.c (svc_run): Likewise.
9617         * sunrpc/svc_udp.c (svcudp_create): Likewise.
9619 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
9621         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
9622         problem in reallocation in last patch.
9624 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
9626         * sunrpc/Makefile: Move inclusion of Rules.
9628 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
9630         * nss/nss_files/files-initgroups.c: New file.
9631         * nss/Makefile (libnss_files-routines): Add files-initgroups.
9632         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
9633         _nss_files_initgroups_dyn.
9635 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
9637         * elf/elf.h (R_ARM_IRELATIVE): Define.
9639 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
9641         * po/ru.po: Update from translation team.
9643 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
9645         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
9646         dependencies.
9648 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
9650         [BZ #12653]
9651         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
9652         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
9653         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9654         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9655         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9657 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
9659         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9660         differing bytes.
9661         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9662         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9663         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9665 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
9667         [BZ #12420]
9668         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9669         storing it.
9670         * stdlib/bug-getcontext.c: New file.
9671         * stdlib/Makefile: Add rules to build and run bug-getcontext.
9673 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9675         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9676         instructions into .machine "z9-109".
9677         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9678         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9680 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9682         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9683         between environment variables and auxiliary vector.
9685 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
9687         * Makefile: Add rules to build linkobj/libc.so.
9688         * include/libc-symbols.h: Define libc_hidden_nolink.
9689         * include/rpc/auth.h: Mark functions which are to be hidden.
9690         * include/rpc/auth_des.h: Likewise.
9691         * include/rpc/auth_unix.h: Likewise.
9692         * include/rpc/clnt.h: Likewise.
9693         * include/rpc/des_crypt.h: Likewise.
9694         * include/rpc/key_prot.h: Likewise.
9695         * include/rpc/pmap_clnt.h: Likewise.
9696         * include/rpc/pmap_prot.h: Likewise.
9697         * include/rpc/pmap_rmt.h: Likewise.
9698         * include/rpc/rpc_msg.h: Likewise.
9699         * include/rpc/svc.h: Likewise.
9700         * include/rpc/svc_auth.h: Likewise.
9701         * include/rpc/xdr.h: Likewise.
9702         * nis/Makefile: Link all DSOs against linkobj/libc.so.
9703         * nss/Makefile: Likewise.
9704         * sunrpc/Makefile: Don't install headers.  Build library with normal
9705         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
9706         * sunrpc/auth_des.c: Hide exported symbols by default, export some
9707         for the compat linking library.  Remove use of INTDEF/INTUSE.
9708         * sunrpc/auth_none.c: Likewise.
9709         * sunrpc/auth_unix.c: Likewise.
9710         * sunrpc/authdes_prot.c: Likewise.
9711         * sunrpc/authuxprot.c: Likewise.
9712         * sunrpc/clnt_gen.c: Likewise.
9713         * sunrpc/clnt_perr.c: Likewise.
9714         * sunrpc/clnt_raw.c: Likewise.
9715         * sunrpc/clnt_simp.c: Likewise.
9716         * sunrpc/clnt_tcp.c: Likewise.
9717         * sunrpc/clnt_udp.c: Likewise.
9718         * sunrpc/clnt_unix.c: Likewise.
9719         * sunrpc/des_crypt.c: Likewise.
9720         * sunrpc/des_soft.c: Likewise.
9721         * sunrpc/get_myaddr.c: Likewise.
9722         * sunrpc/key_call.c: Likewise.
9723         * sunrpc/key_prot.c: Likewise.
9724         * sunrpc/netname.c: Likewise.
9725         * sunrpc/pm_getmaps.c: Likewise.
9726         * sunrpc/pm_getport.c: Likewise.
9727         * sunrpc/pmap_clnt.c: Likewise.
9728         * sunrpc/pmap_prot.c: Likewise.
9729         * sunrpc/pmap_prot2.c: Likewise.
9730         * sunrpc/pmap_rmt.c: Likewise.
9731         * sunrpc/publickey.c: Likewise.
9732         * sunrpc/rpc_cmsg.c: Likewise.
9733         * sunrpc/rpc_common.c: Likewise.
9734         * sunrpc/rpc_dtable.c: Likewise.
9735         * sunrpc/rpc_prot.c: Likewise.
9736         * sunrpc/rpc_thread.c: Likewise.
9737         * sunrpc/rtime.c: Likewise.
9738         * sunrpc/svc.c: Likewise.
9739         * sunrpc/svc_auth.c: Likewise.
9740         * sunrpc/svc_authux.c: Likewise.
9741         * sunrpc/svc_raw.c: Likewise.
9742         * sunrpc/svc_run.c: Likewise.
9743         * sunrpc/svc_simple.c: Likewise.
9744         * sunrpc/svc_tcp.c: Likewise.
9745         * sunrpc/svc_udp.c: Likewise.
9746         * sunrpc/svc_unix.c: Likewise.
9747         * sunrpc/svcauth_des.c: Likewise.
9748         * sunrpc/xcrypt.c: Likewise.
9749         * sunrpc/xdr.c: Likewise.
9750         * sunrpc/xdr_array.c: Likewise.
9751         * sunrpc/xdr_float.c: Likewise.
9752         * sunrpc/xdr_intXX_t.c: Likewise.
9753         * sunrpc/xdr_mem.c: Likewise.
9754         * sunrpc/xdr_rec.c: Likewise.
9755         * sunrpc/xdr_ref.c: Likewise.
9756         * sunrpc/xdr_sizeof.c: Likewise.
9757         * sunrpc/xdr_stdio.c: Likewise.
9759 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
9761         [BZ #12650]
9762         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9763         * sysdeps/ia64/dl-tls.h: Likewise.
9764         * sysdeps/powerpc/dl-tls.h: Likewise.
9765         * sysdeps/s390/dl-tls.h: Likewise.
9766         * sysdeps/sh/dl-tls.h: Likewise.
9767         * sysdeps/sparc/dl-tls.h: Likewise.
9768         * sysdeps/x86_64/dl-tls.h: Likewise.
9769         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9771 2011-03-14  Andreas Schwab  <schwab@redhat.com>
9773         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9774         rpath element also skip the following colon.
9775         (expand_dynamic_string_token): Add is_path parameter and pass
9776         down to DL_DST_REQUIRED and _dl_dst_substitute.
9777         (decompose_rpath): Call expand_dynamic_string_token with
9778         non-zero is_path.  Ignore empty rpaths.
9779         (_dl_map_object_from_fd): Call expand_dynamic_string_token
9780         with zero is_path.
9782 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
9784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9785         Make cancelable.
9787 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
9789         [BZ #12655]
9790         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9791         Patch by Filipe David Manana <fdmanana@apache.org>.
9793 2011-04-07  Andreas Schwab  <schwab@redhat.com>
9795         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9796         Maintain aligned stack.
9797         (CHECK_RSP): Remove unused macro.
9799 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
9801         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9802         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9804 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
9806         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9808         * include/features.h: Mention __USE_XOPEN2K8 in comment.
9810 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
9812         [BZ #12518]
9813         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9814         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9815         * sysdeps/x86_64/memmove.c: New file.
9816         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9817         (memcpy): Renamed to ...
9818         (__new_memcpy): This.
9819         (memcpy): Provide GLIBC_2_14 memcpy.
9820         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9821         (memcpy): Provide GLIBC_2_2_5 memcpy.
9823 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
9825         [BZ #12631]
9826         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9828 2011-03-30  Andreas Schwab  <schwab@redhat.com>
9830         * misc/syncfs.c: New file.
9831         * misc/Makefile (routines): Add syncfs.
9832         * posix/unistd.h: Declare syncfs.
9833         * sysdeps/unix/syscalls.list: Add syncfs.
9835 2011-04-01  Andreas Schwab  <schwab@redhat.com>
9837         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9838         open_by_handle_at.
9839         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9840         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9841         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9842         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9843         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9844         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9845         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9847 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
9849         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9850         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9851         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9852         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9853         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9854         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9855         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9857         * io/Makefile: Compile fallocate.c, fallocate64.c, and
9858         sync_file_range.c with -fexceptions.
9859         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9860         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9861         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9862         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9863         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9864         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9865         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
9866         sync_file_range as cancellation point
9867         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
9868         now a wrapper around __call_sync_file_range with cancellation handling.
9869         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9870         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
9871         function name to __call_sync_file_range.
9872         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9873         Add call_sync_file_range.
9875 2011-04-01  Andreas Schwab  <schwab@redhat.com>
9877         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9878         bits/timex.h.
9880 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
9882         * iconv/iconv.h: Fix typo in comment.
9883         * io/fcntl.h: Likewise.
9884         * libio/stdio.h: Likewise.
9885         * posix/spawn.h: Likewise.
9886         * posix/unistd.h: Likewise.
9887         * stdlib/stdlib.h: Likewise.
9888         * time/time.h: Likewise.
9889         * wcsmbs/wchar.h: Likewise.
9891         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9892         open_by_handle): Add.
9893         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9894         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
9895         Augment a few comments.
9896         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9897         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9898         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9899         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9900         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9901         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9902         open_by_handle.
9904         * io/fcntl.h (AT_EMPTY_PATH): Define.
9906 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
9908         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9909         * sysdeps/unix/sysv/linux/bits/time.h: New file.
9910         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9911         to...
9912         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
9913         * Versions.def: Add GLIBC_2.14.
9914         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9915         Export.
9917 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
9919         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
9920         round counter.
9921         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9923 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
9925         [BZ #12597]
9926         * string/test-strncmp.c (do_page_test): New function.
9927         (check2): Likewise.
9928         (test_main): Call check2.
9929         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
9931 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
9933         [BZ #12587]
9934         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
9935         Handle cache information in CPU leaf 4.
9936         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9938 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
9940         [BZ #12583]
9941         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
9942         character representation.
9943         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
9945 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
9947         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
9948         END(__isnan) to END(__isnanf) to match function entry point/label
9949         EALIGN(__isnanf,...).
9951 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
9953         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
9955 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
9957         [BZ #12510]
9958         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
9959         copy from the symbol referenced in the relocation to initialize the
9960         used variable.
9961         Patch by Piotr Bury <pbury@goahead.com>.
9962         * elf/Makefile: Add rules to build and tst-unique3.
9963         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
9964         * elf/tst-unique3.cc: New file.
9965         * elf/tst-unique3.h: New file.
9966         * elf/tst-unique3lib.cc: New file.
9967         * elf/tst-unique3lib2.cc: New file.
9969         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
9971 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
9973         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
9974         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
9975         to _start.
9977 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
9979         * elf/dl-load.c (_dl_map_object): If we are looking for the first
9980         to-be-loaded object along a path to loader is ld.so.
9982 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
9983             Ulrich Drepper  <drepper@gmail.com>
9985         * sysdeps/x86_64/memset.S: After aligning destination, code
9986         branches to different locations depending on the value of
9987         misalignment, when multiarch is enabled. Fix this.
9989 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
9991         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
9992         Set _x86_64_preferred_memory_instruction for AMD processsors.
9993         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9994         Set bit_Prefer_SSE_for_memop for AMD processors.
9996 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
9998         * libio/fmemopen.c (fmemopen): Optimize a bit.
10000 2011-03-03  Andreas Schwab  <schwab@redhat.com>
10002         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
10004 2011-03-03  Roland McGrath  <roland@redhat.com>
10006         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
10008 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
10010         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
10011         __bzero_ultra1 instead of __memset_ultra1.
10013 2011-02-23  Andreas Schwab  <schwab@redhat.com>
10014             Ulrich Drepper  <drepper@gmail.com>
10016         [BZ #12509]
10017         * include/link.h (struct link_map): Add l_orig_initfini.
10018         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
10019         returning unsuccessfully.
10020         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
10021         close of a file loaded at startup, restore the original l_initfini
10022         list.
10023         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
10024         list, store the pointer.
10025         * elf/Makefile ($(objpfx)noload-mem): New rule.
10026         (noload-ENV): Define.
10027         (tests): Add $(objpfx)noload-mem.
10028         * elf/noload.c: Include <memcheck.h>.
10029         (main): Call mtrace.  Close all opened handles.
10031 2011-02-17  Andreas Schwab  <schwab@redhat.com>
10033         [BZ #12454]
10034         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
10035         dependencies are missing.
10037 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10039         Fix __if_freereq crash: Unlike the generic version which uses free,
10040         Hurd needs munmap.
10041         * sysdeps/mach/hurd/ifreq.h: New file.
10043 2011-01-27  Petr Baudis  <pasky@suse.cz>
10044             Ulrich Drepper  <drepper@gmail.com>
10046         [BZ 12445]#
10047         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
10048         to extend_alloca().
10049         * stdio-common/bug23.c: New file.
10050         * stdio-common/Makefile (tests): Add bug23.
10052 2010-09-28  Andreas Schwab  <schwab@redhat.com>
10053             Ulrich Drepper  <drepper@gmail.com>
10055         [BZ #12489]
10056         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
10057         before performing relro protection.  At old place add assertion
10058         to make sure nothing changed.
10060 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
10061             Glauber de Oliveira Costa  <glommer@gmail.com>
10063         * elf/elf.h: Add new ARM TLS relocs.
10065 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
10067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10068         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
10069         cast from r3.
10070         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
10071         'tests' variable.
10072         * sysdeps/wordsize-64/tst-writev.c: New file.
10074 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
10076         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
10077         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
10078         insns in _dl_start to prevent a TOC reference before relocs are
10079         resolved.
10081 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
10083         [BZ #12469]
10084         * Makeconfig: Remove RANLIB definition.
10085         * Makerules: Don't use RANLIB.
10086         * aclocal.m4: Remove ranlib test.
10087         * configure.in: No need to check for ranlib.
10088         * elf/rtld-Rules: Don't use RANLIB.
10090 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10092         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
10093         protection macro.
10094         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
10095         inclusion protection macro.
10097         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
10098         SIGRTMIN and SIGRTMAX and print information in that case only when
10099         SIGRTMIN is defined.
10101 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
10103         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
10104         arginfo fn returning -1.
10106         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
10107         and thousands string is zero terminated.
10109 2011-02-03  Andreas Schwab  <schwab@redhat.com>
10111         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
10112         sysdeps/unix/sysv/linux/bits/socket.h.
10114 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10116         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
10117         (__CPU_COUNT): Remove old macros.
10118         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
10119         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
10120         (__CPU_ALLOC, __CPU_FREE): Add macros.
10121         (__sched_cpualloc, __sched_cpufree): Add declarations.
10123 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
10125         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
10126         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
10127         * nscd/aicache.c (addhstaiX): Return timeout of added value.
10128         (readdhstai): Return value of addhstaiX call.
10129         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
10130         (addgrbyX): Return value returned by cache_addgr.
10131         (readdgrbyname): Return value returned by addgrbyX.
10132         (readdgrbygid): Likewise.
10133         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
10134         (addpwbyX): Return value returned by cache_addpw.
10135         (readdpwbyname): Return value returned by addhstbyX.
10136         (readdpwbyuid): Likewise.
10137         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
10138         (addservbyX): Return value returned by cache_addserv.
10139         (readdservbyname): Return value returned by addservbyX:
10140         (readdservbyport): Likewise.
10141         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
10142         (addhstbyX): Return value returned by cache_addhst.
10143         (readdhstbyname): Return value returned by addhstbyX.
10144         (readdhstbyaddr): Likewise.
10145         (readdhstbynamev6): Likewise.
10146         (readdhstbyaddrv6): Likewise.
10147         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
10148         (readdinitgroups): Return value returned by addinitgroupsX.
10149         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
10150         (prune_cache): Keep track of timeout value of re-added entries.
10151         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
10152         * nscd/nscd.h: Adjust prototypes of readd* functions.
10154 2011-02-04  Roland McGrath  <roland@redhat.com>
10156         * nis/nis_server.c (nis_servstate): Use the right name for 0.
10157         (nis_stats): Likewise.
10158         * nis/nis_modify.c (nis_modify): Likewise.
10159         * nis/nis_remove.c (nis_remove): Likewise.
10160         * nis/nis_add.c (nis_add): Likewise.
10162         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
10164         * posix/fnmatch_loop.c: Add some consts.
10166         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
10168 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
10170         [BZ #12460]
10171         * config.make.in (config-cflags-novzeroupper): Define.
10172         * configure.in: Substitute libc_cv_cc_novzeroupper.
10173         * elf/Makefile (AVX-CFLAGS): Define.
10174         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
10175         (CFLAGS-tst-auditmod4a.c): Likewise.
10176         (CFLAGS-tst-auditmod4b.c): Likewise.
10177         (CFLAGS-tst-auditmod6b.c): Likewise.
10178         (CFLAGS-tst-auditmod6c.c): Likewise.
10179         (CFLAGS-tst-auditmod7b.c): Likewise.
10180         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
10182 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
10184         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
10185         function to the callback.
10186         Patch partly by Jiri Olsa <jolsa@redhat.com>.
10188 2011-02-02  Andreas Schwab  <schwab@redhat.com>
10190         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
10191         of errno.
10193 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
10195         [BZ #11724]
10196         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
10197         of constructors.
10198         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
10199         of destructors.
10200         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
10202         [BZ #11724]
10203         * elf/Makefile: Add rules to build and run new test.
10204         * elf/tst-initorder.c: New file.
10205         * elf/tst-initorder.exp: New file.
10206         * elf/tst-initordera1.c: New file.
10207         * elf/tst-initordera2.c: New file.
10208         * elf/tst-initordera3.c: New file.
10209         * elf/tst-initordera4.c: New file.
10210         * elf/tst-initorderb1.c: New file.
10211         * elf/tst-initorderb2.c: New file.
10212         * elf/tst-order-a1.c: New file.
10213         * elf/tst-order-a2.c: New file.
10214         * elf/tst-order-a3.c: New file.
10215         * elf/tst-order-a4.c: New file.
10216         * elf/tst-order-b1.c: New file.
10217         * elf/tst-order-b2.c: New file.
10218         * elf/tst-order-main.c: New file.
10219         New test case by George Gensure <werkt0@gmail.com>.
10221 2010-10-01  Andreas Schwab  <schwab@redhat.com>
10223         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10224         decoding ACE if AI_CANONIDN.
10226 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
10228         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
10230 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
10232         * version.h (RELEASE): Bump for 2.13 release.
10233         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
10235         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
10237         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
10238         MADV_NOHUGEPAGE.
10239         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
10240         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10241         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10242         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10243         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10244         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10246         * posix/getconf.c: Update copyright year.
10247         * catgets/gencat.c: Likewise.
10248         * csu/version.c: Likewise.
10249         * debug/catchsegv.sh: Likewise.
10250         * debug/xtrace.sh: Likewise.
10251         * elf/ldconfig.c: Likewise.
10252         * elf/ldd.bash.in: Likewise.
10253         * elf/sprof.c (print_version): Likewise.
10254         * iconv/iconv_prog.c: Likewise.
10255         * iconv/iconvconfig.c: Likewise.
10256         * locale/programs/locale.c: Likewise.
10257         * locale/programs/localedef.c: Likewise.
10258         * malloc/memusage.sh: Likewise.
10259         * malloc/mtrace.pl: Likewise.
10260         * nscd/nscd.c (print_version): Likewise.
10261         * nss/getent.c: Likewise.
10263         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
10264         PF_CAIF, and PF_ALG.
10265         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10267 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
10269         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
10270         (modules-names): Use them.
10271         (ifunc-test-modules, ifunc-pie-tests): Define.
10272         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
10273         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
10274         (test-extras): Likewise.
10275         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
10276         $(compile-command.c).
10277         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
10278         (all-built-dso): Define.
10279         (check-textrel.out, check-execstack.out): Depend on it.
10281         * configure.in: Don't override --enable-multi-arch.
10283 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
10285         [BZ #6812]
10286         * nscd/hstcache.c (tryagain): Define.
10287         (cache_addhst): Return tryagain not notfound for temporary errors.
10288         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
10289         failed.
10291 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
10293         [BZ #10563]
10294         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
10295         to make the syscall.
10296         * sysdeps/unix/sysv/linux/setgroups.c: New file.
10298         [BZ #12378]
10299         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
10300         and fall back to matching as normal character if the string ends before
10301         the matching ']' is found.  This is what POSIX requires.
10302         * posix/testfnm.c: Adjust test result.
10303         * posix/globtest.sh: Adjust test result.  Add new test.
10304         * posix/tst-fnmatch.input: Likewise.
10305         * posix/tst-fnmatch2.c: Add new test.
10307 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
10309         * elf/Makefile (check-execstack): Revert last change.  Depend on
10310         check-execstack.h.
10311         (check-execstack.h): New target.
10312         (generated): Add check-execstack.h.
10313         * elf/check-execstack.c: Include "check-execstack.h".
10314         (main): Revert last change.
10315         (handle_file): Return zero if GNU_STACK is absent and
10316         DEFAULT_STACK_PERMS doesn't include PF_X.
10318 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
10320         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
10321         in child fails because the descriptor is already closed.
10322         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
10323         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
10324         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
10326         [BZ #12397]
10327         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
10328         syscall.
10330         [BZ #10484]
10331         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
10332         temporary buffer used to handle multi lookups locally.
10333         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
10335 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
10337         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
10338         loader is ld.so.
10340 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
10342         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
10343         alignment for SSE2.
10345 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
10347         [BZ #12394]
10348         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
10349         characters.  When rounding increased number of integer digits recompute
10350         number of groups.
10351         * stdio-common/tst-grouping.c: New file.
10352         * stdio-common/Makefile: Add rules to build and run tst-grouping.
10354 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
10356         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
10357         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
10359         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
10360         void.
10361         * bits/select.h: Likewise.
10363 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
10365         * po/ja.po: Update from translation team.
10367 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
10369         [BZ #11155]
10370         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
10371         implementation just like for lxstat, fxstatat, et al.
10373 2010-12-27  Jim Meyering  <meyering@redhat.com>
10375         [BZ #12348]
10376         * posix/regexec.c (build_trtable): Return failure indication upon
10377         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
10379 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
10381         [BZ #12201]
10382         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
10383         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
10384         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
10385         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
10387         [BZ #12207]
10388         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
10390         [BZ #12204]
10391         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
10392         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
10394 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
10396         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
10397         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
10398         script has SORT_BY_INIT_PRIORITY.
10399         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
10400         NO_CTORS_DTORS_SECTIONS is defined.
10401         * elf/soinit.c: Likewise.
10402         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
10403         NO_CTORS_DTORS_SECTIONS is defined.
10404         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
10405         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
10406         * sysdeps/sh/init-first.c: Likewise.
10407         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10409 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
10411         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
10412         always use the slow path.
10414 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
10416         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
10417         similar rule which adds the sysdep directories to the header search in
10418         order to pick up the correct platform stackinfo.h.
10419         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
10420         perform test if it is, otherwise return successfully without testing.
10421         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
10422         DEFAULT_STACK_PERMS define in stackinfo.h.
10423         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
10424         defined in stackinfo.h.
10425         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
10426         DEFAULT_STACK_PERMS defined in stackinfo.h.
10427         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
10428         * sysdeps/ia64/stackinfo.h: Likewise.
10429         * sysdeps/s390/stackinfo.h: Likewise.
10430         * sysdeps/sh/stackinfo.h: Likewise.
10431         * sysdeps/sparc/stackinfo.h: Likewise.
10432         * sysdeps/x86_64/stackinfo.h: Likewise.
10433         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
10434         PF_X for powerpc64.  Retain PF_X for powerpc32.
10436 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
10438         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
10439         accurately.
10440         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
10441         GETDENTS_64BIT_ALIGNED.
10443 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
10445         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
10447 2010-12-10  Andreas Schwab  <schwab@redhat.com>
10449         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
10450         _GNU_SOURCE.
10452         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
10453         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
10454         Remove __restrict.
10455         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
10456         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
10458 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
10460         [BZ #11655]
10461         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
10462         are initialized.
10464 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
10466         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
10468 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
10470         * po/it.po: Update from translation team.
10472 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
10474         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
10475         unused codes.
10477 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
10479         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
10481 2010-11-24  Andreas Schwab  <schwab@redhat.com>
10483         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
10484         specially.
10485         (gaih_getanswer_slice): Likewise.
10487 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
10489         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
10491 2010-05-31  Petr Baudis  <pasky@suse.cz>
10493         [BZ #11149]
10494         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
10495         silently even in the chroot mode.
10497 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
10499         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
10500         last patch a bit.  Pretty printing
10502 2010-05-31  Petr Baudis <pasky@suse.cz>
10504         [BZ #10085]
10505         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
10506         initialization of skip_initgroups_dyn.
10508 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
10510         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
10511         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10513 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
10515         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
10517 2010-11-11  Andreas Schwab  <schwab@redhat.com>
10519         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
10520         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
10521         (tst-fnmatch-ENV): Set MALLOC_TRACE.
10522         ($(objpfx)tst-fnmatch-mem): New rule.
10523         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
10524         * posix/tst-fnmatch.c (main): Call mtrace.
10526 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
10528         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10529         Support Intel processor model 6 and model 0x2c.
10531 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
10533         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
10534           signed comparison.
10536 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
10538         [BZ #12205]
10539         * string/test-strncasecmp.c (check_result): New function.
10540         (do_one_test): Use it.
10541         (check1): New function.
10542         (test_main): Use it.
10543         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
10544         Support strcasecmp and strncasecmp.
10546 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
10548         [BZ #12194]
10549         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
10550         * sysdeps/x86_64/bits/byteswap.h: Likewise.
10552 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
10554         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
10555         IFUNC support.
10556         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10557         memset-x86-64.
10558         * sysdeps/x86_64/multiarch/bzero.S: New file.
10559         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
10560         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
10561         * sysdeps/x86_64/multiarch/memset.S: New file.
10562         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
10563         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10564         Set bit_Prefer_SSE_for_memop for Intel processors.
10565         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
10566         Define.
10567         (index_Prefer_SSE_for_memop): Define.
10568         (HAS_PREFER_SSE_FOR_MEMOP): Define.
10570 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
10572         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
10573         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
10575 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
10577         [BZ #12191]
10578         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10579         (__x86_64_raw_data_cache_size_half): Likewise.
10580         (__x86_64_raw_shared_cache_size): Likewise.
10581         (__x86_64_raw_shared_cache_size_half): Likewise.
10583         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10584         (__x86_64_raw_data_cache_size_half): Likewise.
10585         (__x86_64_raw_shared_cache_size): Likewise.
10586         (__x86_64_raw_shared_cache_size_half): Likewise.
10587         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
10588         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
10589         and __x86_64_raw_shared_cache_size_half.  Round
10590         __x86_64_data_cache_size_half, __x86_64_data_cache_size
10591         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
10592         to multiple of 256 bytes.
10594 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
10596         [BZ #12167]
10597         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
10598         of inacessible symlinks.  Verify result of symlink before returning it.
10599         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10600         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
10602 2010-10-28  Erich Ritz  <erichritz@gmail.com>
10604         * math/math.h (isinf): Fix typo in comment.
10606 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
10608         * po/da.po: Update from translation team.
10610 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
10612         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
10613         is added to the list.
10615 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10616             Ulrich Drepper  <drepper@gmail.com>
10618         * elf/dl-object.c (_dl_new_object): Don't append the new object to
10619         the global list here.  Move code to...
10620         (_dl_add_to_namespace_list): ...here.  New function.
10621         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
10622         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
10623         * elf/dl-load.c (lose): Don't remove the element from the list.
10624         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
10625         (_dl_map_object): Likewise.
10627 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
10629         [BZ #12159]
10630         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
10631         into all bytes of SSE register.
10632         Patch by Richard Li <richardpku@gmail.com>.
10634 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
10636         [BZ #12140]
10637         * malloc/malloc.c (_int_free): Fill correct number of bytes when
10638         perturbing.
10640 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
10642         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
10643         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
10644         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
10645         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
10647         submachine.
10648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10650 2010-10-22  Andreas Schwab  <schwab@redhat.com>
10652         * include/dlfcn.h (__RTLD_SECURE): Define.
10653         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
10654         mode & __RTLD_SECURE instead.
10655         (open_path): Rename preloaded parameter to secure.
10656         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10657         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10658         * elf/dl-deps.c (openaux): Likewise.
10659         * elf/rtld.c (struct map_args): Remove is_preloaded.
10660         (map_doit): Don't use it.
10661         (dl_main): Likewise.
10662         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10663         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10665 2010-09-09  Andreas Schwab  <schwab@redhat.com>
10667         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10668         (sysd-rules-targets): Remove duplicates.
10669         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10670         rtld-%.$o dependency.
10672 2010-10-18  Andreas Schwab  <schwab@redhat.com>
10674         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10675         _dl_map_object do it.
10677 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
10679         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10680         fast fma builtins, define the macros in the C99 standard.
10681         (FP_FAST_FMAF): Likewise.
10682         (FP_FAST_FMAL): Likewise.
10683         * sysdeps/x86_64/bits/mathdef.h: Likewise.
10685         * bits/mathdef.h: Update copyright year.
10686         * sysdeps/powerpc/bits/mathdef.h: Likewise.
10688 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
10690         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10691         builtins, define the macros in the C99 standard.
10692         (FP_FAST_FMAF): Likewise.
10693         (FP_FAST_FMAL): Likewise.
10694         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10695         multiply/add.
10696         (FP_FAST_FMAF): Likewise.
10698 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
10700         [BZ #3268]
10701         * math/libm-test.inc (fma_test): Some new testcases.
10702         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10703         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10704         y and infinite z.  Do multiplication by C already in long double.
10705         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10706         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10707         y and infinite z.  Do bitwise or of inexact bit into u.d.
10708         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10709         * sysdeps/i386/fpu/s_fmaf.S: Removed.
10710         * sysdeps/i386/fpu/s_fma.S: Removed.
10711         * sysdeps/i386/fpu/s_fmal.S: Removed.
10713 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
10715         [BZ #3268]
10716         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10717         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10718         computation is not scheduled after fetestexcept.  Fix value
10719         of minimum denormal long double.
10721 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
10723         [BZ #3268]
10724         * math/libm-test.inc (fma_test): Add some more tests.
10725         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10726         correctly.
10728 2010-10-15  Andreas Schwab  <schwab@redhat.com>
10730         * scripts/data/localplt-s390-linux-gnu.data: New file.
10731         * scripts/data/localplt-s390x-linux-gnu.data: New file.
10733 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
10735         [BZ #3268]
10736         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10737         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10738         instead of dbl-64.
10739         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10740         inlines.
10741         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10742         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10743         if one of x and y is very large and the other is subnormal.
10744         * sysdeps/s390/fpu/s_fmaf.c: New file.
10745         * sysdeps/s390/fpu/s_fma.c: New file.
10746         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10747         * sysdeps/powerpc/fpu/s_fma.S: New file.
10748         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10749         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10750         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10752 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
10754         [BZ #3268]
10755         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10756         fma tests.
10757         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10758         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10759         * sysdeps/i386/i686/multiarch/s_fma.c: Include
10760         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10761         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10762         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10763         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10765 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
10767         [BZ #12078]
10768         * posix/regcomp.c (parse_branch): One more memory leak plugged.
10769         * posix/bug-regex31.input: Add test case.
10771 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
10773         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10774         * posix/bug-regex31.input: New file.
10776         [BZ #12078]
10777         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10778         (parse_sub_exp): Fix last change, use postorder.
10780         * posix/bug-regex31.c: New file.
10781         * posix/Makefile: Add rules to build and run bug-regex31.
10783         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10785         [BZ #12078]
10786         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10788         [BZ #12108]
10789         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10790         to have entries in sys_siglist.
10792         [BZ #12093]
10793         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10794         be NULL.
10796 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
10798         [BZ #3268]
10799         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10800         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10801         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10802         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10803         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10804         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10805         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10806         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10807         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10808         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10809         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10810         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10811         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10812         * math/ftestexcept.c (fetestexcept): Likewise.
10813         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10814         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10815         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10816         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10817         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10818         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10819         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10821 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
10823         [BZ #12107]
10824         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10825         newline.
10827 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
10829         * string/bug-strstr1.c: New file.
10830         * string/Makefile: Add rules to build and run bug-strstr1.
10832 2010-10-05  Eric Blake  <eblake@redhat.com>
10834         [BZ #12092]
10835         * string/str-two-way.h (two_way_long_needle): Always clear memory
10836         when skipping input due to the shift table.
10838 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
10840         [BZ #12005]
10841         * malloc/mcheck.c: Handle large requests.
10843         [BZ #12077]
10844         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10845         for strncmp and strncasecmp.
10846         * string/stratcliff.c: Add tests for strcmp and strncmp.
10847         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10849 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
10851         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10852         __set_fpscr.
10854 2010-09-30  Andreas Jaeger  <aj@suse.de>
10856         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10857         (CGROUP_SUPER_MAGIC): Define.
10858         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10859         Handle btrfs and cgroup file systems.
10860         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10861         Likewise.
10863 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
10865         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10866         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10868 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10870         [BZ #12067]
10871         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10872         trying to locate the ELF header.
10874 2010-09-27  Andreas Schwab  <schwab@redhat.com>
10876         [BZ #11611]
10877         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10878         Mask out sign-bit copies when constructing f_fsid.
10880 2010-09-24  Petr Baudis <pasky@suse.cz>
10882         * debug/stack_chk_fail_local.c: Add missing licence exception.
10883         * debug/warning-nop.c: Likewise.
10885 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
10887         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10888         implementing getdents64 using getdents syscall, set d_type if
10889         __ASSUME_GETDENTS32_D_TYPE.
10891 2010-09-16  Andreas Schwab  <schwab@redhat.com>
10893         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10894         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10896 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
10898         [BZ #12037]
10899         * posix/unistd.h: Undo change of feature selection for ftruncate from
10900         2010-01-11.
10902 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
10904         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
10905         detection.
10907 2010-09-20  Andreas Schwab  <schwab@redhat.com>
10909         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10910         fanotify_mark.
10911         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10913 2010-09-14  Andreas Schwab  <schwab@redhat.com>
10915         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
10916         variables after CHECK_SP call.
10917         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
10919 2010-09-13  Andreas Schwab  <schwab@redhat.com>
10920             Ulrich Drepper  <drepper@redhat.com>
10922         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
10923         re-relocationg ld.so.
10924         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
10925         _dl_init_paths call.
10926         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
10927         here anymore.
10929 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
10931         * resolv/res_init.c (__res_vinit): Count the default server we added.
10933 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
10934             Ulrich Drepper  <drepper@redhat.com>
10936         [BZ #11968]
10937         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10938         (____longjmp_chk): Use %ebx for saving value across system call.
10939         Add unwind info.
10941 2010-09-06  Andreas Schwab  <schwab@redhat.com>
10943         * manual/Makefile: Don't mix pattern rules with normal rules.
10945 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
10947         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
10948         operation.
10949         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10950         * libio/iofopncook.c (_IO_cookie_init): Likewise.
10951         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10952         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10953         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10954         Likewise.
10956 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
10958         [BZ #11979]
10959         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
10960         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
10962 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
10964         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
10965         * sysdeps/x86_64/addmul_1.S: Likewise.
10966         * sysdeps/x86_64/lshift.S: Likewise.
10967         * sysdeps/x86_64/mul_1.S: Likewise.
10968         * sysdeps/x86_64/rshift.S: Likewise.
10969         * sysdeps/x86_64/sub_n.S: Likewise.
10970         * sysdeps/x86_64/submul_1.S: Likewise.
10972 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10974         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
10975         Define __sched_param instead of SCHED_* and sched_param when
10976         <bits/sched.h> is included with __need_schedparam defined.
10977         * bits/sched.h [__need_schedparam]
10978         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
10979         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
10980         (__defined_schedparam): Define to 1.
10981         (__sched_param): New structure, identical to sched_param.
10982         (__need_schedparam): Undefine.
10984 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
10986         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
10987         (epoll_create1): Declare.
10989         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
10991 2010-08-31  Andreas Schwab  <schwab@redhat.com>
10993         [BZ #7066]
10994         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
10995         shifting retval into place.
10997 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
10999         * nis/rpcsvc/nis.h: Update copyright notice.
11000         * nis/rpcsvc/nis.x: Likewise.
11001         * nis/rpcsvc/nis_callback.h: Likewise.
11002         * nis/rpcsvc/nis_callback.x: Likewise.
11003         * nis/rpcsvc/nis_object.x: Likewise.
11004         * nis/rpcsvc/nis_tags.h: Likewise.
11005         * nis/rpcsvc/yp.h: Likewise.
11006         * nis/rpcsvc/yp.x: Likewise.
11007         * nis/rpcsvc/ypupd.h: Likewise.
11008         * nis/yp_xdr.c: Likewise.
11009         * nis/ypupdate_xdr.c: Likewise.
11011         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
11012         mainly the body of pmap_getport.  Add parameters to specify timeouts.
11013         (pmap_getport): Use __libc_rpc_getport.
11014         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
11015         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
11016         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
11018 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
11020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
11021         fanotify_mark.
11023 2010-08-27  Roland McGrath  <roland@redhat.com>
11025         * sysdeps/i386/i686/multiarch/Makefile
11026         (CFLAGS-varshift.c): New variable.
11028 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
11030         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
11031         * sysdeps/i386/i686/multiarch/varshift.c: New file.
11033         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
11035         * sysdeps/x86_64/strlen.S: Minimal code improvement.
11037 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
11039         * sysdeps/x86_64/strlen.S: Unroll the loop.
11040         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11041         strlen-sse2 strlen-sse2-bsf.
11042         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
11043         __strlen_no_bsf if bit_Slow_BSF is set.
11044         (__strlen_sse42): Removed.
11045         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
11046         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
11048 2010-08-25  Roland McGrath  <roland@redhat.com>
11050         * sysdeps/x86_64/multiarch/varshift.S: File removed.
11051         * sysdeps/x86_64/multiarch/varshift.c: New file.
11052         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
11053         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
11054         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
11055         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11057 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
11059         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11060         strlen-sse2 strlen-sse2-bsf.
11061         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
11062         __strlen_sse2_bsf if bit_Slow_BSF is unset.
11063         (__strlen_sse2): Removed.
11064         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
11065         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
11066         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11067         bit_Slow_BSF for Atom.
11068         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
11069         (index_Slow_BSF): Define.
11070         (HAS_SLOW_BSF): Define.
11072 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
11074         [BZ #10851]
11075         * resolv/res_init.c (__res_vinit): When no server address at all
11076         is given default to loopback.
11078 2010-08-24  Roland McGrath  <roland@redhat.com>
11080         * configure.in: Remove config-name.h generation.
11081         * configure: Regenerated.
11082         * config-name.in: File removed.
11083         * scripts/config-uname.sh: New file.
11084         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
11085         ($(objdir)config-name.h): New target.
11087         * sunrpc/rpc_parse.h: Avoid nested comment.
11089 2010-08-24  Richard Henderson  <rth@redhat.com>
11090             Ulrich Drepper  <drepper@redhat.com>
11091             H.J. Lu  <hongjiu.lu@intel.com>
11093         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
11094         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
11095         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
11096         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
11097         _mm_alignr_epi8 with _mm_loadu_si128.
11098         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
11099         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
11100         (__m128i_shift_right): Removed.
11101         * sysdeps/i386/i686/multiarch/varshift.h: New file.
11102         * sysdeps/i386/i686/multiarch/varshift.S: New file.
11103         * sysdeps/x86_64/multiarch/varshift.h: New file.
11104         * sysdeps/x86_64/multiarch/varshift.S: New file.
11106 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
11108         * configure.in: Move assembler checks to before sysdep dir checking.
11110 2010-08-20  Petr Baudis  <pasky@suse.cz>
11112         * LICENSES: Sync the sunrpc license.
11114 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
11116         * sunrpc/auth_des.c: Update copyright notice once again.
11117         * sunrpc/auth_none.c: Likewise.
11118         * sunrpc/auth_unix.c: Likewise.
11119         * sunrpc/authdes_prot.c: Likewise.
11120         * sunrpc/authuxprot.c: Likewise.
11121         * sunrpc/bindrsvprt.c: Likewise.
11122         * sunrpc/clnt_gen.c: Likewise.
11123         * sunrpc/clnt_perr.c: Likewise.
11124         * sunrpc/clnt_raw.c: Likewise.
11125         * sunrpc/clnt_simp.c: Likewise.
11126         * sunrpc/clnt_tcp.c: Likewise.
11127         * sunrpc/clnt_udp.c: Likewise.
11128         * sunrpc/clnt_unix.c: Likewise.
11129         * sunrpc/des_crypt.c: Likewise.
11130         * sunrpc/des_soft.c: Likewise.
11131         * sunrpc/get_myaddr.c: Likewise.
11132         * sunrpc/getrpcport.c: Likewise.
11133         * sunrpc/key_call.c: Likewise.
11134         * sunrpc/key_prot.c: Likewise.
11135         * sunrpc/openchild.c: Likewise.
11136         * sunrpc/pm_getmaps.c: Likewise.
11137         * sunrpc/pm_getport.c: Likewise.
11138         * sunrpc/pmap_clnt.c: Likewise.
11139         * sunrpc/pmap_prot.c: Likewise.
11140         * sunrpc/pmap_prot2.c: Likewise.
11141         * sunrpc/pmap_rmt.c: Likewise.
11142         * sunrpc/rpc/auth.h: Likewise.
11143         * sunrpc/rpc/auth_unix.h: Likewise.
11144         * sunrpc/rpc/clnt.h: Likewise.
11145         * sunrpc/rpc/des_crypt.h: Likewise.
11146         * sunrpc/rpc/key_prot.h: Likewise.
11147         * sunrpc/rpc/netdb.h: Likewise.
11148         * sunrpc/rpc/pmap_clnt.h: Likewise.
11149         * sunrpc/rpc/pmap_prot.h: Likewise.
11150         * sunrpc/rpc/pmap_rmt.h: Likewise.
11151         * sunrpc/rpc/rpc.h: Likewise.
11152         * sunrpc/rpc/rpc_des.h: Likewise.
11153         * sunrpc/rpc/rpc_msg.h: Likewise.
11154         * sunrpc/rpc/svc.h: Likewise.
11155         * sunrpc/rpc/svc_auth.h: Likewise.
11156         * sunrpc/rpc/types.h: Likewise.
11157         * sunrpc/rpc/xdr.h: Likewise.
11158         * sunrpc/rpc_clntout.c: Likewise.
11159         * sunrpc/rpc_cmsg.c: Likewise.
11160         * sunrpc/rpc_common.c: Likewise.
11161         * sunrpc/rpc_cout.c: Likewise.
11162         * sunrpc/rpc_dtable.c: Likewise.
11163         * sunrpc/rpc_hout.c: Likewise.
11164         * sunrpc/rpc_main.c: Likewise.
11165         * sunrpc/rpc_parse.c: Likewise.
11166         * sunrpc/rpc_parse.h: Likewise.
11167         * sunrpc/rpc_prot.c: Likewise.
11168         * sunrpc/rpc_sample.c: Likewise.
11169         * sunrpc/rpc_scan.c: Likewise.
11170         * sunrpc/rpc_scan.h: Likewise.
11171         * sunrpc/rpc_svcout.c: Likewise.
11172         * sunrpc/rpc_tblout.c: Likewise.
11173         * sunrpc/rpc_util.c: Likewise.
11174         * sunrpc/rpc_util.h: Likewise.
11175         * sunrpc/rpcinfo.c: Likewise.
11176         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
11177         * sunrpc/rpcsvc/key_prot.x: Likewise.
11178         * sunrpc/rpcsvc/klm_prot.x: Likewise.
11179         * sunrpc/rpcsvc/mount.x: Likewise.
11180         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
11181         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
11182         * sunrpc/rpcsvc/rex.x: Likewise.
11183         * sunrpc/rpcsvc/rstat.x: Likewise.
11184         * sunrpc/rpcsvc/rusers.x: Likewise.
11185         * sunrpc/rpcsvc/sm_inter.x: Likewise.
11186         * sunrpc/rpcsvc/spray.x: Likewise.
11187         * sunrpc/rpcsvc/yppasswd.x: Likewise.
11188         * sunrpc/rtime.c: Likewise.
11189         * sunrpc/svc.c: Likewise.
11190         * sunrpc/svc_auth.c: Likewise.
11191         * sunrpc/svc_authux.c: Likewise.
11192         * sunrpc/svc_raw.c: Likewise.
11193         * sunrpc/svc_run.c: Likewise.
11194         * sunrpc/svc_simple.c: Likewise.
11195         * sunrpc/svc_tcp.c: Likewise.
11196         * sunrpc/svc_udp.c: Likewise.
11197         * sunrpc/svc_unix.c: Likewise.
11198         * sunrpc/svcauth_des.c: Likewise.
11199         * sunrpc/xcrypt.c: Likewise.
11200         * sunrpc/xdr.c: Likewise.
11201         * sunrpc/xdr_array.c: Likewise.
11202         * sunrpc/xdr_float.c: Likewise.
11203         * sunrpc/xdr_mem.c: Likewise.
11204         * sunrpc/xdr_rec.c: Likewise.
11205         * sunrpc/xdr_ref.c: Likewise.
11206         * sunrpc/xdr_sizeof.c: Likewise.
11207         * sunrpc/xdr_stdio.c: Likewise.
11209         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
11210         handling.
11212 2010-08-19  Andreas Schwab  <schwab@redhat.com>
11214         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
11216 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
11218         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
11219         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
11220         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
11221         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
11222         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
11223         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
11224         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
11225         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
11226         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
11227         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
11228         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
11229         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
11230         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
11231         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
11233 2010-07-26  Anton Blanchard  <anton@samba.org>
11235         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
11236         * malloc/arena.c (heap_trim): Likewise.
11238 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
11240         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
11241         here.  Not...
11242         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
11243         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
11245 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
11247         * sysdeps/i386/elf/Makefile: New file.
11249 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
11251         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
11252         from fanotify_init.
11253         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
11254         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11256 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
11258         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
11259         of strncasecmp_l.
11260         * sysdeps/multiarch/strcmp.S: Likewise.
11262 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
11264         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11265         strncase_l-nonascii.
11266         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11267         Add strncase_l-ssse3.
11268         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
11269         * sysdeps/x86_64/strcmp.S: Likewise.
11270         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
11271         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
11272         * sysdeps/x86_64/strncase.S: New file.
11273         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
11274         * sysdeps/x86_64/strncase_l.S: New file.
11275         * string/Makefile (strop-tests): Add strncasecmp.
11276         * string/test-strncasecmp.c: New file.
11278         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
11279         warning.
11281         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
11282         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
11284 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
11286         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
11288 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
11290         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
11291         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11292         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11294 2010-05-01  Alan Modra  <amodra@gmail.com>
11296         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
11297         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
11298         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
11299         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
11300         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
11301         tidying.  Don't tail-call __sigjmp_save for static lib.
11302         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
11303         save location.
11304         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
11305         (CALL_MCOUNT): Add eh info, and nop after bl.
11306         (TAIL_CALL_SYSCALL_ERROR): New macro.
11307         (PSEUDO_RET): Use it.
11308         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11309         Correct save location of integer regs and cr.
11310         (_dl_profile_resolve): Correct cr save location.  Delete nops
11311         after bl when SHARED.  Reduce cfi size a little by better
11312         placement of cfi directives.
11313         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
11314         make a stack frame.  Instead use parm save area as a temp.
11315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
11316         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
11317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11318         Don't make a stack frame for parent, use parm save area.
11319         Increase child stack frame to 112 bytes.  Don't save unused reg,
11320         and adjust reg usage.  Set up cfi on error recovery and
11321         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
11322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11323         (__makecontext): Add dummy nop after jump to exit.
11324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
11325         Use correct parm save area and cr save, reduce stack frame.
11326         Correct cfi for possible PSEUDO_RET frame setup.
11327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
11328         Branch to local label emitted by PSEUDO_RET rather than
11329         __syscall_error.
11331 2010-08-12  Andreas Schwab  <schwab@redhat.com>
11333         [BZ #11904]
11334         * locale/programs/locale.c (print_assignment): New function.
11335         (show_locale_vars): Use it.
11337 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
11339         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
11340         field.
11341         (struct statfs64): Likewise.
11342         (_STATFS_F_FLAGS): Define.
11343         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
11344         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11345         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
11346         (ST_VALID): Define locally.
11347         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
11348         __statvfs_getflags, use the provided value.
11349         * sysdeps/unix/sysv/linux/kernel-features.h: Define
11350         __ASSUME_STATFS_F_FLAGS.
11352         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
11354         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
11355         Add sys/fanotify.h.
11356         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
11357         fanotify_mask for GLIBC_2.13.
11358         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
11359         fanotify_init and fanotify_mark.
11360         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11361         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
11363         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
11364         Add prlimit.
11365         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
11366         prlimit64 for GLIBC_2.13.
11367         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
11368         prlimit64.
11369         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
11370         syscall.
11371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11372         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11373         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
11374         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
11375         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
11376         add prlimit alias.
11377         * sysdeps/unix/sysv/linux/prlimit.c: New file.
11379         [BZ #11903]
11380         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
11381         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
11383         * nss/Makefile: Add rules to build and run tst-nss-test1.
11384         * shlib-versions: Add entry for libnss_test1.
11385         * nss/nss_test1.c: New file.
11386         * nss/tst-nss-test1.c: New file.
11388         * nss/nsswitch.c (__nss_database_custom): Define new variable.
11389         (__nss_configure_lookup): Set appropriate entry in
11390         __nss_configure_lookup to true.
11391         * nss/nsswitch.h: Define enum with indeces of databases in
11392         databases and __nss_database_custom arrays.  Declare
11393         __nss_database_custom.
11394         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
11395         to avoid using nscd when custom rules are installed.
11396         * nss/getXXbyYY_r.c: Likewise.
11397         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11399         * nss/nss_files/files-parse.c: Whitespace fixes.
11401 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
11403         [BZ #11883]
11404         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
11405         * posix/fnmatch_loop.c: Likewise.
11407 2010-07-17  Andi Kleen  <ak@linux.intel.com>
11409         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
11410         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
11411         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
11412         * Versions.def [GLIBC_2.13]: Add.
11414 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
11416         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11417         Also fail if tpwd after pwuid call is NULL.
11419 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11421         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
11422         when converting to ms.
11424 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11426         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
11427         EOPNOTSUPP errors with ENOTTY.
11428         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
11429         EOPNOTSUPP errors with ENOTTY.
11431 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
11433         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11434         Add strcasecmp_l-ssse3.
11435         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
11436         strcasecmp.
11437         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
11438         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
11439         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
11441 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
11443         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
11445         * string/Makefile (strop-tests): Add strcasecmp.
11446         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11447         strcasecmp_l-nonascii.
11448         (gen-as-const-headers): Add locale-defines.sym.
11449         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
11450         * sysdeps/x86_64/strcasecmp.S: New file.
11451         * sysdeps/x86_64/strcasecmp_l.S: New file.
11452         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
11453         * sysdeps/x86_64/locale-defines.sym: New file.
11454         * string/test-strcasecmp.c: New file.
11456         * string/test-strcasestr.c: Test both ends of the range of characters.
11457         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
11459 2010-07-29  Roland McGrath  <roland@redhat.com>
11461         [BZ #11856]
11462         * manual/locale.texi (Yes-or-No Questions): Fix example code.
11464 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
11466         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
11467         for ld.so.
11469 2010-07-27  Andreas Schwab  <schwab@redhat.com>
11471         * manual/memory.texi (Malloc Tunable Parameters): Document
11472         M_PERTURB.
11474 2010-07-26  Roland McGrath  <roland@redhat.com>
11476         [BZ #11840]
11477         * configure.in (-fgnu89-inline check): Set and substitute
11478         gnu89_inline, not libc_cv_gnu89_inline.
11479         * configure: Regenerated.
11480         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
11482 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
11484         * string/test-strnlen.c: New file.
11485         * string/Makefile (strop-tests): Add strnlen.
11486         * string/tester.c (test_strnlen): Add a few more test cases.
11487         * string/tst-strlen.c: Better error reporting.
11489         * sysdeps/x86_64/strnlen.S: New file.
11491 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
11493         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
11494         lower-latency instructions.
11496 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
11498         * string/test-strcasestr.c: New file.
11499         * string/test-strstr.c: New file.
11500         * string/Makefile (strop-tests): Add strstr and strcasestr.
11501         * string/str-two-way.h: Don't undefine MAX.
11502         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
11504 2010-07-21  Andreas Schwab  <schwab@redhat.com>
11506         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11507         strcasestr-nonascii.
11508         (CFLAGS-strcasestr-nonascii.c): Define.
11509         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
11510         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
11511         Remove unused attribute.
11513 2010-07-20  Roland McGrath  <roland@redhat.com>
11515         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
11516         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
11517         ld.so.cache was broken.  With it, there is no way to disable dsocaps
11518         like LD_HWCAP_MASK can disable hwcaps.
11520 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
11522         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
11524 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
11526         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
11527         call in strcasestr.
11528         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
11529         __strcasestr_sse42_nonascii.
11530         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
11531         strcasestr-nonascii.c.
11532         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
11534 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
11536         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
11537         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
11538         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
11539         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
11541 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
11543         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
11544         fcntl.
11546 2010-07-06  Andreas Schwab  <schwab@redhat.com>
11548         [BZ #11577]
11549         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
11550         dl_signal_cerror.
11552 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
11554         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
11555         _PC_PIPE_BUF using F_GETPIPE_SZ.
11557 2010-07-05  Roland McGrath  <roland@redhat.com>
11559         * manual/arith.texi (Rounding Functions): Fix rint description
11560         implicit in round description.
11562 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
11564         * elf/Makefile: Fix linking for a few tests to make recent linker
11565         happy.
11567 2010-06-30  Andreas Schwab  <schwab@redhat.com>
11569         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11570         $(common-objpfx)libc_nonshared.a.
11572 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
11574         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
11575         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
11576         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11577         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11578         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
11579         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
11580         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11581         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
11583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
11584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
11585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
11587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
11589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
11590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
11591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
11592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
11594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
11596         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
11597         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
11598         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
11599         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
11600         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
11601         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
11602         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
11603         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
11604         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
11605         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
11606         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
11607         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
11608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
11609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
11610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
11611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
11612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
11613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
11614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
11615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
11616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
11617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
11618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
11619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
11620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
11621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
11623 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
11625         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
11626         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
11627         * string/memmove.c (memmove): Renamed to ...
11628         (MEMMOVE): ...this.  Default to memmove.
11629         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
11630         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
11631         (END_CHK): Define.
11632         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11633         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
11634         mempcpy-ssse3-back memmove-ssse3-back.
11635         * sysdeps/x86_64/multiarch/bcopy.S: New file .
11636         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
11637         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
11638         * sysdeps/x86_64/multiarch/memcpy.S: New file.
11639         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
11640         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
11641         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
11642         * sysdeps/x86_64/multiarch/memmove.c: New file.
11643         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
11644         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
11645         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
11646         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
11647         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
11648         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
11649         Define.
11650         (index_Fast_Copy_Backward): Define.
11651         (HAS_ARCH_FEATURE): Define.
11652         (HAS_FAST_REP_STRING): Define.
11653         (HAS_FAST_COPY_BACKWARD): Define.
11655 2010-06-21  Andreas Schwab  <schwab@redhat.com>
11657         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11658         Restore proper fallback handling.
11660 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
11662         [BZ #11701]
11663         * posix/group_member.c (__group_member): Correct checking loop.
11665         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11666         OOM in getpwuid_r correctly.  Return error number when the caller
11667         should return, otherwise -1.
11668         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11669         call returning > 0 value.
11670         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11672 2010-06-07  Andreas Schwab  <schwab@redhat.com>
11674         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11675         libc_nonshared.a from targets in modules-names.
11677 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
11679         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11680         requires it.
11682 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
11684         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11685         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11686         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11687         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11689 2010-06-02  Andreas Schwab  <schwab@redhat.com>
11691         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11693 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
11695         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11696         and F_GETPIPE_SZ.
11697         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11698         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11699         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11700         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11701         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11702         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11704 2010-06-14  Roland McGrath  <roland@redhat.com>
11706         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11708 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
11710         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11711         __REDIRECT followed by __THROW.
11712         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11713         * posix/getopt.h (getopt): Likewise.
11715 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
11717         * hurd/lookup-at.c (__file_name_lookup_at): Accept
11718         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
11719         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11720         in AT_FLAGS.
11721         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11722         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11724 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
11726         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11728 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
11730         [BZ #11640]
11731         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11732         Properly check family and model.
11734 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
11736         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11738 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
11740         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11742 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
11744         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11745         symbol reference.
11747 2010-05-19  Andreas Schwab  <schwab@redhat.com>
11749         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11750         symbol reference.
11752 2010-05-21  Andreas Schwab  <schwab@redhat.com>
11754         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11755         and internal_recvmmsg.
11756         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11757         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11758         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11759         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11761         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11762         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11763         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11765 2010-05-20  Andreas Schwab  <schwab@redhat.com>
11767         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11769 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
11771         POWER7 optimizations.
11772         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11773         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11775 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
11777         * version.h: Update for 2.13 development version.
11779 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
11781         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11782         exceptions.  Return 0.
11784 2010-05-07  Roland McGrath  <roland@redhat.com>
11786         * elf/ldconfig.c (main): Add a const.
11788 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
11790         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11791         (args_options): Add no-idn option.
11792         (ahosts_keys_int): Add idn_flags to ai_flags.
11793         (parse_option): Handle 'i' option to clear idn_flags.
11795         * malloc/malloc.c (_int_free): Possible race in the most recently
11796         added check.  Only act on the data if no current modification
11797         happened.
11799 See ChangeLog.17 for earlier changes.