Add flexibility to localplt-*.data files, using an awk script rather than diff to...
[glibc.git] / ChangeLog
blobd84ae7a184985136fb5cecf887ee18460777ecec
1 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
3         * sysdeps/unix/getegid.S: Remove file.
4         * sysdeps/unix/geteuid.S: Likewise.
6 2012-04-24  Roland McGrath  <roland@hack.frob.com>
8         * scripts/check-localplt.awk: New file.
9         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
10         of diff.
11         * scripts/data/localplt-generic.data: Add a comment.
13         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
14         NODE when __dir_mkfile failed.
15         * sysdeps/mach/hurd/symlinkat.c: Likewise.
16         Reported by Ludovic Courtès <ludo@gnu.org>.
18 2012-04-24  Andreas Jaeger  <aj@suse.de>
20         * Makerules (common-clean): Also remove gen-as-const-headers
21         files.
23 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
25         * Makerules (native-compile): Do not change working directory for
26         build.  Use $(OUTPUT_OPTION) in command.
27         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
29 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31         [BZ #13886]
32         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
33         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
34         * math/libm-test.inc (floor_test): Add more tests.
35         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
37 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
39         * sysdeps/unix/getdents.c: Remove file.
40         * sysdeps/unix/sysv/getdents.c: Likewise.
41         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
43         * sysdeps/unix/syscalls.list (madvise): Add syscall from
44         sysdeps/unix/mman/syscalls.list.
45         (mmap): Likewise.
46         (mprotect): Likewise.
47         (msync): Likewise.
48         (munmap): Likewise.
49         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
50         * sysdeps/unix/mman/syscalls.list: Remove.
51         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
53         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
54         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
55         * configure: Regenerated.
56         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
57         $(libgcc_s_suffix).
58         * config.make.in (libgcc_s_suffix): Remove variable.
60 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
62         * sysdeps/unix/sysv/gethostname.c: Move to ...
63         * sysdeps/posix/gethostname.c: ... here.
65         * sysdeps/unix/execve.S: Remove file.
67         * sysdeps/unix/_exit.S: Remove file.
69 2012-04-23  Andreas Jaeger  <aj@suse.de>
71         [BZ #13739]
72         * manual/Makefile: Remove make dist support, there's no
73         need for a stand-alone documentation tar ball.
74         (TEXI2DVI): Define always, it's not in Makeconfig.
75         (dist): Removed.
76         (tar-it): Removed.
77         (edition): Removed.
78         (glibc-doc-$(edition).tar): Removed
79         (%.Z): Removed.
80         (%.gz): Removed.
81         (%.uu): Removed.
82         (ETAGS): Remove, it's in Makeconfig.
83         (move-if-change): Remove, it's in Makeconfig.
85 2013-04-23  Paul Eggert  <eggert@cs.ucla.edu>
87         [BZ #13970]
88         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
89         (strtod, strtof, strtold, strtol, strtoul, strtoq)
90         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
91         (strtod_l, strtof_l, strtold_l): Remove __wur.
92         It is not necessarily an error to ignore strtol's return value.
93         One can reliably look at the stored endptr to decide whether
94         the number had valid syntax.
96 2012-04-21  Andreas Jaeger  <aj@suse.de>
98         [BZ #13739]
99         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
101 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
103         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
104         * sysdeps/unix/sysv/Versions: Remove file.
106 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
108         [BZ #13927]
109         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
111 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
113         [BZ #7064]
114         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
115         version from __vm86.
117 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
119         * sysdeps/unix/common/lxstat.c: Remove file.
120         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
122         * sysdeps/unix/sysv/Makefile: Remove file.
124         * sysdeps/unix/sysv/direct.h: Remove file.
126         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
127         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
128         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
129         * sysdeps/unix/sysv/bits/signum.h: Likewise.
130         * sysdeps/unix/sysv/bits/stat.h: Likewise.
131         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
132         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
134         * sysdeps/unix/sysv/setrlimit.c: Remove file.
136         * sysdeps/unix/xmknod.c: Remove file.
137         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
139         * sysdeps/unix/sysv/settimeofday.c: Remove file.
141         * sysdeps/unix/sysv/i386/time.S: Remove file.
143         * sysdeps/unix/fxstat.c: Remove file.
144         * sysdeps/unix/xstat.c: Likewise.
145         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
147         * sysdeps/unix/sysv/sigaction.c: Remove file.
149         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
150         (sysdep_headers): Remove variable.
151         [termio.h not in sysdep_headers] (generated): Likewise.
152         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
153         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
154         * sysdeps/unix/sysv/tcdrain.c: Likewise.
155         * sysdeps/unix/sysv/tcflow.c: Likewise.
156         * sysdeps/unix/sysv/tcflush.c: Likewise.
157         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
158         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
159         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
160         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
161         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
163         * sysdeps/unix/siglist.c: Remove file.
165         * sysdeps/unix/getppid.S: Remove file.
167         * sysdeps/unix/mkdir.c: Remove file.
168         * sysdeps/unix/rmdir.c: Likewise.
170 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
172         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
173         ERR_MAX value.
174         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
175         errlist-compat value.
177 2012-04-18  David S. Miller  <davem@davemloft.net>
179         * sysdeps/generic/memcopy.h (reg_char): Delete.
180         * debug/strcat_chk.c: Use char, not reg_char.
181         * debug/strcpy_chk.c: Likewise.
182         * debug/strncat_chk.c: Likewise.
183         * debug/strncpy_chk.c: Likewise.
184         * string/memchr.c: Likewise.
185         * string/memrchr.c: Likewise.
186         * string/rawmemchr.c: Likewise.
187         * string/strcat.c: Likewise.
188         * string/strchr.c: Likewise.
189         * string/strchrnul.c: Likewise.
190         * string/strcmp.c: Likewise.
191         * string/strcpy.c: Likewise.
192         * string/strncat.c: Likewise.
193         * string/strncmp.c: Likewise.
194         * string/strncpy.c: Likewise.
196 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
198         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
199         __builtin_memcopy is called when src and dest ranges are known to not
200         overlap.
202 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
204         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
205         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
206         fwd_align_merge macro call.
207         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
208         bwd_align_merge macro call.
209         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
211 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
213         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
214         bwd_align_merge macros.
215         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
216         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
217         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
219 2012-04-18  David S. Miller  <davem@davemloft.net>
221         * sysdeps/sparc/sparc64/memcopy.h: Delete.
223 2012-04-18  Andreas Jaeger  <aj@suse.de>
225         [BZ# 6794]
226         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
227         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
228         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
230         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
231         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
232         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
234         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
235         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
236         Adjust for changed ldbl-128 files.
238         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
239         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
240         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
242 2012-04-17  David S. Miller  <davem@davemloft.net>
244         * sysdeps/sparc/sparc32/memcopy.h: Delete.
246 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
248         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
249         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
250         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
251         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
252         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
253         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
255 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
257         [BZ #6794]
258         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
259         * math/libm-test.inc: Add ilogb errno and exception tests.
260         * math/w_ilogb.c: New file: ilogb wrapper.
261         * math/w_ilogbf.c: New file: ilogbf wrapper.
262         * math/w_ilogbl.c: New file: ilogbl wrapper.
263         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
264         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
265         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
266         exception being thrown with 0.0 as argument.
267         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
268         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
269         exception being thrown with 0.0 as argument.
270         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
271         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
272         exception being thrown with 0.0 as argument.
273         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
274         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
275         exception being thrown with 0.0 as argument.
276         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
277         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
278         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
279         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
280         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
281         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
282         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
283         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
284         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
286 2012-04-17  Petr Baudis  <pasky@ucw.cz>
288         * include/sys/uio.h: Change __vector to __iovec to avoid clash
289         with altivec.
291 2012-04-16  Marek Polacek  <polacek@redhat.com>
293         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
295 2012-04-16  Marek Polacek  <polacek@redhat.com>
297         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
298         operands of fdivp instruction.
300 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
302         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
303         * elf/tst-auditmod3b.c: Likewise.
304         * elf/tst-auditmod4b.c: Likewise.
305         * elf/tst-auditmod5b.c: Likewise.
306         * elf/tst-auditmod6b.c: Likewise.
307         * elf/tst-auditmod6c.c: Likewise.
308         * elf/tst-auditmod7b.c: Likewise.
309         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
310         * sysdeps/x86_64/preconfigure.in: Likewise.
311         * sysdeps/x86_64/preconfigure: Regenerated.
313 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
315         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
316         __ILP32__.
318 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
320         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
321         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
323 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
325         [BZ #13973]
326         * locale/iso-639.def: Fix gl language name. Spotted by
327         Yaron Shahrabani.
329 2012-04-12  Roland McGrath  <roland@hack.frob.com>
331         [BZ #2074]
332         * libio/libio.h (__io_write_fn): Update comment.
334 2012-04-12  Petr Baudis  <pasky@ucw.cz>
336         [BZ #2074]
337         * stdio.texi (Hook Functions): The user provided writer function
338         is not allowed to return -1.
340 2012-04-11  David S. Miller  <davem@davemloft.net>
342         * sysdeps/sparc/fpu/libm-test-ulps: Update.
344 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
346         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
347         Add a leading slash to rtkaio.
349 2012-04-11  Jim Meyering  <meyering@redhat.com>
351         [BZ #11959]
352         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
353         It is not necessarily an error to ignore fwrite's return
354         value.  One can reliably use ferror to test for errors after
355         the fact.
357 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
359         * bits/types.h (__snseconds_t): New type.
360         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
362         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
363         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
364         (__SNSECONDS_T_TYPE): Likewise.
365         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
366         (__SNSECONDS_T_TYPE): Likewise.
367         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
368         (__SNSECONDS_T_TYPE): Likewise.
370 2012-04-10  Andreas Jaeger  <aj@suse.de>
372         [BZ #2636]
373         * manual/time.texi (Processor Time): Return type of times is
374         elapsed real time since an arbitrary point in the past.
375         (CPU Time): Move CLK_TCK from here...
376         (Processor Time): ...to here.  Correct description.
377         * manual/conf.texi (Constants for Sysconf): Correct description of
378         _SC_CLK_TCK.
380 2012-04-10  David S. Miller  <davem@davemloft.net>
382         [BZ #13967]
383         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
384         where the is a gap between DT_REL(A) and DT_JMPREL.
386 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
388         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
389         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
390         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
392 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
394         * elf/dl-support.c (_dl_inhibit_cache): New variable.
395         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
396         (dl_main): Handle --inhibit-cache.
397         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
398         _dl_inhibit_cache.
399         * elf/dl-load.c (_dl_map_object): Use it.
400         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
402 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
404         [BZ #13872]
405         * sysdeps/i386/fpu/e_powl.S (p78): New object.
406         (__ieee754_powl): Saturate large exponents rather than testing for
407         overflow of y*log2(x).
408         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
409         * math/libm-test.inc (pow_test): Do not permit spurious overflow
410         exceptions.
412         [BZ #11521]
413         * math/s_ctan.c: Include <float.h>.
414         (__ctan): Avoid internal overflow or cancellation in calculating
415         denominator.
416         * math/s_ctanf.c: Likewise.
417         * math/s_ctanl.c: Likewise.
418         * math/s_ctanh.c: Likewise.
419         * math/s_ctanhf.c: Likewise.
420         * math/s_ctanhl.c: Likewise.
421         * math/libm-test.inc (ctan_test): Add more tests.
422         (ctanh_test): Likewise.
423         * sysdeps/i386/fpu/libm-test-ulps: Update.
424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
426 2012-04-09  Andreas Jaeger  <aj@suse.de>
428         [BZ #6894]
429         * manual/filesys.texi (Directory Entries): Mention that d_namlen
430         is an optional BSD extension.
432         [BZ #10254]
433         * manual/stdio.texi (Opening Streams): Document additional fopen
434         parameters.
436 2012-04-09  Roland McGrath  <roland@hack.frob.com>
438         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
439         %eax without telling the compiler.
441 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
443         [BZ # 13963]
444         * manual/install.texi: Use sourceware.org.
446 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
448         [BZ #13873]
449         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
450         (__ieee754_pow): Generate overflow and underflow using huge*huge
451         and tiny*tiny rather than just returning constant infinity or zero
452         for large exponents.
453         * math/libm-test.inc (pow_test): Require overflow exceptions for
454         applicable cases of large exponents.
456         [BZ #706]
457         * sysdeps/i386/fpu/e_pow.S (p10): New object.
458         (__ieee754_pow): Use iterative multiplication algorithm only for
459         integer exponents with absolute value below 1024.  Check for odd
460         integer exponents when using algorithm for real exponents.
461         * math/libm-test.inc (pow_test): Add more tests.
462         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
464 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
466         [BZ #13705]
467         * math/libm-test.inc (exp_test): Do not allow overflow exception
468         on underflow test.
470 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
472         [BZ #13705]
473         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
474         instead of __kernel_standard_f.
476 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
478         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
479         * sysdeps/x86_64/memset_chk.S: Likewise.
481 2012-04-08  Andreas Jaeger  <aj@suse.de>
483         [BZ #10153]
484         * manual/startup.texi (Environment Access): Describe return value
485         for putenv and setenv.
487         [BZ #6895]
488         * manual/filesys.texi (Directory Entries): Add description for
489         DT_LNK.
491         [BZ #6890]
492         * manual/filesys.texi (Directory Entries): Clarify that it's file
493         system not operating system in the description of DT_UNKNOWN.
495         [BZ #6578]
496         * manual/syslog.texi (closelog): Fix reference, it's openlog.
498 2012-04-08  Stephen Compall  <s11@member.fsf.org>
500         [BZ #6649]
501         * manual/llio.texi (Opening and Closing Files): Add cross
502         reference to explain mode argument.
504 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
506         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
507         * sysdeps/x86_64/memset_chk.S: Likewise.
509 2012-04-07  David S. Miller  <davem@davemloft.net>
511         * elf/elf.h (R_SPARC_WDISP10): Define.
512         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
513         R_SPARC_SIZE32.
514         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
515         R_SPARC_SIZE64 and R_SPARC_H34.
517 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
519         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
520         conditions and remove no longer applicable assertion.
522 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
524         * bits/byteswap.h: Include <features.h>.
525         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
526         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
528 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
530         * bits/byteswap.h (__bswap_16): Removed.
531         Include <bits/byteswap-16.h> to get __bswap_16.
532         * sysdeps/i386/bits/byteswap.h: Likewise.
533         * sysdeps/s390/bits/byteswap.h: Likewise.
534         * sysdeps/x86_64/bits/byteswap.h: Likewise.
535         * bits/byteswap-16.h: New file.
536         * sysdeps/i386/bits/byteswap-16.h: Likewise.
537         * sysdeps/s390/bits/byteswap-16.h: Likewise.
538         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
539         * string/Makefile (headers): Add bits/byteswap-16.h.
541 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
543         [BZ #13895]
544         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
545         extra indirection.
546         * nss/Makefile (tests-static, tests): Add tst-nss-static.
547         * nss/tst-nss-static.c: New.
549 2012-04-06  Robert Millan  <rmh@gnu.org>
551         [BZ #6486]
552         * manual/llio.texi (File Position Primitive): lseek
553         refers to WHENCE when it really means OFFSET.
555 2012-04-06  Andreas Jaeger  <aj@suse.de>
557         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
558         strncmp declarations.
560         * abilist/libc.abilist: Add __poll and __ppoll.
562 2012-04-05  David S. Miller  <davem@davemloft.net>
564         * scripts/check-local-headers.sh: Accept a host triplet in the
565         path matched by the exclude regexp.
567         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
568         definition.
569         * sysdeps/powerpc/powerpc32/dl-machine.h
570         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
571         * sysdeps/s390/s390-32/dl-machine.h
572         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
573         * sysdeps/sparc/sparc32/dl-machine.h
574         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
575         * sysdeps/sparc/sparc64/dl-machine.h
576         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
578         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
579         lazy binding.
580         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
581         undefined symbol errors.
583         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
584         DT_NEEDED entries.
586 2012-04-05  Michael Matz  <matz@suse.de>
588         [BZ #13592]
589         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
591 2012-04-05  Andreas Jaeger  <aj@suse.de>
593         [BZ #13908]
594         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
595         comment.
597 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
599         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
600         which ROUND is no valid rounding mode.
602 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
604         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
605         read again.
606         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
608 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
610         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
611         an exception using FPU order intentionally.
613 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
615         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
616         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
617         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
618         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
620 2012-04-05  Simon Josefsson  <simon@josefsson.org>
622         [BZ #12340]
623         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
624         EINVAL when BUFLEN is too smal.
626 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
628         [BZ #13553]
629         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
630         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
632 2012-04-03  Andreas Jaeger  <aj@suse.de>
634         [BZ #13938]
635         * manual/setjmp.texi (System V contexts): Fix sentence.
637         [BZ #13926]
638         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
639         New macro for this case.
640         [!__GNUC__] (__bswap_64): New inline function for this case.
641         * sysdeps/x86_64/bits/byteswap.h: Likewise.
642         * bits/byteswap.h: Likewise.
643         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
644         ull, guard with __GLIBC_HAVE_LONG_LONG.
646         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
647         __GLIBC_HAVE_LONG_LONG.
649         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
650         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
652 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
654         [BZ #13691]
655         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
656         inptr and inend, rather than using last_ch.
658 2012-04-02  David S. Miller  <davem@davemloft.net>
660         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
661         * stdio-common/printf-parse.h (read_int): Change return type to
662         'int', return -1 on INT_MAX overflow.
663         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
664         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
665         overflows INT_MAX.  Check for overflow of in-format-string precision
666         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
667         SIZE_MAX not INT_MAX for integer overflow test.
668         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
669         skip the construct in the format string but do not record anything.
670         * stdio-common/bug22.c: Adjust to test both width/prevision
671         INT_MAX overflow as well as total length INT_MAX overflow.  Check
672         explicitly for proper errno values.
674 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
676         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
677         CHAR_MAX.
678         * string/test-strcmp.c [! WIDE]: Likewise.
679         * time/tst-mktime2.c: Likewise for INT_MAX.
680         * string/test-string.h: #include <sys/param.h> for MIN.
682         * csu/init-first.c (__libc_init_first): Call __ctype_init.
683         * sysdeps/i386/init-first.c (init): Likewise.
684         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
685         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
686         * sysdeps/sh/init-first.c (init): Likewise.
688 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
690         * po/ru.po: Update from translation team.
691         * po/vi.po: Likewise.
693 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
695         * resolv/nss_dns/dns-host.c: Merge copyright years.
697 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
699         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
700         Optimize memcpy with prefetch if
701         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
702         src, dst pointers have unequal 16 byte alignments.
704 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
706         [BZ #13928]
707         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
708         from a CNAME entry and return the minimum ttl for the query.
709         (gaih_getanswer_slice): Likewise.
711 2012-03-30  Jeff Law  <law@redhat.com>
713         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
714         due to long keys.
715         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
716         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
718         * resolv/nss_dns/dns-host.c: Update copyright year.
720 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
722         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
723         requests to save a system call.  Fix check that all bytes are sent.
725         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
726         comments for sendmmsg.
728 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
730         [BZ #13691]
731         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
732         with only 1 character between 0x0041 and 0x01b0.
733         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
734         * wcsmbs/tst-mbsnrtowcs.c: New file.
736 2012-03-29  David S. Miller  <davem@davemloft.net>
738         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
739         small copies by hand.
741 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
743         [BZ #13761]
744         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
745         _nss_compat_initgroups_dyn): Fall back to malloc/free
746         for large group memberships.
748 2012-03-28  David S. Miller  <davem@davemloft.net>
750         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
751         that branches into memcpy.
752         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
753         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
754         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
755         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
756         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
757         bits.
758         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
759         implementation too.
760         * sysdeps/sparc/mempcpy.S: New file.
762         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
763         the IFUNC routine in the libc case.
764         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
766         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
767         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
768         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
769         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
770         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
771         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
772         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
773         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
775         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
776         loop to 256 bytes instead of 64 bytes and fix test signedness.
778         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
779         * sysdeps/sparc/sparc32/Makefile: rather than here...
780         * sysdeps/sparc/sparc64/Makefile: and here.
782 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
784         * malloc/mallocbug.c: Avoid warnings about unused variables.
786 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
788         [BZ #13760]
789         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
790         in the right place. Discard and retry query if response is
791         larger than input buffer size.
793 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
795         [BZ #369]
796         [BZ #2678]
797         [BZ #3866]
798         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
799         x for large integer exponent.
800         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
801         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
802         sign of result as needed afterwards.
803         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
804         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
805         result for underflowing pow the same as for overflow.
806         (__kernel_standard_l): Handle powl overflow and underflow here
807         rather than calling __kernel_standard.
808         * math/libm-test.inc (pow_test): Add more tests.
810         [BZ #3868]
811         [BZ #13879]
812         [BZ #13910]
813         [BZ #13911]
814         [BZ #13912]
815         [BZ #13913]
816         [BZ #13915]
817         [BZ #13916]
818         [BZ #13917]
819         [BZ #13918]
820         [BZ #13919]
821         [BZ #13920]
822         [BZ #13921]
823         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
824         * sysdeps/ieee754/k_standard.c: Include <float.h>.
825         (__kernel_standard_l): New function.
826         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
827         __kernel_standard.
828         * math/w_acosl.c (__acosl): Likewise.
829         * math/w_asinl.c (__asinl): Likewise.
830         * math/w_atan2l.c (__atan2l): Likewise.
831         * math/w_atanhl.c (__atanhl): Likewise.
832         * math/w_coshl.c (__coshl): Likewise.
833         * math/w_exp10l.c (__exp10l): Likewise.
834         * math/w_exp2l.c (__exp2l): Likewise.
835         * math/w_fmodl.c (__fmodl): Likewise.
836         * math/w_hypotl.c (__hypotl): Likewise.
837         * math/w_j0l.c (__j0l, __y0l): Likewise.
838         * math/w_j1l.c (__j1l, __y1l): Likewise.
839         * math/w_jnl.c (__jnl, __ynl): Likewise.
840         * math/w_lgammal.c (__lgammal): Likewise.
841         * math/w_log10l.c (__log10l): Likewise.
842         * math/w_log2l.c (__log2l): Likewise.
843         * math/w_logl.c (__logl): Likewise.
844         * math/w_powl.c (__powl): Likewise.
845         * math/w_remainderl.c (__remainderl): Likewise.
846         * math/w_scalbl.c (sysv_scalbl): Likewise.
847         * math/w_sinhl.c (__sinhl): Likewise.
848         * math/w_sqrtl.c (__sqrtl): Likewise.
849         * math/w_tgammal.c (__tgammal): Likewise.
850         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
851         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
852         * math/libm-test.inc (acos_test): Add more tests.
853         (acosh_test): Likewise.
854         (asin_test): Likewise.
855         (atanh_test): Likewise.
856         (exp_test): Likewise.
857         (exp10_test): Likewise.
858         (exp2_test): Likewise.
859         (expm1_test): Likewise.
860         (lgamma_test): Likewise.
861         (log_test): Likewise.
862         (log10_test): Likewise.
863         (log1p_test): Likewise.
864         (log2_test): Likewise.
865         (pow_test): Do not allow some spurious overflow exceptions.
866         (sqrt_test): Add more tests.
867         (tgamma_test): Likewise.
868         (y0_test): Likewise.
869         (y1_test): Likewise.
870         (yn_test): Likewise.
872 2012-03-27  Anton Blanchard  <anton@samba.org>
874         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
875         MAP_HUGETLB.
876         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
877         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
878         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
880 2012-03-27  David S. Miller  <davem@davemloft.net>
882         * conform/Makefile: Run run-conformtest.sh using $(BASH).
884         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
885         have-as-vis3 check.
887 2012-03-27  Andreas Jaeger  <aj@suse.de>
889         * sysdeps/x86_64/elf/configure.in: Moved to ...
890         * sysdeps/x86_64/configure.in: ... here.
891         * sysdeps/x86_64/elf/start.S: Moved to ...
892         * sysdeps/x86_64/start.S: ... here.
893         * sysdeps/x86_64/elf/configure: Delete.
895         * sysdeps/x86_64/configure.in: Merge contents from
896         sysdeps/i386/configure.in (without i686 check).
898         * sysdeps/i386/elf/Versions: Merge into ...
899         * sysdeps/i386/Versions: ... this.
900         * sysdeps/i386/elf/Versions: Delete file.
901         * sysdeps/i386/elf/start.S: Moved to ...
902         * sysdeps/i386/start.S: ...here.
903         * sysdeps/i386/elf/configure.in: Merge into...
904         * sysdeps/i386/configure.in: ...here.
905         * sysdeps/i386/elf/configure.in: Delete file.
906         * sysdeps/i386/elf/configure: Delete file.
908         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
909         * debug/backtracesyms.c: ... here.
910         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
911         * debug/backtracesymsfd.c: ... here.
912         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
913         * sysdeps/generic/ifunc-sel.h: ... here.
915         * sysdeps/unix/i386/start.c: Delete file.
916         * sysdeps/unix/sparc/start.c: Delete file.
917         * sysdeps/unix/start.c: Delete file.
919         * sysdeps/sh/elf/configure.in: Moved to ...
920         * sysdeps/sh/configure.in: ... here.
921         * sysdeps/sh/elf/start.S: Moved to ...
922         * sysdeps/sh/start.S: ... here.
923         * sysdeps/sh/elf/configure: Delete file.
925         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
926         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
927         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
928         * sysdeps/powerpc/powerpc64/entry.h: ... here.
929         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
930         * sysdeps/powerpc/powerpc64/start.S: here.
931         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
932         * sysdeps/powerpc/powerpc64/Makefile: ... this.
933         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
934         * sysdeps/powerpc/powerpc64/configure.in: ... this.
935         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
937         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
938         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
939         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
940         * sysdeps/powerpc/powerpc32/start.S: ... here.
941         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
942         * sysdeps/powerpc/powerpc32/configure.in: ... this.
943         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
945         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
946         * sysdeps/powerpc/ifunc-sel.h: ... here.
947         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
948         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
950         * sysdeps/sparc/elf/configure.in: Moved to ...
951         * sysdeps/sparc/configure.in: ... here.
952         * sysdeps/sparc/elf/configure: Delete file.
953         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
954         * sysdeps/sparc/sparc32/start.S: ... here.
955         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
956         * sysdeps/sparc/sparc64/start.S: ... here.
957         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
958         * sysdeps/sparc/sparc32/Makefile: ... this.
959         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
960         * sysdeps/sparc/sparc64/Makefile: ... this.
962         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
963         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
964         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
965         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
966         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
967         * sysdeps/s390/s390-32/setjmp.S: ... here.
968         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
969         * sysdeps/s390/s390-32/configure.in: ... here.
970         * sysdeps/s390/s390-32/elf/configure: Delete file.
971         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
972         * sysdeps/s390/s390-32/start.S: ... here.
974         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
975         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
976         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
977         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
978         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
979         * sysdeps/s390/s390-64/setjmp.S: ... here.
980         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
981         * sysdeps/s390/s390-64/configure.in: ... here
982         * sysdeps/s390/s390-64/elf/configure: Delete file.
983         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
984         * sysdeps/s390/s390-64/start.S: ... here.
985         * sysdeps/s390/s390-64/elf/configure: Delete.
987         * configure.in: Remove support for elf directories in sysdeps.
989         * configure: Regenerated.
990         * sysdeps/i386/configure: Regenerated.
991         * sysdeps/powerpc/powerpc32/configure: Regenerated.
992         * sysdeps/powerpc/powerpc64/configure: Regenerated.
993         * sysdeps/s390/s390-32/configure: Regenerated.
994         * sysdeps/s390/s390-64/configure: Regenerated.
995         * sysdeps/sh/configure: Regenerated.
996         * sysdeps/sparc/configure: Regenerated.
997         * sysdeps/x86_64/configure: Regenerated.
999 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
1001         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1003         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
1004         denormal result into account.
1006 2012-03-25  Roland McGrath  <roland@hack.frob.com>
1008         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
1009         Reported by Allan McRae <allan@archlinux.org>.
1011 2012-03-23  Jeff Law  <law@redhat.com>
1013         * nss/getnssent.c (__nss_getent): Fix typo.
1015 2012-03-23  David S. Miller  <davem@davemloft.net>
1017         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1019 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
1021         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
1022         to pad to uint64_t for each field.
1023         (dl_tls_index): Replace unsigned long with uint64_t.
1025 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
1026         Paul Pluzhnikov  <ppluzhnikov@google.com>
1028         [BZ #6528]
1029         * grp/Makefile (otherlibs): Don't set it.
1030         * inet/Makefile (otherlibs): Likewise.
1031         * login/Makefile (otherlibs): Likewise.
1032         * nscd/Makefile (otherlibs): Likewise.
1033         * posix/Makefile (otherlibs): Likewise.
1034         * pwd/Makefile (otherlibs): Likewise.
1035         * rt/Makefile (otherlibs): Likewise.
1036         * sunrpc/Makefile (otherlibs): Likewise.
1037         * nss/Makefile (otherlibs): Likewise.
1038         Add libnss_files to routines and static-only-routines.
1039         ($(objpfx)getent): Remove rule.
1040         * resolv/Makefile: Add libnss_dns and libresolv to routines and
1041         static-only-routines.
1043 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
1045         [BZ #13892]
1046         * math/s_cexp.c: Include <float.h>.
1047         (__cexp): Handle exp result overflowing not necessarily
1048         overflowing both real and imaginary parts of result.
1049         * math/s_cexpf.c: Likewise.
1050         * math/s_cexpl.c: Likewise.
1051         * math/libm-test.inc (cexp_test): Add more tests.
1052         * sysdeps/i386/fpu/libm-test-ulps: Update.
1053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1055 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1057         * include/link.h (ELFW): New macro.
1058         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
1059         Replace ELF64_R_TYPE with ELFW(R_TYPE).
1061 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1063         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
1064         with uint64_t.
1066 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1068         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
1069         declaration.
1070         (struct La_x32_retval): Likewise.
1072 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1074         * sysdeps/x86_64/preconfigure.in: New file.
1075         * sysdeps/x86_64/preconfigure: New generated file.
1077 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
1079         [BZ #13824]
1080         * math/e_exp2l.c: Include <float.h>.
1081         (__ieee754_exp2l): Handle overflow and underflow cases
1082         separately.  Only pass fractional part of argument to
1083         __ieee754_expl.
1084         * math/libm-test.inc (exp2_test): Add more tests.
1086         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
1087         negating x to take absolute value.
1088         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
1089         Likewise.
1090         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1091         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
1092         Likewise.
1093         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
1094         computing low part if x was negated.
1095         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1097 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1099         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
1100         la_x32_gnu_pltexit.
1101         (pltexit): Cast int_retval to ptrdiff_t.
1102         * elf/tst-auditmod3b.c: Likewise.
1103         * elf/tst-auditmod4b.c: Likewise.
1104         * elf/tst-auditmod5b.c: Likewise.
1105         * elf/tst-auditmod6b.c: Likewise.
1106         * elf/tst-auditmod6c.c: Likewise.
1107         * elf/tst-auditmod7b.c: Likewise.
1109         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
1110         and x32_gnu_pltexit.
1112         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
1113         __ELF_NATIVE_CLASS.
1114         (La_x32_regs): New macro.
1115         (La_x32_retval): Likewise.
1116         (la_x32_gnu_pltenter): New function prototype.
1117         (la_x32_gnu_pltexit): Likewise.
1119 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
1121         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
1122         exponent.
1124         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1126         * configure.in (libc_cv_cc_nofma): Check for option to disable
1127         generation of FMA instructions.
1128         * configure: Regenerate.
1129         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
1130         * sysdeps/ieee754/dbl-64/Makefile: New file.
1131         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1132         Remove brandred-fma4.
1133         (CFLAGS-brandred-fma4.c): Remove.
1134         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
1135         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
1136         define.
1137         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
1138         define.
1140 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1142         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1143         LLONG_MAX != LONG_MAX.
1144         (_itoa_word): Use _ITOA_WORD_TYPE on value.
1145         (_fitoa_word): Likewise.
1146         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
1147         LLONG_MAX != LONG_MAX.
1148         * stdio-common/_itowa.h: Include <_itoa.h>.
1149         (_itowa_word): Use _ITOA_WORD_TYPE on value.
1150         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
1151         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
1152         only if not defined.
1153         (_ITOA_WORD_TYPE): Likewise.
1154         (_itoa_word): Use _ITOA_WORD_TYPE on value.
1155         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
1157 2012-03-21  David S. Miller  <davem@davemloft.net>
1159         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1161 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1163         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
1164         of x86_64 when setting libc_cv_slibdir, libdir and
1165         libc_cv_localedir.
1166         * sysdeps/unix/sysv/linux/configure: Regenerated.
1168 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
1170         * manual/lang.texi (Old Varargs): Remove section.
1171         (How Variadic): Update menu.
1172         (va_start): Do not mention varargs.h.
1174 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
1175             Joseph Myers  <joseph@codesourcery.com>
1177         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
1178         link test.
1179         * configure: Regenerated.
1181 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
1183         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
1184         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
1185         conformtest.pl
1187 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
1189         * NOTES: Remove.
1190         * Makefile (files-for-dist): Remove NOTES.
1191         (NOTES): Remove rule.
1192         * README: Don't refer to NOTES.
1193         * manual/creature.texi: Don't include macros.texi.
1194         * manual/intro.texi (creature.texi): Remove comment referring to
1195         NOTES.
1197         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
1198         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
1199         * configure: Regenerated.
1200         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
1201         LIBC_TRY_CC_OPTION.
1202         (libc_cv_as_i686): Likewise.
1203         (libc_cv_cc_avx): Likewise.
1204         (libc_cv_cc_sse2avx): Likewise.
1205         (libc_cv_cc_fma4): Likewise.
1206         (libc_cv_cc_novzeroupper): Likewise.
1207         * sysdeps/i386/configure: Regenerated.
1209         [BZ #13883]
1210         * sysdeps/i386/fpu/s_cexp.S: Remove.
1211         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1212         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1213         * math/libm-test.inc (cexp_test): Add more tests.
1214         * sysdeps/i386/fpu/libm-test-ulps: Update.
1215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1217 2012-03-21  Allan McRae  <allan@archlinux.org>
1219         * timezone/Makefile: Do not install iso3166.tab and zone.tab
1221 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
1223         [BZ #13871]
1224         * math/w_exp2.c: Do not include <float.h>.
1225         (o_threshold, u_threshold): Remove.
1226         (__exp2): Calculate result before checking finiteness and calling
1227         __kernel_standard.
1228         * math/w_exp2f.c: Likewise.
1229         * math/w_exp2l.c: Likewise.
1230         * math/libm-test.inc (exp2_test): Require overflow exception for
1231         1e6 input.
1233         [BZ #3866]
1234         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
1235         range of signed 64-bit integers before using fistpll.  Remove
1236         checks for whether integers fit in mantissa bits.
1237         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
1238         the range of signed 32-bit integers before using fistpl.  Remove
1239         checks for whether integers fit in mantissa bits.
1240         * sysdeps/i386/fpu/e_powl.S (p64): New object.
1241         (__ieee754_powl): Test for y outside the range of signed 64-bit
1242         integers before using fistpll.  Reduce 64-bit values to 63-bit
1243         ones as needed.
1244         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
1245         divide-by-zero is raised for zero to large negative powers.
1246         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
1247         (__ieee754_powl): Test for y outside the range of signed 64-bit
1248         integers before using fistpll.  Reduce 64-bit values to 63-bit
1249         ones as needed.
1250         * math/libm-test.inc (pow_test): Add more tests.
1252 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
1254         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
1255         <stdio-common/_itoa.h>.
1256         * debug/segfault.c: Likewise.
1257         * elf/dl-cache.c: Likewise.
1258         * elf/dl-minimal.c: Likewise.
1259         * elf/dl-misc.c: Likewise.
1260         * elf/dl-sysdep.c: Likewise.
1261         * elf/dl-version.c: Likewise.
1262         * elf/rtld.c: Likewise.
1263         * hurd/hurdsock.c: Likewise.
1264         * hurd/lookup-retry.c: Likewise.
1265         * malloc/malloc.c: Likewise.
1266         * malloc/mtrace.c: Likewise.
1267         * nscd/nscd_getgr_r.c: Likewise.
1268         * nscd/nscd_getpw_r.c: Likewise.
1269         * nscd/nscd_getserv_r.c: Likewise.
1270         * posix/getopt_init.c: Likewise.
1271         * posix/wordexp.c: Likewise.
1272         * stdio-common/_itoa.c: Likewise.
1273         * stdio-common/printf_fphex.c: Likewise.
1274         * stdio-common/vfprintf.c: Likewise.
1275         * string/_strerror.c: Likewise.
1276         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
1277         * sysdeps/i386/i686/hp-timing.h: Likewise.
1278         * sysdeps/mach/_strerror.c: Likewise.
1279         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
1280         * sysdeps/mach/hurd/sethostid.c: Likewise.
1281         * sysdeps/mach/hurd/xmknodat.c: Likewise.
1282         * sysdeps/mach/xpg-strerror.c: Likewise.
1283         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1284         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1285         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
1286         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
1287         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1288         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
1289         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1290         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1291         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
1292         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
1293         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
1294         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1295         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
1296         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1297         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1298         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
1299         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
1300         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
1301         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1302         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1303         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
1305         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
1307         * stdio-common/_itoa.h: Moved to ...
1308         * sysdeps/generic/_itoa.h: Here.
1310         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
1312         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
1313         instead of "_itoa.h" and "_itowa.h".
1314         * stdio-common/vfprintf.: Likewise.
1316 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
1318         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
1319         <bits/wordsize.h>.
1320         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
1321         (__signbit): Likwise.
1322         (llrintf): Likwise.
1323         (llrint): Likwise.
1325 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
1327         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
1328         __WORDSIZE != 64.
1330 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
1332         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
1333         OVERFLOW_EXCEPTION_OK.
1334         * math/libm-test.inc ("Philosophy"): Update comment about
1335         exception testing.
1336         (OVERFLOW_EXCEPTION): Define.
1337         (OVERFLOW_EXCEPTION_OK): Likewise.
1338         (INVALID_EXCEPTION_OK): Renumber.
1339         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1340         (IGNORE_ZERO_INF_SIGN): Likewise.
1341         (test_exceptions): Handle FE_OVERFLOW.
1342         (exp10_test): Expect overflow exceptions.
1343         (exp2_test): Likewise.
1344         (expm1_test): Likewise.
1345         (nextafter_test): Likewise.
1346         (pow_test): Likewise.
1347         (scalbn_test): Likewise.
1348         (scalbln_test): Likewise.
1350 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1352         * sysdeps/x86_64/bits/atomic.h
1353         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
1354         64bit integer.
1355         (atomic_exchange_acq): Likewise.
1356         (__arch_exchange_and_add_body): Likewise.
1357         (__arch_add_body): Likewise.
1358         (atomic_add_negative): Likewise.
1359         (atomic_add_zero): Likewise.
1361 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1363         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
1364         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
1366 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1368         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
1369         Check __x86_64__ instead of __WORDSIZE.
1371 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1373         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
1375 2012-03-19  David S. Miller  <davem@davemloft.net>
1377         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1379         * sysdeps/sparc/fpu/fenv_private.h: New file.
1380         * sysdeps/sparc/fpu/math_private.h: Use it.
1381         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
1382         Remove.
1383         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
1384         (libc_feholdexcept_setroundl): Remove.
1385         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
1386         Remove.
1387         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
1388         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
1390 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1392         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
1393         int64_t instead of long int.
1394         (INSERT_WORDS64): Likwise.
1396 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1398         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
1399         _Unwind_GetCFA return to _Unwind_Ptr first.
1401 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
1403         [BZ #13629]
1404         * math/s_clog.c: Include <float.h>.
1405         (__clog): Scale large or subnormal inputs.
1406         * math/s_clogf.c: Likewise.
1407         * math/s_clogl.c: Likewise.
1408         * math/s_clog10.c: Include <float.h>.
1409         (M_LOG10_2): Define.
1410         (__clog10): Scale large or subnormal inputs.
1411         * math/s_clog10f.c: Likewise.
1412         * math/s_clog10l.c: Likewise.
1413         * math/libm-test.inc (clog_test): Add more tests.
1414         (clog10_test): Likewise.
1415         * sysdeps/i386/fpu/libm-test-ulps: Update.
1416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1418         [BZ #11451]
1419         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
1420         x and y.
1421         * math/libm-test.inc (atan2_test): Add another test.
1423         * Makerules (common-objdir-compile): Remove.
1424         * sysdeps/unix/Makefile (config-generated): Do not add
1425         $(unix-generated) to variable.
1426         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
1427         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
1428         Remove rule.
1429         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
1430         Likewise.
1431         [generic bits/local_lim.h] (before-compile): Do not append to
1432         variable.
1433         [generic bits/local_lim.h] (common-generated): Likewise.
1434         [generic sys/param.h] (before-compile): Do not append to variable.
1435         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
1436         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
1437         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
1438         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
1439         include.
1440         [generic sys/param.h] (sys/param.h-includes): Remove variable.
1441         [generic sys/param.h] (sys/param.h-includes): Remove rule.
1442         [generic sys/param.h] ($(addprefix
1443         $(common-objpfx),$(sys/param.h-includes))): Likewise.
1444         [generic sys/param.h] (common-generated): Do not append to
1445         variable.
1446         [generic sys/param.h] (sysdep_headers): Likewise.
1447         [generic bits/errno.h] (before-compile): Do not append to
1448         variable.
1449         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
1450         rule.
1451         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
1452         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
1453         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
1454         [generic bits/errno.h] (common-generated): Do not append to
1455         variable.
1456         [generic bits/ioctls.h] (before-compile): Do not append to
1457         variable.
1458         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
1459         rule.
1460         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
1461         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
1462         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
1463         rule.
1464         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
1465         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
1466         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
1467         [generic bits/ioctls.h] (common-generated): Do not append to
1468         variable.
1469         [generic sys/syscall.h] (syscall.h): Remove variable.
1470         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
1471         rule.
1472         [generic sys/syscall.h] (before-compile): Do not append to
1473         variable.
1474         [generic sys/syscall.h] (common-generated): Likewise.
1475         * sysdeps/unix/errnos-tmpl.c: Remove file.
1476         * sysdeps/unix/errnos.awk: Likewise.
1477         * sysdeps/unix/ioctls-tmpl.c: Likewise.
1478         * sysdeps/unix/ioctls.awk: Likewise.
1479         * sysdeps/unix/mk-local_lim.c: Likewise.
1480         * sysdeps/unix/snarf-ioctls: Likewise.
1482 2012-03-19  Richard Henderson  <rth@twiddle.net>
1484         * sysdeps/i386/fpu/fenv_private.h: New file.
1485         * sysdeps/i386/fpu/math_private.h: Use it.
1486         (math_opt_barrier, math_force_eval): Remove.
1487         (libc_feholdexcept_setround_53bit): Remove.
1488         (libc_feupdateenv_53bit): Remove.
1489         * sysdeps/x86_64/fpu/math_private.h: Likewise.
1490         (math_opt_barrier, math_force_eval): Remove.
1491         (libc_feholdexcept): Remove.
1492         (libc_feholdexcept_setround): Remove.
1493         (libc_fetestexcept, libc_fesetenv): Remove.
1494         (libc_feupdateenv_test): Remove.
1495         (libc_feupdateenv, libc_feholdsetround): Remove.
1496         (libc_feresetround): Remove.
1498         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
1499         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1501         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
1502         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
1503         (libc_feupdateenv_testl): New.
1504         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
1505         (libc_feupdateenv_testf): New.
1506         (libc_feupdateenv): Use libc_feupdateenv_test.
1507         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
1508         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
1510         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
1511         (libc_feholdsetroundf, libc_feholdsetroundl): New.
1512         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
1513         (libc_feresetround_noex): New.
1514         (libc_feresetround_noexf): New.
1515         (libc_feresetround_noexl): New.
1516         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
1517         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
1518         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
1519         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
1520         SET_RESTORE_ROUND.
1521         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1522         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
1523         (__cos): Likewise.
1524         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
1525         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
1526         SET_RESTORE_ROUND_NOEX.
1527         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
1528         SET_RESTORE_ROUND_NOEXF.
1529         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
1530         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
1531         (libc_feholdsetroundf): New.
1532         (libc_feresetround, libc_feresetroundf): New.
1534         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
1535         (libc_feholdexcept_setround_53bit): Convert from macro to function.
1536         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
1538         * sysdeps/generic/math_private.h: Include <fenv.h>.
1539         (default_libc_feholdexcept): New.
1540         (default_libc_feholdexcept_setround): New.
1541         (default_libc_fesetenv, default_libc_feupdateenv): New.
1542         (libc_feholdexcept): Only define if undefined.
1543         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
1544         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
1545         (libc_feholdexcept_setroundl): Likewise.
1546         (libc_feholdexcept_setround_53bit): Likewise.
1547         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
1548         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
1549         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
1550         (libc_feupdateenv_53bit): Likewise.
1551         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
1552         (libc_feholdexcept): Convert from macro to inline function.
1553         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
1554         (libc_fesetenv, libc_feupdateenv): Likewise.
1556         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
1557         not previously defined.
1558         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
1559         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
1560         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
1561         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
1562         * sysdeps/ieee754/flt-32/math_private.h: New file.
1563         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
1564         math_private.h below SET_FLOAT_WORD.
1565         (__isnan, __isinf_ns, __finite): Remove.
1566         (__isnanf, __isinf_nsf, __finitef): Remove.
1568 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
1570         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1572 2012-03-17  David S. Miller  <davem@davemloft.net>
1574         [BZ #6471]
1575         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
1576         for 2.16.
1578 2012-03-16  David S. Miller  <davem@davemloft.net>
1580         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
1581         warnings.
1583         [BZ #6471]
1584         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
1585         properly.
1586         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
1587         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
1588         sysdep_routines when subdir is sysvipc.
1589         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
1590         __getshmlba helper.
1592         * sysdeps/sparc/fpu/libm-test/ulps: Update.
1594 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1596         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
1597         [__LP64__].
1599 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1601         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
1602         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
1603         (__lround): Renamed to ...
1604         (__llround): This.  Replace long int with long long int.
1605         Define lround functions as aliases of llround functions.
1606         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
1608 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1610         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1611         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
1612         adresses to uintptr_t.  Replace "long int" and "unsigned long
1613         int" with "greg_t" on va_arg.
1615 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1617         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
1618         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
1620         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
1621         Move e_machine check before EI_CLASS check.  Handle x32
1622         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
1623         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
1624         SKIP_EM_IA_64 and include
1625         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
1627         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
1628         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
1629         (add_system_dir): New macro.
1631         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
1632         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
1634 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
1636         [BZ #2551]
1637         [BZ #2552]
1638         [BZ #2553]
1639         [BZ #2554]
1640         [BZ #2562]
1641         [BZ #2563]
1642         [BZ #2565]
1643         [BZ #2566]
1644         [BZ #2576]
1645         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
1646         (y0): Likewise.
1647         * math/w_j0f.c (j0f): Likewise.
1648         (y0f): Likewise.
1649         * math/w_j0l.c (__j0l): Likewise.
1650         (__y0l): Likewise.
1651         * math/w_j1.c (j1): Likewise.
1652         (y1): Likewise.
1653         * math/w_j1f.c (j1f): Likewise.
1654         (y1f): Likewise.
1655         * math/w_j1l.c (__j1l): Likewise.
1656         (__y1l): Likewise.
1657         * math/w_jn.c (jn): Likewise.
1658         (yn): Likewise.
1659         * math/w_jnf.c (jnf): Likewise.
1660         (ynf): Likewise.
1661         * math/w_jnl.c (__jnl): Likewise.
1662         (__ynl): Likewise.
1663         * math/libm-test.inc (j0_test): Add more tests.
1664         (j1_test): Likewise.
1665         (jn_test): Likewise.  Add trailing semicolon to existing test.
1666         (y0_test): Likewise.
1667         (y1_test): Likewise.
1668         * sysdeps/i386/fpu/libm-test-ulps: Update.
1669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1671         [BZ #13851]
1672         [BZ #13854]
1673         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
1674         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
1675         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
1676         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
1677         (__tanl): Set errno for infinite argument.
1678         * sysdeps/i386/fpu/mptan.c: Remove.
1679         * sysdeps/i386/fpu/s_tan.S: Likewise.
1680         * sysdeps/i386/fpu/s_tanl.S: Likewise.
1681         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
1682         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
1683         * math/libm-test.inc (tan_test): Add more tests and enable more
1684         tests for double and long double.
1685         * sysdeps/i386/fpu/libm-test-ulps: Update.
1686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1688 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
1690         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
1691         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
1693 2012-03-16  Roland McGrath  <roland@hack.frob.com>
1695         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
1696         * configure.in: Use it for both main tree and add-ons.
1697         * configure: Regenerated.
1699 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1701         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
1703 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
1705         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
1706         in comment.
1708         [BZ #13851]
1709         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
1710         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
1711         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
1712         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
1713         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
1714         infinite argument.
1715         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
1716         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
1717         != 0 for prec == 2.
1718         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
1719         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
1720         * sysdeps/i386/fpu/s_cosl.S: Likewise.
1721         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1722         * sysdeps/i386/fpu/s_sinl.S: Likewise.
1723         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
1724         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
1725         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
1726         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
1727         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
1728         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
1729         * math/libm-test.inc (cos_test): Add more tests and enable more
1730         tests for long double.
1731         (sin_test): Likewise.
1732         (sincos_test): Likewise.
1733         * sysdeps/i386/fpu/libm-test-ulps: Update.
1734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1736 2012-03-16  David S. Miller  <davem@davemloft.net>
1738         * sysdeps/sparc/fpu/math_private.h: New file.
1740 2012-03-15  David S. Miller  <davem@davemloft.net>
1742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1743         file.
1744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
1745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1746         file.
1747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1748         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1749         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1750         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1751         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1752         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1753         sysdep routines.
1754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1756         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1757         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1759         * sysdeps/sparc/sparc-ifunc.h: New file.
1760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1761         sparc-ifunc.h
1762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1764         Likewise.
1765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1766         Likewise.
1767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1771         Likewise.
1772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
1776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1777         Likewise.
1778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1779         Likewise.
1780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1784         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1785         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1786         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1787         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1788         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1789         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1790         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1791         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1792         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1793         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1794         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1795         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1796         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1797         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1798         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1799         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1800         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1801         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1802         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1803         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1805 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
1807         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1808         scaling.
1809         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1811 2012-03-15  Andreas Jaeger  <aj@suse.de>
1813         [BZ #13852]
1814         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1815         ieee754/flt-32 implementation for sin, cos and sincos.
1816         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1817         * sysdeps/i386/fpu/s_cosf.S: Likewise.
1818         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1819         * sysdeps/i386/fpu/s_sinf.S: Likewise.
1820         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1821         ieee754/flt-32 implementation for tan.
1823         * math/libm-test.inc (cos_test): Enable some large input tests for
1824         float as well
1825         (sin_test): Likewise.
1826         (sincos_test): Likewise.
1827         (tan_test): Add tests for large input.
1829         * sysdeps/i386/fpu/libm-test-ulps: Update.
1831 2012-03-15  Andreas Jaeger  <aj@suse.de>
1833         [BZ #13658]
1834         * math/libm-test.inc (cos_test): Add more test cases.
1835         (sin_test): Likewise.
1836         (sincos_test): Likewise.
1838 2012-03-15  Andreas Jaeger  <aj@suse.de>
1840         [BZ #13837]
1841         * math/libm-test.inc (cos_test): Add a test case for large input
1842         value.
1843         (sin_test): Likewise.
1844         (sincos_test): Likewise.
1846 2012-03-15  Andreas Jaeger  <aj@suse.de>,
1847         Joseph Myers  <joseph@codesourcery.com>
1849         [BZ #13658]
1850         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
1851         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1852         * sysdeps/i386/fpu/branred.c: Likewise.
1853         * sysdeps/i386/fpu/dosincos.c: Likewise.
1854         * sysdeps/i386/fpu/mpa.c: Likewise.
1855         * sysdeps/i386/fpu/s_cos.S: Likewise.
1856         * sysdeps/i386/fpu/s_sin.S: Likewise.
1857         * sysdeps/i386/fpu/s_sincos.S: Likewise.
1858         * sysdeps/i386/fpu/sincos32.c: Likewise.
1860         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1861         Define.
1862         (libc_feupdateenv_53bit): Define.
1863         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1864         Define.
1865         (libc_feupdateenv_53bit): Define.
1867         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1868         53 bit (without extend i386 double precision).
1870         * math/libm-test.inc (sincos_test): Add tests for large input.
1871         (sin): Likewise.
1872         (cos): Likewise.
1874         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1876 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
1878         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1880 2012-03-15  David S. Miller  <davem@davemloft.net>
1882         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1883         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1884         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1885         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1886         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1887         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1888         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1889         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1890         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1891         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1892         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1893         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1894         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1895         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1896         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
1897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1898         file.
1899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
1900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1901         file.
1902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
1903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1904         file.
1905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
1906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1907         file.
1908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1909         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1910         fmin/fmax sysdep routines.
1911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1913 2012-03-14  David S. Miller  <davem@davemloft.net>
1915         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1916         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1917         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1918         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1919         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1920         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1921         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1922         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1923         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1924         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1925         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1926         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1927         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1928         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1929         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1930         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1931         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1932         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1933         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1934         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1935         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1936         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1937         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1938         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1939         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1940         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1941         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1942         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
1943         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1944         routines.
1945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1946         file.
1947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
1948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1949         file.
1950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
1951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1952         file.
1953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
1954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1955         file.
1956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
1957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1958         file.
1959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
1960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1961         file.
1962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1963         file.
1964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1965         file.
1966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1967         file.
1968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1969         New file.
1970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1971         file.
1972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1973         file.
1974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
1975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1976         file.
1977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
1978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1979         file.
1980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
1981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1982         file.
1983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
1984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1985         VIS3 routines.
1987         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1988         New file.
1990         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1992         * sysdeps/sparc/configure.in: New file.
1993         * sysdeps/sparc/configure: Generate.
1994         * configure.in (libc_cv_sparc_as_vis3): Substitute.
1995         * configure: Regenerate.
1996         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1997         * config.make.in (have-as-vis3): New.
1998         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1999         available use -Av9d instead of -Av9a.
2000         * sysdeps/sparc/sparc64/Makefile: Likewise.
2001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
2002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
2003         New file.
2004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
2005         file.
2006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
2007         New file.
2008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
2009         file.
2010         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
2011         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
2012         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
2013         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
2014         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
2016         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
2017         fzeros/fnegs to load 0x80000000 into a float register instead of
2018         using the stack.
2019         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
2021 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
2023         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2024         bits/syscall.h.
2025         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
2026         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
2027         ($(inst_includedir)/bits/syscall.h): Remove rule.
2028         ($(objpfx)bits/syscall.d): Include instead of
2029         $(objpfx)syscall-list.d.
2030         (generated): Change syscall-list.h and syscall-list.d to
2031         bits/syscall.h and bits/syscall.d.
2033 2012-03-14  Roland McGrath  <roland@hack.frob.com>
2035         [BZ #13846]
2036         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
2038 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
2040         [BZ #13841]
2041         * math/s_csqrt.c: Include <float.h>.
2042         (__csqrt): Scale large or subnormal inputs.
2043         * math/s_csqrtf.c: Likewise.
2044         * math/s_csqrtl.c: Likewise.
2045         * math/libm-test.inc (csqrt_test): Add more tests.
2046         * sysdeps/i386/fpu/libm-test-ulps: Update.
2047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2049         [BZ #13840]
2050         * math/libm-test.inc (hypot_test): Add more tests.
2052 2012-03-13  David S. Miller  <davem@davemloft.net>
2054         [BZ #13840]
2055         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
2056         double-precision for the calculation instead of scaling.
2058 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
2060         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
2061         manipulate bits before adding and subtracting TWO52[sx].
2062         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
2063         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
2064         Likewise.
2065         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
2067 2012-03-13  David S. Miller  <davem@davemloft.net>
2069         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
2070         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
2071         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
2072         rtld-global-offsets.h
2073         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2075         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
2076         large parameters.
2078         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
2080         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
2081         'err' in the ifdef scope in which it is actually used.
2083         * nss/nss_db/db-init.c: Include string.h
2085 2012-03-12  David S. Miller  <davem@davemloft.net>
2087         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
2088         masking out of the most significant byte of random value used.
2089         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2090         Fix coding style in previous change.
2092         * sysdeps/unix/sysv/linux/kernel-features.h
2093         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
2094         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
2095         expression.
2096         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
2097         later.
2099 2012-03-11  David S. Miller  <davem@davemloft.net>
2101         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2102         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
2103         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
2104         for 'resultvar' otherwise things get truncated on 64-bit.
2106         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2107         Fix masking out of the most significant byte of random value used.
2109         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2111 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
2113         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2115 2012-03-09  David S. Miller  <davem@davemloft.net>
2117         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
2118         variables with appropriate CPP guards.
2119         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
2120         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
2121         on resulting framesize and the management of the outregs buffer for pltexit.
2122         Preserve floating point return values across _dl_call_pltexit call.
2123         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
2124         framesize and the management of the outregs buffer for pltexit.
2125         Preserve floating point return values across _dl_call_pltexit
2126         call.
2127         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
2128         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
2129         (print_exit): Fix format string for return register value.
2131 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
2133         * sunrpc/Makefile (others): Add rpcgen.
2134         ($(objpfx)rpcgen): Remove special build rule and dependency on
2135         libc.
2136         * sunrpc/rpcgen.c: New file.
2138 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
2140         [BZ #13673]
2141         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
2142         * stdio-common/bug-vfprintf-nargs.c: Likewise.
2143         * sysdeps/i386/crti.S: Likewise.
2144         * sysdeps/i386/crtn.S: Likewise.
2145         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
2146         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
2147         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
2148         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
2149         * sysdeps/sh/crti.S: Likewise.
2150         * sysdeps/sh/crtn.S: Likewise.
2151         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2153         [BZ #13673]
2154         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
2155         with URL.
2156         * locale/programs/locfile-kw.gperf: Likewise.
2157         * locale/programs/charmap-kw.h: Regenerated.
2158         * locale/programs/locfile-kw.h: Likewise.
2160         [BZ #13673]
2161         * intl/plural.y: Replace FSF snail mail address with URL.
2162         * intl/plural.c: Regenerated.
2164 2012-03-09  Richard Henderson  <rth@twiddle.net>
2166         * include/math_private.h: Remove file.
2167         * math/math_private.h: Move file ...
2168         * sysdeps/generic/math_private.h: ... here.
2170         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
2171         * sysdeps/powerpc/fpu/math_private.h: Likewise.
2172         * sysdeps/x86_64/fpu/math_private.h: Likewise.
2174         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
2175         and <math_private.h>.
2176         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2177         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2178         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2179         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2180         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2181         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
2182         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2183         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2184         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2185         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2186         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2187         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2188         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2189         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2190         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2191         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2192         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2193         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2194         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2195         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
2196         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2197         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2198         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2199         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2200         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2201         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2202         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2203         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2204         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2205         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2206         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2207         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2208         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2209         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2210         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2211         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2212         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2213         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2214         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2215         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2216         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
2217         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2218         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2219         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2220         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2221         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2222         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
2223         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2224         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2225         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2226         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2227         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
2228         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2229         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2230         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2231         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2232         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2233         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2234         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2235         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
2236         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2237         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2238         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2239         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2240         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
2241         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2242         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2243         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2244         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
2245         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
2246         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2247         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
2248         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2249         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2250         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
2251         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
2252         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
2253         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2254         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
2255         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
2256         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2257         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
2258         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2259         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
2260         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2261         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2262         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
2263         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
2264         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
2265         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2266         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2267         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
2268         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2269         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
2270         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
2271         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
2272         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
2273         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2274         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2275         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
2276         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
2277         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
2278         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
2279         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
2280         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2281         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
2282         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
2283         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
2284         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2285         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2286         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2287         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2288         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
2289         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2290         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
2291         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
2292         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2293         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2294         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2295         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
2296         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2297         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
2298         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
2299         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
2300         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2301         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2302         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
2303         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
2304         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2305         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
2306         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
2307         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
2308         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2309         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
2310         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
2311         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
2312         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
2313         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2314         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
2315         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
2316         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2317         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
2318         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
2319         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
2320         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
2321         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2322         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2323         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2324         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2325         * sysdeps/ieee754/k_standard.c: Likewise.
2326         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
2327         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2328         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2329         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2330         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2331         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2332         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2333         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2334         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2335         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2336         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2337         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2338         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2339         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2340         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2341         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2342         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2343         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2344         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2345         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2346         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2347         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2348         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2349         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2350         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2351         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2352         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2353         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2354         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2355         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2356         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2357         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2358         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2359         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2360         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2361         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2362         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2363         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
2364         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2365         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2366         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2367         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2368         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2369         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2370         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2371         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2372         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2373         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2374         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2375         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2376         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2377         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2378         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2379         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2380         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2381         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2382         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
2383         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2384         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2385         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2386         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2387         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2388         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2389         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
2390         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2391         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2392         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
2393         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
2394         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
2395         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
2396         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
2397         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2398         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
2399         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
2400         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
2401         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
2402         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
2403         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
2404         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2405         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2406         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2407         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2408         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2409         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2410         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
2411         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2412         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2413         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2414         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2415         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2416         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
2417         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2418         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2419         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2420         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2421         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2422         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
2423         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2424         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2425         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
2426         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2427         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2428         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2429         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2430         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
2431         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2432         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2433         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2434         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
2435         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2436         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2437         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2438         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
2439         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2440         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
2441         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2442         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
2443         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2444         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2445         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2446         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2447         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
2448         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2449         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
2450         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2451         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
2452         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2453         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2454         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2455         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2456         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2457         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2458         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2459         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2460         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2461         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2462         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
2463         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2464         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2465         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
2466         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
2467         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2468         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
2469         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
2470         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2471         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2472         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2473         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2474         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2475         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
2476         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2477         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
2478         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2479         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2480         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
2481         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
2482         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2483         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2484         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2485         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2486         * sysdeps/ieee754/s_lib_version.c: Likewise.
2487         * sysdeps/ieee754/s_matherr.c: Likewise.
2488         * sysdeps/ieee754/s_signgam.c: Likewise.
2489         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2490         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2491         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
2492         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
2493         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
2494         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2495         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
2496         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
2497         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
2498         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
2499         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2500         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
2501         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2502         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2503         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
2504         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2505         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2506         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2507         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2508         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2509         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2511 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
2513         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
2514         * sunrpc/rpc_main.c: Likewise.
2515         * sunrpc/rpc_svcout.c: Likewise.
2517 2012-03-09  David S. Miller  <davem@davemloft.net>
2519         * include/math_private.h: New file.
2521 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
2523         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
2524         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
2525         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
2526         from <bits/socket_type.h>.
2527         (enum __socket_type): Don't define here.
2528         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
2529         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2530         bits/socket_type.h.
2532         [BZ #13566]
2533         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
2534         checking __USE_GNU.
2536         * Makerules ($(inst_includedir)/%.h): New rule.
2537         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
2538         (install-others): Remove variable setting.
2539         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
2541 2012-03-08  Richard Henderson  <rth@twiddle.net>
2543         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
2544         from macro to inline function; merge with the
2545         !__LIBC_INTERNAL_MATH_INLINES version.
2546         (__ieee754_sqrtf): Likewise.
2548         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
2549         to inline function.
2550         (__rintf, __floor, __floorf): Likewise.
2552         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
2553         macro to inline function.
2554         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
2556         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
2557         not <math/math_private.h>.
2559 2012-03-08  David S. Miller  <davem@davemloft.net>
2561         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
2562         copyright year.
2563         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2565 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
2567         * resolv/gai_misc.c (handle_requests): Fix struct timespec
2568         normalization.
2569         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
2570         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2572 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
2574         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
2575         be defined individually, they must be defined as a block.  Define
2576         S for printing a string instead of hidint the different by using a
2577         macro for adding the 'l'.
2578         * stdio-common/tst-fphex-wide.c: Adjust.
2580 2012-03-07  Marek Polacek  <polacek@redhat.com>
2582         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
2584 2012-03-08  Marek Polacek  <polacek@redhat.com>
2586         [BZ #13806]
2587         * stdio-common/Makefile (tests): Add tst-fphex-wide.
2588         * stdio-common/tst-fphex.c: Define a few macros to make the
2589         test reusable.  Use them.
2590         * stdio-common/tst-fphex-wide.c: New file.
2592 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
2594         [BZ #6911]
2595         * manual/macros.texi (gnusystems): New macro.
2596         (nongnusystems): Likewise.
2597         (gnulinuxhurdsystems): Likewise.
2598         (gnuhurdsystems): Likewise..
2599         (gnulinuxsystems): Likewise.
2600         * manual/charset.texi: Use new macros or @theglibc{} to refer to
2601         variants of the GNU system, not "GNU system".
2602         * manual/conf.texi: Likewise.
2603         * manual/errno.texi: Likewise.  Update example of errno macro
2604         expansion.
2605         * manual/filesys.texi: Likewise.
2606         (getumask): Document as specific to GNU/Hurd.
2607         * manual/install.texi: Likewise.  Reword some references to
2608         GNU/Linux.
2609         * manual/intro.texi: Likewise.
2610         * manual/io.texi: Likewise.
2611         (File Name Portability): Detail which constraints are inapplicable
2612         to all GNU systems and which are only inapplicable to GNU/Hurd.
2613         * manual/job.texi: Likewise.
2614         * manual/llio.texi: Likewise.
2615         (O_NOCTTY): Document as present on GNU/Linux.
2616         * manual/maint.texi: Likewise.
2617         * manual/memory.texi: Likewise.
2618         * manual/pattern.texi: Likewise.
2619         * manual/pipe.texi: Likewise.
2620         * manual/process.texi: Likewise.
2621         * manual/resource.texi: Likewise.
2622         (RUSAGE_CHILDREN): Remove statement about specifying a particular
2623         child on GNU/Hurd.
2624         * manual/setjmp.texi: Likewise.
2625         * manual/signal.texi: Likewise.
2626         * manual/startup.texi: Likewise.
2627         * manual/stdio.texi: Likewise.
2628         * manual/terminal.texi: Likewise.
2629         (ONLCR): Document as POSIX.
2630         (OXTABS): Document availability on GNU/Linux as XTABS.
2631         (ONOEOT): Document availability separately from other bits.
2632         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
2633         * manual/time.texi: Likewise.
2634         * manual/users.texi: Likewise.
2635         * INSTALL: Regenerated.
2636         * sysdeps/gnu/errlist.c: Regenerated.
2638         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
2639         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
2640         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
2641         puts.
2642         * configure: Regenerated.
2644 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
2646         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
2647         default includes instead of AC_HEADER_CHECK.
2648         * sysdeps/i386/configure: Regenerated.
2650         [BZ #10716]
2651         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
2652         * math/s_cacoshf.c (__cacoshf): Likewise.
2653         * math/s_cacoshl.c (__cacoshl): Likewise.
2654         * math/s_casinh.c (__casinh): Set signs of result from argument.
2655         * math/s_casinhf.c (__casinhf): Likewise.
2656         * math/s_casinhl.c (__casinhl): Likewise.
2657         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
2658         (casinh_test): Add more tests.
2659         * sysdeps/i386/fpu/libm-test-ulps: Update.
2660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2662 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
2664         * po/zh_TW.po: Update from translation team.
2666         * login/Makefile (distribute): Remove variable.
2667         * catgets/Makefile: Likewise.
2668         * mach/Makefile: Likewise.
2669         * malloc/Makefile: Likewise.
2670         * misc/Makefile: Likewise.
2671         * iconv/Makefile: Likewise.
2672         * nscd/Makefile: Likewise.
2673         * hurd/Makefile: Likewise.
2674         * manual/Makefile: Likewise.
2675         * locale/Makefile: Likewise.
2676         * intl/Makefile: Likewise.
2677         * conform/Makefile: Likewise.
2678         * nss/Makefile: Likewise.
2679         * time/Makefile: Likewise.
2680         * soft-fp/Makefile: Likewise.
2681         * dirent/Makefile: Likewise.
2682         * gmon/Makefile: Likewise.
2683         * po/Makefile: Likewise.
2684         * rt/Makefile: Likewise.
2685         * socket/Makefile: Likewise.
2686         * math/Makefile: Likewise.
2687         * signal/Makefile: Likewise.
2688         * debug/Makefile: Likewise.
2689         * elf/Makefile: Likewise.
2690         * timezone/Makefile: Likewise.
2691         * stdlib/Makefile: Likewise.
2692         * iconvdata/Makefile: Likewise.
2693         * sunrpc/Makefile: Likewise.
2694         * io/Makefile: Likewise.
2695         * argp/Makefile: Likewise.
2696         * inet/Makefile: Likewise.
2697         * hesiod/Makefile: Likewise.
2698         * grp/Makefile: Likewise.
2699         * csu/Makefile: Likewise.
2700         * wctype/Makefile: Likewise.
2701         * crypt/Makefile: Likewise.
2702         * libio/Makefile: Likewise.
2703         * string/Makefile: Likewise.
2704         * nis/Makefile: Likewise.
2705         * resolv/Makefile: Likewise.
2706         * stdio-common/Makefile: Likewise.
2707         * wcsmbs/Makefile: Likewise.
2708         * dlfcn/Makefile: Likewise.
2709         * posix/Makefile: Likewise.
2711         * timezone/Makefile: Don't install timezone files, just the programs
2712         and scripts.
2714 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
2716         * nss/databases.def: Add missing gshadow entry.
2718         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
2720 2012-03-06  Marek Polacek  <polacek@redhat.com>
2722         [BZ #13726]
2723         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
2724         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2725         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
2726         * stdio-common/tst-long-dbl-fphex.c: New file.
2728 2012-03-06  David S. Miller  <davem@davemloft.net>
2730         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2731         (set_obp_int): New function.
2732         (get_obp_int): New function.
2733         (__get_clockfreq_via_dev_openprom): Likewise.
2734         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
2735         Avoid unused variable warnings on 'val' and use builtin_expect.
2736         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
2737         __builtin_expect.
2738         (INLINE_CLONE_SYSCALL): Likewise.
2740 2012-03-05  David S. Miller  <davem@davemloft.net>
2742         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2744 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
2746         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2748         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2749         only for |x| >= 40.
2750         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2752 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
2754         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2755         Replace gettimeofday with __vdso_gettimeofday.
2757         * sysdeps/unix/sysv/linux/x86_64/init-first.c
2758         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2759         __vdso_clock_gettime and __vdso_getcpu.
2761         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2762         time with __vdso_time.
2764 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
2766         * manual/lang.texi (size_t): Note types to which size_t may be
2767         equivalent with the GNU C Library, but do not describe when
2768         differences between them are significant.
2770 2012-03-05  Andreas Jaeger  <aj@suse.de>
2772         * sysdeps/i386/fpu/libm-test-ulps: Update.
2774 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
2776         [BZ #3976]
2777         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2778         (__ieee754_pow): Save and restore rounding mode and use
2779         round-to-nearest for main computations.
2780         * math/libm-test.inc (pow_test_tonearest): New function.
2781         (pow_test_towardzero): Likewise.
2782         (pow_test_downward): Likewise.
2783         (pow_test_upward): Likewise.
2784         (main): Call the new functions.
2785         * sysdeps/i386/fpu/libm-test-ulps: Update.
2786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2788         [BZ #3976]
2789         * math/libm-test.inc (cosh_test_tonearest): New function.
2790         (cosh_test_towardzero): Likewise.
2791         (cosh_test_downward): Likewise.
2792         (cosh_test_upward): Likewise.
2793         (sinh_test_tonearest): Likewise.
2794         (sinh_test_towardzero): Likewise.
2795         (sinh_test_downward): Likewise.
2796         (sinh_test_upward): Likewise.
2797         (main): Call the new functions.
2798         * sysdeps/i386/fpu/libm-test-ulps: Update.
2799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2801 2012-03-05  Tom de Vries  <tom@codesourcery.com>
2803         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2804         default stack guard is set in last bytes.
2805         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2807 2012-03-05  Kees Cook  <keescook@chromium.org>
2809         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
2811         [BZ #13656]
2812         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2813         possibly allocate from heap instead of stack.
2814         * stdio-common/bug-vfprintf-nargs.c: New file.
2815         * stdio-common/Makefile (tests): Add nargs overflow test.
2817 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
2819         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2821 2012-03-03  Marek Polacek  <polacek@redhat.com>
2823         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2824         * math/math_private.h: Likewise.
2825         * stdlib/tst-strtod.c: Likewise.
2826         * sysdeps/i386/i486/bits/atomic.h: Likewise.
2827         * sysdeps/x86_64/bits/atomic.h: Likewise.
2829 2012-03-02  David S. Miller  <davem@davemloft.net>
2831         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2832         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2833         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2834         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2835         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2836         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2837         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2838         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2840 2012-03-02  Roland McGrath  <roland@hack.frob.com>
2842         [BZ #13792]
2843         * manual/examples/README: New file, says the example source files
2844         can be used under GPL>=2.
2845         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2846         line containing just "*/".
2847         * manual/examples/add.c: Add copyright header (GPL>=2).
2848         * manual/examples/argp-ex1.c: Likewise.
2849         * manual/examples/argp-ex2.c: Likewise.
2850         * manual/examples/argp-ex3.c: Likewise.
2851         * manual/examples/argp-ex4.c: Likewise.
2852         * manual/examples/atexit.c: Likewise.
2853         * manual/examples/db.c: Likewise.
2854         * manual/examples/dir.c: Likewise.
2855         * manual/examples/dir2.c: Likewise.
2856         * manual/examples/execinfo.c: Likewise.
2857         * manual/examples/filecli.c: Likewise.
2858         * manual/examples/filesrv.c: Likewise.
2859         * manual/examples/fmtmsgexpl.c: Likewise.
2860         * manual/examples/genpass.c: Likewise.
2861         * manual/examples/inetcli.c: Likewise.
2862         * manual/examples/inetsrv.c: Likewise.
2863         * manual/examples/isockad.c: Likewise.
2864         * manual/examples/longopt.c: Likewise.
2865         * manual/examples/memopen.c: Likewise.
2866         * manual/examples/memstrm.c: Likewise.
2867         * manual/examples/mkfsock.c: Likewise.
2868         * manual/examples/mkisock.c: Likewise.
2869         * manual/examples/mygetpass.c: Likewise.
2870         * manual/examples/pipe.c: Likewise.
2871         * manual/examples/popen.c: Likewise.
2872         * manual/examples/rprintf.c: Likewise.
2873         * manual/examples/search.c: Likewise.
2874         * manual/examples/select.c: Likewise.
2875         * manual/examples/setjmp.c: Likewise.
2876         * manual/examples/sigh1.c: Likewise.
2877         * manual/examples/sigusr.c: Likewise.
2878         * manual/examples/stpcpy.c: Likewise.
2879         * manual/examples/strdupa.c: Likewise.
2880         * manual/examples/strftim.c: Likewise.
2881         * manual/examples/strncat.c: Likewise.
2882         * manual/examples/subopt.c: Likewise.
2883         * manual/examples/swapcontext.c: Likewise.
2884         * manual/examples/termios.c: Likewise.
2885         * manual/examples/testopt.c: Likewise.
2886         * manual/examples/testpass.c: Likewise.
2887         * manual/examples/timeval_subtract.c: Likewise.
2889         [BZ #13792]
2890         * manual/time.texi (Elapsed Time): Move timeval_subtract example
2891         function to ...
2892         * manual/timeval_subtract.c.texi: ... here, new file.
2894 2012-03-02  David S. Miller  <davem@davemloft.net>
2896         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2898 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
2900         [BZ #3976]
2901         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2902         (__sin): Save and restore rounding mode and use round-to-nearest
2903         for all computations.
2904         (__cos): Save and restore rounding mode and use round-to-nearest
2905         for all computations.
2906         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2907         <fenv.h>.
2908         (tan): Save and restore rounding mode and use round-to-nearest for
2909         all computations.
2910         * math/libm-test.inc (cos_test_tonearest): New function.
2911         (cos_test_towardzero): Likewise.
2912         (cos_test_downward): Likewise.
2913         (cos_test_upward): Likewise.
2914         (sin_test_tonearest): Likewise.
2915         (sin_test_towardzero): Likewise.
2916         (sin_test_downward): Likewise.
2917         (sin_test_upward): Likewise.
2918         (tan_test_tonearest): Likewise.
2919         (tan_test_towardzero): Likewise.
2920         (tan_test_downward): Likewise.
2921         (tan_test_upward): Likewise.
2922         (main): Call the new functions.
2923         * sysdeps/i386/fpu/libm-test-ulps: Update.
2924         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2926         [BZ #10135]
2927         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2928         small n, then large n, before computing and testing k+n.
2929         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2930         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2931         Likewise.
2932         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2933         Likewise.
2934         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2935         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2936         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2937         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2938         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2939         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2940         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2941         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2942         * math/libm-test.inc (scalbn_test): Add more tests.
2943         (scalbln_test): Likewise.
2945         * manual/filesys.texi (mode_t): Describe constraints on size and
2946         signedness, not exact equivalence to a particular type.
2947         (ino_t): Likewise.
2948         (ino64_t): Likewise.
2949         (dev_t): Likewise.
2950         (nlink_t): Likewise.
2951         (blkcnt_t): Likewise.
2952         (blkcnt64_t): Likewise.
2953         * manual/llio.texi (off_t): Likewise.
2955         [BZ #3976]
2956         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2957         (__ieee754_exp): Save and restore rounding mode and use
2958         round-to-nearest for all computations.
2959         * math/libm-test.inc (exp_test_tonearest): New function.
2960         (exp_test_towardzero): Likewise.
2961         (exp_test_downward): Likewise.
2962         (exp_test_upward): Likewise.
2963         (main): Call the new functions.
2964         * sysdeps/i386/fpu/libm-test-ulps: Update.
2965         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2967 2012-03-01  Chris Demetriou  <cgd@google.com>
2969         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2970         have predictable order.
2972 2012-03-01  David S. Miller  <davem@davemloft.net>
2974         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2976         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2977         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2978         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2979         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2981         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2982         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2983         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2984         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2985         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2986         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2987         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2988         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2989         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2991         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2993         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2994         * sysdeps/sparc/fpu/libm-test-ulps: to here.
2995         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2997         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2998         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2999         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3000         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
3001         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
3002         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
3003         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
3004         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3005         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3006         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
3007         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
3008         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3009         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3010         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3011         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3012         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3013         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
3014         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
3015         * sysdeps/sparc/elf/configure: Regenerated.
3017 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
3019         * configure.in (AS, LD): Require binutils 2.20 or later.
3020         * configure: Regenerated.
3021         * manual/install.texi (Tools for Compilation): Give binutils 2.20
3022         as required minimum version.
3023         * INSTALL: Regenerated.
3025         [BZ #2541]
3026         [BZ #4108]
3027         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
3028         before squaring exponent.
3029         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
3030         bottom long double and 27 bits of top long double before squaring
3031         exponent.
3032         * math/libm-test.inc (erfc_test): Add more tests.
3033         * sysdeps/i386/fpu/libm-test-ulps: Update.
3034         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3037 2012-03-01  Kai Tietz  <ktietz@redhat.com>
3039         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
3040         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
3041         containing bit-fields.
3042         * soft-fp/extended.h (_FP_UNION_E): Likewise.
3043         * soft-fp/single.h (_FP_UNION_S): Likewise.
3044         * soft-fp/double.h (_FP_UNION_D): Likewise.
3046 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
3048         [BZ #13786]
3049         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
3050         not include ../strcmp.S.
3051         [USE_AS_STRNCASECMP_L]: Likewise.
3052         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
3053         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
3054         * sysdeps/i386/i686/multiarch/strncase_l-c.c
3055         (__strncasecmp_l_ia32): Define as alias to
3056         __strncasecmp_l_nonascii.
3058         [BZ #5794]
3059         * math/libm-test.inc (expm1_test): Add test for bug 5794.
3060         * sysdeps/i386/fpu/libm-test-ulps: Update.
3061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3063         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
3064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3066 2012-02-29  Jeff Law  <law@redhat.com>
3068         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
3069         out of bounds read.
3071 2012-02-29  Marek Polacek  <polacek@redhat.com>
3073         [BZ #13706]
3074         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
3075         * elf/Makefile: Add rules to run tst-unused-dep.out.
3077 2012-02-28  David S. Miller  <davem@davemloft.net>
3079         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
3080         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
3081         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
3082         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
3083         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
3084         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
3086 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
3088         * math/libm-test.inc (llround_test): Move one test from
3089         lround_test.  Use TEST_f_L in moved test.
3090         (lround_test): Move misplaced test to llround_test.  Add testcase
3091         from bug 2561.
3093 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
3095         * sysdeps/x86_64/fpu/e_expf.S: New file.
3096         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
3098 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
3100         [BZ #13637]
3101         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
3102         of remain_len that may cause incomplete multi-byte character and
3103         false match.
3104         * posix/bug-regex33.c: New file.
3105         * posix/Makefile (tests): Add bug-regex33.
3107 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
3109         * manual/macros.texi: New file.
3110         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
3111         * manual/libc.texinfo: Include macros.texi.
3112         * manual/creatute.texi: Likewise.
3113         * manual/install.texi: Likewise.
3114         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
3115         @glibcadj{} in references to the GNU C Library.
3116         * manual/charset.texi: Likewise.
3117         * manual/conf.texi: Likewise.
3118         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
3119         when not using those macros.
3120         * manual/creature.texi: Likewise.
3121         * manual/crypt.texi: Likewise.
3122         * manual/errno.texi: Likewise.
3123         * manual/filesys.texi: Likewise.
3124         * manual/header.texi: Likewise.
3125         * manual/install.texi: Likewise.
3126         * manual/intro.texi: Likewise.
3127         * manual/io.texi: Likewise.
3128         * manual/job.texi: Likewise.
3129         * manual/lang.texi: Likewise.
3130         * manual/libc.texiinfo: Likewise.
3131         * manual/llio.texi: Likewise.
3132         * manual/locale.texi: Likewise.
3133         * manual/maint.texi: Likewise.
3134         * manual/math.texi: Likewise.
3135         * manual/memory.texi: Likewise.
3136         * manual/message.texi: Likewise.
3137         * manual/nss.texi: Likewise.
3138         * manual/pattern.texi: Likewise.
3139         * manual/process.texi: Likewise.
3140         * manual/resource.texi: Likewise.
3141         * manual/search.texi: Likewise.
3142         * manual/setjmp.texi: Likewise.
3143         * manual/signal.texi: Likewise.
3144         * manual/socket.texi: Likewise.
3145         * manual/startup.texi: Likewise.
3146         * manual/stdio.texi: Likewise.
3147         * manual/string.texi: Likewise.
3148         * manual/sysinfo.texi: Likewise.
3149         * manual/syslog.texi: Likewise.
3150         * manual/terminal.texi: Likewise.
3151         * manual/time.texi: Likewise.
3152         * manual/users.texi: Likewise.
3153         * INSTALL: Regenerated.
3154         * NOTES: Regenerated.
3155         * sysdeps/gnu/errlist.c: Regenerated.
3157 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
3159         * include/dirent.h: Include <dirstream.h> before
3160         <dirent/dirent.h>.
3162 2012-02-28  David S. Miller  <davem@davemloft.net>
3164         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
3165         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
3166         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
3167         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
3169 2012-02-27  David S. Miller  <davem@davemloft.net>
3171         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
3172         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
3173         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
3174         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
3176         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
3177         frame pointer instead of stack pointer relative arg slot.
3178         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3179         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3180         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3182 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
3184         [BZ #3992]
3185         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
3187 2012-02-27  David S. Miller  <davem@davemloft.net>
3189         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
3190         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3191         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3192         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
3193         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3194         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3195         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
3196         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
3198 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
3200         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
3201         later.  Allow versions 5-9.
3202         * configure: Regenerated.
3203         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
3204         required minimum version and 4.6 as recommended version.  Do not
3205         mention bugs in GCC 2.7 and 2.8.
3206         * INSTALL: Regenerated.
3208 2012-02-27  David S. Miller  <davem@davemloft.net>
3210         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
3211         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
3212         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
3213         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
3214         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
3215         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
3216         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
3217         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
3219         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
3220         manipulate bits before adding and subtracting TWO112[sx].
3221         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3223 2012-02-27  Roland McGrath  <roland@hack.frob.com>
3225         [BZ #13775]
3226         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
3227         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
3228         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
3229         being in POSIX, because they are in 1003.1-2008.
3231         * rt/tst-aio.c: Include <fcntl.h>.
3232         * rt/tst-aio7.c: Likewise.
3233         * rt/tst-aio64.c: Likewise.
3235         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
3237 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
3239         * manual/install.texi (--with-headers): Describe headers as
3240         interface headers, not private headers.
3241         (Specific advice for GNU/Linux systems): Describe use of headers
3242         from "make headers_install", not private headers from older
3243         kernels.
3244         * INSTALL: Regenerated.
3245         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
3246         Change to 2.6.19.
3247         * sysdeps/unix/sysv/linux/configure: Regenerated.
3249         * manual/llio.texi (fclean): Remove documentation.
3251         * manual/Makefile (libc-texi-generated): New variable.  Include
3252         version.texi.
3253         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
3254         $(libc-texi-generated), not duplicated list of files.
3255         (version.texi, stamp-version): New rules.
3256         (realclean): Remove $(libc-texi-generated), not individual files
3257         from that list.  Do not remove dir-add.texinfo.
3258         * manual/libc.texinfo: Comment out uses of edition numbers and
3259         references to printed manual.  Remove last-updated dates.
3260         (EDITION): Comment out.
3261         (ISBN): Likewise.
3262         (VERSION, UPDATED): Remove.
3263         (version.texi): Include.
3265 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
3267         * sysdeps/posix/spawni.c: Include <signal.h>.
3268         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
3269         * sysdeps/pthread/aio_fsync.c: Likewise.
3271 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
3273         * conform/Makefile (tests): Run only when not cross-compiling and
3274         when fast-check is not defined.
3276         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
3277         * conform/data/limits.h-data: Fixes for POSIX2008.
3278         * conform/run-conformtest.sh: Run all tests.
3279         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
3280         headers.
3281         * include/bits/dlfcn.h: Likewise.
3282         * include/langinfo.h: Likewise.
3283         * include/monetary.h: Likewise.
3284         * include/sys/poll.h: Likewise.
3286         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
3287         for __USE_GNU.
3288         * posix/spawn.h: Define __need_sigset_t.
3289         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
3290         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
3291         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
3292         to get sigevent_t only.
3293         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
3294         only for __USE_GNU.
3295         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3296         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
3297         process_vm_writev only for __USE_GNU.
3298         * termios/termios.h: Declare tcgetsid also for POSIX2008.
3300         * conform/Makefile: For now ignore errors from run-conformtest.
3301         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
3302         POSIX to avoid namespace pollution.  Don't prepend headers.
3303         * conform/data/aio.h-data: Fixes for POSIX testing.
3304         * conform/data/fcntl.h-data: Likewise.
3305         * conform/data/glob.h-data: Likewise.
3306         * conform/data/grp.h-data: Likewise.
3307         * conform/data/pthread.h-data: Likewise.
3308         * conform/data/pwd.h-data: Likewise.
3309         * conform/data/signal.h-data: Likewise.
3310         * conform/data/spawn.h-data: Likewise.
3311         * conform/data/stdio.h-data: Likewise.
3312         * conform/data/stdlib.h-data: Likewise.
3313         * conform/data/stropts.h-data: Likewise.
3314         * conform/data/sys/mman.h-data: Likewise.
3315         * conform/data/sys/stat.h-data: Likewise.
3316         * conform/data/sys/types.h-data: Likewise.
3317         * conform/data/sys/wait.h-data: Likewise.
3318         * conform/data/time.h-data: Likewise.
3319         * conform/data/unistd.h-data: Likewise.
3320         * conform/data/utime.h-data: Likewise.
3322         * io/sys/stat.h: fchmod was always in POSIX.
3323         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
3324         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
3325         * rt/aio.h: Define __need_timespec before including <time.h>.
3326         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
3327         struct.  Add forward declaration of pthread_attr_t and use it in
3328         sigevent.
3329         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
3330         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3331         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
3332         always remove CLK_TCK definition.
3334 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
3336         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
3338 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
3340         * conform/run-conformtest.sh: New file.
3341         * conform/Makefile: Run run-conformtest for tests.
3342         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
3343         support.
3345         * conform/data/uchar.h-data: New file.
3346         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
3347         * conform/data/arpa/inet.h-data: Likewise.
3348         * conform/data/assert.h-data: Likewise.
3349         * conform/data/complex.h-data: Likewise.
3350         * conform/data/cpio.h-data: Likewise.
3351         * conform/data/ctype.h-data: Likewise.
3352         * conform/data/dirent.h-data: Likewise.
3353         * conform/data/dlfcn.h-data: Likewise.
3354         * conform/data/errno.h-data: Likewise.
3355         * conform/data/fcntl.h-data: Likewise.
3356         * conform/data/float.h-data: Likewise.
3357         * conform/data/fmtmsg.h-data: Likewise.
3358         * conform/data/fnmatch.h-data: Likewise.
3359         * conform/data/ftw.h-data: Likewise.
3360         * conform/data/glob.h-data: Likewise.
3361         * conform/data/grp.h-data: Likewise.
3362         * conform/data/iconv.h-data: Likewise.
3363         * conform/data/inttypes.h-data: Likewise.
3364         * conform/data/langinfo.h-data: Likewise.
3365         * conform/data/libgen.h-data: Likewise.
3366         * conform/data/limits.h-data: Likewise.
3367         * conform/data/locale.h-data: Likewise.
3368         * conform/data/math.h-data: Likewise.
3369         * conform/data/monetary.h-data: Likewise.
3370         * conform/data/mqueue.h-data: Likewise.
3371         * conform/data/ndbm.h-data: Likewise.
3372         * conform/data/net/if.h-data: Likewise.
3373         * conform/data/netdb.h-data: Likewise.
3374         * conform/data/netinet/in.h-data: Likewise.
3375         * conform/data/nl_types.h-data: Likewise.
3376         * conform/data/poll.h-data: Likewise.
3377         * conform/data/pthread.h-data: Likewise.
3378         * conform/data/pwd.h-data: Likewise.
3379         * conform/data/regex.h-data: Likewise.
3380         * conform/data/sched.h-data: Likewise.
3381         * conform/data/search.h-data: Likewise.
3382         * conform/data/semaphore.h-data: Likewise.
3383         * conform/data/setjmp.h-data: Likewise.
3384         * conform/data/signal.h-data: Likewise.
3385         * conform/data/spawn.h-data: Likewise.
3386         * conform/data/stdarg.h-data: Likewise.
3387         * conform/data/stdio.h-data: Likewise.
3388         * conform/data/stdlib.h-data: Likewise.
3389         * conform/data/string.h-data: Likewise.
3390         * conform/data/strings.h-data: Likewise.
3391         * conform/data/stropts.h-data: Likewise.
3392         * conform/data/sys/ipc.h-data: Likewise.
3393         * conform/data/sys/mman.h-data: Likewise.
3394         * conform/data/sys/msg.h-data: Likewise.
3395         * conform/data/sys/resource.h-data: Likewise.
3396         * conform/data/sys/select.h-data: Likewise.
3397         * conform/data/sys/sem.h-data: Likewise.
3398         * conform/data/sys/shm.h-data: Likewise.
3399         * conform/data/sys/socket.h-data: Likewise.
3400         * conform/data/sys/stat.h-data: Likewise.
3401         * conform/data/sys/statvfs.h-data: Likewise.
3402         * conform/data/sys/time.h-data: Likewise.
3403         * conform/data/sys/timeb.h-data: Likewise.
3404         * conform/data/sys/times.h-data: Likewise.
3405         * conform/data/sys/types.h-data: Likewise.
3406         * conform/data/sys/uio.h-data: Likewise.
3407         * conform/data/sys/un.h-data: Likewise.
3408         * conform/data/sys/utsname.h-data: Likewise.
3409         * conform/data/sys/wait.h-data: Likewise.
3410         * conform/data/syslog.h-data: Likewise.
3411         * conform/data/tar.h-data: Likewise.
3412         * conform/data/termios.h-data: Likewise.
3413         * conform/data/utime.h-data: Likewise.
3414         * conform/data/utmpx.h-data: Likewise.
3415         * conform/data/varargs.h-data: Likewise.
3416         * conform/data/wchar.h-data: Likewise.
3417         * conform/data/wctype.h-data: Likewise.
3418         * conform/data/wordexp.h-data: Likewise.
3420         * include/stropts.h: New file.
3421         * include/uchar.h: New file.
3422         * include/aio.h: Changes to allow conformtest.pl to use the headers.
3423         * include/assert.h: Likewise.
3424         * include/ctype.h: Likewise.
3425         * include/dirent.h: Likewise.
3426         * include/dlfcn.h: Likewise.
3427         * include/fcntl.h: Likewise.
3428         * include/fnmatch.h: Likewise.
3429         * include/glob.h: Likewise.
3430         * include/grp.h: Likewise.
3431         * include/libio.h: Likewise.
3432         * include/locale.h: Likewise.
3433         * include/math.h: Likewise.
3434         * include/net/if.h: Likewise.
3435         * include/netdb.h: Likewise.
3436         * include/netinet/in.h: Likewise.
3437         * include/pthread.h: Likewise.
3438         * include/pwd.h: Likewise.
3439         * include/regex.h: Likewise.
3440         * include/sched.h: Likewise.
3441         * include/search.h: Likewise.
3442         * include/setjmp.h: Likewise.
3443         * include/signal.h: Likewise.
3444         * include/stdio.h: Likewise.
3445         * include/stdlib.h: Likewise.
3446         * include/string.h: Likewise.
3447         * include/sys/cdefs.h: Likewise.
3448         * include/sys/mman.h: Likewise.
3449         * include/sys/msg.h: Likewise.
3450         * include/sys/resource.h: Likewise.
3451         * include/sys/select.h: Likewise.
3452         * include/sys/socket.h: Likewise.
3453         * include/sys/stat.h: Likewise.
3454         * include/sys/statvfs.h: Likewise.
3455         * include/sys/time.h: Likewise.
3456         * include/sys/times.h: Likewise.
3457         * include/sys/uio.h: Likewise.
3458         * include/sys/utsname.h: Likewise.
3459         * include/sys/wait.h: Likewise.
3460         * include/termios.h: Likewise.
3461         * include/time.h: Likewise.
3462         * include/ulimit.h: Likewise.
3463         * include/unistd.h: Likewise.
3464         * include/utime.h: Likewise.
3465         * include/wchar.h: Likewise.
3466         * include/wctype.h: Likewise.
3467         * include/wordexp.h: Likewise.
3469         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
3471         * time/time.h: TIME_UTC must be a macro.
3472         Make timespec_get available for ISO C11 only as well.
3474 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
3476         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
3477         Reported by Peng Haitao <penght@cn.fujitsu.com>.
3479 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
3481         * configure.in: Use -o not -a in test for unsupported multi-arch.
3483 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
3485         * manual/texinfo.tex: Update to version 2012-01-19.16.
3487 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
3489         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
3491 2012-02-24  Roland McGrath  <roland@hack.frob.com>
3493         [BZ #13738]
3494         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
3495         * manual/fdl-1.3.texi: New file.
3496         * manual/fdl-1.1.texi: File removed.
3498         [BZ #13738]
3499         * manual/libc.texinfo (FDL_VERSION): New @set.
3500         Use it for mention of FDL in cover text.
3501         (Documentation License): Use it in @include file name.
3503 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3504             Roland McGrath  <roland@hack.frob.com>
3506         [BZ #5461]
3507         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
3508         not LONG_LONG_MAX and LONG_LONG_MIN.
3509         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
3510         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
3511         name.
3512         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
3514 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3516         [BZ #2547]
3517         [BZ #11365]
3518         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
3519         manipulate bits before adding and subtracting TWO23[sx].
3520         * math/libm-test.inc (nearbyint_test): Add more tests.
3522 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3524         [BZ #2548]
3525         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
3526         bits before adding and subtracting TWO23[sx].
3527         * math/libm-test.inc (rint_test): Add more tests.
3528         (rint_test_tonearest): Likewise.
3529         (rint_test_towardzero): Likewise.
3530         (rint_test_downward): Likewise.
3531         (rint_test_upward: Likewise.
3533 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3535         [BZ #10110]
3536         * include/stdc-predef.h: New file.  Extracted from features.h.
3537         * include/features.h: Include stdc-predef.h.
3538         * Makefile (headers): Add stdc-predef.h.
3539         * CONFORMANCE (Compiler limitations): Update.
3541 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3543         * manual/libc.texinfo (VERSION, UPDATED): Revert.
3545 2012-02-21  David S. Miller  <davem@davemloft.net>
3547         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
3548         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3550 2012-02-20  David S. Miller  <davem@davemloft.net>
3552         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
3553         using a normal save/restore sequence, rather than allocating a
3554         dummy stack frame just to store a frame pointer and restore.
3555         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3557 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
3559         * manual/install.texi: Fix stray word in line-wrapped comment.
3561 2012-02-20  David S. Miller  <davem@davemloft.net>
3563         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
3564         both binutils and gcc support GOTDATA.
3566         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
3567         "rd %pc" in the PIC register setup sequences.
3569         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
3570         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3571         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3572         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3573         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3574         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3575         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3576         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3577         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
3578         (SYSCALL_ERROR_HANDLER): Likewise.
3579         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3580         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3581         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
3582         (SYSCALL_ERROR_HANDLER): Likewise.
3584         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
3585         (HAVE_GCC_GOTDATA): New.
3586         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
3587         relocation support in both binutils and gcc.
3588         * sysdeps/sparc/elf/configure: Regenerate.
3590         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
3591         * sysdeps/sparc/sparc32/elf/configure: Delete.
3592         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
3593         * sysdeps/sparc/sparc64/elf/configure: Delete.
3594         * sysdeps/sparc/elf/configure.in: New file.
3595         * sysdeps/sparc/elf/configure: Generate.
3597         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
3598         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
3599         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
3600         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
3601         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
3603 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
3605         * manual/install.texi: Do not mention specific glibc version
3606         numbers.
3607         * manual/libc.texinfo (VERSION, UPDATED): Update.
3608         (@copying): Use @copyright{} and range of years.
3610 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
3612         [BZ #13695]
3613         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
3614         [crti.S not in sysdirs] (generated): Do not append.
3615         [crti.S not in sysdirs] (omit-deps): Likewise.
3616         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
3617         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
3618         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
3619         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
3620         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
3621         Likewise.
3622         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
3623         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
3624         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
3625         * csu/defs.awk: Remove file.
3626         * sysdeps/generic/initfini.c: Likewise.
3627         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
3628         variable.
3629         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
3630         Likewise.
3632 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
3634         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
3635         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
3636         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
3637         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
3638         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3639         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
3640         <bits/epoll.h>.
3641         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
3642         (__EPOLL_PACKED): Define to empty if not defined by
3643         <bits/epoll.h>.
3644         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
3645         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3646         bits/epoll.h.
3648 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
3650         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
3651         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
3652         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
3653         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
3654         <bits/timerfd.h>.
3655         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
3656         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3657         bits/timerfd.h.
3659 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
3661         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
3662         in C locale.
3663         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3664         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3665         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3668 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
3670         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3671         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3673 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
3675         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
3676         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
3677         defined.
3678         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
3679         Likewise.
3680         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
3681         entry for 2.16.
3683 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
3685         * math/w_acos.c: Use non-signaling floating-point comparisons.
3686         * math/w_acosf.c: Likewise.
3687         * math/w_acosh.c: Likewise.
3688         * math/w_acoshf.c: Likewise.
3689         * math/w_acoshl.c: Likewise.
3690         * math/w_acosl.c: Likewise.
3691         * math/w_asin.c: Likewise.
3692         * math/w_asinf.c: Likewise.
3693         * math/w_asinl.c: Likewise.
3694         * math/w_atanh.c: Likewise.
3695         * math/w_atanhf.c: Likewise.
3696         * math/w_atanhl.c: Likewise.
3697         * math/w_exp2.c: Likewise.
3698         * math/w_exp2f.c: Likewise.
3699         * math/w_exp2l.c: Likewise.
3700         * math/w_j0.c: Likewise.
3701         * math/w_j0f.c: Likewise.
3702         * math/w_j0l.c: Likewise.
3703         * math/w_j1.c: Likewise.
3704         * math/w_j1f.c: Likewise.
3705         * math/w_j1l.c: Likewise.
3706         * math/w_jn.c: Likewise.
3707         * math/w_jnf.c: Likewise.
3708         * math/w_log.c: Likewise.
3709         * math/w_log10.c: Likewise.
3710         * math/w_log10f.c: Likewise.
3711         * math/w_log10l.c: Likewise.
3712         * math/w_log2.c: Likewise.
3713         * math/w_log2f.c: Likewise.
3714         * math/w_log2l.c: Likewise.
3715         * math/w_logf.c: Likewise.
3716         * math/w_logl.c: Likewise.
3717         * math/w_sqrt.c: Likewise.
3718         * math/w_sqrtf.c: Likewise.
3719         * math/w_sqrtl.c: Likewise.
3720         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3721         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3722         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3723         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3724         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3726 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
3728         [BZ #9739]
3729         * manual/string.texi (strnlen): Use correct parameter name in
3730         equivalent expression.
3732 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
3734         [BZ #11174]
3735         * manual/users.texi (seteuid): Consistently use neweuid for
3736         argument name.
3738 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
3740         [BZ #13704]
3741         * manual/nss.texi (Services in the NSS configuration): Correct
3742         list of services in example configuration file.
3744 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
3746         [BZ #11322]
3747         * manual/arith.texi: Remove statements about negative zero
3748         behaving identically to zero.
3750 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
3752         [BZ #5993]
3753         * manual/install.texi: Do not document upgrading from libc5.
3755 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
3757         [BZ #4596]
3758         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3760 2012-02-18  David S. Miller  <davem@davemloft.net>
3762         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3763         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3764         %o7 across the call.
3765         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3766         instead.
3767         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3768         SETUP_PIC_REG_LEAF.
3769         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3770         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3771         * sysdeps/sparc/crtn.S: Likewise.
3773 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
3775         * aout/Makefile: Remove.
3777 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
3779         [BZ #13058]
3780         * manual/examples/argp-ex1.c (main): Format definition in GNU
3781         style.
3782         * manual/examples/argp-ex2.c (main): Likewise.
3783         * manual/examples/argp-ex3.c (main): Likewise.
3784         * manual/examples/argp-ex4.c (main): Likewise.
3785         * manual/examples/longopt.c (main): Use new-style prototype
3786         definition.
3787         * manual/examples/strncat.c (main): Specify return type and use
3788         (void) for arguments.
3789         * manual/examples/subopt.c (main): Use char **argv argument.
3791 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
3793         [BZ #5077]
3794         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3795         rounding modes.
3797 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
3799         [BZ #6907]
3800         * manual/string.texi (strchr): Change when strchrnul is
3801         recommended.
3803 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
3805         [BZ #174]
3806         * manual/locale.texi (setlocale): Document LOCPATH.
3808 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
3810         [BZ #10210]
3811         * manual/process.texi (execle): Move @dots{} before last argument.
3813 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
3815         [BZ #12047]
3816         * manual/charset.texi (Generic Charset Conversion): Fix typo
3817         (LC_TYPE -> LC_CTYPE).
3819 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
3821         [BZ #5805]
3822         * manual/arith.texi (scalbn): Use @var{} on parameter names.
3823         (scalbnf): Likewise.
3824         (scalbnl): Likewise.
3825         (scalbln): Likewise.
3826         (scalblnf): Likewise.
3827         (scalblnl): Likewise.
3828         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3829         (vwarnx): Likewise.
3830         (verr): Likewise.
3831         (verrx): Likewise.
3832         * manual/filesys.texi (telldir): Use braces around return type.
3833         * manual/llio.texi (mmap): Add space after comma.
3834         (mmap64): Likewise.
3835         * manual/math.texi (jn): Use @var{} on parameter names.
3836         (jnf): Likewise.
3837         (jnl): Likewise.
3838         (yn): Likewise.
3839         (ynf): Likewise.
3840         (ynl): Likewise.
3841         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3842         line.
3843         * manual/resource.texi (ulimit): Use @dots{} instead of literal
3844         "...".
3845         (sched_get_priority_min): Remove semicolon on @deftypefun line.
3846         (sched_get_priority_max): Likewise.
3847         * manual/signal.texi (sigvec): Add space after comma.
3848         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3849         names.
3850         (if_indextoname): Likewise.
3851         (if_freenameindex): Likewise.
3852         (sendto): Use ',' instead of '.' in prototype.
3853         * manual/startup.texi (syscall): Use @dots{} instead of literal
3854         "...".
3855         * manual/stdio.texi (__fpending): Separate initial words of
3856         paragraph from @deftypefun line.
3857         * manual/syslog.texi (syslog): Use @dots{} instead of literal
3858         "...".
3859         (vsyslog): Use @var{} on parameter names.
3860         * manual/terminal.texi (stty): Use @var{} on parameter names.
3861         * manual/users.texi (getutmp): Use @var{} on parameter names.
3862         (getutmpx): Likewise.
3864 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
3866         [BZ #6884]
3867         * manual/stdio.texi (fopen): Fix typos in description of
3868         ",ccs=STRING".
3870 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
3872         [BZ #4026]
3873         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3874         get clock_id definition.
3876 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
3878         [BZ #4822]
3879         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3880         (madvise): Cast every argument to void on its own.
3882 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
3884         [BZ #9902]
3885         * manual/startup.texi (Exit Status): Fix typo.
3887 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
3889         [BZ #10140]
3890         * manual/examples/argp-ex1.c: Include <stdlib.h>.
3891         * manual/examples/argp-ex2.c: Likewise.
3892         * manual/examples/argp-ex3.c: Likewise.
3894 2012-02-16  Richard Henderson  <rth@redhat.com>
3896         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3897         * sysdeps/s390/s390-32/initfini.c: Remove.
3898         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3899         * sysdeps/s390/s390-64/initfini.c: Remove.
3901 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3903         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3904         compiler output for sysdeps/generic/initfini.c.
3905         * sysdeps/sh/elf/initfini.c: Remove file.
3907 2012-02-16  David S. Miller  <davem@davemloft.net>
3909         [BZ #11494]
3910         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3912         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3913         * sysdeps/sparc/crti.S: New file.
3914         * sysdeps/sparc/crtn.S: New file.
3915         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3916         * sysdeps/sparc/sparc64/Makefile: Likewise.
3918 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
3920         [BZ #3335]
3921         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3923 2012-02-15  Roland McGrath  <roland@hack.frob.com>
3925         [BZ #4822]
3926         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3928         * mach/devstream.c (cookie_io_functions_t): Macro removed.
3929         (write, read, close): Likewise.
3930         Patch by Aurelien Jarno <aurelien@aurel32.net>.
3932 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
3934         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3935         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3936         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3937         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3938         <bits/signalfd.h>.
3939         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3940         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3941         bits/signalfd.h.
3943 2012-02-14  Marek Polacek  <polacek@redhat.com>
3945         * sysdeps/x86_64/crti.S: New file.
3946         * sysdeps/x86_64/crtn.S: New file.
3947         * sysdeps/x86_64/elf/initfini.c: Remove file.
3949 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
3951         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3952         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3953         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3954         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3955         <bits/inotify.h>.
3956         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3957         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3958         bits/inotify.h.
3960 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
3962         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3963         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3964         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3965         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3966         <bits/eventfd.h>.
3967         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3968         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3969         bits/eventfd.h.
3971 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
3973         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3974         __feraiseexcept instead of feraiseexcept.
3976         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3977         nanosleep invocations.
3978         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3979         strings, and add error checking for a nanosleep invocations.
3981 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
3983         Replace FSF snail mail address with URLs, as per GNU coding standards.
3984         Most of the snail mail addresses were wrong anyway, and omitting
3985         them makes the source code easier to maintain.  Almost all of the
3986         changes are to license notices and to locale LC_IDENTIFICATION
3987         addresses, except for this one:
3988         * manual/libc.texinfo: In "Published by", give the FSF's URL,
3989         not its snail mail address.
3991 2012-02-09  Richard Henderson  <rth@twiddle.net>
3993         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3994         of kernel-features.h.
3996         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3998 2012-02-08  Marek Polacek  <polacek@redhat.com>
4000         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
4001         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
4002         * sysdeps/gnu/_G_config.h: Likewise.
4003         * sysdeps/generic/_G_config.h: Likewise.
4005 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
4007         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
4008         tests.
4009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4011         * sysdeps/powerpc/powerpc32/crti.S: New file.
4012         * sysdeps/powerpc/powerpc32/crtn.S: New file.
4013         * sysdeps/powerpc/powerpc64/crti.S: New file.
4014         * sysdeps/powerpc/powerpc64/crtn.S: New file.
4016         * Makeconfig (have-initfini): Don't set.
4017         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
4018         * configure.in (nopic_initfini): Don't substitute.
4019         * config.h.in (HAVE_INITFINI): Don't #undef.
4020         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
4021         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
4023 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
4025         Support crti.S and crtn.S provided directly by architectures.
4026         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
4027         [crti.S in sysdirs] (omit-deps): Likewise.
4028         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
4029         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
4030         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
4031         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
4032         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
4033         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
4034         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
4035         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
4036         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
4037         compiler output for sysdeps/generic/initfini.c.
4038         * sysdeps/i386/elf/Makefile: Remove file.
4039         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
4041 2012-02-07  Marek Polacek  <polacek@redhat.com>
4043         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
4044         * sysdeps/gnu/_G_config.h: Likewise.
4045         * sysdeps/mach/hurd/_G_config.h: Likewise.
4047 2012-02-07  Marek Polacek  <polacek@redhat.com>
4049         * math/Makefile (tests): Add tst-CMPLX2.
4050         * math/tst-CMPLX2.c: New file.
4052 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
4054         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4056         * math/libm-test.inc (jn_test): Add missing L suffix.
4058 2012-02-06  Marek Polacek  <polacek@redhat.com>
4060         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
4061         * sysdeps/i386/fpu/e_powf.S: Likewise.
4062         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4063         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4064         * sysdeps/i386/fpu/e_acosh.S: Likewise.
4065         * sysdeps/i386/fpu/e_pow.S: Likewise.
4066         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4067         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4068         * sysdeps/i386/fpu/s_expm1.S: Likewise.
4069         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4070         * sysdeps/i386/fpu/e_log2.S: Likewise.
4071         * sysdeps/i386/fpu/e_log2l.S: Likewise.
4072         * sysdeps/i386/fpu/e_scalb.S: Likewise.
4073         * sysdeps/i386/fpu/e_powl.S: Likewise.
4074         * sysdeps/i386/fpu/s_log1p.S: Likewise.
4075         * sysdeps/i386/fpu/e_log10f.S: Likewise.
4076         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4077         * sysdeps/i386/fpu/e_logl.S: Likewise.
4078         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4079         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
4080         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4081         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4082         * sysdeps/i386/fpu/e_log2f.S: Likewise.
4083         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4084         * sysdeps/i386/fpu/e_log.S: Likewise.
4085         * sysdeps/i386/fpu/s_cexp.S: Likewise.
4086         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4087         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
4088         * sysdeps/i386/fpu/e_logf.S: Likewise.
4089         * sysdeps/i386/fpu/e_log10l.S: Likewise.
4090         * sysdeps/i386/fpu/e_atanh.S: Likewise.
4091         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
4092         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4093         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4094         * sysdeps/i386/fpu/e_log10.S: Likewise.
4095         * sysdeps/i386/fpu/s_frexp.S: Likewise.
4096         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4097         * sysdeps/i386/fpu/s_asinh.S: Likewise.
4098         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4099         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4100         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4101         * sysdeps/i386/asm-syntax.h: Likewise.
4102         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4103         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4104         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4105         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
4106         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
4107         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4108         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4109         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4110         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4111         * sysdeps/powerpc/sysdep.h: Likewise.
4112         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
4113         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4115 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
4117         [BZ #411]
4118         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
4120 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
4122         * sysdeps/i386/sysdep.h: Include <features.h>.
4123         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
4124         version.
4126 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
4128         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
4129         Define.
4130         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
4131         LOAD_PIC_REG_STR.
4133 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
4135         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
4136         (SETUP_PIC_REG): Use GET_PC_THUNK.
4137         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
4138         macro.
4140 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
4142         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
4143         for non-PIC compilation.
4144         (SETUP_PIC_REG): Add .p2align directive.
4145         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
4146         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4147         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4148         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4149         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4150         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4151         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4152         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4153         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4154         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4155         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4156         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4157         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4158         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4159         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4160         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4161         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4162         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4163         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4164         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4165         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4166         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4167         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4168         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4169         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4170         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4171         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4172         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4173         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4174         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4175         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4176         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4177         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4178         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4179         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4180         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4181         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4182         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4183         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4184         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4185         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4187 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
4189         * math/tst-CMPLX.c: Include <stdio.h>.
4191 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
4193         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
4194         float.
4195         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4196         * sysdeps/sparc/bits/mathdef.h: Likewise.
4198 2012-01-31  Marek Polacek  <polacek@redhat.com>
4200         * libio/libio.h: Don't define _PARAMS.
4201         * locale/programs/config.h: Don't define PARAMS.
4202         * stdlib/strtol_l.c: Likewise.
4203         (__strtol_l): Remove PARAMS from the prototype.
4205 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
4207         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
4208         names.  Just use the correct names.  Remove unnecessary wrapper
4209         functions.
4210         * malloc/arena.c: Likewise.
4211         * malloc/hooks.c: Likewise.
4213         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
4214         ARENA_TEST says not to.  Simplify test for creation of a new arena.
4215         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
4217 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
4219         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
4220         into tail calls.
4221         (update_get_addr): New function.
4222         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
4223         GET_ADDR_MODULE parameter.
4225 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
4227         * crypt/cert.c: Remove __STDC__ conditionals.
4228         * crypt/crypt-entry.c: Likewise.
4229         * crypt/crypt_util.c: Likewise.
4230         * libio/filedoalloc.c: Likewise.
4231         * libio/fileops.c: Likewise.
4232         * libio/genops.c: Likewise.
4233         * libio/iofclose.c: Likewise.
4234         * libio/iofdopen.c: Likewise.
4235         * libio/iofopen.c: Likewise.
4236         * libio/iofopen64.c: Likewise.
4237         * libio/iogetdelim.c: Likewise.
4238         * libio/iopopen.c: Likewise.
4239         * libio/obprintf.c: Likewise.
4240         * libio/oldfileops.c: Likewise.
4241         * libio/oldiofclose.c: Likewise.
4242         * libio/oldiofdopen.c: Likewise.
4243         * libio/oldiofopen.c: Likewise.
4244         * libio/oldiopopen.c: Likewise.
4245         * libio/wfiledoalloc.c: Likewise.
4246         * libio/wgenops.c: Likewise.
4247         * locale/programs/xmalloc.c: Likewise.
4248         * misc/syslog.c: Likewise.
4249         * stdio-common/xbug.c: Likewise.
4250         * string/memchr.c: Likewise.
4251         * string/memcmp.c: Likewise.
4252         * string/memrchr.c: Likewise.
4253         * string/rawmemchr.c: Likewise.
4254         * sysdeps/posix/getcwd.c: Likewise.
4255         * time/strftime_l.c: Likewise.
4257 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
4259         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
4260         * config.make.in (config-cflags-sse2avx): Define.
4261         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
4262         Fix typo.
4264 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
4266         * scripts/config.guess: Update from upstream config git repository.
4267         * scripts/config.sub: Likewise.
4269 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
4271         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
4272         (EM_NUM): Update.
4273         (R_TILEPRO_*, R_TILEGX_*): New macros.
4275         * scripts/firstversions.awk: Fix bug in version range handling.
4277         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
4279         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
4281         * include/sys/epoll.h: New file.
4282         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
4283         libc_hidden_def.
4285 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
4287         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
4288         Avoid unnecessary __WORDSIZE == 64 test.
4289         (fmaxf): Use VEX format if possible.
4290         (fmax): Likewise.
4291         (fminf): Likewise.
4292         (fmin): Likewise.
4294         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
4295         * math/math_private.h: Remove libc_fegetround* and
4296         libc_fesetround*.
4297         * sysdeps/i386/configure.in: Check for -msse2avx.
4298         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
4299         also if SSE2AVX is defined.
4300         Remove libc_fegetround* and libc_fesetround*.
4301         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
4302         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
4303         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
4304         of HAS_YMM_USABLE.
4305         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4306         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4307         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4308         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4309         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4311         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
4313 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4315         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
4316         size is not set.
4317         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
4319 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
4321         [BZ #13618]
4322         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
4323         relocation.
4324         * Makeconfig (libm): Define.
4325         * elf/Makefile: Add rules to build and run tst-relsort1.
4326         * elf/tst-relsort1.c: New file.
4327         * elf/tst-relsort1mod1.c: New file.
4328         * elf/tst-relsort1mod2.c: New file.
4330 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
4332         * math/s_ldexp.c: Remove __STDC__ conditionals.
4333         * math/s_ldexpf.c: Likewise.
4334         * math/s_ldexpl.c: Likewise.
4335         * math/s_nextafter.c: Likewise.
4336         * math/s_nexttowardf.c: Likewise.
4337         * math/s_significand.c: Likewise.
4338         * math/s_significandf.c: Likewise.
4339         * math/s_significandl.c: Likewise.
4340         * math/w_jnl.c: Likewise.
4341         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4342         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4343         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4344         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4345         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4346         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4347         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
4348         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4349         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4350         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4351         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4352         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4353         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4354         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4355         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4356         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4357         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4358         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4359         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4360         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4361         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4362         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4363         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4364         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4365         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4366         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4367         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4368         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4369         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4370         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4371         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4372         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4373         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4374         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4375         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4376         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4377         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4378         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4379         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4380         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4381         * sysdeps/ieee754/k_standard.c: Likewise.
4382         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4383         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4384         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4385         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4386         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4387         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4388         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4389         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4390         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4391         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4392         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4393         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4394         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4395         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4396         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4397         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4398         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4399         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4400         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4401         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4402         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4403         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4404         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4405         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4406         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4407         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4408         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4409         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4410         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4411         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4412         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4413         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
4414         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4415         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4416         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4417         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4418         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
4419         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4420         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4421         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
4422         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
4423         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4424         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4425         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
4426         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4427         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4428         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4429         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4430         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4431         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4432         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
4433         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4434         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4435         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4436         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4437         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4438         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
4439         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4440         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4441         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4442         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4443         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4444         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4445         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4446         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4447         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4448         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4449         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4450         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4451         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4452         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4453         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4454         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4455         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4456         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4457         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4458         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4459         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4460         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4461         * sysdeps/ieee754/s_matherr.c: Likewise.
4462         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4463         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4464         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4465         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4467 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
4469         * crypt/md5.h: Remove __STDC__ conditionals.
4470         * libio/libioP.h: Likewise.
4471         * locale/programs/config.h: Likewise.
4472         * sysdeps/generic/sysdep.h: Likewise.
4473         * sysdeps/i386/asm-syntax.h: Likewise.
4474         * sysdeps/s390/asm-syntax.h: Likewise.
4475         * sysdeps/unix/sysdep.h: Likewise.
4476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4479 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
4481         * libio/libio.h: Remove __STDC__ conditionals.
4482         * malloc/obstack.h: Likewise.
4483         * math/complex.h: Likewise.
4484         * math/math.h: Likewise.
4485         * sysdeps/generic/_G_config.h: Likewise.
4486         * sysdeps/gnu/_G_config.h: Likewise.
4487         * sysdeps/mach/hurd/_G_config.h: Likewise.
4488         * sysdeps/powerpc/bits/mathdef.h: Likewise.
4489         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4490         * sysdeps/sparc/bits/mathdef.h: Likewise.
4492 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
4494         [BZ #13583]
4495         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
4496         Clean up HAS_* macros.
4497         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
4498         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
4499         possible.
4500         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
4501         HAS_AVX.
4502         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4503         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4504         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4505         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4506         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4508 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
4510         * elf/tst-unique3.cc (gets): Remove declaration.
4511         * elf/tst-unique3lib.cc (gets): Likewise.
4512         * elf/tst-unique3lib2.cc (gets): Likewise.
4513         * elf/tst-unique4.cc (gets): Likewise.
4515 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
4517         * include/stdio.h: Add C++ protection.  Add gets declarations and
4518         definitions.
4519         * debug/tst-chk1.c: Don't declare gets here.
4520         * stdio-common/tst-gets.c: Likewise.
4522 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
4524         * posix/glob: Remove directory.
4526 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
4528         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
4530 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
4532         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
4533         of the non-standard EPFNOSUPPORT.
4535 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4537         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
4538         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
4539         ANYWHERE set to 1 only on KERN_NO_SPACE error.
4541 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
4543         * wcsmbs/uchar.h: Test __STDC_VERSION__.
4545 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
4547         * nscd/aicache.c (addhstaiX): Do not cache negative results of
4548         transient errors.
4549         * nscd/grpcache.c (cache_addgr): Likewise.
4550         * nscd/hstcache.c (cache_addhst): Likewise.
4551         * nscd/initgrcache.c (addinitgroupsX): Likewise.
4552         * nscd/pwdcache.c (cache_addpw): Likewise.
4553         * nscd/servicescache.c (cache_addserv): Likewise.
4555 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
4557         * malloc/malloc.c: Various cleanups.
4558         * malloc/hooks.c: Likewise.
4560         * stdlib/Makefile (tests): Add bug-fmtmsg1.
4561         * stdlib/bug-fmtmsg1.c: New file.
4563         * stdlib/fmtmsg.c (init): Add missing unlock.
4564         Patch by Peng Haitao <penght@cn.fujitsu.com>.
4566 2012-01-12  Marek Polacek  <polacek@redhat.com>
4568         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
4569         and _GNU_SOURCE.
4571 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
4573         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
4574         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
4575         macro to ensure uniqueness of label name.
4576         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4577         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4579 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
4581         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
4583         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
4584         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4585         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4586         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
4588 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
4590         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
4592         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
4593         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4594         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4596         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
4598         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
4599         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4600         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4601         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
4603         * math/bits/math-finite.h: Add ldexp support.
4605 2012-01-10  Marek Polacek  <polacek@redhat.com>
4607         * locale/programs/localedef.h (show_archive_content): Add noreturn
4608         attribute.
4610 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
4612         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
4614 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
4616         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
4618         * io/Makefile (headers): Add bits/poll2.h.
4620 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
4622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
4623         typo #include statement.
4625 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
4627         * include/sys/cdefs.h: Define __attribute_alloc_size.
4628         * catgets/gencat.c: Add alloc_size attribute and apply consistently
4629         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
4630         * elf/pldd.c: Likewise.
4631         * iconv/iconv_charmap.c: Likewise.
4632         * iconv/iconvconfig.c: Likewise.
4633         * iconv/strtab.c: Likewise.
4634         * locale/programs/locale.c: Likewise.
4635         * locale/programs/localedef.h: Likewise.
4636         * locale/programs/simple-hash.c: Likewise.
4637         * nscd/nscd.h: Likewise.
4638         * nss/makedb.c: Likewise.
4639         * sysdeps/generic/ldconfig.h: Likewise.
4640         * locale/programs/localedef.c: Remove xmalloc prototype.
4641         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
4643 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
4645         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
4646         appropriate.
4648 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
4650         * math/Makefile (tests): Add tst-CMPLX.
4651         * math/tst-CMPLX.c: New file.
4653         * math/complex.h (CMPLXL): Fix typo.
4655         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
4656         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
4657         GLIBC_2.16.
4658         * debug/tst-chk1.c: Add poll and ppoll tests.
4659         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
4660         * include/sys/poll.h: Add hidden proto for ppoll.
4661         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
4662         * sysdeps/mach/hurd/ppoll.c: Likewise.
4663         * io/ppoll.c: Likewise.
4664         * debug/poll_chk.c: New file.
4665         * debug/ppoll_chk.c: New file.
4666         * include/bits/poll2.h: New file.
4667         * io/bits/poll2.h: New file.
4669         [BZ #1350]
4670         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
4672         * configure.in: static is always set to yes.  Remove.
4673         * config.make.in: Don't set build-static.
4674         * Makeconfig: Remove use of build-static.
4675         * dlfcn/Makefile: Likewise.
4676         * elf/Makefile: Likewise.
4677         * math/Makefile: Likewise.
4678         * misc/Makefile: Likewise.
4679         * nptl/Makefile: Likewise.
4680         * sysdeps/mach/hurd/Makefile: Likewise.
4682         * configure.in: PWD_P is not used anymore.
4683         * config.make.in: Remove PWD_P entry.
4685         * configure.in: Remove last remnants of RANLIB.
4686         No need to check for signed size_t anymore.
4687         Don't set libc_commonpagesize and libc_relro_required here for Alpha
4688         and IA-64.
4689         Remove __builtin_expect test because we require at least gcc 3.4.
4690         * aclocal.m4: Likewise.
4692         * wcsmbs/mbrtoc16.c: Implement using towc function.
4693         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
4694         * wcsmbs/wcsmbsload.c: Likewise.
4695         * iconv/gconv_simple.c: Likewise.
4696         * iconv/gconv_int.h: Likewise.
4697         * iconv/gconv_builtin.h: Likewise.
4698         * iconv/iconv_prog.c: Remove CHAR16 handling.
4700         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
4702         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
4704         * configure.in: Remove --with-elf and --enable-bounded options.
4705         Dont set base_machine for ia64.  More non-ELF conditions removed.
4706         Remove testing and setting of leading underscore information.
4707         * config.make.in (build-bounded): Set to no.
4708         * config.h.in: Remove NO_UNDERSCORES entry.
4709         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
4710         them.
4711         * csu/start.c: Remove !NO_UNDERSCORE code.
4712         * locale/localeinfo.h: Likewise.
4713         * sysdeps/generic/machine-gmon.h: Likewise.
4714         * sysdeps/generic/sysdep.h: Likewise.
4715         * sysdeps/i386/sysdep.h: Likewise.
4716         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4717         * sysdeps/mach/sysdep.h: Likewise.
4718         * sysdeps/s390/s390-32/sysdep.h: Likewise.
4719         * sysdeps/s390/s390-64/sysdep.h: Likewise.
4720         * sysdeps/sh/sysdep.h: Likewise.
4721         * sysdeps/sparc/sparc32/alloca.S: Likewise.
4722         * sysdeps/unix/i386/sysdep.S: Likewise.
4723         * sysdeps/unix/sparc/start.c: Likewise.
4724         * sysdeps/unix/sparc/sysdep.S: Likewise.
4725         * sysdeps/unix/sparc/sysdep.h: Likewise.
4726         * sysdeps/unix/start.c: Likewise.
4727         * sysdeps/unix/x86_64/sysdep.S: Likewise.
4728         * sysdeps/x86_64/sysdep.h: Likewise.
4730 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
4732         [BZ #13553]
4733         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
4734         for non-gcc.
4735         * argp/argp-fmtstream.h: Use const instead __const.
4736         * argp/argp.h: Likewise.
4737         * assert/assert.h: Likewise.
4738         * bits/fenv.h: Likewise.
4739         * bits/sched.h: Likewise.
4740         * bits/sigset.h: Likewise.
4741         * bits/sigthread.h: Likewise.
4742         * catgets/nl_types.h: Likewise.
4743         * conform/data/pthread.h-data: Likewise.
4744         * crypt/crypt-private.h: Likewise.
4745         * crypt/crypt.h: Likewise.
4746         * crypt/crypt_util.c: Likewise.
4747         * ctype/ctype.h: Likewise.
4748         * debug/execinfo.h: Likewise.
4749         * debug/mbsnrtowcs_chk.c: Likewise.
4750         * debug/mbsrtowcs_chk.c: Likewise.
4751         * debug/wcsnrtombs_chk.c: Likewise.
4752         * debug/wcsrtombs_chk.c: Likewise.
4753         * debug/wcstombs_chk.c: Likewise.
4754         * dirent/dirent.h: Likewise.
4755         * dlfcn/dlfcn.h: Likewise.
4756         * elf/neededtest4.c: Likewise.
4757         * grp/grp.h: Likewise.
4758         * gshadow/gshadow.h: Likewise.
4759         * iconv/gconv.h: Likewise.
4760         * iconv/gconv_int.h: Likewise.
4761         * iconv/gconv_simple.c: Likewise.
4762         * iconv/iconv.h: Likewise.
4763         * iconv/loop.c: Likewise.
4764         * iconv/skeleton.c: Likewise.
4765         * include/aio.h: Likewise.
4766         * include/aliases.h: Likewise.
4767         * include/argz.h: Likewise.
4768         * include/arpa/inet.h: Likewise.
4769         * include/assert.h: Likewise.
4770         * include/dirent.h: Likewise.
4771         * include/dlfcn.h: Likewise.
4772         * include/execinfo.h: Likewise.
4773         * include/fcntl.h: Likewise.
4774         * include/fenv.h: Likewise.
4775         * include/glob.h: Likewise.
4776         * include/grp.h: Likewise.
4777         * include/libintl.h: Likewise.
4778         * include/mntent.h: Likewise.
4779         * include/netdb.h: Likewise.
4780         * include/pwd.h: Likewise.
4781         * include/rpc/netdb.h: Likewise.
4782         * include/sched.h: Likewise.
4783         * include/search.h: Likewise.
4784         * include/shadow.h: Likewise.
4785         * include/signal.h: Likewise.
4786         * include/stdio.h: Likewise.
4787         * include/stdlib.h: Likewise.
4788         * include/string.h: Likewise.
4789         * include/sys/socket.h: Likewise.
4790         * include/sys/stat.h: Likewise.
4791         * include/sys/statfs.h: Likewise.
4792         * include/sys/statvfs.h: Likewise.
4793         * include/sys/syslog.h: Likewise.
4794         * include/sys/time.h: Likewise.
4795         * include/sys/uio.h: Likewise.
4796         * include/time.h: Likewise.
4797         * include/unistd.h: Likewise.
4798         * include/utmp.h: Likewise.
4799         * include/wchar.h: Likewise.
4800         * include/wctype.h: Likewise.
4801         * inet/aliases.h: Likewise.
4802         * inet/arpa/inet.h: Likewise.
4803         * inet/netinet/ether.h: Likewise.
4804         * inet/netinet/in.h: Likewise.
4805         * intl/libintl.h: Likewise.
4806         * io/bits/fcntl2.h: Likewise.
4807         * io/fcntl.h: Likewise.
4808         * io/ftw.h: Likewise.
4809         * io/sys/poll.h: Likewise.
4810         * io/sys/stat.h: Likewise.
4811         * io/sys/statfs.h: Likewise.
4812         * io/sys/statvfs.h: Likewise.
4813         * io/utime.h: Likewise.
4814         * libio/bits/stdio.h: Likewise.
4815         * libio/bits/stdio2.h: Likewise.
4816         * libio/libio.h: Likewise.
4817         * libio/libioP.h: Likewise.
4818         * libio/stdio.h: Likewise.
4819         * locale/lc-ctype.c: Likewise.
4820         * locale/locale.h: Likewise.
4821         * login/utmp.h: Likewise.
4822         * malloc/arena.c: Likewise.
4823         * malloc/malloc.c: Likewise.
4824         * malloc/malloc.h: Likewise.
4825         * malloc/mcheck.c: Likewise.
4826         * malloc/mtrace.c: Likewise.
4827         * math/bits/mathcalls.h: Likewise.
4828         * math/fenv.h: Likewise.
4829         * math/math_private.h: Likewise.
4830         * misc/bits/error.h: Likewise.
4831         * misc/bits/syslog.h: Likewise.
4832         * misc/err.h: Likewise.
4833         * misc/error.h: Likewise.
4834         * misc/fstab.h: Likewise.
4835         * misc/mntent.h: Likewise.
4836         * misc/regexp.h: Likewise.
4837         * misc/search.h: Likewise.
4838         * misc/sgtty.h: Likewise.
4839         * misc/sys/mman.h: Likewise.
4840         * misc/sys/syslog.h: Likewise.
4841         * misc/sys/uio.h: Likewise.
4842         * misc/sys/xattr.h: Likewise.
4843         * misc/ttyent.h: Likewise.
4844         * nis/rpcsvc/ypclnt.h: Likewise.
4845         * nss/nss.h: Likewise.
4846         * posix/bits/unistd.h: Likewise.
4847         * posix/fnmatch.h: Likewise.
4848         * posix/glob.h: Likewise.
4849         * posix/sched.h: Likewise.
4850         * posix/spawn.h: Likewise.
4851         * posix/sys/wait.h: Likewise.
4852         * posix/unistd.h: Likewise.
4853         * posix/wordexp.h: Likewise.
4854         * pwd/pwd.h: Likewise.
4855         * resolv/netdb.h: Likewise.
4856         * resource/sys/resource.h: Likewise.
4857         * rt/aio.h: Likewise.
4858         * rt/bits/mqueue2.h: Likewise.
4859         * rt/mqueue.h: Likewise.
4860         * shadow/shadow.h: Likewise.
4861         * signal/signal.h: Likewise.
4862         * socket/send.c: Likewise.
4863         * socket/sendto.c: Likewise.
4864         * socket/sys/socket.h: Likewise.
4865         * stdio-common/printf.h: Likewise.
4866         * stdlib/bits/stdlib.h: Likewise.
4867         * stdlib/fmtmsg.h: Likewise.
4868         * stdlib/monetary.h: Likewise.
4869         * stdlib/stdlib.h: Likewise.
4870         * stdlib/ucontext.h: Likewise.
4871         * streams/stropts.h: Likewise.
4872         * string/argz.h: Likewise.
4873         * string/bits/string2.h: Likewise.
4874         * string/string.h: Likewise.
4875         * string/strings.h: Likewise.
4876         * sunrpc/rpc/auth.h: Likewise.
4877         * sunrpc/rpc/auth_des.h: Likewise.
4878         * sunrpc/rpc/clnt.h: Likewise.
4879         * sunrpc/rpc/netdb.h: Likewise.
4880         * sunrpc/rpc/pmap_clnt.h: Likewise.
4881         * sunrpc/rpc/xdr.h: Likewise.
4882         * sysdeps/generic/inttypes.h: Likewise.
4883         * sysdeps/generic/net/if.h: Likewise.
4884         * sysdeps/generic/sys/swap.h: Likewise.
4885         * sysdeps/gnu/net/if.h: Likewise.
4886         * sysdeps/gnu/utmpx.h: Likewise.
4887         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4888         * sysdeps/i386/i486/bits/string.h: Likewise.
4889         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4890         * sysdeps/s390/bits/string.h: Likewise.
4891         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4892         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4893         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4894         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4895         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4896         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4897         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4898         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4899         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4900         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4901         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4902         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4903         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4904         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4905         * sysdeps/unix/sysv/linux/readv.c: Likewise.
4906         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4907         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4908         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4909         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4910         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4911         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4912         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4913         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4914         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4915         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4916         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4917         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4918         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4919         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4920         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4921         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4922         * sysvipc/sys/ipc.h: Likewise.
4923         * sysvipc/sys/msg.h: Likewise.
4924         * sysvipc/sys/sem.h: Likewise.
4925         * sysvipc/sys/shm.h: Likewise.
4926         * termios/termios.h: Likewise.
4927         * time/sys/time.h: Likewise.
4928         * time/time.h: Likewise.
4929         * wcsmbs/bits/wchar2.h: Likewise.
4930         * wcsmbs/uchar.h: Likewise.
4931         * wcsmbs/wchar.h: Likewise.
4932         * wctype/wctype.h: Likewise.
4934         [BZ #13551]
4935         * Makeconfig: Remove all but ELF support including AIX support.
4936         * Makerules: Likewise.
4937         * config.h.in: Likewise.
4938         * config.make.in: Likewise.
4939         * configure: Likewise.
4940         * configure.in: Likewise.
4941         * csu/Makefile: Likewise.
4942         * csu/version.c: Likewise.
4943         * debug/Makefile: Likewise.
4944         * dlfcn/Makefile: Likewise.
4945         * elf/Makefile: Likewise.
4946         * extra-lib.mk: Likewise.
4947         * iconv/Makefile: Likewise.
4948         * include/libc-symbols.h: Likewise.
4949         * include/shlib-compat.h: Likewise.
4950         * resolv/Makefile: Likewise.
4951         * resolv/res_libc.c: Likewise.
4952         * rt/Makefile: Likewise.
4953         * sysdeps/i386/asm-syntax.h: Likewise.
4954         * sysdeps/i386/sysdep.h: Likewise.
4955         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4956         * sysdeps/mach/sysdep.h: Likewise.
4957         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4958         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4959         * sysdeps/s390/asm-syntax.h: Likewise.
4960         * sysdeps/s390/s390-32/sysdep.h: Likewise.
4961         * sysdeps/s390/s390-64/sysdep.h: Likewise.
4962         * sysdeps/sh/sysdep.h: Likewise.
4963         * sysdeps/unix/sparc/sysdep.h: Likewise.
4964         * sysdeps/wordsize-32/divdi3.c: Likewise.
4965         * sysdeps/x86_64/sysdep.h: Likewise.
4967         * argp/Versions: Remove _argp_unlock_xxx.
4969         [BZ #13559]
4970         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
4971         * abilist/libBrokenLocale.abilist: Likewise.
4972         * abilist/libanl.abilist: Likewise.
4973         * abilist/libc.abilist: Likewise.
4974         * abilist/libcrypt.abilist: Likewise.
4975         * abilist/libdl.abilist: Likewise.
4976         * abilist/libm.abilist: Likewise.
4977         * abilist/libnsl.abilist: Likewise.
4978         * abilist/libpthread.abilist: Likewise.
4979         * abilist/libresolv.abilist: Likewise.
4980         * abilist/librt.abilist: Likewise.
4981         * abilist/libthread_db.abilist: Likewise.
4982         * abilist/libutil.abilist: Likewise.
4983         * abilist/libnss_db.abilist: New file.
4985         * scripts/abilist.awk: Add support for indirect functions.
4987         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4989         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4991         * shlib-versions: Remove entries for ports architectures.
4993         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
4994         files in ports.
4995         * elf/stackguard-macros.h: Remove support for IA-64.
4996         * elf/tst-auditmod1.c: Likewise.
4997         * sysdeps/generic/ldsodefs.h: Likewise.
4999         * sysdeps/unix/sysv/linux/configure.in: Ports should define
5000         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
5001         configure files.
5003         [BZ #13552]
5004         * configure.in: Remove --enable-omitfp support.
5005         * FAQ.in: Adjust.
5006         * config.make.in: Likewise.
5007         * Makeconfig: Likewise.
5008         * manual/install.texi: Likewise.
5010         In case anyone cares, the IA-64 architecture could move to ports.
5011         * sysdeps/ia64/*: Removed.
5012         * sysdeps/unix/sysv/linux/ia64/*: Removed.
5013         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
5015         [BZ #13555]
5016         * configure.in: Remove entries for unsupported architectures.
5018         [BZ #13533]
5019         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
5020         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
5021         routines.
5022         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
5023         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
5024         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
5025         fall back to using wcrtomb.
5026         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
5027         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
5028         renaming.
5029         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
5030         * wcsmbs/tst-c16c32-1.c: New file.
5032         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
5033         local variable.
5035         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
5037         * elf/tst-unique3.cc: Add explicit declaration of gets.
5038         * elf/tst-unique3lib.cc: Likewise.
5039         * elf/tst-unique3lib2.cc: Likewise.
5040         * elf/tst-unique4.cc: Likewise.
5042         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
5044 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
5046         [BZ #13566]
5047         * assert/assert.h (static_assert): Don't define for C++.
5048         * libio/stdio.h (gets): Do declare for C++ <= C++11.
5049         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
5051 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
5053         * iconv/loop.c (single loop): Fix assertion in storing of
5054         remaining bytes.
5056         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
5058 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
5060         * posix/getconf.c: Update copyright year.
5061         * nss/getent.c: Likewise.
5062         * nss/makedb.c: Likewise.
5063         * iconv/iconvconfig.c: Likewise.
5064         * iconv/iconv_prog.c: Likewise.
5065         * elf/ldconfig.c: Likewise.
5066         * elf/pldd.c: Likewise.
5067         * elf/sotruss.ksh: Likewise.
5068         * catgets/gencat.c: Likewise.
5069         * csu/version.c: Likewise.
5070         * elf/ldd.bash.in: Likewise.
5071         * elf/sprof.c (print_version): Likewise.
5072         * locale/programs/locale.c: Likewise.
5073         * locale/programs/localedef.c: Likewise.
5074         * login/programs/pt_chown.c: Likewise.
5075         * nscd/nscd.c (print_version): Likewise.
5076         * debug/xtrace.sh: Likewise.
5077         * malloc/memusage.sh: Likewise.
5078         * malloc/mtrace.pl: Likewise.
5079         * debug/catchsegv.sh: Likewise.
5081 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
5083         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
5084         pure attribute.
5086 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
5088         [BZ #13533]
5089         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
5090         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
5091         transformations.
5092         * iconv/gconv_int.h: Likewise.
5093         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
5094         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
5095         from libc for GLIBC_2.16.
5096         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
5097         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
5098         * wcsmbs/uchar.h: Really define mbstate_t.
5099         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
5100         * wcsmbs/c16rtomb.c: New file.
5101         * wcsmbs/mbrtoc16.c: New file.
5102         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
5103         for C/POSIX locale.
5104         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
5105         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
5107         * wcsmbs/wchar.h: Add missing __restrict.
5109 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
5111         [BZ #13532]
5112         * time/Makefile (routines): Add timespec_get.
5113         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
5114         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
5115         timespec for ISO C11.
5116         * time/timespec_get.c: New file.
5117         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
5118         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
5120         [BZ #13531]
5121         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
5122         * stdlib/stdlib.h: Declare aligned_alloc.
5123         * Versions.def: Add GLIBC_2.16 for libc.
5124         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
5126         [BZ 13527]
5127         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
5128         ISO C11.
5130         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
5131         code.
5133         [BZ #13528]
5134         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
5136         [BZ #13529]
5137         * assert/assert.h (static_assert): Define.
5139         * version.h: Update for 2.16 development version.
5141         [BZ #13526]
5142         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
5143         _ISOC11_SOURCE.
5145         * version.h (RELEASE): Bump for 2.15 release.
5146         * include/features.h (__GLIBC_MINOR__): Bump to 15.
5148         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
5149         Patch by Marek Polacek <mpolacek@redhat.com>.
5151         * bits/byteswap.h: Protect long long constants with __extension__.
5152         * sysdeps/i386/bits/byteswap.h: Likewise.
5153         * sysdeps/ia64/bits/byteswap.h: Likewise.
5154         * sysdeps/s390/bits/byteswap.h: Likewise.
5155         * sysdeps/x86_64/bits/byteswap.h: Likewise.
5157 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5159         [BZ #13540]
5160         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
5161         destination buffer.
5162         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5164 2011-12-23  Marek Polacek  <polacek@redhat.com>
5166         * elf/dl-addr.c (determine_info): Add inline keyword.
5167         * elf/tst-auditmod4b.c (check_avx): Likewise.
5168         * elf/tst-auditmod6b.c (check_avx): Likewise.
5169         * elf/tst-auditmod6c.c (check_avx): Likewise.
5170         * elf/tst-auditmod7b.c (check_avx): Likewise.
5172 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
5174         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
5175         !__SSE_MATH__.
5177 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5179         [BZ #13540]
5180         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
5181         processing for last bytes.
5183 2011-08-06  Bruno Haible  <bruno@clisp.org>
5185         [BZ #13061]
5186         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
5187         U+0385, not to U+1FEE.
5189         [BZ #13062]
5190         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
5191         entry for U+00A5 U+0301.
5193 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
5195         [BZ #13166]
5196         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
5197         buffer for the output is too small.
5199         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
5200         optimization.
5202         [BZ #13185]
5203         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
5204         SSE flags if possible.
5206 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5208         [BZ #13540]
5209         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
5210         processing for last bytes.
5212 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
5214         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
5215         (syscall-list-default-options, syscall-list-default-condition)
5216         (syscall-list-includes): Define.
5217         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
5218         list of ABIs and options and #if conditions for each ABI.  Do not
5219         handle common syscalls between ABIs specially.
5220         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
5221         Remove.
5222         (syscall-list-variants, syscall-list-32bit-options)
5223         (syscall-list-32bit-condition, syscall-list-64bit-options)
5224         (syscall-list-64bit-condition): Define.
5225         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
5226         (syscall-list-variants, syscall-list-32bit-options)
5227         (syscall-list-32bit-condition, syscall-list-64bit-options)
5228         (syscall-list-64bit-condition): Define.
5229         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
5230         Remove.
5231         (syscall-list-variants, syscall-list-32bit-options)
5232         (syscall-list-32bit-condition, syscall-list-64bit-options)
5233         (syscall-list-64bit-condition): Define.
5234         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
5235         Remove.
5236         (syscall-list-variants, syscall-list-32bit-options)
5237         (syscall-list-32bit-condition, syscall-list-64bit-options)
5238         (syscall-list-64bit-condition): Define.
5240 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
5242         * locale/iso-639.def: Add brx entry.
5244         [BZ #13328]
5245         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
5246         Proposed by Mariusz_Cukr <marcukr@op.pl>.
5248         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
5249         __feraiseexcept_renamed.
5251 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
5253         [BZ #13538]
5254         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
5255         EPOLLET with unsigned values.
5256         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5257         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5259         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
5260         to large cancellation.
5261         * math/s_cacoshf.c: Likewise.
5262         * math/s_cacoshl.c: Likewise.
5264 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
5266         [BZ #13305]
5267         [BZ #12786]
5268         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
5269         * math/s_cacoshf.c: Likewise.
5270         * math/s_cacoshl.c: Likewise.
5272 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
5274         [BZ #13439]
5275         * iconv/gconv.h: Define __GCONV_SWAP.
5276         * iconvdata/unicode.c: The swap bit must be stored in __flags.
5277         * iconvdata/utf-16.c: Likewise.
5278         * iconvdata/utf-32.c: Likewise.
5280 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
5282         [BZ #13524]
5283         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
5284         numerator after shifting it by one limb.
5286 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
5288         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
5289         under [__USE_EXTERN_INLINES].
5291 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
5293         [BZ #13446]
5294         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
5296 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5298         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
5299         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
5300         optimized code.
5301         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
5302         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
5303         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
5304         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
5305         for strncasecmp/strncasecmp_l compilation.
5306         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
5307         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
5309 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
5311         [BZ #13484]
5312         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
5313         of __asm__.
5315 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
5317         [BZ #13506]
5318         * time/tzfile.c (__tzfile_read): Check values from file header.
5320 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
5322         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
5323         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
5324         * powerpc/powerpc32/dl-start.S: Likewise.
5325         * powerpc/powerpc32/elf/start.S: Likewise.
5326         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5327         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
5328         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
5329         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
5330         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5331         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
5332         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
5333         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5334         * powerpc/powerpc32/fpu/s_round.S: Likewise.
5335         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5336         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5337         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5338         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5339         * powerpc/powerpc32/memset.S: Likewise.
5340         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5341         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5342         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5343         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5344         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5345         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5346         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5347         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5348         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
5349         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
5350         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
5351         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5352         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5354 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5356         * math/libm-test.inc: Added more nearbyint tests.
5357         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
5358         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
5359         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
5360         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
5362 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
5364         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
5365         FD_CLOEXEC.
5367 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5369         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
5370         Add wcscpy-ssse3 wcscpy-c.
5371         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
5372         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
5373         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
5374         * sysdeps/x86_64/wcschr.S: New file.
5375         * sysdeps/x86_64/wcsrchr.S: New file.
5376         * string/test-strcmp.c: Remove checking of wcscmp function for
5377         wrong alignments.
5378         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
5379         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
5380         wcsrchr-sse2 wcsrchr-c.
5381         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
5382         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
5383         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
5384         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
5385         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
5386         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
5387         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
5388         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
5389         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
5390         * wcsmbc/wcschr.c (WCSCHR): New macro.
5392 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5394         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
5395         * wcsmbs/test-wcsrchr.c: New file.
5396         * string/test-strrchr.c: Add wcsrchr support.
5397         (WIDE): New macro.
5398         * wcsmbs/test-wcscpy.c: New file.
5399         * string/test-strcpy.c: Add wcscpy support.
5400         (WIDE): New macro.
5402 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
5404         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
5405         the inner loop.
5407 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
5409         [BZ #13472]
5410         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
5412 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
5414         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
5415         Minor optimizations.
5417         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
5418         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
5419         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5421 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
5423         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
5424         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
5425         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
5426         for gcc to avoid warnings.
5427         * inet/Makefile (tests): Add tst-checks.
5428         * inet/tst-checks.c: New file.
5430         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
5431         warning.
5433         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
5434         __wmemcmp_sse2.
5436         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
5437         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
5439         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
5441 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
5443         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
5444         problem.
5446         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
5448 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
5450         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
5451         conditional on GCC version.
5452         (__arch_compare_and_exchange_val_8_acq)
5453         (__arch_compare_and_exchange_val_16_acq)
5454         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
5455         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
5456         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
5458 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
5460         * sysdeps/sh/backtrace.c: New file.
5462 2011-12-02  Andreas Schwab  <schwab@redhat.com>
5464         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
5465         parenthesis.
5467 2011-12-01  Andreas Schwab  <schwab@redhat.com>
5469         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
5470         falling back to utime.
5472 2011-11-30  Andreas Schwab  <schwab@redhat.com>
5474         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
5475         expectations for float.
5477 2011-11-29  Andreas Schwab  <schwab@redhat.com>
5479         * locale/weight.h (findidx): Add parameter len.
5480         * locale/weightwc.h (findidx): Likewise.
5481         * posix/fnmatch_loop.c (FCT): Adjust caller.
5482         * posix/regcomp.c (build_equiv_class): Likewise.
5483         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
5484         * posix/regexec.c (check_node_accept_bytes): Likewise.
5485         * string/strcoll_l.c (STRCOLL): Likewise.
5486         * string/strxfrm_l.c (STRXFRM): Likewise.
5488 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
5490         * Makefile.in: Remove CVSOPT handling.
5491         * configure.in: Remove use of AC_REVISION.
5492         * iconvdata/Makefile (distribute): No need to filter out CVS.
5493         * scripts/list-sources.sh: Remove CVS, subversion and monotone
5494         handling.
5496 2011-11-16  Andreas Schwab  <schwab@redhat.com>
5498         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
5499         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
5500         [USE_AS_STRNCASECMP_L]: Likewise.
5501         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
5502         NO_TLS_DIRECT_SEG_REFS.
5503         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
5504         Fix argument offsets for non-PIC.
5505         [USE_AS_STRNCASECMP_L]: Likewise.
5506         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
5507         NO_TLS_DIRECT_SEG_REFS.
5509 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
5511         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
5512         O_CLOEXEC.
5513         * locale/loadlocale.c (_nl_load_locale): Likewise.
5515 2011-11-15  Andreas Schwab  <schwab@redhat.com>
5517         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
5518         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
5519         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
5520         (SYSCALL_GETTIME): Set errno on error.
5522         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
5523         count references to noai6ai_cached.
5525 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
5527         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
5529         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
5530         FD_CLOEXEC for /proc/self/maps.
5532         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
5533         FD_CLOEXEC for /proc/meminfo.
5535         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
5536         gai.conf.
5538         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
5539         FD_CLOEXEC for given file.
5541         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
5543         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
5544         FD_CLOEXEC for /etc/hosts.
5545         (_gethtent): Likewise.
5547         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
5549         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
5550         cancellation and set FD_CLOEXEC for /etc/netgroup.
5552         * nss/nss_files/files-key.c (search): Don't allow cancellation when
5553         reading /etc/publickey.
5555         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
5556         allow cancellation when reading /etc/group.
5558         * nss/nss_files/files-alias.c (internal_setent): Don't allow
5559         cancellation.
5560         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
5562         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
5563         when using data file.
5565         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
5567         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
5568         (write_nis_obj): Use "c" and "e" in fopen.
5570         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
5572         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
5574         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
5576         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
5578         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
5579         locale.alias.
5581         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
5583         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
5585         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
5587         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
5588         file parsing and set FD_CLOEXEC.
5590 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
5592         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
5594 2011-11-14  Andreas Schwab  <schwab@redhat.com>
5596         * malloc/arena.c (arena_get2): Don't call reused_arena when
5597         _int_new_arena failed.
5599 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
5601         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
5602         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
5603         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
5604         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5605         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5606         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
5607         to compile strcasecmp and strncasecmp.
5608         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
5609         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
5611         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
5613 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
5615         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
5616         locale-defines.sym to gen-as-const-headers.
5617         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
5618         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
5619         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
5620         to compile strcasecmp and strncasecmp.
5621         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
5622         strcasecmp_l and strncasecmp_l.
5623         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
5624         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
5625         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
5626         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
5627         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
5628         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
5629         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
5630         * sysdeps/i386/i686/multiarch/strncase.S: New file.
5631         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
5632         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
5633         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
5635 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
5637         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
5638         result of SYSDEP_GETTIME_CPU to retval.
5639         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
5640         parameter list to macro.  Remove trailing semicolon.  Adjust users.
5642         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
5643         variable.
5645         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
5646         mantissa words.
5647         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5649         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
5650         from unused variable.
5652         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
5653         DWARF definitions.
5654         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
5655         for assembling.
5657         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
5658         over namespaces.
5660         * sunrpc/rpc_prot.c (rejected): Fix case value.
5662         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
5663         unsigned long long int to avoid warnings in shift.
5665         * posix/regex_internal.c (re_string_reconstruct): Actually use result
5666         of use of trans.
5667         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
5668         variable tmp.
5670         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
5671         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5672         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5674         * nis/nis_table.c (nis_list): Use variable of correct type for
5675         result of __follow_path call.
5677 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5679         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
5680         of math functions ceil, trunc, floor, round, and sqrt, when
5681         avaliable on the platform.
5682         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
5683         name clash.
5684         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5685         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5686         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5688 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
5690         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
5691         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5693 2011-11-11  Roland McGrath  <roland@hack.frob.com>
5695         * include/unistd.h: Fix __readlink return type.
5696         Reported by Chris Metcalf <cmetcalf@tilera.com>.
5698 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
5700         * stdlib/ucontext.h: Undo last change for makecontext.
5702 2011-11-11  Andreas Schwab  <schwab@redhat.com>
5704         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
5706         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
5707         * setjmp/setjmp.h: Mark functions as non-leaf.
5708         * setjmp/bits/setjmp2.h: Likewise.
5709         * stdlib/ucontext.h: Likewise.
5711 2011-11-10  Andreas Schwab  <schwab@redhat.com>
5713         * malloc/arena.c (_int_new_arena): Don't increment narenas.
5714         (reused_arena): Don't check arena limit.
5715         (arena_get2): Atomically check arena limit.
5717 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
5719         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
5720         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
5722         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
5723         instructions.
5725 2011-11-07  Andreas Schwab  <schwab@redhat.com>
5727         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
5728         handler when locking.
5730         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5731         Fix size of allocated buffer.
5733 2011-11-04  Andreas Schwab  <schwab@redhat.com>
5735         [BZ #10103]
5736         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
5737         declarations for long double functions.
5738         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5740         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5742 2011-11-03  Andreas Schwab  <schwab@redhat.com>
5744         * nscd/nscd.c (main): Don't start AVC thread until credentials are
5745         installed.
5747         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5748         is disabled.
5750 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5752         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5754 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
5756         * include/alloca.h (stackinfo_alloca_round): Define.
5757         (extend_alloca): Use it.
5758         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5759         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5760         here.
5762         * scripts/check-local-headers.sh: Ignore libaudit.h.
5764         * nscd/Makefile (extra-objs): Make recursively expanded.
5766 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
5768         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5769         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5771         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5772         * posix/tst-rfc3484-2.c: Likewise.
5773         * posix/tst-rfc3484-3.c: Likewise.
5775         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5776         process_vm_writev.
5777         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5778         process_vm_writev.
5779         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5780         process_vm_writev from libc using GLIBC_2.15 version.
5782         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5784 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
5786         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5787         stack usage.
5789 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
5791         [BZ #13367]
5792         * nss/getent.c (initgroups_keys): Show error message in case no group
5793         names are given.
5795         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5796         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5797         __bump_nl_timestamp.
5798         * nscd/connections (nscd_init): When host database is served open
5799         netlink socket and request notification about configuration changes.
5800         (main_loop_poll): Track netlink file descriptor and bump timestamp
5801         in case data becomes available.
5802         (main_loop_epoll): Likewise.
5803         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5804         (database_pers_head): Add extra_data fileds.
5805         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5806         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5807         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5808         Adjust caller.
5809         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5810         in6ai data, call __free_in6ai.
5811         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5812         Add -DHAVE_NETLINK.
5813         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
5814         interface information.  Reuse previous data if netlink timestamp
5815         is not changed.
5816         (__bump_nl_timestamp): New function.
5817         (__free_in6ai): New function.
5819 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
5821         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5822         close_not_cancel_no_status here.
5823         (__check_pf): Reorganize code a bit to not call close twice if OOM.
5825 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
5827         [BZ #13276]
5828         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5829         return value.
5831         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
5832         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5833         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5835 2011-07-03  Andreas Jaeger  <aj@suse.de>
5837         [BZ #10709]
5838         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5839         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5840         * math/libm-test.inc (sin_test): Add test case.
5842 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
5844         [BZ #13337]
5845         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5846         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5848         * elf/chroot_canon.c (chroot_canon): Cleanups.
5850         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5852         [BZ #13335]
5853         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5854         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5856         * string/test-strchr.c: Make usable for strchrnul testing.
5857         * string/test-strchrnul.c: New file.
5858         * string/Makefile (strop-tests): Add strchrnul.
5860         * po/it.po: Update from translation team.
5861         * po/es.po: Likewise.
5863 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
5865         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5866         the three constants needed as parameters.  Drop the others.
5867         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5868         __m128i_strloadu_tolower.
5869         Create and initialize variable zero and use it in all the places
5870         where _mm_setzero_si128 was used.
5872         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5873         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5874         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5875         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5876         anymore.
5877         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5878         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5879         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5880         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5881         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5882         __mpranred, __mptan.
5883         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5884         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5885         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5886         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5887         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5888         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5889         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5890         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5891         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5893 2011-10-28  Andreas Schwab  <schwab@redhat.com>
5895         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5896         redefine if SHARED.
5897         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5899         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5900         wide char related routines to wcsmbs subdir.
5902 2011-10-27  Andreas Schwab  <schwab@redhat.com>
5904         [BZ #13344]
5905         * misc/sys/cdefs.h (__THROWNL): Define.
5906         * posix/unistd.h: Use __THREADNL instead of __THREAD
5907         for memory synchronization functions.
5909 2011-10-26  Roland McGrath  <roland@hack.frob.com>
5911         [BZ #13349]
5912         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5913         doesn't exist.
5914         * manual/stdio.texi (Obstack Streams): Node removed.
5916 2011-10-26  Andreas Schwab  <schwab@redhat.com>
5918         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5919         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5920         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5922         * math/math_private.h (math_force_eval): Allow non-addressable
5923         arguments.
5924         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5926 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
5928         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5929         file is not needed.
5931         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5932         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5933         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5934         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5935         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5936         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5937         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5938         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5939         Add AVX variants.
5940         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5941         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5942         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5943         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5944         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5945         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5946         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5947         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5948         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5949         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5950         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5951         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5952         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5953         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5954         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5955         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5956         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5957         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5958         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5960         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5961         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
5963         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5964         place.  Use VEX encoding when compiling for AVX.
5966 2011-10-25  Andreas Schwab  <schwab@redhat.com>
5968         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5969         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5971         * string/test-strchr.c (do_test): Don't generate NUL bytes.
5973 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
5975         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
5976         useless if() expression.
5977         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5978         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5979         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5980         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5981         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5982         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5983         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5984         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5985         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5986         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5987         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5988         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5989         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5990         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5991         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5992         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5993         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5994         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5995         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5997         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5999 2011-10-25  Andreas Schwab  <schwab@redhat.com>
6001         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
6002         condition.
6003         * elf/dl-fini.c (_dl_sort_fini): Likewise.
6005 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
6007         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
6008         .text section.  Avoid duplicate constants.
6009         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6010         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6011         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6012         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6013         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6014         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6015         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6016         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6017         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
6018         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
6019         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
6020         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
6021         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
6022         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
6023         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
6024         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
6025         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
6026         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
6027         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6028         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6029         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6030         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6031         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6032         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
6033         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
6034         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
6035         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
6036         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
6037         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
6038         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
6039         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
6040         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
6041         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6042         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
6043         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
6044         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
6045         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
6046         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
6047         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
6048         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
6049         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
6050         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
6051         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
6052         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
6053         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
6055 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
6057         * sysdeps/x86_64/dla.h: Move to ...
6058         * sysdeps/x86_64/fpu/dla.h: ...here.
6059         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
6060         situations.  Use __builtin_fma only for gcc 4.6 and up.
6062         * config.make.in: Add have-mfma4 entry.
6063         * configure.in: Substitute libc_cv_cc_fma4.
6064         * math/Makefile (dbl-only-routines): Add sincostab.
6065         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
6066         Use __sincostab not sincos.
6067         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
6068         name is a macro.
6069         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6070         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6071         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6072         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
6073         using __copysign.
6074         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
6075         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
6076         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
6077         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
6078         and __inv.
6079         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
6080         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
6081         __copysign.
6082         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
6083         define aliases when function name is a macro.
6084         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
6085         sysdeps/ieee754/dbl-64/sincos.tbl.
6086         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
6087         fma4-enabled routines.
6088         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
6089         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
6090         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
6091         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
6092         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
6093         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
6094         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
6095         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
6096         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
6097         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
6098         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
6099         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
6100         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
6101         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
6102         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
6103         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
6104         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
6105         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
6106         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
6107         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
6108         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
6109         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
6110         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
6111         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
6112         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
6113         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
6114         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
6115         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
6116         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
6117         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
6119         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
6120         rename.
6121         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6122         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6123         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6124         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6125         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6126         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6127         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6128         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6130 2011-10-24  Andreas Schwab  <schwab@redhat.com>
6132         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
6134 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
6136         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
6138         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
6139         prediction.
6140         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
6142         * string/strnlen.c: Don't define STRNLEN, reverse logic.
6143         Remove unused variable magic_bits.
6144         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
6146         * string/strnlen.c: Define and use STRNLEN macro.
6147         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
6148         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
6149         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
6150         * wcsmbs/wcslen.c: Define and use WCSLEN.
6151         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
6152         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
6153         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
6154         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
6155         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
6156         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
6157         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6159 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6161         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6162         strnlen-sse2-no-bsf.
6163         Rename strlen-no-bsf to strlen-sse2-no-bsf.
6164         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
6165         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
6166         Add strnlen support.
6167         (USE_AS_STRNLEN): New macro.
6168         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
6169         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
6170         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
6171         * sysdeps/x86_64/wcslen.S: New file.
6173 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
6175         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6176         XMM-moves are used for copying on small sizes.
6178 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6180         * wcsmbs/Makefile (strop-tests): Add wcschr.
6181         * wcsmbs/test-wcschr.c: New file.
6182         * string/test-strchr.c: Update.
6183         Add wcschr support.
6184         (WIDE): New macro.
6186 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6188         * wcsmbs/Makefile (strop-tests): Add wcslen.
6189         * wcsmbs/test-wcslen.c: New file.
6190         * string/test-strlen.c: Update.
6191         Add wcslen support.
6192         (WIDE): New macro.
6194 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
6196         * po/it.po: Update from translation team.
6198 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6200         * sysdeps/x86_64/wcscmp.S: Update.
6201         Fix wrong comparison semantics.
6202         wcscmp shall use signed comparison not unsigned.
6203         Don't use substraction to avoid overflow bug.
6204         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
6205         * wcsmbc/wcscmp.c: Likewise.
6206         * string/test-strcmp.c: Likewise.
6207         Add new tests to check cases with negative values.
6209 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
6211         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
6212         * sysdeps/x86_64/dla.h: ...here.  New file.
6213         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
6214         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6215         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6216         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6217         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6218         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6219         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6220         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6221         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6223 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
6225         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
6226         __ynl_finite aliases.
6228 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
6230         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6232         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
6233         define DLA_FMA.
6234         [DLA_FMA] (EMULV): Use DLA_FMA.
6235         [DLA_FMA] (MUL12): Use EMULV.
6236         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
6237         that are not needed.
6238         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6239         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6240         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6241         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6242         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6243         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6244         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6246 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
6248         * math/s_nan.c: Undef __nan.
6249         * math/s_nanf.c: Undef __nanf.
6250         * math/s_nanl.c: Undef __nanl.
6251         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
6252         "math_private.h".
6254 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
6256         * math/s_catan.c: Add branch predictions.
6257         * math/s_catanf.c: Likewise.
6258         * math/s_catanh.c: Likewise.
6259         * math/s_catanhf.c: Likewise.
6260         * math/s_catanhl.c: Likewise.
6261         * math/s_catanl.c: Likewise.
6262         * math/s_cexp.c: Likewise.
6263         * math/s_cexpf.c: Likewise.
6264         * math/s_cexpl.c: Likewise.
6265         * math/s_clog.c: Likewise.
6266         * math/s_clog10.c: Likewise.
6267         * math/s_clog10f.c: Likewise.
6268         * math/s_clog10l.c: Likewise.
6269         * math/s_clogf.c: Likewise.
6270         * math/s_clogl.c: Likewise.
6271         * math/s_csqrt.c: Likewise.
6272         * math/s_csqrtf.c: Likewise.
6273         * math/s_csqrtl.c: Likewise.
6274         * math/s_ctanf.c: Likewise.
6275         * math/s_ctanh.c: Likewise.
6276         * math/s_ctanhf.c: Likewise.
6277         * math/s_ctanhl.c: Likewise.
6278         * math/s_ctanl.c: Likewise.
6280         * math/math_private.h: Define __nan, __nanf, __nanl.
6281         * math/s_cacosh.c: Include <math_private.h>.
6282         * math/s_cacoshl.c: Likewise.
6283         * math/s_casinh.c: Likewise.
6284         * math/s_casinhf.c: Likewise.
6285         * math/s_casinhl.c: Likewise.
6286         * math/s_ccos.c: Rely entire on ccosh.
6287         * math/s_ccosf.c: Rely entire on ccoshf.
6288         * math/s_ccosl.c: Rely entirely on ccoshl.
6289         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
6290         Remove tests for FE_INVALID.
6291         * math/s_ccoshf.c: Likewise.
6292         * math/s_ccoshl.c: Likewise.
6293         * math/s_csin.c: Likewise.
6294         * math/s_csinf.c: Likewise.
6295         * math/s_csinh.c Likewise.
6296         * math/s_csinhf.c: Likewise.
6297         * math/s_csinhl.c: Likewise.
6298         * math/s_csinl.c: Likewise.
6299         * math/s_ctan.c: Likewise.
6300         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
6301         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
6302         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
6304 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
6306         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
6307         compilation problems.
6309         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
6310         __builtin_expect.
6312 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
6314         * sysdeps/i386/configure.in: Test for -mfma4 option.
6315         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
6316         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
6317         COMMON_CPUID_INDEX_80000001.
6318         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
6319         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
6320         use it if FMA3 is not supported.
6321         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
6323         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
6324         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
6326 2011-10-20  Andreas Schwab  <schwab@redhat.com>
6328         [BZ #12892]
6329         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
6330         it would create a cycle with a link time dependency.
6332 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
6334         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
6335         instruction.
6336         * string/Makefile (strop-tests): Add rawmemchr.
6337         * string/test-rawmemchr.c: New file.
6339         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
6340         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
6341         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
6342         when compiling str{,n}casecmp and when AVX is available.  Hook up
6343         new optimized code in initializers.
6345 2011-10-19  Andreas Schwab  <schwab@redhat.com>
6347         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
6348         __feraiseexcept instead of feraiseexcept.
6350 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
6352         * math/math_private.h: Define defaults for libc_fetestexcept and
6353         libc_feupdateenv.
6354         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
6355         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6356         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6357         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6358         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6359         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6360         libc_fetestexcept and libc_feupdateenv.
6362         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
6363         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
6364         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
6365         * sysdeps/x86_64/fpu/math_private.h: Define special version of
6366         libc_feholdexcept_setround.
6368         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
6369         Add s_nearbyint-c and s_nearbyintf-c.
6370         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
6371         nearbyintf inlines.
6372         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
6373         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
6374         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
6375         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
6377         * math/math_private.h: Define defaults for libc_fegetround,
6378         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
6379         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
6380         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
6381         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
6382         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
6383         standard functions.
6384         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6385         Remove comments and hacks for old compiler versions.
6386         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6387         libc_fegetround, libc_fesetround, libc_feholdexcept, and
6388         libc_feholdexceptl.
6390 2011-10-18  Andreas Schwab  <schwab@redhat.com>
6392         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
6393         (__feraiseexcept_renamed): Add __NTH.
6394         (feraiseexcept): Add __NTH.  Rename local variables to fix
6395         namespace violations.
6397 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
6399         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
6401         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
6403         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
6404         recently added interfaces.
6405         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
6407         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
6408         about macro parameter expansion.
6410         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
6411         __NO_MATH_INLINES is defined.  Cleanups.
6413         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
6414         and __floorf is target has SSE4.1.
6415         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
6416         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
6417         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
6418         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
6420         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
6421         name.
6422         (floorf): Likewise.
6424         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
6426 2011-10-17  Andreas Schwab  <schwab@redhat.com>
6428         * misc/sys/cdefs.h: Fix last change.
6430         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
6431         database lookup.
6433 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
6435         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
6437         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
6438         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6439         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6440         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6441         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6442         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6443         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6444         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6445         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6446         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
6447         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
6448         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
6449         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
6450         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
6451         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
6452         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
6453         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
6454         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
6455         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
6456         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
6457         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
6458         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
6460         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
6461         ceil, ceilf, floor, floorf.
6463         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
6464         Perform IRELATIVE relocations last.
6466         * elf/do-rel.h: Add another parameter nrelative, replacing the
6467         local variable with the same name.  Change name of the function
6468         to end in Rel or Rela (uppercase).
6469         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
6470         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
6471         elf_dynamic_do_##reloc function.
6473 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
6475         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
6476         is sufficient, at least on modern CPUs.
6478         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
6480         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
6481         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
6483         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
6484         __expl_finite.
6485         * math/bits/math-finite.h: Add entries for exp.
6486         * math/e_expl.c: Add __*_finite alias.
6487         * sysdeps/i386/fpu/e_exp.S: Likewise.
6488         * sysdeps/i386/fpu/e_expf.S: Likewise.
6489         * sysdeps/i386/fpu/e_expl.c: Likewise.
6490         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6491         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6492         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6493         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6494         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
6495         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6496         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6498         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
6499         is sufficient, at least on modern CPUs.
6501         * ctype/ctype-info.c (__ctype_init): Define.
6502         * include/ctype.h (__ctype_init): Declare.
6503         (__ctype_b_loc): The variable is always initialized.
6504         (__ctype_toupper_loc): Likewise.
6505         (__ctype_tolower_loc): Likewise.
6506         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
6507         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
6509 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
6511         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
6513         * configure.in: Also look in $cxxmachine/include for C++ system
6514         headers.
6516 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6518         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
6519         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
6520         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
6521         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
6522         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
6523         (USE_AS_WMEMCMP): New macro.
6524         Fixing indents.
6525         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
6526         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
6527         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
6528         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
6529         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6530         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
6531         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
6532         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
6533         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
6534         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
6535         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
6536         (USE_AS_WMEMCMP): New macro.
6537         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
6538         * sysdeps/string/test-memcmp.c: Update.
6539         Fix simple_wmemcmp.
6540         Add new tests.
6541         * wcsmbs/wmemcmp.c: Update.
6542         (WMEMCMP): New macro.
6543         Fix overflow bug.
6545 2011-10-12  Andreas Jaeger  <aj@suse.de>
6547         [BZ #13268]
6548         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
6550 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
6552         * libio/iofwide.c (do_length): Avoid warning.
6554         * ctype/ctype.h (__isctype_f): Add missing __THROW.
6556 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
6558         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
6560         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
6561         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
6562         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
6563         * sysdeps/i386/i686/fpu/e_log.S: New file.
6564         * sysdeps/i386/i686/fpu/e_logf.S: New file.
6565         * sysdeps/i386/i686/fpu/e_logl.S: New file.
6567         * ctype/ctype.h: Add support for inlined isXXX functions when
6568         compiling C++ code.
6570 2011-10-14  Andreas Schwab  <schwab@redhat.com>
6572         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6574         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
6576 2011-10-13  Roland McGrath  <roland@hack.frob.com>
6578         [BZ #13291]
6579         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
6581 2011-10-13  Andreas Schwab  <schwab@redhat.com>
6583         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
6584         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
6585         feraiseexcept.
6587         * sysdeps/x86_64/memrchr.S: Check for zero size.
6589         * string/stratcliff.c: Add memrchr tests.
6591 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6593         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6594         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
6595         rawmemchr-sse2 rawmemchr-sse2-bsf.
6596         * sysdeps/i386/i686/multiarch/memchr.S: New file.
6597         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
6598         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
6599         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
6600         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
6601         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
6602         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
6603         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
6604         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
6605         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
6606         * string/memrchr.c (MEMRCHR): New macro.
6608 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
6610         Add integration with gcc's -ffinite-math-only and optimize wrapper
6611         functions in libm.
6612         * Versions.def: Define GLIBC_2.15 version for libm.
6613         * math/Makefile (headers): Add bits/math-finite.h.
6614         * math/bits/math-finite.h: New file.
6615         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
6616         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
6617         * math/e_acoshl.c: Add __*_finite alias.
6618         * math/e_acosl.c: Likewise.
6619         * math/e_asinl.c: Likewise.
6620         * math/e_atan2l.c: Likewise.
6621         * math/e_atanhl.c: Likewise.
6622         * math/e_coshl.c: Likewise.
6623         * math/e_exp10.c: Likewise.
6624         * math/e_exp10f.c: Likewise.
6625         * math/e_exp10l.c: Likewise.
6626         * math/e_exp2l.c: Likewise.
6627         * math/e_fmodl.c: Likewise.
6628         * math/e_gammal_r.c: Likewise.
6629         * math/e_hypotl.c: Likewise.
6630         * math/e_j0l.c: Likewise.
6631         * math/e_j1l.c: Likewise.
6632         * math/e_jnl.c: Likewise.
6633         * math/e_lgammal_r.c: Likewise.
6634         * math/e_log10l.c: Likewise.
6635         * math/e_log2l.c: Likewise.
6636         * math/e_logl.c: Likewise.
6637         * math/e_powl.c: Likewise.
6638         * math/e_sinhl.c: Likewise.
6639         * math/e_sqrtl.c: Likewise.
6640         * math/e_scalb.c: Completely rewritten and optimized.
6641         * math/e_scalbf.c: Likewise.
6642         * math/e_scalbl.c: Likewise.
6643         * math/w_acos.c: Likewise.
6644         * math/w_acosf.c: Likewise.
6645         * math/w_acosl.c: Likewise.
6646         * math/w_acosh.c: Likewise.
6647         * math/w_acoshf.c: Likewise.
6648         * math/w_acoshl.c: Likewise.
6649         * math/w_asin.c: Likewise.
6650         * math/w_asinf.c: Likewise.
6651         * math/w_asinl.c: Likewise.
6652         * math/w_atan2.c: Likewise.
6653         * math/w_atan2f.c: Likewise.
6654         * math/w_atan2l.c: Likewise.
6655         * math/w_atanh.c: Likewise.
6656         * math/w_atanhf.c: Likewise.
6657         * math/w_atanhl.c: Likewise.
6658         * math/w_exp10.c: Likewise.
6659         * math/w_exp10f.c: Likewise.
6660         * math/w_exp10l.c: Likewise.
6661         * math/w_fmod.c: Likewise.
6662         * math/w_fmodf.c: Likewise.
6663         * math/w_fmodl.c: Likewise.
6664         * math/w_j0.c: Likewise.
6665         * math/w_j0f.c: Likewise.
6666         * math/w_j0l.c: Likewise.
6667         * math/w_j1.c: Likewise.
6668         * math/w_j1f.c: Likewise.
6669         * math/w_j1l.c: Likewise.
6670         * math/w_jn.c: Likewise.
6671         * math/w_jnf.c: Likewise.
6672         * math/w_log.c: Likewise.
6673         * math/w_logf.c: Likewise.
6674         * math/w_logl.c: Likewise.
6675         * math/w_log10.c: Likewise.
6676         * math/w_log10f.c: Likewise.
6677         * math/w_log10l.c: Likewise.
6678         * math/w_log2.c: Likewise.
6679         * math/w_log2f.c: Likewise.
6680         * math/w_log2l.c: Likewise.
6681         * math/w_pow.c: Likewise.
6682         * math/w_powf.c: Likewise.
6683         * math/w_powl.c: Likewise.
6684         * math/w_remainder.c: Likewise.
6685         * math/w_remainderf.c: Likewise.
6686         * math/w_remainderl.c: Likewise.
6687         * math/w_scalb.c: Likewise.
6688         * math/w_scalbf.c: Likewise.
6689         * math/w_scalbl.c: Likewise.
6690         * math/w_sqrt.c: Likewise.
6691         * math/w_sqrtf.c: Likewise.
6692         * math/w_sqrtl.c: Likewise.
6693         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
6694         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
6695         used.
6696         * math/math_private.h: Declare __kernel_standard_f.
6697         * math/w_cosh.c: Remove cruft and optimize a bit.
6698         * math/w_coshf.c: Likewise.
6699         * math/w_coshl.c: Likewise.
6700         * math/w_exp2.c: Likewise.
6701         * math/w_exp2f.c: Likewise.
6702         * math/w_exp2l.c: Likewise.
6703         * math/w_hypot.c: Likewise.
6704         * math/w_hypotf.c: Likewise.
6705         * math/w_hypotl.c: Likewise.
6706         * math/w_lgamma.c: Likewise.
6707         * math/w_lgamma_r.c: Likewise.
6708         * math/w_lgammaf.c: Likewise.
6709         * math/w_lgammaf_r.c: Likewise.
6710         * math/w_lgammal.c: Likewise.
6711         * math/w_lgammal_r.c: Likewise.
6712         * math/w_sinh.c: Likewise.
6713         * math/w_sinhf.c: Likewise.
6714         * math/w_sinhl.c: Likewise.
6715         * math/w_tgamma.c: Likewise.
6716         * math/w_tgammaf.c: Likewise.
6717         * math/w_tgammal.c: Likewise.
6718         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6719         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6720         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
6721         Minor optimizations.  Pretty printing.  Remove cruft.
6722         * sysdeps/i386/fpu/e_acosf.S: Likewise.
6723         * sysdeps/i386/fpu/e_acosh.S: Likewise.
6724         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6725         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6726         * sysdeps/i386/fpu/e_acosl.c: Likewise.
6727         * sysdeps/i386/fpu/e_asin.S: Likewise.
6728         * sysdeps/i386/fpu/e_asinf.S: Likewise.
6729         * sysdeps/i386/fpu/e_atan2.S: Likewise.
6730         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
6731         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
6732         * sysdeps/i386/fpu/e_atanh.S: Likewise.
6733         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6734         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6735         * sysdeps/i386/fpu/e_exp10.S: Likewise.
6736         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
6737         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
6738         * sysdeps/i386/fpu/e_exp2.S: Likewise.
6739         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6740         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6741         * sysdeps/i386/fpu/e_fmod.S: Likewise.
6742         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6743         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6744         * sysdeps/i386/fpu/e_hypot.S: Likewise.
6745         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6746         * sysdeps/i386/fpu/e_log.S: Likewise.
6747         * sysdeps/i386/fpu/e_log10.S: Likewise.
6748         * sysdeps/i386/fpu/e_log10f.S: Likewise.
6749         * sysdeps/i386/fpu/e_log10l.S: Likewise.
6750         * sysdeps/i386/fpu/e_log2.S: Likewise.
6751         * sysdeps/i386/fpu/e_log2f.S: Likewise.
6752         * sysdeps/i386/fpu/e_log2l.S: Likewise.
6753         * sysdeps/i386/fpu/e_logf.S: Likewise.
6754         * sysdeps/i386/fpu/e_logl.S: Likewise.
6755         * sysdeps/i386/fpu/e_pow.S: Likewise.
6756         * sysdeps/i386/fpu/e_powf.S: Likewise.
6757         * sysdeps/i386/fpu/e_powl.S: Likewise.
6758         * sysdeps/i386/fpu/e_remainder.S: Likewise.
6759         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6760         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6761         * sysdeps/i386/fpu/e_scalb.S: Likewise.
6762         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6763         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6764         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6765         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6766         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6767         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6768         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6769         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6770         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6771         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6772         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6773         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6774         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6775         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6776         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6777         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6778         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6779         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6780         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6781         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6782         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6783         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6784         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6785         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6786         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6787         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6788         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6789         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6790         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6791         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6792         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6793         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6794         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6795         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6796         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6797         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6798         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6799         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6800         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6801         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6802         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6803         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6804         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6805         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6806         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6807         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6808         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6809         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6810         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6811         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6812         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6813         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6814         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6815         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6816         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6817         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6818         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6819         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6820         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6821         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6822         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6823         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6824         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6825         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6826         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6827         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6828         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6829         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6830         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6831         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6832         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6833         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6834         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6835         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6836         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6837         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6838         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6839         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6840         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6841         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6842         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6843         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6844         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6845         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6846         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6847         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6848         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6849         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6850         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6851         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6852         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6853         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6854         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6855         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6856         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6857         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6858         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6859         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6860         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6861         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6862         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6863         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6864         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6865         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6866         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6867         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6868         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6869         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6870         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6871         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6872         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6873         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6874         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6875         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6876         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6877         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
6878         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6879         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6880         (__isnanf): Likewise.
6881         (__isinf_ns): Likewise.
6882         (__isinf_nsf): Likewise.
6883         (__finite): Likewise.
6884         (__finitef): Likewise.
6885         (__ieee754_sqrt): Define as macro.
6886         (__ieee754_sqrtf): Define as macro.
6887         (__ieee754_sqrtl): Define as macro.
6888         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6889         inlined copy.
6890         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6891         __FINITE_MATH_ONLY__ consistent.
6892         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6894 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
6896         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6897         of rawmemchr.
6899         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6901 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
6903         * po/ja.po: Update from translation team.
6905 2011-10-08  Roland McGrath  <roland@hack.frob.com>
6907         * locale/programs/locarchive.c (prepare_address_space): New function.
6908         (create_archive, enlarge_archive, open_archive): Use it.
6910         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6911         inside [SHARED], where it is used.
6913         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6915         * nss/getent.c (netgroup_keys): Remove unused variable.
6916         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6918 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
6920         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6921         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6922         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6923         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6924         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6925         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6926         * math/Makefile (libm-calls): Add s_isinf_ns.
6927         * math/divtc3.c: Use __isinf_nsl instead of isinf.
6928         * math/multc3.c: Likewise.
6929         * math/s_casin.c: Likewise.
6930         * math/s_casinf.c: Likewise.
6931         * math/s_casinl.c: Likewise.
6932         * math/s_ccos.c: Likewise.
6933         * math/s_ccosf.c: Likewise.
6934         * math/s_ccosl.c: Likewise.
6935         * math/s_ctan.c: Likewise.
6936         * math/s_ctanf.c: Likewise.
6937         * math/s_ctanh.c: Likewise.
6938         * math/s_ctanhf.c: Likewise.
6939         * math/s_ctanhl.c: Likewise.
6940         * math/s_ctanl.c: Likewise.
6941         * math/w_fmod.c: Likewise.
6942         * math/w_fmodf.c: Likewise.
6943         * math/w_fmodl.c: Likewise.
6944         * math/w_remainder.c: Likewise.
6945         * math/w_remainderf.c: Likewise.
6946         * math/w_remainderl.c: Likewise.
6947         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6948         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6949         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6950         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6951         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6952         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6953         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6954         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6956         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6957         of the number.
6958         * stdio-common/printf_fphex.c: Likewise.
6959         * stdio-common/printf_size.c: Likewise.
6961         * math/e_exp10.c: Include math_private.h using <...> not "...".
6962         * math/e_exp10f.c: Likewise.
6963         * math/e_exp10l.c: Likewise.
6964         * math/e_exp2l.c: Likewise.
6965         * math/e_j0l.c: Likewise.
6966         * math/e_j1l.c: Likewise.
6967         * math/e_jnl.c: Likewise.
6968         * math/e_lgammal_r.c: Likewise.
6969         * math/e_rem_pio2l.c: Likewise.
6970         * math/e_scalb.c: Likewise.
6971         * math/e_scalbf.c: Likewise.
6972         * math/e_scalbl.c: Likewise.
6973         * math/k_cosl.c: Likewise.
6974         * math/k_sinl.c: Likewise.
6975         * math/k_tanl.c: Likewise.
6976         * math/s_cacoshf.c: Likewise.
6977         * math/s_catan.c: Likewise.
6978         * math/s_catanf.c: Likewise.
6979         * math/s_catanh.c: Likewise.
6980         * math/s_catanhf.c: Likewise.
6981         * math/s_catanhl.c: Likewise.
6982         * math/s_catanl.c: Likewise.
6983         * math/s_ccosh.c: Likewise.
6984         * math/s_ccoshf.c: Likewise.
6985         * math/s_ccoshl.c: Likewise.
6986         * math/s_cexp.c: Likewise.
6987         * math/s_cexpf.c: Likewise.
6988         * math/s_cexpl.c: Likewise.
6989         * math/s_clog.c: Likewise.
6990         * math/s_clog10.c: Likewise.
6991         * math/s_clog10f.c: Likewise.
6992         * math/s_clog10l.c: Likewise.
6993         * math/s_clogf.c: Likewise.
6994         * math/s_clogl.c: Likewise.
6995         * math/s_csin.c: Likewise.
6996         * math/s_csinf.c: Likewise.
6997         * math/s_csinh.c: Likewise.
6998         * math/s_csinhf.c: Likewise.
6999         * math/s_csinhl.c: Likewise.
7000         * math/s_csinl.c: Likewise.
7001         * math/s_csqrt.c: Likewise.
7002         * math/s_csqrtf.c: Likewise.
7003         * math/s_csqrtl.c: Likewise.
7004         * math/s_ctan.c: Likewise.
7005         * math/s_ctanf.c: Likewise.
7006         * math/s_ctanh.c: Likewise.
7007         * math/s_ctanhf.c: Likewise.
7008         * math/s_ctanhl.c: Likewise.
7009         * math/s_ctanl.c: Likewise.
7010         * math/s_ldexp.c: Likewise.
7011         * math/s_ldexpf.c: Likewise.
7012         * math/s_ldexpl.c: Likewise.
7013         * math/s_significand.c: Likewise.
7014         * math/s_significandf.c: Likewise.
7015         * math/s_significandl.c: Likewise.
7016         * math/w_acos.c: Likewise.
7017         * math/w_acosf.c: Likewise.
7018         * math/w_acosh.c: Likewise.
7019         * math/w_acoshf.c: Likewise.
7020         * math/w_acoshl.c: Likewise.
7021         * math/w_acosl.c: Likewise.
7022         * math/w_asin.c: Likewise.
7023         * math/w_asinf.c: Likewise.
7024         * math/w_asinl.c: Likewise.
7025         * math/w_atan2.c: Likewise.
7026         * math/w_atan2f.c: Likewise.
7027         * math/w_atan2l.c: Likewise.
7028         * math/w_atanh.c: Likewise.
7029         * math/w_atanhf.c: Likewise.
7030         * math/w_atanhl.c: Likewise.
7031         * math/w_cosh.c: Likewise.
7032         * math/w_coshf.c: Likewise.
7033         * math/w_coshl.c: Likewise.
7034         * math/w_dremf.c: Likewise.
7035         * math/w_exp10.c: Likewise.
7036         * math/w_exp10f.c: Likewise.
7037         * math/w_exp10l.c: Likewise.
7038         * math/w_exp2.c: Likewise.
7039         * math/w_exp2f.c: Likewise.
7040         * math/w_fmod.c: Likewise.
7041         * math/w_fmodf.c: Likewise.
7042         * math/w_fmodl.c: Likewise.
7043         * math/w_hypot.c: Likewise.
7044         * math/w_hypotf.c: Likewise.
7045         * math/w_hypotl.c: Likewise.
7046         * math/w_j0.c: Likewise.
7047         * math/w_j0f.c: Likewise.
7048         * math/w_j0l.c: Likewise.
7049         * math/w_j1.c: Likewise.
7050         * math/w_j1f.c: Likewise.
7051         * math/w_j1l.c: Likewise.
7052         * math/w_jn.c: Likewise.
7053         * math/w_jnf.c: Likewise.
7054         * math/w_jnl.c: Likewise.
7055         * math/w_lgamma.c: Likewise.
7056         * math/w_lgamma_r.c: Likewise.
7057         * math/w_lgammaf.c: Likewise.
7058         * math/w_lgammaf_r.c: Likewise.
7059         * math/w_lgammal.c: Likewise.
7060         * math/w_lgammal_r.c: Likewise.
7061         * math/w_log.c: Likewise.
7062         * math/w_log10.c: Likewise.
7063         * math/w_log10f.c: Likewise.
7064         * math/w_log10l.c: Likewise.
7065         * math/w_log2.c: Likewise.
7066         * math/w_log2f.c: Likewise.
7067         * math/w_log2l.c: Likewise.
7068         * math/w_logf.c: Likewise.
7069         * math/w_logl.c: Likewise.
7070         * math/w_pow.c: Likewise.
7071         * math/w_powf.c: Likewise.
7072         * math/w_powl.c: Likewise.
7073         * math/w_remainder.c: Likewise.
7074         * math/w_remainderf.c: Likewise.
7075         * math/w_remainderl.c: Likewise.
7076         * math/w_scalb.c: Likewise.
7077         * math/w_scalbf.c: Likewise.
7078         * math/w_scalbl.c: Likewise.
7079         * math/w_sinh.c: Likewise.
7080         * math/w_sinhf.c: Likewise.
7081         * math/w_sinhl.c: Likewise.
7082         * math/w_sqrt.c: Likewise.
7083         * math/w_sqrtf.c: Likewise.
7084         * math/w_sqrtl.c: Likewise.
7085         * math/w_tgamma.c: Likewise.
7086         * math/w_tgammaf.c: Likewise.
7087         * math/w_tgammal.c: Likewise.
7089         * po/ja.po: Update from translation team.
7091 2011-09-29  Andreas Jaeger  <aj@suse.de>
7093         [BZ #13179]
7094         * sunrpc/netname.c (netname2host): Fix logic.
7096         [BZ #6779]
7097         [BZ #6783]
7098         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
7099         correctly.
7100         * math/w_remainder.c (__remainder): Likewise.
7101         * math/w_remainderf.c (__remainderf): Likewise.
7102         * math/libm-test.inc (remainder_test): Add test cases.
7104 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7106         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
7107         sdiv_qrnnd.
7109 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
7111         * string/test-memcmp.c: Avoid unncessary #defines.
7112         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7114 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7116         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
7117         Use new sse2 version for core i3 - i7 as it's faster
7118         than sse42 version.
7119         (bit_Prefer_PMINUB_for_stringop): New.
7120         * sysdeps/x86_64/rawmemchr.S: Update.
7121         Replace with faster SSE2 version.
7122         * sysdeps/x86_64/memrchr.S: New file.
7123         * sysdeps/x86_64/memchr.S: Update.
7124         Replace with faster SSE2 version.
7126 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
7128         * elf/dl-load.c (lose): Add cast to avoid warning.
7130 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
7132         * po/ca.po: Update from translation team.
7134         * inet/getnetgrent_r.c: Hook up nscd.
7135         * nscd/Makefile (routines): Add nscd_netgroup.
7136         (nscd-modules): Add netgroupcache.
7137         (CFLAGS-netgroupcache.c): Define.
7138         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
7139         (cache_search): Add const to second parameter.
7140         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
7141         INNETGR.
7142         (dbs): Add netgrdb entry.
7143         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
7144         (verify_persistent_db): Handle netgrdb.
7145         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
7146         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
7147         GETFDNETGR.
7148         (netgroup_response_header): Define.
7149         (innetgroup_response_header): Define.
7150         (datahead): Add netgroup_response_header and innetgroup_response_header
7151         elements.
7152         * nscd/nscd.conf: Add entries for netgroup cache.
7153         * nscd/nscd.h (dbtype): Add netgrdb.
7154         (_PATH_NSCD_NETGROUP_DB): Define.
7155         (netgroup_iov_disabled): Declare.
7156         (xmalloc, xcalloc, xrealloc): Move declarations here.
7157         (cache_search): Adjust prototype.
7158         Add netgroup-related prototypes.
7159         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
7160         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
7161         (__nscd_innetgr): Declare.
7162         * nscd/selinux.c (perms): Use access_vector_t as element type and
7163         add netgroup-related initializers.
7164         * nscd/netgroupcache.c: New file.
7165         * nscd/nscd_netgroup.c: New file.
7166         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
7167         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
7168         For four parameters use innetgr.
7169         * nss/nss_files/files-init.c: Add definition and callback for netgr.
7170         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
7171         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
7172         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
7174         * nscd/connections.c (register_traced_file): Don't register file
7175         for disabled databases.
7177 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
7179         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
7181         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
7182         from tree and freeing node.
7184 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
7186         * nss/nsswitch.c (__nss_database_lookup): Handle
7187         nss_parse_service_list out of memory case.
7189 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
7191         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
7192         out of memory case.
7194 2011-10-04  Andreas Schwab  <schwab@redhat.com>
7196         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
7197         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
7198         pass it down.
7199         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
7200         elf_machine_rela, elf_machine_lazy_rel.
7201         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
7202         (ELF_DYNAMIC_DO_REL): Likewise.
7203         (ELF_DYNAMIC_DO_RELA): Likewise.
7204         (ELF_DYNAMIC_RELOCATE): Likewise.
7205         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
7206         to ELF_DYNAMIC_DO_REL.
7207         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
7208         (dl_main): In trace mode always set __RTLD_NOIFUNC.
7209         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
7210         elf_machine_rela.
7211         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
7212         skip_ifunc, don't call ifunc function if non-zero.
7213         (elf_machine_rela): Likewise.
7214         (elf_machine_lazy_rel): Likewise.
7215         (elf_machine_lazy_rela): Likewise.
7216         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
7217         (elf_machine_lazy_rel): Likewise.
7218         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
7219         Likewise.
7220         (elf_machine_lazy_rel): Likewise.
7221         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7222         Likewise.
7223         (elf_machine_lazy_rel): Likewise.
7224         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
7225         (elf_machine_lazy_rel): Likewise.
7226         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
7227         (elf_machine_lazy_rel): Likewise.
7228         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7229         (elf_machine_lazy_rel): Likewise.
7230         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7231         (elf_machine_lazy_rel): Likewise.
7232         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7233         (elf_machine_lazy_rel): Likewise.
7234         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7235         (elf_machine_lazy_rel): Likewise.
7237 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
7239         * nss/nss_files/files-init.c (_nss_files_init): Use static
7240         initialization for all the *_traced_file variables.
7242 2011-09-28  Andreas Schwab  <schwab@redhat.com>
7244         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7246 2011-09-27  Roland McGrath  <roland@hack.frob.com>
7248         [BZ #13226]
7249         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
7251 2011-09-27  Andreas Schwab  <schwab@redhat.com>
7253         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7254         Reread the line before reparsing it.
7256 2011-09-26  Andreas Schwab  <schwab@redhat.com>
7258         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
7260 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
7261             Maxim Kuvyrkov  <maxim@codesourcery.com>
7262             Joseph Myers  <joseph@codesourcery.com>
7264         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
7265         if needed for __stack_chk_guard.
7267 2011-09-19  Roland McGrath  <roland@hack.frob.com>
7269         * sysdeps/posix/spawni.c (script_execute): Always define it.
7270         It will be optimized away if unused.
7271         (maybe_script_execute): New function.
7272         (__spawni): Call it.
7274         * Makerules: Don't include tls.make.
7275         (config-tls): Always set to thread.
7276         * tls.make.c: File removed.
7278 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
7280         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
7281         * config.make.in (CPPFLAGS-config): New substituted variable.
7283 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
7285         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
7287         [BZ #13192]
7288         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
7289         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
7291 2011-09-15  Roland McGrath  <roland@hack.frob.com>
7293         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
7294         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
7295         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
7296         (CALL_FAIL): Likewise.
7297         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
7298         (CALL_FAIL): Macro removed.
7299         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
7301 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
7303         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
7304         for __FINITE_MATH_ONLY__ == 1.
7306 2011-09-15  Andreas Schwab  <schwab@redhat.com>
7308         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
7309         __ieee754_sqrt instead of sqrt.
7310         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
7311         __ieee754_sqrtf instead of sqrtf.
7312         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7313         __floorf instead of floorf.
7314         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
7315         __floorf, __truncf instead of floorf, truncf.
7317 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
7319         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
7321         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
7322         __extern_always_inline.
7323         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
7324         32-bit.
7326 2011-09-14  Andreas Schwab  <schwab@redhat.com>
7328         * elf/rtld.c (dl_main): Also relocate in dependency order when
7329         doing symbol dependency testing.
7331 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
7333         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7334         Always define `refsym'.
7336 2011-09-13  Andreas Schwab  <schwab@redhat.com>
7338         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
7339         (__FD_ELT): Renamed from __FDELT.
7340         * misc/bits/select2.h (__FD_ELT): Likewise.
7341         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
7342         __FD_MASK instead of __FDELT, __FDMASK.
7343         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7344         Likewise.
7345         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7346         Likewise.
7348         * elf/Makefile (gen-ldd): Fix pattern.
7350         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
7351         (init_tls): Likewise.
7353 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
7355         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
7357 2011-09-12  Andreas Schwab  <schwab@redhat.com>
7359         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
7360         `struct cmsghdr *' instead of `void *'.
7361         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
7362         Likewise.
7364 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
7366         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
7367         if non-absolute.
7368         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
7369         ldd_rewrite_script.
7371 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
7373         * configure.in: Remove --with-tls option.
7374         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
7375         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
7376         out in case it is missing.
7377         * sysdeps/ia64/elf/configure.in: Likewise.
7378         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
7379         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
7380         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
7381         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
7382         * sysdeps/sh/elf/configure.in: Likewise.
7383         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
7384         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7385         * sysdeps/x86_64/elf/configure.in: Likewise.
7386         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
7387         * sysdeps/mach/hurd/tls.h: Likewise.
7389         [BZ #13067]
7390         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
7392         [BZ #13090]
7393         * configure.in: Fix use of AC_INIT.
7395         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
7397 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
7399         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
7400         __set_errno.
7401         * malloc/hooks.c: Likewise.
7403         [BZ #11929]
7404         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
7405         variables statically.
7406         (narenas): Initialize.
7407         (list_lock): Initialize.
7408         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
7409         initializtion of main_arena and list_lock.  Small cleanups.
7410         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
7411         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
7412         Add initializers to main_arena and mp_.
7413         (malloc_state): Remove pagesize member.  Change all users to use
7414         GLRO(dl_pagesize).
7416         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
7417         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
7418         is always initialized.
7420         * malloc/malloc.c: Removed unused configurations and dead code.
7421         * malloc/arena.c: Likewise.
7422         * malloc/hooks.c: Likewise.
7423         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
7425         * include/tls.h: Removed.  USE___THREAD must always be defined.
7426         * bits/libc-tsd.h: Don't handle !USE___THREAD.
7427         * elf/dl-libc.c: Likewise.
7428         * elf/dl-tsd.c: Likewise.
7429         * include/errno.h: Likewise.
7430         * include/netdb.h: Likewise.
7431         * include/resolv.h: Likewise.
7432         * inet/herrno-loc.c: Likewise.
7433         * inet/herrno.c: Likewise.
7434         * malloc/arena.c: Likewise.
7435         * malloc/hooks.c: Likewise.
7436         * malloc/malloc.c: Likewise.
7437         * resolv/res-state.c: Likewise.
7438         * resolv/res_libc.c: Likewise.
7439         * sysdeps/i386/dl-machine.h: Likewise.
7440         * sysdeps/ia64/dl-machine.h: Likewise.
7441         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7442         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7443         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7444         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7445         * sysdeps/sh/dl-machine.h: Likewise.
7446         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7447         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7448         * sysdeps/unix/i386/sysdep.S: Likewise.
7449         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7450         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7451         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7452         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7453         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7454         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7455         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7456         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7457         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7458         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7459         * sysdeps/unix/x86_64/sysdep.S: Likewise.
7460         * sysdeps/x86_64/dl-machine.h: Likewise.
7461         * tls.make.c: Likewise.
7463         * configure.in: Remove --with-__thread option.  Make tests for
7464         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
7465         tls_model attribute fail if no support is available.  Remove
7466         USE_IN_LIBIO.
7467         * Makeconfig: Adjust for dropped configure option.  All features are
7468         now mandatory.
7469         * Makerules: Likewise.
7470         * Versions.def: Likewise.
7471         * argp/argp-fmtstream.c: Likewise.
7472         * argp/argp-fmtstream.h: Likewise.
7473         * argp/argp-help.c: Likewise.
7474         * assert/assert.c: Likewise.
7475         * config.h.in: Likewise.
7476         * config.make.in: Likewise.
7477         * configure: Likewise.
7478         * configure.in: Likewise.
7479         * csu/Versions: Likewise.
7480         * csu/init.c: Likewise.
7481         * elf/tst-audit2.c: Likewise.
7482         * elf/tst-tls10.c: Likewise.
7483         * elf/tst-tls10.h: Likewise.
7484         * elf/tst-tls11.c: Likewise.
7485         * elf/tst-tls12.c: Likewise.
7486         * elf/tst-tls14.c: Likewise.
7487         * elf/tst-tlsmod11.c: Likewise.
7488         * elf/tst-tlsmod12.c: Likewise.
7489         * elf/tst-tlsmod13.c: Likewise.
7490         * elf/tst-tlsmod13a.c: Likewise.
7491         * elf/tst-tlsmod14a.c: Likewise.
7492         * elf/tst-tlsmod15b.c: Likewise.
7493         * elf/tst-tlsmod16a.c: Likewise.
7494         * elf/tst-tlsmod16b.c: Likewise.
7495         * elf/tst-tlsmod7.c: Likewise.
7496         * elf/tst-tlsmod8.c: Likewise.
7497         * elf/tst-tlsmod9.c: Likewise.
7498         * gmon/gmon.c: Likewise.
7499         * grp/fgetgrent_r.c: Likewise.
7500         * grp/putgrent.c: Likewise.
7501         * hurd/fopenport.c: Likewise.
7502         * include/libc-symbols.h: Likewise.
7503         * include/tls.h: Likewise.
7504         * intl/gettextP.h: Likewise.
7505         * intl/loadinfo.h: Likewise.
7506         * locale/global-locale.c: Likewise.
7507         * locale/localeinfo.h: Likewise.
7508         * mach/devstream.c: Likewise.
7509         * malloc/arena.c: Likewise.
7510         * malloc/set-freeres.c: Likewise.
7511         * misc/err.c: Likewise.
7512         * misc/getttyent.c: Likewise.
7513         * misc/mntent_r.c: Likewise.
7514         * posix/getopt.c: Likewise.
7515         * posix/wordexp.c: Likewise.
7516         * pwd/fgetpwent_r.c: Likewise.
7517         * resolv/Versions: Likewise.
7518         * resolv/res_hconf.c: Likewise.
7519         * shadow/fgetspent_r.c: Likewise.
7520         * shadow/putspent.c: Likewise.
7521         * stdio-common/printf_fphex.c: Likewise.
7522         * stdio-common/tmpfile.c: Likewise.
7523         * stdlib/abort.c: Likewise.
7524         * stdlib/fmtmsg.c: Likewise.
7525         * sunrpc/auth_unix.c: Likewise.
7526         * sunrpc/clnt_perr.c: Likewise.
7527         * sunrpc/clnt_tcp.c: Likewise.
7528         * sunrpc/clnt_udp.c: Likewise.
7529         * sunrpc/clnt_unix.c: Likewise.
7530         * sunrpc/openchild.c: Likewise.
7531         * sunrpc/svc_simple.c: Likewise.
7532         * sunrpc/svc_tcp.c: Likewise.
7533         * sunrpc/svc_udp.c: Likewise.
7534         * sunrpc/svc_unix.c: Likewise.
7535         * sunrpc/xdr.c: Likewise.
7536         * sunrpc/xdr_array.c: Likewise.
7537         * sunrpc/xdr_rec.c: Likewise.
7538         * sunrpc/xdr_ref.c: Likewise.
7539         * sunrpc/xdr_stdio.c: Likewise.
7541 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
7543         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7545 2011-07-03  Andreas Jaeger  <aj@suse.de>
7547         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
7548         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
7549         regenerate with gen-libm-tests.pl.
7551 2010-05-12  Petr Baudis  <pasky@suse.cz>
7553         [BZ #11589]
7554         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
7555         around j0() zero points by switching to j1().
7556         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7557         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7558         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7559         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7561 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
7563         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
7564         instead of 0.
7565         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
7566         instead of 0.                              .
7567         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7568         Patch in part by Pavel Roskin <proski@gnu.org>.
7570         [BZ #13138]
7571         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
7572         realloc.
7573         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
7574         Free memory block if necessary.
7576         [BZ #12847]
7577         * libio/genops.c (INTDEF): For string streams the _lock pointer can
7578         be NULL.  Don't lock in this case.
7580 2011-09-09  Roland McGrath  <roland@hack.frob.com>
7582         * elf/elf.h (ELFOSABI_GNU): New macro.
7583         (ELFOSABI_LINUX): Define to that.
7585 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
7587         * string/strncat.c (strncat): Undef the symbol in case it has been
7588         defined in bits/string.h.
7590 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
7592         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
7594         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
7595         link map.
7597 2011-08-17  Andreas Jaeger  <aj@suse.de>
7599         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
7601 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
7602             Ian Lance Taylor  <iant@google.com>
7604         * math/libm-test.inc (lround_test): New testcase.
7605         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
7607 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
7609         * Makefile: Remove support for automatic cvs check-ins.
7610         * Makerules: Likewise.
7611         * config.make.in: Likewise.
7612         * configure.in: Likewise.
7613         * intl/Makefile: Likewise.
7614         * locale/Makefile: Likewise.
7615         * po/Makefile: Likewise.
7616         * posix/Makefile: Likewise.
7617         * sysdeps/gnu/Makefile: Likewise.
7618         * sysdeps/mach/hurd/Makefile: Likewise.
7619         * sysdeps/sparc/sparc32/Makefile: Likewise.
7621         [BZ #13118]
7622         * posix/Makefile (bug-regex32-ENV): Define.
7623         Patch by John Stanley <jpsinthemix@verizon.net>.
7625         * misc/Makefile (headers): Add bits/select2.h.
7626         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
7627         * misc/bits/select2.h: New file.
7628         * include/bits/select2.h: New file.
7629         * debug/Makefile (routines): Add fdelt_chk.
7630         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
7631         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
7632         FD_ISSET.
7633         * debug/fdelt_chk.c: New file.
7635         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
7636         * wcsmbs/test-wmemcmp.c: Likewise.
7637         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
7638         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
7640 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7642         * string/Makefile (strop-tests): Add memcmp.
7643         * string/test-wmemcmp.c: New file.
7644         * string/test-memcmp.c: Add wmemcmp support.
7646 2011-09-08  Roland McGrath  <roland@hack.frob.com>
7648         [BZ #13153]
7649         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
7650         2011-07-19 change.
7652         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
7653         garbage value in a __mach_port_mod_refs call in the cases of the
7654         task-self and thread-self ports.
7656 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7658         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
7660 2011-09-08  Andreas Schwab  <schwab@redhat.com>
7662         * elf/dl-load.c (lose): Check for non-null L.
7664 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
7666         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
7668         * elf/dl-libc.c (dlerror_run): Pass back error code from
7669         dl_catch_error.
7671         [BZ #13123]
7672         * elf/dl-load.c (lose): Free l_origin if it is valid.
7674         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
7675         names.
7676         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7677         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7678         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7679         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7680         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7681         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
7683 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7685         * sysdeps/powerpc/fpu/e_hypot.c: New file.
7686         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
7687         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
7688         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
7689         * sysdeps/powerpc/fpu/k_cosf.c: New file.
7690         * sysdeps/powerpc/fpu/k_sinf.c: New file.
7691         * sysdeps/powerpc/fpu/s_cosf.c: New file.
7692         * sysdeps/powerpc/fpu/s_sinf.c: New file.
7693         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
7694         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
7696 2011-08-15  Alan Modra  <amodra@gmail.com>
7698         [BZ #13092]
7699         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
7700         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
7701         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
7702         ppc_mcount to static-only-routines.
7703         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
7704         __mcount_internal.
7705         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
7706         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
7708 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
7710         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
7711         for finite and infinity parameters.
7713 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
7715         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
7716         and add nop instructions for throughput optimization.
7717         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7719 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
7721         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
7722         aligned copy for power7 with vector-scalar instructions.
7723         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7725 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
7727         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
7728         AVX check.
7730 2011-09-07  Andreas Schwab  <schwab@redhat.com>
7732         [BZ #13144]
7733         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
7734         last change.
7736 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
7738         * sysdeps/unix/sysv/linux/x86_64/init-first.c
7739         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7740         syscall wrapper around clock_gettime in __vdso_clock_gettime.
7741         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7742         clock_gettime.
7744 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
7746         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7747         Forgot to demangle the pointer.
7749         * sysdeps/i386/sysdep.h: Define atom_text_section.
7750         * sysdeps/x86_64/sysdep.h: Likewise.
7751         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7752         section with atom_text_section.
7753         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7754         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7755         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7756         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7757         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7759         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7760         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7761         already be defined.  Change to take two parameters and don't assign
7762         result to variable.  Adjust all users.
7763         Define INTERNAL_GETTIME if not already defined.
7764         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7765         call.
7766         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7767         HAVE_CLOCK_GETTIME_VSYSCALL.
7768         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7770         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7771         gettimeofday vsyscall, just use time.
7773 2011-09-06  Andreas Schwab  <schwab@redhat.com>
7775         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7776         <errno.h>.
7778 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
7780         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7781         syscall on x86-64.
7782         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7783         syscall.
7784         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7785         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7786         syscall if possible.
7788 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
7790         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7791         e_ident.  Don't pass to find_mapsXX.
7792         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7794 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7796         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7797         strchr-sse2-no-bsf strrchr-sse2-no-bsf
7798         * sysdeps/x86_64/multiarch/strchr.S: Update.
7799         Check bit_slow_BSF bit.
7800         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7801         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7802         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7804 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
7806         [BZ #13134]
7807         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7808         before glibc 2.15.
7809         (tryshell): Define.
7810         (__spawni): Change last parameter to be flag.  Test
7811         SPAWN_XFLAGS_USE_PATH flag to use path or not.
7812         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7813         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7814         * posix/spawni.c: Likewise.
7815         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7816         * posix/spawnp.c: Likewise.  Change normal version to use
7817         SPAWN_XFLAGS_USE_PATH.
7818         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7819         SPAWN_XFLAGS_TRY_SHELL.
7821         [BZ #13150]
7822         * posix/glob.h: Remove gcc 1.x support.
7824         [BZ #13068]
7825         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7827 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7829         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7830         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7831         strrchr-sse2-bsf
7832         * sysdeps/i386/i686/multiarch/strchr.S: New file.
7833         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7834         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7835         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7836         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7837         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7839 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7841         * sysdeps/x86_64/wcscmp.S: New file.
7843         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7844         wcscmp-c wcscmp-sse2
7845         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7846         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7847         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7848         * wcsmbs/wcscmp.c: Allow renaming.
7850 2011-09-05  David S. Miller  <davem@davemloft.net>
7852         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7853         stack slot, rather than the struct return pointer slot.
7854         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7855         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7856         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7857         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7859 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
7861         * po/ja.po: Update from translation team.
7863         [BZ #13144]
7864         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7865         kernel in 64-bit binaries.
7867 2011-09-01  David S. Miller  <davem@davemloft.net>
7869         * elf/elf.h (HWCAP_SPARC_*): Move to..
7870         * sysdeps/sparc/sysdep.h: this new file and add new values.
7871         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7872         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7873         _DL_HWCAP_COUNT to 24.
7874         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7875         entries.
7876         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7877         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7878         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7879         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7880         instead of magic constants.
7881         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7883 2011-08-31  David S. Miller  <davem@davemloft.net>
7885         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7886         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7887         Reimplement to do errno handling inline.
7888         (SYSCALL_ERROR_HANDLER): New macro.
7889         (__SYSCALL_STRING): Do not do errno handling in asm.
7890         (__CLONE_SYSCALL_STRING): Delete.
7891         (__INTERNAL_SYSCALL_STRING): Delete.
7892         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7893         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7894         (PSEUDO): Reimplement to do errno handling inline.
7895         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7896         (SYSCALL_ERROR_HANDLER): New macro.
7897         (__SYSCALL_STRING): Do not do errno handling in asm.
7898         (__CLONE_SYSCALL_STRING): Delete.
7899         (__INTERNAL_SYSCALL_STRING): Delete.
7900         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7901         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7902         i386.
7903         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7904         (inline_syscall*): Add 'err' argument.
7905         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7906         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7907         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7908         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7910         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7911         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7913 2011-08-30  Andreas Schwab  <schwab@redhat.com>
7915         * elf/rtld.c (dl_main): Relocate objects in dependency order.
7917 2011-08-29  Jiri Olsa <jolsa@redhat.com>
7919         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7920         directive.
7922 2011-08-24  David S. Miller  <davem@davemloft.net>
7924         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7926 2011-08-24  Andreas Schwab  <schwab@redhat.com>
7928         * elf/Makefile: Add rules to build and run unload8 test.
7929         * elf/unload8.c: New file.
7930         * elf/unload8mod1.c: New file.
7931         * elf/unload8mod1x.c: New file.
7932         * elf/unload8mod2.c: New file.
7933         * elf/unload8mod3.c: New file.
7935         * elf/dl-close.c (_dl_close_worker): Reset private search list if
7936         it wasn't used.
7938 2011-08-23  David S. Miller  <davem@davemloft.net>
7940         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7941         subtract stack bias.
7942         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7943         %sp not %fp in calculations.
7944         (_JMPBUF_UNWINDS_ADJ): Likewise.
7946         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7947         (aio_suspend): Call it to force an exception region around the
7948         AIO_MISC_WAIT() invocation.
7950 2011-08-23  Andreas Schwab  <schwab@redhat.com>
7952         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7953         backslash.
7955 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
7957         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7958         protection macro.
7959         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7960         and <dl-machine.h>.
7961         (Elf64_FuncDesc): Remove.
7963 2011-08-22  David S. Miller  <davem@davemloft.net>
7965         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7966         sigaltstack check, add missing cfi directives.
7967         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7968         missing cfi directives, and sigaltstack handling.
7970 2011-08-16  Andreas Schwab  <schwab@redhat.com>
7972         [BZ #11724]
7973         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7974         object is seen twice.
7975         * elf/dl-fini.c (_dl_sort_fini): Likewise.
7977         * elf/Makefile (distribute): Add tst-initorder2.c.
7978         (tests): Add tst-initorder2.
7979         (modules-names): Add tst-initorder2a tst-initorder2b
7980         tst-initorder2c tst-initorder2d.  Add rules to build them.
7981         ($(objpfx)tst-initorder2.out): New rule.
7982         * elf/tst-initorder2.c: New file.
7983         * elf/tst-initorder2.exp: New file.
7985 2011-08-22  Andreas Schwab  <schwab@redhat.com>
7987         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7989         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7990         dependencies back to end of function.
7992         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7993         $(elfobjdir)/ld.so.
7995 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
7997         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7998         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7999         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
8000         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
8001         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
8002         of __vdso_gettimeofday.
8003         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
8004         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
8005         attribute_hidden.
8006         (_libc_vdso_platform_setup): Remove initialization of
8007         __vdso_gettimeofday and __vdso_time.
8009 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
8011         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
8012         and fgetc_unlocked.
8013         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
8014         getc_unlocked.
8016         * elf/dl-open.c (add_to_global): Report additions to the global scope
8017         for LD_DEBUG=scopes.
8018         (dl_open_worker): Also print scope of newly loaded dependencies.
8019         (_dl_show_scope): Indicate if there is no scope.
8021         [BZ #13114]
8022         * stdio-common/Makefile (tests): Add bug24.
8023         * stdio-common/bug24.c: New file.
8025 2011-08-19  Andreas Jaeger  <aj@suse.de>
8027         [BZ #13114]
8028         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
8029         non-existant file when using close-on-exec mode.
8031 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
8033         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
8034         the very first instruction.
8036         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
8037         the CFI state in the end.
8038         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
8039         inclusion of dl-trampoline.h.
8040         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
8042 2011-08-19  Andreas Schwab  <schwab@redhat.com>
8044         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
8045         expectations for long double.
8047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
8048         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
8050 2011-08-14  David S. Miller  <davem@davemloft.net>
8052         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
8053         artificual limit depends upon the system page size.
8055 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
8057         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
8058         * resolv/Makefile: Define CFLAGS-libresolv.
8060 2011-08-17  Andreas Schwab  <schwab@redhat.com>
8062         * nss/makedb.c (compute_tables): Make variables used in nested
8063         function static.
8065 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
8067         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
8068         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
8069         if buffer was too small.
8071         * elf/pldd.c (main): Attach to all threads in the process.
8072         Rewrite /proc handling to use *at functions.
8074 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
8076         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
8077         specifies first scope to show.
8078         (dl_open_worker): Update callers.  Move printing scope of new
8079         object to before the relocation.
8080         * elf/rtld.c (dl_main): Update _dl_show_scope call.
8081         * sysdeps/generic/ldsodefs.h: Update declaration.
8083         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
8084         string for the scope number.
8086 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
8088         * nscd/servicescache.c (cache_addserv): Make sure written is always
8089         initialized.
8091 2011-08-14  Roland McGrath  <roland@hack.frob.com>
8093         * sysdeps/i386/i486/bits/atomic.h
8094         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
8095         statement expression, so as to suppress "set but not used" warning.
8096         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
8098         * string/strncat.c (STRNCAT): Use prototype definition.
8100         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
8101         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
8102         -Iprograms here.
8103         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
8104         (localedef-modules): Add localedef.
8105         (locale-modules): Add locale.
8107         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
8108         * elf/rtld.c (dl_main): Invert order of assignment in last change,
8109         to avoid a warning.
8111 2011-08-14  David S. Miller  <davem@davemloft.net>
8113         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
8114         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
8116 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
8118         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
8119         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
8120         * elf/rtld.c (dl_main): Set l_name of vDSO.
8121         Call _dl_show_scope when DL_DEBUG_SCOPES.
8122         (process_dl_debug): Recognize scopes flag and also set it for all.
8123         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
8124         Declare _dl_show_scope.
8126         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
8127         (do_dlopen): Pass caller_dlopen to dl_open.
8128         (__libc_dlopen_mode): Initialize caller_dlopen.
8130         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
8131         of libc.  Make tolower call locale-independent.  Optimize a bit by
8132         using isdigit instead of isalnum.
8133         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
8135 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
8137         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
8138         was a dependency or dynamically loaded.
8140 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
8142         * intl/l10nflist.c: Allow architecture-specific pop function.
8143         * sysdeps/x86_64/l10nflist.c: New file.
8145         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
8146         classification.
8148 2011-08-10  Andreas Schwab  <schwab@redhat.com>
8150         * include/dirent.h: Add libc_hidden_proto for scandirat and
8151         scandirat64.  Don't declare __scandirat64.
8152         * dirent/scandirat.c: Add libc_hidden_def.
8153         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
8154         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
8156 2011-08-10  David S. Miller  <davem@davemloft.net>
8158         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
8159         enum.
8160         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8161         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8162         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8164 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
8166         * Versions.def [libc]: Add GLIBC_2.15.
8167         * dirent/Makefile (routines): Add scandirat and scandirat64.
8168         * dirent/Versions [libc]: Export scandirat and scandirat64 for
8169         GLIBC_2.15.
8170         * dirent/dirent.h: Declare scandirat and scandirat64.
8171         * dirent/scandirat.c: New file.
8172         * dirent/scandirat64.c: New file.
8173         * sysdeps/wordsize-64/scandirat.c: New file.
8174         * sysdeps/wordsize-64/scandirat64.c: New file.
8175         * dirent/opendir.c: Define opendirat.
8176         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
8177         using scandirat.
8178         * dirent/scandir64.c: Adjust for scandir.c change.
8179         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
8180         __scandirat64, and __scandir_cancel_handler.
8181         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
8182         additional parameter and use openat instead of open (outside of ld.so).
8183         Add new __opendir as wrapper around __opendirat.
8184         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
8185         here without requiring old scandirat implementation.
8187 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
8189         * dirent/scandir.c (cancel_handler): Renamed to
8190         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
8191         defined.  Adjust users.
8192         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
8193         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
8195 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
8197         * string/test-string.h (IMPL): Use __STRING to expand name and then
8198         stringify it.
8200         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
8201         of cleanups.
8203 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8205         * string/Makefile: Update.
8206         (strop-tests): Append strncat.
8207         * string/test-wcscmp.c: New file.
8208         New comprehensive test for wcscmp.
8209         * string/test-strcmp.c: Update.
8210         (WIDE): New define.
8212 2011-07-22  Andreas Schwab  <schwab@redhat.com>
8214         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
8215         line.
8217 2011-07-26  Andreas Schwab  <schwab@redhat.com>
8219         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8220         encoding to ACE if AI_IDN.
8222 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
8224         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
8225         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
8227 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8229         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
8230         Fix overflow bug in strncat.
8231         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8233         * string/test-strncat.c: Update.
8234         Add new tests for checking overflow bugs.
8236 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8238         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8239         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
8240         * sysdeps/i386/i686/multiarch/strcat.S: New file.
8241         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
8242         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
8243         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
8244         * sysdeps/i386/i686/multiarch/strncat.S: New file.
8245         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
8246         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
8248         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
8249         (USE_AS_STRCAT): Define.
8250         Add strcat and strncat support.
8251         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8253 2011-07-25  Andreas Schwab  <schwab@redhat.com>
8255         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
8256         __n bigger than INT_MAX+1.
8257         (__strncmp_g): Likewise.
8259 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
8261         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
8262         * libio/stido.h: Likewise.
8264         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
8265         (AF_NFC): Define.
8266         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
8267         (AF_NFC): Define.
8269         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
8270         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8271         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8272         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
8273         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8275         [BZ #13021]
8276         * scripts/test-installation.pl: Don't expect libnss_test1 to be
8277         installed.
8279         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
8280         typo.
8281         (_dl_x86_64_save_sse): Likewise.
8283 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
8285         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
8286         OSXSAVE.
8287         (_dl_x86_64_save_sse): Likewise.
8289         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
8291         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
8293 2011-07-21  Andreas Schwab  <schwab@redhat.com>
8295         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
8296         change.
8297         (_dl_x86_64_save_sse): Use correct AVX check.
8299 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8301         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
8302         bug in strncpy/strncat.
8303         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8305 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
8307         * string/tester.c (test_strcat): Add tests for different alignments
8308         of source and destination.
8309         (test_strncat): Likewise.
8311 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
8313         [BZ #12852]
8314         * posix/glob.c (glob): Check passed in values before using them in
8315         expressions to avoid some overflows.
8316         (glob_in_dir): Likewise.
8318         [BZ #13007]
8319         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
8320         check for AVX enablement so that we don't crash with old kernels and
8321         new hardware.
8322         * elf/tst-audit4.c: Add same checks here.
8323         * elf/tst-audit6.c: Likewise.
8325         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
8327 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
8329         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
8331 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
8333         * po/cs.po: Update from translation team.
8334         * po/bg.po: Likewise.
8336 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
8338         * misc/sys/cdefs.h: Add support for const attribute.
8339         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
8340         to gnu_dev_{major,minor,makedev} functions.
8342 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
8344         * intl/dcigettext.c (get_output_charset): Add missing bracket.
8346 2011-07-20  Andreas Schwab  <schwab@redhat.com>
8348         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
8349         strlen results.
8351 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8353         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
8354         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
8355         register in order to avoid conflicts with the soft frame pointer
8356         being held in r11 when necessary.
8357         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
8358         (INTERNAL_VSYSCALL_NCS): Likewise.
8360 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
8362         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
8363         * elf/dl-fini.c (_dl_fini): Adjust caller.
8364         * elf/dl-close.c (_dl_close_worker): Likewise.
8365         * sysdeps/generic/ldsodefs.h: Adjust declaration.
8367 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
8369         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
8370         "aux_cache->nlibs < 0".
8372         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
8373         in the reload-count case.
8375 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8377         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8378         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
8379         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
8380         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
8381         * sysdeps/x86_64/multiarch/strcat.S: New file.
8382         * sysdeps/x86_64/multiarch/strncat.S: New file.
8383         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
8384         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
8385         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
8386         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
8387         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
8388         (USE_AS_STRCAT): Define.
8389         Add strcat and strncat support.
8390         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8391         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8392         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
8393         * string/strncat.c: Update.
8394         (USE_AS_STRNCAT): Define.
8395         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8396         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
8397         and i7.
8398         * sysdeps/x86_64/multiarch/init-arch.h
8399         (bit_Prefer_PMINUB_for_stringop): New.
8400         (index_Prefer_PMINUB_for_stringop): Likewise.
8401         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
8402         bit_Prefer_PMINUB_for_stringop.
8404 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
8406         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
8407         buffer64.
8408         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
8409         of casting of buffer.
8410         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
8411         buffer32 and buffer64.
8412         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
8413         writes instead of casting of buffer.
8414         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
8415         buffer32.
8416         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
8417         casting of buffer.
8419 2011-07-19  Andreas Schwab  <schwab@redhat.com>
8421         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
8423 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
8425         * nscd/nscd.c (termination_handler): Don't do anything for a database
8426         if it has not yet been initialized.
8428 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
8430         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8432 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
8434         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8436 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
8438         * po/nl.po: Update from translation team.
8439         * po/sv.po: Likewise.
8441 2011-07-16  Roland McGrath  <roland@hack.frob.com>
8443         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
8444         now disallowed by GCC.
8446         * configure.in (use-default-link): Default to yes if a test -shared
8447         link meets our qualifications.
8448         * configure: Regenerated.
8450         * config.make.in (output-format): New variable.
8451         * configure.in: Check for ld --print-output-format support.
8452         * configure: Regenerated.
8453         * Makerules ($(common-objpfx)format.lds)
8454         [$(output-format) != unknown]: Just use $(output-format),
8455         instead of the linker-script munging.
8457 2011-07-14  Roland McGrath  <roland@hack.frob.com>
8459         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
8460         of $(common-objpfx)shlib.lds.
8461         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
8463         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
8464         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
8466         * configure.in (-z relro check): Adjust test code to add a large
8467         writable data section after it.
8468         * configure: Regenerated.
8470 2011-07-11  Roland McGrath  <roland@hack.frob.com>
8472         * configure.in (-z relro check): Fix test code to make the variable
8473         truly const.
8474         * configure: Regenerated.
8476 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
8478         * nscd/nscd.h (struct traced_file): Define.
8479         (struct database_dyn): Remove inotify_descr, reset_res, and filename
8480         elements.  Add traced_files.
8481         (inotify_fd): Declare.
8482         (register_traced_file): Declare.
8483         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
8484         (inotify_fd): Export.
8485         (resolv_conf_descr): Remove.
8486         (nscd_init): Move inotify descriptor creation to main.
8487         Don't register files for notification here.
8488         (register_traced_file): New function.
8489         (invalidate_cache): Don't use reset_res to determine whether to call
8490         res_init, go through the list of registered files.
8491         (main_loop_poll): The inotify descriptors are now stored in the
8492         structures for the traced files.
8493         (main_loop_epoll): Likewise
8494         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
8495         to __nss_disable_nscd.
8496         * nscd/cache.c (prune_cache): There is no single inotify descriptor
8497         for a database anymore.  Check the records for all the registered
8498         files instead.
8499         * nss/Makefile (libnss_files-routines): Add files-init.
8500         (libnss_db-routines): Add db-init.
8501         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
8502         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
8503         * nss/nss_db/db-init.c: New file.
8504         * nss/nss_files/files-init.c: New file.
8505         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
8506         __nss_lookup_function.
8507         (__nss_lookup_function): Call nss_load_library.
8508         (nss_load_all_libraries): New function.
8509         (__nss_disable_nscd): Take parameter with callback function for files
8510         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
8511         used for the cached services.
8512         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
8513         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
8514         options for features to all the files in nscd.
8516         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
8518 2011-07-10  Roland McGrath  <roland@hack.frob.com>
8520         * csu/elf-init.c (__libc_csu_init): Comment typo.
8522 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
8524         * po/pl.po: Update from translation team.
8525         * po/ja.po: Likewise.
8526         * po/ru.po: Likewise.
8527         * po/ko.po: Likewise.
8528         * po/fr.po: Likewise.
8530 2011-07-09  Roland McGrath  <roland@hack.frob.com>
8532         * configure.in (.ctors/.dtors header and trailer check):
8533         Use an empirical test on a built program.
8534         * configure: Regenerated.
8536         * configure.in (-z relro check): Use an empirical test on a built DSO.
8537         Detect, but do not require, on ia64.
8538         * configure: Regenerated.
8540         * configure.in (READELF): Find it with AC_CHECK_TOOL.
8541         Update tests that use readelf to use $READELF instead.
8542         * configure: Regenerated.
8544 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
8546         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
8547         if the result is not used.
8549 2011-07-05  Andreas Jaeger  <aj@suse.de>
8551         [BZ#9696]
8552         * stdlib/tst-strtod.c: Add testcase.
8554 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
8556         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
8557         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
8558         The latter has a higher limit.  Take additional parameter to pass to
8559         the new function.
8560         (__pathconf): Pass file to __statfs_link_max.
8561         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
8562         __statfs_link_max.
8563         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
8564         __statfs_link_max.
8566         [BZ #12868]
8567         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
8568         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8569         Handle Lustre.
8570         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
8571         (__statfs_filesize_max): Likewise.
8572         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
8574 2011-07-05  Andreas Jaeger  <aj@suse.de>
8576         * resolv/res_comp.c (dn_skipname): Remove unused variable.
8578 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
8580         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
8581         `status' variable.
8582         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
8583         Likewise.
8585 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
8587         * Makefile (strop-tests): Add strncat.
8588         * string/test-strncat.c: New file.
8590 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
8592         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
8594 2011-06-21  Andreas Jaeger  <aj@suse.de>
8596         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
8597         Copy rule from iconvdata/Makefile.
8599 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
8601         [BZ #12922]
8602         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
8603         but no long options are defined, just return 'W'.
8605 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
8607         [BZ #9696]
8608         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
8610 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
8612         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
8613         netgroups to read.
8614         (innetgr): Likewise.
8616 2011-07-05  Roland McGrath  <roland@hack.frob.com>
8618         * config.make.in (install_root): Default to $(DESTDIR).
8620 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
8622         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
8624 2011-07-02  Roland McGrath  <roland@hack.frob.com>
8626         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
8628         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
8629         containing directory rather than embedding absolute directory names.
8631         * scripts/check-local-headers.sh: Rewritten using awk.
8632         Match by word, not by line.  Print error messages for matches.
8633         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
8635         * Makerules [shlib-lds-flags empty]:
8636         ($(common-objpfx)libc_pic.opts): New target.
8637         ($(common-objpfx)libc_pic.os.clean): New target.
8638         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
8640         * config.make.in (OBJCOPY): New variable.
8641         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
8642         * configure: Regenerated.
8644         * config.make.in (use-default-link): New variable.
8645         * configure.in (use_default_link): Grok --with-default-link to set it.
8646         * configure: Regenerated.
8647         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
8648         (shlib-lds, shlib-lds-flags): Define to empty.
8650         * Makerules (shlib-lds): New variable.
8651         (shlib-lds-flags): New variable.
8652         (build-shlib, build-moduile, build-module-asneeded): Use it.
8653         ($(common-objpfx)libc.so): Use $(shlib-lds).
8654         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
8655         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
8657         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
8658         DT_FLAGS/DT_FLAGS_1 with zero flags.
8660         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
8661         linker script munging.
8663 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
8665         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
8666         as 128-bit value.
8667         * crypt/sha512.c (sha512_process_block): Perform total addition using
8668         128-bit if possible.
8669         (__sha512_finish_ctx): Likewise.
8670         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
8671         as 64-bit value.
8672         * crypt/sha256.c (SWAP64): Define.
8673         (sha256_process_block): Perform total addition using 64-bit if
8674         possible.
8675         (__sha256_finish_ctx): Likewise.
8677 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
8679         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
8680         * nscd/initgrcache.c (addinitgroupsX): Likewise.
8681         * nscd/hstcache.c (cache_addhst): Likewise.
8682         * nscd/grpcache.c (cache_addgr): Likewise.
8683         * nscd/aicache.c (addhstaiX): Likewise
8684         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
8686 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
8688         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
8689         * nscd/initgrcache.c (addinitgroupsX): Likewise.
8690         * nscd/hstcache.c (cache_addhst): Likewise.
8691         * nscd/grpcache.c (cache_addgr): Likewise.
8692         * nscd/aicache.c (addhstaiX): Likewise
8694 2011-07-01  Andreas Schwab  <schwab@redhat.com>
8696         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
8697         domain only when needed.
8699 2011-06-30  Andreas Schwab  <schwab@redhat.com>
8701         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
8702         is always restored.
8704 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
8706         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
8707         are re-adding the entry.
8708         * nscd/servicescache.c (cache_addserv): Likewise.
8710 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
8712         * sysdeps/generic/dl-irel.h: fix protection against multiple
8713         inclusions.
8714         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
8716 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
8718         [BZ #12935]
8719         * malloc/memusage.sh: Fix quoting in message.
8720         * debug/xtrace.sh: Likewise.
8722         * configure.in: Remove support for --experimental-malloc option, make
8723         it the default.
8724         * config.make.in: Likewise.
8725         * malloc/Makefile: Likewise.
8727 2011-06-27  Andreas Schwab  <schwab@redhat.com>
8729         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
8730         two-byte characters.
8732 2011-06-27  Roland McGrath  <roland@hack.frob.com>
8734         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
8735         AC_CACHE_CHECK invocation.
8736         * configure: Regenerated.
8738         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8740 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
8742         [BZ #12350]
8743         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
8744         bit from old_res_options.
8746         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8748         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8749         value type for setfct.
8751 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
8753         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8754         __gettimeofday instead of gettimeofday.
8756 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
8758         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8760 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
8762         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8764         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8765         info.
8767 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
8769         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8770         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8771         strcpy-sse2-unaligned strncpy-sse2-unaligned
8772         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8773         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8774         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8775         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8776         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8777         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8778         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8779         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8780         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8781         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8782         (STRCPY): Support SSE2 and SSSE3 versions.
8784 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
8786         [BZ #12874]
8787         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8788         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8789         kernels which artificially limit size of requests.
8791 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
8793         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8794         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8795         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8796         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8797         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8798         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8799         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8800         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8801         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8802         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8803         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8804         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8805         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8806         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8807         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8808         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8809         Enable unaligned load optimization for Intel Core i3, i5 and i7
8810         processors.
8811         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8812         Define.
8813         (index_Fast_Unaligned_Load): Define.
8814         (HAS_FAST_UNALIGNED_LOAD): Define.
8816 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
8818         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8820 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
8822         [BZ #12907]
8823         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8824         until it is clear that the information is realy needed.
8825         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8827 2011-06-22  Andreas Schwab  <schwab@redhat.com>
8829         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8831 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
8833         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8834         /sys/devices/system/cpu/online if it is usable.
8836         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8837         reading the information from the /proc filesystem to once a second.
8839 2011-06-21  Andreas Jaeger  <aj@suse.de>
8841         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8842         NULL after inclusion of kernel headers.
8844 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
8846         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8847         calls to internal_setent.
8849         [BZ #12885]
8850         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8851         addresses using gethostbyname4_r ignore IPv4 addresses.
8853         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8854         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
8856         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8858 2011-06-20  David S. Miller  <davem@davemloft.net>
8860         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8861         inclusions.
8862         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8864         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8865         (elf_irel): Use it.
8866         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8867         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8868         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8869         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8870         * sysdeps/x86_64/dl-irel.h: Likewise.
8872         * elf/dl-runtime.c: Use elf_ifunc_invoke.
8873         * elf/dl-sym.c: Likewise.
8875 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
8877         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
8878         need to dereference resplen2.
8880 2011-06-14  Andreas Schwab  <schwab@redhat.com>
8882         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8884 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
8886         * Makeconfig: Define vardbdir and inst_vardbdir.
8887         * nss/Makefile: Add rules to install db-Makefile.
8889         * nss/nss_db/db-XXX.c: Cleanup.
8891         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8892         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8893         GLIBC_PRIVATE.
8894         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8895         * nss/makedb.c: Implement -g option to specify that value strings
8896         are generated and should not be added to table iterated over for
8897         get*ent calls.
8898         * nss/nss_db/db-initgroups.c: New file.
8900         * nss/getent.c: Add support for initgroups lookups through getgrouplist
8901         interface.
8903         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8904         (internal_getgrouplist): Adjust to name change.
8905         Update use_initgroups_entry if this is not the first call.
8906         * nss/databases.def: Add initgroups entry.
8908         * nss/makedb.c (compute_tables): Check result of multiple hash table
8909         sizes to minimize maximum chain length.
8911 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
8913         * Versions.def: Add entry for libnss_db.
8914         * shlib-versions: Likewise.
8915         * nss/Makefile: Add rules to build libnss_db.
8916         * nss/Versions: Add libnss_db information.  Organize libnss_files
8917         entries better.
8918         * nss/db-Makefile: Add gshadow support.  Change rules for the new
8919         makedb progra.  Some minor improvements to generate smaller files.
8920         * nss/nss_db/nss_db.h: Move NSS database header data structures to
8921         here from...
8922         * nss/makedb.c: ...here.
8923         Improve database format to be smaller and require less memory at
8924         runtime.
8925         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
8926         db anymore.
8927         * nss/nss_db/db-netgrp.c: Likewise.
8928         * nss/nss_db/db-open.c: Likewise.
8929         * nss/nss_files/flies-XXX.x: Adjust comments.
8930         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8931         * nss/nss_files/files-grp.c: Likewise.
8932         * nss/nss_files/files-hosts.c: Likewise.
8933         * nss/nss_files/files-network.c: Likewise.
8934         * nss/nss_files/files-proto.c: Likewise.
8935         * nss/nss_files/files-pwd.c: Likewise.
8936         * nss/nss_files/files-rpc.c: Likewise.
8937         * nss/nss_files/files-service.c: Likewise.
8938         * nss/nss_files/files-sgrp.c: Likewise.
8939         * nss/nss_files/files-spwd.c: Likewise.
8940         * nss/nss_db/db-alias.c: Removed.
8941         * nss/nss_db/dummy-db.h: Removed.
8943 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
8945         * nss/makedb.c: Rewritten to not use database library.
8946         * nss/Makefile: Update to build new makedb program.
8948 2011-06-14  Andreas Jaeger  <aj@suse.de>
8950         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8951         memset declaration.
8953 2011-06-10  Andreas Schwab  <schwab@redhat.com>
8955         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8956         tmpbuf.
8958 2011-06-10  Roland McGrath  <roland@hack.frob.com>
8960         * Makerules (shlib.lds): Fail if the linker script comes out empty.
8961         * elf/Makefile ($(objpfx)ld.so): Likewise.
8963         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8964         Don't list ld.so twice in dependencies.
8966         * posix/bug-regex31.c: Include <stdlib.h>.
8968         * nscd/hstcache.c (cache_addhst): Remove unused variable.
8970         * nis/nss_compat/compat-spwd.c
8971         (getspent_next_nss_netgr): Remove unused variable.
8972         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8974         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8975         nonmembers" output to use the right array.
8977         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8979         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8981         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8982         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8983         * catgets/gencat.c (read_input_file): Likewise.
8984         * locale/programs/locarchive.c (enlarge_archive): Likewise.
8986         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8987         variable definition inside #if's controlling its use.
8989         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8991         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8993         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8995         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8996         unreachable code.
8998         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
9000         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
9001         * configure: Regenerated.
9003         * Makerules: Revert last change.
9004         * elf/Makefile: Likewise.
9006 2011-06-09  Roland McGrath  <roland@hack.frob.com>
9008         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
9009         * elf/Makefile ($(objpfx)librtld.os): Likewise.
9010         (reloc-link): Likewise.
9012 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
9014         * elf/Makefile: Add rules to build pldd.
9015         * elf/pldd.c: New file.
9016         * elf/pldd-xx.c: New file.
9018 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
9020         * version.h: Update for 2.15 development version.
9022 2011-06-07  David S. Miller  <davem@davemloft.net>
9024         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
9025         ifuncs.
9026         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
9027         elf_machine_lazy_rel): Likewise.
9028         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9029         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
9030         elf_machine_lazy_rel): Likewise.
9031         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
9032         dl_hwcap via passed in argument.
9033         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
9034         Likewise.
9036 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9038         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
9040 2011-06-06  Roland McGrath  <roland@hack.frob.com>
9042         [BZ #12849]
9043         * manual/fdl-1.1.texi: New file, verbatim from:
9044         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
9045         * manual/lgpl-2.1.texi: New file, verbatim from:
9046         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
9047         * manual/Makefile (licenses): New variable, list those new file names.
9048         (texis): Use it.
9049         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
9051         * manual/fdl.texi: File removed.
9052         * manual/lesser.texi: File removed.
9053         * manual/libc.texinfo (Copying, Documentation License):
9054         Use new @include file names, put @appendix directive before @include.
9056 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
9058         [BZ #12841]
9059         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
9060         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
9061         (mq_open): Add __NTH.
9063 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
9065         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9066         Assume Intel Core i3/i5/i7 processor if AVX is available.
9068 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
9070         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9071         typo.
9073 2011-05-31  Andreas Schwab  <schwab@redhat.com>
9075         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
9076         memory.  Use alloca_account.  Fix memory leak when retrying.
9078 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
9080         * version.h (RELEASE): Bump for 2.14 release.
9081         * include/features.h (__GLIBC_MINOR__): Bump to 14.
9083         * config.make.in (RANLIB): Remove entry.
9085 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
9087         * po/Makefile (po-sed-cmd): Add ksh to extensions.
9088         (libc.pot): Work around missing support for .ksh extension in xgettext.
9090         [BZ #12684]
9091         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
9092         if both request failed.
9093         (send_dg): In case of server errors clear resplen or *resplen2.
9095         [BZ #12454]
9096         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
9097         when there are multiple maps.
9098         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
9099         (_dl_fini): Remove test here.
9101         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
9103 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
9105         [BZ #12350]
9106         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
9107         bit from old_res_options.
9108         (gaih_inet): Likewise.
9110         [BZ #11099]
9111         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
9112         as signed.
9114         * resolv/res_init.c (res_setoptions): Make the code more compact.
9116         [BZ #11558]
9117         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
9118         set RES_USEVC.
9120         [BZ #11634]
9121         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
9123         * malloc/malloc.h: Mark malloc hook variables as deprecated.
9125         [BZ #11781]
9126         * malloc/malloc.h: Declare malloc hook variables as volatile.
9128         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
9129         in last patch.
9131         [BZ #11799]
9132         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
9133         raise in the comment.
9134         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9135         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9136         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
9138 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
9140         [BZ #12811]
9141         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
9142         grow the buffers more if it already has to be sufficient.
9143         (build_wcs_upper_buffer): Likewise.
9144         * posix/regexec.c (check_matching): Likewise.
9145         (clean_state_log_if_needed): Likewise.
9146         (extend_buffers): Don't enlarge buffers beyond size of the input
9147         buffer.
9148         Patches mostly by Emil Wojak <emil@wojak.eu>.
9149         * posix/bug-regex32.c: New file.
9150         * posix/Makefile (tests): Add bug-regex32.
9152         * locale/findlocale.c (_nl_find_locale): Return right away if
9153         _nl_explode_name failed.
9154         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
9156         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
9158         * debug/xtrace.sh: Unify messages.
9159         * malloc/memusage.sh: Likewise.
9161         [BZ #12813]
9162         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
9163         time symbol from vDSO.  Substitute with vsyscall if not available.
9164         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
9165         __vdso_time.
9167         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
9168         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
9169         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
9170         Add sendmmsg and internal_sendmmsg.
9171         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
9172         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
9173         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
9175         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
9176         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
9177         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
9179 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
9181         [BZ #12813]
9182         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
9183         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
9184         available.
9185         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
9186         __vdso_getcpu.
9188         [BZ #12814]
9189         * iconvdata/Makefile (tests): Add bug-iconv9.
9190         * iconvdata/bug-iconv9.c: New file.
9192 2011-05-27  Andreas Schwab  <schwab@redhat.com>
9194         [BZ #12814]
9195         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
9197 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
9199         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9200         (struct user_regs_struct): Change intcs field back to cs.
9202 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
9204         * po/ja.po: Update from translation team.
9206 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
9208         [BZ #12795]
9209         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
9210         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
9212 2011-05-20  Andreas Schwab  <schwab@redhat.com>
9214         * stdlib/longlong.h: Update from GCC.
9216 2011-05-23  Andreas Schwab  <schwab@redhat.com>
9218         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
9219         parameter name.
9220         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
9221         Add parameter name.
9222         (__sysconf): Pass it down.
9224 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
9226         [BZ #12671]
9227         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
9228         some situations.
9229         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9230         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
9231         add in in __libc_use_alloca calls.  Adjust callers.
9232         (glob): Use malloc in some situations.
9234         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
9235         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
9236         pltexit.
9238 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
9240         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
9241         and CLOCK_BOOTTIME_ALARM.
9243         [BZ #12782]
9244         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
9245         is returned.
9247         * string/_strerror.c (__strerror_r): Print negative errors as signed
9248         numbers.
9250         [BZ #12777]
9251         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
9252         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
9253         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
9255         * configure.in: Fix typo in redirection and correct removal of test
9256         files in two cases.
9258         [BZ #12788]
9259         * locale/setlocale.c (new_composite_name): Fix test to check for
9260         identical name of all categories.
9262         [BZ #12792]
9263         * libio/filedoalloc.c (local_isatty): New function.
9264         (_IO_file_doallocate): Use local_isatty.
9265         * stdio-common/perror.c (perror): In case a new stream is used
9266         forward the stream error.
9267         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
9268         error flag.
9270 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
9272         [BZ #11869]
9273         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
9274         alloca.
9275         * include/alloca.h (extend_alloca_account): Define.
9277         [BZ #11857]
9278         * posix/regex.h: Fix comments with documentation of user-accessible
9279         fields after compilation and describe correct free'ing of pattern
9280         after re_compile_pattern.
9281         Patch by Reuben Thomas <rrt@sc3d.org>.
9283 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
9285         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
9286         and -mno-altivec to prevent the compiler from using Altivec and/or
9287         VSX instructions when the corresponding registers are not available.
9289 2011-05-19  Andreas Schwab  <schwab@redhat.com>
9291         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
9293 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
9295         * libio/freopen.c (freopen): Use __dup2, not dup2.
9296         * libio/freopen64.c (freopen64): Likewise.
9298 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
9300         [BZ #12775]
9301         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
9302         * math/Makefile (tests): Add test-powl.
9303         (CFLAGS-test-powl.c): Define.
9304         * math/test-powl.c: New file.
9306 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9308         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
9310 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
9312         [BZ #11837]
9313         * iconvdata/gb18030.c: Update to GB18020-2005.
9315 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
9317         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
9318         RE_SYNTAX_POSIX_AWK): Update to match recent development.
9319         Patch by Aharon Robbins <arnold@skeeve.com>.
9321         [BZ #11892]
9322         * stdlib/putenv.c (putenv): Don't always create copy of the variable
9323         on the stack.
9325         [BZ #11895]
9326         * misc/pselect.c (__pselect): Handle timeout value errors hidden
9327         through underflows.
9329         [BZ #12766]
9330         * misc/error.c (error_at_line): Ensure file_name and old_file_name
9331         point to strings before performing equality test for error_one_per_line
9332         mode.
9334         [BZ #11697]
9335         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
9337         [BZ #11820]
9338         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9339         (struct user_fpregs_struct): Avoid __uint*_t types.
9341         [BZ #6420]
9342         * malloc/mtrace.c (tr_where): Add additional parameter to point to
9343         symbol info.  Use it instead of calling _dl_addr locally.
9344         (lock_and_info): New function.
9345         (tr_freehook): Call lock_and_info and pass symbol info as additional
9346         parameter to tr_where.
9347         (tr_mallochook): Likewise.
9348         (tr_reallochook): Likewise.
9349         (tr_memalignhook): Likewise.
9351         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
9352         used and couldn't be at all thread-safe.
9354 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
9356         * libio/freopen.c (freopen): Don't close old file descriptor
9357         before the new one is opened.  Instead dup the new file descriptor
9358         to the old one after the new stream is created.
9359         * libio/freopen64.c (freopen64): Likewise.
9360         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
9361         * libio/fileops.c (_IO_new_file_close_it): Handle new
9362         _IO_FLAGS2_NOCLOSE flag.
9363         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
9364         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
9365         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
9366         _IO_FLAGS2_NOCLOSE flag.
9367         * include/unistd.h: Add hidden_proto for dup3.
9368         Define __have_dup3.
9369         * io/dup3.c: Define hidden symbol.
9370         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
9372         [BZ #7101]
9373         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
9374         when an incomplete long option is used.
9375         * posix/tst-getopt_long1.c: New file.
9376         * posix/Makefile (tests): Add tst-getopt_long1.
9378         [BZ #10138]
9379         * scripts/config.guess: Update from autoconf-2.68.
9380         * scripts/config.sub: Likewise.
9382         [BZ #10157]
9383         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
9384         tests into ...
9385         (has_cpuclock): ...this.  New function.
9386         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
9387         macro here based on has_cpuclock code.
9389         [BZ #10149]
9390         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9391         First byte (not low byte) is now always NUL.
9392         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
9394         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9395         Use non-cancelable interfaces.
9397         [BZ #9809]
9398         * locale/iso-639.def: Add entry for Sorani.
9400         [BZ #11901]
9401         * include/stdlib.h: Move include protection to the right place.
9402         Define abort_msg_s.  Declare __abort_msg with it.
9403         * stdlib/abort.c (__abort_msg): Adjust type.
9404         * assert/assert.c (__assert_fail_base): New function.  Majority
9405         of code from __assert_fail.  Allocate memory for __abort_msg with
9406         mmap.
9407         (__assert_fail): Now call __assert_fail_base.
9408         * assert/assert-perr.c: Remove bulk of implementation.  Use
9409         __assert_fail_base.
9410         * include/assert.hL Declare __assert_fail_base.
9411         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
9412         mmap.
9413         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
9415 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
9417         [BZ #11952]
9418         [BZ #12453]
9419         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
9420         until all modules are registered in the DTV.
9421         * elf/Makefile: Add rules to build and run tst-tls19.
9422         * elf/tst-tls19.c: New file.
9423         * elf/tst-tls19mod1.c: New file.
9424         * elf/tst-tls19mod2.c: New file.
9425         * elf/tst-tls19mod3.c: New file.
9426         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
9428         [BZ #12083]
9429         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
9430         correctly.
9432         [BZ #12601]
9433         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
9434         two-byte sequence errors.
9435         * iconvdata/Makefile (tests): Add bug-iconv8.
9436         * iconvdata/bug-iconv8.c: New file.
9438         [BZ #12626]
9439         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
9440         buf2 definition.
9442         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
9444         [BZ #12432]
9445         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
9446         (dummy_getcfa): New function.
9447         (init): Get _Unwind_GetCFA address, use dummy if not found.
9448         (backtrace_helper): In recursion check, also check whether CFA changes.
9449         (__backtrace): Completely initialize arg.
9451         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
9452         storing incomplete byte sequence in state object.  Avoid testing for
9453         guaranteed too small input if we know there is enough data available.
9455 2011-05-11  Andreas Schwab  <schwab@redhat.com>
9457         * Makeconfig (+link-pie): Indent.
9458         * Rules (binaries-pie): Define if $(have-fpie) and
9459         $(build-shared).
9460         (binaries-shared): Also filter out $(binaries-pie).
9461         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
9462         * nscd/Makefile (others-pie): Add nscd.
9463         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
9464         ($(objpfx)nscd): Remove command override.
9465         * login/Makefile (others-pie): Add pt_chown.
9466         ($(objpfx)pt_chown): Remove command override.
9467         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
9468         remove command overrides.
9470 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
9472         * libio/tst_putwc.c: Fix error messages.
9474         [BZ #12724]
9475         * libio/fileops.c (_IO_new_file_close_it): Always flush when
9476         currently writing and seek to current position when not.
9477         * libio/Makefile (tests): Add bug-fclose1.
9478         * libio/bug-fclose1.c: New file.
9480 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
9482         [BZ #12511]
9483         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
9484         don't set DF_1_NODELETE here.
9485         (do_lookup_x): When entering new entry test for copy relocation
9486         and if necessary set DF_1_NODELETE flag.
9487         * elf/tst-unique4.cc: New file.
9488         * elf/tst-unique4.h: New file.
9489         * elf/tst-unique4lib.cc: New file.
9490         * elf/Makefile: Add rules to build and run tst-unique4.
9491         Patch by Piotr Bury <pbury@goahead.com>.
9493 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
9495         [BZ #12052]
9496         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
9498         [BZ #12625]
9499         * misc/mntent_r.c (addmntent): Flush the stream after the output
9501         [BZ #12393]
9502         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
9503         (is_trusted_path_normalize): Skip initial colon.  Append slash
9504         to empty buffer.  Duplicate is_trusted_path code but allow
9505         constructed patch to be prefix.
9506         (is_dst): Allow $ORIGIN followed by /.
9507         (_dl_dst_substitute): Correct clearing of check_for_trusted.
9508         Correct testing of result of is_trusted_path_normalize
9509         (decompose_rpath): Fix warning.
9511 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
9513         [BZ #11257]
9514         * grp/initgroups.c (internal_getgrouplist): When we found the service
9515         list through the initgroups entry in nsswitch.conf do not always
9516         continue on a successful lookup.  Don't always use the
9517         __nss_group_database value if it is set.
9518         * nss/nsswitch.conf (initgroups): Change action for successful db
9519         lookup to continue for compatibility.
9521 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
9523         [BZ #11532]
9524         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
9525         and CP774 modules.
9526         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
9527         and CP774 modules.
9528         * iconvdata/tst-tables.sh: Likewise.
9529         * iconvdata/cp770.c: New file.
9530         * iconvdata/cp771.c: New file.
9531         * iconvdata/cp772.c: New file.
9532         * iconvdata/cp773.c: New file.
9533         * iconvdata/cp774.c: New file.
9534         * iconvdata/testdata/CP770: New file.
9535         * iconvdata/testdata/CP770..UTF8: New file.
9536         * iconvdata/testdata/CP771: New file.
9537         * iconvdata/testdata/CP771..UTF8: New file.
9538         * iconvdata/testdata/CP772: New file.
9539         * iconvdata/testdata/CP772..UTF8: New file.
9540         * iconvdata/testdata/CP773: New file.
9541         * iconvdata/testdata/CP773..UTF8: New file.
9542         * iconvdata/testdata/CP774: New file.
9543         * iconvdata/testdata/CP774..UTF8: New file.
9545         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
9546         END CHARMAP line.
9547         * iconvdata/gen-8bit-gap.sh: Likewise.
9548         * iconvdata/gen-8bit.sh: Likewise.
9550         * locale/iso-639.def: Add ary entry.
9552         [BZ #11258]
9553         * locale/C-translit.h.in: Add U20A1 transliteration.
9555         [BZ #12178]
9556         * locale/iso-639.def: Add wae entry.
9557         Patch by Kevin Bortis <bortis@translate-wae.ch>.
9559         [BZ #12545]
9560         * locale/programs/localedef.c (construct_output_path): Use ssize_t
9561         for n.
9563         [BZ #12711]
9564         * locale/C-translit.h.in: Add entry for U20B9.
9565         Patch by pravin.d.s@gmail.com.
9567 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
9569         [BZ #12713]
9570         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
9571         ENAMETOOLONG use generic getcwd.
9572         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
9573         in rtld.  Use *stat64.
9574         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
9575         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
9576         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
9577         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
9578         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
9579         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
9580         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
9581         __fstatat64 macros.
9582         * include/dirent.h: Add libc_hidden_proto for rewinddir.
9583         * dirent/rewinddir.c: Add libc_hidden_def.
9584         * sysdeps/mach/hurd/rewinddir.c: Likewise.
9585         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
9587         * include/dirent.h (__alloc_dir): Add flags parameter.
9588         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
9589         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
9590         __alloc_dir.
9591         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
9592         from fdopendir if O_CLOEXEC is already set.
9594 2011-03-15  Alan Modra  <amodra@gmail.com>
9596         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
9597         l_tls_firstbyte_offset non-zero.  Save padding offset in
9598         l_tls_firstbyte_offset for later use.
9599         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
9600         freeing static tls block.
9602 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
9604         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
9605         where #ifdef was intended.  The intent is to prevent ARG_MAX from
9606         being defined by the kernel headers.
9608 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
9610         [BZ #12734]
9611         * resolv/resolv.h: Define RES_NOTLDQUERY.
9612         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
9613         no-tld-query and set RES_NOTLDQUERY.
9614         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
9615         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
9616         modern BIND to search name as TLD unless forbidden.
9618 2011-05-07  Petr Baudis  <pasky@suse.cz>
9619             Ulrich Drepper  <drepper@gmail.com>
9621         [BZ #12393]
9622         * elf/dl-load.c (fillin_rpath): Move trusted path check...
9623         (is_trusted_path): ...to here.
9624         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
9625         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
9626         using is_trusted_path_normalize() in setuid scripts.
9628 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
9630         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
9631         __BEGIN/__END_DECLS.
9633 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
9635         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
9636         NSS_STATUS_NOTFOUND if no record was found.
9638 2011-05-05  Andreas Schwab  <schwab@redhat.com>
9640         * sunrpc/Makefile (headers): Add rpc/netdb.h.
9641         (headers-not-in-tirpc): Remove rpc/netdb.h
9642         * resolv/netdb.h: Revert last change.
9644 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
9646         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
9647         circular dependency between libgcc.a and libc.a.
9649 2011-05-05  Andreas Schwab  <schwab@redhat.com>
9651         * resolv/netdb.h: Don't include <rpc/netdb.h>.
9652         * nis/Makefile: Don't install rpcsvc/*.
9653         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
9654         instead of <rpc/types.h>.
9655         (MAXHOSTNAMELEN): Define.
9657 2011-05-03  Andreas Schwab  <schwab@redhat.com>
9659         * elf/ldconfig.c (add_dir): Don't crash on empty path.
9661 2011-04-28  Maciej Babinski  <mbabinski@google.com>
9663         [BZ #12714]
9664         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
9665         gethostbyname4_r when IPv6 results are possible.
9667 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
9669         [BZ #12723]
9670         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
9671         _PC_PIPE_BUF handling.
9673 2011-04-30  Bruno Haible  <bruno@clisp.org>
9675         [BZ #12717]
9676         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
9677         * resolv/netdb.h (getnameinfo): Change type of flags parameter
9678         to 'int'.
9679         * inet/getnameinfo.c (getnameinfo): Likewise.
9681 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
9683         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
9684         to groups setting in database lookup.
9685         * nss/nsswitch.conf: Add initgroups entry.
9687 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
9689         [BZ #12685]
9690         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
9691         mode string.
9692         Patch by Eric Blake <eblake@redhat.com>.
9694 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
9696         * sunrpc/Makefile (need-export-routines): Add svc_run.
9697         (routines): Remove svc_run.
9698         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
9699         * sunrpc/clnt_perr.c (clnt_perrno): Export.
9700         * sunrpc/svc_run.c (svc_run): Likewise.
9701         * sunrpc/svc_udp.c (svcudp_create): Likewise.
9703 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
9705         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
9706         problem in reallocation in last patch.
9708 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
9710         * sunrpc/Makefile: Move inclusion of Rules.
9712 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
9714         * nss/nss_files/files-initgroups.c: New file.
9715         * nss/Makefile (libnss_files-routines): Add files-initgroups.
9716         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
9717         _nss_files_initgroups_dyn.
9719 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
9721         * elf/elf.h (R_ARM_IRELATIVE): Define.
9723 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
9725         * po/ru.po: Update from translation team.
9727 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
9729         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
9730         dependencies.
9732 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
9734         [BZ #12653]
9735         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
9736         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
9737         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9738         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9739         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9741 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
9743         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9744         differing bytes.
9745         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9746         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9747         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9749 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
9751         [BZ #12420]
9752         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9753         storing it.
9754         * stdlib/bug-getcontext.c: New file.
9755         * stdlib/Makefile: Add rules to build and run bug-getcontext.
9757 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9759         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9760         instructions into .machine "z9-109".
9761         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9762         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9764 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9766         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9767         between environment variables and auxiliary vector.
9769 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
9771         * Makefile: Add rules to build linkobj/libc.so.
9772         * include/libc-symbols.h: Define libc_hidden_nolink.
9773         * include/rpc/auth.h: Mark functions which are to be hidden.
9774         * include/rpc/auth_des.h: Likewise.
9775         * include/rpc/auth_unix.h: Likewise.
9776         * include/rpc/clnt.h: Likewise.
9777         * include/rpc/des_crypt.h: Likewise.
9778         * include/rpc/key_prot.h: Likewise.
9779         * include/rpc/pmap_clnt.h: Likewise.
9780         * include/rpc/pmap_prot.h: Likewise.
9781         * include/rpc/pmap_rmt.h: Likewise.
9782         * include/rpc/rpc_msg.h: Likewise.
9783         * include/rpc/svc.h: Likewise.
9784         * include/rpc/svc_auth.h: Likewise.
9785         * include/rpc/xdr.h: Likewise.
9786         * nis/Makefile: Link all DSOs against linkobj/libc.so.
9787         * nss/Makefile: Likewise.
9788         * sunrpc/Makefile: Don't install headers.  Build library with normal
9789         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
9790         * sunrpc/auth_des.c: Hide exported symbols by default, export some
9791         for the compat linking library.  Remove use of INTDEF/INTUSE.
9792         * sunrpc/auth_none.c: Likewise.
9793         * sunrpc/auth_unix.c: Likewise.
9794         * sunrpc/authdes_prot.c: Likewise.
9795         * sunrpc/authuxprot.c: Likewise.
9796         * sunrpc/clnt_gen.c: Likewise.
9797         * sunrpc/clnt_perr.c: Likewise.
9798         * sunrpc/clnt_raw.c: Likewise.
9799         * sunrpc/clnt_simp.c: Likewise.
9800         * sunrpc/clnt_tcp.c: Likewise.
9801         * sunrpc/clnt_udp.c: Likewise.
9802         * sunrpc/clnt_unix.c: Likewise.
9803         * sunrpc/des_crypt.c: Likewise.
9804         * sunrpc/des_soft.c: Likewise.
9805         * sunrpc/get_myaddr.c: Likewise.
9806         * sunrpc/key_call.c: Likewise.
9807         * sunrpc/key_prot.c: Likewise.
9808         * sunrpc/netname.c: Likewise.
9809         * sunrpc/pm_getmaps.c: Likewise.
9810         * sunrpc/pm_getport.c: Likewise.
9811         * sunrpc/pmap_clnt.c: Likewise.
9812         * sunrpc/pmap_prot.c: Likewise.
9813         * sunrpc/pmap_prot2.c: Likewise.
9814         * sunrpc/pmap_rmt.c: Likewise.
9815         * sunrpc/publickey.c: Likewise.
9816         * sunrpc/rpc_cmsg.c: Likewise.
9817         * sunrpc/rpc_common.c: Likewise.
9818         * sunrpc/rpc_dtable.c: Likewise.
9819         * sunrpc/rpc_prot.c: Likewise.
9820         * sunrpc/rpc_thread.c: Likewise.
9821         * sunrpc/rtime.c: Likewise.
9822         * sunrpc/svc.c: Likewise.
9823         * sunrpc/svc_auth.c: Likewise.
9824         * sunrpc/svc_authux.c: Likewise.
9825         * sunrpc/svc_raw.c: Likewise.
9826         * sunrpc/svc_run.c: Likewise.
9827         * sunrpc/svc_simple.c: Likewise.
9828         * sunrpc/svc_tcp.c: Likewise.
9829         * sunrpc/svc_udp.c: Likewise.
9830         * sunrpc/svc_unix.c: Likewise.
9831         * sunrpc/svcauth_des.c: Likewise.
9832         * sunrpc/xcrypt.c: Likewise.
9833         * sunrpc/xdr.c: Likewise.
9834         * sunrpc/xdr_array.c: Likewise.
9835         * sunrpc/xdr_float.c: Likewise.
9836         * sunrpc/xdr_intXX_t.c: Likewise.
9837         * sunrpc/xdr_mem.c: Likewise.
9838         * sunrpc/xdr_rec.c: Likewise.
9839         * sunrpc/xdr_ref.c: Likewise.
9840         * sunrpc/xdr_sizeof.c: Likewise.
9841         * sunrpc/xdr_stdio.c: Likewise.
9843 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
9845         [BZ #12650]
9846         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9847         * sysdeps/ia64/dl-tls.h: Likewise.
9848         * sysdeps/powerpc/dl-tls.h: Likewise.
9849         * sysdeps/s390/dl-tls.h: Likewise.
9850         * sysdeps/sh/dl-tls.h: Likewise.
9851         * sysdeps/sparc/dl-tls.h: Likewise.
9852         * sysdeps/x86_64/dl-tls.h: Likewise.
9853         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9855 2011-03-14  Andreas Schwab  <schwab@redhat.com>
9857         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9858         rpath element also skip the following colon.
9859         (expand_dynamic_string_token): Add is_path parameter and pass
9860         down to DL_DST_REQUIRED and _dl_dst_substitute.
9861         (decompose_rpath): Call expand_dynamic_string_token with
9862         non-zero is_path.  Ignore empty rpaths.
9863         (_dl_map_object_from_fd): Call expand_dynamic_string_token
9864         with zero is_path.
9866 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
9868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9869         Make cancelable.
9871 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
9873         [BZ #12655]
9874         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9875         Patch by Filipe David Manana <fdmanana@apache.org>.
9877 2011-04-07  Andreas Schwab  <schwab@redhat.com>
9879         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9880         Maintain aligned stack.
9881         (CHECK_RSP): Remove unused macro.
9883 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
9885         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9886         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9888 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
9890         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9892         * include/features.h: Mention __USE_XOPEN2K8 in comment.
9894 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
9896         [BZ #12518]
9897         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9898         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9899         * sysdeps/x86_64/memmove.c: New file.
9900         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9901         (memcpy): Renamed to ...
9902         (__new_memcpy): This.
9903         (memcpy): Provide GLIBC_2_14 memcpy.
9904         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9905         (memcpy): Provide GLIBC_2_2_5 memcpy.
9907 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
9909         [BZ #12631]
9910         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9912 2011-03-30  Andreas Schwab  <schwab@redhat.com>
9914         * misc/syncfs.c: New file.
9915         * misc/Makefile (routines): Add syncfs.
9916         * posix/unistd.h: Declare syncfs.
9917         * sysdeps/unix/syscalls.list: Add syncfs.
9919 2011-04-01  Andreas Schwab  <schwab@redhat.com>
9921         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9922         open_by_handle_at.
9923         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9924         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9925         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9926         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9927         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9928         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9929         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9931 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
9933         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9934         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9935         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9936         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9937         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9938         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9939         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9941         * io/Makefile: Compile fallocate.c, fallocate64.c, and
9942         sync_file_range.c with -fexceptions.
9943         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9944         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9945         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9946         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9947         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9948         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9949         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
9950         sync_file_range as cancellation point
9951         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
9952         now a wrapper around __call_sync_file_range with cancellation handling.
9953         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9954         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
9955         function name to __call_sync_file_range.
9956         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9957         Add call_sync_file_range.
9959 2011-04-01  Andreas Schwab  <schwab@redhat.com>
9961         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9962         bits/timex.h.
9964 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
9966         * iconv/iconv.h: Fix typo in comment.
9967         * io/fcntl.h: Likewise.
9968         * libio/stdio.h: Likewise.
9969         * posix/spawn.h: Likewise.
9970         * posix/unistd.h: Likewise.
9971         * stdlib/stdlib.h: Likewise.
9972         * time/time.h: Likewise.
9973         * wcsmbs/wchar.h: Likewise.
9975         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9976         open_by_handle): Add.
9977         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9978         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
9979         Augment a few comments.
9980         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9981         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9982         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9983         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9984         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9985         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9986         open_by_handle.
9988         * io/fcntl.h (AT_EMPTY_PATH): Define.
9990 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
9992         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9993         * sysdeps/unix/sysv/linux/bits/time.h: New file.
9994         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9995         to...
9996         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
9997         * Versions.def: Add GLIBC_2.14.
9998         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9999         Export.
10001 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
10003         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
10004         round counter.
10005         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10007 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
10009         [BZ #12597]
10010         * string/test-strncmp.c (do_page_test): New function.
10011         (check2): Likewise.
10012         (test_main): Call check2.
10013         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
10015 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
10017         [BZ #12587]
10018         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
10019         Handle cache information in CPU leaf 4.
10020         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10022 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
10024         [BZ #12583]
10025         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
10026         character representation.
10027         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
10029 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
10031         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
10032         END(__isnan) to END(__isnanf) to match function entry point/label
10033         EALIGN(__isnanf,...).
10035 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
10037         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
10039 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
10041         [BZ #12510]
10042         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
10043         copy from the symbol referenced in the relocation to initialize the
10044         used variable.
10045         Patch by Piotr Bury <pbury@goahead.com>.
10046         * elf/Makefile: Add rules to build and tst-unique3.
10047         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
10048         * elf/tst-unique3.cc: New file.
10049         * elf/tst-unique3.h: New file.
10050         * elf/tst-unique3lib.cc: New file.
10051         * elf/tst-unique3lib2.cc: New file.
10053         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
10055 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
10057         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
10058         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
10059         to _start.
10061 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
10063         * elf/dl-load.c (_dl_map_object): If we are looking for the first
10064         to-be-loaded object along a path to loader is ld.so.
10066 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
10067             Ulrich Drepper  <drepper@gmail.com>
10069         * sysdeps/x86_64/memset.S: After aligning destination, code
10070         branches to different locations depending on the value of
10071         misalignment, when multiarch is enabled. Fix this.
10073 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
10075         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
10076         Set _x86_64_preferred_memory_instruction for AMD processsors.
10077         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10078         Set bit_Prefer_SSE_for_memop for AMD processors.
10080 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
10082         * libio/fmemopen.c (fmemopen): Optimize a bit.
10084 2011-03-03  Andreas Schwab  <schwab@redhat.com>
10086         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
10088 2011-03-03  Roland McGrath  <roland@redhat.com>
10090         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
10092 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
10094         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
10095         __bzero_ultra1 instead of __memset_ultra1.
10097 2011-02-23  Andreas Schwab  <schwab@redhat.com>
10098             Ulrich Drepper  <drepper@gmail.com>
10100         [BZ #12509]
10101         * include/link.h (struct link_map): Add l_orig_initfini.
10102         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
10103         returning unsuccessfully.
10104         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
10105         close of a file loaded at startup, restore the original l_initfini
10106         list.
10107         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
10108         list, store the pointer.
10109         * elf/Makefile ($(objpfx)noload-mem): New rule.
10110         (noload-ENV): Define.
10111         (tests): Add $(objpfx)noload-mem.
10112         * elf/noload.c: Include <memcheck.h>.
10113         (main): Call mtrace.  Close all opened handles.
10115 2011-02-17  Andreas Schwab  <schwab@redhat.com>
10117         [BZ #12454]
10118         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
10119         dependencies are missing.
10121 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10123         Fix __if_freereq crash: Unlike the generic version which uses free,
10124         Hurd needs munmap.
10125         * sysdeps/mach/hurd/ifreq.h: New file.
10127 2011-01-27  Petr Baudis  <pasky@suse.cz>
10128             Ulrich Drepper  <drepper@gmail.com>
10130         [BZ 12445]#
10131         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
10132         to extend_alloca().
10133         * stdio-common/bug23.c: New file.
10134         * stdio-common/Makefile (tests): Add bug23.
10136 2010-09-28  Andreas Schwab  <schwab@redhat.com>
10137             Ulrich Drepper  <drepper@gmail.com>
10139         [BZ #12489]
10140         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
10141         before performing relro protection.  At old place add assertion
10142         to make sure nothing changed.
10144 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
10145             Glauber de Oliveira Costa  <glommer@gmail.com>
10147         * elf/elf.h: Add new ARM TLS relocs.
10149 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
10151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10152         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
10153         cast from r3.
10154         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
10155         'tests' variable.
10156         * sysdeps/wordsize-64/tst-writev.c: New file.
10158 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
10160         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
10161         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
10162         insns in _dl_start to prevent a TOC reference before relocs are
10163         resolved.
10165 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
10167         [BZ #12469]
10168         * Makeconfig: Remove RANLIB definition.
10169         * Makerules: Don't use RANLIB.
10170         * aclocal.m4: Remove ranlib test.
10171         * configure.in: No need to check for ranlib.
10172         * elf/rtld-Rules: Don't use RANLIB.
10174 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10176         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
10177         protection macro.
10178         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
10179         inclusion protection macro.
10181         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
10182         SIGRTMIN and SIGRTMAX and print information in that case only when
10183         SIGRTMIN is defined.
10185 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
10187         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
10188         arginfo fn returning -1.
10190         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
10191         and thousands string is zero terminated.
10193 2011-02-03  Andreas Schwab  <schwab@redhat.com>
10195         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
10196         sysdeps/unix/sysv/linux/bits/socket.h.
10198 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10200         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
10201         (__CPU_COUNT): Remove old macros.
10202         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
10203         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
10204         (__CPU_ALLOC, __CPU_FREE): Add macros.
10205         (__sched_cpualloc, __sched_cpufree): Add declarations.
10207 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
10209         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
10210         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
10211         * nscd/aicache.c (addhstaiX): Return timeout of added value.
10212         (readdhstai): Return value of addhstaiX call.
10213         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
10214         (addgrbyX): Return value returned by cache_addgr.
10215         (readdgrbyname): Return value returned by addgrbyX.
10216         (readdgrbygid): Likewise.
10217         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
10218         (addpwbyX): Return value returned by cache_addpw.
10219         (readdpwbyname): Return value returned by addhstbyX.
10220         (readdpwbyuid): Likewise.
10221         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
10222         (addservbyX): Return value returned by cache_addserv.
10223         (readdservbyname): Return value returned by addservbyX:
10224         (readdservbyport): Likewise.
10225         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
10226         (addhstbyX): Return value returned by cache_addhst.
10227         (readdhstbyname): Return value returned by addhstbyX.
10228         (readdhstbyaddr): Likewise.
10229         (readdhstbynamev6): Likewise.
10230         (readdhstbyaddrv6): Likewise.
10231         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
10232         (readdinitgroups): Return value returned by addinitgroupsX.
10233         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
10234         (prune_cache): Keep track of timeout value of re-added entries.
10235         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
10236         * nscd/nscd.h: Adjust prototypes of readd* functions.
10238 2011-02-04  Roland McGrath  <roland@redhat.com>
10240         * nis/nis_server.c (nis_servstate): Use the right name for 0.
10241         (nis_stats): Likewise.
10242         * nis/nis_modify.c (nis_modify): Likewise.
10243         * nis/nis_remove.c (nis_remove): Likewise.
10244         * nis/nis_add.c (nis_add): Likewise.
10246         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
10248         * posix/fnmatch_loop.c: Add some consts.
10250         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
10252 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
10254         [BZ #12460]
10255         * config.make.in (config-cflags-novzeroupper): Define.
10256         * configure.in: Substitute libc_cv_cc_novzeroupper.
10257         * elf/Makefile (AVX-CFLAGS): Define.
10258         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
10259         (CFLAGS-tst-auditmod4a.c): Likewise.
10260         (CFLAGS-tst-auditmod4b.c): Likewise.
10261         (CFLAGS-tst-auditmod6b.c): Likewise.
10262         (CFLAGS-tst-auditmod6c.c): Likewise.
10263         (CFLAGS-tst-auditmod7b.c): Likewise.
10264         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
10266 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
10268         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
10269         function to the callback.
10270         Patch partly by Jiri Olsa <jolsa@redhat.com>.
10272 2011-02-02  Andreas Schwab  <schwab@redhat.com>
10274         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
10275         of errno.
10277 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
10279         [BZ #11724]
10280         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
10281         of constructors.
10282         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
10283         of destructors.
10284         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
10286         [BZ #11724]
10287         * elf/Makefile: Add rules to build and run new test.
10288         * elf/tst-initorder.c: New file.
10289         * elf/tst-initorder.exp: New file.
10290         * elf/tst-initordera1.c: New file.
10291         * elf/tst-initordera2.c: New file.
10292         * elf/tst-initordera3.c: New file.
10293         * elf/tst-initordera4.c: New file.
10294         * elf/tst-initorderb1.c: New file.
10295         * elf/tst-initorderb2.c: New file.
10296         * elf/tst-order-a1.c: New file.
10297         * elf/tst-order-a2.c: New file.
10298         * elf/tst-order-a3.c: New file.
10299         * elf/tst-order-a4.c: New file.
10300         * elf/tst-order-b1.c: New file.
10301         * elf/tst-order-b2.c: New file.
10302         * elf/tst-order-main.c: New file.
10303         New test case by George Gensure <werkt0@gmail.com>.
10305 2010-10-01  Andreas Schwab  <schwab@redhat.com>
10307         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10308         decoding ACE if AI_CANONIDN.
10310 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
10312         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
10314 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
10316         * version.h (RELEASE): Bump for 2.13 release.
10317         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
10319         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
10321         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
10322         MADV_NOHUGEPAGE.
10323         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
10324         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10325         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10326         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10327         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10328         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10330         * posix/getconf.c: Update copyright year.
10331         * catgets/gencat.c: Likewise.
10332         * csu/version.c: Likewise.
10333         * debug/catchsegv.sh: Likewise.
10334         * debug/xtrace.sh: Likewise.
10335         * elf/ldconfig.c: Likewise.
10336         * elf/ldd.bash.in: Likewise.
10337         * elf/sprof.c (print_version): Likewise.
10338         * iconv/iconv_prog.c: Likewise.
10339         * iconv/iconvconfig.c: Likewise.
10340         * locale/programs/locale.c: Likewise.
10341         * locale/programs/localedef.c: Likewise.
10342         * malloc/memusage.sh: Likewise.
10343         * malloc/mtrace.pl: Likewise.
10344         * nscd/nscd.c (print_version): Likewise.
10345         * nss/getent.c: Likewise.
10347         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
10348         PF_CAIF, and PF_ALG.
10349         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10351 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
10353         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
10354         (modules-names): Use them.
10355         (ifunc-test-modules, ifunc-pie-tests): Define.
10356         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
10357         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
10358         (test-extras): Likewise.
10359         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
10360         $(compile-command.c).
10361         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
10362         (all-built-dso): Define.
10363         (check-textrel.out, check-execstack.out): Depend on it.
10365         * configure.in: Don't override --enable-multi-arch.
10367 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
10369         [BZ #6812]
10370         * nscd/hstcache.c (tryagain): Define.
10371         (cache_addhst): Return tryagain not notfound for temporary errors.
10372         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
10373         failed.
10375 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
10377         [BZ #10563]
10378         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
10379         to make the syscall.
10380         * sysdeps/unix/sysv/linux/setgroups.c: New file.
10382         [BZ #12378]
10383         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
10384         and fall back to matching as normal character if the string ends before
10385         the matching ']' is found.  This is what POSIX requires.
10386         * posix/testfnm.c: Adjust test result.
10387         * posix/globtest.sh: Adjust test result.  Add new test.
10388         * posix/tst-fnmatch.input: Likewise.
10389         * posix/tst-fnmatch2.c: Add new test.
10391 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
10393         * elf/Makefile (check-execstack): Revert last change.  Depend on
10394         check-execstack.h.
10395         (check-execstack.h): New target.
10396         (generated): Add check-execstack.h.
10397         * elf/check-execstack.c: Include "check-execstack.h".
10398         (main): Revert last change.
10399         (handle_file): Return zero if GNU_STACK is absent and
10400         DEFAULT_STACK_PERMS doesn't include PF_X.
10402 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
10404         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
10405         in child fails because the descriptor is already closed.
10406         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
10407         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
10408         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
10410         [BZ #12397]
10411         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
10412         syscall.
10414         [BZ #10484]
10415         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
10416         temporary buffer used to handle multi lookups locally.
10417         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
10419 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
10421         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
10422         loader is ld.so.
10424 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
10426         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
10427         alignment for SSE2.
10429 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
10431         [BZ #12394]
10432         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
10433         characters.  When rounding increased number of integer digits recompute
10434         number of groups.
10435         * stdio-common/tst-grouping.c: New file.
10436         * stdio-common/Makefile: Add rules to build and run tst-grouping.
10438 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
10440         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
10441         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
10443         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
10444         void.
10445         * bits/select.h: Likewise.
10447 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
10449         * po/ja.po: Update from translation team.
10451 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
10453         [BZ #11155]
10454         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
10455         implementation just like for lxstat, fxstatat, et al.
10457 2010-12-27  Jim Meyering  <meyering@redhat.com>
10459         [BZ #12348]
10460         * posix/regexec.c (build_trtable): Return failure indication upon
10461         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
10463 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
10465         [BZ #12201]
10466         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
10467         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
10468         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
10469         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
10471         [BZ #12207]
10472         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
10474         [BZ #12204]
10475         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
10476         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
10478 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
10480         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
10481         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
10482         script has SORT_BY_INIT_PRIORITY.
10483         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
10484         NO_CTORS_DTORS_SECTIONS is defined.
10485         * elf/soinit.c: Likewise.
10486         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
10487         NO_CTORS_DTORS_SECTIONS is defined.
10488         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
10489         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
10490         * sysdeps/sh/init-first.c: Likewise.
10491         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10493 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
10495         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
10496         always use the slow path.
10498 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
10500         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
10501         similar rule which adds the sysdep directories to the header search in
10502         order to pick up the correct platform stackinfo.h.
10503         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
10504         perform test if it is, otherwise return successfully without testing.
10505         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
10506         DEFAULT_STACK_PERMS define in stackinfo.h.
10507         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
10508         defined in stackinfo.h.
10509         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
10510         DEFAULT_STACK_PERMS defined in stackinfo.h.
10511         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
10512         * sysdeps/ia64/stackinfo.h: Likewise.
10513         * sysdeps/s390/stackinfo.h: Likewise.
10514         * sysdeps/sh/stackinfo.h: Likewise.
10515         * sysdeps/sparc/stackinfo.h: Likewise.
10516         * sysdeps/x86_64/stackinfo.h: Likewise.
10517         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
10518         PF_X for powerpc64.  Retain PF_X for powerpc32.
10520 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
10522         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
10523         accurately.
10524         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
10525         GETDENTS_64BIT_ALIGNED.
10527 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
10529         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
10531 2010-12-10  Andreas Schwab  <schwab@redhat.com>
10533         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
10534         _GNU_SOURCE.
10536         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
10537         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
10538         Remove __restrict.
10539         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
10540         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
10542 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
10544         [BZ #11655]
10545         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
10546         are initialized.
10548 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
10550         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
10552 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
10554         * po/it.po: Update from translation team.
10556 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
10558         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
10559         unused codes.
10561 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
10563         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
10565 2010-11-24  Andreas Schwab  <schwab@redhat.com>
10567         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
10568         specially.
10569         (gaih_getanswer_slice): Likewise.
10571 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
10573         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
10575 2010-05-31  Petr Baudis  <pasky@suse.cz>
10577         [BZ #11149]
10578         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
10579         silently even in the chroot mode.
10581 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
10583         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
10584         last patch a bit.  Pretty printing
10586 2010-05-31  Petr Baudis <pasky@suse.cz>
10588         [BZ #10085]
10589         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
10590         initialization of skip_initgroups_dyn.
10592 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
10594         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
10595         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10597 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
10599         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
10601 2010-11-11  Andreas Schwab  <schwab@redhat.com>
10603         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
10604         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
10605         (tst-fnmatch-ENV): Set MALLOC_TRACE.
10606         ($(objpfx)tst-fnmatch-mem): New rule.
10607         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
10608         * posix/tst-fnmatch.c (main): Call mtrace.
10610 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
10612         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10613         Support Intel processor model 6 and model 0x2c.
10615 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
10617         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
10618           signed comparison.
10620 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
10622         [BZ #12205]
10623         * string/test-strncasecmp.c (check_result): New function.
10624         (do_one_test): Use it.
10625         (check1): New function.
10626         (test_main): Use it.
10627         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
10628         Support strcasecmp and strncasecmp.
10630 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
10632         [BZ #12194]
10633         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
10634         * sysdeps/x86_64/bits/byteswap.h: Likewise.
10636 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
10638         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
10639         IFUNC support.
10640         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10641         memset-x86-64.
10642         * sysdeps/x86_64/multiarch/bzero.S: New file.
10643         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
10644         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
10645         * sysdeps/x86_64/multiarch/memset.S: New file.
10646         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
10647         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10648         Set bit_Prefer_SSE_for_memop for Intel processors.
10649         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
10650         Define.
10651         (index_Prefer_SSE_for_memop): Define.
10652         (HAS_PREFER_SSE_FOR_MEMOP): Define.
10654 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
10656         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
10657         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
10659 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
10661         [BZ #12191]
10662         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10663         (__x86_64_raw_data_cache_size_half): Likewise.
10664         (__x86_64_raw_shared_cache_size): Likewise.
10665         (__x86_64_raw_shared_cache_size_half): Likewise.
10667         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10668         (__x86_64_raw_data_cache_size_half): Likewise.
10669         (__x86_64_raw_shared_cache_size): Likewise.
10670         (__x86_64_raw_shared_cache_size_half): Likewise.
10671         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
10672         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
10673         and __x86_64_raw_shared_cache_size_half.  Round
10674         __x86_64_data_cache_size_half, __x86_64_data_cache_size
10675         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
10676         to multiple of 256 bytes.
10678 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
10680         [BZ #12167]
10681         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
10682         of inacessible symlinks.  Verify result of symlink before returning it.
10683         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10684         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
10686 2010-10-28  Erich Ritz  <erichritz@gmail.com>
10688         * math/math.h (isinf): Fix typo in comment.
10690 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
10692         * po/da.po: Update from translation team.
10694 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
10696         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
10697         is added to the list.
10699 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10700             Ulrich Drepper  <drepper@gmail.com>
10702         * elf/dl-object.c (_dl_new_object): Don't append the new object to
10703         the global list here.  Move code to...
10704         (_dl_add_to_namespace_list): ...here.  New function.
10705         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
10706         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
10707         * elf/dl-load.c (lose): Don't remove the element from the list.
10708         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
10709         (_dl_map_object): Likewise.
10711 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
10713         [BZ #12159]
10714         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
10715         into all bytes of SSE register.
10716         Patch by Richard Li <richardpku@gmail.com>.
10718 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
10720         [BZ #12140]
10721         * malloc/malloc.c (_int_free): Fill correct number of bytes when
10722         perturbing.
10724 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
10726         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
10727         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
10728         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
10729         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
10731         submachine.
10732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10734 2010-10-22  Andreas Schwab  <schwab@redhat.com>
10736         * include/dlfcn.h (__RTLD_SECURE): Define.
10737         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
10738         mode & __RTLD_SECURE instead.
10739         (open_path): Rename preloaded parameter to secure.
10740         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10741         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10742         * elf/dl-deps.c (openaux): Likewise.
10743         * elf/rtld.c (struct map_args): Remove is_preloaded.
10744         (map_doit): Don't use it.
10745         (dl_main): Likewise.
10746         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10747         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10749 2010-09-09  Andreas Schwab  <schwab@redhat.com>
10751         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10752         (sysd-rules-targets): Remove duplicates.
10753         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10754         rtld-%.$o dependency.
10756 2010-10-18  Andreas Schwab  <schwab@redhat.com>
10758         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10759         _dl_map_object do it.
10761 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
10763         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10764         fast fma builtins, define the macros in the C99 standard.
10765         (FP_FAST_FMAF): Likewise.
10766         (FP_FAST_FMAL): Likewise.
10767         * sysdeps/x86_64/bits/mathdef.h: Likewise.
10769         * bits/mathdef.h: Update copyright year.
10770         * sysdeps/powerpc/bits/mathdef.h: Likewise.
10772 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
10774         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10775         builtins, define the macros in the C99 standard.
10776         (FP_FAST_FMAF): Likewise.
10777         (FP_FAST_FMAL): Likewise.
10778         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10779         multiply/add.
10780         (FP_FAST_FMAF): Likewise.
10782 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
10784         [BZ #3268]
10785         * math/libm-test.inc (fma_test): Some new testcases.
10786         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10787         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10788         y and infinite z.  Do multiplication by C already in long double.
10789         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10790         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10791         y and infinite z.  Do bitwise or of inexact bit into u.d.
10792         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10793         * sysdeps/i386/fpu/s_fmaf.S: Removed.
10794         * sysdeps/i386/fpu/s_fma.S: Removed.
10795         * sysdeps/i386/fpu/s_fmal.S: Removed.
10797 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
10799         [BZ #3268]
10800         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10801         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10802         computation is not scheduled after fetestexcept.  Fix value
10803         of minimum denormal long double.
10805 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
10807         [BZ #3268]
10808         * math/libm-test.inc (fma_test): Add some more tests.
10809         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10810         correctly.
10812 2010-10-15  Andreas Schwab  <schwab@redhat.com>
10814         * scripts/data/localplt-s390-linux-gnu.data: New file.
10815         * scripts/data/localplt-s390x-linux-gnu.data: New file.
10817 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
10819         [BZ #3268]
10820         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10821         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10822         instead of dbl-64.
10823         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10824         inlines.
10825         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10826         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10827         if one of x and y is very large and the other is subnormal.
10828         * sysdeps/s390/fpu/s_fmaf.c: New file.
10829         * sysdeps/s390/fpu/s_fma.c: New file.
10830         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10831         * sysdeps/powerpc/fpu/s_fma.S: New file.
10832         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10833         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10834         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10836 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
10838         [BZ #3268]
10839         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10840         fma tests.
10841         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10842         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10843         * sysdeps/i386/i686/multiarch/s_fma.c: Include
10844         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10845         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10846         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10847         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10849 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
10851         [BZ #12078]
10852         * posix/regcomp.c (parse_branch): One more memory leak plugged.
10853         * posix/bug-regex31.input: Add test case.
10855 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
10857         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10858         * posix/bug-regex31.input: New file.
10860         [BZ #12078]
10861         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10862         (parse_sub_exp): Fix last change, use postorder.
10864         * posix/bug-regex31.c: New file.
10865         * posix/Makefile: Add rules to build and run bug-regex31.
10867         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10869         [BZ #12078]
10870         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10872         [BZ #12108]
10873         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10874         to have entries in sys_siglist.
10876         [BZ #12093]
10877         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10878         be NULL.
10880 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
10882         [BZ #3268]
10883         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10884         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10885         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10886         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10887         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10888         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10889         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10890         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10891         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10892         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10893         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10894         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10895         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10896         * math/ftestexcept.c (fetestexcept): Likewise.
10897         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10898         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10899         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10900         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10901         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10902         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10903         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10905 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
10907         [BZ #12107]
10908         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10909         newline.
10911 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
10913         * string/bug-strstr1.c: New file.
10914         * string/Makefile: Add rules to build and run bug-strstr1.
10916 2010-10-05  Eric Blake  <eblake@redhat.com>
10918         [BZ #12092]
10919         * string/str-two-way.h (two_way_long_needle): Always clear memory
10920         when skipping input due to the shift table.
10922 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
10924         [BZ #12005]
10925         * malloc/mcheck.c: Handle large requests.
10927         [BZ #12077]
10928         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10929         for strncmp and strncasecmp.
10930         * string/stratcliff.c: Add tests for strcmp and strncmp.
10931         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10933 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
10935         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10936         __set_fpscr.
10938 2010-09-30  Andreas Jaeger  <aj@suse.de>
10940         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10941         (CGROUP_SUPER_MAGIC): Define.
10942         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10943         Handle btrfs and cgroup file systems.
10944         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10945         Likewise.
10947 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
10949         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10950         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10952 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10954         [BZ #12067]
10955         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10956         trying to locate the ELF header.
10958 2010-09-27  Andreas Schwab  <schwab@redhat.com>
10960         [BZ #11611]
10961         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10962         Mask out sign-bit copies when constructing f_fsid.
10964 2010-09-24  Petr Baudis <pasky@suse.cz>
10966         * debug/stack_chk_fail_local.c: Add missing licence exception.
10967         * debug/warning-nop.c: Likewise.
10969 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
10971         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10972         implementing getdents64 using getdents syscall, set d_type if
10973         __ASSUME_GETDENTS32_D_TYPE.
10975 2010-09-16  Andreas Schwab  <schwab@redhat.com>
10977         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10978         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10980 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
10982         [BZ #12037]
10983         * posix/unistd.h: Undo change of feature selection for ftruncate from
10984         2010-01-11.
10986 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
10988         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
10989         detection.
10991 2010-09-20  Andreas Schwab  <schwab@redhat.com>
10993         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10994         fanotify_mark.
10995         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10997 2010-09-14  Andreas Schwab  <schwab@redhat.com>
10999         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
11000         variables after CHECK_SP call.
11001         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
11003 2010-09-13  Andreas Schwab  <schwab@redhat.com>
11004             Ulrich Drepper  <drepper@redhat.com>
11006         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
11007         re-relocationg ld.so.
11008         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
11009         _dl_init_paths call.
11010         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
11011         here anymore.
11013 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
11015         * resolv/res_init.c (__res_vinit): Count the default server we added.
11017 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
11018             Ulrich Drepper  <drepper@redhat.com>
11020         [BZ #11968]
11021         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11022         (____longjmp_chk): Use %ebx for saving value across system call.
11023         Add unwind info.
11025 2010-09-06  Andreas Schwab  <schwab@redhat.com>
11027         * manual/Makefile: Don't mix pattern rules with normal rules.
11029 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
11031         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
11032         operation.
11033         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
11034         * libio/iofopncook.c (_IO_cookie_init): Likewise.
11035         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
11036         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11037         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11038         Likewise.
11040 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
11042         [BZ #11979]
11043         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
11044         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
11046 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
11048         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
11049         * sysdeps/x86_64/addmul_1.S: Likewise.
11050         * sysdeps/x86_64/lshift.S: Likewise.
11051         * sysdeps/x86_64/mul_1.S: Likewise.
11052         * sysdeps/x86_64/rshift.S: Likewise.
11053         * sysdeps/x86_64/sub_n.S: Likewise.
11054         * sysdeps/x86_64/submul_1.S: Likewise.
11056 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11058         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
11059         Define __sched_param instead of SCHED_* and sched_param when
11060         <bits/sched.h> is included with __need_schedparam defined.
11061         * bits/sched.h [__need_schedparam]
11062         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
11063         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
11064         (__defined_schedparam): Define to 1.
11065         (__sched_param): New structure, identical to sched_param.
11066         (__need_schedparam): Undefine.
11068 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
11070         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
11071         (epoll_create1): Declare.
11073         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
11075 2010-08-31  Andreas Schwab  <schwab@redhat.com>
11077         [BZ #7066]
11078         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
11079         shifting retval into place.
11081 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
11083         * nis/rpcsvc/nis.h: Update copyright notice.
11084         * nis/rpcsvc/nis.x: Likewise.
11085         * nis/rpcsvc/nis_callback.h: Likewise.
11086         * nis/rpcsvc/nis_callback.x: Likewise.
11087         * nis/rpcsvc/nis_object.x: Likewise.
11088         * nis/rpcsvc/nis_tags.h: Likewise.
11089         * nis/rpcsvc/yp.h: Likewise.
11090         * nis/rpcsvc/yp.x: Likewise.
11091         * nis/rpcsvc/ypupd.h: Likewise.
11092         * nis/yp_xdr.c: Likewise.
11093         * nis/ypupdate_xdr.c: Likewise.
11095         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
11096         mainly the body of pmap_getport.  Add parameters to specify timeouts.
11097         (pmap_getport): Use __libc_rpc_getport.
11098         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
11099         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
11100         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
11102 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
11104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
11105         fanotify_mark.
11107 2010-08-27  Roland McGrath  <roland@redhat.com>
11109         * sysdeps/i386/i686/multiarch/Makefile
11110         (CFLAGS-varshift.c): New variable.
11112 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
11114         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
11115         * sysdeps/i386/i686/multiarch/varshift.c: New file.
11117         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
11119         * sysdeps/x86_64/strlen.S: Minimal code improvement.
11121 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
11123         * sysdeps/x86_64/strlen.S: Unroll the loop.
11124         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11125         strlen-sse2 strlen-sse2-bsf.
11126         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
11127         __strlen_no_bsf if bit_Slow_BSF is set.
11128         (__strlen_sse42): Removed.
11129         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
11130         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
11132 2010-08-25  Roland McGrath  <roland@redhat.com>
11134         * sysdeps/x86_64/multiarch/varshift.S: File removed.
11135         * sysdeps/x86_64/multiarch/varshift.c: New file.
11136         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
11137         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
11138         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
11139         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11141 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
11143         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11144         strlen-sse2 strlen-sse2-bsf.
11145         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
11146         __strlen_sse2_bsf if bit_Slow_BSF is unset.
11147         (__strlen_sse2): Removed.
11148         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
11149         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
11150         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11151         bit_Slow_BSF for Atom.
11152         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
11153         (index_Slow_BSF): Define.
11154         (HAS_SLOW_BSF): Define.
11156 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
11158         [BZ #10851]
11159         * resolv/res_init.c (__res_vinit): When no server address at all
11160         is given default to loopback.
11162 2010-08-24  Roland McGrath  <roland@redhat.com>
11164         * configure.in: Remove config-name.h generation.
11165         * configure: Regenerated.
11166         * config-name.in: File removed.
11167         * scripts/config-uname.sh: New file.
11168         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
11169         ($(objdir)config-name.h): New target.
11171         * sunrpc/rpc_parse.h: Avoid nested comment.
11173 2010-08-24  Richard Henderson  <rth@redhat.com>
11174             Ulrich Drepper  <drepper@redhat.com>
11175             H.J. Lu  <hongjiu.lu@intel.com>
11177         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
11178         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
11179         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
11180         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
11181         _mm_alignr_epi8 with _mm_loadu_si128.
11182         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
11183         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
11184         (__m128i_shift_right): Removed.
11185         * sysdeps/i386/i686/multiarch/varshift.h: New file.
11186         * sysdeps/i386/i686/multiarch/varshift.S: New file.
11187         * sysdeps/x86_64/multiarch/varshift.h: New file.
11188         * sysdeps/x86_64/multiarch/varshift.S: New file.
11190 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
11192         * configure.in: Move assembler checks to before sysdep dir checking.
11194 2010-08-20  Petr Baudis  <pasky@suse.cz>
11196         * LICENSES: Sync the sunrpc license.
11198 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
11200         * sunrpc/auth_des.c: Update copyright notice once again.
11201         * sunrpc/auth_none.c: Likewise.
11202         * sunrpc/auth_unix.c: Likewise.
11203         * sunrpc/authdes_prot.c: Likewise.
11204         * sunrpc/authuxprot.c: Likewise.
11205         * sunrpc/bindrsvprt.c: Likewise.
11206         * sunrpc/clnt_gen.c: Likewise.
11207         * sunrpc/clnt_perr.c: Likewise.
11208         * sunrpc/clnt_raw.c: Likewise.
11209         * sunrpc/clnt_simp.c: Likewise.
11210         * sunrpc/clnt_tcp.c: Likewise.
11211         * sunrpc/clnt_udp.c: Likewise.
11212         * sunrpc/clnt_unix.c: Likewise.
11213         * sunrpc/des_crypt.c: Likewise.
11214         * sunrpc/des_soft.c: Likewise.
11215         * sunrpc/get_myaddr.c: Likewise.
11216         * sunrpc/getrpcport.c: Likewise.
11217         * sunrpc/key_call.c: Likewise.
11218         * sunrpc/key_prot.c: Likewise.
11219         * sunrpc/openchild.c: Likewise.
11220         * sunrpc/pm_getmaps.c: Likewise.
11221         * sunrpc/pm_getport.c: Likewise.
11222         * sunrpc/pmap_clnt.c: Likewise.
11223         * sunrpc/pmap_prot.c: Likewise.
11224         * sunrpc/pmap_prot2.c: Likewise.
11225         * sunrpc/pmap_rmt.c: Likewise.
11226         * sunrpc/rpc/auth.h: Likewise.
11227         * sunrpc/rpc/auth_unix.h: Likewise.
11228         * sunrpc/rpc/clnt.h: Likewise.
11229         * sunrpc/rpc/des_crypt.h: Likewise.
11230         * sunrpc/rpc/key_prot.h: Likewise.
11231         * sunrpc/rpc/netdb.h: Likewise.
11232         * sunrpc/rpc/pmap_clnt.h: Likewise.
11233         * sunrpc/rpc/pmap_prot.h: Likewise.
11234         * sunrpc/rpc/pmap_rmt.h: Likewise.
11235         * sunrpc/rpc/rpc.h: Likewise.
11236         * sunrpc/rpc/rpc_des.h: Likewise.
11237         * sunrpc/rpc/rpc_msg.h: Likewise.
11238         * sunrpc/rpc/svc.h: Likewise.
11239         * sunrpc/rpc/svc_auth.h: Likewise.
11240         * sunrpc/rpc/types.h: Likewise.
11241         * sunrpc/rpc/xdr.h: Likewise.
11242         * sunrpc/rpc_clntout.c: Likewise.
11243         * sunrpc/rpc_cmsg.c: Likewise.
11244         * sunrpc/rpc_common.c: Likewise.
11245         * sunrpc/rpc_cout.c: Likewise.
11246         * sunrpc/rpc_dtable.c: Likewise.
11247         * sunrpc/rpc_hout.c: Likewise.
11248         * sunrpc/rpc_main.c: Likewise.
11249         * sunrpc/rpc_parse.c: Likewise.
11250         * sunrpc/rpc_parse.h: Likewise.
11251         * sunrpc/rpc_prot.c: Likewise.
11252         * sunrpc/rpc_sample.c: Likewise.
11253         * sunrpc/rpc_scan.c: Likewise.
11254         * sunrpc/rpc_scan.h: Likewise.
11255         * sunrpc/rpc_svcout.c: Likewise.
11256         * sunrpc/rpc_tblout.c: Likewise.
11257         * sunrpc/rpc_util.c: Likewise.
11258         * sunrpc/rpc_util.h: Likewise.
11259         * sunrpc/rpcinfo.c: Likewise.
11260         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
11261         * sunrpc/rpcsvc/key_prot.x: Likewise.
11262         * sunrpc/rpcsvc/klm_prot.x: Likewise.
11263         * sunrpc/rpcsvc/mount.x: Likewise.
11264         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
11265         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
11266         * sunrpc/rpcsvc/rex.x: Likewise.
11267         * sunrpc/rpcsvc/rstat.x: Likewise.
11268         * sunrpc/rpcsvc/rusers.x: Likewise.
11269         * sunrpc/rpcsvc/sm_inter.x: Likewise.
11270         * sunrpc/rpcsvc/spray.x: Likewise.
11271         * sunrpc/rpcsvc/yppasswd.x: Likewise.
11272         * sunrpc/rtime.c: Likewise.
11273         * sunrpc/svc.c: Likewise.
11274         * sunrpc/svc_auth.c: Likewise.
11275         * sunrpc/svc_authux.c: Likewise.
11276         * sunrpc/svc_raw.c: Likewise.
11277         * sunrpc/svc_run.c: Likewise.
11278         * sunrpc/svc_simple.c: Likewise.
11279         * sunrpc/svc_tcp.c: Likewise.
11280         * sunrpc/svc_udp.c: Likewise.
11281         * sunrpc/svc_unix.c: Likewise.
11282         * sunrpc/svcauth_des.c: Likewise.
11283         * sunrpc/xcrypt.c: Likewise.
11284         * sunrpc/xdr.c: Likewise.
11285         * sunrpc/xdr_array.c: Likewise.
11286         * sunrpc/xdr_float.c: Likewise.
11287         * sunrpc/xdr_mem.c: Likewise.
11288         * sunrpc/xdr_rec.c: Likewise.
11289         * sunrpc/xdr_ref.c: Likewise.
11290         * sunrpc/xdr_sizeof.c: Likewise.
11291         * sunrpc/xdr_stdio.c: Likewise.
11293         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
11294         handling.
11296 2010-08-19  Andreas Schwab  <schwab@redhat.com>
11298         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
11300 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
11302         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
11303         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
11304         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
11305         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
11306         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
11307         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
11308         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
11309         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
11310         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
11311         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
11312         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
11313         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
11314         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
11315         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
11317 2010-07-26  Anton Blanchard  <anton@samba.org>
11319         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
11320         * malloc/arena.c (heap_trim): Likewise.
11322 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
11324         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
11325         here.  Not...
11326         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
11327         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
11329 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
11331         * sysdeps/i386/elf/Makefile: New file.
11333 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
11335         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
11336         from fanotify_init.
11337         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
11338         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11340 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
11342         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
11343         of strncasecmp_l.
11344         * sysdeps/multiarch/strcmp.S: Likewise.
11346 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
11348         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11349         strncase_l-nonascii.
11350         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11351         Add strncase_l-ssse3.
11352         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
11353         * sysdeps/x86_64/strcmp.S: Likewise.
11354         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
11355         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
11356         * sysdeps/x86_64/strncase.S: New file.
11357         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
11358         * sysdeps/x86_64/strncase_l.S: New file.
11359         * string/Makefile (strop-tests): Add strncasecmp.
11360         * string/test-strncasecmp.c: New file.
11362         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
11363         warning.
11365         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
11366         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
11368 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
11370         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
11372 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
11374         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
11375         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11376         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11378 2010-05-01  Alan Modra  <amodra@gmail.com>
11380         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
11381         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
11382         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
11383         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
11384         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
11385         tidying.  Don't tail-call __sigjmp_save for static lib.
11386         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
11387         save location.
11388         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
11389         (CALL_MCOUNT): Add eh info, and nop after bl.
11390         (TAIL_CALL_SYSCALL_ERROR): New macro.
11391         (PSEUDO_RET): Use it.
11392         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11393         Correct save location of integer regs and cr.
11394         (_dl_profile_resolve): Correct cr save location.  Delete nops
11395         after bl when SHARED.  Reduce cfi size a little by better
11396         placement of cfi directives.
11397         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
11398         make a stack frame.  Instead use parm save area as a temp.
11399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
11400         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
11401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11402         Don't make a stack frame for parent, use parm save area.
11403         Increase child stack frame to 112 bytes.  Don't save unused reg,
11404         and adjust reg usage.  Set up cfi on error recovery and
11405         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
11406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11407         (__makecontext): Add dummy nop after jump to exit.
11408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
11409         Use correct parm save area and cr save, reduce stack frame.
11410         Correct cfi for possible PSEUDO_RET frame setup.
11411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
11412         Branch to local label emitted by PSEUDO_RET rather than
11413         __syscall_error.
11415 2010-08-12  Andreas Schwab  <schwab@redhat.com>
11417         [BZ #11904]
11418         * locale/programs/locale.c (print_assignment): New function.
11419         (show_locale_vars): Use it.
11421 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
11423         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
11424         field.
11425         (struct statfs64): Likewise.
11426         (_STATFS_F_FLAGS): Define.
11427         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
11428         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11429         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
11430         (ST_VALID): Define locally.
11431         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
11432         __statvfs_getflags, use the provided value.
11433         * sysdeps/unix/sysv/linux/kernel-features.h: Define
11434         __ASSUME_STATFS_F_FLAGS.
11436         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
11438         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
11439         Add sys/fanotify.h.
11440         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
11441         fanotify_mask for GLIBC_2.13.
11442         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
11443         fanotify_init and fanotify_mark.
11444         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11445         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
11447         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
11448         Add prlimit.
11449         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
11450         prlimit64 for GLIBC_2.13.
11451         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
11452         prlimit64.
11453         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
11454         syscall.
11455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11456         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11457         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
11458         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
11459         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
11460         add prlimit alias.
11461         * sysdeps/unix/sysv/linux/prlimit.c: New file.
11463         [BZ #11903]
11464         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
11465         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
11467         * nss/Makefile: Add rules to build and run tst-nss-test1.
11468         * shlib-versions: Add entry for libnss_test1.
11469         * nss/nss_test1.c: New file.
11470         * nss/tst-nss-test1.c: New file.
11472         * nss/nsswitch.c (__nss_database_custom): Define new variable.
11473         (__nss_configure_lookup): Set appropriate entry in
11474         __nss_configure_lookup to true.
11475         * nss/nsswitch.h: Define enum with indeces of databases in
11476         databases and __nss_database_custom arrays.  Declare
11477         __nss_database_custom.
11478         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
11479         to avoid using nscd when custom rules are installed.
11480         * nss/getXXbyYY_r.c: Likewise.
11481         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11483         * nss/nss_files/files-parse.c: Whitespace fixes.
11485 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
11487         [BZ #11883]
11488         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
11489         * posix/fnmatch_loop.c: Likewise.
11491 2010-07-17  Andi Kleen  <ak@linux.intel.com>
11493         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
11494         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
11495         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
11496         * Versions.def [GLIBC_2.13]: Add.
11498 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
11500         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11501         Also fail if tpwd after pwuid call is NULL.
11503 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11505         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
11506         when converting to ms.
11508 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11510         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
11511         EOPNOTSUPP errors with ENOTTY.
11512         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
11513         EOPNOTSUPP errors with ENOTTY.
11515 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
11517         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11518         Add strcasecmp_l-ssse3.
11519         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
11520         strcasecmp.
11521         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
11522         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
11523         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
11525 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
11527         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
11529         * string/Makefile (strop-tests): Add strcasecmp.
11530         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11531         strcasecmp_l-nonascii.
11532         (gen-as-const-headers): Add locale-defines.sym.
11533         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
11534         * sysdeps/x86_64/strcasecmp.S: New file.
11535         * sysdeps/x86_64/strcasecmp_l.S: New file.
11536         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
11537         * sysdeps/x86_64/locale-defines.sym: New file.
11538         * string/test-strcasecmp.c: New file.
11540         * string/test-strcasestr.c: Test both ends of the range of characters.
11541         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
11543 2010-07-29  Roland McGrath  <roland@redhat.com>
11545         [BZ #11856]
11546         * manual/locale.texi (Yes-or-No Questions): Fix example code.
11548 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
11550         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
11551         for ld.so.
11553 2010-07-27  Andreas Schwab  <schwab@redhat.com>
11555         * manual/memory.texi (Malloc Tunable Parameters): Document
11556         M_PERTURB.
11558 2010-07-26  Roland McGrath  <roland@redhat.com>
11560         [BZ #11840]
11561         * configure.in (-fgnu89-inline check): Set and substitute
11562         gnu89_inline, not libc_cv_gnu89_inline.
11563         * configure: Regenerated.
11564         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
11566 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
11568         * string/test-strnlen.c: New file.
11569         * string/Makefile (strop-tests): Add strnlen.
11570         * string/tester.c (test_strnlen): Add a few more test cases.
11571         * string/tst-strlen.c: Better error reporting.
11573         * sysdeps/x86_64/strnlen.S: New file.
11575 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
11577         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
11578         lower-latency instructions.
11580 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
11582         * string/test-strcasestr.c: New file.
11583         * string/test-strstr.c: New file.
11584         * string/Makefile (strop-tests): Add strstr and strcasestr.
11585         * string/str-two-way.h: Don't undefine MAX.
11586         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
11588 2010-07-21  Andreas Schwab  <schwab@redhat.com>
11590         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11591         strcasestr-nonascii.
11592         (CFLAGS-strcasestr-nonascii.c): Define.
11593         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
11594         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
11595         Remove unused attribute.
11597 2010-07-20  Roland McGrath  <roland@redhat.com>
11599         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
11600         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
11601         ld.so.cache was broken.  With it, there is no way to disable dsocaps
11602         like LD_HWCAP_MASK can disable hwcaps.
11604 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
11606         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
11608 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
11610         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
11611         call in strcasestr.
11612         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
11613         __strcasestr_sse42_nonascii.
11614         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
11615         strcasestr-nonascii.c.
11616         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
11618 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
11620         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
11621         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
11622         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
11623         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
11625 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
11627         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
11628         fcntl.
11630 2010-07-06  Andreas Schwab  <schwab@redhat.com>
11632         [BZ #11577]
11633         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
11634         dl_signal_cerror.
11636 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
11638         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
11639         _PC_PIPE_BUF using F_GETPIPE_SZ.
11641 2010-07-05  Roland McGrath  <roland@redhat.com>
11643         * manual/arith.texi (Rounding Functions): Fix rint description
11644         implicit in round description.
11646 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
11648         * elf/Makefile: Fix linking for a few tests to make recent linker
11649         happy.
11651 2010-06-30  Andreas Schwab  <schwab@redhat.com>
11653         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11654         $(common-objpfx)libc_nonshared.a.
11656 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
11658         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
11659         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
11660         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11661         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11662         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
11663         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
11664         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11665         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
11667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
11668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
11669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
11671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
11673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
11674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
11675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
11676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
11678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
11680         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
11681         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
11682         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
11683         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
11684         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
11685         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
11686         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
11687         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
11688         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
11689         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
11690         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
11691         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
11692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
11693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
11694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
11695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
11696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
11697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
11698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
11699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
11700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
11701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
11702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
11703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
11704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
11705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
11707 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
11709         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
11710         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
11711         * string/memmove.c (memmove): Renamed to ...
11712         (MEMMOVE): ...this.  Default to memmove.
11713         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
11714         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
11715         (END_CHK): Define.
11716         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11717         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
11718         mempcpy-ssse3-back memmove-ssse3-back.
11719         * sysdeps/x86_64/multiarch/bcopy.S: New file .
11720         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
11721         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
11722         * sysdeps/x86_64/multiarch/memcpy.S: New file.
11723         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
11724         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
11725         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
11726         * sysdeps/x86_64/multiarch/memmove.c: New file.
11727         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
11728         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
11729         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
11730         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
11731         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
11732         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
11733         Define.
11734         (index_Fast_Copy_Backward): Define.
11735         (HAS_ARCH_FEATURE): Define.
11736         (HAS_FAST_REP_STRING): Define.
11737         (HAS_FAST_COPY_BACKWARD): Define.
11739 2010-06-21  Andreas Schwab  <schwab@redhat.com>
11741         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11742         Restore proper fallback handling.
11744 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
11746         [BZ #11701]
11747         * posix/group_member.c (__group_member): Correct checking loop.
11749         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11750         OOM in getpwuid_r correctly.  Return error number when the caller
11751         should return, otherwise -1.
11752         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11753         call returning > 0 value.
11754         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11756 2010-06-07  Andreas Schwab  <schwab@redhat.com>
11758         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11759         libc_nonshared.a from targets in modules-names.
11761 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
11763         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11764         requires it.
11766 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
11768         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11769         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11770         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11771         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11773 2010-06-02  Andreas Schwab  <schwab@redhat.com>
11775         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11777 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
11779         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11780         and F_GETPIPE_SZ.
11781         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11782         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11783         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11784         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11785         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11786         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11788 2010-06-14  Roland McGrath  <roland@redhat.com>
11790         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11792 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
11794         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11795         __REDIRECT followed by __THROW.
11796         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11797         * posix/getopt.h (getopt): Likewise.
11799 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
11801         * hurd/lookup-at.c (__file_name_lookup_at): Accept
11802         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
11803         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11804         in AT_FLAGS.
11805         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11806         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11808 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
11810         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11812 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
11814         [BZ #11640]
11815         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11816         Properly check family and model.
11818 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
11820         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11822 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
11824         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11826 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
11828         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11829         symbol reference.
11831 2010-05-19  Andreas Schwab  <schwab@redhat.com>
11833         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11834         symbol reference.
11836 2010-05-21  Andreas Schwab  <schwab@redhat.com>
11838         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11839         and internal_recvmmsg.
11840         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11841         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11842         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11843         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11845         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11846         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11847         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11849 2010-05-20  Andreas Schwab  <schwab@redhat.com>
11851         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11853 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
11855         POWER7 optimizations.
11856         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11857         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11859 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
11861         * version.h: Update for 2.13 development version.
11863 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
11865         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11866         exceptions.  Return 0.
11868 2010-05-07  Roland McGrath  <roland@redhat.com>
11870         * elf/ldconfig.c (main): Add a const.
11872 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
11874         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11875         (args_options): Add no-idn option.
11876         (ahosts_keys_int): Add idn_flags to ai_flags.
11877         (parse_option): Handle 'i' option to clear idn_flags.
11879         * malloc/malloc.c (_int_free): Possible race in the most recently
11880         added check.  Only act on the data if no current modification
11881         happened.
11883 See ChangeLog.17 for earlier changes.