Make $(native-compile) run in source directory like other compilation commands.
[platform/upstream/glibc.git] / ChangeLog
1 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
2
3         * Makerules (native-compile): Do not change working directory for
4         build.  Use $(OUTPUT_OPTION) in command.
5         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
6
7 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8
9         [BZ #13886]
10         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
11         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
12         * math/libm-test.inc (floor_test): Add more tests.
13         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
14
15 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
16
17         * sysdeps/unix/getdents.c: Remove file.
18         * sysdeps/unix/sysv/getdents.c: Likewise.
19         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
20
21         * sysdeps/unix/syscalls.list (madvise): Add syscall from
22         sysdeps/unix/mman/syscalls.list.
23         (mmap): Likewise.
24         (mprotect): Likewise.
25         (msync): Likewise.
26         (munmap): Likewise.
27         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
28         * sysdeps/unix/mman/syscalls.list: Remove.
29         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
30
31         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
32         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
33         * configure: Regenerated.
34         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
35         $(libgcc_s_suffix).
36         * config.make.in (libgcc_s_suffix): Remove variable.
37
38 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
39
40         * sysdeps/unix/sysv/gethostname.c: Move to ...
41         * sysdeps/posix/gethostname.c: ... here.
42
43         * sysdeps/unix/execve.S: Remove file.
44
45         * sysdeps/unix/_exit.S: Remove file.
46
47 2012-04-23  Andreas Jaeger  <aj@suse.de>
48
49         [BZ #13739]
50         * manual/Makefile: Remove make dist support, there's no
51         need for a stand-alone documentation tar ball.
52         (TEXI2DVI): Define always, it's not in Makeconfig.
53         (dist): Removed.
54         (tar-it): Removed.
55         (edition): Removed.
56         (glibc-doc-$(edition).tar): Removed
57         (%.Z): Removed.
58         (%.gz): Removed.
59         (%.uu): Removed.
60         (ETAGS): Remove, it's in Makeconfig.
61         (move-if-change): Remove, it's in Makeconfig.
62
63 2013-04-23  Paul Eggert  <eggert@cs.ucla.edu>
64
65         [BZ #13970]
66         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
67         (strtod, strtof, strtold, strtol, strtoul, strtoq)
68         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
69         (strtod_l, strtof_l, strtold_l): Remove __wur.
70         It is not necessarily an error to ignore strtol's return value.
71         One can reliably look at the stored endptr to decide whether
72         the number had valid syntax.
73
74 2012-04-21  Andreas Jaeger  <aj@suse.de>
75
76         [BZ #13739]
77         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
78
79 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
80
81         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
82         * sysdeps/unix/sysv/Versions: Remove file.
83
84 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
85
86         [BZ #13927]
87         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
88
89 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
90
91         [BZ #7064]
92         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
93         version from __vm86.
94
95 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
96
97         * sysdeps/unix/common/lxstat.c: Remove file.
98         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
99
100         * sysdeps/unix/sysv/Makefile: Remove file.
101
102         * sysdeps/unix/sysv/direct.h: Remove file.
103
104         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
105         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
106         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
107         * sysdeps/unix/sysv/bits/signum.h: Likewise.
108         * sysdeps/unix/sysv/bits/stat.h: Likewise.
109         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
110         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
111
112         * sysdeps/unix/sysv/setrlimit.c: Remove file.
113
114         * sysdeps/unix/xmknod.c: Remove file.
115         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
116
117         * sysdeps/unix/sysv/settimeofday.c: Remove file.
118
119         * sysdeps/unix/sysv/i386/time.S: Remove file.
120
121         * sysdeps/unix/fxstat.c: Remove file.
122         * sysdeps/unix/xstat.c: Likewise.
123         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
124
125         * sysdeps/unix/sysv/sigaction.c: Remove file.
126
127         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
128         (sysdep_headers): Remove variable.
129         [termio.h not in sysdep_headers] (generated): Likewise.
130         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
131         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
132         * sysdeps/unix/sysv/tcdrain.c: Likewise.
133         * sysdeps/unix/sysv/tcflow.c: Likewise.
134         * sysdeps/unix/sysv/tcflush.c: Likewise.
135         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
136         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
137         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
138         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
139         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
140
141         * sysdeps/unix/siglist.c: Remove file.
142
143         * sysdeps/unix/getppid.S: Remove file.
144
145         * sysdeps/unix/mkdir.c: Remove file.
146         * sysdeps/unix/rmdir.c: Likewise.
147
148 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
149
150         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
151         ERR_MAX value.
152         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
153         errlist-compat value.
154
155 2012-04-18  David S. Miller  <davem@davemloft.net>
156
157         * sysdeps/generic/memcopy.h (reg_char): Delete.
158         * debug/strcat_chk.c: Use char, not reg_char.
159         * debug/strcpy_chk.c: Likewise.
160         * debug/strncat_chk.c: Likewise.
161         * debug/strncpy_chk.c: Likewise.
162         * string/memchr.c: Likewise.
163         * string/memrchr.c: Likewise.
164         * string/rawmemchr.c: Likewise.
165         * string/strcat.c: Likewise.
166         * string/strchr.c: Likewise.
167         * string/strchrnul.c: Likewise.
168         * string/strcmp.c: Likewise.
169         * string/strcpy.c: Likewise.
170         * string/strncat.c: Likewise.
171         * string/strncmp.c: Likewise.
172         * string/strncpy.c: Likewise.
173
174 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
175
176         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
177         __builtin_memcopy is called when src and dest ranges are known to not
178         overlap.
179
180 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
181
182         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
183         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
184         fwd_align_merge macro call.
185         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
186         bwd_align_merge macro call.
187         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
188
189 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
190
191         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
192         bwd_align_merge macros.
193         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
194         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
195         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
196
197 2012-04-18  David S. Miller  <davem@davemloft.net>
198
199         * sysdeps/sparc/sparc64/memcopy.h: Delete.
200
201 2012-04-18  Andreas Jaeger  <aj@suse.de>
202
203         [BZ# 6794]
204         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
205         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
206         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
207
208         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
209         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
210         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
211
212         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
213         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
214         Adjust for changed ldbl-128 files.
215
216         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
217         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
218         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
219
220 2012-04-17  David S. Miller  <davem@davemloft.net>
221
222         * sysdeps/sparc/sparc32/memcopy.h: Delete.
223
224 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
225
226         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
227         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
228         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
229         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
230         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
231         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
232
233 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
234
235         [BZ #6794]
236         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
237         * math/libm-test.inc: Add ilogb errno and exception tests.
238         * math/w_ilogb.c: New file: ilogb wrapper.
239         * math/w_ilogbf.c: New file: ilogbf wrapper.
240         * math/w_ilogbl.c: New file: ilogbl wrapper.
241         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
242         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
243         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
244         exception being thrown with 0.0 as argument.
245         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
246         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
247         exception being thrown with 0.0 as argument.
248         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
249         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
250         exception being thrown with 0.0 as argument.
251         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
252         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
253         exception being thrown with 0.0 as argument.
254         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
255         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
256         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
257         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
258         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
259         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
260         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
261         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
262         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
263
264 2012-04-17  Petr Baudis  <pasky@ucw.cz>
265
266         * include/sys/uio.h: Change __vector to __iovec to avoid clash
267         with altivec.
268
269 2012-04-16  Marek Polacek  <polacek@redhat.com>
270
271         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
272
273 2012-04-16  Marek Polacek  <polacek@redhat.com>
274
275         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
276         operands of fdivp instruction.
277
278 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
279
280         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
281         * elf/tst-auditmod3b.c: Likewise.
282         * elf/tst-auditmod4b.c: Likewise.
283         * elf/tst-auditmod5b.c: Likewise.
284         * elf/tst-auditmod6b.c: Likewise.
285         * elf/tst-auditmod6c.c: Likewise.
286         * elf/tst-auditmod7b.c: Likewise.
287         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
288         * sysdeps/x86_64/preconfigure.in: Likewise.
289         * sysdeps/x86_64/preconfigure: Regenerated.
290
291 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
292
293         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
294         __ILP32__.
295
296 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
297
298         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
299         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
300
301 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
302
303         [BZ #13973]
304         * locale/iso-639.def: Fix gl language name. Spotted by
305         Yaron Shahrabani.
306
307 2012-04-12  Roland McGrath  <roland@hack.frob.com>
308
309         [BZ #2074]
310         * libio/libio.h (__io_write_fn): Update comment.
311
312 2012-04-12  Petr Baudis  <pasky@ucw.cz>
313
314         [BZ #2074]
315         * stdio.texi (Hook Functions): The user provided writer function
316         is not allowed to return -1.
317
318 2012-04-11  David S. Miller  <davem@davemloft.net>
319
320         * sysdeps/sparc/fpu/libm-test-ulps: Update.
321
322 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
323
324         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
325         Add a leading slash to rtkaio.
326
327 2012-04-11  Jim Meyering  <meyering@redhat.com>
328
329         [BZ #11959]
330         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
331         It is not necessarily an error to ignore fwrite's return
332         value.  One can reliably use ferror to test for errors after
333         the fact.
334
335 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
336
337         * bits/types.h (__snseconds_t): New type.
338         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
339
340         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
341         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
342         (__SNSECONDS_T_TYPE): Likewise.
343         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
344         (__SNSECONDS_T_TYPE): Likewise.
345         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
346         (__SNSECONDS_T_TYPE): Likewise.
347
348 2012-04-10  Andreas Jaeger  <aj@suse.de>
349
350         [BZ #2636]
351         * manual/time.texi (Processor Time): Return type of times is
352         elapsed real time since an arbitrary point in the past.
353         (CPU Time): Move CLK_TCK from here...
354         (Processor Time): ...to here.  Correct description.
355         * manual/conf.texi (Constants for Sysconf): Correct description of
356         _SC_CLK_TCK.
357
358 2012-04-10  David S. Miller  <davem@davemloft.net>
359
360         [BZ #13967]
361         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
362         where the is a gap between DT_REL(A) and DT_JMPREL.
363
364 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
365
366         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
367         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
368         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
369
370 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
371
372         * elf/dl-support.c (_dl_inhibit_cache): New variable.
373         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
374         (dl_main): Handle --inhibit-cache.
375         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
376         _dl_inhibit_cache.
377         * elf/dl-load.c (_dl_map_object): Use it.
378         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
379
380 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
381
382         [BZ #13872]
383         * sysdeps/i386/fpu/e_powl.S (p78): New object.
384         (__ieee754_powl): Saturate large exponents rather than testing for
385         overflow of y*log2(x).
386         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
387         * math/libm-test.inc (pow_test): Do not permit spurious overflow
388         exceptions.
389
390         [BZ #11521]
391         * math/s_ctan.c: Include <float.h>.
392         (__ctan): Avoid internal overflow or cancellation in calculating
393         denominator.
394         * math/s_ctanf.c: Likewise.
395         * math/s_ctanl.c: Likewise.
396         * math/s_ctanh.c: Likewise.
397         * math/s_ctanhf.c: Likewise.
398         * math/s_ctanhl.c: Likewise.
399         * math/libm-test.inc (ctan_test): Add more tests.
400         (ctanh_test): Likewise.
401         * sysdeps/i386/fpu/libm-test-ulps: Update.
402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
403
404 2012-04-09  Andreas Jaeger  <aj@suse.de>
405
406         [BZ #6894]
407         * manual/filesys.texi (Directory Entries): Mention that d_namlen
408         is an optional BSD extension.
409
410         [BZ #10254]
411         * manual/stdio.texi (Opening Streams): Document additional fopen
412         parameters.
413
414 2012-04-09  Roland McGrath  <roland@hack.frob.com>
415
416         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
417         %eax without telling the compiler.
418
419 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
420
421         [BZ # 13963]
422         * manual/install.texi: Use sourceware.org.
423
424 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
425
426         [BZ #13873]
427         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
428         (__ieee754_pow): Generate overflow and underflow using huge*huge
429         and tiny*tiny rather than just returning constant infinity or zero
430         for large exponents.
431         * math/libm-test.inc (pow_test): Require overflow exceptions for
432         applicable cases of large exponents.
433
434         [BZ #706]
435         * sysdeps/i386/fpu/e_pow.S (p10): New object.
436         (__ieee754_pow): Use iterative multiplication algorithm only for
437         integer exponents with absolute value below 1024.  Check for odd
438         integer exponents when using algorithm for real exponents.
439         * math/libm-test.inc (pow_test): Add more tests.
440         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
441
442 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
443
444         [BZ #13705]
445         * math/libm-test.inc (exp_test): Do not allow overflow exception
446         on underflow test.
447
448 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
449
450         [BZ #13705]
451         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
452         instead of __kernel_standard_f.
453
454 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
455
456         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
457         * sysdeps/x86_64/memset_chk.S: Likewise.
458
459 2012-04-08  Andreas Jaeger  <aj@suse.de>
460
461         [BZ #10153]
462         * manual/startup.texi (Environment Access): Describe return value
463         for putenv and setenv.
464
465         [BZ #6895]
466         * manual/filesys.texi (Directory Entries): Add description for
467         DT_LNK.
468
469         [BZ #6890]
470         * manual/filesys.texi (Directory Entries): Clarify that it's file
471         system not operating system in the description of DT_UNKNOWN.
472
473         [BZ #6578]
474         * manual/syslog.texi (closelog): Fix reference, it's openlog.
475
476 2012-04-08  Stephen Compall  <s11@member.fsf.org>
477
478         [BZ #6649]
479         * manual/llio.texi (Opening and Closing Files): Add cross
480         reference to explain mode argument.
481
482 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
483
484         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
485         * sysdeps/x86_64/memset_chk.S: Likewise.
486
487 2012-04-07  David S. Miller  <davem@davemloft.net>
488
489         * elf/elf.h (R_SPARC_WDISP10): Define.
490         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
491         R_SPARC_SIZE32.
492         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
493         R_SPARC_SIZE64 and R_SPARC_H34.
494
495 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
496
497         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
498         conditions and remove no longer applicable assertion.
499
500 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
501
502         * bits/byteswap.h: Include <features.h>.
503         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
504         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
505
506 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
507
508         * bits/byteswap.h (__bswap_16): Removed.
509         Include <bits/byteswap-16.h> to get __bswap_16.
510         * sysdeps/i386/bits/byteswap.h: Likewise.
511         * sysdeps/s390/bits/byteswap.h: Likewise.
512         * sysdeps/x86_64/bits/byteswap.h: Likewise.
513         * bits/byteswap-16.h: New file.
514         * sysdeps/i386/bits/byteswap-16.h: Likewise.
515         * sysdeps/s390/bits/byteswap-16.h: Likewise.
516         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
517         * string/Makefile (headers): Add bits/byteswap-16.h.
518
519 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
520
521         [BZ #13895]
522         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
523         extra indirection.
524         * nss/Makefile (tests-static, tests): Add tst-nss-static.
525         * nss/tst-nss-static.c: New.
526
527 2012-04-06  Robert Millan  <rmh@gnu.org>
528
529         [BZ #6486]
530         * manual/llio.texi (File Position Primitive): lseek
531         refers to WHENCE when it really means OFFSET.
532
533 2012-04-06  Andreas Jaeger  <aj@suse.de>
534
535         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
536         strncmp declarations.
537
538         * abilist/libc.abilist: Add __poll and __ppoll.
539
540 2012-04-05  David S. Miller  <davem@davemloft.net>
541
542         * scripts/check-local-headers.sh: Accept a host triplet in the
543         path matched by the exclude regexp.
544
545         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
546         definition.
547         * sysdeps/powerpc/powerpc32/dl-machine.h
548         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
549         * sysdeps/s390/s390-32/dl-machine.h
550         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
551         * sysdeps/sparc/sparc32/dl-machine.h
552         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
553         * sysdeps/sparc/sparc64/dl-machine.h
554         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
555
556         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
557         lazy binding.
558         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
559         undefined symbol errors.
560
561         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
562         DT_NEEDED entries.
563
564 2012-04-05  Michael Matz  <matz@suse.de>
565
566         [BZ #13592]
567         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
568
569 2012-04-05  Andreas Jaeger  <aj@suse.de>
570
571         [BZ #13908]
572         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
573         comment.
574
575 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
576
577         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
578         which ROUND is no valid rounding mode.
579
580 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
581
582         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
583         read again.
584         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
585
586 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
587
588         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
589         an exception using FPU order intentionally.
590
591 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
592
593         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
594         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
595         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
596         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
597
598 2012-04-05  Simon Josefsson  <simon@josefsson.org>
599
600         [BZ #12340]
601         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
602         EINVAL when BUFLEN is too smal.
603
604 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
605
606         [BZ #13553]
607         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
608         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
609
610 2012-04-03  Andreas Jaeger  <aj@suse.de>
611
612         [BZ #13938]
613         * manual/setjmp.texi (System V contexts): Fix sentence.
614
615         [BZ #13926]
616         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
617         New macro for this case.
618         [!__GNUC__] (__bswap_64): New inline function for this case.
619         * sysdeps/x86_64/bits/byteswap.h: Likewise.
620         * bits/byteswap.h: Likewise.
621         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
622         ull, guard with __GLIBC_HAVE_LONG_LONG.
623
624         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
625         __GLIBC_HAVE_LONG_LONG.
626
627         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
628         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
629
630 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
631
632         [BZ #13691]
633         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
634         inptr and inend, rather than using last_ch.
635
636 2012-04-02  David S. Miller  <davem@davemloft.net>
637
638         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
639         * stdio-common/printf-parse.h (read_int): Change return type to
640         'int', return -1 on INT_MAX overflow.
641         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
642         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
643         overflows INT_MAX.  Check for overflow of in-format-string precision
644         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
645         SIZE_MAX not INT_MAX for integer overflow test.
646         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
647         skip the construct in the format string but do not record anything.
648         * stdio-common/bug22.c: Adjust to test both width/prevision
649         INT_MAX overflow as well as total length INT_MAX overflow.  Check
650         explicitly for proper errno values.
651
652 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
653
654         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
655         CHAR_MAX.
656         * string/test-strcmp.c [! WIDE]: Likewise.
657         * time/tst-mktime2.c: Likewise for INT_MAX.
658         * string/test-string.h: #include <sys/param.h> for MIN.
659
660         * csu/init-first.c (__libc_init_first): Call __ctype_init.
661         * sysdeps/i386/init-first.c (init): Likewise.
662         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
663         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
664         * sysdeps/sh/init-first.c (init): Likewise.
665
666 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
667
668         * po/ru.po: Update from translation team.
669         * po/vi.po: Likewise.
670
671 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
672
673         * resolv/nss_dns/dns-host.c: Merge copyright years.
674
675 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
676
677         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
678         Optimize memcpy with prefetch if
679         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
680         src, dst pointers have unequal 16 byte alignments.
681
682 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
683
684         [BZ #13928]
685         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
686         from a CNAME entry and return the minimum ttl for the query.
687         (gaih_getanswer_slice): Likewise.
688
689 2012-03-30  Jeff Law  <law@redhat.com>
690
691         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
692         due to long keys.
693         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
694         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
695
696         * resolv/nss_dns/dns-host.c: Update copyright year.
697
698 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
699
700         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
701         requests to save a system call.  Fix check that all bytes are sent.
702
703         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
704         comments for sendmmsg.
705
706 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
707
708         [BZ #13691]
709         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
710         with only 1 character between 0x0041 and 0x01b0.
711         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
712         * wcsmbs/tst-mbsnrtowcs.c: New file.
713
714 2012-03-29  David S. Miller  <davem@davemloft.net>
715
716         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
717         small copies by hand.
718
719 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
720
721         [BZ #13761]
722         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
723         _nss_compat_initgroups_dyn): Fall back to malloc/free
724         for large group memberships.
725
726 2012-03-28  David S. Miller  <davem@davemloft.net>
727
728         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
729         that branches into memcpy.
730         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
731         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
732         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
733         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
734         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
735         bits.
736         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
737         implementation too.
738         * sysdeps/sparc/mempcpy.S: New file.
739
740         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
741         the IFUNC routine in the libc case.
742         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
743
744         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
745         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
746         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
747         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
748         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
749         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
750         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
751         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
752
753         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
754         loop to 256 bytes instead of 64 bytes and fix test signedness.
755
756         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
757         * sysdeps/sparc/sparc32/Makefile: rather than here...
758         * sysdeps/sparc/sparc64/Makefile: and here.
759
760 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
761
762         * malloc/mallocbug.c: Avoid warnings about unused variables.
763
764 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
765
766         [BZ #13760]
767         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
768         in the right place. Discard and retry query if response is
769         larger than input buffer size.
770
771 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
772
773         [BZ #369]
774         [BZ #2678]
775         [BZ #3866]
776         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
777         x for large integer exponent.
778         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
779         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
780         sign of result as needed afterwards.
781         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
782         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
783         result for underflowing pow the same as for overflow.
784         (__kernel_standard_l): Handle powl overflow and underflow here
785         rather than calling __kernel_standard.
786         * math/libm-test.inc (pow_test): Add more tests.
787
788         [BZ #3868]
789         [BZ #13879]
790         [BZ #13910]
791         [BZ #13911]
792         [BZ #13912]
793         [BZ #13913]
794         [BZ #13915]
795         [BZ #13916]
796         [BZ #13917]
797         [BZ #13918]
798         [BZ #13919]
799         [BZ #13920]
800         [BZ #13921]
801         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
802         * sysdeps/ieee754/k_standard.c: Include <float.h>.
803         (__kernel_standard_l): New function.
804         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
805         __kernel_standard.
806         * math/w_acosl.c (__acosl): Likewise.
807         * math/w_asinl.c (__asinl): Likewise.
808         * math/w_atan2l.c (__atan2l): Likewise.
809         * math/w_atanhl.c (__atanhl): Likewise.
810         * math/w_coshl.c (__coshl): Likewise.
811         * math/w_exp10l.c (__exp10l): Likewise.
812         * math/w_exp2l.c (__exp2l): Likewise.
813         * math/w_fmodl.c (__fmodl): Likewise.
814         * math/w_hypotl.c (__hypotl): Likewise.
815         * math/w_j0l.c (__j0l, __y0l): Likewise.
816         * math/w_j1l.c (__j1l, __y1l): Likewise.
817         * math/w_jnl.c (__jnl, __ynl): Likewise.
818         * math/w_lgammal.c (__lgammal): Likewise.
819         * math/w_log10l.c (__log10l): Likewise.
820         * math/w_log2l.c (__log2l): Likewise.
821         * math/w_logl.c (__logl): Likewise.
822         * math/w_powl.c (__powl): Likewise.
823         * math/w_remainderl.c (__remainderl): Likewise.
824         * math/w_scalbl.c (sysv_scalbl): Likewise.
825         * math/w_sinhl.c (__sinhl): Likewise.
826         * math/w_sqrtl.c (__sqrtl): Likewise.
827         * math/w_tgammal.c (__tgammal): Likewise.
828         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
829         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
830         * math/libm-test.inc (acos_test): Add more tests.
831         (acosh_test): Likewise.
832         (asin_test): Likewise.
833         (atanh_test): Likewise.
834         (exp_test): Likewise.
835         (exp10_test): Likewise.
836         (exp2_test): Likewise.
837         (expm1_test): Likewise.
838         (lgamma_test): Likewise.
839         (log_test): Likewise.
840         (log10_test): Likewise.
841         (log1p_test): Likewise.
842         (log2_test): Likewise.
843         (pow_test): Do not allow some spurious overflow exceptions.
844         (sqrt_test): Add more tests.
845         (tgamma_test): Likewise.
846         (y0_test): Likewise.
847         (y1_test): Likewise.
848         (yn_test): Likewise.
849
850 2012-03-27  Anton Blanchard  <anton@samba.org>
851
852         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
853         MAP_HUGETLB.
854         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
855         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
856         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
857
858 2012-03-27  David S. Miller  <davem@davemloft.net>
859
860         * conform/Makefile: Run run-conformtest.sh using $(BASH).
861
862         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
863         have-as-vis3 check.
864
865 2012-03-27  Andreas Jaeger  <aj@suse.de>
866
867         * sysdeps/x86_64/elf/configure.in: Moved to ...
868         * sysdeps/x86_64/configure.in: ... here.
869         * sysdeps/x86_64/elf/start.S: Moved to ...
870         * sysdeps/x86_64/start.S: ... here.
871         * sysdeps/x86_64/elf/configure: Delete.
872
873         * sysdeps/x86_64/configure.in: Merge contents from
874         sysdeps/i386/configure.in (without i686 check).
875
876         * sysdeps/i386/elf/Versions: Merge into ...
877         * sysdeps/i386/Versions: ... this.
878         * sysdeps/i386/elf/Versions: Delete file.
879         * sysdeps/i386/elf/start.S: Moved to ...
880         * sysdeps/i386/start.S: ...here.
881         * sysdeps/i386/elf/configure.in: Merge into...
882         * sysdeps/i386/configure.in: ...here.
883         * sysdeps/i386/elf/configure.in: Delete file.
884         * sysdeps/i386/elf/configure: Delete file.
885
886         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
887         * debug/backtracesyms.c: ... here.
888         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
889         * debug/backtracesymsfd.c: ... here.
890         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
891         * sysdeps/generic/ifunc-sel.h: ... here.
892
893         * sysdeps/unix/i386/start.c: Delete file.
894         * sysdeps/unix/sparc/start.c: Delete file.
895         * sysdeps/unix/start.c: Delete file.
896
897         * sysdeps/sh/elf/configure.in: Moved to ...
898         * sysdeps/sh/configure.in: ... here.
899         * sysdeps/sh/elf/start.S: Moved to ...
900         * sysdeps/sh/start.S: ... here.
901         * sysdeps/sh/elf/configure: Delete file.
902
903         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
904         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
905         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
906         * sysdeps/powerpc/powerpc64/entry.h: ... here.
907         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
908         * sysdeps/powerpc/powerpc64/start.S: here.
909         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
910         * sysdeps/powerpc/powerpc64/Makefile: ... this.
911         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
912         * sysdeps/powerpc/powerpc64/configure.in: ... this.
913         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
914
915         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
916         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
917         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
918         * sysdeps/powerpc/powerpc32/start.S: ... here.
919         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
920         * sysdeps/powerpc/powerpc32/configure.in: ... this.
921         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
922
923         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
924         * sysdeps/powerpc/ifunc-sel.h: ... here.
925         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
926         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
927
928         * sysdeps/sparc/elf/configure.in: Moved to ...
929         * sysdeps/sparc/configure.in: ... here.
930         * sysdeps/sparc/elf/configure: Delete file.
931         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
932         * sysdeps/sparc/sparc32/start.S: ... here.
933         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
934         * sysdeps/sparc/sparc64/start.S: ... here.
935         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
936         * sysdeps/sparc/sparc32/Makefile: ... this.
937         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
938         * sysdeps/sparc/sparc64/Makefile: ... this.
939
940         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
941         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
942         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
943         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
944         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
945         * sysdeps/s390/s390-32/setjmp.S: ... here.
946         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
947         * sysdeps/s390/s390-32/configure.in: ... here.
948         * sysdeps/s390/s390-32/elf/configure: Delete file.
949         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
950         * sysdeps/s390/s390-32/start.S: ... here.
951
952         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
953         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
954         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
955         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
956         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
957         * sysdeps/s390/s390-64/setjmp.S: ... here.
958         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
959         * sysdeps/s390/s390-64/configure.in: ... here
960         * sysdeps/s390/s390-64/elf/configure: Delete file.
961         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
962         * sysdeps/s390/s390-64/start.S: ... here.
963         * sysdeps/s390/s390-64/elf/configure: Delete.
964
965         * configure.in: Remove support for elf directories in sysdeps.
966
967         * configure: Regenerated.
968         * sysdeps/i386/configure: Regenerated.
969         * sysdeps/powerpc/powerpc32/configure: Regenerated.
970         * sysdeps/powerpc/powerpc64/configure: Regenerated.
971         * sysdeps/s390/s390-32/configure: Regenerated.
972         * sysdeps/s390/s390-64/configure: Regenerated.
973         * sysdeps/sh/configure: Regenerated.
974         * sysdeps/sparc/configure: Regenerated.
975         * sysdeps/x86_64/configure: Regenerated.
976
977 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
978
979         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
980
981         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
982         denormal result into account.
983
984 2012-03-25  Roland McGrath  <roland@hack.frob.com>
985
986         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
987         Reported by Allan McRae <allan@archlinux.org>.
988
989 2012-03-23  Jeff Law  <law@redhat.com>
990
991         * nss/getnssent.c (__nss_getent): Fix typo.
992
993 2012-03-23  David S. Miller  <davem@davemloft.net>
994
995         * sysdeps/sparc/fpu/libm-test-ulps: Update.
996
997 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
998
999         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
1000         to pad to uint64_t for each field.
1001         (dl_tls_index): Replace unsigned long with uint64_t.
1002
1003 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
1004         Paul Pluzhnikov  <ppluzhnikov@google.com>
1005
1006         [BZ #6528]
1007         * grp/Makefile (otherlibs): Don't set it.
1008         * inet/Makefile (otherlibs): Likewise.
1009         * login/Makefile (otherlibs): Likewise.
1010         * nscd/Makefile (otherlibs): Likewise.
1011         * posix/Makefile (otherlibs): Likewise.
1012         * pwd/Makefile (otherlibs): Likewise.
1013         * rt/Makefile (otherlibs): Likewise.
1014         * sunrpc/Makefile (otherlibs): Likewise.
1015         * nss/Makefile (otherlibs): Likewise.
1016         Add libnss_files to routines and static-only-routines.
1017         ($(objpfx)getent): Remove rule.
1018         * resolv/Makefile: Add libnss_dns and libresolv to routines and
1019         static-only-routines.
1020
1021 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
1022
1023         [BZ #13892]
1024         * math/s_cexp.c: Include <float.h>.
1025         (__cexp): Handle exp result overflowing not necessarily
1026         overflowing both real and imaginary parts of result.
1027         * math/s_cexpf.c: Likewise.
1028         * math/s_cexpl.c: Likewise.
1029         * math/libm-test.inc (cexp_test): Add more tests.
1030         * sysdeps/i386/fpu/libm-test-ulps: Update.
1031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1032
1033 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1034
1035         * include/link.h (ELFW): New macro.
1036         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
1037         Replace ELF64_R_TYPE with ELFW(R_TYPE).
1038
1039 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1040
1041         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
1042         with uint64_t.
1043
1044 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1045
1046         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
1047         declaration.
1048         (struct La_x32_retval): Likewise.
1049
1050 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1051
1052         * sysdeps/x86_64/preconfigure.in: New file.
1053         * sysdeps/x86_64/preconfigure: New generated file.
1054
1055 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
1056
1057         [BZ #13824]
1058         * math/e_exp2l.c: Include <float.h>.
1059         (__ieee754_exp2l): Handle overflow and underflow cases
1060         separately.  Only pass fractional part of argument to
1061         __ieee754_expl.
1062         * math/libm-test.inc (exp2_test): Add more tests.
1063
1064         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
1065         negating x to take absolute value.
1066         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
1067         Likewise.
1068         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1069         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
1070         Likewise.
1071         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
1072         computing low part if x was negated.
1073         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1074
1075 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1076
1077         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
1078         la_x32_gnu_pltexit.
1079         (pltexit): Cast int_retval to ptrdiff_t.
1080         * elf/tst-auditmod3b.c: Likewise.
1081         * elf/tst-auditmod4b.c: Likewise.
1082         * elf/tst-auditmod5b.c: Likewise.
1083         * elf/tst-auditmod6b.c: Likewise.
1084         * elf/tst-auditmod6c.c: Likewise.
1085         * elf/tst-auditmod7b.c: Likewise.
1086
1087         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
1088         and x32_gnu_pltexit.
1089
1090         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
1091         __ELF_NATIVE_CLASS.
1092         (La_x32_regs): New macro.
1093         (La_x32_retval): Likewise.
1094         (la_x32_gnu_pltenter): New function prototype.
1095         (la_x32_gnu_pltexit): Likewise.
1096
1097 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
1098
1099         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
1100         exponent.
1101
1102         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1103
1104         * configure.in (libc_cv_cc_nofma): Check for option to disable
1105         generation of FMA instructions.
1106         * configure: Regenerate.
1107         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
1108         * sysdeps/ieee754/dbl-64/Makefile: New file.
1109         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1110         Remove brandred-fma4.
1111         (CFLAGS-brandred-fma4.c): Remove.
1112         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
1113         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
1114         define.
1115         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
1116         define.
1117
1118 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1119
1120         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1121         LLONG_MAX != LONG_MAX.
1122         (_itoa_word): Use _ITOA_WORD_TYPE on value.
1123         (_fitoa_word): Likewise.
1124         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
1125         LLONG_MAX != LONG_MAX.
1126         * stdio-common/_itowa.h: Include <_itoa.h>.
1127         (_itowa_word): Use _ITOA_WORD_TYPE on value.
1128         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
1129         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
1130         only if not defined.
1131         (_ITOA_WORD_TYPE): Likewise.
1132         (_itoa_word): Use _ITOA_WORD_TYPE on value.
1133         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
1134
1135 2012-03-21  David S. Miller  <davem@davemloft.net>
1136
1137         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1138
1139 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1140
1141         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
1142         of x86_64 when setting libc_cv_slibdir, libdir and
1143         libc_cv_localedir.
1144         * sysdeps/unix/sysv/linux/configure: Regenerated.
1145
1146 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
1147
1148         * manual/lang.texi (Old Varargs): Remove section.
1149         (How Variadic): Update menu.
1150         (va_start): Do not mention varargs.h.
1151
1152 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
1153             Joseph Myers  <joseph@codesourcery.com>
1154
1155         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
1156         link test.
1157         * configure: Regenerated.
1158
1159 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
1160
1161         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
1162         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
1163         conformtest.pl
1164
1165 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
1166
1167         * NOTES: Remove.
1168         * Makefile (files-for-dist): Remove NOTES.
1169         (NOTES): Remove rule.
1170         * README: Don't refer to NOTES.
1171         * manual/creature.texi: Don't include macros.texi.
1172         * manual/intro.texi (creature.texi): Remove comment referring to
1173         NOTES.
1174
1175         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
1176         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
1177         * configure: Regenerated.
1178         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
1179         LIBC_TRY_CC_OPTION.
1180         (libc_cv_as_i686): Likewise.
1181         (libc_cv_cc_avx): Likewise.
1182         (libc_cv_cc_sse2avx): Likewise.
1183         (libc_cv_cc_fma4): Likewise.
1184         (libc_cv_cc_novzeroupper): Likewise.
1185         * sysdeps/i386/configure: Regenerated.
1186
1187         [BZ #13883]
1188         * sysdeps/i386/fpu/s_cexp.S: Remove.
1189         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1190         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1191         * math/libm-test.inc (cexp_test): Add more tests.
1192         * sysdeps/i386/fpu/libm-test-ulps: Update.
1193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1194
1195 2012-03-21  Allan McRae  <allan@archlinux.org>
1196
1197         * timezone/Makefile: Do not install iso3166.tab and zone.tab
1198
1199 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
1200
1201         [BZ #13871]
1202         * math/w_exp2.c: Do not include <float.h>.
1203         (o_threshold, u_threshold): Remove.
1204         (__exp2): Calculate result before checking finiteness and calling
1205         __kernel_standard.
1206         * math/w_exp2f.c: Likewise.
1207         * math/w_exp2l.c: Likewise.
1208         * math/libm-test.inc (exp2_test): Require overflow exception for
1209         1e6 input.
1210
1211         [BZ #3866]
1212         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
1213         range of signed 64-bit integers before using fistpll.  Remove
1214         checks for whether integers fit in mantissa bits.
1215         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
1216         the range of signed 32-bit integers before using fistpl.  Remove
1217         checks for whether integers fit in mantissa bits.
1218         * sysdeps/i386/fpu/e_powl.S (p64): New object.
1219         (__ieee754_powl): Test for y outside the range of signed 64-bit
1220         integers before using fistpll.  Reduce 64-bit values to 63-bit
1221         ones as needed.
1222         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
1223         divide-by-zero is raised for zero to large negative powers.
1224         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
1225         (__ieee754_powl): Test for y outside the range of signed 64-bit
1226         integers before using fistpll.  Reduce 64-bit values to 63-bit
1227         ones as needed.
1228         * math/libm-test.inc (pow_test): Add more tests.
1229
1230 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
1231
1232         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
1233         <stdio-common/_itoa.h>.
1234         * debug/segfault.c: Likewise.
1235         * elf/dl-cache.c: Likewise.
1236         * elf/dl-minimal.c: Likewise.
1237         * elf/dl-misc.c: Likewise.
1238         * elf/dl-sysdep.c: Likewise.
1239         * elf/dl-version.c: Likewise.
1240         * elf/rtld.c: Likewise.
1241         * hurd/hurdsock.c: Likewise.
1242         * hurd/lookup-retry.c: Likewise.
1243         * malloc/malloc.c: Likewise.
1244         * malloc/mtrace.c: Likewise.
1245         * nscd/nscd_getgr_r.c: Likewise.
1246         * nscd/nscd_getpw_r.c: Likewise.
1247         * nscd/nscd_getserv_r.c: Likewise.
1248         * posix/getopt_init.c: Likewise.
1249         * posix/wordexp.c: Likewise.
1250         * stdio-common/_itoa.c: Likewise.
1251         * stdio-common/printf_fphex.c: Likewise.
1252         * stdio-common/vfprintf.c: Likewise.
1253         * string/_strerror.c: Likewise.
1254         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
1255         * sysdeps/i386/i686/hp-timing.h: Likewise.
1256         * sysdeps/mach/_strerror.c: Likewise.
1257         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
1258         * sysdeps/mach/hurd/sethostid.c: Likewise.
1259         * sysdeps/mach/hurd/xmknodat.c: Likewise.
1260         * sysdeps/mach/xpg-strerror.c: Likewise.
1261         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1262         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1263         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
1264         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
1265         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1266         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
1267         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1268         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1269         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
1270         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
1271         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
1272         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1273         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
1274         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1275         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1276         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
1277         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
1278         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
1279         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1280         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1281         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
1282
1283         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
1284
1285         * stdio-common/_itoa.h: Moved to ...
1286         * sysdeps/generic/_itoa.h: Here.
1287
1288         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
1289
1290         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
1291         instead of "_itoa.h" and "_itowa.h".
1292         * stdio-common/vfprintf.: Likewise.
1293
1294 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
1295
1296         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
1297         <bits/wordsize.h>.
1298         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
1299         (__signbit): Likwise.
1300         (llrintf): Likwise.
1301         (llrint): Likwise.
1302
1303 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
1304
1305         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
1306         __WORDSIZE != 64.
1307
1308 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
1309
1310         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
1311         OVERFLOW_EXCEPTION_OK.
1312         * math/libm-test.inc ("Philosophy"): Update comment about
1313         exception testing.
1314         (OVERFLOW_EXCEPTION): Define.
1315         (OVERFLOW_EXCEPTION_OK): Likewise.
1316         (INVALID_EXCEPTION_OK): Renumber.
1317         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1318         (IGNORE_ZERO_INF_SIGN): Likewise.
1319         (test_exceptions): Handle FE_OVERFLOW.
1320         (exp10_test): Expect overflow exceptions.
1321         (exp2_test): Likewise.
1322         (expm1_test): Likewise.
1323         (nextafter_test): Likewise.
1324         (pow_test): Likewise.
1325         (scalbn_test): Likewise.
1326         (scalbln_test): Likewise.
1327
1328 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1329
1330         * sysdeps/x86_64/bits/atomic.h
1331         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
1332         64bit integer.
1333         (atomic_exchange_acq): Likewise.
1334         (__arch_exchange_and_add_body): Likewise.
1335         (__arch_add_body): Likewise.
1336         (atomic_add_negative): Likewise.
1337         (atomic_add_zero): Likewise.
1338
1339 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1340
1341         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
1342         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
1343
1344 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1345
1346         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
1347         Check __x86_64__ instead of __WORDSIZE.
1348
1349 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1350
1351         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
1352
1353 2012-03-19  David S. Miller  <davem@davemloft.net>
1354
1355         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1356
1357         * sysdeps/sparc/fpu/fenv_private.h: New file.
1358         * sysdeps/sparc/fpu/math_private.h: Use it.
1359         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
1360         Remove.
1361         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
1362         (libc_feholdexcept_setroundl): Remove.
1363         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
1364         Remove.
1365         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
1366         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
1367
1368 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1369
1370         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
1371         int64_t instead of long int.
1372         (INSERT_WORDS64): Likwise.
1373
1374 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1375
1376         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
1377         _Unwind_GetCFA return to _Unwind_Ptr first.
1378
1379 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
1380
1381         [BZ #13629]
1382         * math/s_clog.c: Include <float.h>.
1383         (__clog): Scale large or subnormal inputs.
1384         * math/s_clogf.c: Likewise.
1385         * math/s_clogl.c: Likewise.
1386         * math/s_clog10.c: Include <float.h>.
1387         (M_LOG10_2): Define.
1388         (__clog10): Scale large or subnormal inputs.
1389         * math/s_clog10f.c: Likewise.
1390         * math/s_clog10l.c: Likewise.
1391         * math/libm-test.inc (clog_test): Add more tests.
1392         (clog10_test): Likewise.
1393         * sysdeps/i386/fpu/libm-test-ulps: Update.
1394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1395
1396         [BZ #11451]
1397         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
1398         x and y.
1399         * math/libm-test.inc (atan2_test): Add another test.
1400
1401         * Makerules (common-objdir-compile): Remove.
1402         * sysdeps/unix/Makefile (config-generated): Do not add
1403         $(unix-generated) to variable.
1404         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
1405         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
1406         Remove rule.
1407         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
1408         Likewise.
1409         [generic bits/local_lim.h] (before-compile): Do not append to
1410         variable.
1411         [generic bits/local_lim.h] (common-generated): Likewise.
1412         [generic sys/param.h] (before-compile): Do not append to variable.
1413         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
1414         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
1415         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
1416         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
1417         include.
1418         [generic sys/param.h] (sys/param.h-includes): Remove variable.
1419         [generic sys/param.h] (sys/param.h-includes): Remove rule.
1420         [generic sys/param.h] ($(addprefix
1421         $(common-objpfx),$(sys/param.h-includes))): Likewise.
1422         [generic sys/param.h] (common-generated): Do not append to
1423         variable.
1424         [generic sys/param.h] (sysdep_headers): Likewise.
1425         [generic bits/errno.h] (before-compile): Do not append to
1426         variable.
1427         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
1428         rule.
1429         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
1430         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
1431         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
1432         [generic bits/errno.h] (common-generated): Do not append to
1433         variable.
1434         [generic bits/ioctls.h] (before-compile): Do not append to
1435         variable.
1436         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
1437         rule.
1438         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
1439         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
1440         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
1441         rule.
1442         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
1443         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
1444         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
1445         [generic bits/ioctls.h] (common-generated): Do not append to
1446         variable.
1447         [generic sys/syscall.h] (syscall.h): Remove variable.
1448         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
1449         rule.
1450         [generic sys/syscall.h] (before-compile): Do not append to
1451         variable.
1452         [generic sys/syscall.h] (common-generated): Likewise.
1453         * sysdeps/unix/errnos-tmpl.c: Remove file.
1454         * sysdeps/unix/errnos.awk: Likewise.
1455         * sysdeps/unix/ioctls-tmpl.c: Likewise.
1456         * sysdeps/unix/ioctls.awk: Likewise.
1457         * sysdeps/unix/mk-local_lim.c: Likewise.
1458         * sysdeps/unix/snarf-ioctls: Likewise.
1459
1460 2012-03-19  Richard Henderson  <rth@twiddle.net>
1461
1462         * sysdeps/i386/fpu/fenv_private.h: New file.
1463         * sysdeps/i386/fpu/math_private.h: Use it.
1464         (math_opt_barrier, math_force_eval): Remove.
1465         (libc_feholdexcept_setround_53bit): Remove.
1466         (libc_feupdateenv_53bit): Remove.
1467         * sysdeps/x86_64/fpu/math_private.h: Likewise.
1468         (math_opt_barrier, math_force_eval): Remove.
1469         (libc_feholdexcept): Remove.
1470         (libc_feholdexcept_setround): Remove.
1471         (libc_fetestexcept, libc_fesetenv): Remove.
1472         (libc_feupdateenv_test): Remove.
1473         (libc_feupdateenv, libc_feholdsetround): Remove.
1474         (libc_feresetround): Remove.
1475
1476         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
1477         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1478
1479         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
1480         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
1481         (libc_feupdateenv_testl): New.
1482         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
1483         (libc_feupdateenv_testf): New.
1484         (libc_feupdateenv): Use libc_feupdateenv_test.
1485         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
1486         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
1487
1488         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
1489         (libc_feholdsetroundf, libc_feholdsetroundl): New.
1490         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
1491         (libc_feresetround_noex): New.
1492         (libc_feresetround_noexf): New.
1493         (libc_feresetround_noexl): New.
1494         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
1495         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
1496         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
1497         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
1498         SET_RESTORE_ROUND.
1499         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1500         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
1501         (__cos): Likewise.
1502         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
1503         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
1504         SET_RESTORE_ROUND_NOEX.
1505         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
1506         SET_RESTORE_ROUND_NOEXF.
1507         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
1508         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
1509         (libc_feholdsetroundf): New.
1510         (libc_feresetround, libc_feresetroundf): New.
1511
1512         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
1513         (libc_feholdexcept_setround_53bit): Convert from macro to function.
1514         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
1515
1516         * sysdeps/generic/math_private.h: Include <fenv.h>.
1517         (default_libc_feholdexcept): New.
1518         (default_libc_feholdexcept_setround): New.
1519         (default_libc_fesetenv, default_libc_feupdateenv): New.
1520         (libc_feholdexcept): Only define if undefined.
1521         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
1522         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
1523         (libc_feholdexcept_setroundl): Likewise.
1524         (libc_feholdexcept_setround_53bit): Likewise.
1525         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
1526         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
1527         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
1528         (libc_feupdateenv_53bit): Likewise.
1529         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
1530         (libc_feholdexcept): Convert from macro to inline function.
1531         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
1532         (libc_fesetenv, libc_feupdateenv): Likewise.
1533
1534         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
1535         not previously defined.
1536         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
1537         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
1538         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
1539         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
1540         * sysdeps/ieee754/flt-32/math_private.h: New file.
1541         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
1542         math_private.h below SET_FLOAT_WORD.
1543         (__isnan, __isinf_ns, __finite): Remove.
1544         (__isnanf, __isinf_nsf, __finitef): Remove.
1545
1546 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
1547
1548         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1549
1550 2012-03-17  David S. Miller  <davem@davemloft.net>
1551
1552         [BZ #6471]
1553         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
1554         for 2.16.
1555
1556 2012-03-16  David S. Miller  <davem@davemloft.net>
1557
1558         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
1559         warnings.
1560
1561         [BZ #6471]
1562         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
1563         properly.
1564         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
1565         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
1566         sysdep_routines when subdir is sysvipc.
1567         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
1568         __getshmlba helper.
1569
1570         * sysdeps/sparc/fpu/libm-test/ulps: Update.
1571
1572 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1573
1574         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
1575         [__LP64__].
1576
1577 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1578
1579         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
1580         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
1581         (__lround): Renamed to ...
1582         (__llround): This.  Replace long int with long long int.
1583         Define lround functions as aliases of llround functions.
1584         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
1585
1586 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1587
1588         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1589         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
1590         adresses to uintptr_t.  Replace "long int" and "unsigned long
1591         int" with "greg_t" on va_arg.
1592
1593 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1594
1595         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
1596         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
1597
1598         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
1599         Move e_machine check before EI_CLASS check.  Handle x32
1600         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
1601         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
1602         SKIP_EM_IA_64 and include
1603         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
1604
1605         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
1606         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
1607         (add_system_dir): New macro.
1608
1609         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
1610         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
1611
1612 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
1613
1614         [BZ #2551]
1615         [BZ #2552]
1616         [BZ #2553]
1617         [BZ #2554]
1618         [BZ #2562]
1619         [BZ #2563]
1620         [BZ #2565]
1621         [BZ #2566]
1622         [BZ #2576]
1623         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
1624         (y0): Likewise.
1625         * math/w_j0f.c (j0f): Likewise.
1626         (y0f): Likewise.
1627         * math/w_j0l.c (__j0l): Likewise.
1628         (__y0l): Likewise.
1629         * math/w_j1.c (j1): Likewise.
1630         (y1): Likewise.
1631         * math/w_j1f.c (j1f): Likewise.
1632         (y1f): Likewise.
1633         * math/w_j1l.c (__j1l): Likewise.
1634         (__y1l): Likewise.
1635         * math/w_jn.c (jn): Likewise.
1636         (yn): Likewise.
1637         * math/w_jnf.c (jnf): Likewise.
1638         (ynf): Likewise.
1639         * math/w_jnl.c (__jnl): Likewise.
1640         (__ynl): Likewise.
1641         * math/libm-test.inc (j0_test): Add more tests.
1642         (j1_test): Likewise.
1643         (jn_test): Likewise.  Add trailing semicolon to existing test.
1644         (y0_test): Likewise.
1645         (y1_test): Likewise.
1646         * sysdeps/i386/fpu/libm-test-ulps: Update.
1647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1648
1649         [BZ #13851]
1650         [BZ #13854]
1651         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
1652         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
1653         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
1654         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
1655         (__tanl): Set errno for infinite argument.
1656         * sysdeps/i386/fpu/mptan.c: Remove.
1657         * sysdeps/i386/fpu/s_tan.S: Likewise.
1658         * sysdeps/i386/fpu/s_tanl.S: Likewise.
1659         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
1660         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
1661         * math/libm-test.inc (tan_test): Add more tests and enable more
1662         tests for double and long double.
1663         * sysdeps/i386/fpu/libm-test-ulps: Update.
1664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1665
1666 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
1667
1668         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
1669         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
1670
1671 2012-03-16  Roland McGrath  <roland@hack.frob.com>
1672
1673         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
1674         * configure.in: Use it for both main tree and add-ons.
1675         * configure: Regenerated.
1676
1677 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1678
1679         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
1680
1681 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
1682
1683         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
1684         in comment.
1685
1686         [BZ #13851]
1687         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
1688         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
1689         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
1690         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
1691         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
1692         infinite argument.
1693         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
1694         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
1695         != 0 for prec == 2.
1696         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
1697         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
1698         * sysdeps/i386/fpu/s_cosl.S: Likewise.
1699         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1700         * sysdeps/i386/fpu/s_sinl.S: Likewise.
1701         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
1702         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
1703         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
1704         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
1705         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
1706         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
1707         * math/libm-test.inc (cos_test): Add more tests and enable more
1708         tests for long double.
1709         (sin_test): Likewise.
1710         (sincos_test): Likewise.
1711         * sysdeps/i386/fpu/libm-test-ulps: Update.
1712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1713
1714 2012-03-16  David S. Miller  <davem@davemloft.net>
1715
1716         * sysdeps/sparc/fpu/math_private.h: New file.
1717
1718 2012-03-15  David S. Miller  <davem@davemloft.net>
1719
1720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1721         file.
1722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
1723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1724         file.
1725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1726         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1727         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1728         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1729         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1730         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1731         sysdep routines.
1732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1733
1734         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1735         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1736
1737         * sysdeps/sparc/sparc-ifunc.h: New file.
1738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1739         sparc-ifunc.h
1740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1741         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1742         Likewise.
1743         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1744         Likewise.
1745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1746         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1749         Likewise.
1750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
1754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1755         Likewise.
1756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1757         Likewise.
1758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1762         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1763         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1764         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1765         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1766         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1767         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1768         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1769         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1770         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1771         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1772         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1773         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1774         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1775         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1776         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1777         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1778         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1779         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1780         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1781         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1782
1783 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
1784
1785         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1786         scaling.
1787         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1788
1789 2012-03-15  Andreas Jaeger  <aj@suse.de>
1790
1791         [BZ #13852]
1792         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1793         ieee754/flt-32 implementation for sin, cos and sincos.
1794         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1795         * sysdeps/i386/fpu/s_cosf.S: Likewise.
1796         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1797         * sysdeps/i386/fpu/s_sinf.S: Likewise.
1798         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1799         ieee754/flt-32 implementation for tan.
1800
1801         * math/libm-test.inc (cos_test): Enable some large input tests for
1802         float as well
1803         (sin_test): Likewise.
1804         (sincos_test): Likewise.
1805         (tan_test): Add tests for large input.
1806
1807         * sysdeps/i386/fpu/libm-test-ulps: Update.
1808
1809 2012-03-15  Andreas Jaeger  <aj@suse.de>
1810
1811         [BZ #13658]
1812         * math/libm-test.inc (cos_test): Add more test cases.
1813         (sin_test): Likewise.
1814         (sincos_test): Likewise.
1815
1816 2012-03-15  Andreas Jaeger  <aj@suse.de>
1817
1818         [BZ #13837]
1819         * math/libm-test.inc (cos_test): Add a test case for large input
1820         value.
1821         (sin_test): Likewise.
1822         (sincos_test): Likewise.
1823
1824 2012-03-15  Andreas Jaeger  <aj@suse.de>,
1825         Joseph Myers  <joseph@codesourcery.com>
1826
1827         [BZ #13658]
1828         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
1829         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1830         * sysdeps/i386/fpu/branred.c: Likewise.
1831         * sysdeps/i386/fpu/dosincos.c: Likewise.
1832         * sysdeps/i386/fpu/mpa.c: Likewise.
1833         * sysdeps/i386/fpu/s_cos.S: Likewise.
1834         * sysdeps/i386/fpu/s_sin.S: Likewise.
1835         * sysdeps/i386/fpu/s_sincos.S: Likewise.
1836         * sysdeps/i386/fpu/sincos32.c: Likewise.
1837
1838         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1839         Define.
1840         (libc_feupdateenv_53bit): Define.
1841         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1842         Define.
1843         (libc_feupdateenv_53bit): Define.
1844
1845         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1846         53 bit (without extend i386 double precision).
1847
1848         * math/libm-test.inc (sincos_test): Add tests for large input.
1849         (sin): Likewise.
1850         (cos): Likewise.
1851
1852         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1853
1854 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
1855
1856         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1857
1858 2012-03-15  David S. Miller  <davem@davemloft.net>
1859
1860         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1861         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1862         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1863         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1864         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1865         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1866         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1867         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1868         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1869         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1870         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1871         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1872         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1873         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1874         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
1875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1876         file.
1877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
1878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1879         file.
1880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
1881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1882         file.
1883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
1884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1885         file.
1886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1887         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1888         fmin/fmax sysdep routines.
1889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1890
1891 2012-03-14  David S. Miller  <davem@davemloft.net>
1892
1893         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1894         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1895         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1896         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1897         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1898         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1899         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1900         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1901         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1902         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1903         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1904         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1905         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1906         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1907         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1908         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1909         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1910         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1911         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1912         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1913         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1914         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1915         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1916         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1917         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1918         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1919         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1920         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
1921         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1922         routines.
1923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1924         file.
1925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
1926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1927         file.
1928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
1929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1930         file.
1931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
1932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1933         file.
1934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
1935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1936         file.
1937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
1938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1939         file.
1940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1941         file.
1942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1943         file.
1944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1945         file.
1946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1947         New file.
1948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1949         file.
1950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1951         file.
1952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
1953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1954         file.
1955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
1956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1957         file.
1958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
1959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1960         file.
1961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
1962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1963         VIS3 routines.
1964
1965         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1966         New file.
1967
1968         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1969
1970         * sysdeps/sparc/configure.in: New file.
1971         * sysdeps/sparc/configure: Generate.
1972         * configure.in (libc_cv_sparc_as_vis3): Substitute.
1973         * configure: Regenerate.
1974         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1975         * config.make.in (have-as-vis3): New.
1976         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1977         available use -Av9d instead of -Av9a.
1978         * sysdeps/sparc/sparc64/Makefile: Likewise.
1979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
1980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
1981         New file.
1982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
1983         file.
1984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
1985         New file.
1986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
1987         file.
1988         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
1989         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
1990         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
1991         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
1992         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
1993
1994         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
1995         fzeros/fnegs to load 0x80000000 into a float register instead of
1996         using the stack.
1997         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
1998
1999 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
2000
2001         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2002         bits/syscall.h.
2003         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
2004         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
2005         ($(inst_includedir)/bits/syscall.h): Remove rule.
2006         ($(objpfx)bits/syscall.d): Include instead of
2007         $(objpfx)syscall-list.d.
2008         (generated): Change syscall-list.h and syscall-list.d to
2009         bits/syscall.h and bits/syscall.d.
2010
2011 2012-03-14  Roland McGrath  <roland@hack.frob.com>
2012
2013         [BZ #13846]
2014         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
2015
2016 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
2017
2018         [BZ #13841]
2019         * math/s_csqrt.c: Include <float.h>.
2020         (__csqrt): Scale large or subnormal inputs.
2021         * math/s_csqrtf.c: Likewise.
2022         * math/s_csqrtl.c: Likewise.
2023         * math/libm-test.inc (csqrt_test): Add more tests.
2024         * sysdeps/i386/fpu/libm-test-ulps: Update.
2025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2026
2027         [BZ #13840]
2028         * math/libm-test.inc (hypot_test): Add more tests.
2029
2030 2012-03-13  David S. Miller  <davem@davemloft.net>
2031
2032         [BZ #13840]
2033         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
2034         double-precision for the calculation instead of scaling.
2035
2036 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
2037
2038         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
2039         manipulate bits before adding and subtracting TWO52[sx].
2040         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
2041         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
2042         Likewise.
2043         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
2044
2045 2012-03-13  David S. Miller  <davem@davemloft.net>
2046
2047         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
2048         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
2049         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
2050         rtld-global-offsets.h
2051         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2052
2053         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
2054         large parameters.
2055
2056         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
2057
2058         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
2059         'err' in the ifdef scope in which it is actually used.
2060
2061         * nss/nss_db/db-init.c: Include string.h
2062
2063 2012-03-12  David S. Miller  <davem@davemloft.net>
2064
2065         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
2066         masking out of the most significant byte of random value used.
2067         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2068         Fix coding style in previous change.
2069
2070         * sysdeps/unix/sysv/linux/kernel-features.h
2071         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
2072         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
2073         expression.
2074         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
2075         later.
2076
2077 2012-03-11  David S. Miller  <davem@davemloft.net>
2078
2079         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2080         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
2081         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
2082         for 'resultvar' otherwise things get truncated on 64-bit.
2083
2084         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2085         Fix masking out of the most significant byte of random value used.
2086
2087         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2088
2089 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
2090
2091         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2092
2093 2012-03-09  David S. Miller  <davem@davemloft.net>
2094
2095         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
2096         variables with appropriate CPP guards.
2097         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
2098         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
2099         on resulting framesize and the management of the outregs buffer for pltexit.
2100         Preserve floating point return values across _dl_call_pltexit call.
2101         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
2102         framesize and the management of the outregs buffer for pltexit.
2103         Preserve floating point return values across _dl_call_pltexit
2104         call.
2105         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
2106         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
2107         (print_exit): Fix format string for return register value.
2108
2109 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
2110
2111         * sunrpc/Makefile (others): Add rpcgen.
2112         ($(objpfx)rpcgen): Remove special build rule and dependency on
2113         libc.
2114         * sunrpc/rpcgen.c: New file.
2115
2116 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
2117
2118         [BZ #13673]
2119         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
2120         * stdio-common/bug-vfprintf-nargs.c: Likewise.
2121         * sysdeps/i386/crti.S: Likewise.
2122         * sysdeps/i386/crtn.S: Likewise.
2123         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
2124         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
2125         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
2126         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
2127         * sysdeps/sh/crti.S: Likewise.
2128         * sysdeps/sh/crtn.S: Likewise.
2129         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2130
2131         [BZ #13673]
2132         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
2133         with URL.
2134         * locale/programs/locfile-kw.gperf: Likewise.
2135         * locale/programs/charmap-kw.h: Regenerated.
2136         * locale/programs/locfile-kw.h: Likewise.
2137
2138         [BZ #13673]
2139         * intl/plural.y: Replace FSF snail mail address with URL.
2140         * intl/plural.c: Regenerated.
2141
2142 2012-03-09  Richard Henderson  <rth@twiddle.net>
2143
2144         * include/math_private.h: Remove file.
2145         * math/math_private.h: Move file ...
2146         * sysdeps/generic/math_private.h: ... here.
2147
2148         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
2149         * sysdeps/powerpc/fpu/math_private.h: Likewise.
2150         * sysdeps/x86_64/fpu/math_private.h: Likewise.
2151
2152         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
2153         and <math_private.h>.
2154         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2155         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2156         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2157         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2158         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2159         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
2160         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2161         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2162         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2163         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2164         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2165         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2166         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2167         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2168         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2169         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2170         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2171         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2172         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2173         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
2174         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2175         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2176         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2177         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2178         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2179         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2180         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2181         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2182         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2183         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2184         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2185         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2186         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2187         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2188         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2189         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2190         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2191         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2192         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2193         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2194         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
2195         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2196         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2197         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2198         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2199         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2200         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
2201         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2202         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2203         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2204         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2205         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
2206         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2207         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2208         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2209         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2210         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2211         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2212         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2213         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
2214         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2215         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2216         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2217         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2218         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
2219         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2220         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2221         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2222         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
2223         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
2224         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2225         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
2226         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2227         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2228         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
2229         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
2230         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
2231         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2232         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
2233         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
2234         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2235         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
2236         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2237         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
2238         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2239         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2240         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
2241         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
2242         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
2243         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2244         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2245         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
2246         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2247         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
2248         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
2249         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
2250         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
2251         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2252         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2253         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
2254         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
2255         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
2256         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
2257         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
2258         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2259         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
2260         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
2261         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
2262         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2263         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2264         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2265         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2266         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
2267         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2268         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
2269         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
2270         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2271         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2272         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2273         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
2274         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2275         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
2276         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
2277         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
2278         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2279         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2280         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
2281         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
2282         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2283         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
2284         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
2285         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
2286         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2287         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
2288         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
2289         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
2290         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
2291         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2292         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
2293         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
2294         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2295         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
2296         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
2297         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
2298         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
2299         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2300         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2301         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2302         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2303         * sysdeps/ieee754/k_standard.c: Likewise.
2304         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
2305         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2306         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2307         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2308         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2309         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2310         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2311         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2312         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2313         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2314         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2315         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2316         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2317         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2318         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2319         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2320         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2321         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2322         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2323         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2324         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2325         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2326         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2327         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2328         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2329         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2330         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2331         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2332         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2333         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2334         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2335         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2336         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2337         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2338         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2339         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2340         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2341         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
2342         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2343         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2344         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2345         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2346         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2347         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2348         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2349         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2350         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2351         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2352         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2353         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2354         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2355         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2356         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2357         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2358         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2359         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2360         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
2361         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2362         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2363         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2364         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2365         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2366         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2367         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
2368         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2369         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2370         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
2371         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
2372         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
2373         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
2374         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
2375         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2376         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
2377         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
2378         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
2379         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
2380         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
2381         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
2382         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2383         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2384         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2385         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2386         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2387         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2388         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
2389         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2390         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2391         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2392         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2393         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2394         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
2395         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2396         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2397         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2398         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2399         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2400         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
2401         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2402         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2403         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
2404         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2405         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2406         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2407         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2408         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
2409         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2410         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2411         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2412         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
2413         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2414         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2415         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2416         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
2417         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2418         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
2419         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2420         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
2421         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2422         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2423         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2424         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2425         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
2426         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2427         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
2428         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2429         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
2430         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2431         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2432         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2433         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2434         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2435         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2436         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2437         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2438         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2439         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2440         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
2441         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2442         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2443         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
2444         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
2445         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2446         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
2447         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
2448         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2449         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2450         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2451         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2452         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2453         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
2454         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2455         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
2456         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2457         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2458         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
2459         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
2460         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2461         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2462         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2463         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2464         * sysdeps/ieee754/s_lib_version.c: Likewise.
2465         * sysdeps/ieee754/s_matherr.c: Likewise.
2466         * sysdeps/ieee754/s_signgam.c: Likewise.
2467         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2468         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2469         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
2470         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
2471         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
2472         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2473         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
2474         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
2475         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
2476         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
2477         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2478         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
2479         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2480         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2481         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
2482         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2483         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2484         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2485         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2486         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2487         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2488
2489 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
2490
2491         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
2492         * sunrpc/rpc_main.c: Likewise.
2493         * sunrpc/rpc_svcout.c: Likewise.
2494
2495 2012-03-09  David S. Miller  <davem@davemloft.net>
2496
2497         * include/math_private.h: New file.
2498
2499 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
2500
2501         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
2502         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
2503         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
2504         from <bits/socket_type.h>.
2505         (enum __socket_type): Don't define here.
2506         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
2507         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2508         bits/socket_type.h.
2509
2510         [BZ #13566]
2511         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
2512         checking __USE_GNU.
2513
2514         * Makerules ($(inst_includedir)/%.h): New rule.
2515         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
2516         (install-others): Remove variable setting.
2517         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
2518
2519 2012-03-08  Richard Henderson  <rth@twiddle.net>
2520
2521         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
2522         from macro to inline function; merge with the
2523         !__LIBC_INTERNAL_MATH_INLINES version.
2524         (__ieee754_sqrtf): Likewise.
2525
2526         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
2527         to inline function.
2528         (__rintf, __floor, __floorf): Likewise.
2529
2530         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
2531         macro to inline function.
2532         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
2533
2534         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
2535         not <math/math_private.h>.
2536
2537 2012-03-08  David S. Miller  <davem@davemloft.net>
2538
2539         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
2540         copyright year.
2541         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2542
2543 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
2544
2545         * resolv/gai_misc.c (handle_requests): Fix struct timespec
2546         normalization.
2547         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
2548         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2549
2550 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
2551
2552         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
2553         be defined individually, they must be defined as a block.  Define
2554         S for printing a string instead of hidint the different by using a
2555         macro for adding the 'l'.
2556         * stdio-common/tst-fphex-wide.c: Adjust.
2557
2558 2012-03-07  Marek Polacek  <polacek@redhat.com>
2559
2560         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
2561
2562 2012-03-08  Marek Polacek  <polacek@redhat.com>
2563
2564         [BZ #13806]
2565         * stdio-common/Makefile (tests): Add tst-fphex-wide.
2566         * stdio-common/tst-fphex.c: Define a few macros to make the
2567         test reusable.  Use them.
2568         * stdio-common/tst-fphex-wide.c: New file.
2569
2570 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
2571
2572         [BZ #6911]
2573         * manual/macros.texi (gnusystems): New macro.
2574         (nongnusystems): Likewise.
2575         (gnulinuxhurdsystems): Likewise.
2576         (gnuhurdsystems): Likewise..
2577         (gnulinuxsystems): Likewise.
2578         * manual/charset.texi: Use new macros or @theglibc{} to refer to
2579         variants of the GNU system, not "GNU system".
2580         * manual/conf.texi: Likewise.
2581         * manual/errno.texi: Likewise.  Update example of errno macro
2582         expansion.
2583         * manual/filesys.texi: Likewise.
2584         (getumask): Document as specific to GNU/Hurd.
2585         * manual/install.texi: Likewise.  Reword some references to
2586         GNU/Linux.
2587         * manual/intro.texi: Likewise.
2588         * manual/io.texi: Likewise.
2589         (File Name Portability): Detail which constraints are inapplicable
2590         to all GNU systems and which are only inapplicable to GNU/Hurd.
2591         * manual/job.texi: Likewise.
2592         * manual/llio.texi: Likewise.
2593         (O_NOCTTY): Document as present on GNU/Linux.
2594         * manual/maint.texi: Likewise.
2595         * manual/memory.texi: Likewise.
2596         * manual/pattern.texi: Likewise.
2597         * manual/pipe.texi: Likewise.
2598         * manual/process.texi: Likewise.
2599         * manual/resource.texi: Likewise.
2600         (RUSAGE_CHILDREN): Remove statement about specifying a particular
2601         child on GNU/Hurd.
2602         * manual/setjmp.texi: Likewise.
2603         * manual/signal.texi: Likewise.
2604         * manual/startup.texi: Likewise.
2605         * manual/stdio.texi: Likewise.
2606         * manual/terminal.texi: Likewise.
2607         (ONLCR): Document as POSIX.
2608         (OXTABS): Document availability on GNU/Linux as XTABS.
2609         (ONOEOT): Document availability separately from other bits.
2610         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
2611         * manual/time.texi: Likewise.
2612         * manual/users.texi: Likewise.
2613         * INSTALL: Regenerated.
2614         * sysdeps/gnu/errlist.c: Regenerated.
2615
2616         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
2617         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
2618         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
2619         puts.
2620         * configure: Regenerated.
2621
2622 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
2623
2624         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
2625         default includes instead of AC_HEADER_CHECK.
2626         * sysdeps/i386/configure: Regenerated.
2627
2628         [BZ #10716]
2629         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
2630         * math/s_cacoshf.c (__cacoshf): Likewise.
2631         * math/s_cacoshl.c (__cacoshl): Likewise.
2632         * math/s_casinh.c (__casinh): Set signs of result from argument.
2633         * math/s_casinhf.c (__casinhf): Likewise.
2634         * math/s_casinhl.c (__casinhl): Likewise.
2635         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
2636         (casinh_test): Add more tests.
2637         * sysdeps/i386/fpu/libm-test-ulps: Update.
2638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2639
2640 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
2641
2642         * po/zh_TW.po: Update from translation team.
2643
2644         * login/Makefile (distribute): Remove variable.
2645         * catgets/Makefile: Likewise.
2646         * mach/Makefile: Likewise.
2647         * malloc/Makefile: Likewise.
2648         * misc/Makefile: Likewise.
2649         * iconv/Makefile: Likewise.
2650         * nscd/Makefile: Likewise.
2651         * hurd/Makefile: Likewise.
2652         * manual/Makefile: Likewise.
2653         * locale/Makefile: Likewise.
2654         * intl/Makefile: Likewise.
2655         * conform/Makefile: Likewise.
2656         * nss/Makefile: Likewise.
2657         * time/Makefile: Likewise.
2658         * soft-fp/Makefile: Likewise.
2659         * dirent/Makefile: Likewise.
2660         * gmon/Makefile: Likewise.
2661         * po/Makefile: Likewise.
2662         * rt/Makefile: Likewise.
2663         * socket/Makefile: Likewise.
2664         * math/Makefile: Likewise.
2665         * signal/Makefile: Likewise.
2666         * debug/Makefile: Likewise.
2667         * elf/Makefile: Likewise.
2668         * timezone/Makefile: Likewise.
2669         * stdlib/Makefile: Likewise.
2670         * iconvdata/Makefile: Likewise.
2671         * sunrpc/Makefile: Likewise.
2672         * io/Makefile: Likewise.
2673         * argp/Makefile: Likewise.
2674         * inet/Makefile: Likewise.
2675         * hesiod/Makefile: Likewise.
2676         * grp/Makefile: Likewise.
2677         * csu/Makefile: Likewise.
2678         * wctype/Makefile: Likewise.
2679         * crypt/Makefile: Likewise.
2680         * libio/Makefile: Likewise.
2681         * string/Makefile: Likewise.
2682         * nis/Makefile: Likewise.
2683         * resolv/Makefile: Likewise.
2684         * stdio-common/Makefile: Likewise.
2685         * wcsmbs/Makefile: Likewise.
2686         * dlfcn/Makefile: Likewise.
2687         * posix/Makefile: Likewise.
2688
2689         * timezone/Makefile: Don't install timezone files, just the programs
2690         and scripts.
2691
2692 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
2693
2694         * nss/databases.def: Add missing gshadow entry.
2695
2696         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
2697
2698 2012-03-06  Marek Polacek  <polacek@redhat.com>
2699
2700         [BZ #13726]
2701         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
2702         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2703         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
2704         * stdio-common/tst-long-dbl-fphex.c: New file.
2705
2706 2012-03-06  David S. Miller  <davem@davemloft.net>
2707
2708         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2709         (set_obp_int): New function.
2710         (get_obp_int): New function.
2711         (__get_clockfreq_via_dev_openprom): Likewise.
2712         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
2713         Avoid unused variable warnings on 'val' and use builtin_expect.
2714         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
2715         __builtin_expect.
2716         (INLINE_CLONE_SYSCALL): Likewise.
2717
2718 2012-03-05  David S. Miller  <davem@davemloft.net>
2719
2720         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2721
2722 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
2723
2724         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2725
2726         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2727         only for |x| >= 40.
2728         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2729
2730 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
2731
2732         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2733         Replace gettimeofday with __vdso_gettimeofday.
2734
2735         * sysdeps/unix/sysv/linux/x86_64/init-first.c
2736         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2737         __vdso_clock_gettime and __vdso_getcpu.
2738
2739         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2740         time with __vdso_time.
2741
2742 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
2743
2744         * manual/lang.texi (size_t): Note types to which size_t may be
2745         equivalent with the GNU C Library, but do not describe when
2746         differences between them are significant.
2747
2748 2012-03-05  Andreas Jaeger  <aj@suse.de>
2749
2750         * sysdeps/i386/fpu/libm-test-ulps: Update.
2751
2752 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
2753
2754         [BZ #3976]
2755         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2756         (__ieee754_pow): Save and restore rounding mode and use
2757         round-to-nearest for main computations.
2758         * math/libm-test.inc (pow_test_tonearest): New function.
2759         (pow_test_towardzero): Likewise.
2760         (pow_test_downward): Likewise.
2761         (pow_test_upward): Likewise.
2762         (main): Call the new functions.
2763         * sysdeps/i386/fpu/libm-test-ulps: Update.
2764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2765
2766         [BZ #3976]
2767         * math/libm-test.inc (cosh_test_tonearest): New function.
2768         (cosh_test_towardzero): Likewise.
2769         (cosh_test_downward): Likewise.
2770         (cosh_test_upward): Likewise.
2771         (sinh_test_tonearest): Likewise.
2772         (sinh_test_towardzero): Likewise.
2773         (sinh_test_downward): Likewise.
2774         (sinh_test_upward): Likewise.
2775         (main): Call the new functions.
2776         * sysdeps/i386/fpu/libm-test-ulps: Update.
2777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2778
2779 2012-03-05  Tom de Vries  <tom@codesourcery.com>
2780
2781         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2782         default stack guard is set in last bytes.
2783         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2784
2785 2012-03-05  Kees Cook  <keescook@chromium.org>
2786
2787         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
2788
2789         [BZ #13656]
2790         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2791         possibly allocate from heap instead of stack.
2792         * stdio-common/bug-vfprintf-nargs.c: New file.
2793         * stdio-common/Makefile (tests): Add nargs overflow test.
2794
2795 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
2796
2797         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2798
2799 2012-03-03  Marek Polacek  <polacek@redhat.com>
2800
2801         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2802         * math/math_private.h: Likewise.
2803         * stdlib/tst-strtod.c: Likewise.
2804         * sysdeps/i386/i486/bits/atomic.h: Likewise.
2805         * sysdeps/x86_64/bits/atomic.h: Likewise.
2806
2807 2012-03-02  David S. Miller  <davem@davemloft.net>
2808
2809         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2810         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2811         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2812         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2813         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2814         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2815         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2816         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2817
2818 2012-03-02  Roland McGrath  <roland@hack.frob.com>
2819
2820         [BZ #13792]
2821         * manual/examples/README: New file, says the example source files
2822         can be used under GPL>=2.
2823         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2824         line containing just "*/".
2825         * manual/examples/add.c: Add copyright header (GPL>=2).
2826         * manual/examples/argp-ex1.c: Likewise.
2827         * manual/examples/argp-ex2.c: Likewise.
2828         * manual/examples/argp-ex3.c: Likewise.
2829         * manual/examples/argp-ex4.c: Likewise.
2830         * manual/examples/atexit.c: Likewise.
2831         * manual/examples/db.c: Likewise.
2832         * manual/examples/dir.c: Likewise.
2833         * manual/examples/dir2.c: Likewise.
2834         * manual/examples/execinfo.c: Likewise.
2835         * manual/examples/filecli.c: Likewise.
2836         * manual/examples/filesrv.c: Likewise.
2837         * manual/examples/fmtmsgexpl.c: Likewise.
2838         * manual/examples/genpass.c: Likewise.
2839         * manual/examples/inetcli.c: Likewise.
2840         * manual/examples/inetsrv.c: Likewise.
2841         * manual/examples/isockad.c: Likewise.
2842         * manual/examples/longopt.c: Likewise.
2843         * manual/examples/memopen.c: Likewise.
2844         * manual/examples/memstrm.c: Likewise.
2845         * manual/examples/mkfsock.c: Likewise.
2846         * manual/examples/mkisock.c: Likewise.
2847         * manual/examples/mygetpass.c: Likewise.
2848         * manual/examples/pipe.c: Likewise.
2849         * manual/examples/popen.c: Likewise.
2850         * manual/examples/rprintf.c: Likewise.
2851         * manual/examples/search.c: Likewise.
2852         * manual/examples/select.c: Likewise.
2853         * manual/examples/setjmp.c: Likewise.
2854         * manual/examples/sigh1.c: Likewise.
2855         * manual/examples/sigusr.c: Likewise.
2856         * manual/examples/stpcpy.c: Likewise.
2857         * manual/examples/strdupa.c: Likewise.
2858         * manual/examples/strftim.c: Likewise.
2859         * manual/examples/strncat.c: Likewise.
2860         * manual/examples/subopt.c: Likewise.
2861         * manual/examples/swapcontext.c: Likewise.
2862         * manual/examples/termios.c: Likewise.
2863         * manual/examples/testopt.c: Likewise.
2864         * manual/examples/testpass.c: Likewise.
2865         * manual/examples/timeval_subtract.c: Likewise.
2866
2867         [BZ #13792]
2868         * manual/time.texi (Elapsed Time): Move timeval_subtract example
2869         function to ...
2870         * manual/timeval_subtract.c.texi: ... here, new file.
2871
2872 2012-03-02  David S. Miller  <davem@davemloft.net>
2873
2874         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2875
2876 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
2877
2878         [BZ #3976]
2879         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2880         (__sin): Save and restore rounding mode and use round-to-nearest
2881         for all computations.
2882         (__cos): Save and restore rounding mode and use round-to-nearest
2883         for all computations.
2884         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2885         <fenv.h>.
2886         (tan): Save and restore rounding mode and use round-to-nearest for
2887         all computations.
2888         * math/libm-test.inc (cos_test_tonearest): New function.
2889         (cos_test_towardzero): Likewise.
2890         (cos_test_downward): Likewise.
2891         (cos_test_upward): Likewise.
2892         (sin_test_tonearest): Likewise.
2893         (sin_test_towardzero): Likewise.
2894         (sin_test_downward): Likewise.
2895         (sin_test_upward): Likewise.
2896         (tan_test_tonearest): Likewise.
2897         (tan_test_towardzero): Likewise.
2898         (tan_test_downward): Likewise.
2899         (tan_test_upward): Likewise.
2900         (main): Call the new functions.
2901         * sysdeps/i386/fpu/libm-test-ulps: Update.
2902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2903
2904         [BZ #10135]
2905         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2906         small n, then large n, before computing and testing k+n.
2907         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2908         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2909         Likewise.
2910         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2911         Likewise.
2912         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2913         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2914         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2915         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2916         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2917         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2918         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2919         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2920         * math/libm-test.inc (scalbn_test): Add more tests.
2921         (scalbln_test): Likewise.
2922
2923         * manual/filesys.texi (mode_t): Describe constraints on size and
2924         signedness, not exact equivalence to a particular type.
2925         (ino_t): Likewise.
2926         (ino64_t): Likewise.
2927         (dev_t): Likewise.
2928         (nlink_t): Likewise.
2929         (blkcnt_t): Likewise.
2930         (blkcnt64_t): Likewise.
2931         * manual/llio.texi (off_t): Likewise.
2932
2933         [BZ #3976]
2934         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2935         (__ieee754_exp): Save and restore rounding mode and use
2936         round-to-nearest for all computations.
2937         * math/libm-test.inc (exp_test_tonearest): New function.
2938         (exp_test_towardzero): Likewise.
2939         (exp_test_downward): Likewise.
2940         (exp_test_upward): Likewise.
2941         (main): Call the new functions.
2942         * sysdeps/i386/fpu/libm-test-ulps: Update.
2943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2944
2945 2012-03-01  Chris Demetriou  <cgd@google.com>
2946
2947         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2948         have predictable order.
2949
2950 2012-03-01  David S. Miller  <davem@davemloft.net>
2951
2952         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2953
2954         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2955         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2956         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2957         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2958
2959         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2960         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2961         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2962         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2963         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2964         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2965         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2966         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2967         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2968
2969         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2970
2971         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2972         * sysdeps/sparc/fpu/libm-test-ulps: to here.
2973         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2974
2975         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2976         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2977         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2978         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2979         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2980         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2981         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2982         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2983         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2984         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2985         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2986         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2987         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2988         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2989         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2990         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2991         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
2992         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
2993         * sysdeps/sparc/elf/configure: Regenerated.
2994
2995 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
2996
2997         * configure.in (AS, LD): Require binutils 2.20 or later.
2998         * configure: Regenerated.
2999         * manual/install.texi (Tools for Compilation): Give binutils 2.20
3000         as required minimum version.
3001         * INSTALL: Regenerated.
3002
3003         [BZ #2541]
3004         [BZ #4108]
3005         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
3006         before squaring exponent.
3007         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
3008         bottom long double and 27 bits of top long double before squaring
3009         exponent.
3010         * math/libm-test.inc (erfc_test): Add more tests.
3011         * sysdeps/i386/fpu/libm-test-ulps: Update.
3012         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3014
3015 2012-03-01  Kai Tietz  <ktietz@redhat.com>
3016
3017         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
3018         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
3019         containing bit-fields.
3020         * soft-fp/extended.h (_FP_UNION_E): Likewise.
3021         * soft-fp/single.h (_FP_UNION_S): Likewise.
3022         * soft-fp/double.h (_FP_UNION_D): Likewise.
3023
3024 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
3025
3026         [BZ #13786]
3027         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
3028         not include ../strcmp.S.
3029         [USE_AS_STRNCASECMP_L]: Likewise.
3030         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
3031         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
3032         * sysdeps/i386/i686/multiarch/strncase_l-c.c
3033         (__strncasecmp_l_ia32): Define as alias to
3034         __strncasecmp_l_nonascii.
3035
3036         [BZ #5794]
3037         * math/libm-test.inc (expm1_test): Add test for bug 5794.
3038         * sysdeps/i386/fpu/libm-test-ulps: Update.
3039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3040
3041         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
3042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3043
3044 2012-02-29  Jeff Law  <law@redhat.com>
3045
3046         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
3047         out of bounds read.
3048
3049 2012-02-29  Marek Polacek  <polacek@redhat.com>
3050
3051         [BZ #13706]
3052         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
3053         * elf/Makefile: Add rules to run tst-unused-dep.out.
3054
3055 2012-02-28  David S. Miller  <davem@davemloft.net>
3056
3057         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
3058         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
3059         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
3060         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
3061         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
3062         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
3063
3064 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
3065
3066         * math/libm-test.inc (llround_test): Move one test from
3067         lround_test.  Use TEST_f_L in moved test.
3068         (lround_test): Move misplaced test to llround_test.  Add testcase
3069         from bug 2561.
3070
3071 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
3072
3073         * sysdeps/x86_64/fpu/e_expf.S: New file.
3074         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
3075
3076 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
3077
3078         [BZ #13637]
3079         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
3080         of remain_len that may cause incomplete multi-byte character and
3081         false match.
3082         * posix/bug-regex33.c: New file.
3083         * posix/Makefile (tests): Add bug-regex33.
3084
3085 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
3086
3087         * manual/macros.texi: New file.
3088         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
3089         * manual/libc.texinfo: Include macros.texi.
3090         * manual/creatute.texi: Likewise.
3091         * manual/install.texi: Likewise.
3092         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
3093         @glibcadj{} in references to the GNU C Library.
3094         * manual/charset.texi: Likewise.
3095         * manual/conf.texi: Likewise.
3096         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
3097         when not using those macros.
3098         * manual/creature.texi: Likewise.
3099         * manual/crypt.texi: Likewise.
3100         * manual/errno.texi: Likewise.
3101         * manual/filesys.texi: Likewise.
3102         * manual/header.texi: Likewise.
3103         * manual/install.texi: Likewise.
3104         * manual/intro.texi: Likewise.
3105         * manual/io.texi: Likewise.
3106         * manual/job.texi: Likewise.
3107         * manual/lang.texi: Likewise.
3108         * manual/libc.texiinfo: Likewise.
3109         * manual/llio.texi: Likewise.
3110         * manual/locale.texi: Likewise.
3111         * manual/maint.texi: Likewise.
3112         * manual/math.texi: Likewise.
3113         * manual/memory.texi: Likewise.
3114         * manual/message.texi: Likewise.
3115         * manual/nss.texi: Likewise.
3116         * manual/pattern.texi: Likewise.
3117         * manual/process.texi: Likewise.
3118         * manual/resource.texi: Likewise.
3119         * manual/search.texi: Likewise.
3120         * manual/setjmp.texi: Likewise.
3121         * manual/signal.texi: Likewise.
3122         * manual/socket.texi: Likewise.
3123         * manual/startup.texi: Likewise.
3124         * manual/stdio.texi: Likewise.
3125         * manual/string.texi: Likewise.
3126         * manual/sysinfo.texi: Likewise.
3127         * manual/syslog.texi: Likewise.
3128         * manual/terminal.texi: Likewise.
3129         * manual/time.texi: Likewise.
3130         * manual/users.texi: Likewise.
3131         * INSTALL: Regenerated.
3132         * NOTES: Regenerated.
3133         * sysdeps/gnu/errlist.c: Regenerated.
3134
3135 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
3136
3137         * include/dirent.h: Include <dirstream.h> before
3138         <dirent/dirent.h>.
3139
3140 2012-02-28  David S. Miller  <davem@davemloft.net>
3141
3142         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
3143         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
3144         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
3145         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
3146
3147 2012-02-27  David S. Miller  <davem@davemloft.net>
3148
3149         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
3150         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
3151         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
3152         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
3153
3154         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
3155         frame pointer instead of stack pointer relative arg slot.
3156         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3157         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3158         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3159
3160 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
3161
3162         [BZ #3992]
3163         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
3164
3165 2012-02-27  David S. Miller  <davem@davemloft.net>
3166
3167         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
3168         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3169         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3170         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
3171         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3172         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3173         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
3174         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
3175
3176 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
3177
3178         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
3179         later.  Allow versions 5-9.
3180         * configure: Regenerated.
3181         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
3182         required minimum version and 4.6 as recommended version.  Do not
3183         mention bugs in GCC 2.7 and 2.8.
3184         * INSTALL: Regenerated.
3185
3186 2012-02-27  David S. Miller  <davem@davemloft.net>
3187
3188         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
3189         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
3190         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
3191         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
3192         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
3193         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
3194         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
3195         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
3196
3197         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
3198         manipulate bits before adding and subtracting TWO112[sx].
3199         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3200
3201 2012-02-27  Roland McGrath  <roland@hack.frob.com>
3202
3203         [BZ #13775]
3204         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
3205         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
3206         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
3207         being in POSIX, because they are in 1003.1-2008.
3208
3209         * rt/tst-aio.c: Include <fcntl.h>.
3210         * rt/tst-aio7.c: Likewise.
3211         * rt/tst-aio64.c: Likewise.
3212
3213         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
3214
3215 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
3216
3217         * manual/install.texi (--with-headers): Describe headers as
3218         interface headers, not private headers.
3219         (Specific advice for GNU/Linux systems): Describe use of headers
3220         from "make headers_install", not private headers from older
3221         kernels.
3222         * INSTALL: Regenerated.
3223         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
3224         Change to 2.6.19.
3225         * sysdeps/unix/sysv/linux/configure: Regenerated.
3226
3227         * manual/llio.texi (fclean): Remove documentation.
3228
3229         * manual/Makefile (libc-texi-generated): New variable.  Include
3230         version.texi.
3231         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
3232         $(libc-texi-generated), not duplicated list of files.
3233         (version.texi, stamp-version): New rules.
3234         (realclean): Remove $(libc-texi-generated), not individual files
3235         from that list.  Do not remove dir-add.texinfo.
3236         * manual/libc.texinfo: Comment out uses of edition numbers and
3237         references to printed manual.  Remove last-updated dates.
3238         (EDITION): Comment out.
3239         (ISBN): Likewise.
3240         (VERSION, UPDATED): Remove.
3241         (version.texi): Include.
3242
3243 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
3244
3245         * sysdeps/posix/spawni.c: Include <signal.h>.
3246         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
3247         * sysdeps/pthread/aio_fsync.c: Likewise.
3248
3249 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
3250
3251         * conform/Makefile (tests): Run only when not cross-compiling and
3252         when fast-check is not defined.
3253
3254         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
3255         * conform/data/limits.h-data: Fixes for POSIX2008.
3256         * conform/run-conformtest.sh: Run all tests.
3257         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
3258         headers.
3259         * include/bits/dlfcn.h: Likewise.
3260         * include/langinfo.h: Likewise.
3261         * include/monetary.h: Likewise.
3262         * include/sys/poll.h: Likewise.
3263
3264         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
3265         for __USE_GNU.
3266         * posix/spawn.h: Define __need_sigset_t.
3267         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
3268         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
3269         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
3270         to get sigevent_t only.
3271         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
3272         only for __USE_GNU.
3273         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3274         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
3275         process_vm_writev only for __USE_GNU.
3276         * termios/termios.h: Declare tcgetsid also for POSIX2008.
3277
3278         * conform/Makefile: For now ignore errors from run-conformtest.
3279         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
3280         POSIX to avoid namespace pollution.  Don't prepend headers.
3281         * conform/data/aio.h-data: Fixes for POSIX testing.
3282         * conform/data/fcntl.h-data: Likewise.
3283         * conform/data/glob.h-data: Likewise.
3284         * conform/data/grp.h-data: Likewise.
3285         * conform/data/pthread.h-data: Likewise.
3286         * conform/data/pwd.h-data: Likewise.
3287         * conform/data/signal.h-data: Likewise.
3288         * conform/data/spawn.h-data: Likewise.
3289         * conform/data/stdio.h-data: Likewise.
3290         * conform/data/stdlib.h-data: Likewise.
3291         * conform/data/stropts.h-data: Likewise.
3292         * conform/data/sys/mman.h-data: Likewise.
3293         * conform/data/sys/stat.h-data: Likewise.
3294         * conform/data/sys/types.h-data: Likewise.
3295         * conform/data/sys/wait.h-data: Likewise.
3296         * conform/data/time.h-data: Likewise.
3297         * conform/data/unistd.h-data: Likewise.
3298         * conform/data/utime.h-data: Likewise.
3299
3300         * io/sys/stat.h: fchmod was always in POSIX.
3301         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
3302         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
3303         * rt/aio.h: Define __need_timespec before including <time.h>.
3304         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
3305         struct.  Add forward declaration of pthread_attr_t and use it in
3306         sigevent.
3307         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
3308         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3309         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
3310         always remove CLK_TCK definition.
3311
3312 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
3313
3314         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
3315
3316 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
3317
3318         * conform/run-conformtest.sh: New file.
3319         * conform/Makefile: Run run-conformtest for tests.
3320         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
3321         support.
3322
3323         * conform/data/uchar.h-data: New file.
3324         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
3325         * conform/data/arpa/inet.h-data: Likewise.
3326         * conform/data/assert.h-data: Likewise.
3327         * conform/data/complex.h-data: Likewise.
3328         * conform/data/cpio.h-data: Likewise.
3329         * conform/data/ctype.h-data: Likewise.
3330         * conform/data/dirent.h-data: Likewise.
3331         * conform/data/dlfcn.h-data: Likewise.
3332         * conform/data/errno.h-data: Likewise.
3333         * conform/data/fcntl.h-data: Likewise.
3334         * conform/data/float.h-data: Likewise.
3335         * conform/data/fmtmsg.h-data: Likewise.
3336         * conform/data/fnmatch.h-data: Likewise.
3337         * conform/data/ftw.h-data: Likewise.
3338         * conform/data/glob.h-data: Likewise.
3339         * conform/data/grp.h-data: Likewise.
3340         * conform/data/iconv.h-data: Likewise.
3341         * conform/data/inttypes.h-data: Likewise.
3342         * conform/data/langinfo.h-data: Likewise.
3343         * conform/data/libgen.h-data: Likewise.
3344         * conform/data/limits.h-data: Likewise.
3345         * conform/data/locale.h-data: Likewise.
3346         * conform/data/math.h-data: Likewise.
3347         * conform/data/monetary.h-data: Likewise.
3348         * conform/data/mqueue.h-data: Likewise.
3349         * conform/data/ndbm.h-data: Likewise.
3350         * conform/data/net/if.h-data: Likewise.
3351         * conform/data/netdb.h-data: Likewise.
3352         * conform/data/netinet/in.h-data: Likewise.
3353         * conform/data/nl_types.h-data: Likewise.
3354         * conform/data/poll.h-data: Likewise.
3355         * conform/data/pthread.h-data: Likewise.
3356         * conform/data/pwd.h-data: Likewise.
3357         * conform/data/regex.h-data: Likewise.
3358         * conform/data/sched.h-data: Likewise.
3359         * conform/data/search.h-data: Likewise.
3360         * conform/data/semaphore.h-data: Likewise.
3361         * conform/data/setjmp.h-data: Likewise.
3362         * conform/data/signal.h-data: Likewise.
3363         * conform/data/spawn.h-data: Likewise.
3364         * conform/data/stdarg.h-data: Likewise.
3365         * conform/data/stdio.h-data: Likewise.
3366         * conform/data/stdlib.h-data: Likewise.
3367         * conform/data/string.h-data: Likewise.
3368         * conform/data/strings.h-data: Likewise.
3369         * conform/data/stropts.h-data: Likewise.
3370         * conform/data/sys/ipc.h-data: Likewise.
3371         * conform/data/sys/mman.h-data: Likewise.
3372         * conform/data/sys/msg.h-data: Likewise.
3373         * conform/data/sys/resource.h-data: Likewise.
3374         * conform/data/sys/select.h-data: Likewise.
3375         * conform/data/sys/sem.h-data: Likewise.
3376         * conform/data/sys/shm.h-data: Likewise.
3377         * conform/data/sys/socket.h-data: Likewise.
3378         * conform/data/sys/stat.h-data: Likewise.
3379         * conform/data/sys/statvfs.h-data: Likewise.
3380         * conform/data/sys/time.h-data: Likewise.
3381         * conform/data/sys/timeb.h-data: Likewise.
3382         * conform/data/sys/times.h-data: Likewise.
3383         * conform/data/sys/types.h-data: Likewise.
3384         * conform/data/sys/uio.h-data: Likewise.
3385         * conform/data/sys/un.h-data: Likewise.
3386         * conform/data/sys/utsname.h-data: Likewise.
3387         * conform/data/sys/wait.h-data: Likewise.
3388         * conform/data/syslog.h-data: Likewise.
3389         * conform/data/tar.h-data: Likewise.
3390         * conform/data/termios.h-data: Likewise.
3391         * conform/data/utime.h-data: Likewise.
3392         * conform/data/utmpx.h-data: Likewise.
3393         * conform/data/varargs.h-data: Likewise.
3394         * conform/data/wchar.h-data: Likewise.
3395         * conform/data/wctype.h-data: Likewise.
3396         * conform/data/wordexp.h-data: Likewise.
3397
3398         * include/stropts.h: New file.
3399         * include/uchar.h: New file.
3400         * include/aio.h: Changes to allow conformtest.pl to use the headers.
3401         * include/assert.h: Likewise.
3402         * include/ctype.h: Likewise.
3403         * include/dirent.h: Likewise.
3404         * include/dlfcn.h: Likewise.
3405         * include/fcntl.h: Likewise.
3406         * include/fnmatch.h: Likewise.
3407         * include/glob.h: Likewise.
3408         * include/grp.h: Likewise.
3409         * include/libio.h: Likewise.
3410         * include/locale.h: Likewise.
3411         * include/math.h: Likewise.
3412         * include/net/if.h: Likewise.
3413         * include/netdb.h: Likewise.
3414         * include/netinet/in.h: Likewise.
3415         * include/pthread.h: Likewise.
3416         * include/pwd.h: Likewise.
3417         * include/regex.h: Likewise.
3418         * include/sched.h: Likewise.
3419         * include/search.h: Likewise.
3420         * include/setjmp.h: Likewise.
3421         * include/signal.h: Likewise.
3422         * include/stdio.h: Likewise.
3423         * include/stdlib.h: Likewise.
3424         * include/string.h: Likewise.
3425         * include/sys/cdefs.h: Likewise.
3426         * include/sys/mman.h: Likewise.
3427         * include/sys/msg.h: Likewise.
3428         * include/sys/resource.h: Likewise.
3429         * include/sys/select.h: Likewise.
3430         * include/sys/socket.h: Likewise.
3431         * include/sys/stat.h: Likewise.
3432         * include/sys/statvfs.h: Likewise.
3433         * include/sys/time.h: Likewise.
3434         * include/sys/times.h: Likewise.
3435         * include/sys/uio.h: Likewise.
3436         * include/sys/utsname.h: Likewise.
3437         * include/sys/wait.h: Likewise.
3438         * include/termios.h: Likewise.
3439         * include/time.h: Likewise.
3440         * include/ulimit.h: Likewise.
3441         * include/unistd.h: Likewise.
3442         * include/utime.h: Likewise.
3443         * include/wchar.h: Likewise.
3444         * include/wctype.h: Likewise.
3445         * include/wordexp.h: Likewise.
3446
3447         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
3448
3449         * time/time.h: TIME_UTC must be a macro.
3450         Make timespec_get available for ISO C11 only as well.
3451
3452 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
3453
3454         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
3455         Reported by Peng Haitao <penght@cn.fujitsu.com>.
3456
3457 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
3458
3459         * configure.in: Use -o not -a in test for unsupported multi-arch.
3460
3461 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
3462
3463         * manual/texinfo.tex: Update to version 2012-01-19.16.
3464
3465 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
3466
3467         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
3468
3469 2012-02-24  Roland McGrath  <roland@hack.frob.com>
3470
3471         [BZ #13738]
3472         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
3473         * manual/fdl-1.3.texi: New file.
3474         * manual/fdl-1.1.texi: File removed.
3475
3476         [BZ #13738]
3477         * manual/libc.texinfo (FDL_VERSION): New @set.
3478         Use it for mention of FDL in cover text.
3479         (Documentation License): Use it in @include file name.
3480
3481 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3482             Roland McGrath  <roland@hack.frob.com>
3483
3484         [BZ #5461]
3485         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
3486         not LONG_LONG_MAX and LONG_LONG_MIN.
3487         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
3488         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
3489         name.
3490         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
3491
3492 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3493
3494         [BZ #2547]
3495         [BZ #11365]
3496         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
3497         manipulate bits before adding and subtracting TWO23[sx].
3498         * math/libm-test.inc (nearbyint_test): Add more tests.
3499
3500 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3501
3502         [BZ #2548]
3503         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
3504         bits before adding and subtracting TWO23[sx].
3505         * math/libm-test.inc (rint_test): Add more tests.
3506         (rint_test_tonearest): Likewise.
3507         (rint_test_towardzero): Likewise.
3508         (rint_test_downward): Likewise.
3509         (rint_test_upward: Likewise.
3510
3511 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3512
3513         [BZ #10110]
3514         * include/stdc-predef.h: New file.  Extracted from features.h.
3515         * include/features.h: Include stdc-predef.h.
3516         * Makefile (headers): Add stdc-predef.h.
3517         * CONFORMANCE (Compiler limitations): Update.
3518
3519 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3520
3521         * manual/libc.texinfo (VERSION, UPDATED): Revert.
3522
3523 2012-02-21  David S. Miller  <davem@davemloft.net>
3524
3525         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
3526         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3527
3528 2012-02-20  David S. Miller  <davem@davemloft.net>
3529
3530         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
3531         using a normal save/restore sequence, rather than allocating a
3532         dummy stack frame just to store a frame pointer and restore.
3533         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3534
3535 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
3536
3537         * manual/install.texi: Fix stray word in line-wrapped comment.
3538
3539 2012-02-20  David S. Miller  <davem@davemloft.net>
3540
3541         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
3542         both binutils and gcc support GOTDATA.
3543
3544         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
3545         "rd %pc" in the PIC register setup sequences.
3546
3547         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
3548         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3549         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3550         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3551         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3552         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3553         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3554         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3555         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
3556         (SYSCALL_ERROR_HANDLER): Likewise.
3557         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3558         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3559         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
3560         (SYSCALL_ERROR_HANDLER): Likewise.
3561
3562         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
3563         (HAVE_GCC_GOTDATA): New.
3564         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
3565         relocation support in both binutils and gcc.
3566         * sysdeps/sparc/elf/configure: Regenerate.
3567
3568         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
3569         * sysdeps/sparc/sparc32/elf/configure: Delete.
3570         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
3571         * sysdeps/sparc/sparc64/elf/configure: Delete.
3572         * sysdeps/sparc/elf/configure.in: New file.
3573         * sysdeps/sparc/elf/configure: Generate.
3574
3575         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
3576         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
3577         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
3578         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
3579         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
3580
3581 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
3582
3583         * manual/install.texi: Do not mention specific glibc version
3584         numbers.
3585         * manual/libc.texinfo (VERSION, UPDATED): Update.
3586         (@copying): Use @copyright{} and range of years.
3587
3588 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
3589
3590         [BZ #13695]
3591         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
3592         [crti.S not in sysdirs] (generated): Do not append.
3593         [crti.S not in sysdirs] (omit-deps): Likewise.
3594         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
3595         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
3596         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
3597         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
3598         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
3599         Likewise.
3600         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
3601         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
3602         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
3603         * csu/defs.awk: Remove file.
3604         * sysdeps/generic/initfini.c: Likewise.
3605         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
3606         variable.
3607         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
3608         Likewise.
3609
3610 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
3611
3612         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
3613         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
3614         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
3615         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
3616         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3617         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
3618         <bits/epoll.h>.
3619         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
3620         (__EPOLL_PACKED): Define to empty if not defined by
3621         <bits/epoll.h>.
3622         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
3623         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3624         bits/epoll.h.
3625
3626 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
3627
3628         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
3629         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
3630         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
3631         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
3632         <bits/timerfd.h>.
3633         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
3634         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3635         bits/timerfd.h.
3636
3637 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
3638
3639         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
3640         in C locale.
3641         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3642         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3643         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3645
3646 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
3647
3648         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3649         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3650
3651 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
3652
3653         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
3654         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
3655         defined.
3656         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
3657         Likewise.
3658         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
3659         entry for 2.16.
3660
3661 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
3662
3663         * math/w_acos.c: Use non-signaling floating-point comparisons.
3664         * math/w_acosf.c: Likewise.
3665         * math/w_acosh.c: Likewise.
3666         * math/w_acoshf.c: Likewise.
3667         * math/w_acoshl.c: Likewise.
3668         * math/w_acosl.c: Likewise.
3669         * math/w_asin.c: Likewise.
3670         * math/w_asinf.c: Likewise.
3671         * math/w_asinl.c: Likewise.
3672         * math/w_atanh.c: Likewise.
3673         * math/w_atanhf.c: Likewise.
3674         * math/w_atanhl.c: Likewise.
3675         * math/w_exp2.c: Likewise.
3676         * math/w_exp2f.c: Likewise.
3677         * math/w_exp2l.c: Likewise.
3678         * math/w_j0.c: Likewise.
3679         * math/w_j0f.c: Likewise.
3680         * math/w_j0l.c: Likewise.
3681         * math/w_j1.c: Likewise.
3682         * math/w_j1f.c: Likewise.
3683         * math/w_j1l.c: Likewise.
3684         * math/w_jn.c: Likewise.
3685         * math/w_jnf.c: Likewise.
3686         * math/w_log.c: Likewise.
3687         * math/w_log10.c: Likewise.
3688         * math/w_log10f.c: Likewise.
3689         * math/w_log10l.c: Likewise.
3690         * math/w_log2.c: Likewise.
3691         * math/w_log2f.c: Likewise.
3692         * math/w_log2l.c: Likewise.
3693         * math/w_logf.c: Likewise.
3694         * math/w_logl.c: Likewise.
3695         * math/w_sqrt.c: Likewise.
3696         * math/w_sqrtf.c: Likewise.
3697         * math/w_sqrtl.c: Likewise.
3698         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3699         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3700         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3701         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3702         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3703
3704 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
3705
3706         [BZ #9739]
3707         * manual/string.texi (strnlen): Use correct parameter name in
3708         equivalent expression.
3709
3710 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
3711
3712         [BZ #11174]
3713         * manual/users.texi (seteuid): Consistently use neweuid for
3714         argument name.
3715
3716 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
3717
3718         [BZ #13704]
3719         * manual/nss.texi (Services in the NSS configuration): Correct
3720         list of services in example configuration file.
3721
3722 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
3723
3724         [BZ #11322]
3725         * manual/arith.texi: Remove statements about negative zero
3726         behaving identically to zero.
3727
3728 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
3729
3730         [BZ #5993]
3731         * manual/install.texi: Do not document upgrading from libc5.
3732
3733 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
3734
3735         [BZ #4596]
3736         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3737
3738 2012-02-18  David S. Miller  <davem@davemloft.net>
3739
3740         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3741         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3742         %o7 across the call.
3743         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3744         instead.
3745         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3746         SETUP_PIC_REG_LEAF.
3747         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3748         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3749         * sysdeps/sparc/crtn.S: Likewise.
3750
3751 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
3752
3753         * aout/Makefile: Remove.
3754
3755 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
3756
3757         [BZ #13058]
3758         * manual/examples/argp-ex1.c (main): Format definition in GNU
3759         style.
3760         * manual/examples/argp-ex2.c (main): Likewise.
3761         * manual/examples/argp-ex3.c (main): Likewise.
3762         * manual/examples/argp-ex4.c (main): Likewise.
3763         * manual/examples/longopt.c (main): Use new-style prototype
3764         definition.
3765         * manual/examples/strncat.c (main): Specify return type and use
3766         (void) for arguments.
3767         * manual/examples/subopt.c (main): Use char **argv argument.
3768
3769 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
3770
3771         [BZ #5077]
3772         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3773         rounding modes.
3774
3775 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
3776
3777         [BZ #6907]
3778         * manual/string.texi (strchr): Change when strchrnul is
3779         recommended.
3780
3781 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
3782
3783         [BZ #174]
3784         * manual/locale.texi (setlocale): Document LOCPATH.
3785
3786 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
3787
3788         [BZ #10210]
3789         * manual/process.texi (execle): Move @dots{} before last argument.
3790
3791 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
3792
3793         [BZ #12047]
3794         * manual/charset.texi (Generic Charset Conversion): Fix typo
3795         (LC_TYPE -> LC_CTYPE).
3796
3797 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
3798
3799         [BZ #5805]
3800         * manual/arith.texi (scalbn): Use @var{} on parameter names.
3801         (scalbnf): Likewise.
3802         (scalbnl): Likewise.
3803         (scalbln): Likewise.
3804         (scalblnf): Likewise.
3805         (scalblnl): Likewise.
3806         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3807         (vwarnx): Likewise.
3808         (verr): Likewise.
3809         (verrx): Likewise.
3810         * manual/filesys.texi (telldir): Use braces around return type.
3811         * manual/llio.texi (mmap): Add space after comma.
3812         (mmap64): Likewise.
3813         * manual/math.texi (jn): Use @var{} on parameter names.
3814         (jnf): Likewise.
3815         (jnl): Likewise.
3816         (yn): Likewise.
3817         (ynf): Likewise.
3818         (ynl): Likewise.
3819         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3820         line.
3821         * manual/resource.texi (ulimit): Use @dots{} instead of literal
3822         "...".
3823         (sched_get_priority_min): Remove semicolon on @deftypefun line.
3824         (sched_get_priority_max): Likewise.
3825         * manual/signal.texi (sigvec): Add space after comma.
3826         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3827         names.
3828         (if_indextoname): Likewise.
3829         (if_freenameindex): Likewise.
3830         (sendto): Use ',' instead of '.' in prototype.
3831         * manual/startup.texi (syscall): Use @dots{} instead of literal
3832         "...".
3833         * manual/stdio.texi (__fpending): Separate initial words of
3834         paragraph from @deftypefun line.
3835         * manual/syslog.texi (syslog): Use @dots{} instead of literal
3836         "...".
3837         (vsyslog): Use @var{} on parameter names.
3838         * manual/terminal.texi (stty): Use @var{} on parameter names.
3839         * manual/users.texi (getutmp): Use @var{} on parameter names.
3840         (getutmpx): Likewise.
3841
3842 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
3843
3844         [BZ #6884]
3845         * manual/stdio.texi (fopen): Fix typos in description of
3846         ",ccs=STRING".
3847
3848 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
3849
3850         [BZ #4026]
3851         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3852         get clock_id definition.
3853
3854 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
3855
3856         [BZ #4822]
3857         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3858         (madvise): Cast every argument to void on its own.
3859
3860 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
3861
3862         [BZ #9902]
3863         * manual/startup.texi (Exit Status): Fix typo.
3864
3865 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
3866
3867         [BZ #10140]
3868         * manual/examples/argp-ex1.c: Include <stdlib.h>.
3869         * manual/examples/argp-ex2.c: Likewise.
3870         * manual/examples/argp-ex3.c: Likewise.
3871
3872 2012-02-16  Richard Henderson  <rth@redhat.com>
3873
3874         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3875         * sysdeps/s390/s390-32/initfini.c: Remove.
3876         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3877         * sysdeps/s390/s390-64/initfini.c: Remove.
3878
3879 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3880
3881         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3882         compiler output for sysdeps/generic/initfini.c.
3883         * sysdeps/sh/elf/initfini.c: Remove file.
3884
3885 2012-02-16  David S. Miller  <davem@davemloft.net>
3886
3887         [BZ #11494]
3888         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3889
3890         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3891         * sysdeps/sparc/crti.S: New file.
3892         * sysdeps/sparc/crtn.S: New file.
3893         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3894         * sysdeps/sparc/sparc64/Makefile: Likewise.
3895
3896 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
3897
3898         [BZ #3335]
3899         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3900
3901 2012-02-15  Roland McGrath  <roland@hack.frob.com>
3902
3903         [BZ #4822]
3904         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3905
3906         * mach/devstream.c (cookie_io_functions_t): Macro removed.
3907         (write, read, close): Likewise.
3908         Patch by Aurelien Jarno <aurelien@aurel32.net>.
3909
3910 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
3911
3912         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3913         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3914         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3915         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3916         <bits/signalfd.h>.
3917         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3918         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3919         bits/signalfd.h.
3920
3921 2012-02-14  Marek Polacek  <polacek@redhat.com>
3922
3923         * sysdeps/x86_64/crti.S: New file.
3924         * sysdeps/x86_64/crtn.S: New file.
3925         * sysdeps/x86_64/elf/initfini.c: Remove file.
3926
3927 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
3928
3929         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3930         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3931         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3932         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3933         <bits/inotify.h>.
3934         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3935         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3936         bits/inotify.h.
3937
3938 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
3939
3940         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3941         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3942         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3943         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3944         <bits/eventfd.h>.
3945         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3946         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3947         bits/eventfd.h.
3948
3949 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
3950
3951         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3952         __feraiseexcept instead of feraiseexcept.
3953
3954         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3955         nanosleep invocations.
3956         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3957         strings, and add error checking for a nanosleep invocations.
3958
3959 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
3960
3961         Replace FSF snail mail address with URLs, as per GNU coding standards.
3962         Most of the snail mail addresses were wrong anyway, and omitting
3963         them makes the source code easier to maintain.  Almost all of the
3964         changes are to license notices and to locale LC_IDENTIFICATION
3965         addresses, except for this one:
3966         * manual/libc.texinfo: In "Published by", give the FSF's URL,
3967         not its snail mail address.
3968
3969 2012-02-09  Richard Henderson  <rth@twiddle.net>
3970
3971         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3972         of kernel-features.h.
3973
3974         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3975
3976 2012-02-08  Marek Polacek  <polacek@redhat.com>
3977
3978         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
3979         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
3980         * sysdeps/gnu/_G_config.h: Likewise.
3981         * sysdeps/generic/_G_config.h: Likewise.
3982
3983 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
3984
3985         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
3986         tests.
3987         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3988
3989         * sysdeps/powerpc/powerpc32/crti.S: New file.
3990         * sysdeps/powerpc/powerpc32/crtn.S: New file.
3991         * sysdeps/powerpc/powerpc64/crti.S: New file.
3992         * sysdeps/powerpc/powerpc64/crtn.S: New file.
3993
3994         * Makeconfig (have-initfini): Don't set.
3995         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
3996         * configure.in (nopic_initfini): Don't substitute.
3997         * config.h.in (HAVE_INITFINI): Don't #undef.
3998         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
3999         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
4000
4001 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
4002
4003         Support crti.S and crtn.S provided directly by architectures.
4004         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
4005         [crti.S in sysdirs] (omit-deps): Likewise.
4006         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
4007         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
4008         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
4009         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
4010         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
4011         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
4012         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
4013         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
4014         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
4015         compiler output for sysdeps/generic/initfini.c.
4016         * sysdeps/i386/elf/Makefile: Remove file.
4017         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
4018
4019 2012-02-07  Marek Polacek  <polacek@redhat.com>
4020
4021         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
4022         * sysdeps/gnu/_G_config.h: Likewise.
4023         * sysdeps/mach/hurd/_G_config.h: Likewise.
4024
4025 2012-02-07  Marek Polacek  <polacek@redhat.com>
4026
4027         * math/Makefile (tests): Add tst-CMPLX2.
4028         * math/tst-CMPLX2.c: New file.
4029
4030 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
4031
4032         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4033
4034         * math/libm-test.inc (jn_test): Add missing L suffix.
4035
4036 2012-02-06  Marek Polacek  <polacek@redhat.com>
4037
4038         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
4039         * sysdeps/i386/fpu/e_powf.S: Likewise.
4040         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4041         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4042         * sysdeps/i386/fpu/e_acosh.S: Likewise.
4043         * sysdeps/i386/fpu/e_pow.S: Likewise.
4044         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4045         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4046         * sysdeps/i386/fpu/s_expm1.S: Likewise.
4047         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4048         * sysdeps/i386/fpu/e_log2.S: Likewise.
4049         * sysdeps/i386/fpu/e_log2l.S: Likewise.
4050         * sysdeps/i386/fpu/e_scalb.S: Likewise.
4051         * sysdeps/i386/fpu/e_powl.S: Likewise.
4052         * sysdeps/i386/fpu/s_log1p.S: Likewise.
4053         * sysdeps/i386/fpu/e_log10f.S: Likewise.
4054         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4055         * sysdeps/i386/fpu/e_logl.S: Likewise.
4056         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4057         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
4058         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4059         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4060         * sysdeps/i386/fpu/e_log2f.S: Likewise.
4061         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4062         * sysdeps/i386/fpu/e_log.S: Likewise.
4063         * sysdeps/i386/fpu/s_cexp.S: Likewise.
4064         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4065         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
4066         * sysdeps/i386/fpu/e_logf.S: Likewise.
4067         * sysdeps/i386/fpu/e_log10l.S: Likewise.
4068         * sysdeps/i386/fpu/e_atanh.S: Likewise.
4069         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
4070         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4071         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4072         * sysdeps/i386/fpu/e_log10.S: Likewise.
4073         * sysdeps/i386/fpu/s_frexp.S: Likewise.
4074         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4075         * sysdeps/i386/fpu/s_asinh.S: Likewise.
4076         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4077         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4078         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4079         * sysdeps/i386/asm-syntax.h: Likewise.
4080         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4081         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4082         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4083         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
4084         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
4085         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4086         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4087         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4088         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4089         * sysdeps/powerpc/sysdep.h: Likewise.
4090         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
4091         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4092
4093 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
4094
4095         [BZ #411]
4096         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
4097
4098 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
4099
4100         * sysdeps/i386/sysdep.h: Include <features.h>.
4101         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
4102         version.
4103
4104 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
4105
4106         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
4107         Define.
4108         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
4109         LOAD_PIC_REG_STR.
4110
4111 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
4112
4113         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
4114         (SETUP_PIC_REG): Use GET_PC_THUNK.
4115         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
4116         macro.
4117
4118 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
4119
4120         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
4121         for non-PIC compilation.
4122         (SETUP_PIC_REG): Add .p2align directive.
4123         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
4124         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4125         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4126         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4127         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4128         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4129         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4130         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4131         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4132         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4133         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4134         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4135         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4136         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4137         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4138         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4139         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4140         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4141         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4142         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4143         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4144         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4145         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4146         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4147         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4148         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4149         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4150         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4151         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4152         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4153         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4154         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4155         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4156         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4157         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4158         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4159         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4160         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4161         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4162         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4163         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4164
4165 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
4166
4167         * math/tst-CMPLX.c: Include <stdio.h>.
4168
4169 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
4170
4171         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
4172         float.
4173         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4174         * sysdeps/sparc/bits/mathdef.h: Likewise.
4175
4176 2012-01-31  Marek Polacek  <polacek@redhat.com>
4177
4178         * libio/libio.h: Don't define _PARAMS.
4179         * locale/programs/config.h: Don't define PARAMS.
4180         * stdlib/strtol_l.c: Likewise.
4181         (__strtol_l): Remove PARAMS from the prototype.
4182
4183 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
4184
4185         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
4186         names.  Just use the correct names.  Remove unnecessary wrapper
4187         functions.
4188         * malloc/arena.c: Likewise.
4189         * malloc/hooks.c: Likewise.
4190
4191         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
4192         ARENA_TEST says not to.  Simplify test for creation of a new arena.
4193         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
4194
4195 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
4196
4197         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
4198         into tail calls.
4199         (update_get_addr): New function.
4200         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
4201         GET_ADDR_MODULE parameter.
4202
4203 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
4204
4205         * crypt/cert.c: Remove __STDC__ conditionals.
4206         * crypt/crypt-entry.c: Likewise.
4207         * crypt/crypt_util.c: Likewise.
4208         * libio/filedoalloc.c: Likewise.
4209         * libio/fileops.c: Likewise.
4210         * libio/genops.c: Likewise.
4211         * libio/iofclose.c: Likewise.
4212         * libio/iofdopen.c: Likewise.
4213         * libio/iofopen.c: Likewise.
4214         * libio/iofopen64.c: Likewise.
4215         * libio/iogetdelim.c: Likewise.
4216         * libio/iopopen.c: Likewise.
4217         * libio/obprintf.c: Likewise.
4218         * libio/oldfileops.c: Likewise.
4219         * libio/oldiofclose.c: Likewise.
4220         * libio/oldiofdopen.c: Likewise.
4221         * libio/oldiofopen.c: Likewise.
4222         * libio/oldiopopen.c: Likewise.
4223         * libio/wfiledoalloc.c: Likewise.
4224         * libio/wgenops.c: Likewise.
4225         * locale/programs/xmalloc.c: Likewise.
4226         * misc/syslog.c: Likewise.
4227         * stdio-common/xbug.c: Likewise.
4228         * string/memchr.c: Likewise.
4229         * string/memcmp.c: Likewise.
4230         * string/memrchr.c: Likewise.
4231         * string/rawmemchr.c: Likewise.
4232         * sysdeps/posix/getcwd.c: Likewise.
4233         * time/strftime_l.c: Likewise.
4234
4235 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
4236
4237         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
4238         * config.make.in (config-cflags-sse2avx): Define.
4239         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
4240         Fix typo.
4241
4242 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
4243
4244         * scripts/config.guess: Update from upstream config git repository.
4245         * scripts/config.sub: Likewise.
4246
4247 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
4248
4249         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
4250         (EM_NUM): Update.
4251         (R_TILEPRO_*, R_TILEGX_*): New macros.
4252
4253         * scripts/firstversions.awk: Fix bug in version range handling.
4254
4255         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
4256
4257         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
4258
4259         * include/sys/epoll.h: New file.
4260         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
4261         libc_hidden_def.
4262
4263 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
4264
4265         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
4266         Avoid unnecessary __WORDSIZE == 64 test.
4267         (fmaxf): Use VEX format if possible.
4268         (fmax): Likewise.
4269         (fminf): Likewise.
4270         (fmin): Likewise.
4271
4272         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
4273         * math/math_private.h: Remove libc_fegetround* and
4274         libc_fesetround*.
4275         * sysdeps/i386/configure.in: Check for -msse2avx.
4276         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
4277         also if SSE2AVX is defined.
4278         Remove libc_fegetround* and libc_fesetround*.
4279         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
4280         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
4281         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
4282         of HAS_YMM_USABLE.
4283         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4284         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4285         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4286         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4287         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4288
4289         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
4290
4291 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4292
4293         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
4294         size is not set.
4295         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
4296
4297 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
4298
4299         [BZ #13618]
4300         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
4301         relocation.
4302         * Makeconfig (libm): Define.
4303         * elf/Makefile: Add rules to build and run tst-relsort1.
4304         * elf/tst-relsort1.c: New file.
4305         * elf/tst-relsort1mod1.c: New file.
4306         * elf/tst-relsort1mod2.c: New file.
4307
4308 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
4309
4310         * math/s_ldexp.c: Remove __STDC__ conditionals.
4311         * math/s_ldexpf.c: Likewise.
4312         * math/s_ldexpl.c: Likewise.
4313         * math/s_nextafter.c: Likewise.
4314         * math/s_nexttowardf.c: Likewise.
4315         * math/s_significand.c: Likewise.
4316         * math/s_significandf.c: Likewise.
4317         * math/s_significandl.c: Likewise.
4318         * math/w_jnl.c: Likewise.
4319         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4320         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4321         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4322         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4323         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4324         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4325         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
4326         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4327         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4328         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4329         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4330         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4331         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4332         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4333         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4334         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4335         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4336         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4337         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4338         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4339         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4340         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4341         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4342         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4343         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4344         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4345         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4346         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4347         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4348         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4349         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4350         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4351         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4352         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4353         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4354         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4355         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4356         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4357         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4358         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4359         * sysdeps/ieee754/k_standard.c: Likewise.
4360         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4361         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4362         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4363         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4364         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4365         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4366         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4367         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4368         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4369         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4370         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4371         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4372         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4373         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4374         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4375         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4376         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4377         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4378         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4379         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4380         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4381         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4382         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4383         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4384         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4385         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4386         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4387         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4388         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4389         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4390         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4391         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
4392         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4393         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4394         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4395         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4396         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
4397         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4398         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4399         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
4400         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
4401         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4402         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4403         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
4404         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4405         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4406         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4407         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4408         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4409         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4410         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
4411         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4412         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4413         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4414         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4415         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4416         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
4417         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4418         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4419         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4420         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4421         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4422         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4423         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4424         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4425         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4426         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4427         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4428         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4429         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4430         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4431         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4432         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4433         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4434         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4435         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4436         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4437         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4438         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4439         * sysdeps/ieee754/s_matherr.c: Likewise.
4440         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4441         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4442         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4443         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4444
4445 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
4446
4447         * crypt/md5.h: Remove __STDC__ conditionals.
4448         * libio/libioP.h: Likewise.
4449         * locale/programs/config.h: Likewise.
4450         * sysdeps/generic/sysdep.h: Likewise.
4451         * sysdeps/i386/asm-syntax.h: Likewise.
4452         * sysdeps/s390/asm-syntax.h: Likewise.
4453         * sysdeps/unix/sysdep.h: Likewise.
4454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4456
4457 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
4458
4459         * libio/libio.h: Remove __STDC__ conditionals.
4460         * malloc/obstack.h: Likewise.
4461         * math/complex.h: Likewise.
4462         * math/math.h: Likewise.
4463         * sysdeps/generic/_G_config.h: Likewise.
4464         * sysdeps/gnu/_G_config.h: Likewise.
4465         * sysdeps/mach/hurd/_G_config.h: Likewise.
4466         * sysdeps/powerpc/bits/mathdef.h: Likewise.
4467         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4468         * sysdeps/sparc/bits/mathdef.h: Likewise.
4469
4470 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
4471
4472         [BZ #13583]
4473         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
4474         Clean up HAS_* macros.
4475         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
4476         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
4477         possible.
4478         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
4479         HAS_AVX.
4480         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4481         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4482         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4483         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4484         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4485
4486 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
4487
4488         * elf/tst-unique3.cc (gets): Remove declaration.
4489         * elf/tst-unique3lib.cc (gets): Likewise.
4490         * elf/tst-unique3lib2.cc (gets): Likewise.
4491         * elf/tst-unique4.cc (gets): Likewise.
4492
4493 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
4494
4495         * include/stdio.h: Add C++ protection.  Add gets declarations and
4496         definitions.
4497         * debug/tst-chk1.c: Don't declare gets here.
4498         * stdio-common/tst-gets.c: Likewise.
4499
4500 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
4501
4502         * posix/glob: Remove directory.
4503
4504 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
4505
4506         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
4507
4508 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
4509
4510         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
4511         of the non-standard EPFNOSUPPORT.
4512
4513 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4514
4515         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
4516         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
4517         ANYWHERE set to 1 only on KERN_NO_SPACE error.
4518
4519 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
4520
4521         * wcsmbs/uchar.h: Test __STDC_VERSION__.
4522
4523 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
4524
4525         * nscd/aicache.c (addhstaiX): Do not cache negative results of
4526         transient errors.
4527         * nscd/grpcache.c (cache_addgr): Likewise.
4528         * nscd/hstcache.c (cache_addhst): Likewise.
4529         * nscd/initgrcache.c (addinitgroupsX): Likewise.
4530         * nscd/pwdcache.c (cache_addpw): Likewise.
4531         * nscd/servicescache.c (cache_addserv): Likewise.
4532
4533 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
4534
4535         * malloc/malloc.c: Various cleanups.
4536         * malloc/hooks.c: Likewise.
4537
4538         * stdlib/Makefile (tests): Add bug-fmtmsg1.
4539         * stdlib/bug-fmtmsg1.c: New file.
4540
4541         * stdlib/fmtmsg.c (init): Add missing unlock.
4542         Patch by Peng Haitao <penght@cn.fujitsu.com>.
4543
4544 2012-01-12  Marek Polacek  <polacek@redhat.com>
4545
4546         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
4547         and _GNU_SOURCE.
4548
4549 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
4550
4551         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
4552         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
4553         macro to ensure uniqueness of label name.
4554         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4555         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4556
4557 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
4558
4559         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
4560
4561         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
4562         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4563         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4564         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
4565
4566 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
4567
4568         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
4569
4570         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
4571         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4572         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4573
4574         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
4575
4576         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
4577         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4578         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4579         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
4580
4581         * math/bits/math-finite.h: Add ldexp support.
4582
4583 2012-01-10  Marek Polacek  <polacek@redhat.com>
4584
4585         * locale/programs/localedef.h (show_archive_content): Add noreturn
4586         attribute.
4587
4588 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
4589
4590         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
4591
4592 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
4593
4594         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
4595
4596         * io/Makefile (headers): Add bits/poll2.h.
4597
4598 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
4599
4600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
4601         typo #include statement.
4602
4603 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
4604
4605         * include/sys/cdefs.h: Define __attribute_alloc_size.
4606         * catgets/gencat.c: Add alloc_size attribute and apply consistently
4607         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
4608         * elf/pldd.c: Likewise.
4609         * iconv/iconv_charmap.c: Likewise.
4610         * iconv/iconvconfig.c: Likewise.
4611         * iconv/strtab.c: Likewise.
4612         * locale/programs/locale.c: Likewise.
4613         * locale/programs/localedef.h: Likewise.
4614         * locale/programs/simple-hash.c: Likewise.
4615         * nscd/nscd.h: Likewise.
4616         * nss/makedb.c: Likewise.
4617         * sysdeps/generic/ldconfig.h: Likewise.
4618         * locale/programs/localedef.c: Remove xmalloc prototype.
4619         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
4620
4621 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
4622
4623         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
4624         appropriate.
4625
4626 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
4627
4628         * math/Makefile (tests): Add tst-CMPLX.
4629         * math/tst-CMPLX.c: New file.
4630
4631         * math/complex.h (CMPLXL): Fix typo.
4632
4633         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
4634         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
4635         GLIBC_2.16.
4636         * debug/tst-chk1.c: Add poll and ppoll tests.
4637         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
4638         * include/sys/poll.h: Add hidden proto for ppoll.
4639         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
4640         * sysdeps/mach/hurd/ppoll.c: Likewise.
4641         * io/ppoll.c: Likewise.
4642         * debug/poll_chk.c: New file.
4643         * debug/ppoll_chk.c: New file.
4644         * include/bits/poll2.h: New file.
4645         * io/bits/poll2.h: New file.
4646
4647         [BZ #1350]
4648         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
4649
4650         * configure.in: static is always set to yes.  Remove.
4651         * config.make.in: Don't set build-static.
4652         * Makeconfig: Remove use of build-static.
4653         * dlfcn/Makefile: Likewise.
4654         * elf/Makefile: Likewise.
4655         * math/Makefile: Likewise.
4656         * misc/Makefile: Likewise.
4657         * nptl/Makefile: Likewise.
4658         * sysdeps/mach/hurd/Makefile: Likewise.
4659
4660         * configure.in: PWD_P is not used anymore.
4661         * config.make.in: Remove PWD_P entry.
4662
4663         * configure.in: Remove last remnants of RANLIB.
4664         No need to check for signed size_t anymore.
4665         Don't set libc_commonpagesize and libc_relro_required here for Alpha
4666         and IA-64.
4667         Remove __builtin_expect test because we require at least gcc 3.4.
4668         * aclocal.m4: Likewise.
4669
4670         * wcsmbs/mbrtoc16.c: Implement using towc function.
4671         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
4672         * wcsmbs/wcsmbsload.c: Likewise.
4673         * iconv/gconv_simple.c: Likewise.
4674         * iconv/gconv_int.h: Likewise.
4675         * iconv/gconv_builtin.h: Likewise.
4676         * iconv/iconv_prog.c: Remove CHAR16 handling.
4677
4678         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
4679
4680         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
4681
4682         * configure.in: Remove --with-elf and --enable-bounded options.
4683         Dont set base_machine for ia64.  More non-ELF conditions removed.
4684         Remove testing and setting of leading underscore information.
4685         * config.make.in (build-bounded): Set to no.
4686         * config.h.in: Remove NO_UNDERSCORES entry.
4687         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
4688         them.
4689         * csu/start.c: Remove !NO_UNDERSCORE code.
4690         * locale/localeinfo.h: Likewise.
4691         * sysdeps/generic/machine-gmon.h: Likewise.
4692         * sysdeps/generic/sysdep.h: Likewise.
4693         * sysdeps/i386/sysdep.h: Likewise.
4694         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4695         * sysdeps/mach/sysdep.h: Likewise.
4696         * sysdeps/s390/s390-32/sysdep.h: Likewise.
4697         * sysdeps/s390/s390-64/sysdep.h: Likewise.
4698         * sysdeps/sh/sysdep.h: Likewise.
4699         * sysdeps/sparc/sparc32/alloca.S: Likewise.
4700         * sysdeps/unix/i386/sysdep.S: Likewise.
4701         * sysdeps/unix/sparc/start.c: Likewise.
4702         * sysdeps/unix/sparc/sysdep.S: Likewise.
4703         * sysdeps/unix/sparc/sysdep.h: Likewise.
4704         * sysdeps/unix/start.c: Likewise.
4705         * sysdeps/unix/x86_64/sysdep.S: Likewise.
4706         * sysdeps/x86_64/sysdep.h: Likewise.
4707
4708 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
4709
4710         [BZ #13553]
4711         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
4712         for non-gcc.
4713         * argp/argp-fmtstream.h: Use const instead __const.
4714         * argp/argp.h: Likewise.
4715         * assert/assert.h: Likewise.
4716         * bits/fenv.h: Likewise.
4717         * bits/sched.h: Likewise.
4718         * bits/sigset.h: Likewise.
4719         * bits/sigthread.h: Likewise.
4720         * catgets/nl_types.h: Likewise.
4721         * conform/data/pthread.h-data: Likewise.
4722         * crypt/crypt-private.h: Likewise.
4723         * crypt/crypt.h: Likewise.
4724         * crypt/crypt_util.c: Likewise.
4725         * ctype/ctype.h: Likewise.
4726         * debug/execinfo.h: Likewise.
4727         * debug/mbsnrtowcs_chk.c: Likewise.
4728         * debug/mbsrtowcs_chk.c: Likewise.
4729         * debug/wcsnrtombs_chk.c: Likewise.
4730         * debug/wcsrtombs_chk.c: Likewise.
4731         * debug/wcstombs_chk.c: Likewise.
4732         * dirent/dirent.h: Likewise.
4733         * dlfcn/dlfcn.h: Likewise.
4734         * elf/neededtest4.c: Likewise.
4735         * grp/grp.h: Likewise.
4736         * gshadow/gshadow.h: Likewise.
4737         * iconv/gconv.h: Likewise.
4738         * iconv/gconv_int.h: Likewise.
4739         * iconv/gconv_simple.c: Likewise.
4740         * iconv/iconv.h: Likewise.
4741         * iconv/loop.c: Likewise.
4742         * iconv/skeleton.c: Likewise.
4743         * include/aio.h: Likewise.
4744         * include/aliases.h: Likewise.
4745         * include/argz.h: Likewise.
4746         * include/arpa/inet.h: Likewise.
4747         * include/assert.h: Likewise.
4748         * include/dirent.h: Likewise.
4749         * include/dlfcn.h: Likewise.
4750         * include/execinfo.h: Likewise.
4751         * include/fcntl.h: Likewise.
4752         * include/fenv.h: Likewise.
4753         * include/glob.h: Likewise.
4754         * include/grp.h: Likewise.
4755         * include/libintl.h: Likewise.
4756         * include/mntent.h: Likewise.
4757         * include/netdb.h: Likewise.
4758         * include/pwd.h: Likewise.
4759         * include/rpc/netdb.h: Likewise.
4760         * include/sched.h: Likewise.
4761         * include/search.h: Likewise.
4762         * include/shadow.h: Likewise.
4763         * include/signal.h: Likewise.
4764         * include/stdio.h: Likewise.
4765         * include/stdlib.h: Likewise.
4766         * include/string.h: Likewise.
4767         * include/sys/socket.h: Likewise.
4768         * include/sys/stat.h: Likewise.
4769         * include/sys/statfs.h: Likewise.
4770         * include/sys/statvfs.h: Likewise.
4771         * include/sys/syslog.h: Likewise.
4772         * include/sys/time.h: Likewise.
4773         * include/sys/uio.h: Likewise.
4774         * include/time.h: Likewise.
4775         * include/unistd.h: Likewise.
4776         * include/utmp.h: Likewise.
4777         * include/wchar.h: Likewise.
4778         * include/wctype.h: Likewise.
4779         * inet/aliases.h: Likewise.
4780         * inet/arpa/inet.h: Likewise.
4781         * inet/netinet/ether.h: Likewise.
4782         * inet/netinet/in.h: Likewise.
4783         * intl/libintl.h: Likewise.
4784         * io/bits/fcntl2.h: Likewise.
4785         * io/fcntl.h: Likewise.
4786         * io/ftw.h: Likewise.
4787         * io/sys/poll.h: Likewise.
4788         * io/sys/stat.h: Likewise.
4789         * io/sys/statfs.h: Likewise.
4790         * io/sys/statvfs.h: Likewise.
4791         * io/utime.h: Likewise.
4792         * libio/bits/stdio.h: Likewise.
4793         * libio/bits/stdio2.h: Likewise.
4794         * libio/libio.h: Likewise.
4795         * libio/libioP.h: Likewise.
4796         * libio/stdio.h: Likewise.
4797         * locale/lc-ctype.c: Likewise.
4798         * locale/locale.h: Likewise.
4799         * login/utmp.h: Likewise.
4800         * malloc/arena.c: Likewise.
4801         * malloc/malloc.c: Likewise.
4802         * malloc/malloc.h: Likewise.
4803         * malloc/mcheck.c: Likewise.
4804         * malloc/mtrace.c: Likewise.
4805         * math/bits/mathcalls.h: Likewise.
4806         * math/fenv.h: Likewise.
4807         * math/math_private.h: Likewise.
4808         * misc/bits/error.h: Likewise.
4809         * misc/bits/syslog.h: Likewise.
4810         * misc/err.h: Likewise.
4811         * misc/error.h: Likewise.
4812         * misc/fstab.h: Likewise.
4813         * misc/mntent.h: Likewise.
4814         * misc/regexp.h: Likewise.
4815         * misc/search.h: Likewise.
4816         * misc/sgtty.h: Likewise.
4817         * misc/sys/mman.h: Likewise.
4818         * misc/sys/syslog.h: Likewise.
4819         * misc/sys/uio.h: Likewise.
4820         * misc/sys/xattr.h: Likewise.
4821         * misc/ttyent.h: Likewise.
4822         * nis/rpcsvc/ypclnt.h: Likewise.
4823         * nss/nss.h: Likewise.
4824         * posix/bits/unistd.h: Likewise.
4825         * posix/fnmatch.h: Likewise.
4826         * posix/glob.h: Likewise.
4827         * posix/sched.h: Likewise.
4828         * posix/spawn.h: Likewise.
4829         * posix/sys/wait.h: Likewise.
4830         * posix/unistd.h: Likewise.
4831         * posix/wordexp.h: Likewise.
4832         * pwd/pwd.h: Likewise.
4833         * resolv/netdb.h: Likewise.
4834         * resource/sys/resource.h: Likewise.
4835         * rt/aio.h: Likewise.
4836         * rt/bits/mqueue2.h: Likewise.
4837         * rt/mqueue.h: Likewise.
4838         * shadow/shadow.h: Likewise.
4839         * signal/signal.h: Likewise.
4840         * socket/send.c: Likewise.
4841         * socket/sendto.c: Likewise.
4842         * socket/sys/socket.h: Likewise.
4843         * stdio-common/printf.h: Likewise.
4844         * stdlib/bits/stdlib.h: Likewise.
4845         * stdlib/fmtmsg.h: Likewise.
4846         * stdlib/monetary.h: Likewise.
4847         * stdlib/stdlib.h: Likewise.
4848         * stdlib/ucontext.h: Likewise.
4849         * streams/stropts.h: Likewise.
4850         * string/argz.h: Likewise.
4851         * string/bits/string2.h: Likewise.
4852         * string/string.h: Likewise.
4853         * string/strings.h: Likewise.
4854         * sunrpc/rpc/auth.h: Likewise.
4855         * sunrpc/rpc/auth_des.h: Likewise.
4856         * sunrpc/rpc/clnt.h: Likewise.
4857         * sunrpc/rpc/netdb.h: Likewise.
4858         * sunrpc/rpc/pmap_clnt.h: Likewise.
4859         * sunrpc/rpc/xdr.h: Likewise.
4860         * sysdeps/generic/inttypes.h: Likewise.
4861         * sysdeps/generic/net/if.h: Likewise.
4862         * sysdeps/generic/sys/swap.h: Likewise.
4863         * sysdeps/gnu/net/if.h: Likewise.
4864         * sysdeps/gnu/utmpx.h: Likewise.
4865         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4866         * sysdeps/i386/i486/bits/string.h: Likewise.
4867         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4868         * sysdeps/s390/bits/string.h: Likewise.
4869         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4870         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4871         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4872         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4873         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4874         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4875         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4876         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4877         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4878         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4879         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4880         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4881         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4882         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4883         * sysdeps/unix/sysv/linux/readv.c: Likewise.
4884         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4885         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4886         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4887         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4888         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4889         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4890         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4891         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4892         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4893         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4894         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4895         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4896         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4897         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4898         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4899         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4900         * sysvipc/sys/ipc.h: Likewise.
4901         * sysvipc/sys/msg.h: Likewise.
4902         * sysvipc/sys/sem.h: Likewise.
4903         * sysvipc/sys/shm.h: Likewise.
4904         * termios/termios.h: Likewise.
4905         * time/sys/time.h: Likewise.
4906         * time/time.h: Likewise.
4907         * wcsmbs/bits/wchar2.h: Likewise.
4908         * wcsmbs/uchar.h: Likewise.
4909         * wcsmbs/wchar.h: Likewise.
4910         * wctype/wctype.h: Likewise.
4911
4912         [BZ #13551]
4913         * Makeconfig: Remove all but ELF support including AIX support.
4914         * Makerules: Likewise.
4915         * config.h.in: Likewise.
4916         * config.make.in: Likewise.
4917         * configure: Likewise.
4918         * configure.in: Likewise.
4919         * csu/Makefile: Likewise.
4920         * csu/version.c: Likewise.
4921         * debug/Makefile: Likewise.
4922         * dlfcn/Makefile: Likewise.
4923         * elf/Makefile: Likewise.
4924         * extra-lib.mk: Likewise.
4925         * iconv/Makefile: Likewise.
4926         * include/libc-symbols.h: Likewise.
4927         * include/shlib-compat.h: Likewise.
4928         * resolv/Makefile: Likewise.
4929         * resolv/res_libc.c: Likewise.
4930         * rt/Makefile: Likewise.
4931         * sysdeps/i386/asm-syntax.h: Likewise.
4932         * sysdeps/i386/sysdep.h: Likewise.
4933         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4934         * sysdeps/mach/sysdep.h: Likewise.
4935         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4936         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4937         * sysdeps/s390/asm-syntax.h: Likewise.
4938         * sysdeps/s390/s390-32/sysdep.h: Likewise.
4939         * sysdeps/s390/s390-64/sysdep.h: Likewise.
4940         * sysdeps/sh/sysdep.h: Likewise.
4941         * sysdeps/unix/sparc/sysdep.h: Likewise.
4942         * sysdeps/wordsize-32/divdi3.c: Likewise.
4943         * sysdeps/x86_64/sysdep.h: Likewise.
4944
4945         * argp/Versions: Remove _argp_unlock_xxx.
4946
4947         [BZ #13559]
4948         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
4949         * abilist/libBrokenLocale.abilist: Likewise.
4950         * abilist/libanl.abilist: Likewise.
4951         * abilist/libc.abilist: Likewise.
4952         * abilist/libcrypt.abilist: Likewise.
4953         * abilist/libdl.abilist: Likewise.
4954         * abilist/libm.abilist: Likewise.
4955         * abilist/libnsl.abilist: Likewise.
4956         * abilist/libpthread.abilist: Likewise.
4957         * abilist/libresolv.abilist: Likewise.
4958         * abilist/librt.abilist: Likewise.
4959         * abilist/libthread_db.abilist: Likewise.
4960         * abilist/libutil.abilist: Likewise.
4961         * abilist/libnss_db.abilist: New file.
4962
4963         * scripts/abilist.awk: Add support for indirect functions.
4964
4965         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4966
4967         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4968
4969         * shlib-versions: Remove entries for ports architectures.
4970
4971         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
4972         files in ports.
4973         * elf/stackguard-macros.h: Remove support for IA-64.
4974         * elf/tst-auditmod1.c: Likewise.
4975         * sysdeps/generic/ldsodefs.h: Likewise.
4976
4977         * sysdeps/unix/sysv/linux/configure.in: Ports should define
4978         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
4979         configure files.
4980
4981         [BZ #13552]
4982         * configure.in: Remove --enable-omitfp support.
4983         * FAQ.in: Adjust.
4984         * config.make.in: Likewise.
4985         * Makeconfig: Likewise.
4986         * manual/install.texi: Likewise.
4987
4988         In case anyone cares, the IA-64 architecture could move to ports.
4989         * sysdeps/ia64/*: Removed.
4990         * sysdeps/unix/sysv/linux/ia64/*: Removed.
4991         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
4992
4993         [BZ #13555]
4994         * configure.in: Remove entries for unsupported architectures.
4995
4996         [BZ #13533]
4997         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
4998         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
4999         routines.
5000         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
5001         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
5002         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
5003         fall back to using wcrtomb.
5004         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
5005         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
5006         renaming.
5007         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
5008         * wcsmbs/tst-c16c32-1.c: New file.
5009
5010         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
5011         local variable.
5012
5013         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
5014
5015         * elf/tst-unique3.cc: Add explicit declaration of gets.
5016         * elf/tst-unique3lib.cc: Likewise.
5017         * elf/tst-unique3lib2.cc: Likewise.
5018         * elf/tst-unique4.cc: Likewise.
5019
5020         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
5021
5022 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
5023
5024         [BZ #13566]
5025         * assert/assert.h (static_assert): Don't define for C++.
5026         * libio/stdio.h (gets): Do declare for C++ <= C++11.
5027         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
5028
5029 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
5030
5031         * iconv/loop.c (single loop): Fix assertion in storing of
5032         remaining bytes.
5033
5034         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
5035
5036 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
5037
5038         * posix/getconf.c: Update copyright year.
5039         * nss/getent.c: Likewise.
5040         * nss/makedb.c: Likewise.
5041         * iconv/iconvconfig.c: Likewise.
5042         * iconv/iconv_prog.c: Likewise.
5043         * elf/ldconfig.c: Likewise.
5044         * elf/pldd.c: Likewise.
5045         * elf/sotruss.ksh: Likewise.
5046         * catgets/gencat.c: Likewise.
5047         * csu/version.c: Likewise.
5048         * elf/ldd.bash.in: Likewise.
5049         * elf/sprof.c (print_version): Likewise.
5050         * locale/programs/locale.c: Likewise.
5051         * locale/programs/localedef.c: Likewise.
5052         * login/programs/pt_chown.c: Likewise.
5053         * nscd/nscd.c (print_version): Likewise.
5054         * debug/xtrace.sh: Likewise.
5055         * malloc/memusage.sh: Likewise.
5056         * malloc/mtrace.pl: Likewise.
5057         * debug/catchsegv.sh: Likewise.
5058
5059 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
5060
5061         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
5062         pure attribute.
5063
5064 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
5065
5066         [BZ #13533]
5067         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
5068         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
5069         transformations.
5070         * iconv/gconv_int.h: Likewise.
5071         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
5072         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
5073         from libc for GLIBC_2.16.
5074         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
5075         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
5076         * wcsmbs/uchar.h: Really define mbstate_t.
5077         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
5078         * wcsmbs/c16rtomb.c: New file.
5079         * wcsmbs/mbrtoc16.c: New file.
5080         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
5081         for C/POSIX locale.
5082         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
5083         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
5084
5085         * wcsmbs/wchar.h: Add missing __restrict.
5086
5087 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
5088
5089         [BZ #13532]
5090         * time/Makefile (routines): Add timespec_get.
5091         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
5092         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
5093         timespec for ISO C11.
5094         * time/timespec_get.c: New file.
5095         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
5096         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
5097
5098         [BZ #13531]
5099         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
5100         * stdlib/stdlib.h: Declare aligned_alloc.
5101         * Versions.def: Add GLIBC_2.16 for libc.
5102         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
5103
5104         [BZ 13527]
5105         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
5106         ISO C11.
5107
5108         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
5109         code.
5110
5111         [BZ #13528]
5112         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
5113
5114         [BZ #13529]
5115         * assert/assert.h (static_assert): Define.
5116
5117         * version.h: Update for 2.16 development version.
5118
5119         [BZ #13526]
5120         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
5121         _ISOC11_SOURCE.
5122
5123         * version.h (RELEASE): Bump for 2.15 release.
5124         * include/features.h (__GLIBC_MINOR__): Bump to 15.
5125
5126         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
5127         Patch by Marek Polacek <mpolacek@redhat.com>.
5128
5129         * bits/byteswap.h: Protect long long constants with __extension__.
5130         * sysdeps/i386/bits/byteswap.h: Likewise.
5131         * sysdeps/ia64/bits/byteswap.h: Likewise.
5132         * sysdeps/s390/bits/byteswap.h: Likewise.
5133         * sysdeps/x86_64/bits/byteswap.h: Likewise.
5134
5135 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5136
5137         [BZ #13540]
5138         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
5139         destination buffer.
5140         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5141
5142 2011-12-23  Marek Polacek  <polacek@redhat.com>
5143
5144         * elf/dl-addr.c (determine_info): Add inline keyword.
5145         * elf/tst-auditmod4b.c (check_avx): Likewise.
5146         * elf/tst-auditmod6b.c (check_avx): Likewise.
5147         * elf/tst-auditmod6c.c (check_avx): Likewise.
5148         * elf/tst-auditmod7b.c (check_avx): Likewise.
5149
5150 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
5151
5152         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
5153         !__SSE_MATH__.
5154
5155 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5156
5157         [BZ #13540]
5158         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
5159         processing for last bytes.
5160
5161 2011-08-06  Bruno Haible  <bruno@clisp.org>
5162
5163         [BZ #13061]
5164         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
5165         U+0385, not to U+1FEE.
5166
5167         [BZ #13062]
5168         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
5169         entry for U+00A5 U+0301.
5170
5171 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
5172
5173         [BZ #13166]
5174         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
5175         buffer for the output is too small.
5176
5177         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
5178         optimization.
5179
5180         [BZ #13185]
5181         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
5182         SSE flags if possible.
5183
5184 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5185
5186         [BZ #13540]
5187         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
5188         processing for last bytes.
5189
5190 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
5191
5192         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
5193         (syscall-list-default-options, syscall-list-default-condition)
5194         (syscall-list-includes): Define.
5195         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
5196         list of ABIs and options and #if conditions for each ABI.  Do not
5197         handle common syscalls between ABIs specially.
5198         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
5199         Remove.
5200         (syscall-list-variants, syscall-list-32bit-options)
5201         (syscall-list-32bit-condition, syscall-list-64bit-options)
5202         (syscall-list-64bit-condition): Define.
5203         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
5204         (syscall-list-variants, syscall-list-32bit-options)
5205         (syscall-list-32bit-condition, syscall-list-64bit-options)
5206         (syscall-list-64bit-condition): Define.
5207         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
5208         Remove.
5209         (syscall-list-variants, syscall-list-32bit-options)
5210         (syscall-list-32bit-condition, syscall-list-64bit-options)
5211         (syscall-list-64bit-condition): Define.
5212         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
5213         Remove.
5214         (syscall-list-variants, syscall-list-32bit-options)
5215         (syscall-list-32bit-condition, syscall-list-64bit-options)
5216         (syscall-list-64bit-condition): Define.
5217
5218 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
5219
5220         * locale/iso-639.def: Add brx entry.
5221
5222         [BZ #13328]
5223         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
5224         Proposed by Mariusz_Cukr <marcukr@op.pl>.
5225
5226         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
5227         __feraiseexcept_renamed.
5228
5229 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
5230
5231         [BZ #13538]
5232         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
5233         EPOLLET with unsigned values.
5234         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5235         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5236
5237         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
5238         to large cancellation.
5239         * math/s_cacoshf.c: Likewise.
5240         * math/s_cacoshl.c: Likewise.
5241
5242 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
5243
5244         [BZ #13305]
5245         [BZ #12786]
5246         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
5247         * math/s_cacoshf.c: Likewise.
5248         * math/s_cacoshl.c: Likewise.
5249
5250 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
5251
5252         [BZ #13439]
5253         * iconv/gconv.h: Define __GCONV_SWAP.
5254         * iconvdata/unicode.c: The swap bit must be stored in __flags.
5255         * iconvdata/utf-16.c: Likewise.
5256         * iconvdata/utf-32.c: Likewise.
5257
5258 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
5259
5260         [BZ #13524]
5261         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
5262         numerator after shifting it by one limb.
5263
5264 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
5265
5266         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
5267         under [__USE_EXTERN_INLINES].
5268
5269 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
5270
5271         [BZ #13446]
5272         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
5273
5274 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5275
5276         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
5277         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
5278         optimized code.
5279         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
5280         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
5281         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
5282         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
5283         for strncasecmp/strncasecmp_l compilation.
5284         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
5285         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
5286
5287 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
5288
5289         [BZ #13484]
5290         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
5291         of __asm__.
5292
5293 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
5294
5295         [BZ #13506]
5296         * time/tzfile.c (__tzfile_read): Check values from file header.
5297
5298 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
5299
5300         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
5301         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
5302         * powerpc/powerpc32/dl-start.S: Likewise.
5303         * powerpc/powerpc32/elf/start.S: Likewise.
5304         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5305         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
5306         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
5307         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
5308         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5309         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
5310         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
5311         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5312         * powerpc/powerpc32/fpu/s_round.S: Likewise.
5313         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5314         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5315         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5316         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5317         * powerpc/powerpc32/memset.S: Likewise.
5318         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5319         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5320         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5321         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5322         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5323         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5324         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5325         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5326         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
5327         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
5328         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
5329         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5330         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5331
5332 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5333
5334         * math/libm-test.inc: Added more nearbyint tests.
5335         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
5336         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
5337         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
5338         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
5339
5340 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
5341
5342         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
5343         FD_CLOEXEC.
5344
5345 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5346
5347         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
5348         Add wcscpy-ssse3 wcscpy-c.
5349         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
5350         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
5351         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
5352         * sysdeps/x86_64/wcschr.S: New file.
5353         * sysdeps/x86_64/wcsrchr.S: New file.
5354         * string/test-strcmp.c: Remove checking of wcscmp function for
5355         wrong alignments.
5356         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
5357         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
5358         wcsrchr-sse2 wcsrchr-c.
5359         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
5360         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
5361         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
5362         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
5363         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
5364         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
5365         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
5366         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
5367         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
5368         * wcsmbc/wcschr.c (WCSCHR): New macro.
5369
5370 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5371
5372         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
5373         * wcsmbs/test-wcsrchr.c: New file.
5374         * string/test-strrchr.c: Add wcsrchr support.
5375         (WIDE): New macro.
5376         * wcsmbs/test-wcscpy.c: New file.
5377         * string/test-strcpy.c: Add wcscpy support.
5378         (WIDE): New macro.
5379
5380 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
5381
5382         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
5383         the inner loop.
5384
5385 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
5386
5387         [BZ #13472]
5388         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
5389
5390 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
5391
5392         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
5393         Minor optimizations.
5394
5395         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
5396         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
5397         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5398
5399 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
5400
5401         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
5402         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
5403         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
5404         for gcc to avoid warnings.
5405         * inet/Makefile (tests): Add tst-checks.
5406         * inet/tst-checks.c: New file.
5407
5408         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
5409         warning.
5410
5411         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
5412         __wmemcmp_sse2.
5413
5414         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
5415         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
5416
5417         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
5418
5419 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
5420
5421         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
5422         problem.
5423
5424         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
5425
5426 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
5427
5428         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
5429         conditional on GCC version.
5430         (__arch_compare_and_exchange_val_8_acq)
5431         (__arch_compare_and_exchange_val_16_acq)
5432         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
5433         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
5434         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
5435
5436 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
5437
5438         * sysdeps/sh/backtrace.c: New file.
5439
5440 2011-12-02  Andreas Schwab  <schwab@redhat.com>
5441
5442         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
5443         parenthesis.
5444
5445 2011-12-01  Andreas Schwab  <schwab@redhat.com>
5446
5447         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
5448         falling back to utime.
5449
5450 2011-11-30  Andreas Schwab  <schwab@redhat.com>
5451
5452         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
5453         expectations for float.
5454
5455 2011-11-29  Andreas Schwab  <schwab@redhat.com>
5456
5457         * locale/weight.h (findidx): Add parameter len.
5458         * locale/weightwc.h (findidx): Likewise.
5459         * posix/fnmatch_loop.c (FCT): Adjust caller.
5460         * posix/regcomp.c (build_equiv_class): Likewise.
5461         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
5462         * posix/regexec.c (check_node_accept_bytes): Likewise.
5463         * string/strcoll_l.c (STRCOLL): Likewise.
5464         * string/strxfrm_l.c (STRXFRM): Likewise.
5465
5466 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
5467
5468         * Makefile.in: Remove CVSOPT handling.
5469         * configure.in: Remove use of AC_REVISION.
5470         * iconvdata/Makefile (distribute): No need to filter out CVS.
5471         * scripts/list-sources.sh: Remove CVS, subversion and monotone
5472         handling.
5473
5474 2011-11-16  Andreas Schwab  <schwab@redhat.com>
5475
5476         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
5477         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
5478         [USE_AS_STRNCASECMP_L]: Likewise.
5479         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
5480         NO_TLS_DIRECT_SEG_REFS.
5481         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
5482         Fix argument offsets for non-PIC.
5483         [USE_AS_STRNCASECMP_L]: Likewise.
5484         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
5485         NO_TLS_DIRECT_SEG_REFS.
5486
5487 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
5488
5489         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
5490         O_CLOEXEC.
5491         * locale/loadlocale.c (_nl_load_locale): Likewise.
5492
5493 2011-11-15  Andreas Schwab  <schwab@redhat.com>
5494
5495         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
5496         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
5497         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
5498         (SYSCALL_GETTIME): Set errno on error.
5499
5500         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
5501         count references to noai6ai_cached.
5502
5503 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
5504
5505         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
5506
5507         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
5508         FD_CLOEXEC for /proc/self/maps.
5509
5510         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
5511         FD_CLOEXEC for /proc/meminfo.
5512
5513         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
5514         gai.conf.
5515
5516         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
5517         FD_CLOEXEC for given file.
5518
5519         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
5520
5521         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
5522         FD_CLOEXEC for /etc/hosts.
5523         (_gethtent): Likewise.
5524
5525         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
5526
5527         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
5528         cancellation and set FD_CLOEXEC for /etc/netgroup.
5529
5530         * nss/nss_files/files-key.c (search): Don't allow cancellation when
5531         reading /etc/publickey.
5532
5533         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
5534         allow cancellation when reading /etc/group.
5535
5536         * nss/nss_files/files-alias.c (internal_setent): Don't allow
5537         cancellation.
5538         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
5539
5540         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
5541         when using data file.
5542
5543         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
5544
5545         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
5546         (write_nis_obj): Use "c" and "e" in fopen.
5547
5548         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
5549
5550         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
5551
5552         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
5553
5554         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
5555
5556         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
5557         locale.alias.
5558
5559         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
5560
5561         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
5562
5563         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
5564
5565         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
5566         file parsing and set FD_CLOEXEC.
5567
5568 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
5569
5570         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
5571
5572 2011-11-14  Andreas Schwab  <schwab@redhat.com>
5573
5574         * malloc/arena.c (arena_get2): Don't call reused_arena when
5575         _int_new_arena failed.
5576
5577 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
5578
5579         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
5580         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
5581         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
5582         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5583         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5584         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
5585         to compile strcasecmp and strncasecmp.
5586         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
5587         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
5588
5589         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
5590
5591 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
5592
5593         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
5594         locale-defines.sym to gen-as-const-headers.
5595         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
5596         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
5597         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
5598         to compile strcasecmp and strncasecmp.
5599         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
5600         strcasecmp_l and strncasecmp_l.
5601         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
5602         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
5603         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
5604         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
5605         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
5606         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
5607         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
5608         * sysdeps/i386/i686/multiarch/strncase.S: New file.
5609         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
5610         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
5611         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
5612
5613 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
5614
5615         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
5616         result of SYSDEP_GETTIME_CPU to retval.
5617         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
5618         parameter list to macro.  Remove trailing semicolon.  Adjust users.
5619
5620         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
5621         variable.
5622
5623         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
5624         mantissa words.
5625         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5626
5627         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
5628         from unused variable.
5629
5630         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
5631         DWARF definitions.
5632         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
5633         for assembling.
5634
5635         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
5636         over namespaces.
5637
5638         * sunrpc/rpc_prot.c (rejected): Fix case value.
5639
5640         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
5641         unsigned long long int to avoid warnings in shift.
5642
5643         * posix/regex_internal.c (re_string_reconstruct): Actually use result
5644         of use of trans.
5645         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
5646         variable tmp.
5647
5648         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
5649         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5650         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5651
5652         * nis/nis_table.c (nis_list): Use variable of correct type for
5653         result of __follow_path call.
5654
5655 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5656
5657         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
5658         of math functions ceil, trunc, floor, round, and sqrt, when
5659         avaliable on the platform.
5660         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
5661         name clash.
5662         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5663         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5664         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5665
5666 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
5667
5668         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
5669         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5670
5671 2011-11-11  Roland McGrath  <roland@hack.frob.com>
5672
5673         * include/unistd.h: Fix __readlink return type.
5674         Reported by Chris Metcalf <cmetcalf@tilera.com>.
5675
5676 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
5677
5678         * stdlib/ucontext.h: Undo last change for makecontext.
5679
5680 2011-11-11  Andreas Schwab  <schwab@redhat.com>
5681
5682         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
5683
5684         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
5685         * setjmp/setjmp.h: Mark functions as non-leaf.
5686         * setjmp/bits/setjmp2.h: Likewise.
5687         * stdlib/ucontext.h: Likewise.
5688
5689 2011-11-10  Andreas Schwab  <schwab@redhat.com>
5690
5691         * malloc/arena.c (_int_new_arena): Don't increment narenas.
5692         (reused_arena): Don't check arena limit.
5693         (arena_get2): Atomically check arena limit.
5694
5695 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
5696
5697         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
5698         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
5699
5700         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
5701         instructions.
5702
5703 2011-11-07  Andreas Schwab  <schwab@redhat.com>
5704
5705         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
5706         handler when locking.
5707
5708         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5709         Fix size of allocated buffer.
5710
5711 2011-11-04  Andreas Schwab  <schwab@redhat.com>
5712
5713         [BZ #10103]
5714         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
5715         declarations for long double functions.
5716         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5717
5718         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5719
5720 2011-11-03  Andreas Schwab  <schwab@redhat.com>
5721
5722         * nscd/nscd.c (main): Don't start AVC thread until credentials are
5723         installed.
5724
5725         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5726         is disabled.
5727
5728 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5729
5730         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5731
5732 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
5733
5734         * include/alloca.h (stackinfo_alloca_round): Define.
5735         (extend_alloca): Use it.
5736         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5737         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5738         here.
5739
5740         * scripts/check-local-headers.sh: Ignore libaudit.h.
5741
5742         * nscd/Makefile (extra-objs): Make recursively expanded.
5743
5744 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
5745
5746         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5747         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5748
5749         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5750         * posix/tst-rfc3484-2.c: Likewise.
5751         * posix/tst-rfc3484-3.c: Likewise.
5752
5753         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5754         process_vm_writev.
5755         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5756         process_vm_writev.
5757         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5758         process_vm_writev from libc using GLIBC_2.15 version.
5759
5760         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5761
5762 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
5763
5764         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5765         stack usage.
5766
5767 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
5768
5769         [BZ #13367]
5770         * nss/getent.c (initgroups_keys): Show error message in case no group
5771         names are given.
5772
5773         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5774         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5775         __bump_nl_timestamp.
5776         * nscd/connections (nscd_init): When host database is served open
5777         netlink socket and request notification about configuration changes.
5778         (main_loop_poll): Track netlink file descriptor and bump timestamp
5779         in case data becomes available.
5780         (main_loop_epoll): Likewise.
5781         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5782         (database_pers_head): Add extra_data fileds.
5783         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5784         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5785         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5786         Adjust caller.
5787         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5788         in6ai data, call __free_in6ai.
5789         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5790         Add -DHAVE_NETLINK.
5791         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
5792         interface information.  Reuse previous data if netlink timestamp
5793         is not changed.
5794         (__bump_nl_timestamp): New function.
5795         (__free_in6ai): New function.
5796
5797 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
5798
5799         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5800         close_not_cancel_no_status here.
5801         (__check_pf): Reorganize code a bit to not call close twice if OOM.
5802
5803 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
5804
5805         [BZ #13276]
5806         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5807         return value.
5808
5809         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
5810         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5811         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5812
5813 2011-07-03  Andreas Jaeger  <aj@suse.de>
5814
5815         [BZ #10709]
5816         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5817         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5818         * math/libm-test.inc (sin_test): Add test case.
5819
5820 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
5821
5822         [BZ #13337]
5823         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5824         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5825
5826         * elf/chroot_canon.c (chroot_canon): Cleanups.
5827
5828         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5829
5830         [BZ #13335]
5831         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5832         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5833
5834         * string/test-strchr.c: Make usable for strchrnul testing.
5835         * string/test-strchrnul.c: New file.
5836         * string/Makefile (strop-tests): Add strchrnul.
5837
5838         * po/it.po: Update from translation team.
5839         * po/es.po: Likewise.
5840
5841 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
5842
5843         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5844         the three constants needed as parameters.  Drop the others.
5845         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5846         __m128i_strloadu_tolower.
5847         Create and initialize variable zero and use it in all the places
5848         where _mm_setzero_si128 was used.
5849
5850         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5851         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5852         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5853         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5854         anymore.
5855         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5856         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5857         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5858         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5859         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5860         __mpranred, __mptan.
5861         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5862         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5863         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5864         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5865         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5866         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5867         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5868         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5869         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5870
5871 2011-10-28  Andreas Schwab  <schwab@redhat.com>
5872
5873         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5874         redefine if SHARED.
5875         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5876
5877         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5878         wide char related routines to wcsmbs subdir.
5879
5880 2011-10-27  Andreas Schwab  <schwab@redhat.com>
5881
5882         [BZ #13344]
5883         * misc/sys/cdefs.h (__THROWNL): Define.
5884         * posix/unistd.h: Use __THREADNL instead of __THREAD
5885         for memory synchronization functions.
5886
5887 2011-10-26  Roland McGrath  <roland@hack.frob.com>
5888
5889         [BZ #13349]
5890         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5891         doesn't exist.
5892         * manual/stdio.texi (Obstack Streams): Node removed.
5893
5894 2011-10-26  Andreas Schwab  <schwab@redhat.com>
5895
5896         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5897         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5898         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5899
5900         * math/math_private.h (math_force_eval): Allow non-addressable
5901         arguments.
5902         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5903
5904 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
5905
5906         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5907         file is not needed.
5908
5909         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5910         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5911         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5912         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5913         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5914         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5915         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5916         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5917         Add AVX variants.
5918         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5919         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5920         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5921         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5922         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5923         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5924         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5925         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5926         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5927         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5928         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5929         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5930         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5931         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5932         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5933         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5934         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5935         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5936         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5937
5938         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5939         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
5940
5941         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5942         place.  Use VEX encoding when compiling for AVX.
5943
5944 2011-10-25  Andreas Schwab  <schwab@redhat.com>
5945
5946         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5947         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5948
5949         * string/test-strchr.c (do_test): Don't generate NUL bytes.
5950
5951 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
5952
5953         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
5954         useless if() expression.
5955         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5956         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5957         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5958         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5959         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5960         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5961         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5962         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5963         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5964         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5965         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5966         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5967         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5968         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5969         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5970         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5971         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5972         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5973         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5974
5975         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5976
5977 2011-10-25  Andreas Schwab  <schwab@redhat.com>
5978
5979         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
5980         condition.
5981         * elf/dl-fini.c (_dl_sort_fini): Likewise.
5982
5983 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
5984
5985         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
5986         .text section.  Avoid duplicate constants.
5987         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5988         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5989         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5990         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5991         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5992         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5993         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5994         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5995         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5996         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
5997         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5998         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5999         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
6000         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
6001         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
6002         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
6003         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
6004         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
6005         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6006         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6007         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6008         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6009         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6010         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
6011         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
6012         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
6013         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
6014         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
6015         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
6016         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
6017         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
6018         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
6019         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6020         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
6021         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
6022         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
6023         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
6024         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
6025         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
6026         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
6027         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
6028         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
6029         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
6030         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
6031         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
6032
6033 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
6034
6035         * sysdeps/x86_64/dla.h: Move to ...
6036         * sysdeps/x86_64/fpu/dla.h: ...here.
6037         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
6038         situations.  Use __builtin_fma only for gcc 4.6 and up.
6039
6040         * config.make.in: Add have-mfma4 entry.
6041         * configure.in: Substitute libc_cv_cc_fma4.
6042         * math/Makefile (dbl-only-routines): Add sincostab.
6043         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
6044         Use __sincostab not sincos.
6045         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
6046         name is a macro.
6047         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6048         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6049         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6050         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
6051         using __copysign.
6052         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
6053         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
6054         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
6055         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
6056         and __inv.
6057         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
6058         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
6059         __copysign.
6060         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
6061         define aliases when function name is a macro.
6062         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
6063         sysdeps/ieee754/dbl-64/sincos.tbl.
6064         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
6065         fma4-enabled routines.
6066         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
6067         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
6068         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
6069         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
6070         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
6071         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
6072         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
6073         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
6074         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
6075         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
6076         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
6077         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
6078         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
6079         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
6080         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
6081         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
6082         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
6083         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
6084         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
6085         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
6086         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
6087         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
6088         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
6089         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
6090         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
6091         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
6092         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
6093         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
6094         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
6095         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
6096
6097         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
6098         rename.
6099         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6100         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6101         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6102         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6103         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6104         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6105         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6106         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6107
6108 2011-10-24  Andreas Schwab  <schwab@redhat.com>
6109
6110         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
6111
6112 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
6113
6114         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
6115
6116         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
6117         prediction.
6118         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
6119
6120         * string/strnlen.c: Don't define STRNLEN, reverse logic.
6121         Remove unused variable magic_bits.
6122         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
6123
6124         * string/strnlen.c: Define and use STRNLEN macro.
6125         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
6126         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
6127         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
6128         * wcsmbs/wcslen.c: Define and use WCSLEN.
6129         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
6130         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
6131         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
6132         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
6133         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
6134         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
6135         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6136
6137 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6138
6139         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6140         strnlen-sse2-no-bsf.
6141         Rename strlen-no-bsf to strlen-sse2-no-bsf.
6142         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
6143         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
6144         Add strnlen support.
6145         (USE_AS_STRNLEN): New macro.
6146         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
6147         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
6148         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
6149         * sysdeps/x86_64/wcslen.S: New file.
6150
6151 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
6152
6153         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6154         XMM-moves are used for copying on small sizes.
6155
6156 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6157
6158         * wcsmbs/Makefile (strop-tests): Add wcschr.
6159         * wcsmbs/test-wcschr.c: New file.
6160         * string/test-strchr.c: Update.
6161         Add wcschr support.
6162         (WIDE): New macro.
6163
6164 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6165
6166         * wcsmbs/Makefile (strop-tests): Add wcslen.
6167         * wcsmbs/test-wcslen.c: New file.
6168         * string/test-strlen.c: Update.
6169         Add wcslen support.
6170         (WIDE): New macro.
6171
6172 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
6173
6174         * po/it.po: Update from translation team.
6175
6176 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6177
6178         * sysdeps/x86_64/wcscmp.S: Update.
6179         Fix wrong comparison semantics.
6180         wcscmp shall use signed comparison not unsigned.
6181         Don't use substraction to avoid overflow bug.
6182         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
6183         * wcsmbc/wcscmp.c: Likewise.
6184         * string/test-strcmp.c: Likewise.
6185         Add new tests to check cases with negative values.
6186
6187 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
6188
6189         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
6190         * sysdeps/x86_64/dla.h: ...here.  New file.
6191         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
6192         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6193         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6194         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6195         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6196         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6197         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6198         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6199         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6200
6201 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
6202
6203         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
6204         __ynl_finite aliases.
6205
6206 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
6207
6208         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6209
6210         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
6211         define DLA_FMA.
6212         [DLA_FMA] (EMULV): Use DLA_FMA.
6213         [DLA_FMA] (MUL12): Use EMULV.
6214         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
6215         that are not needed.
6216         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6217         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6218         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6219         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6220         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6221         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6222         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6223
6224 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
6225
6226         * math/s_nan.c: Undef __nan.
6227         * math/s_nanf.c: Undef __nanf.
6228         * math/s_nanl.c: Undef __nanl.
6229         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
6230         "math_private.h".
6231
6232 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
6233
6234         * math/s_catan.c: Add branch predictions.
6235         * math/s_catanf.c: Likewise.
6236         * math/s_catanh.c: Likewise.
6237         * math/s_catanhf.c: Likewise.
6238         * math/s_catanhl.c: Likewise.
6239         * math/s_catanl.c: Likewise.
6240         * math/s_cexp.c: Likewise.
6241         * math/s_cexpf.c: Likewise.
6242         * math/s_cexpl.c: Likewise.
6243         * math/s_clog.c: Likewise.
6244         * math/s_clog10.c: Likewise.
6245         * math/s_clog10f.c: Likewise.
6246         * math/s_clog10l.c: Likewise.
6247         * math/s_clogf.c: Likewise.
6248         * math/s_clogl.c: Likewise.
6249         * math/s_csqrt.c: Likewise.
6250         * math/s_csqrtf.c: Likewise.
6251         * math/s_csqrtl.c: Likewise.
6252         * math/s_ctanf.c: Likewise.
6253         * math/s_ctanh.c: Likewise.
6254         * math/s_ctanhf.c: Likewise.
6255         * math/s_ctanhl.c: Likewise.
6256         * math/s_ctanl.c: Likewise.
6257
6258         * math/math_private.h: Define __nan, __nanf, __nanl.
6259         * math/s_cacosh.c: Include <math_private.h>.
6260         * math/s_cacoshl.c: Likewise.
6261         * math/s_casinh.c: Likewise.
6262         * math/s_casinhf.c: Likewise.
6263         * math/s_casinhl.c: Likewise.
6264         * math/s_ccos.c: Rely entire on ccosh.
6265         * math/s_ccosf.c: Rely entire on ccoshf.
6266         * math/s_ccosl.c: Rely entirely on ccoshl.
6267         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
6268         Remove tests for FE_INVALID.
6269         * math/s_ccoshf.c: Likewise.
6270         * math/s_ccoshl.c: Likewise.
6271         * math/s_csin.c: Likewise.
6272         * math/s_csinf.c: Likewise.
6273         * math/s_csinh.c Likewise.
6274         * math/s_csinhf.c: Likewise.
6275         * math/s_csinhl.c: Likewise.
6276         * math/s_csinl.c: Likewise.
6277         * math/s_ctan.c: Likewise.
6278         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
6279         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
6280         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
6281
6282 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
6283
6284         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
6285         compilation problems.
6286
6287         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
6288         __builtin_expect.
6289
6290 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
6291
6292         * sysdeps/i386/configure.in: Test for -mfma4 option.
6293         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
6294         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
6295         COMMON_CPUID_INDEX_80000001.
6296         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
6297         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
6298         use it if FMA3 is not supported.
6299         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
6300
6301         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
6302         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
6303
6304 2011-10-20  Andreas Schwab  <schwab@redhat.com>
6305
6306         [BZ #12892]
6307         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
6308         it would create a cycle with a link time dependency.
6309
6310 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
6311
6312         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
6313         instruction.
6314         * string/Makefile (strop-tests): Add rawmemchr.
6315         * string/test-rawmemchr.c: New file.
6316
6317         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
6318         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
6319         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
6320         when compiling str{,n}casecmp and when AVX is available.  Hook up
6321         new optimized code in initializers.
6322
6323 2011-10-19  Andreas Schwab  <schwab@redhat.com>
6324
6325         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
6326         __feraiseexcept instead of feraiseexcept.
6327
6328 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
6329
6330         * math/math_private.h: Define defaults for libc_fetestexcept and
6331         libc_feupdateenv.
6332         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
6333         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6334         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6335         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6336         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6337         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6338         libc_fetestexcept and libc_feupdateenv.
6339
6340         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
6341         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
6342         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
6343         * sysdeps/x86_64/fpu/math_private.h: Define special version of
6344         libc_feholdexcept_setround.
6345
6346         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
6347         Add s_nearbyint-c and s_nearbyintf-c.
6348         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
6349         nearbyintf inlines.
6350         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
6351         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
6352         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
6353         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
6354
6355         * math/math_private.h: Define defaults for libc_fegetround,
6356         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
6357         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
6358         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
6359         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
6360         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
6361         standard functions.
6362         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6363         Remove comments and hacks for old compiler versions.
6364         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6365         libc_fegetround, libc_fesetround, libc_feholdexcept, and
6366         libc_feholdexceptl.
6367
6368 2011-10-18  Andreas Schwab  <schwab@redhat.com>
6369
6370         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
6371         (__feraiseexcept_renamed): Add __NTH.
6372         (feraiseexcept): Add __NTH.  Rename local variables to fix
6373         namespace violations.
6374
6375 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
6376
6377         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
6378
6379         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
6380
6381         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
6382         recently added interfaces.
6383         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
6384
6385         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
6386         about macro parameter expansion.
6387
6388         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
6389         __NO_MATH_INLINES is defined.  Cleanups.
6390
6391         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
6392         and __floorf is target has SSE4.1.
6393         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
6394         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
6395         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
6396         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
6397
6398         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
6399         name.
6400         (floorf): Likewise.
6401
6402         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
6403
6404 2011-10-17  Andreas Schwab  <schwab@redhat.com>
6405
6406         * misc/sys/cdefs.h: Fix last change.
6407
6408         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
6409         database lookup.
6410
6411 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
6412
6413         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
6414
6415         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
6416         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6417         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6418         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6419         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6420         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6421         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6422         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6423         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6424         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
6425         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
6426         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
6427         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
6428         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
6429         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
6430         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
6431         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
6432         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
6433         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
6434         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
6435         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
6436         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
6437
6438         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
6439         ceil, ceilf, floor, floorf.
6440
6441         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
6442         Perform IRELATIVE relocations last.
6443
6444         * elf/do-rel.h: Add another parameter nrelative, replacing the
6445         local variable with the same name.  Change name of the function
6446         to end in Rel or Rela (uppercase).
6447         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
6448         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
6449         elf_dynamic_do_##reloc function.
6450
6451 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
6452
6453         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
6454         is sufficient, at least on modern CPUs.
6455
6456         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
6457
6458         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
6459         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
6460
6461         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
6462         __expl_finite.
6463         * math/bits/math-finite.h: Add entries for exp.
6464         * math/e_expl.c: Add __*_finite alias.
6465         * sysdeps/i386/fpu/e_exp.S: Likewise.
6466         * sysdeps/i386/fpu/e_expf.S: Likewise.
6467         * sysdeps/i386/fpu/e_expl.c: Likewise.
6468         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6469         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6470         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6471         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6472         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
6473         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6474         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6475
6476         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
6477         is sufficient, at least on modern CPUs.
6478
6479         * ctype/ctype-info.c (__ctype_init): Define.
6480         * include/ctype.h (__ctype_init): Declare.
6481         (__ctype_b_loc): The variable is always initialized.
6482         (__ctype_toupper_loc): Likewise.
6483         (__ctype_tolower_loc): Likewise.
6484         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
6485         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
6486
6487 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
6488
6489         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
6490
6491         * configure.in: Also look in $cxxmachine/include for C++ system
6492         headers.
6493
6494 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6495
6496         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
6497         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
6498         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
6499         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
6500         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
6501         (USE_AS_WMEMCMP): New macro.
6502         Fixing indents.
6503         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
6504         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
6505         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
6506         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
6507         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6508         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
6509         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
6510         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
6511         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
6512         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
6513         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
6514         (USE_AS_WMEMCMP): New macro.
6515         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
6516         * sysdeps/string/test-memcmp.c: Update.
6517         Fix simple_wmemcmp.
6518         Add new tests.
6519         * wcsmbs/wmemcmp.c: Update.
6520         (WMEMCMP): New macro.
6521         Fix overflow bug.
6522
6523 2011-10-12  Andreas Jaeger  <aj@suse.de>
6524
6525         [BZ #13268]
6526         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
6527
6528 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
6529
6530         * libio/iofwide.c (do_length): Avoid warning.
6531
6532         * ctype/ctype.h (__isctype_f): Add missing __THROW.
6533
6534 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
6535
6536         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
6537
6538         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
6539         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
6540         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
6541         * sysdeps/i386/i686/fpu/e_log.S: New file.
6542         * sysdeps/i386/i686/fpu/e_logf.S: New file.
6543         * sysdeps/i386/i686/fpu/e_logl.S: New file.
6544
6545         * ctype/ctype.h: Add support for inlined isXXX functions when
6546         compiling C++ code.
6547
6548 2011-10-14  Andreas Schwab  <schwab@redhat.com>
6549
6550         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6551
6552         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
6553
6554 2011-10-13  Roland McGrath  <roland@hack.frob.com>
6555
6556         [BZ #13291]
6557         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
6558
6559 2011-10-13  Andreas Schwab  <schwab@redhat.com>
6560
6561         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
6562         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
6563         feraiseexcept.
6564
6565         * sysdeps/x86_64/memrchr.S: Check for zero size.
6566
6567         * string/stratcliff.c: Add memrchr tests.
6568
6569 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6570
6571         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6572         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
6573         rawmemchr-sse2 rawmemchr-sse2-bsf.
6574         * sysdeps/i386/i686/multiarch/memchr.S: New file.
6575         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
6576         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
6577         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
6578         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
6579         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
6580         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
6581         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
6582         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
6583         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
6584         * string/memrchr.c (MEMRCHR): New macro.
6585
6586 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
6587
6588         Add integration with gcc's -ffinite-math-only and optimize wrapper
6589         functions in libm.
6590         * Versions.def: Define GLIBC_2.15 version for libm.
6591         * math/Makefile (headers): Add bits/math-finite.h.
6592         * math/bits/math-finite.h: New file.
6593         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
6594         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
6595         * math/e_acoshl.c: Add __*_finite alias.
6596         * math/e_acosl.c: Likewise.
6597         * math/e_asinl.c: Likewise.
6598         * math/e_atan2l.c: Likewise.
6599         * math/e_atanhl.c: Likewise.
6600         * math/e_coshl.c: Likewise.
6601         * math/e_exp10.c: Likewise.
6602         * math/e_exp10f.c: Likewise.
6603         * math/e_exp10l.c: Likewise.
6604         * math/e_exp2l.c: Likewise.
6605         * math/e_fmodl.c: Likewise.
6606         * math/e_gammal_r.c: Likewise.
6607         * math/e_hypotl.c: Likewise.
6608         * math/e_j0l.c: Likewise.
6609         * math/e_j1l.c: Likewise.
6610         * math/e_jnl.c: Likewise.
6611         * math/e_lgammal_r.c: Likewise.
6612         * math/e_log10l.c: Likewise.
6613         * math/e_log2l.c: Likewise.
6614         * math/e_logl.c: Likewise.
6615         * math/e_powl.c: Likewise.
6616         * math/e_sinhl.c: Likewise.
6617         * math/e_sqrtl.c: Likewise.
6618         * math/e_scalb.c: Completely rewritten and optimized.
6619         * math/e_scalbf.c: Likewise.
6620         * math/e_scalbl.c: Likewise.
6621         * math/w_acos.c: Likewise.
6622         * math/w_acosf.c: Likewise.
6623         * math/w_acosl.c: Likewise.
6624         * math/w_acosh.c: Likewise.
6625         * math/w_acoshf.c: Likewise.
6626         * math/w_acoshl.c: Likewise.
6627         * math/w_asin.c: Likewise.
6628         * math/w_asinf.c: Likewise.
6629         * math/w_asinl.c: Likewise.
6630         * math/w_atan2.c: Likewise.
6631         * math/w_atan2f.c: Likewise.
6632         * math/w_atan2l.c: Likewise.
6633         * math/w_atanh.c: Likewise.
6634         * math/w_atanhf.c: Likewise.
6635         * math/w_atanhl.c: Likewise.
6636         * math/w_exp10.c: Likewise.
6637         * math/w_exp10f.c: Likewise.
6638         * math/w_exp10l.c: Likewise.
6639         * math/w_fmod.c: Likewise.
6640         * math/w_fmodf.c: Likewise.
6641         * math/w_fmodl.c: Likewise.
6642         * math/w_j0.c: Likewise.
6643         * math/w_j0f.c: Likewise.
6644         * math/w_j0l.c: Likewise.
6645         * math/w_j1.c: Likewise.
6646         * math/w_j1f.c: Likewise.
6647         * math/w_j1l.c: Likewise.
6648         * math/w_jn.c: Likewise.
6649         * math/w_jnf.c: Likewise.
6650         * math/w_log.c: Likewise.
6651         * math/w_logf.c: Likewise.
6652         * math/w_logl.c: Likewise.
6653         * math/w_log10.c: Likewise.
6654         * math/w_log10f.c: Likewise.
6655         * math/w_log10l.c: Likewise.
6656         * math/w_log2.c: Likewise.
6657         * math/w_log2f.c: Likewise.
6658         * math/w_log2l.c: Likewise.
6659         * math/w_pow.c: Likewise.
6660         * math/w_powf.c: Likewise.
6661         * math/w_powl.c: Likewise.
6662         * math/w_remainder.c: Likewise.
6663         * math/w_remainderf.c: Likewise.
6664         * math/w_remainderl.c: Likewise.
6665         * math/w_scalb.c: Likewise.
6666         * math/w_scalbf.c: Likewise.
6667         * math/w_scalbl.c: Likewise.
6668         * math/w_sqrt.c: Likewise.
6669         * math/w_sqrtf.c: Likewise.
6670         * math/w_sqrtl.c: Likewise.
6671         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
6672         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
6673         used.
6674         * math/math_private.h: Declare __kernel_standard_f.
6675         * math/w_cosh.c: Remove cruft and optimize a bit.
6676         * math/w_coshf.c: Likewise.
6677         * math/w_coshl.c: Likewise.
6678         * math/w_exp2.c: Likewise.
6679         * math/w_exp2f.c: Likewise.
6680         * math/w_exp2l.c: Likewise.
6681         * math/w_hypot.c: Likewise.
6682         * math/w_hypotf.c: Likewise.
6683         * math/w_hypotl.c: Likewise.
6684         * math/w_lgamma.c: Likewise.
6685         * math/w_lgamma_r.c: Likewise.
6686         * math/w_lgammaf.c: Likewise.
6687         * math/w_lgammaf_r.c: Likewise.
6688         * math/w_lgammal.c: Likewise.
6689         * math/w_lgammal_r.c: Likewise.
6690         * math/w_sinh.c: Likewise.
6691         * math/w_sinhf.c: Likewise.
6692         * math/w_sinhl.c: Likewise.
6693         * math/w_tgamma.c: Likewise.
6694         * math/w_tgammaf.c: Likewise.
6695         * math/w_tgammal.c: Likewise.
6696         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6697         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6698         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
6699         Minor optimizations.  Pretty printing.  Remove cruft.
6700         * sysdeps/i386/fpu/e_acosf.S: Likewise.
6701         * sysdeps/i386/fpu/e_acosh.S: Likewise.
6702         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6703         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6704         * sysdeps/i386/fpu/e_acosl.c: Likewise.
6705         * sysdeps/i386/fpu/e_asin.S: Likewise.
6706         * sysdeps/i386/fpu/e_asinf.S: Likewise.
6707         * sysdeps/i386/fpu/e_atan2.S: Likewise.
6708         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
6709         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
6710         * sysdeps/i386/fpu/e_atanh.S: Likewise.
6711         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6712         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6713         * sysdeps/i386/fpu/e_exp10.S: Likewise.
6714         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
6715         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
6716         * sysdeps/i386/fpu/e_exp2.S: Likewise.
6717         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6718         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6719         * sysdeps/i386/fpu/e_fmod.S: Likewise.
6720         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6721         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6722         * sysdeps/i386/fpu/e_hypot.S: Likewise.
6723         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6724         * sysdeps/i386/fpu/e_log.S: Likewise.
6725         * sysdeps/i386/fpu/e_log10.S: Likewise.
6726         * sysdeps/i386/fpu/e_log10f.S: Likewise.
6727         * sysdeps/i386/fpu/e_log10l.S: Likewise.
6728         * sysdeps/i386/fpu/e_log2.S: Likewise.
6729         * sysdeps/i386/fpu/e_log2f.S: Likewise.
6730         * sysdeps/i386/fpu/e_log2l.S: Likewise.
6731         * sysdeps/i386/fpu/e_logf.S: Likewise.
6732         * sysdeps/i386/fpu/e_logl.S: Likewise.
6733         * sysdeps/i386/fpu/e_pow.S: Likewise.
6734         * sysdeps/i386/fpu/e_powf.S: Likewise.
6735         * sysdeps/i386/fpu/e_powl.S: Likewise.
6736         * sysdeps/i386/fpu/e_remainder.S: Likewise.
6737         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6738         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6739         * sysdeps/i386/fpu/e_scalb.S: Likewise.
6740         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6741         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6742         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6743         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6744         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6745         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6746         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6747         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6748         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6749         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6750         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6751         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6752         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6753         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6754         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6755         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6756         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6757         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6758         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6759         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6760         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6761         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6762         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6763         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6764         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6765         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6766         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6767         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6768         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6769         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6770         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6771         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6772         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6773         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6774         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6775         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6776         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6777         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6778         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6779         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6780         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6781         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6782         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6783         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6784         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6785         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6786         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6787         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6788         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6789         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6790         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6791         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6792         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6793         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6794         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6795         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6796         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6797         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6798         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6799         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6800         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6801         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6802         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6803         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6804         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6805         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6806         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6807         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6808         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6809         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6810         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6811         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6812         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6813         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6814         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6815         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6816         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6817         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6818         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6819         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6820         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6821         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6822         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6823         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6824         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6825         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6826         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6827         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6828         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6829         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6830         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6831         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6832         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6833         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6834         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6835         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6836         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6837         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6838         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6839         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6840         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6841         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6842         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6843         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6844         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6845         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6846         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6847         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6848         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6849         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6850         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6851         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6852         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6853         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6854         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6855         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
6856         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6857         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6858         (__isnanf): Likewise.
6859         (__isinf_ns): Likewise.
6860         (__isinf_nsf): Likewise.
6861         (__finite): Likewise.
6862         (__finitef): Likewise.
6863         (__ieee754_sqrt): Define as macro.
6864         (__ieee754_sqrtf): Define as macro.
6865         (__ieee754_sqrtl): Define as macro.
6866         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6867         inlined copy.
6868         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6869         __FINITE_MATH_ONLY__ consistent.
6870         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6871
6872 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
6873
6874         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6875         of rawmemchr.
6876
6877         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6878
6879 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
6880
6881         * po/ja.po: Update from translation team.
6882
6883 2011-10-08  Roland McGrath  <roland@hack.frob.com>
6884
6885         * locale/programs/locarchive.c (prepare_address_space): New function.
6886         (create_archive, enlarge_archive, open_archive): Use it.
6887
6888         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6889         inside [SHARED], where it is used.
6890
6891         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6892
6893         * nss/getent.c (netgroup_keys): Remove unused variable.
6894         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6895
6896 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
6897
6898         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6899         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6900         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6901         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6902         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6903         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6904         * math/Makefile (libm-calls): Add s_isinf_ns.
6905         * math/divtc3.c: Use __isinf_nsl instead of isinf.
6906         * math/multc3.c: Likewise.
6907         * math/s_casin.c: Likewise.
6908         * math/s_casinf.c: Likewise.
6909         * math/s_casinl.c: Likewise.
6910         * math/s_ccos.c: Likewise.
6911         * math/s_ccosf.c: Likewise.
6912         * math/s_ccosl.c: Likewise.
6913         * math/s_ctan.c: Likewise.
6914         * math/s_ctanf.c: Likewise.
6915         * math/s_ctanh.c: Likewise.
6916         * math/s_ctanhf.c: Likewise.
6917         * math/s_ctanhl.c: Likewise.
6918         * math/s_ctanl.c: Likewise.
6919         * math/w_fmod.c: Likewise.
6920         * math/w_fmodf.c: Likewise.
6921         * math/w_fmodl.c: Likewise.
6922         * math/w_remainder.c: Likewise.
6923         * math/w_remainderf.c: Likewise.
6924         * math/w_remainderl.c: Likewise.
6925         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6926         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6927         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6928         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6929         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6930         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6931         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6932         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6933
6934         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6935         of the number.
6936         * stdio-common/printf_fphex.c: Likewise.
6937         * stdio-common/printf_size.c: Likewise.
6938
6939         * math/e_exp10.c: Include math_private.h using <...> not "...".
6940         * math/e_exp10f.c: Likewise.
6941         * math/e_exp10l.c: Likewise.
6942         * math/e_exp2l.c: Likewise.
6943         * math/e_j0l.c: Likewise.
6944         * math/e_j1l.c: Likewise.
6945         * math/e_jnl.c: Likewise.
6946         * math/e_lgammal_r.c: Likewise.
6947         * math/e_rem_pio2l.c: Likewise.
6948         * math/e_scalb.c: Likewise.
6949         * math/e_scalbf.c: Likewise.
6950         * math/e_scalbl.c: Likewise.
6951         * math/k_cosl.c: Likewise.
6952         * math/k_sinl.c: Likewise.
6953         * math/k_tanl.c: Likewise.
6954         * math/s_cacoshf.c: Likewise.
6955         * math/s_catan.c: Likewise.
6956         * math/s_catanf.c: Likewise.
6957         * math/s_catanh.c: Likewise.
6958         * math/s_catanhf.c: Likewise.
6959         * math/s_catanhl.c: Likewise.
6960         * math/s_catanl.c: Likewise.
6961         * math/s_ccosh.c: Likewise.
6962         * math/s_ccoshf.c: Likewise.
6963         * math/s_ccoshl.c: Likewise.
6964         * math/s_cexp.c: Likewise.
6965         * math/s_cexpf.c: Likewise.
6966         * math/s_cexpl.c: Likewise.
6967         * math/s_clog.c: Likewise.
6968         * math/s_clog10.c: Likewise.
6969         * math/s_clog10f.c: Likewise.
6970         * math/s_clog10l.c: Likewise.
6971         * math/s_clogf.c: Likewise.
6972         * math/s_clogl.c: Likewise.
6973         * math/s_csin.c: Likewise.
6974         * math/s_csinf.c: Likewise.
6975         * math/s_csinh.c: Likewise.
6976         * math/s_csinhf.c: Likewise.
6977         * math/s_csinhl.c: Likewise.
6978         * math/s_csinl.c: Likewise.
6979         * math/s_csqrt.c: Likewise.
6980         * math/s_csqrtf.c: Likewise.
6981         * math/s_csqrtl.c: Likewise.
6982         * math/s_ctan.c: Likewise.
6983         * math/s_ctanf.c: Likewise.
6984         * math/s_ctanh.c: Likewise.
6985         * math/s_ctanhf.c: Likewise.
6986         * math/s_ctanhl.c: Likewise.
6987         * math/s_ctanl.c: Likewise.
6988         * math/s_ldexp.c: Likewise.
6989         * math/s_ldexpf.c: Likewise.
6990         * math/s_ldexpl.c: Likewise.
6991         * math/s_significand.c: Likewise.
6992         * math/s_significandf.c: Likewise.
6993         * math/s_significandl.c: Likewise.
6994         * math/w_acos.c: Likewise.
6995         * math/w_acosf.c: Likewise.
6996         * math/w_acosh.c: Likewise.
6997         * math/w_acoshf.c: Likewise.
6998         * math/w_acoshl.c: Likewise.
6999         * math/w_acosl.c: Likewise.
7000         * math/w_asin.c: Likewise.
7001         * math/w_asinf.c: Likewise.
7002         * math/w_asinl.c: Likewise.
7003         * math/w_atan2.c: Likewise.
7004         * math/w_atan2f.c: Likewise.
7005         * math/w_atan2l.c: Likewise.
7006         * math/w_atanh.c: Likewise.
7007         * math/w_atanhf.c: Likewise.
7008         * math/w_atanhl.c: Likewise.
7009         * math/w_cosh.c: Likewise.
7010         * math/w_coshf.c: Likewise.
7011         * math/w_coshl.c: Likewise.
7012         * math/w_dremf.c: Likewise.
7013         * math/w_exp10.c: Likewise.
7014         * math/w_exp10f.c: Likewise.
7015         * math/w_exp10l.c: Likewise.
7016         * math/w_exp2.c: Likewise.
7017         * math/w_exp2f.c: Likewise.
7018         * math/w_fmod.c: Likewise.
7019         * math/w_fmodf.c: Likewise.
7020         * math/w_fmodl.c: Likewise.
7021         * math/w_hypot.c: Likewise.
7022         * math/w_hypotf.c: Likewise.
7023         * math/w_hypotl.c: Likewise.
7024         * math/w_j0.c: Likewise.
7025         * math/w_j0f.c: Likewise.
7026         * math/w_j0l.c: Likewise.
7027         * math/w_j1.c: Likewise.
7028         * math/w_j1f.c: Likewise.
7029         * math/w_j1l.c: Likewise.
7030         * math/w_jn.c: Likewise.
7031         * math/w_jnf.c: Likewise.
7032         * math/w_jnl.c: Likewise.
7033         * math/w_lgamma.c: Likewise.
7034         * math/w_lgamma_r.c: Likewise.
7035         * math/w_lgammaf.c: Likewise.
7036         * math/w_lgammaf_r.c: Likewise.
7037         * math/w_lgammal.c: Likewise.
7038         * math/w_lgammal_r.c: Likewise.
7039         * math/w_log.c: Likewise.
7040         * math/w_log10.c: Likewise.
7041         * math/w_log10f.c: Likewise.
7042         * math/w_log10l.c: Likewise.
7043         * math/w_log2.c: Likewise.
7044         * math/w_log2f.c: Likewise.
7045         * math/w_log2l.c: Likewise.
7046         * math/w_logf.c: Likewise.
7047         * math/w_logl.c: Likewise.
7048         * math/w_pow.c: Likewise.
7049         * math/w_powf.c: Likewise.
7050         * math/w_powl.c: Likewise.
7051         * math/w_remainder.c: Likewise.
7052         * math/w_remainderf.c: Likewise.
7053         * math/w_remainderl.c: Likewise.
7054         * math/w_scalb.c: Likewise.
7055         * math/w_scalbf.c: Likewise.
7056         * math/w_scalbl.c: Likewise.
7057         * math/w_sinh.c: Likewise.
7058         * math/w_sinhf.c: Likewise.
7059         * math/w_sinhl.c: Likewise.
7060         * math/w_sqrt.c: Likewise.
7061         * math/w_sqrtf.c: Likewise.
7062         * math/w_sqrtl.c: Likewise.
7063         * math/w_tgamma.c: Likewise.
7064         * math/w_tgammaf.c: Likewise.
7065         * math/w_tgammal.c: Likewise.
7066
7067         * po/ja.po: Update from translation team.
7068
7069 2011-09-29  Andreas Jaeger  <aj@suse.de>
7070
7071         [BZ #13179]
7072         * sunrpc/netname.c (netname2host): Fix logic.
7073
7074         [BZ #6779]
7075         [BZ #6783]
7076         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
7077         correctly.
7078         * math/w_remainder.c (__remainder): Likewise.
7079         * math/w_remainderf.c (__remainderf): Likewise.
7080         * math/libm-test.inc (remainder_test): Add test cases.
7081
7082 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7083
7084         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
7085         sdiv_qrnnd.
7086
7087 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
7088
7089         * string/test-memcmp.c: Avoid unncessary #defines.
7090         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7091
7092 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7093
7094         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
7095         Use new sse2 version for core i3 - i7 as it's faster
7096         than sse42 version.
7097         (bit_Prefer_PMINUB_for_stringop): New.
7098         * sysdeps/x86_64/rawmemchr.S: Update.
7099         Replace with faster SSE2 version.
7100         * sysdeps/x86_64/memrchr.S: New file.
7101         * sysdeps/x86_64/memchr.S: Update.
7102         Replace with faster SSE2 version.
7103
7104 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
7105
7106         * elf/dl-load.c (lose): Add cast to avoid warning.
7107
7108 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
7109
7110         * po/ca.po: Update from translation team.
7111
7112         * inet/getnetgrent_r.c: Hook up nscd.
7113         * nscd/Makefile (routines): Add nscd_netgroup.
7114         (nscd-modules): Add netgroupcache.
7115         (CFLAGS-netgroupcache.c): Define.
7116         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
7117         (cache_search): Add const to second parameter.
7118         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
7119         INNETGR.
7120         (dbs): Add netgrdb entry.
7121         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
7122         (verify_persistent_db): Handle netgrdb.
7123         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
7124         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
7125         GETFDNETGR.
7126         (netgroup_response_header): Define.
7127         (innetgroup_response_header): Define.
7128         (datahead): Add netgroup_response_header and innetgroup_response_header
7129         elements.
7130         * nscd/nscd.conf: Add entries for netgroup cache.
7131         * nscd/nscd.h (dbtype): Add netgrdb.
7132         (_PATH_NSCD_NETGROUP_DB): Define.
7133         (netgroup_iov_disabled): Declare.
7134         (xmalloc, xcalloc, xrealloc): Move declarations here.
7135         (cache_search): Adjust prototype.
7136         Add netgroup-related prototypes.
7137         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
7138         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
7139         (__nscd_innetgr): Declare.
7140         * nscd/selinux.c (perms): Use access_vector_t as element type and
7141         add netgroup-related initializers.
7142         * nscd/netgroupcache.c: New file.
7143         * nscd/nscd_netgroup.c: New file.
7144         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
7145         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
7146         For four parameters use innetgr.
7147         * nss/nss_files/files-init.c: Add definition and callback for netgr.
7148         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
7149         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
7150         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
7151
7152         * nscd/connections.c (register_traced_file): Don't register file
7153         for disabled databases.
7154
7155 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
7156
7157         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
7158
7159         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
7160         from tree and freeing node.
7161
7162 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
7163
7164         * nss/nsswitch.c (__nss_database_lookup): Handle
7165         nss_parse_service_list out of memory case.
7166
7167 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
7168
7169         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
7170         out of memory case.
7171
7172 2011-10-04  Andreas Schwab  <schwab@redhat.com>
7173
7174         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
7175         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
7176         pass it down.
7177         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
7178         elf_machine_rela, elf_machine_lazy_rel.
7179         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
7180         (ELF_DYNAMIC_DO_REL): Likewise.
7181         (ELF_DYNAMIC_DO_RELA): Likewise.
7182         (ELF_DYNAMIC_RELOCATE): Likewise.
7183         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
7184         to ELF_DYNAMIC_DO_REL.
7185         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
7186         (dl_main): In trace mode always set __RTLD_NOIFUNC.
7187         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
7188         elf_machine_rela.
7189         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
7190         skip_ifunc, don't call ifunc function if non-zero.
7191         (elf_machine_rela): Likewise.
7192         (elf_machine_lazy_rel): Likewise.
7193         (elf_machine_lazy_rela): Likewise.
7194         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
7195         (elf_machine_lazy_rel): Likewise.
7196         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
7197         Likewise.
7198         (elf_machine_lazy_rel): Likewise.
7199         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7200         Likewise.
7201         (elf_machine_lazy_rel): Likewise.
7202         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
7203         (elf_machine_lazy_rel): Likewise.
7204         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
7205         (elf_machine_lazy_rel): Likewise.
7206         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7207         (elf_machine_lazy_rel): Likewise.
7208         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7209         (elf_machine_lazy_rel): Likewise.
7210         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7211         (elf_machine_lazy_rel): Likewise.
7212         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7213         (elf_machine_lazy_rel): Likewise.
7214
7215 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
7216
7217         * nss/nss_files/files-init.c (_nss_files_init): Use static
7218         initialization for all the *_traced_file variables.
7219
7220 2011-09-28  Andreas Schwab  <schwab@redhat.com>
7221
7222         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7223
7224 2011-09-27  Roland McGrath  <roland@hack.frob.com>
7225
7226         [BZ #13226]
7227         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
7228
7229 2011-09-27  Andreas Schwab  <schwab@redhat.com>
7230
7231         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7232         Reread the line before reparsing it.
7233
7234 2011-09-26  Andreas Schwab  <schwab@redhat.com>
7235
7236         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
7237
7238 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
7239             Maxim Kuvyrkov  <maxim@codesourcery.com>
7240             Joseph Myers  <joseph@codesourcery.com>
7241
7242         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
7243         if needed for __stack_chk_guard.
7244
7245 2011-09-19  Roland McGrath  <roland@hack.frob.com>
7246
7247         * sysdeps/posix/spawni.c (script_execute): Always define it.
7248         It will be optimized away if unused.
7249         (maybe_script_execute): New function.
7250         (__spawni): Call it.
7251
7252         * Makerules: Don't include tls.make.
7253         (config-tls): Always set to thread.
7254         * tls.make.c: File removed.
7255
7256 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
7257
7258         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
7259         * config.make.in (CPPFLAGS-config): New substituted variable.
7260
7261 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
7262
7263         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
7264
7265         [BZ #13192]
7266         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
7267         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
7268
7269 2011-09-15  Roland McGrath  <roland@hack.frob.com>
7270
7271         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
7272         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
7273         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
7274         (CALL_FAIL): Likewise.
7275         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
7276         (CALL_FAIL): Macro removed.
7277         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
7278
7279 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
7280
7281         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
7282         for __FINITE_MATH_ONLY__ == 1.
7283
7284 2011-09-15  Andreas Schwab  <schwab@redhat.com>
7285
7286         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
7287         __ieee754_sqrt instead of sqrt.
7288         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
7289         __ieee754_sqrtf instead of sqrtf.
7290         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7291         __floorf instead of floorf.
7292         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
7293         __floorf, __truncf instead of floorf, truncf.
7294
7295 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
7296
7297         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
7298
7299         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
7300         __extern_always_inline.
7301         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
7302         32-bit.
7303
7304 2011-09-14  Andreas Schwab  <schwab@redhat.com>
7305
7306         * elf/rtld.c (dl_main): Also relocate in dependency order when
7307         doing symbol dependency testing.
7308
7309 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
7310
7311         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7312         Always define `refsym'.
7313
7314 2011-09-13  Andreas Schwab  <schwab@redhat.com>
7315
7316         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
7317         (__FD_ELT): Renamed from __FDELT.
7318         * misc/bits/select2.h (__FD_ELT): Likewise.
7319         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
7320         __FD_MASK instead of __FDELT, __FDMASK.
7321         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7322         Likewise.
7323         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7324         Likewise.
7325
7326         * elf/Makefile (gen-ldd): Fix pattern.
7327
7328         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
7329         (init_tls): Likewise.
7330
7331 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
7332
7333         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
7334
7335 2011-09-12  Andreas Schwab  <schwab@redhat.com>
7336
7337         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
7338         `struct cmsghdr *' instead of `void *'.
7339         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
7340         Likewise.
7341
7342 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
7343
7344         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
7345         if non-absolute.
7346         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
7347         ldd_rewrite_script.
7348
7349 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
7350
7351         * configure.in: Remove --with-tls option.
7352         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
7353         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
7354         out in case it is missing.
7355         * sysdeps/ia64/elf/configure.in: Likewise.
7356         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
7357         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
7358         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
7359         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
7360         * sysdeps/sh/elf/configure.in: Likewise.
7361         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
7362         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7363         * sysdeps/x86_64/elf/configure.in: Likewise.
7364         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
7365         * sysdeps/mach/hurd/tls.h: Likewise.
7366
7367         [BZ #13067]
7368         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
7369
7370         [BZ #13090]
7371         * configure.in: Fix use of AC_INIT.
7372
7373         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
7374
7375 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
7376
7377         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
7378         __set_errno.
7379         * malloc/hooks.c: Likewise.
7380
7381         [BZ #11929]
7382         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
7383         variables statically.
7384         (narenas): Initialize.
7385         (list_lock): Initialize.
7386         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
7387         initializtion of main_arena and list_lock.  Small cleanups.
7388         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
7389         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
7390         Add initializers to main_arena and mp_.
7391         (malloc_state): Remove pagesize member.  Change all users to use
7392         GLRO(dl_pagesize).
7393
7394         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
7395         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
7396         is always initialized.
7397
7398         * malloc/malloc.c: Removed unused configurations and dead code.
7399         * malloc/arena.c: Likewise.
7400         * malloc/hooks.c: Likewise.
7401         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
7402
7403         * include/tls.h: Removed.  USE___THREAD must always be defined.
7404         * bits/libc-tsd.h: Don't handle !USE___THREAD.
7405         * elf/dl-libc.c: Likewise.
7406         * elf/dl-tsd.c: Likewise.
7407         * include/errno.h: Likewise.
7408         * include/netdb.h: Likewise.
7409         * include/resolv.h: Likewise.
7410         * inet/herrno-loc.c: Likewise.
7411         * inet/herrno.c: Likewise.
7412         * malloc/arena.c: Likewise.
7413         * malloc/hooks.c: Likewise.
7414         * malloc/malloc.c: Likewise.
7415         * resolv/res-state.c: Likewise.
7416         * resolv/res_libc.c: Likewise.
7417         * sysdeps/i386/dl-machine.h: Likewise.
7418         * sysdeps/ia64/dl-machine.h: Likewise.
7419         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7420         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7421         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7422         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7423         * sysdeps/sh/dl-machine.h: Likewise.
7424         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7425         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7426         * sysdeps/unix/i386/sysdep.S: Likewise.
7427         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7428         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7429         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7430         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7431         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7432         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7433         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7434         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7435         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7436         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7437         * sysdeps/unix/x86_64/sysdep.S: Likewise.
7438         * sysdeps/x86_64/dl-machine.h: Likewise.
7439         * tls.make.c: Likewise.
7440
7441         * configure.in: Remove --with-__thread option.  Make tests for
7442         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
7443         tls_model attribute fail if no support is available.  Remove
7444         USE_IN_LIBIO.
7445         * Makeconfig: Adjust for dropped configure option.  All features are
7446         now mandatory.
7447         * Makerules: Likewise.
7448         * Versions.def: Likewise.
7449         * argp/argp-fmtstream.c: Likewise.
7450         * argp/argp-fmtstream.h: Likewise.
7451         * argp/argp-help.c: Likewise.
7452         * assert/assert.c: Likewise.
7453         * config.h.in: Likewise.
7454         * config.make.in: Likewise.
7455         * configure: Likewise.
7456         * configure.in: Likewise.
7457         * csu/Versions: Likewise.
7458         * csu/init.c: Likewise.
7459         * elf/tst-audit2.c: Likewise.
7460         * elf/tst-tls10.c: Likewise.
7461         * elf/tst-tls10.h: Likewise.
7462         * elf/tst-tls11.c: Likewise.
7463         * elf/tst-tls12.c: Likewise.
7464         * elf/tst-tls14.c: Likewise.
7465         * elf/tst-tlsmod11.c: Likewise.
7466         * elf/tst-tlsmod12.c: Likewise.
7467         * elf/tst-tlsmod13.c: Likewise.
7468         * elf/tst-tlsmod13a.c: Likewise.
7469         * elf/tst-tlsmod14a.c: Likewise.
7470         * elf/tst-tlsmod15b.c: Likewise.
7471         * elf/tst-tlsmod16a.c: Likewise.
7472         * elf/tst-tlsmod16b.c: Likewise.
7473         * elf/tst-tlsmod7.c: Likewise.
7474         * elf/tst-tlsmod8.c: Likewise.
7475         * elf/tst-tlsmod9.c: Likewise.
7476         * gmon/gmon.c: Likewise.
7477         * grp/fgetgrent_r.c: Likewise.
7478         * grp/putgrent.c: Likewise.
7479         * hurd/fopenport.c: Likewise.
7480         * include/libc-symbols.h: Likewise.
7481         * include/tls.h: Likewise.
7482         * intl/gettextP.h: Likewise.
7483         * intl/loadinfo.h: Likewise.
7484         * locale/global-locale.c: Likewise.
7485         * locale/localeinfo.h: Likewise.
7486         * mach/devstream.c: Likewise.
7487         * malloc/arena.c: Likewise.
7488         * malloc/set-freeres.c: Likewise.
7489         * misc/err.c: Likewise.
7490         * misc/getttyent.c: Likewise.
7491         * misc/mntent_r.c: Likewise.
7492         * posix/getopt.c: Likewise.
7493         * posix/wordexp.c: Likewise.
7494         * pwd/fgetpwent_r.c: Likewise.
7495         * resolv/Versions: Likewise.
7496         * resolv/res_hconf.c: Likewise.
7497         * shadow/fgetspent_r.c: Likewise.
7498         * shadow/putspent.c: Likewise.
7499         * stdio-common/printf_fphex.c: Likewise.
7500         * stdio-common/tmpfile.c: Likewise.
7501         * stdlib/abort.c: Likewise.
7502         * stdlib/fmtmsg.c: Likewise.
7503         * sunrpc/auth_unix.c: Likewise.
7504         * sunrpc/clnt_perr.c: Likewise.
7505         * sunrpc/clnt_tcp.c: Likewise.
7506         * sunrpc/clnt_udp.c: Likewise.
7507         * sunrpc/clnt_unix.c: Likewise.
7508         * sunrpc/openchild.c: Likewise.
7509         * sunrpc/svc_simple.c: Likewise.
7510         * sunrpc/svc_tcp.c: Likewise.
7511         * sunrpc/svc_udp.c: Likewise.
7512         * sunrpc/svc_unix.c: Likewise.
7513         * sunrpc/xdr.c: Likewise.
7514         * sunrpc/xdr_array.c: Likewise.
7515         * sunrpc/xdr_rec.c: Likewise.
7516         * sunrpc/xdr_ref.c: Likewise.
7517         * sunrpc/xdr_stdio.c: Likewise.
7518
7519 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
7520
7521         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7522
7523 2011-07-03  Andreas Jaeger  <aj@suse.de>
7524
7525         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
7526         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
7527         regenerate with gen-libm-tests.pl.
7528
7529 2010-05-12  Petr Baudis  <pasky@suse.cz>
7530
7531         [BZ #11589]
7532         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
7533         around j0() zero points by switching to j1().
7534         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7535         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7536         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7537         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7538
7539 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
7540
7541         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
7542         instead of 0.
7543         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
7544         instead of 0.                              .
7545         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7546         Patch in part by Pavel Roskin <proski@gnu.org>.
7547
7548         [BZ #13138]
7549         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
7550         realloc.
7551         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
7552         Free memory block if necessary.
7553
7554         [BZ #12847]
7555         * libio/genops.c (INTDEF): For string streams the _lock pointer can
7556         be NULL.  Don't lock in this case.
7557
7558 2011-09-09  Roland McGrath  <roland@hack.frob.com>
7559
7560         * elf/elf.h (ELFOSABI_GNU): New macro.
7561         (ELFOSABI_LINUX): Define to that.
7562
7563 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
7564
7565         * string/strncat.c (strncat): Undef the symbol in case it has been
7566         defined in bits/string.h.
7567
7568 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
7569
7570         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
7571
7572         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
7573         link map.
7574
7575 2011-08-17  Andreas Jaeger  <aj@suse.de>
7576
7577         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
7578
7579 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
7580             Ian Lance Taylor  <iant@google.com>
7581
7582         * math/libm-test.inc (lround_test): New testcase.
7583         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
7584
7585 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
7586
7587         * Makefile: Remove support for automatic cvs check-ins.
7588         * Makerules: Likewise.
7589         * config.make.in: Likewise.
7590         * configure.in: Likewise.
7591         * intl/Makefile: Likewise.
7592         * locale/Makefile: Likewise.
7593         * po/Makefile: Likewise.
7594         * posix/Makefile: Likewise.
7595         * sysdeps/gnu/Makefile: Likewise.
7596         * sysdeps/mach/hurd/Makefile: Likewise.
7597         * sysdeps/sparc/sparc32/Makefile: Likewise.
7598
7599         [BZ #13118]
7600         * posix/Makefile (bug-regex32-ENV): Define.
7601         Patch by John Stanley <jpsinthemix@verizon.net>.
7602
7603         * misc/Makefile (headers): Add bits/select2.h.
7604         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
7605         * misc/bits/select2.h: New file.
7606         * include/bits/select2.h: New file.
7607         * debug/Makefile (routines): Add fdelt_chk.
7608         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
7609         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
7610         FD_ISSET.
7611         * debug/fdelt_chk.c: New file.
7612
7613         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
7614         * wcsmbs/test-wmemcmp.c: Likewise.
7615         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
7616         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
7617
7618 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7619
7620         * string/Makefile (strop-tests): Add memcmp.
7621         * string/test-wmemcmp.c: New file.
7622         * string/test-memcmp.c: Add wmemcmp support.
7623
7624 2011-09-08  Roland McGrath  <roland@hack.frob.com>
7625
7626         [BZ #13153]
7627         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
7628         2011-07-19 change.
7629
7630         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
7631         garbage value in a __mach_port_mod_refs call in the cases of the
7632         task-self and thread-self ports.
7633
7634 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7635
7636         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
7637
7638 2011-09-08  Andreas Schwab  <schwab@redhat.com>
7639
7640         * elf/dl-load.c (lose): Check for non-null L.
7641
7642 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
7643
7644         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
7645
7646         * elf/dl-libc.c (dlerror_run): Pass back error code from
7647         dl_catch_error.
7648
7649         [BZ #13123]
7650         * elf/dl-load.c (lose): Free l_origin if it is valid.
7651
7652         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
7653         names.
7654         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7655         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7656         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7657         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7658         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7659         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
7660
7661 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7662
7663         * sysdeps/powerpc/fpu/e_hypot.c: New file.
7664         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
7665         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
7666         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
7667         * sysdeps/powerpc/fpu/k_cosf.c: New file.
7668         * sysdeps/powerpc/fpu/k_sinf.c: New file.
7669         * sysdeps/powerpc/fpu/s_cosf.c: New file.
7670         * sysdeps/powerpc/fpu/s_sinf.c: New file.
7671         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
7672         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
7673
7674 2011-08-15  Alan Modra  <amodra@gmail.com>
7675
7676         [BZ #13092]
7677         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
7678         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
7679         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
7680         ppc_mcount to static-only-routines.
7681         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
7682         __mcount_internal.
7683         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
7684         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
7685
7686 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
7687
7688         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
7689         for finite and infinity parameters.
7690
7691 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
7692
7693         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
7694         and add nop instructions for throughput optimization.
7695         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7696
7697 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
7698
7699         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
7700         aligned copy for power7 with vector-scalar instructions.
7701         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7702
7703 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
7704
7705         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
7706         AVX check.
7707
7708 2011-09-07  Andreas Schwab  <schwab@redhat.com>
7709
7710         [BZ #13144]
7711         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
7712         last change.
7713
7714 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
7715
7716         * sysdeps/unix/sysv/linux/x86_64/init-first.c
7717         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7718         syscall wrapper around clock_gettime in __vdso_clock_gettime.
7719         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7720         clock_gettime.
7721
7722 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
7723
7724         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7725         Forgot to demangle the pointer.
7726
7727         * sysdeps/i386/sysdep.h: Define atom_text_section.
7728         * sysdeps/x86_64/sysdep.h: Likewise.
7729         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7730         section with atom_text_section.
7731         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7732         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7733         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7734         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7735         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7736
7737         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7738         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7739         already be defined.  Change to take two parameters and don't assign
7740         result to variable.  Adjust all users.
7741         Define INTERNAL_GETTIME if not already defined.
7742         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7743         call.
7744         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7745         HAVE_CLOCK_GETTIME_VSYSCALL.
7746         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7747
7748         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7749         gettimeofday vsyscall, just use time.
7750
7751 2011-09-06  Andreas Schwab  <schwab@redhat.com>
7752
7753         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7754         <errno.h>.
7755
7756 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
7757
7758         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7759         syscall on x86-64.
7760         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7761         syscall.
7762         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7763         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7764         syscall if possible.
7765
7766 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
7767
7768         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7769         e_ident.  Don't pass to find_mapsXX.
7770         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7771
7772 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7773
7774         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7775         strchr-sse2-no-bsf strrchr-sse2-no-bsf
7776         * sysdeps/x86_64/multiarch/strchr.S: Update.
7777         Check bit_slow_BSF bit.
7778         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7779         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7780         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7781
7782 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
7783
7784         [BZ #13134]
7785         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7786         before glibc 2.15.
7787         (tryshell): Define.
7788         (__spawni): Change last parameter to be flag.  Test
7789         SPAWN_XFLAGS_USE_PATH flag to use path or not.
7790         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7791         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7792         * posix/spawni.c: Likewise.
7793         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7794         * posix/spawnp.c: Likewise.  Change normal version to use
7795         SPAWN_XFLAGS_USE_PATH.
7796         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7797         SPAWN_XFLAGS_TRY_SHELL.
7798
7799         [BZ #13150]
7800         * posix/glob.h: Remove gcc 1.x support.
7801
7802         [BZ #13068]
7803         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7804
7805 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7806
7807         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7808         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7809         strrchr-sse2-bsf
7810         * sysdeps/i386/i686/multiarch/strchr.S: New file.
7811         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7812         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7813         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7814         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7815         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7816
7817 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7818
7819         * sysdeps/x86_64/wcscmp.S: New file.
7820
7821         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7822         wcscmp-c wcscmp-sse2
7823         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7824         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7825         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7826         * wcsmbs/wcscmp.c: Allow renaming.
7827
7828 2011-09-05  David S. Miller  <davem@davemloft.net>
7829
7830         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7831         stack slot, rather than the struct return pointer slot.
7832         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7833         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7834         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7835         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7836
7837 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
7838
7839         * po/ja.po: Update from translation team.
7840
7841         [BZ #13144]
7842         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7843         kernel in 64-bit binaries.
7844
7845 2011-09-01  David S. Miller  <davem@davemloft.net>
7846
7847         * elf/elf.h (HWCAP_SPARC_*): Move to..
7848         * sysdeps/sparc/sysdep.h: this new file and add new values.
7849         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7850         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7851         _DL_HWCAP_COUNT to 24.
7852         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7853         entries.
7854         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7855         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7856         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7857         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7858         instead of magic constants.
7859         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7860
7861 2011-08-31  David S. Miller  <davem@davemloft.net>
7862
7863         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7864         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7865         Reimplement to do errno handling inline.
7866         (SYSCALL_ERROR_HANDLER): New macro.
7867         (__SYSCALL_STRING): Do not do errno handling in asm.
7868         (__CLONE_SYSCALL_STRING): Delete.
7869         (__INTERNAL_SYSCALL_STRING): Delete.
7870         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7871         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7872         (PSEUDO): Reimplement to do errno handling inline.
7873         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7874         (SYSCALL_ERROR_HANDLER): New macro.
7875         (__SYSCALL_STRING): Do not do errno handling in asm.
7876         (__CLONE_SYSCALL_STRING): Delete.
7877         (__INTERNAL_SYSCALL_STRING): Delete.
7878         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7879         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7880         i386.
7881         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7882         (inline_syscall*): Add 'err' argument.
7883         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7884         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7885         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7886         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7887
7888         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7889         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7890
7891 2011-08-30  Andreas Schwab  <schwab@redhat.com>
7892
7893         * elf/rtld.c (dl_main): Relocate objects in dependency order.
7894
7895 2011-08-29  Jiri Olsa <jolsa@redhat.com>
7896
7897         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7898         directive.
7899
7900 2011-08-24  David S. Miller  <davem@davemloft.net>
7901
7902         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7903
7904 2011-08-24  Andreas Schwab  <schwab@redhat.com>
7905
7906         * elf/Makefile: Add rules to build and run unload8 test.
7907         * elf/unload8.c: New file.
7908         * elf/unload8mod1.c: New file.
7909         * elf/unload8mod1x.c: New file.
7910         * elf/unload8mod2.c: New file.
7911         * elf/unload8mod3.c: New file.
7912
7913         * elf/dl-close.c (_dl_close_worker): Reset private search list if
7914         it wasn't used.
7915
7916 2011-08-23  David S. Miller  <davem@davemloft.net>
7917
7918         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7919         subtract stack bias.
7920         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7921         %sp not %fp in calculations.
7922         (_JMPBUF_UNWINDS_ADJ): Likewise.
7923
7924         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7925         (aio_suspend): Call it to force an exception region around the
7926         AIO_MISC_WAIT() invocation.
7927
7928 2011-08-23  Andreas Schwab  <schwab@redhat.com>
7929
7930         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7931         backslash.
7932
7933 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
7934
7935         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7936         protection macro.
7937         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7938         and <dl-machine.h>.
7939         (Elf64_FuncDesc): Remove.
7940
7941 2011-08-22  David S. Miller  <davem@davemloft.net>
7942
7943         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7944         sigaltstack check, add missing cfi directives.
7945         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7946         missing cfi directives, and sigaltstack handling.
7947
7948 2011-08-16  Andreas Schwab  <schwab@redhat.com>
7949
7950         [BZ #11724]
7951         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7952         object is seen twice.
7953         * elf/dl-fini.c (_dl_sort_fini): Likewise.
7954
7955         * elf/Makefile (distribute): Add tst-initorder2.c.
7956         (tests): Add tst-initorder2.
7957         (modules-names): Add tst-initorder2a tst-initorder2b
7958         tst-initorder2c tst-initorder2d.  Add rules to build them.
7959         ($(objpfx)tst-initorder2.out): New rule.
7960         * elf/tst-initorder2.c: New file.
7961         * elf/tst-initorder2.exp: New file.
7962
7963 2011-08-22  Andreas Schwab  <schwab@redhat.com>
7964
7965         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7966
7967         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7968         dependencies back to end of function.
7969
7970         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7971         $(elfobjdir)/ld.so.
7972
7973 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
7974
7975         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7976         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7977         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
7978         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
7979         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
7980         of __vdso_gettimeofday.
7981         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
7982         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
7983         attribute_hidden.
7984         (_libc_vdso_platform_setup): Remove initialization of
7985         __vdso_gettimeofday and __vdso_time.
7986
7987 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
7988
7989         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
7990         and fgetc_unlocked.
7991         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
7992         getc_unlocked.
7993
7994         * elf/dl-open.c (add_to_global): Report additions to the global scope
7995         for LD_DEBUG=scopes.
7996         (dl_open_worker): Also print scope of newly loaded dependencies.
7997         (_dl_show_scope): Indicate if there is no scope.
7998
7999         [BZ #13114]
8000         * stdio-common/Makefile (tests): Add bug24.
8001         * stdio-common/bug24.c: New file.
8002
8003 2011-08-19  Andreas Jaeger  <aj@suse.de>
8004
8005         [BZ #13114]
8006         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
8007         non-existant file when using close-on-exec mode.
8008
8009 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
8010
8011         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
8012         the very first instruction.
8013
8014         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
8015         the CFI state in the end.
8016         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
8017         inclusion of dl-trampoline.h.
8018         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
8019
8020 2011-08-19  Andreas Schwab  <schwab@redhat.com>
8021
8022         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
8023         expectations for long double.
8024
8025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
8026         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
8027
8028 2011-08-14  David S. Miller  <davem@davemloft.net>
8029
8030         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
8031         artificual limit depends upon the system page size.
8032
8033 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
8034
8035         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
8036         * resolv/Makefile: Define CFLAGS-libresolv.
8037
8038 2011-08-17  Andreas Schwab  <schwab@redhat.com>
8039
8040         * nss/makedb.c (compute_tables): Make variables used in nested
8041         function static.
8042
8043 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
8044
8045         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
8046         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
8047         if buffer was too small.
8048
8049         * elf/pldd.c (main): Attach to all threads in the process.
8050         Rewrite /proc handling to use *at functions.
8051
8052 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
8053
8054         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
8055         specifies first scope to show.
8056         (dl_open_worker): Update callers.  Move printing scope of new
8057         object to before the relocation.
8058         * elf/rtld.c (dl_main): Update _dl_show_scope call.
8059         * sysdeps/generic/ldsodefs.h: Update declaration.
8060
8061         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
8062         string for the scope number.
8063
8064 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
8065
8066         * nscd/servicescache.c (cache_addserv): Make sure written is always
8067         initialized.
8068
8069 2011-08-14  Roland McGrath  <roland@hack.frob.com>
8070
8071         * sysdeps/i386/i486/bits/atomic.h
8072         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
8073         statement expression, so as to suppress "set but not used" warning.
8074         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
8075
8076         * string/strncat.c (STRNCAT): Use prototype definition.
8077
8078         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
8079         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
8080         -Iprograms here.
8081         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
8082         (localedef-modules): Add localedef.
8083         (locale-modules): Add locale.
8084
8085         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
8086         * elf/rtld.c (dl_main): Invert order of assignment in last change,
8087         to avoid a warning.
8088
8089 2011-08-14  David S. Miller  <davem@davemloft.net>
8090
8091         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
8092         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
8093
8094 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
8095
8096         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
8097         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
8098         * elf/rtld.c (dl_main): Set l_name of vDSO.
8099         Call _dl_show_scope when DL_DEBUG_SCOPES.
8100         (process_dl_debug): Recognize scopes flag and also set it for all.
8101         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
8102         Declare _dl_show_scope.
8103
8104         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
8105         (do_dlopen): Pass caller_dlopen to dl_open.
8106         (__libc_dlopen_mode): Initialize caller_dlopen.
8107
8108         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
8109         of libc.  Make tolower call locale-independent.  Optimize a bit by
8110         using isdigit instead of isalnum.
8111         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
8112
8113 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
8114
8115         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
8116         was a dependency or dynamically loaded.
8117
8118 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
8119
8120         * intl/l10nflist.c: Allow architecture-specific pop function.
8121         * sysdeps/x86_64/l10nflist.c: New file.
8122
8123         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
8124         classification.
8125
8126 2011-08-10  Andreas Schwab  <schwab@redhat.com>
8127
8128         * include/dirent.h: Add libc_hidden_proto for scandirat and
8129         scandirat64.  Don't declare __scandirat64.
8130         * dirent/scandirat.c: Add libc_hidden_def.
8131         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
8132         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
8133
8134 2011-08-10  David S. Miller  <davem@davemloft.net>
8135
8136         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
8137         enum.
8138         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8139         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8140         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8141
8142 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
8143
8144         * Versions.def [libc]: Add GLIBC_2.15.
8145         * dirent/Makefile (routines): Add scandirat and scandirat64.
8146         * dirent/Versions [libc]: Export scandirat and scandirat64 for
8147         GLIBC_2.15.
8148         * dirent/dirent.h: Declare scandirat and scandirat64.
8149         * dirent/scandirat.c: New file.
8150         * dirent/scandirat64.c: New file.
8151         * sysdeps/wordsize-64/scandirat.c: New file.
8152         * sysdeps/wordsize-64/scandirat64.c: New file.
8153         * dirent/opendir.c: Define opendirat.
8154         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
8155         using scandirat.
8156         * dirent/scandir64.c: Adjust for scandir.c change.
8157         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
8158         __scandirat64, and __scandir_cancel_handler.
8159         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
8160         additional parameter and use openat instead of open (outside of ld.so).
8161         Add new __opendir as wrapper around __opendirat.
8162         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
8163         here without requiring old scandirat implementation.
8164
8165 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
8166
8167         * dirent/scandir.c (cancel_handler): Renamed to
8168         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
8169         defined.  Adjust users.
8170         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
8171         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
8172
8173 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
8174
8175         * string/test-string.h (IMPL): Use __STRING to expand name and then
8176         stringify it.
8177
8178         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
8179         of cleanups.
8180
8181 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8182
8183         * string/Makefile: Update.
8184         (strop-tests): Append strncat.
8185         * string/test-wcscmp.c: New file.
8186         New comprehensive test for wcscmp.
8187         * string/test-strcmp.c: Update.
8188         (WIDE): New define.
8189
8190 2011-07-22  Andreas Schwab  <schwab@redhat.com>
8191
8192         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
8193         line.
8194
8195 2011-07-26  Andreas Schwab  <schwab@redhat.com>
8196
8197         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8198         encoding to ACE if AI_IDN.
8199
8200 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
8201
8202         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
8203         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
8204
8205 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8206
8207         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
8208         Fix overflow bug in strncat.
8209         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8210
8211         * string/test-strncat.c: Update.
8212         Add new tests for checking overflow bugs.
8213
8214 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8215
8216         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8217         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
8218         * sysdeps/i386/i686/multiarch/strcat.S: New file.
8219         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
8220         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
8221         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
8222         * sysdeps/i386/i686/multiarch/strncat.S: New file.
8223         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
8224         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
8225
8226         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
8227         (USE_AS_STRCAT): Define.
8228         Add strcat and strncat support.
8229         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8230
8231 2011-07-25  Andreas Schwab  <schwab@redhat.com>
8232
8233         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
8234         __n bigger than INT_MAX+1.
8235         (__strncmp_g): Likewise.
8236
8237 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
8238
8239         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
8240         * libio/stido.h: Likewise.
8241
8242         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
8243         (AF_NFC): Define.
8244         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
8245         (AF_NFC): Define.
8246
8247         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
8248         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8249         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8250         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
8251         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8252
8253         [BZ #13021]
8254         * scripts/test-installation.pl: Don't expect libnss_test1 to be
8255         installed.
8256
8257         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
8258         typo.
8259         (_dl_x86_64_save_sse): Likewise.
8260
8261 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
8262
8263         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
8264         OSXSAVE.
8265         (_dl_x86_64_save_sse): Likewise.
8266
8267         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
8268
8269         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
8270
8271 2011-07-21  Andreas Schwab  <schwab@redhat.com>
8272
8273         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
8274         change.
8275         (_dl_x86_64_save_sse): Use correct AVX check.
8276
8277 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8278
8279         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
8280         bug in strncpy/strncat.
8281         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8282
8283 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
8284
8285         * string/tester.c (test_strcat): Add tests for different alignments
8286         of source and destination.
8287         (test_strncat): Likewise.
8288
8289 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
8290
8291         [BZ #12852]
8292         * posix/glob.c (glob): Check passed in values before using them in
8293         expressions to avoid some overflows.
8294         (glob_in_dir): Likewise.
8295
8296         [BZ #13007]
8297         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
8298         check for AVX enablement so that we don't crash with old kernels and
8299         new hardware.
8300         * elf/tst-audit4.c: Add same checks here.
8301         * elf/tst-audit6.c: Likewise.
8302
8303         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
8304
8305 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
8306
8307         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
8308
8309 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
8310
8311         * po/cs.po: Update from translation team.
8312         * po/bg.po: Likewise.
8313
8314 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
8315
8316         * misc/sys/cdefs.h: Add support for const attribute.
8317         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
8318         to gnu_dev_{major,minor,makedev} functions.
8319
8320 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
8321
8322         * intl/dcigettext.c (get_output_charset): Add missing bracket.
8323
8324 2011-07-20  Andreas Schwab  <schwab@redhat.com>
8325
8326         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
8327         strlen results.
8328
8329 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8330
8331         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
8332         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
8333         register in order to avoid conflicts with the soft frame pointer
8334         being held in r11 when necessary.
8335         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
8336         (INTERNAL_VSYSCALL_NCS): Likewise.
8337
8338 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
8339
8340         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
8341         * elf/dl-fini.c (_dl_fini): Adjust caller.
8342         * elf/dl-close.c (_dl_close_worker): Likewise.
8343         * sysdeps/generic/ldsodefs.h: Adjust declaration.
8344
8345 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
8346
8347         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
8348         "aux_cache->nlibs < 0".
8349
8350         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
8351         in the reload-count case.
8352
8353 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8354
8355         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8356         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
8357         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
8358         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
8359         * sysdeps/x86_64/multiarch/strcat.S: New file.
8360         * sysdeps/x86_64/multiarch/strncat.S: New file.
8361         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
8362         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
8363         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
8364         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
8365         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
8366         (USE_AS_STRCAT): Define.
8367         Add strcat and strncat support.
8368         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8369         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8370         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
8371         * string/strncat.c: Update.
8372         (USE_AS_STRNCAT): Define.
8373         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8374         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
8375         and i7.
8376         * sysdeps/x86_64/multiarch/init-arch.h
8377         (bit_Prefer_PMINUB_for_stringop): New.
8378         (index_Prefer_PMINUB_for_stringop): Likewise.
8379         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
8380         bit_Prefer_PMINUB_for_stringop.
8381
8382 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
8383
8384         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
8385         buffer64.
8386         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
8387         of casting of buffer.
8388         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
8389         buffer32 and buffer64.
8390         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
8391         writes instead of casting of buffer.
8392         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
8393         buffer32.
8394         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
8395         casting of buffer.
8396
8397 2011-07-19  Andreas Schwab  <schwab@redhat.com>
8398
8399         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
8400
8401 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
8402
8403         * nscd/nscd.c (termination_handler): Don't do anything for a database
8404         if it has not yet been initialized.
8405
8406 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
8407
8408         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8409
8410 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
8411
8412         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8413
8414 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
8415
8416         * po/nl.po: Update from translation team.
8417         * po/sv.po: Likewise.
8418
8419 2011-07-16  Roland McGrath  <roland@hack.frob.com>
8420
8421         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
8422         now disallowed by GCC.
8423
8424         * configure.in (use-default-link): Default to yes if a test -shared
8425         link meets our qualifications.
8426         * configure: Regenerated.
8427
8428         * config.make.in (output-format): New variable.
8429         * configure.in: Check for ld --print-output-format support.
8430         * configure: Regenerated.
8431         * Makerules ($(common-objpfx)format.lds)
8432         [$(output-format) != unknown]: Just use $(output-format),
8433         instead of the linker-script munging.
8434
8435 2011-07-14  Roland McGrath  <roland@hack.frob.com>
8436
8437         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
8438         of $(common-objpfx)shlib.lds.
8439         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
8440
8441         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
8442         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
8443
8444         * configure.in (-z relro check): Adjust test code to add a large
8445         writable data section after it.
8446         * configure: Regenerated.
8447
8448 2011-07-11  Roland McGrath  <roland@hack.frob.com>
8449
8450         * configure.in (-z relro check): Fix test code to make the variable
8451         truly const.
8452         * configure: Regenerated.
8453
8454 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
8455
8456         * nscd/nscd.h (struct traced_file): Define.
8457         (struct database_dyn): Remove inotify_descr, reset_res, and filename
8458         elements.  Add traced_files.
8459         (inotify_fd): Declare.
8460         (register_traced_file): Declare.
8461         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
8462         (inotify_fd): Export.
8463         (resolv_conf_descr): Remove.
8464         (nscd_init): Move inotify descriptor creation to main.
8465         Don't register files for notification here.
8466         (register_traced_file): New function.
8467         (invalidate_cache): Don't use reset_res to determine whether to call
8468         res_init, go through the list of registered files.
8469         (main_loop_poll): The inotify descriptors are now stored in the
8470         structures for the traced files.
8471         (main_loop_epoll): Likewise
8472         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
8473         to __nss_disable_nscd.
8474         * nscd/cache.c (prune_cache): There is no single inotify descriptor
8475         for a database anymore.  Check the records for all the registered
8476         files instead.
8477         * nss/Makefile (libnss_files-routines): Add files-init.
8478         (libnss_db-routines): Add db-init.
8479         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
8480         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
8481         * nss/nss_db/db-init.c: New file.
8482         * nss/nss_files/files-init.c: New file.
8483         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
8484         __nss_lookup_function.
8485         (__nss_lookup_function): Call nss_load_library.
8486         (nss_load_all_libraries): New function.
8487         (__nss_disable_nscd): Take parameter with callback function for files
8488         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
8489         used for the cached services.
8490         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
8491         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
8492         options for features to all the files in nscd.
8493
8494         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
8495
8496 2011-07-10  Roland McGrath  <roland@hack.frob.com>
8497
8498         * csu/elf-init.c (__libc_csu_init): Comment typo.
8499
8500 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
8501
8502         * po/pl.po: Update from translation team.
8503         * po/ja.po: Likewise.
8504         * po/ru.po: Likewise.
8505         * po/ko.po: Likewise.
8506         * po/fr.po: Likewise.
8507
8508 2011-07-09  Roland McGrath  <roland@hack.frob.com>
8509
8510         * configure.in (.ctors/.dtors header and trailer check):
8511         Use an empirical test on a built program.
8512         * configure: Regenerated.
8513
8514         * configure.in (-z relro check): Use an empirical test on a built DSO.
8515         Detect, but do not require, on ia64.
8516         * configure: Regenerated.
8517
8518         * configure.in (READELF): Find it with AC_CHECK_TOOL.
8519         Update tests that use readelf to use $READELF instead.
8520         * configure: Regenerated.
8521
8522 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
8523
8524         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
8525         if the result is not used.
8526
8527 2011-07-05  Andreas Jaeger  <aj@suse.de>
8528
8529         [BZ#9696]
8530         * stdlib/tst-strtod.c: Add testcase.
8531
8532 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
8533
8534         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
8535         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
8536         The latter has a higher limit.  Take additional parameter to pass to
8537         the new function.
8538         (__pathconf): Pass file to __statfs_link_max.
8539         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
8540         __statfs_link_max.
8541         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
8542         __statfs_link_max.
8543
8544         [BZ #12868]
8545         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
8546         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8547         Handle Lustre.
8548         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
8549         (__statfs_filesize_max): Likewise.
8550         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
8551
8552 2011-07-05  Andreas Jaeger  <aj@suse.de>
8553
8554         * resolv/res_comp.c (dn_skipname): Remove unused variable.
8555
8556 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
8557
8558         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
8559         `status' variable.
8560         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
8561         Likewise.
8562
8563 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
8564
8565         * Makefile (strop-tests): Add strncat.
8566         * string/test-strncat.c: New file.
8567
8568 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
8569
8570         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
8571
8572 2011-06-21  Andreas Jaeger  <aj@suse.de>
8573
8574         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
8575         Copy rule from iconvdata/Makefile.
8576
8577 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
8578
8579         [BZ #12922]
8580         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
8581         but no long options are defined, just return 'W'.
8582
8583 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
8584
8585         [BZ #9696]
8586         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
8587
8588 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
8589
8590         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
8591         netgroups to read.
8592         (innetgr): Likewise.
8593
8594 2011-07-05  Roland McGrath  <roland@hack.frob.com>
8595
8596         * config.make.in (install_root): Default to $(DESTDIR).
8597
8598 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
8599
8600         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
8601
8602 2011-07-02  Roland McGrath  <roland@hack.frob.com>
8603
8604         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
8605
8606         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
8607         containing directory rather than embedding absolute directory names.
8608
8609         * scripts/check-local-headers.sh: Rewritten using awk.
8610         Match by word, not by line.  Print error messages for matches.
8611         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
8612
8613         * Makerules [shlib-lds-flags empty]:
8614         ($(common-objpfx)libc_pic.opts): New target.
8615         ($(common-objpfx)libc_pic.os.clean): New target.
8616         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
8617
8618         * config.make.in (OBJCOPY): New variable.
8619         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
8620         * configure: Regenerated.
8621
8622         * config.make.in (use-default-link): New variable.
8623         * configure.in (use_default_link): Grok --with-default-link to set it.
8624         * configure: Regenerated.
8625         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
8626         (shlib-lds, shlib-lds-flags): Define to empty.
8627
8628         * Makerules (shlib-lds): New variable.
8629         (shlib-lds-flags): New variable.
8630         (build-shlib, build-moduile, build-module-asneeded): Use it.
8631         ($(common-objpfx)libc.so): Use $(shlib-lds).
8632         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
8633         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
8634
8635         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
8636         DT_FLAGS/DT_FLAGS_1 with zero flags.
8637
8638         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
8639         linker script munging.
8640
8641 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
8642
8643         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
8644         as 128-bit value.
8645         * crypt/sha512.c (sha512_process_block): Perform total addition using
8646         128-bit if possible.
8647         (__sha512_finish_ctx): Likewise.
8648         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
8649         as 64-bit value.
8650         * crypt/sha256.c (SWAP64): Define.
8651         (sha256_process_block): Perform total addition using 64-bit if
8652         possible.
8653         (__sha256_finish_ctx): Likewise.
8654
8655 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
8656
8657         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
8658         * nscd/initgrcache.c (addinitgroupsX): Likewise.
8659         * nscd/hstcache.c (cache_addhst): Likewise.
8660         * nscd/grpcache.c (cache_addgr): Likewise.
8661         * nscd/aicache.c (addhstaiX): Likewise
8662         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
8663
8664 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
8665
8666         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
8667         * nscd/initgrcache.c (addinitgroupsX): Likewise.
8668         * nscd/hstcache.c (cache_addhst): Likewise.
8669         * nscd/grpcache.c (cache_addgr): Likewise.
8670         * nscd/aicache.c (addhstaiX): Likewise
8671
8672 2011-07-01  Andreas Schwab  <schwab@redhat.com>
8673
8674         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
8675         domain only when needed.
8676
8677 2011-06-30  Andreas Schwab  <schwab@redhat.com>
8678
8679         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
8680         is always restored.
8681
8682 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
8683
8684         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
8685         are re-adding the entry.
8686         * nscd/servicescache.c (cache_addserv): Likewise.
8687
8688 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
8689
8690         * sysdeps/generic/dl-irel.h: fix protection against multiple
8691         inclusions.
8692         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
8693
8694 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
8695
8696         [BZ #12935]
8697         * malloc/memusage.sh: Fix quoting in message.
8698         * debug/xtrace.sh: Likewise.
8699
8700         * configure.in: Remove support for --experimental-malloc option, make
8701         it the default.
8702         * config.make.in: Likewise.
8703         * malloc/Makefile: Likewise.
8704
8705 2011-06-27  Andreas Schwab  <schwab@redhat.com>
8706
8707         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
8708         two-byte characters.
8709
8710 2011-06-27  Roland McGrath  <roland@hack.frob.com>
8711
8712         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
8713         AC_CACHE_CHECK invocation.
8714         * configure: Regenerated.
8715
8716         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8717
8718 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
8719
8720         [BZ #12350]
8721         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
8722         bit from old_res_options.
8723
8724         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8725
8726         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8727         value type for setfct.
8728
8729 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
8730
8731         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8732         __gettimeofday instead of gettimeofday.
8733
8734 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
8735
8736         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8737
8738 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
8739
8740         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8741
8742         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8743         info.
8744
8745 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
8746
8747         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8748         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8749         strcpy-sse2-unaligned strncpy-sse2-unaligned
8750         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8751         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8752         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8753         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8754         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8755         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8756         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8757         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8758         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8759         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8760         (STRCPY): Support SSE2 and SSSE3 versions.
8761
8762 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
8763
8764         [BZ #12874]
8765         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8766         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8767         kernels which artificially limit size of requests.
8768
8769 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
8770
8771         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8772         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8773         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8774         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8775         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8776         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8777         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8778         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8779         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8780         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8781         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8782         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8783         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8784         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8785         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8786         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8787         Enable unaligned load optimization for Intel Core i3, i5 and i7
8788         processors.
8789         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8790         Define.
8791         (index_Fast_Unaligned_Load): Define.
8792         (HAS_FAST_UNALIGNED_LOAD): Define.
8793
8794 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
8795
8796         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8797
8798 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
8799
8800         [BZ #12907]
8801         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8802         until it is clear that the information is realy needed.
8803         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8804
8805 2011-06-22  Andreas Schwab  <schwab@redhat.com>
8806
8807         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8808
8809 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
8810
8811         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8812         /sys/devices/system/cpu/online if it is usable.
8813
8814         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8815         reading the information from the /proc filesystem to once a second.
8816
8817 2011-06-21  Andreas Jaeger  <aj@suse.de>
8818
8819         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8820         NULL after inclusion of kernel headers.
8821
8822 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
8823
8824         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8825         calls to internal_setent.
8826
8827         [BZ #12885]
8828         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8829         addresses using gethostbyname4_r ignore IPv4 addresses.
8830
8831         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8832         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
8833
8834         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8835
8836 2011-06-20  David S. Miller  <davem@davemloft.net>
8837
8838         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8839         inclusions.
8840         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8841
8842         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8843         (elf_irel): Use it.
8844         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8845         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8846         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8847         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8848         * sysdeps/x86_64/dl-irel.h: Likewise.
8849
8850         * elf/dl-runtime.c: Use elf_ifunc_invoke.
8851         * elf/dl-sym.c: Likewise.
8852
8853 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
8854
8855         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
8856         need to dereference resplen2.
8857
8858 2011-06-14  Andreas Schwab  <schwab@redhat.com>
8859
8860         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8861
8862 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
8863
8864         * Makeconfig: Define vardbdir and inst_vardbdir.
8865         * nss/Makefile: Add rules to install db-Makefile.
8866
8867         * nss/nss_db/db-XXX.c: Cleanup.
8868
8869         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8870         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8871         GLIBC_PRIVATE.
8872         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8873         * nss/makedb.c: Implement -g option to specify that value strings
8874         are generated and should not be added to table iterated over for
8875         get*ent calls.
8876         * nss/nss_db/db-initgroups.c: New file.
8877
8878         * nss/getent.c: Add support for initgroups lookups through getgrouplist
8879         interface.
8880
8881         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8882         (internal_getgrouplist): Adjust to name change.
8883         Update use_initgroups_entry if this is not the first call.
8884         * nss/databases.def: Add initgroups entry.
8885
8886         * nss/makedb.c (compute_tables): Check result of multiple hash table
8887         sizes to minimize maximum chain length.
8888
8889 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
8890
8891         * Versions.def: Add entry for libnss_db.
8892         * shlib-versions: Likewise.
8893         * nss/Makefile: Add rules to build libnss_db.
8894         * nss/Versions: Add libnss_db information.  Organize libnss_files
8895         entries better.
8896         * nss/db-Makefile: Add gshadow support.  Change rules for the new
8897         makedb progra.  Some minor improvements to generate smaller files.
8898         * nss/nss_db/nss_db.h: Move NSS database header data structures to
8899         here from...
8900         * nss/makedb.c: ...here.
8901         Improve database format to be smaller and require less memory at
8902         runtime.
8903         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
8904         db anymore.
8905         * nss/nss_db/db-netgrp.c: Likewise.
8906         * nss/nss_db/db-open.c: Likewise.
8907         * nss/nss_files/flies-XXX.x: Adjust comments.
8908         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8909         * nss/nss_files/files-grp.c: Likewise.
8910         * nss/nss_files/files-hosts.c: Likewise.
8911         * nss/nss_files/files-network.c: Likewise.
8912         * nss/nss_files/files-proto.c: Likewise.
8913         * nss/nss_files/files-pwd.c: Likewise.
8914         * nss/nss_files/files-rpc.c: Likewise.
8915         * nss/nss_files/files-service.c: Likewise.
8916         * nss/nss_files/files-sgrp.c: Likewise.
8917         * nss/nss_files/files-spwd.c: Likewise.
8918         * nss/nss_db/db-alias.c: Removed.
8919         * nss/nss_db/dummy-db.h: Removed.
8920
8921 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
8922
8923         * nss/makedb.c: Rewritten to not use database library.
8924         * nss/Makefile: Update to build new makedb program.
8925
8926 2011-06-14  Andreas Jaeger  <aj@suse.de>
8927
8928         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8929         memset declaration.
8930
8931 2011-06-10  Andreas Schwab  <schwab@redhat.com>
8932
8933         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8934         tmpbuf.
8935
8936 2011-06-10  Roland McGrath  <roland@hack.frob.com>
8937
8938         * Makerules (shlib.lds): Fail if the linker script comes out empty.
8939         * elf/Makefile ($(objpfx)ld.so): Likewise.
8940
8941         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8942         Don't list ld.so twice in dependencies.
8943
8944         * posix/bug-regex31.c: Include <stdlib.h>.
8945
8946         * nscd/hstcache.c (cache_addhst): Remove unused variable.
8947
8948         * nis/nss_compat/compat-spwd.c
8949         (getspent_next_nss_netgr): Remove unused variable.
8950         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8951
8952         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8953         nonmembers" output to use the right array.
8954
8955         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8956
8957         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8958
8959         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8960         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8961         * catgets/gencat.c (read_input_file): Likewise.
8962         * locale/programs/locarchive.c (enlarge_archive): Likewise.
8963
8964         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8965         variable definition inside #if's controlling its use.
8966
8967         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8968
8969         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8970
8971         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8972
8973         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8974         unreachable code.
8975
8976         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
8977
8978         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
8979         * configure: Regenerated.
8980
8981         * Makerules: Revert last change.
8982         * elf/Makefile: Likewise.
8983
8984 2011-06-09  Roland McGrath  <roland@hack.frob.com>
8985
8986         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
8987         * elf/Makefile ($(objpfx)librtld.os): Likewise.
8988         (reloc-link): Likewise.
8989
8990 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
8991
8992         * elf/Makefile: Add rules to build pldd.
8993         * elf/pldd.c: New file.
8994         * elf/pldd-xx.c: New file.
8995
8996 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
8997
8998         * version.h: Update for 2.15 development version.
8999
9000 2011-06-07  David S. Miller  <davem@davemloft.net>
9001
9002         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
9003         ifuncs.
9004         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
9005         elf_machine_lazy_rel): Likewise.
9006         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9007         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
9008         elf_machine_lazy_rel): Likewise.
9009         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
9010         dl_hwcap via passed in argument.
9011         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
9012         Likewise.
9013
9014 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9015
9016         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
9017
9018 2011-06-06  Roland McGrath  <roland@hack.frob.com>
9019
9020         [BZ #12849]
9021         * manual/fdl-1.1.texi: New file, verbatim from:
9022         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
9023         * manual/lgpl-2.1.texi: New file, verbatim from:
9024         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
9025         * manual/Makefile (licenses): New variable, list those new file names.
9026         (texis): Use it.
9027         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
9028
9029         * manual/fdl.texi: File removed.
9030         * manual/lesser.texi: File removed.
9031         * manual/libc.texinfo (Copying, Documentation License):
9032         Use new @include file names, put @appendix directive before @include.
9033
9034 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
9035
9036         [BZ #12841]
9037         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
9038         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
9039         (mq_open): Add __NTH.
9040
9041 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
9042
9043         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9044         Assume Intel Core i3/i5/i7 processor if AVX is available.
9045
9046 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
9047
9048         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9049         typo.
9050
9051 2011-05-31  Andreas Schwab  <schwab@redhat.com>
9052
9053         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
9054         memory.  Use alloca_account.  Fix memory leak when retrying.
9055
9056 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
9057
9058         * version.h (RELEASE): Bump for 2.14 release.
9059         * include/features.h (__GLIBC_MINOR__): Bump to 14.
9060
9061         * config.make.in (RANLIB): Remove entry.
9062
9063 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
9064
9065         * po/Makefile (po-sed-cmd): Add ksh to extensions.
9066         (libc.pot): Work around missing support for .ksh extension in xgettext.
9067
9068         [BZ #12684]
9069         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
9070         if both request failed.
9071         (send_dg): In case of server errors clear resplen or *resplen2.
9072
9073         [BZ #12454]
9074         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
9075         when there are multiple maps.
9076         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
9077         (_dl_fini): Remove test here.
9078
9079         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
9080
9081 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
9082
9083         [BZ #12350]
9084         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
9085         bit from old_res_options.
9086         (gaih_inet): Likewise.
9087
9088         [BZ #11099]
9089         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
9090         as signed.
9091
9092         * resolv/res_init.c (res_setoptions): Make the code more compact.
9093
9094         [BZ #11558]
9095         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
9096         set RES_USEVC.
9097
9098         [BZ #11634]
9099         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
9100
9101         * malloc/malloc.h: Mark malloc hook variables as deprecated.
9102
9103         [BZ #11781]
9104         * malloc/malloc.h: Declare malloc hook variables as volatile.
9105
9106         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
9107         in last patch.
9108
9109         [BZ #11799]
9110         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
9111         raise in the comment.
9112         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9113         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9114         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
9115
9116 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
9117
9118         [BZ #12811]
9119         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
9120         grow the buffers more if it already has to be sufficient.
9121         (build_wcs_upper_buffer): Likewise.
9122         * posix/regexec.c (check_matching): Likewise.
9123         (clean_state_log_if_needed): Likewise.
9124         (extend_buffers): Don't enlarge buffers beyond size of the input
9125         buffer.
9126         Patches mostly by Emil Wojak <emil@wojak.eu>.
9127         * posix/bug-regex32.c: New file.
9128         * posix/Makefile (tests): Add bug-regex32.
9129
9130         * locale/findlocale.c (_nl_find_locale): Return right away if
9131         _nl_explode_name failed.
9132         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
9133
9134         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
9135
9136         * debug/xtrace.sh: Unify messages.
9137         * malloc/memusage.sh: Likewise.
9138
9139         [BZ #12813]
9140         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
9141         time symbol from vDSO.  Substitute with vsyscall if not available.
9142         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
9143         __vdso_time.
9144
9145         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
9146         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
9147         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
9148         Add sendmmsg and internal_sendmmsg.
9149         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
9150         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
9151         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
9152
9153         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
9154         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
9155         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
9156
9157 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
9158
9159         [BZ #12813]
9160         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
9161         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
9162         available.
9163         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
9164         __vdso_getcpu.
9165
9166         [BZ #12814]
9167         * iconvdata/Makefile (tests): Add bug-iconv9.
9168         * iconvdata/bug-iconv9.c: New file.
9169
9170 2011-05-27  Andreas Schwab  <schwab@redhat.com>
9171
9172         [BZ #12814]
9173         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
9174
9175 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
9176
9177         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9178         (struct user_regs_struct): Change intcs field back to cs.
9179
9180 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
9181
9182         * po/ja.po: Update from translation team.
9183
9184 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
9185
9186         [BZ #12795]
9187         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
9188         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
9189
9190 2011-05-20  Andreas Schwab  <schwab@redhat.com>
9191
9192         * stdlib/longlong.h: Update from GCC.
9193
9194 2011-05-23  Andreas Schwab  <schwab@redhat.com>
9195
9196         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
9197         parameter name.
9198         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
9199         Add parameter name.
9200         (__sysconf): Pass it down.
9201
9202 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
9203
9204         [BZ #12671]
9205         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
9206         some situations.
9207         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9208         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
9209         add in in __libc_use_alloca calls.  Adjust callers.
9210         (glob): Use malloc in some situations.
9211
9212         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
9213         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
9214         pltexit.
9215
9216 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
9217
9218         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
9219         and CLOCK_BOOTTIME_ALARM.
9220
9221         [BZ #12782]
9222         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
9223         is returned.
9224
9225         * string/_strerror.c (__strerror_r): Print negative errors as signed
9226         numbers.
9227
9228         [BZ #12777]
9229         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
9230         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
9231         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
9232
9233         * configure.in: Fix typo in redirection and correct removal of test
9234         files in two cases.
9235
9236         [BZ #12788]
9237         * locale/setlocale.c (new_composite_name): Fix test to check for
9238         identical name of all categories.
9239
9240         [BZ #12792]
9241         * libio/filedoalloc.c (local_isatty): New function.
9242         (_IO_file_doallocate): Use local_isatty.
9243         * stdio-common/perror.c (perror): In case a new stream is used
9244         forward the stream error.
9245         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
9246         error flag.
9247
9248 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
9249
9250         [BZ #11869]
9251         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
9252         alloca.
9253         * include/alloca.h (extend_alloca_account): Define.
9254
9255         [BZ #11857]
9256         * posix/regex.h: Fix comments with documentation of user-accessible
9257         fields after compilation and describe correct free'ing of pattern
9258         after re_compile_pattern.
9259         Patch by Reuben Thomas <rrt@sc3d.org>.
9260
9261 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
9262
9263         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
9264         and -mno-altivec to prevent the compiler from using Altivec and/or
9265         VSX instructions when the corresponding registers are not available.
9266
9267 2011-05-19  Andreas Schwab  <schwab@redhat.com>
9268
9269         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
9270
9271 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
9272
9273         * libio/freopen.c (freopen): Use __dup2, not dup2.
9274         * libio/freopen64.c (freopen64): Likewise.
9275
9276 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
9277
9278         [BZ #12775]
9279         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
9280         * math/Makefile (tests): Add test-powl.
9281         (CFLAGS-test-powl.c): Define.
9282         * math/test-powl.c: New file.
9283
9284 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9285
9286         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
9287
9288 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
9289
9290         [BZ #11837]
9291         * iconvdata/gb18030.c: Update to GB18020-2005.
9292
9293 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
9294
9295         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
9296         RE_SYNTAX_POSIX_AWK): Update to match recent development.
9297         Patch by Aharon Robbins <arnold@skeeve.com>.
9298
9299         [BZ #11892]
9300         * stdlib/putenv.c (putenv): Don't always create copy of the variable
9301         on the stack.
9302
9303         [BZ #11895]
9304         * misc/pselect.c (__pselect): Handle timeout value errors hidden
9305         through underflows.
9306
9307         [BZ #12766]
9308         * misc/error.c (error_at_line): Ensure file_name and old_file_name
9309         point to strings before performing equality test for error_one_per_line
9310         mode.
9311
9312         [BZ #11697]
9313         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
9314
9315         [BZ #11820]
9316         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9317         (struct user_fpregs_struct): Avoid __uint*_t types.
9318
9319         [BZ #6420]
9320         * malloc/mtrace.c (tr_where): Add additional parameter to point to
9321         symbol info.  Use it instead of calling _dl_addr locally.
9322         (lock_and_info): New function.
9323         (tr_freehook): Call lock_and_info and pass symbol info as additional
9324         parameter to tr_where.
9325         (tr_mallochook): Likewise.
9326         (tr_reallochook): Likewise.
9327         (tr_memalignhook): Likewise.
9328
9329         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
9330         used and couldn't be at all thread-safe.
9331
9332 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
9333
9334         * libio/freopen.c (freopen): Don't close old file descriptor
9335         before the new one is opened.  Instead dup the new file descriptor
9336         to the old one after the new stream is created.
9337         * libio/freopen64.c (freopen64): Likewise.
9338         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
9339         * libio/fileops.c (_IO_new_file_close_it): Handle new
9340         _IO_FLAGS2_NOCLOSE flag.
9341         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
9342         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
9343         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
9344         _IO_FLAGS2_NOCLOSE flag.
9345         * include/unistd.h: Add hidden_proto for dup3.
9346         Define __have_dup3.
9347         * io/dup3.c: Define hidden symbol.
9348         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
9349
9350         [BZ #7101]
9351         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
9352         when an incomplete long option is used.
9353         * posix/tst-getopt_long1.c: New file.
9354         * posix/Makefile (tests): Add tst-getopt_long1.
9355
9356         [BZ #10138]
9357         * scripts/config.guess: Update from autoconf-2.68.
9358         * scripts/config.sub: Likewise.
9359
9360         [BZ #10157]
9361         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
9362         tests into ...
9363         (has_cpuclock): ...this.  New function.
9364         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
9365         macro here based on has_cpuclock code.
9366
9367         [BZ #10149]
9368         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9369         First byte (not low byte) is now always NUL.
9370         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
9371
9372         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9373         Use non-cancelable interfaces.
9374
9375         [BZ #9809]
9376         * locale/iso-639.def: Add entry for Sorani.
9377
9378         [BZ #11901]
9379         * include/stdlib.h: Move include protection to the right place.
9380         Define abort_msg_s.  Declare __abort_msg with it.
9381         * stdlib/abort.c (__abort_msg): Adjust type.
9382         * assert/assert.c (__assert_fail_base): New function.  Majority
9383         of code from __assert_fail.  Allocate memory for __abort_msg with
9384         mmap.
9385         (__assert_fail): Now call __assert_fail_base.
9386         * assert/assert-perr.c: Remove bulk of implementation.  Use
9387         __assert_fail_base.
9388         * include/assert.hL Declare __assert_fail_base.
9389         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
9390         mmap.
9391         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
9392
9393 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
9394
9395         [BZ #11952]
9396         [BZ #12453]
9397         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
9398         until all modules are registered in the DTV.
9399         * elf/Makefile: Add rules to build and run tst-tls19.
9400         * elf/tst-tls19.c: New file.
9401         * elf/tst-tls19mod1.c: New file.
9402         * elf/tst-tls19mod2.c: New file.
9403         * elf/tst-tls19mod3.c: New file.
9404         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
9405
9406         [BZ #12083]
9407         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
9408         correctly.
9409
9410         [BZ #12601]
9411         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
9412         two-byte sequence errors.
9413         * iconvdata/Makefile (tests): Add bug-iconv8.
9414         * iconvdata/bug-iconv8.c: New file.
9415
9416         [BZ #12626]
9417         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
9418         buf2 definition.
9419
9420         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
9421
9422         [BZ #12432]
9423         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
9424         (dummy_getcfa): New function.
9425         (init): Get _Unwind_GetCFA address, use dummy if not found.
9426         (backtrace_helper): In recursion check, also check whether CFA changes.
9427         (__backtrace): Completely initialize arg.
9428
9429         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
9430         storing incomplete byte sequence in state object.  Avoid testing for
9431         guaranteed too small input if we know there is enough data available.
9432
9433 2011-05-11  Andreas Schwab  <schwab@redhat.com>
9434
9435         * Makeconfig (+link-pie): Indent.
9436         * Rules (binaries-pie): Define if $(have-fpie) and
9437         $(build-shared).
9438         (binaries-shared): Also filter out $(binaries-pie).
9439         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
9440         * nscd/Makefile (others-pie): Add nscd.
9441         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
9442         ($(objpfx)nscd): Remove command override.
9443         * login/Makefile (others-pie): Add pt_chown.
9444         ($(objpfx)pt_chown): Remove command override.
9445         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
9446         remove command overrides.
9447
9448 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
9449
9450         * libio/tst_putwc.c: Fix error messages.
9451
9452         [BZ #12724]
9453         * libio/fileops.c (_IO_new_file_close_it): Always flush when
9454         currently writing and seek to current position when not.
9455         * libio/Makefile (tests): Add bug-fclose1.
9456         * libio/bug-fclose1.c: New file.
9457
9458 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
9459
9460         [BZ #12511]
9461         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
9462         don't set DF_1_NODELETE here.
9463         (do_lookup_x): When entering new entry test for copy relocation
9464         and if necessary set DF_1_NODELETE flag.
9465         * elf/tst-unique4.cc: New file.
9466         * elf/tst-unique4.h: New file.
9467         * elf/tst-unique4lib.cc: New file.
9468         * elf/Makefile: Add rules to build and run tst-unique4.
9469         Patch by Piotr Bury <pbury@goahead.com>.
9470
9471 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
9472
9473         [BZ #12052]
9474         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
9475
9476         [BZ #12625]
9477         * misc/mntent_r.c (addmntent): Flush the stream after the output
9478
9479         [BZ #12393]
9480         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
9481         (is_trusted_path_normalize): Skip initial colon.  Append slash
9482         to empty buffer.  Duplicate is_trusted_path code but allow
9483         constructed patch to be prefix.
9484         (is_dst): Allow $ORIGIN followed by /.
9485         (_dl_dst_substitute): Correct clearing of check_for_trusted.
9486         Correct testing of result of is_trusted_path_normalize
9487         (decompose_rpath): Fix warning.
9488
9489 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
9490
9491         [BZ #11257]
9492         * grp/initgroups.c (internal_getgrouplist): When we found the service
9493         list through the initgroups entry in nsswitch.conf do not always
9494         continue on a successful lookup.  Don't always use the
9495         __nss_group_database value if it is set.
9496         * nss/nsswitch.conf (initgroups): Change action for successful db
9497         lookup to continue for compatibility.
9498
9499 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
9500
9501         [BZ #11532]
9502         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
9503         and CP774 modules.
9504         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
9505         and CP774 modules.
9506         * iconvdata/tst-tables.sh: Likewise.
9507         * iconvdata/cp770.c: New file.
9508         * iconvdata/cp771.c: New file.
9509         * iconvdata/cp772.c: New file.
9510         * iconvdata/cp773.c: New file.
9511         * iconvdata/cp774.c: New file.
9512         * iconvdata/testdata/CP770: New file.
9513         * iconvdata/testdata/CP770..UTF8: New file.
9514         * iconvdata/testdata/CP771: New file.
9515         * iconvdata/testdata/CP771..UTF8: New file.
9516         * iconvdata/testdata/CP772: New file.
9517         * iconvdata/testdata/CP772..UTF8: New file.
9518         * iconvdata/testdata/CP773: New file.
9519         * iconvdata/testdata/CP773..UTF8: New file.
9520         * iconvdata/testdata/CP774: New file.
9521         * iconvdata/testdata/CP774..UTF8: New file.
9522
9523         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
9524         END CHARMAP line.
9525         * iconvdata/gen-8bit-gap.sh: Likewise.
9526         * iconvdata/gen-8bit.sh: Likewise.
9527
9528         * locale/iso-639.def: Add ary entry.
9529
9530         [BZ #11258]
9531         * locale/C-translit.h.in: Add U20A1 transliteration.
9532
9533         [BZ #12178]
9534         * locale/iso-639.def: Add wae entry.
9535         Patch by Kevin Bortis <bortis@translate-wae.ch>.
9536
9537         [BZ #12545]
9538         * locale/programs/localedef.c (construct_output_path): Use ssize_t
9539         for n.
9540
9541         [BZ #12711]
9542         * locale/C-translit.h.in: Add entry for U20B9.
9543         Patch by pravin.d.s@gmail.com.
9544
9545 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
9546
9547         [BZ #12713]
9548         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
9549         ENAMETOOLONG use generic getcwd.
9550         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
9551         in rtld.  Use *stat64.
9552         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
9553         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
9554         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
9555         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
9556         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
9557         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
9558         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
9559         __fstatat64 macros.
9560         * include/dirent.h: Add libc_hidden_proto for rewinddir.
9561         * dirent/rewinddir.c: Add libc_hidden_def.
9562         * sysdeps/mach/hurd/rewinddir.c: Likewise.
9563         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
9564
9565         * include/dirent.h (__alloc_dir): Add flags parameter.
9566         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
9567         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
9568         __alloc_dir.
9569         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
9570         from fdopendir if O_CLOEXEC is already set.
9571
9572 2011-03-15  Alan Modra  <amodra@gmail.com>
9573
9574         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
9575         l_tls_firstbyte_offset non-zero.  Save padding offset in
9576         l_tls_firstbyte_offset for later use.
9577         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
9578         freeing static tls block.
9579
9580 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
9581
9582         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
9583         where #ifdef was intended.  The intent is to prevent ARG_MAX from
9584         being defined by the kernel headers.
9585
9586 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
9587
9588         [BZ #12734]
9589         * resolv/resolv.h: Define RES_NOTLDQUERY.
9590         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
9591         no-tld-query and set RES_NOTLDQUERY.
9592         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
9593         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
9594         modern BIND to search name as TLD unless forbidden.
9595
9596 2011-05-07  Petr Baudis  <pasky@suse.cz>
9597             Ulrich Drepper  <drepper@gmail.com>
9598
9599         [BZ #12393]
9600         * elf/dl-load.c (fillin_rpath): Move trusted path check...
9601         (is_trusted_path): ...to here.
9602         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
9603         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
9604         using is_trusted_path_normalize() in setuid scripts.
9605
9606 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
9607
9608         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
9609         __BEGIN/__END_DECLS.
9610
9611 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
9612
9613         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
9614         NSS_STATUS_NOTFOUND if no record was found.
9615
9616 2011-05-05  Andreas Schwab  <schwab@redhat.com>
9617
9618         * sunrpc/Makefile (headers): Add rpc/netdb.h.
9619         (headers-not-in-tirpc): Remove rpc/netdb.h
9620         * resolv/netdb.h: Revert last change.
9621
9622 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
9623
9624         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
9625         circular dependency between libgcc.a and libc.a.
9626
9627 2011-05-05  Andreas Schwab  <schwab@redhat.com>
9628
9629         * resolv/netdb.h: Don't include <rpc/netdb.h>.
9630         * nis/Makefile: Don't install rpcsvc/*.
9631         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
9632         instead of <rpc/types.h>.
9633         (MAXHOSTNAMELEN): Define.
9634
9635 2011-05-03  Andreas Schwab  <schwab@redhat.com>
9636
9637         * elf/ldconfig.c (add_dir): Don't crash on empty path.
9638
9639 2011-04-28  Maciej Babinski  <mbabinski@google.com>
9640
9641         [BZ #12714]
9642         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
9643         gethostbyname4_r when IPv6 results are possible.
9644
9645 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
9646
9647         [BZ #12723]
9648         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
9649         _PC_PIPE_BUF handling.
9650
9651 2011-04-30  Bruno Haible  <bruno@clisp.org>
9652
9653         [BZ #12717]
9654         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
9655         * resolv/netdb.h (getnameinfo): Change type of flags parameter
9656         to 'int'.
9657         * inet/getnameinfo.c (getnameinfo): Likewise.
9658
9659 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
9660
9661         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
9662         to groups setting in database lookup.
9663         * nss/nsswitch.conf: Add initgroups entry.
9664
9665 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
9666
9667         [BZ #12685]
9668         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
9669         mode string.
9670         Patch by Eric Blake <eblake@redhat.com>.
9671
9672 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
9673
9674         * sunrpc/Makefile (need-export-routines): Add svc_run.
9675         (routines): Remove svc_run.
9676         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
9677         * sunrpc/clnt_perr.c (clnt_perrno): Export.
9678         * sunrpc/svc_run.c (svc_run): Likewise.
9679         * sunrpc/svc_udp.c (svcudp_create): Likewise.
9680
9681 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
9682
9683         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
9684         problem in reallocation in last patch.
9685
9686 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
9687
9688         * sunrpc/Makefile: Move inclusion of Rules.
9689
9690 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
9691
9692         * nss/nss_files/files-initgroups.c: New file.
9693         * nss/Makefile (libnss_files-routines): Add files-initgroups.
9694         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
9695         _nss_files_initgroups_dyn.
9696
9697 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
9698
9699         * elf/elf.h (R_ARM_IRELATIVE): Define.
9700
9701 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
9702
9703         * po/ru.po: Update from translation team.
9704
9705 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
9706
9707         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
9708         dependencies.
9709
9710 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
9711
9712         [BZ #12653]
9713         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
9714         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
9715         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9716         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9717         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9718
9719 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
9720
9721         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9722         differing bytes.
9723         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9724         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9725         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9726
9727 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
9728
9729         [BZ #12420]
9730         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9731         storing it.
9732         * stdlib/bug-getcontext.c: New file.
9733         * stdlib/Makefile: Add rules to build and run bug-getcontext.
9734
9735 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9736
9737         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9738         instructions into .machine "z9-109".
9739         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9740         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9741
9742 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9743
9744         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9745         between environment variables and auxiliary vector.
9746
9747 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
9748
9749         * Makefile: Add rules to build linkobj/libc.so.
9750         * include/libc-symbols.h: Define libc_hidden_nolink.
9751         * include/rpc/auth.h: Mark functions which are to be hidden.
9752         * include/rpc/auth_des.h: Likewise.
9753         * include/rpc/auth_unix.h: Likewise.
9754         * include/rpc/clnt.h: Likewise.
9755         * include/rpc/des_crypt.h: Likewise.
9756         * include/rpc/key_prot.h: Likewise.
9757         * include/rpc/pmap_clnt.h: Likewise.
9758         * include/rpc/pmap_prot.h: Likewise.
9759         * include/rpc/pmap_rmt.h: Likewise.
9760         * include/rpc/rpc_msg.h: Likewise.
9761         * include/rpc/svc.h: Likewise.
9762         * include/rpc/svc_auth.h: Likewise.
9763         * include/rpc/xdr.h: Likewise.
9764         * nis/Makefile: Link all DSOs against linkobj/libc.so.
9765         * nss/Makefile: Likewise.
9766         * sunrpc/Makefile: Don't install headers.  Build library with normal
9767         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
9768         * sunrpc/auth_des.c: Hide exported symbols by default, export some
9769         for the compat linking library.  Remove use of INTDEF/INTUSE.
9770         * sunrpc/auth_none.c: Likewise.
9771         * sunrpc/auth_unix.c: Likewise.
9772         * sunrpc/authdes_prot.c: Likewise.
9773         * sunrpc/authuxprot.c: Likewise.
9774         * sunrpc/clnt_gen.c: Likewise.
9775         * sunrpc/clnt_perr.c: Likewise.
9776         * sunrpc/clnt_raw.c: Likewise.
9777         * sunrpc/clnt_simp.c: Likewise.
9778         * sunrpc/clnt_tcp.c: Likewise.
9779         * sunrpc/clnt_udp.c: Likewise.
9780         * sunrpc/clnt_unix.c: Likewise.
9781         * sunrpc/des_crypt.c: Likewise.
9782         * sunrpc/des_soft.c: Likewise.
9783         * sunrpc/get_myaddr.c: Likewise.
9784         * sunrpc/key_call.c: Likewise.
9785         * sunrpc/key_prot.c: Likewise.
9786         * sunrpc/netname.c: Likewise.
9787         * sunrpc/pm_getmaps.c: Likewise.
9788         * sunrpc/pm_getport.c: Likewise.
9789         * sunrpc/pmap_clnt.c: Likewise.
9790         * sunrpc/pmap_prot.c: Likewise.
9791         * sunrpc/pmap_prot2.c: Likewise.
9792         * sunrpc/pmap_rmt.c: Likewise.
9793         * sunrpc/publickey.c: Likewise.
9794         * sunrpc/rpc_cmsg.c: Likewise.
9795         * sunrpc/rpc_common.c: Likewise.
9796         * sunrpc/rpc_dtable.c: Likewise.
9797         * sunrpc/rpc_prot.c: Likewise.
9798         * sunrpc/rpc_thread.c: Likewise.
9799         * sunrpc/rtime.c: Likewise.
9800         * sunrpc/svc.c: Likewise.
9801         * sunrpc/svc_auth.c: Likewise.
9802         * sunrpc/svc_authux.c: Likewise.
9803         * sunrpc/svc_raw.c: Likewise.
9804         * sunrpc/svc_run.c: Likewise.
9805         * sunrpc/svc_simple.c: Likewise.
9806         * sunrpc/svc_tcp.c: Likewise.
9807         * sunrpc/svc_udp.c: Likewise.
9808         * sunrpc/svc_unix.c: Likewise.
9809         * sunrpc/svcauth_des.c: Likewise.
9810         * sunrpc/xcrypt.c: Likewise.
9811         * sunrpc/xdr.c: Likewise.
9812         * sunrpc/xdr_array.c: Likewise.
9813         * sunrpc/xdr_float.c: Likewise.
9814         * sunrpc/xdr_intXX_t.c: Likewise.
9815         * sunrpc/xdr_mem.c: Likewise.
9816         * sunrpc/xdr_rec.c: Likewise.
9817         * sunrpc/xdr_ref.c: Likewise.
9818         * sunrpc/xdr_sizeof.c: Likewise.
9819         * sunrpc/xdr_stdio.c: Likewise.
9820
9821 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
9822
9823         [BZ #12650]
9824         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9825         * sysdeps/ia64/dl-tls.h: Likewise.
9826         * sysdeps/powerpc/dl-tls.h: Likewise.
9827         * sysdeps/s390/dl-tls.h: Likewise.
9828         * sysdeps/sh/dl-tls.h: Likewise.
9829         * sysdeps/sparc/dl-tls.h: Likewise.
9830         * sysdeps/x86_64/dl-tls.h: Likewise.
9831         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9832
9833 2011-03-14  Andreas Schwab  <schwab@redhat.com>
9834
9835         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9836         rpath element also skip the following colon.
9837         (expand_dynamic_string_token): Add is_path parameter and pass
9838         down to DL_DST_REQUIRED and _dl_dst_substitute.
9839         (decompose_rpath): Call expand_dynamic_string_token with
9840         non-zero is_path.  Ignore empty rpaths.
9841         (_dl_map_object_from_fd): Call expand_dynamic_string_token
9842         with zero is_path.
9843
9844 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
9845
9846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9847         Make cancelable.
9848
9849 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
9850
9851         [BZ #12655]
9852         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9853         Patch by Filipe David Manana <fdmanana@apache.org>.
9854
9855 2011-04-07  Andreas Schwab  <schwab@redhat.com>
9856
9857         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9858         Maintain aligned stack.
9859         (CHECK_RSP): Remove unused macro.
9860
9861 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
9862
9863         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9864         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9865
9866 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
9867
9868         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9869
9870         * include/features.h: Mention __USE_XOPEN2K8 in comment.
9871
9872 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
9873
9874         [BZ #12518]
9875         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9876         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9877         * sysdeps/x86_64/memmove.c: New file.
9878         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9879         (memcpy): Renamed to ...
9880         (__new_memcpy): This.
9881         (memcpy): Provide GLIBC_2_14 memcpy.
9882         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9883         (memcpy): Provide GLIBC_2_2_5 memcpy.
9884
9885 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
9886
9887         [BZ #12631]
9888         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9889
9890 2011-03-30  Andreas Schwab  <schwab@redhat.com>
9891
9892         * misc/syncfs.c: New file.
9893         * misc/Makefile (routines): Add syncfs.
9894         * posix/unistd.h: Declare syncfs.
9895         * sysdeps/unix/syscalls.list: Add syncfs.
9896
9897 2011-04-01  Andreas Schwab  <schwab@redhat.com>
9898
9899         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9900         open_by_handle_at.
9901         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9902         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9903         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9904         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9905         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9906         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9907         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9908
9909 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
9910
9911         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9912         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9913         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9914         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9915         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9916         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9917         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9918
9919         * io/Makefile: Compile fallocate.c, fallocate64.c, and
9920         sync_file_range.c with -fexceptions.
9921         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9922         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9923         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9924         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9925         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9926         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9927         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
9928         sync_file_range as cancellation point
9929         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
9930         now a wrapper around __call_sync_file_range with cancellation handling.
9931         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9932         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
9933         function name to __call_sync_file_range.
9934         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9935         Add call_sync_file_range.
9936
9937 2011-04-01  Andreas Schwab  <schwab@redhat.com>
9938
9939         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9940         bits/timex.h.
9941
9942 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
9943
9944         * iconv/iconv.h: Fix typo in comment.
9945         * io/fcntl.h: Likewise.
9946         * libio/stdio.h: Likewise.
9947         * posix/spawn.h: Likewise.
9948         * posix/unistd.h: Likewise.
9949         * stdlib/stdlib.h: Likewise.
9950         * time/time.h: Likewise.
9951         * wcsmbs/wchar.h: Likewise.
9952
9953         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9954         open_by_handle): Add.
9955         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9956         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
9957         Augment a few comments.
9958         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9959         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9960         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9961         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9962         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9963         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9964         open_by_handle.
9965
9966         * io/fcntl.h (AT_EMPTY_PATH): Define.
9967
9968 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
9969
9970         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9971         * sysdeps/unix/sysv/linux/bits/time.h: New file.
9972         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9973         to...
9974         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
9975         * Versions.def: Add GLIBC_2.14.
9976         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9977         Export.
9978
9979 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
9980
9981         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
9982         round counter.
9983         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9984
9985 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
9986
9987         [BZ #12597]
9988         * string/test-strncmp.c (do_page_test): New function.
9989         (check2): Likewise.
9990         (test_main): Call check2.
9991         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
9992
9993 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
9994
9995         [BZ #12587]
9996         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
9997         Handle cache information in CPU leaf 4.
9998         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9999
10000 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
10001
10002         [BZ #12583]
10003         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
10004         character representation.
10005         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
10006
10007 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
10008
10009         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
10010         END(__isnan) to END(__isnanf) to match function entry point/label
10011         EALIGN(__isnanf,...).
10012
10013 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
10014
10015         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
10016
10017 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
10018
10019         [BZ #12510]
10020         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
10021         copy from the symbol referenced in the relocation to initialize the
10022         used variable.
10023         Patch by Piotr Bury <pbury@goahead.com>.
10024         * elf/Makefile: Add rules to build and tst-unique3.
10025         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
10026         * elf/tst-unique3.cc: New file.
10027         * elf/tst-unique3.h: New file.
10028         * elf/tst-unique3lib.cc: New file.
10029         * elf/tst-unique3lib2.cc: New file.
10030
10031         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
10032
10033 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
10034
10035         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
10036         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
10037         to _start.
10038
10039 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
10040
10041         * elf/dl-load.c (_dl_map_object): If we are looking for the first
10042         to-be-loaded object along a path to loader is ld.so.
10043
10044 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
10045             Ulrich Drepper  <drepper@gmail.com>
10046
10047         * sysdeps/x86_64/memset.S: After aligning destination, code
10048         branches to different locations depending on the value of
10049         misalignment, when multiarch is enabled. Fix this.
10050
10051 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
10052
10053         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
10054         Set _x86_64_preferred_memory_instruction for AMD processsors.
10055         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10056         Set bit_Prefer_SSE_for_memop for AMD processors.
10057
10058 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
10059
10060         * libio/fmemopen.c (fmemopen): Optimize a bit.
10061
10062 2011-03-03  Andreas Schwab  <schwab@redhat.com>
10063
10064         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
10065
10066 2011-03-03  Roland McGrath  <roland@redhat.com>
10067
10068         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
10069
10070 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
10071
10072         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
10073         __bzero_ultra1 instead of __memset_ultra1.
10074
10075 2011-02-23  Andreas Schwab  <schwab@redhat.com>
10076             Ulrich Drepper  <drepper@gmail.com>
10077
10078         [BZ #12509]
10079         * include/link.h (struct link_map): Add l_orig_initfini.
10080         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
10081         returning unsuccessfully.
10082         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
10083         close of a file loaded at startup, restore the original l_initfini
10084         list.
10085         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
10086         list, store the pointer.
10087         * elf/Makefile ($(objpfx)noload-mem): New rule.
10088         (noload-ENV): Define.
10089         (tests): Add $(objpfx)noload-mem.
10090         * elf/noload.c: Include <memcheck.h>.
10091         (main): Call mtrace.  Close all opened handles.
10092
10093 2011-02-17  Andreas Schwab  <schwab@redhat.com>
10094
10095         [BZ #12454]
10096         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
10097         dependencies are missing.
10098
10099 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10100
10101         Fix __if_freereq crash: Unlike the generic version which uses free,
10102         Hurd needs munmap.
10103         * sysdeps/mach/hurd/ifreq.h: New file.
10104
10105 2011-01-27  Petr Baudis  <pasky@suse.cz>
10106             Ulrich Drepper  <drepper@gmail.com>
10107
10108         [BZ 12445]#
10109         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
10110         to extend_alloca().
10111         * stdio-common/bug23.c: New file.
10112         * stdio-common/Makefile (tests): Add bug23.
10113
10114 2010-09-28  Andreas Schwab  <schwab@redhat.com>
10115             Ulrich Drepper  <drepper@gmail.com>
10116
10117         [BZ #12489]
10118         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
10119         before performing relro protection.  At old place add assertion
10120         to make sure nothing changed.
10121
10122 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
10123             Glauber de Oliveira Costa  <glommer@gmail.com>
10124
10125         * elf/elf.h: Add new ARM TLS relocs.
10126
10127 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
10128
10129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10130         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
10131         cast from r3.
10132         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
10133         'tests' variable.
10134         * sysdeps/wordsize-64/tst-writev.c: New file.
10135
10136 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
10137
10138         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
10139         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
10140         insns in _dl_start to prevent a TOC reference before relocs are
10141         resolved.
10142
10143 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
10144
10145         [BZ #12469]
10146         * Makeconfig: Remove RANLIB definition.
10147         * Makerules: Don't use RANLIB.
10148         * aclocal.m4: Remove ranlib test.
10149         * configure.in: No need to check for ranlib.
10150         * elf/rtld-Rules: Don't use RANLIB.
10151
10152 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10153
10154         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
10155         protection macro.
10156         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
10157         inclusion protection macro.
10158
10159         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
10160         SIGRTMIN and SIGRTMAX and print information in that case only when
10161         SIGRTMIN is defined.
10162
10163 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
10164
10165         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
10166         arginfo fn returning -1.
10167
10168         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
10169         and thousands string is zero terminated.
10170
10171 2011-02-03  Andreas Schwab  <schwab@redhat.com>
10172
10173         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
10174         sysdeps/unix/sysv/linux/bits/socket.h.
10175
10176 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10177
10178         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
10179         (__CPU_COUNT): Remove old macros.
10180         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
10181         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
10182         (__CPU_ALLOC, __CPU_FREE): Add macros.
10183         (__sched_cpualloc, __sched_cpufree): Add declarations.
10184
10185 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
10186
10187         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
10188         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
10189         * nscd/aicache.c (addhstaiX): Return timeout of added value.
10190         (readdhstai): Return value of addhstaiX call.
10191         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
10192         (addgrbyX): Return value returned by cache_addgr.
10193         (readdgrbyname): Return value returned by addgrbyX.
10194         (readdgrbygid): Likewise.
10195         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
10196         (addpwbyX): Return value returned by cache_addpw.
10197         (readdpwbyname): Return value returned by addhstbyX.
10198         (readdpwbyuid): Likewise.
10199         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
10200         (addservbyX): Return value returned by cache_addserv.
10201         (readdservbyname): Return value returned by addservbyX:
10202         (readdservbyport): Likewise.
10203         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
10204         (addhstbyX): Return value returned by cache_addhst.
10205         (readdhstbyname): Return value returned by addhstbyX.
10206         (readdhstbyaddr): Likewise.
10207         (readdhstbynamev6): Likewise.
10208         (readdhstbyaddrv6): Likewise.
10209         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
10210         (readdinitgroups): Return value returned by addinitgroupsX.
10211         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
10212         (prune_cache): Keep track of timeout value of re-added entries.
10213         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
10214         * nscd/nscd.h: Adjust prototypes of readd* functions.
10215
10216 2011-02-04  Roland McGrath  <roland@redhat.com>
10217
10218         * nis/nis_server.c (nis_servstate): Use the right name for 0.
10219         (nis_stats): Likewise.
10220         * nis/nis_modify.c (nis_modify): Likewise.
10221         * nis/nis_remove.c (nis_remove): Likewise.
10222         * nis/nis_add.c (nis_add): Likewise.
10223
10224         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
10225
10226         * posix/fnmatch_loop.c: Add some consts.
10227
10228         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
10229
10230 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
10231
10232         [BZ #12460]
10233         * config.make.in (config-cflags-novzeroupper): Define.
10234         * configure.in: Substitute libc_cv_cc_novzeroupper.
10235         * elf/Makefile (AVX-CFLAGS): Define.
10236         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
10237         (CFLAGS-tst-auditmod4a.c): Likewise.
10238         (CFLAGS-tst-auditmod4b.c): Likewise.
10239         (CFLAGS-tst-auditmod6b.c): Likewise.
10240         (CFLAGS-tst-auditmod6c.c): Likewise.
10241         (CFLAGS-tst-auditmod7b.c): Likewise.
10242         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
10243
10244 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
10245
10246         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
10247         function to the callback.
10248         Patch partly by Jiri Olsa <jolsa@redhat.com>.
10249
10250 2011-02-02  Andreas Schwab  <schwab@redhat.com>
10251
10252         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
10253         of errno.
10254
10255 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
10256
10257         [BZ #11724]
10258         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
10259         of constructors.
10260         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
10261         of destructors.
10262         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
10263
10264         [BZ #11724]
10265         * elf/Makefile: Add rules to build and run new test.
10266         * elf/tst-initorder.c: New file.
10267         * elf/tst-initorder.exp: New file.
10268         * elf/tst-initordera1.c: New file.
10269         * elf/tst-initordera2.c: New file.
10270         * elf/tst-initordera3.c: New file.
10271         * elf/tst-initordera4.c: New file.
10272         * elf/tst-initorderb1.c: New file.
10273         * elf/tst-initorderb2.c: New file.
10274         * elf/tst-order-a1.c: New file.
10275         * elf/tst-order-a2.c: New file.
10276         * elf/tst-order-a3.c: New file.
10277         * elf/tst-order-a4.c: New file.
10278         * elf/tst-order-b1.c: New file.
10279         * elf/tst-order-b2.c: New file.
10280         * elf/tst-order-main.c: New file.
10281         New test case by George Gensure <werkt0@gmail.com>.
10282
10283 2010-10-01  Andreas Schwab  <schwab@redhat.com>
10284
10285         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10286         decoding ACE if AI_CANONIDN.
10287
10288 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
10289
10290         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
10291
10292 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
10293
10294         * version.h (RELEASE): Bump for 2.13 release.
10295         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
10296
10297         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
10298
10299         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
10300         MADV_NOHUGEPAGE.
10301         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
10302         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10303         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10304         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10305         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10306         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10307
10308         * posix/getconf.c: Update copyright year.
10309         * catgets/gencat.c: Likewise.
10310         * csu/version.c: Likewise.
10311         * debug/catchsegv.sh: Likewise.
10312         * debug/xtrace.sh: Likewise.
10313         * elf/ldconfig.c: Likewise.
10314         * elf/ldd.bash.in: Likewise.
10315         * elf/sprof.c (print_version): Likewise.
10316         * iconv/iconv_prog.c: Likewise.
10317         * iconv/iconvconfig.c: Likewise.
10318         * locale/programs/locale.c: Likewise.
10319         * locale/programs/localedef.c: Likewise.
10320         * malloc/memusage.sh: Likewise.
10321         * malloc/mtrace.pl: Likewise.
10322         * nscd/nscd.c (print_version): Likewise.
10323         * nss/getent.c: Likewise.
10324
10325         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
10326         PF_CAIF, and PF_ALG.
10327         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10328
10329 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
10330
10331         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
10332         (modules-names): Use them.
10333         (ifunc-test-modules, ifunc-pie-tests): Define.
10334         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
10335         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
10336         (test-extras): Likewise.
10337         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
10338         $(compile-command.c).
10339         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
10340         (all-built-dso): Define.
10341         (check-textrel.out, check-execstack.out): Depend on it.
10342
10343         * configure.in: Don't override --enable-multi-arch.
10344
10345 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
10346
10347         [BZ #6812]
10348         * nscd/hstcache.c (tryagain): Define.
10349         (cache_addhst): Return tryagain not notfound for temporary errors.
10350         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
10351         failed.
10352
10353 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
10354
10355         [BZ #10563]
10356         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
10357         to make the syscall.
10358         * sysdeps/unix/sysv/linux/setgroups.c: New file.
10359
10360         [BZ #12378]
10361         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
10362         and fall back to matching as normal character if the string ends before
10363         the matching ']' is found.  This is what POSIX requires.
10364         * posix/testfnm.c: Adjust test result.
10365         * posix/globtest.sh: Adjust test result.  Add new test.
10366         * posix/tst-fnmatch.input: Likewise.
10367         * posix/tst-fnmatch2.c: Add new test.
10368
10369 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
10370
10371         * elf/Makefile (check-execstack): Revert last change.  Depend on
10372         check-execstack.h.
10373         (check-execstack.h): New target.
10374         (generated): Add check-execstack.h.
10375         * elf/check-execstack.c: Include "check-execstack.h".
10376         (main): Revert last change.
10377         (handle_file): Return zero if GNU_STACK is absent and
10378         DEFAULT_STACK_PERMS doesn't include PF_X.
10379
10380 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
10381
10382         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
10383         in child fails because the descriptor is already closed.
10384         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
10385         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
10386         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
10387
10388         [BZ #12397]
10389         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
10390         syscall.
10391
10392         [BZ #10484]
10393         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
10394         temporary buffer used to handle multi lookups locally.
10395         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
10396
10397 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
10398
10399         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
10400         loader is ld.so.
10401
10402 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
10403
10404         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
10405         alignment for SSE2.
10406
10407 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
10408
10409         [BZ #12394]
10410         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
10411         characters.  When rounding increased number of integer digits recompute
10412         number of groups.
10413         * stdio-common/tst-grouping.c: New file.
10414         * stdio-common/Makefile: Add rules to build and run tst-grouping.
10415
10416 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
10417
10418         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
10419         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
10420
10421         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
10422         void.
10423         * bits/select.h: Likewise.
10424
10425 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
10426
10427         * po/ja.po: Update from translation team.
10428
10429 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
10430
10431         [BZ #11155]
10432         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
10433         implementation just like for lxstat, fxstatat, et al.
10434
10435 2010-12-27  Jim Meyering  <meyering@redhat.com>
10436
10437         [BZ #12348]
10438         * posix/regexec.c (build_trtable): Return failure indication upon
10439         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
10440
10441 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
10442
10443         [BZ #12201]
10444         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
10445         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
10446         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
10447         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
10448
10449         [BZ #12207]
10450         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
10451
10452         [BZ #12204]
10453         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
10454         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
10455
10456 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
10457
10458         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
10459         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
10460         script has SORT_BY_INIT_PRIORITY.
10461         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
10462         NO_CTORS_DTORS_SECTIONS is defined.
10463         * elf/soinit.c: Likewise.
10464         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
10465         NO_CTORS_DTORS_SECTIONS is defined.
10466         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
10467         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
10468         * sysdeps/sh/init-first.c: Likewise.
10469         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10470
10471 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
10472
10473         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
10474         always use the slow path.
10475
10476 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
10477
10478         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
10479         similar rule which adds the sysdep directories to the header search in
10480         order to pick up the correct platform stackinfo.h.
10481         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
10482         perform test if it is, otherwise return successfully without testing.
10483         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
10484         DEFAULT_STACK_PERMS define in stackinfo.h.
10485         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
10486         defined in stackinfo.h.
10487         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
10488         DEFAULT_STACK_PERMS defined in stackinfo.h.
10489         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
10490         * sysdeps/ia64/stackinfo.h: Likewise.
10491         * sysdeps/s390/stackinfo.h: Likewise.
10492         * sysdeps/sh/stackinfo.h: Likewise.
10493         * sysdeps/sparc/stackinfo.h: Likewise.
10494         * sysdeps/x86_64/stackinfo.h: Likewise.
10495         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
10496         PF_X for powerpc64.  Retain PF_X for powerpc32.
10497
10498 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
10499
10500         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
10501         accurately.
10502         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
10503         GETDENTS_64BIT_ALIGNED.
10504
10505 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
10506
10507         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
10508
10509 2010-12-10  Andreas Schwab  <schwab@redhat.com>
10510
10511         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
10512         _GNU_SOURCE.
10513
10514         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
10515         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
10516         Remove __restrict.
10517         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
10518         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
10519
10520 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
10521
10522         [BZ #11655]
10523         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
10524         are initialized.
10525
10526 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
10527
10528         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
10529
10530 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
10531
10532         * po/it.po: Update from translation team.
10533
10534 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
10535
10536         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
10537         unused codes.
10538
10539 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
10540
10541         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
10542
10543 2010-11-24  Andreas Schwab  <schwab@redhat.com>
10544
10545         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
10546         specially.
10547         (gaih_getanswer_slice): Likewise.
10548
10549 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
10550
10551         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
10552
10553 2010-05-31  Petr Baudis  <pasky@suse.cz>
10554
10555         [BZ #11149]
10556         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
10557         silently even in the chroot mode.
10558
10559 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
10560
10561         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
10562         last patch a bit.  Pretty printing
10563
10564 2010-05-31  Petr Baudis <pasky@suse.cz>
10565
10566         [BZ #10085]
10567         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
10568         initialization of skip_initgroups_dyn.
10569
10570 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
10571
10572         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
10573         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10574
10575 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
10576
10577         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
10578
10579 2010-11-11  Andreas Schwab  <schwab@redhat.com>
10580
10581         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
10582         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
10583         (tst-fnmatch-ENV): Set MALLOC_TRACE.
10584         ($(objpfx)tst-fnmatch-mem): New rule.
10585         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
10586         * posix/tst-fnmatch.c (main): Call mtrace.
10587
10588 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
10589
10590         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10591         Support Intel processor model 6 and model 0x2c.
10592
10593 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
10594
10595         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
10596           signed comparison.
10597
10598 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
10599
10600         [BZ #12205]
10601         * string/test-strncasecmp.c (check_result): New function.
10602         (do_one_test): Use it.
10603         (check1): New function.
10604         (test_main): Use it.
10605         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
10606         Support strcasecmp and strncasecmp.
10607
10608 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
10609
10610         [BZ #12194]
10611         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
10612         * sysdeps/x86_64/bits/byteswap.h: Likewise.
10613
10614 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
10615
10616         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
10617         IFUNC support.
10618         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10619         memset-x86-64.
10620         * sysdeps/x86_64/multiarch/bzero.S: New file.
10621         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
10622         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
10623         * sysdeps/x86_64/multiarch/memset.S: New file.
10624         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
10625         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10626         Set bit_Prefer_SSE_for_memop for Intel processors.
10627         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
10628         Define.
10629         (index_Prefer_SSE_for_memop): Define.
10630         (HAS_PREFER_SSE_FOR_MEMOP): Define.
10631
10632 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
10633
10634         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
10635         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
10636
10637 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
10638
10639         [BZ #12191]
10640         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10641         (__x86_64_raw_data_cache_size_half): Likewise.
10642         (__x86_64_raw_shared_cache_size): Likewise.
10643         (__x86_64_raw_shared_cache_size_half): Likewise.
10644
10645         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10646         (__x86_64_raw_data_cache_size_half): Likewise.
10647         (__x86_64_raw_shared_cache_size): Likewise.
10648         (__x86_64_raw_shared_cache_size_half): Likewise.
10649         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
10650         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
10651         and __x86_64_raw_shared_cache_size_half.  Round
10652         __x86_64_data_cache_size_half, __x86_64_data_cache_size
10653         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
10654         to multiple of 256 bytes.
10655
10656 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
10657
10658         [BZ #12167]
10659         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
10660         of inacessible symlinks.  Verify result of symlink before returning it.
10661         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10662         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
10663
10664 2010-10-28  Erich Ritz  <erichritz@gmail.com>
10665
10666         * math/math.h (isinf): Fix typo in comment.
10667
10668 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
10669
10670         * po/da.po: Update from translation team.
10671
10672 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
10673
10674         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
10675         is added to the list.
10676
10677 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10678             Ulrich Drepper  <drepper@gmail.com>
10679
10680         * elf/dl-object.c (_dl_new_object): Don't append the new object to
10681         the global list here.  Move code to...
10682         (_dl_add_to_namespace_list): ...here.  New function.
10683         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
10684         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
10685         * elf/dl-load.c (lose): Don't remove the element from the list.
10686         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
10687         (_dl_map_object): Likewise.
10688
10689 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
10690
10691         [BZ #12159]
10692         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
10693         into all bytes of SSE register.
10694         Patch by Richard Li <richardpku@gmail.com>.
10695
10696 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
10697
10698         [BZ #12140]
10699         * malloc/malloc.c (_int_free): Fill correct number of bytes when
10700         perturbing.
10701
10702 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
10703
10704         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
10705         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
10706         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
10707         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
10709         submachine.
10710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10711
10712 2010-10-22  Andreas Schwab  <schwab@redhat.com>
10713
10714         * include/dlfcn.h (__RTLD_SECURE): Define.
10715         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
10716         mode & __RTLD_SECURE instead.
10717         (open_path): Rename preloaded parameter to secure.
10718         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10719         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10720         * elf/dl-deps.c (openaux): Likewise.
10721         * elf/rtld.c (struct map_args): Remove is_preloaded.
10722         (map_doit): Don't use it.
10723         (dl_main): Likewise.
10724         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10725         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10726
10727 2010-09-09  Andreas Schwab  <schwab@redhat.com>
10728
10729         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10730         (sysd-rules-targets): Remove duplicates.
10731         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10732         rtld-%.$o dependency.
10733
10734 2010-10-18  Andreas Schwab  <schwab@redhat.com>
10735
10736         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10737         _dl_map_object do it.
10738
10739 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
10740
10741         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10742         fast fma builtins, define the macros in the C99 standard.
10743         (FP_FAST_FMAF): Likewise.
10744         (FP_FAST_FMAL): Likewise.
10745         * sysdeps/x86_64/bits/mathdef.h: Likewise.
10746
10747         * bits/mathdef.h: Update copyright year.
10748         * sysdeps/powerpc/bits/mathdef.h: Likewise.
10749
10750 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
10751
10752         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10753         builtins, define the macros in the C99 standard.
10754         (FP_FAST_FMAF): Likewise.
10755         (FP_FAST_FMAL): Likewise.
10756         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10757         multiply/add.
10758         (FP_FAST_FMAF): Likewise.
10759
10760 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
10761
10762         [BZ #3268]
10763         * math/libm-test.inc (fma_test): Some new testcases.
10764         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10765         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10766         y and infinite z.  Do multiplication by C already in long double.
10767         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10768         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10769         y and infinite z.  Do bitwise or of inexact bit into u.d.
10770         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10771         * sysdeps/i386/fpu/s_fmaf.S: Removed.
10772         * sysdeps/i386/fpu/s_fma.S: Removed.
10773         * sysdeps/i386/fpu/s_fmal.S: Removed.
10774
10775 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
10776
10777         [BZ #3268]
10778         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10779         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10780         computation is not scheduled after fetestexcept.  Fix value
10781         of minimum denormal long double.
10782
10783 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
10784
10785         [BZ #3268]
10786         * math/libm-test.inc (fma_test): Add some more tests.
10787         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10788         correctly.
10789
10790 2010-10-15  Andreas Schwab  <schwab@redhat.com>
10791
10792         * scripts/data/localplt-s390-linux-gnu.data: New file.
10793         * scripts/data/localplt-s390x-linux-gnu.data: New file.
10794
10795 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
10796
10797         [BZ #3268]
10798         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10799         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10800         instead of dbl-64.
10801         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10802         inlines.
10803         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10804         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10805         if one of x and y is very large and the other is subnormal.
10806         * sysdeps/s390/fpu/s_fmaf.c: New file.
10807         * sysdeps/s390/fpu/s_fma.c: New file.
10808         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10809         * sysdeps/powerpc/fpu/s_fma.S: New file.
10810         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10811         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10812         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10813
10814 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
10815
10816         [BZ #3268]
10817         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10818         fma tests.
10819         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10820         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10821         * sysdeps/i386/i686/multiarch/s_fma.c: Include
10822         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10823         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10824         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10825         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10826
10827 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
10828
10829         [BZ #12078]
10830         * posix/regcomp.c (parse_branch): One more memory leak plugged.
10831         * posix/bug-regex31.input: Add test case.
10832
10833 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
10834
10835         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10836         * posix/bug-regex31.input: New file.
10837
10838         [BZ #12078]
10839         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10840         (parse_sub_exp): Fix last change, use postorder.
10841
10842         * posix/bug-regex31.c: New file.
10843         * posix/Makefile: Add rules to build and run bug-regex31.
10844
10845         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10846
10847         [BZ #12078]
10848         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10849
10850         [BZ #12108]
10851         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10852         to have entries in sys_siglist.
10853
10854         [BZ #12093]
10855         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10856         be NULL.
10857
10858 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
10859
10860         [BZ #3268]
10861         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10862         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10863         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10864         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10865         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10866         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10867         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10868         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10869         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10870         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10871         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10872         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10873         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10874         * math/ftestexcept.c (fetestexcept): Likewise.
10875         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10876         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10877         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10878         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10879         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10880         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10881         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10882
10883 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
10884
10885         [BZ #12107]
10886         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10887         newline.
10888
10889 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
10890
10891         * string/bug-strstr1.c: New file.
10892         * string/Makefile: Add rules to build and run bug-strstr1.
10893
10894 2010-10-05  Eric Blake  <eblake@redhat.com>
10895
10896         [BZ #12092]
10897         * string/str-two-way.h (two_way_long_needle): Always clear memory
10898         when skipping input due to the shift table.
10899
10900 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
10901
10902         [BZ #12005]
10903         * malloc/mcheck.c: Handle large requests.
10904
10905         [BZ #12077]
10906         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10907         for strncmp and strncasecmp.
10908         * string/stratcliff.c: Add tests for strcmp and strncmp.
10909         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10910
10911 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
10912
10913         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10914         __set_fpscr.
10915
10916 2010-09-30  Andreas Jaeger  <aj@suse.de>
10917
10918         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10919         (CGROUP_SUPER_MAGIC): Define.
10920         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10921         Handle btrfs and cgroup file systems.
10922         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10923         Likewise.
10924
10925 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
10926
10927         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10928         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10929
10930 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10931
10932         [BZ #12067]
10933         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10934         trying to locate the ELF header.
10935
10936 2010-09-27  Andreas Schwab  <schwab@redhat.com>
10937
10938         [BZ #11611]
10939         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10940         Mask out sign-bit copies when constructing f_fsid.
10941
10942 2010-09-24  Petr Baudis <pasky@suse.cz>
10943
10944         * debug/stack_chk_fail_local.c: Add missing licence exception.
10945         * debug/warning-nop.c: Likewise.
10946
10947 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
10948
10949         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10950         implementing getdents64 using getdents syscall, set d_type if
10951         __ASSUME_GETDENTS32_D_TYPE.
10952
10953 2010-09-16  Andreas Schwab  <schwab@redhat.com>
10954
10955         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10956         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10957
10958 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
10959
10960         [BZ #12037]
10961         * posix/unistd.h: Undo change of feature selection for ftruncate from
10962         2010-01-11.
10963
10964 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
10965
10966         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
10967         detection.
10968
10969 2010-09-20  Andreas Schwab  <schwab@redhat.com>
10970
10971         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10972         fanotify_mark.
10973         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10974
10975 2010-09-14  Andreas Schwab  <schwab@redhat.com>
10976
10977         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
10978         variables after CHECK_SP call.
10979         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
10980
10981 2010-09-13  Andreas Schwab  <schwab@redhat.com>
10982             Ulrich Drepper  <drepper@redhat.com>
10983
10984         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
10985         re-relocationg ld.so.
10986         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
10987         _dl_init_paths call.
10988         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
10989         here anymore.
10990
10991 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
10992
10993         * resolv/res_init.c (__res_vinit): Count the default server we added.
10994
10995 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
10996             Ulrich Drepper  <drepper@redhat.com>
10997
10998         [BZ #11968]
10999         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11000         (____longjmp_chk): Use %ebx for saving value across system call.
11001         Add unwind info.
11002
11003 2010-09-06  Andreas Schwab  <schwab@redhat.com>
11004
11005         * manual/Makefile: Don't mix pattern rules with normal rules.
11006
11007 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
11008
11009         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
11010         operation.
11011         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
11012         * libio/iofopncook.c (_IO_cookie_init): Likewise.
11013         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
11014         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11015         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11016         Likewise.
11017
11018 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
11019
11020         [BZ #11979]
11021         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
11022         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
11023
11024 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
11025
11026         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
11027         * sysdeps/x86_64/addmul_1.S: Likewise.
11028         * sysdeps/x86_64/lshift.S: Likewise.
11029         * sysdeps/x86_64/mul_1.S: Likewise.
11030         * sysdeps/x86_64/rshift.S: Likewise.
11031         * sysdeps/x86_64/sub_n.S: Likewise.
11032         * sysdeps/x86_64/submul_1.S: Likewise.
11033
11034 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11035
11036         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
11037         Define __sched_param instead of SCHED_* and sched_param when
11038         <bits/sched.h> is included with __need_schedparam defined.
11039         * bits/sched.h [__need_schedparam]
11040         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
11041         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
11042         (__defined_schedparam): Define to 1.
11043         (__sched_param): New structure, identical to sched_param.
11044         (__need_schedparam): Undefine.
11045
11046 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
11047
11048         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
11049         (epoll_create1): Declare.
11050
11051         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
11052
11053 2010-08-31  Andreas Schwab  <schwab@redhat.com>
11054
11055         [BZ #7066]
11056         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
11057         shifting retval into place.
11058
11059 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
11060
11061         * nis/rpcsvc/nis.h: Update copyright notice.
11062         * nis/rpcsvc/nis.x: Likewise.
11063         * nis/rpcsvc/nis_callback.h: Likewise.
11064         * nis/rpcsvc/nis_callback.x: Likewise.
11065         * nis/rpcsvc/nis_object.x: Likewise.
11066         * nis/rpcsvc/nis_tags.h: Likewise.
11067         * nis/rpcsvc/yp.h: Likewise.
11068         * nis/rpcsvc/yp.x: Likewise.
11069         * nis/rpcsvc/ypupd.h: Likewise.
11070         * nis/yp_xdr.c: Likewise.
11071         * nis/ypupdate_xdr.c: Likewise.
11072
11073         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
11074         mainly the body of pmap_getport.  Add parameters to specify timeouts.
11075         (pmap_getport): Use __libc_rpc_getport.
11076         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
11077         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
11078         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
11079
11080 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
11081
11082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
11083         fanotify_mark.
11084
11085 2010-08-27  Roland McGrath  <roland@redhat.com>
11086
11087         * sysdeps/i386/i686/multiarch/Makefile
11088         (CFLAGS-varshift.c): New variable.
11089
11090 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
11091
11092         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
11093         * sysdeps/i386/i686/multiarch/varshift.c: New file.
11094
11095         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
11096
11097         * sysdeps/x86_64/strlen.S: Minimal code improvement.
11098
11099 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
11100
11101         * sysdeps/x86_64/strlen.S: Unroll the loop.
11102         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11103         strlen-sse2 strlen-sse2-bsf.
11104         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
11105         __strlen_no_bsf if bit_Slow_BSF is set.
11106         (__strlen_sse42): Removed.
11107         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
11108         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
11109
11110 2010-08-25  Roland McGrath  <roland@redhat.com>
11111
11112         * sysdeps/x86_64/multiarch/varshift.S: File removed.
11113         * sysdeps/x86_64/multiarch/varshift.c: New file.
11114         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
11115         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
11116         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
11117         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11118
11119 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
11120
11121         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11122         strlen-sse2 strlen-sse2-bsf.
11123         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
11124         __strlen_sse2_bsf if bit_Slow_BSF is unset.
11125         (__strlen_sse2): Removed.
11126         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
11127         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
11128         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11129         bit_Slow_BSF for Atom.
11130         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
11131         (index_Slow_BSF): Define.
11132         (HAS_SLOW_BSF): Define.
11133
11134 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
11135
11136         [BZ #10851]
11137         * resolv/res_init.c (__res_vinit): When no server address at all
11138         is given default to loopback.
11139
11140 2010-08-24  Roland McGrath  <roland@redhat.com>
11141
11142         * configure.in: Remove config-name.h generation.
11143         * configure: Regenerated.
11144         * config-name.in: File removed.
11145         * scripts/config-uname.sh: New file.
11146         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
11147         ($(objdir)config-name.h): New target.
11148
11149         * sunrpc/rpc_parse.h: Avoid nested comment.
11150
11151 2010-08-24  Richard Henderson  <rth@redhat.com>
11152             Ulrich Drepper  <drepper@redhat.com>
11153             H.J. Lu  <hongjiu.lu@intel.com>
11154
11155         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
11156         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
11157         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
11158         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
11159         _mm_alignr_epi8 with _mm_loadu_si128.
11160         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
11161         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
11162         (__m128i_shift_right): Removed.
11163         * sysdeps/i386/i686/multiarch/varshift.h: New file.
11164         * sysdeps/i386/i686/multiarch/varshift.S: New file.
11165         * sysdeps/x86_64/multiarch/varshift.h: New file.
11166         * sysdeps/x86_64/multiarch/varshift.S: New file.
11167
11168 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
11169
11170         * configure.in: Move assembler checks to before sysdep dir checking.
11171
11172 2010-08-20  Petr Baudis  <pasky@suse.cz>
11173
11174         * LICENSES: Sync the sunrpc license.
11175
11176 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
11177
11178         * sunrpc/auth_des.c: Update copyright notice once again.
11179         * sunrpc/auth_none.c: Likewise.
11180         * sunrpc/auth_unix.c: Likewise.
11181         * sunrpc/authdes_prot.c: Likewise.
11182         * sunrpc/authuxprot.c: Likewise.
11183         * sunrpc/bindrsvprt.c: Likewise.
11184         * sunrpc/clnt_gen.c: Likewise.
11185         * sunrpc/clnt_perr.c: Likewise.
11186         * sunrpc/clnt_raw.c: Likewise.
11187         * sunrpc/clnt_simp.c: Likewise.
11188         * sunrpc/clnt_tcp.c: Likewise.
11189         * sunrpc/clnt_udp.c: Likewise.
11190         * sunrpc/clnt_unix.c: Likewise.
11191         * sunrpc/des_crypt.c: Likewise.
11192         * sunrpc/des_soft.c: Likewise.
11193         * sunrpc/get_myaddr.c: Likewise.
11194         * sunrpc/getrpcport.c: Likewise.
11195         * sunrpc/key_call.c: Likewise.
11196         * sunrpc/key_prot.c: Likewise.
11197         * sunrpc/openchild.c: Likewise.
11198         * sunrpc/pm_getmaps.c: Likewise.
11199         * sunrpc/pm_getport.c: Likewise.
11200         * sunrpc/pmap_clnt.c: Likewise.
11201         * sunrpc/pmap_prot.c: Likewise.
11202         * sunrpc/pmap_prot2.c: Likewise.
11203         * sunrpc/pmap_rmt.c: Likewise.
11204         * sunrpc/rpc/auth.h: Likewise.
11205         * sunrpc/rpc/auth_unix.h: Likewise.
11206         * sunrpc/rpc/clnt.h: Likewise.
11207         * sunrpc/rpc/des_crypt.h: Likewise.
11208         * sunrpc/rpc/key_prot.h: Likewise.
11209         * sunrpc/rpc/netdb.h: Likewise.
11210         * sunrpc/rpc/pmap_clnt.h: Likewise.
11211         * sunrpc/rpc/pmap_prot.h: Likewise.
11212         * sunrpc/rpc/pmap_rmt.h: Likewise.
11213         * sunrpc/rpc/rpc.h: Likewise.
11214         * sunrpc/rpc/rpc_des.h: Likewise.
11215         * sunrpc/rpc/rpc_msg.h: Likewise.
11216         * sunrpc/rpc/svc.h: Likewise.
11217         * sunrpc/rpc/svc_auth.h: Likewise.
11218         * sunrpc/rpc/types.h: Likewise.
11219         * sunrpc/rpc/xdr.h: Likewise.
11220         * sunrpc/rpc_clntout.c: Likewise.
11221         * sunrpc/rpc_cmsg.c: Likewise.
11222         * sunrpc/rpc_common.c: Likewise.
11223         * sunrpc/rpc_cout.c: Likewise.
11224         * sunrpc/rpc_dtable.c: Likewise.
11225         * sunrpc/rpc_hout.c: Likewise.
11226         * sunrpc/rpc_main.c: Likewise.
11227         * sunrpc/rpc_parse.c: Likewise.
11228         * sunrpc/rpc_parse.h: Likewise.
11229         * sunrpc/rpc_prot.c: Likewise.
11230         * sunrpc/rpc_sample.c: Likewise.
11231         * sunrpc/rpc_scan.c: Likewise.
11232         * sunrpc/rpc_scan.h: Likewise.
11233         * sunrpc/rpc_svcout.c: Likewise.
11234         * sunrpc/rpc_tblout.c: Likewise.
11235         * sunrpc/rpc_util.c: Likewise.
11236         * sunrpc/rpc_util.h: Likewise.
11237         * sunrpc/rpcinfo.c: Likewise.
11238         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
11239         * sunrpc/rpcsvc/key_prot.x: Likewise.
11240         * sunrpc/rpcsvc/klm_prot.x: Likewise.
11241         * sunrpc/rpcsvc/mount.x: Likewise.
11242         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
11243         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
11244         * sunrpc/rpcsvc/rex.x: Likewise.
11245         * sunrpc/rpcsvc/rstat.x: Likewise.
11246         * sunrpc/rpcsvc/rusers.x: Likewise.
11247         * sunrpc/rpcsvc/sm_inter.x: Likewise.
11248         * sunrpc/rpcsvc/spray.x: Likewise.
11249         * sunrpc/rpcsvc/yppasswd.x: Likewise.
11250         * sunrpc/rtime.c: Likewise.
11251         * sunrpc/svc.c: Likewise.
11252         * sunrpc/svc_auth.c: Likewise.
11253         * sunrpc/svc_authux.c: Likewise.
11254         * sunrpc/svc_raw.c: Likewise.
11255         * sunrpc/svc_run.c: Likewise.
11256         * sunrpc/svc_simple.c: Likewise.
11257         * sunrpc/svc_tcp.c: Likewise.
11258         * sunrpc/svc_udp.c: Likewise.
11259         * sunrpc/svc_unix.c: Likewise.
11260         * sunrpc/svcauth_des.c: Likewise.
11261         * sunrpc/xcrypt.c: Likewise.
11262         * sunrpc/xdr.c: Likewise.
11263         * sunrpc/xdr_array.c: Likewise.
11264         * sunrpc/xdr_float.c: Likewise.
11265         * sunrpc/xdr_mem.c: Likewise.
11266         * sunrpc/xdr_rec.c: Likewise.
11267         * sunrpc/xdr_ref.c: Likewise.
11268         * sunrpc/xdr_sizeof.c: Likewise.
11269         * sunrpc/xdr_stdio.c: Likewise.
11270
11271         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
11272         handling.
11273
11274 2010-08-19  Andreas Schwab  <schwab@redhat.com>
11275
11276         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
11277
11278 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
11279
11280         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
11281         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
11282         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
11283         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
11284         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
11285         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
11286         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
11287         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
11288         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
11289         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
11290         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
11291         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
11292         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
11293         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
11294
11295 2010-07-26  Anton Blanchard  <anton@samba.org>
11296
11297         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
11298         * malloc/arena.c (heap_trim): Likewise.
11299
11300 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
11301
11302         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
11303         here.  Not...
11304         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
11305         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
11306
11307 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
11308
11309         * sysdeps/i386/elf/Makefile: New file.
11310
11311 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
11312
11313         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
11314         from fanotify_init.
11315         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
11316         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11317
11318 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
11319
11320         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
11321         of strncasecmp_l.
11322         * sysdeps/multiarch/strcmp.S: Likewise.
11323
11324 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
11325
11326         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11327         strncase_l-nonascii.
11328         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11329         Add strncase_l-ssse3.
11330         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
11331         * sysdeps/x86_64/strcmp.S: Likewise.
11332         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
11333         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
11334         * sysdeps/x86_64/strncase.S: New file.
11335         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
11336         * sysdeps/x86_64/strncase_l.S: New file.
11337         * string/Makefile (strop-tests): Add strncasecmp.
11338         * string/test-strncasecmp.c: New file.
11339
11340         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
11341         warning.
11342
11343         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
11344         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
11345
11346 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
11347
11348         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
11349
11350 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
11351
11352         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
11353         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11354         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11355
11356 2010-05-01  Alan Modra  <amodra@gmail.com>
11357
11358         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
11359         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
11360         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
11361         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
11362         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
11363         tidying.  Don't tail-call __sigjmp_save for static lib.
11364         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
11365         save location.
11366         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
11367         (CALL_MCOUNT): Add eh info, and nop after bl.
11368         (TAIL_CALL_SYSCALL_ERROR): New macro.
11369         (PSEUDO_RET): Use it.
11370         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11371         Correct save location of integer regs and cr.
11372         (_dl_profile_resolve): Correct cr save location.  Delete nops
11373         after bl when SHARED.  Reduce cfi size a little by better
11374         placement of cfi directives.
11375         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
11376         make a stack frame.  Instead use parm save area as a temp.
11377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
11378         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
11379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11380         Don't make a stack frame for parent, use parm save area.
11381         Increase child stack frame to 112 bytes.  Don't save unused reg,
11382         and adjust reg usage.  Set up cfi on error recovery and
11383         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
11384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11385         (__makecontext): Add dummy nop after jump to exit.
11386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
11387         Use correct parm save area and cr save, reduce stack frame.
11388         Correct cfi for possible PSEUDO_RET frame setup.
11389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
11390         Branch to local label emitted by PSEUDO_RET rather than
11391         __syscall_error.
11392
11393 2010-08-12  Andreas Schwab  <schwab@redhat.com>
11394
11395         [BZ #11904]
11396         * locale/programs/locale.c (print_assignment): New function.
11397         (show_locale_vars): Use it.
11398
11399 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
11400
11401         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
11402         field.
11403         (struct statfs64): Likewise.
11404         (_STATFS_F_FLAGS): Define.
11405         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
11406         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11407         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
11408         (ST_VALID): Define locally.
11409         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
11410         __statvfs_getflags, use the provided value.
11411         * sysdeps/unix/sysv/linux/kernel-features.h: Define
11412         __ASSUME_STATFS_F_FLAGS.
11413
11414         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
11415
11416         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
11417         Add sys/fanotify.h.
11418         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
11419         fanotify_mask for GLIBC_2.13.
11420         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
11421         fanotify_init and fanotify_mark.
11422         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11423         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
11424
11425         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
11426         Add prlimit.
11427         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
11428         prlimit64 for GLIBC_2.13.
11429         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
11430         prlimit64.
11431         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
11432         syscall.
11433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11434         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11435         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
11436         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
11437         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
11438         add prlimit alias.
11439         * sysdeps/unix/sysv/linux/prlimit.c: New file.
11440
11441         [BZ #11903]
11442         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
11443         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
11444
11445         * nss/Makefile: Add rules to build and run tst-nss-test1.
11446         * shlib-versions: Add entry for libnss_test1.
11447         * nss/nss_test1.c: New file.
11448         * nss/tst-nss-test1.c: New file.
11449
11450         * nss/nsswitch.c (__nss_database_custom): Define new variable.
11451         (__nss_configure_lookup): Set appropriate entry in
11452         __nss_configure_lookup to true.
11453         * nss/nsswitch.h: Define enum with indeces of databases in
11454         databases and __nss_database_custom arrays.  Declare
11455         __nss_database_custom.
11456         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
11457         to avoid using nscd when custom rules are installed.
11458         * nss/getXXbyYY_r.c: Likewise.
11459         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11460
11461         * nss/nss_files/files-parse.c: Whitespace fixes.
11462
11463 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
11464
11465         [BZ #11883]
11466         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
11467         * posix/fnmatch_loop.c: Likewise.
11468
11469 2010-07-17  Andi Kleen  <ak@linux.intel.com>
11470
11471         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
11472         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
11473         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
11474         * Versions.def [GLIBC_2.13]: Add.
11475
11476 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
11477
11478         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11479         Also fail if tpwd after pwuid call is NULL.
11480
11481 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11482
11483         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
11484         when converting to ms.
11485
11486 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11487
11488         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
11489         EOPNOTSUPP errors with ENOTTY.
11490         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
11491         EOPNOTSUPP errors with ENOTTY.
11492
11493 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
11494
11495         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11496         Add strcasecmp_l-ssse3.
11497         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
11498         strcasecmp.
11499         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
11500         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
11501         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
11502
11503 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
11504
11505         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
11506
11507         * string/Makefile (strop-tests): Add strcasecmp.
11508         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11509         strcasecmp_l-nonascii.
11510         (gen-as-const-headers): Add locale-defines.sym.
11511         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
11512         * sysdeps/x86_64/strcasecmp.S: New file.
11513         * sysdeps/x86_64/strcasecmp_l.S: New file.
11514         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
11515         * sysdeps/x86_64/locale-defines.sym: New file.
11516         * string/test-strcasecmp.c: New file.
11517
11518         * string/test-strcasestr.c: Test both ends of the range of characters.
11519         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
11520
11521 2010-07-29  Roland McGrath  <roland@redhat.com>
11522
11523         [BZ #11856]
11524         * manual/locale.texi (Yes-or-No Questions): Fix example code.
11525
11526 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
11527
11528         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
11529         for ld.so.
11530
11531 2010-07-27  Andreas Schwab  <schwab@redhat.com>
11532
11533         * manual/memory.texi (Malloc Tunable Parameters): Document
11534         M_PERTURB.
11535
11536 2010-07-26  Roland McGrath  <roland@redhat.com>
11537
11538         [BZ #11840]
11539         * configure.in (-fgnu89-inline check): Set and substitute
11540         gnu89_inline, not libc_cv_gnu89_inline.
11541         * configure: Regenerated.
11542         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
11543
11544 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
11545
11546         * string/test-strnlen.c: New file.
11547         * string/Makefile (strop-tests): Add strnlen.
11548         * string/tester.c (test_strnlen): Add a few more test cases.
11549         * string/tst-strlen.c: Better error reporting.
11550
11551         * sysdeps/x86_64/strnlen.S: New file.
11552
11553 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
11554
11555         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
11556         lower-latency instructions.
11557
11558 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
11559
11560         * string/test-strcasestr.c: New file.
11561         * string/test-strstr.c: New file.
11562         * string/Makefile (strop-tests): Add strstr and strcasestr.
11563         * string/str-two-way.h: Don't undefine MAX.
11564         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
11565
11566 2010-07-21  Andreas Schwab  <schwab@redhat.com>
11567
11568         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11569         strcasestr-nonascii.
11570         (CFLAGS-strcasestr-nonascii.c): Define.
11571         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
11572         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
11573         Remove unused attribute.
11574
11575 2010-07-20  Roland McGrath  <roland@redhat.com>
11576
11577         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
11578         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
11579         ld.so.cache was broken.  With it, there is no way to disable dsocaps
11580         like LD_HWCAP_MASK can disable hwcaps.
11581
11582 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
11583
11584         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
11585
11586 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
11587
11588         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
11589         call in strcasestr.
11590         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
11591         __strcasestr_sse42_nonascii.
11592         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
11593         strcasestr-nonascii.c.
11594         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
11595
11596 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
11597
11598         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
11599         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
11600         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
11601         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
11602
11603 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
11604
11605         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
11606         fcntl.
11607
11608 2010-07-06  Andreas Schwab  <schwab@redhat.com>
11609
11610         [BZ #11577]
11611         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
11612         dl_signal_cerror.
11613
11614 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
11615
11616         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
11617         _PC_PIPE_BUF using F_GETPIPE_SZ.
11618
11619 2010-07-05  Roland McGrath  <roland@redhat.com>
11620
11621         * manual/arith.texi (Rounding Functions): Fix rint description
11622         implicit in round description.
11623
11624 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
11625
11626         * elf/Makefile: Fix linking for a few tests to make recent linker
11627         happy.
11628
11629 2010-06-30  Andreas Schwab  <schwab@redhat.com>
11630
11631         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11632         $(common-objpfx)libc_nonshared.a.
11633
11634 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
11635
11636         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
11637         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
11638         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11639         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11640         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
11641         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
11642         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11643         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
11645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
11646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
11647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
11649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
11651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
11652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
11653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
11654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
11656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
11658         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
11659         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
11660         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
11661         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
11662         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
11663         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
11664         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
11665         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
11666         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
11667         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
11668         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
11669         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
11670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
11671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
11672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
11673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
11674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
11675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
11676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
11677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
11678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
11679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
11680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
11681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
11682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
11683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
11684
11685 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
11686
11687         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
11688         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
11689         * string/memmove.c (memmove): Renamed to ...
11690         (MEMMOVE): ...this.  Default to memmove.
11691         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
11692         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
11693         (END_CHK): Define.
11694         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11695         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
11696         mempcpy-ssse3-back memmove-ssse3-back.
11697         * sysdeps/x86_64/multiarch/bcopy.S: New file .
11698         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
11699         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
11700         * sysdeps/x86_64/multiarch/memcpy.S: New file.
11701         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
11702         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
11703         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
11704         * sysdeps/x86_64/multiarch/memmove.c: New file.
11705         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
11706         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
11707         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
11708         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
11709         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
11710         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
11711         Define.
11712         (index_Fast_Copy_Backward): Define.
11713         (HAS_ARCH_FEATURE): Define.
11714         (HAS_FAST_REP_STRING): Define.
11715         (HAS_FAST_COPY_BACKWARD): Define.
11716
11717 2010-06-21  Andreas Schwab  <schwab@redhat.com>
11718
11719         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11720         Restore proper fallback handling.
11721
11722 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
11723
11724         [BZ #11701]
11725         * posix/group_member.c (__group_member): Correct checking loop.
11726
11727         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11728         OOM in getpwuid_r correctly.  Return error number when the caller
11729         should return, otherwise -1.
11730         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11731         call returning > 0 value.
11732         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11733
11734 2010-06-07  Andreas Schwab  <schwab@redhat.com>
11735
11736         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11737         libc_nonshared.a from targets in modules-names.
11738
11739 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
11740
11741         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11742         requires it.
11743
11744 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
11745
11746         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11747         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11748         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11749         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11750
11751 2010-06-02  Andreas Schwab  <schwab@redhat.com>
11752
11753         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11754
11755 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
11756
11757         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11758         and F_GETPIPE_SZ.
11759         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11760         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11761         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11762         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11763         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11764         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11765
11766 2010-06-14  Roland McGrath  <roland@redhat.com>
11767
11768         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11769
11770 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
11771
11772         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11773         __REDIRECT followed by __THROW.
11774         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11775         * posix/getopt.h (getopt): Likewise.
11776
11777 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
11778
11779         * hurd/lookup-at.c (__file_name_lookup_at): Accept
11780         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
11781         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11782         in AT_FLAGS.
11783         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11784         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11785
11786 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
11787
11788         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11789
11790 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
11791
11792         [BZ #11640]
11793         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11794         Properly check family and model.
11795
11796 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
11797
11798         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11799
11800 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
11801
11802         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11803
11804 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
11805
11806         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11807         symbol reference.
11808
11809 2010-05-19  Andreas Schwab  <schwab@redhat.com>
11810
11811         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11812         symbol reference.
11813
11814 2010-05-21  Andreas Schwab  <schwab@redhat.com>
11815
11816         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11817         and internal_recvmmsg.
11818         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11819         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11820         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11821         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11822
11823         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11824         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11825         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11826
11827 2010-05-20  Andreas Schwab  <schwab@redhat.com>
11828
11829         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11830
11831 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
11832
11833         POWER7 optimizations.
11834         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11835         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11836
11837 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
11838
11839         * version.h: Update for 2.13 development version.
11840
11841 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
11842
11843         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11844         exceptions.  Return 0.
11845
11846 2010-05-07  Roland McGrath  <roland@redhat.com>
11847
11848         * elf/ldconfig.c (main): Add a const.
11849
11850 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
11851
11852         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11853         (args_options): Add no-idn option.
11854         (ahosts_keys_int): Add idn_flags to ai_flags.
11855         (parse_option): Handle 'i' option to clear idn_flags.
11856
11857         * malloc/malloc.c (_int_free): Possible race in the most recently
11858         added check.  Only act on the data if no current modification
11859         happened.
11860
11861 See ChangeLog.17 for earlier changes.