Correct powerpc64 s_floorl edge cases (bug 13886).
[platform/upstream/glibc.git] / ChangeLog
1 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2
3         [BZ #13886]
4         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
5         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
6         * math/libm-test.inc (floor_test): Add more tests.
7         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
8
9 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
10
11         * sysdeps/unix/getdents.c: Remove file.
12         * sysdeps/unix/sysv/getdents.c: Likewise.
13         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
14
15         * sysdeps/unix/syscalls.list (madvise): Add syscall from
16         sysdeps/unix/mman/syscalls.list.
17         (mmap): Likewise.
18         (mprotect): Likewise.
19         (msync): Likewise.
20         (munmap): Likewise.
21         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
22         * sysdeps/unix/mman/syscalls.list: Remove.
23         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
24
25         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
27         * configure: Regenerated.
28         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
29         $(libgcc_s_suffix).
30         * config.make.in (libgcc_s_suffix): Remove variable.
31
32 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
33
34         * sysdeps/unix/sysv/gethostname.c: Move to ...
35         * sysdeps/posix/gethostname.c: ... here.
36
37         * sysdeps/unix/execve.S: Remove file.
38
39         * sysdeps/unix/_exit.S: Remove file.
40
41 2012-04-23  Andreas Jaeger  <aj@suse.de>
42
43         [BZ #13739]
44         * manual/Makefile: Remove make dist support, there's no
45         need for a stand-alone documentation tar ball.
46         (TEXI2DVI): Define always, it's not in Makeconfig.
47         (dist): Removed.
48         (tar-it): Removed.
49         (edition): Removed.
50         (glibc-doc-$(edition).tar): Removed
51         (%.Z): Removed.
52         (%.gz): Removed.
53         (%.uu): Removed.
54         (ETAGS): Remove, it's in Makeconfig.
55         (move-if-change): Remove, it's in Makeconfig.
56
57 2013-04-23  Paul Eggert  <eggert@cs.ucla.edu>
58
59         [BZ #13970]
60         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
61         (strtod, strtof, strtold, strtol, strtoul, strtoq)
62         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
63         (strtod_l, strtof_l, strtold_l): Remove __wur.
64         It is not necessarily an error to ignore strtol's return value.
65         One can reliably look at the stored endptr to decide whether
66         the number had valid syntax.
67
68 2012-04-21  Andreas Jaeger  <aj@suse.de>
69
70         [BZ #13739]
71         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
72
73 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
74
75         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
76         * sysdeps/unix/sysv/Versions: Remove file.
77
78 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
79
80         [BZ #13927]
81         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
82
83 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
84
85         [BZ #7064]
86         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
87         version from __vm86.
88
89 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
90
91         * sysdeps/unix/common/lxstat.c: Remove file.
92         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
93
94         * sysdeps/unix/sysv/Makefile: Remove file.
95
96         * sysdeps/unix/sysv/direct.h: Remove file.
97
98         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
99         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
100         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
101         * sysdeps/unix/sysv/bits/signum.h: Likewise.
102         * sysdeps/unix/sysv/bits/stat.h: Likewise.
103         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
104         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
105
106         * sysdeps/unix/sysv/setrlimit.c: Remove file.
107
108         * sysdeps/unix/xmknod.c: Remove file.
109         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
110
111         * sysdeps/unix/sysv/settimeofday.c: Remove file.
112
113         * sysdeps/unix/sysv/i386/time.S: Remove file.
114
115         * sysdeps/unix/fxstat.c: Remove file.
116         * sysdeps/unix/xstat.c: Likewise.
117         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
118
119         * sysdeps/unix/sysv/sigaction.c: Remove file.
120
121         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
122         (sysdep_headers): Remove variable.
123         [termio.h not in sysdep_headers] (generated): Likewise.
124         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
125         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
126         * sysdeps/unix/sysv/tcdrain.c: Likewise.
127         * sysdeps/unix/sysv/tcflow.c: Likewise.
128         * sysdeps/unix/sysv/tcflush.c: Likewise.
129         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
130         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
131         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
132         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
133         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
134
135         * sysdeps/unix/siglist.c: Remove file.
136
137         * sysdeps/unix/getppid.S: Remove file.
138
139         * sysdeps/unix/mkdir.c: Remove file.
140         * sysdeps/unix/rmdir.c: Likewise.
141
142 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
143
144         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
145         ERR_MAX value.
146         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
147         errlist-compat value.
148
149 2012-04-18  David S. Miller  <davem@davemloft.net>
150
151         * sysdeps/generic/memcopy.h (reg_char): Delete.
152         * debug/strcat_chk.c: Use char, not reg_char.
153         * debug/strcpy_chk.c: Likewise.
154         * debug/strncat_chk.c: Likewise.
155         * debug/strncpy_chk.c: Likewise.
156         * string/memchr.c: Likewise.
157         * string/memrchr.c: Likewise.
158         * string/rawmemchr.c: Likewise.
159         * string/strcat.c: Likewise.
160         * string/strchr.c: Likewise.
161         * string/strchrnul.c: Likewise.
162         * string/strcmp.c: Likewise.
163         * string/strcpy.c: Likewise.
164         * string/strncat.c: Likewise.
165         * string/strncmp.c: Likewise.
166         * string/strncpy.c: Likewise.
167
168 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
169
170         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
171         __builtin_memcopy is called when src and dest ranges are known to not
172         overlap.
173
174 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
175
176         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
177         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
178         fwd_align_merge macro call.
179         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
180         bwd_align_merge macro call.
181         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
182
183 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
184
185         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
186         bwd_align_merge macros.
187         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
188         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
189         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
190
191 2012-04-18  David S. Miller  <davem@davemloft.net>
192
193         * sysdeps/sparc/sparc64/memcopy.h: Delete.
194
195 2012-04-18  Andreas Jaeger  <aj@suse.de>
196
197         [BZ# 6794]
198         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
199         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
200         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
201
202         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
203         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
204         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
205
206         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
207         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
208         Adjust for changed ldbl-128 files.
209
210         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
211         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
212         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
213
214 2012-04-17  David S. Miller  <davem@davemloft.net>
215
216         * sysdeps/sparc/sparc32/memcopy.h: Delete.
217
218 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
219
220         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
221         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
222         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
223         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
224         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
225         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
226
227 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
228
229         [BZ #6794]
230         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
231         * math/libm-test.inc: Add ilogb errno and exception tests.
232         * math/w_ilogb.c: New file: ilogb wrapper.
233         * math/w_ilogbf.c: New file: ilogbf wrapper.
234         * math/w_ilogbl.c: New file: ilogbl wrapper.
235         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
236         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
237         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
238         exception being thrown with 0.0 as argument.
239         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
240         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
241         exception being thrown with 0.0 as argument.
242         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
243         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
244         exception being thrown with 0.0 as argument.
245         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
246         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
247         exception being thrown with 0.0 as argument.
248         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
249         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
250         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
251         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
252         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
253         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
254         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
255         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
256         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
257
258 2012-04-17  Petr Baudis  <pasky@ucw.cz>
259
260         * include/sys/uio.h: Change __vector to __iovec to avoid clash
261         with altivec.
262
263 2012-04-16  Marek Polacek  <polacek@redhat.com>
264
265         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
266
267 2012-04-16  Marek Polacek  <polacek@redhat.com>
268
269         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
270         operands of fdivp instruction.
271
272 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
273
274         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
275         * elf/tst-auditmod3b.c: Likewise.
276         * elf/tst-auditmod4b.c: Likewise.
277         * elf/tst-auditmod5b.c: Likewise.
278         * elf/tst-auditmod6b.c: Likewise.
279         * elf/tst-auditmod6c.c: Likewise.
280         * elf/tst-auditmod7b.c: Likewise.
281         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
282         * sysdeps/x86_64/preconfigure.in: Likewise.
283         * sysdeps/x86_64/preconfigure: Regenerated.
284
285 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
286
287         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
288         __ILP32__.
289
290 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
291
292         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
293         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
294
295 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
296
297         [BZ #13973]
298         * locale/iso-639.def: Fix gl language name. Spotted by
299         Yaron Shahrabani.
300
301 2012-04-12  Roland McGrath  <roland@hack.frob.com>
302
303         [BZ #2074]
304         * libio/libio.h (__io_write_fn): Update comment.
305
306 2012-04-12  Petr Baudis  <pasky@ucw.cz>
307
308         [BZ #2074]
309         * stdio.texi (Hook Functions): The user provided writer function
310         is not allowed to return -1.
311
312 2012-04-11  David S. Miller  <davem@davemloft.net>
313
314         * sysdeps/sparc/fpu/libm-test-ulps: Update.
315
316 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
317
318         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
319         Add a leading slash to rtkaio.
320
321 2012-04-11  Jim Meyering  <meyering@redhat.com>
322
323         [BZ #11959]
324         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
325         It is not necessarily an error to ignore fwrite's return
326         value.  One can reliably use ferror to test for errors after
327         the fact.
328
329 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
330
331         * bits/types.h (__snseconds_t): New type.
332         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
333
334         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
335         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
336         (__SNSECONDS_T_TYPE): Likewise.
337         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
338         (__SNSECONDS_T_TYPE): Likewise.
339         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
340         (__SNSECONDS_T_TYPE): Likewise.
341
342 2012-04-10  Andreas Jaeger  <aj@suse.de>
343
344         [BZ #2636]
345         * manual/time.texi (Processor Time): Return type of times is
346         elapsed real time since an arbitrary point in the past.
347         (CPU Time): Move CLK_TCK from here...
348         (Processor Time): ...to here.  Correct description.
349         * manual/conf.texi (Constants for Sysconf): Correct description of
350         _SC_CLK_TCK.
351
352 2012-04-10  David S. Miller  <davem@davemloft.net>
353
354         [BZ #13967]
355         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
356         where the is a gap between DT_REL(A) and DT_JMPREL.
357
358 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
359
360         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
361         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
362         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
363
364 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
365
366         * elf/dl-support.c (_dl_inhibit_cache): New variable.
367         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
368         (dl_main): Handle --inhibit-cache.
369         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
370         _dl_inhibit_cache.
371         * elf/dl-load.c (_dl_map_object): Use it.
372         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
373
374 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
375
376         [BZ #13872]
377         * sysdeps/i386/fpu/e_powl.S (p78): New object.
378         (__ieee754_powl): Saturate large exponents rather than testing for
379         overflow of y*log2(x).
380         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
381         * math/libm-test.inc (pow_test): Do not permit spurious overflow
382         exceptions.
383
384         [BZ #11521]
385         * math/s_ctan.c: Include <float.h>.
386         (__ctan): Avoid internal overflow or cancellation in calculating
387         denominator.
388         * math/s_ctanf.c: Likewise.
389         * math/s_ctanl.c: Likewise.
390         * math/s_ctanh.c: Likewise.
391         * math/s_ctanhf.c: Likewise.
392         * math/s_ctanhl.c: Likewise.
393         * math/libm-test.inc (ctan_test): Add more tests.
394         (ctanh_test): Likewise.
395         * sysdeps/i386/fpu/libm-test-ulps: Update.
396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
397
398 2012-04-09  Andreas Jaeger  <aj@suse.de>
399
400         [BZ #6894]
401         * manual/filesys.texi (Directory Entries): Mention that d_namlen
402         is an optional BSD extension.
403
404         [BZ #10254]
405         * manual/stdio.texi (Opening Streams): Document additional fopen
406         parameters.
407
408 2012-04-09  Roland McGrath  <roland@hack.frob.com>
409
410         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
411         %eax without telling the compiler.
412
413 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
414
415         [BZ # 13963]
416         * manual/install.texi: Use sourceware.org.
417
418 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
419
420         [BZ #13873]
421         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
422         (__ieee754_pow): Generate overflow and underflow using huge*huge
423         and tiny*tiny rather than just returning constant infinity or zero
424         for large exponents.
425         * math/libm-test.inc (pow_test): Require overflow exceptions for
426         applicable cases of large exponents.
427
428         [BZ #706]
429         * sysdeps/i386/fpu/e_pow.S (p10): New object.
430         (__ieee754_pow): Use iterative multiplication algorithm only for
431         integer exponents with absolute value below 1024.  Check for odd
432         integer exponents when using algorithm for real exponents.
433         * math/libm-test.inc (pow_test): Add more tests.
434         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
435
436 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
437
438         [BZ #13705]
439         * math/libm-test.inc (exp_test): Do not allow overflow exception
440         on underflow test.
441
442 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
443
444         [BZ #13705]
445         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
446         instead of __kernel_standard_f.
447
448 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
449
450         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
451         * sysdeps/x86_64/memset_chk.S: Likewise.
452
453 2012-04-08  Andreas Jaeger  <aj@suse.de>
454
455         [BZ #10153]
456         * manual/startup.texi (Environment Access): Describe return value
457         for putenv and setenv.
458
459         [BZ #6895]
460         * manual/filesys.texi (Directory Entries): Add description for
461         DT_LNK.
462
463         [BZ #6890]
464         * manual/filesys.texi (Directory Entries): Clarify that it's file
465         system not operating system in the description of DT_UNKNOWN.
466
467         [BZ #6578]
468         * manual/syslog.texi (closelog): Fix reference, it's openlog.
469
470 2012-04-08  Stephen Compall  <s11@member.fsf.org>
471
472         [BZ #6649]
473         * manual/llio.texi (Opening and Closing Files): Add cross
474         reference to explain mode argument.
475
476 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
477
478         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
479         * sysdeps/x86_64/memset_chk.S: Likewise.
480
481 2012-04-07  David S. Miller  <davem@davemloft.net>
482
483         * elf/elf.h (R_SPARC_WDISP10): Define.
484         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
485         R_SPARC_SIZE32.
486         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
487         R_SPARC_SIZE64 and R_SPARC_H34.
488
489 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
490
491         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
492         conditions and remove no longer applicable assertion.
493
494 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
495
496         * bits/byteswap.h: Include <features.h>.
497         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
498         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
499
500 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
501
502         * bits/byteswap.h (__bswap_16): Removed.
503         Include <bits/byteswap-16.h> to get __bswap_16.
504         * sysdeps/i386/bits/byteswap.h: Likewise.
505         * sysdeps/s390/bits/byteswap.h: Likewise.
506         * sysdeps/x86_64/bits/byteswap.h: Likewise.
507         * bits/byteswap-16.h: New file.
508         * sysdeps/i386/bits/byteswap-16.h: Likewise.
509         * sysdeps/s390/bits/byteswap-16.h: Likewise.
510         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
511         * string/Makefile (headers): Add bits/byteswap-16.h.
512
513 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
514
515         [BZ #13895]
516         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
517         extra indirection.
518         * nss/Makefile (tests-static, tests): Add tst-nss-static.
519         * nss/tst-nss-static.c: New.
520
521 2012-04-06  Robert Millan  <rmh@gnu.org>
522
523         [BZ #6486]
524         * manual/llio.texi (File Position Primitive): lseek
525         refers to WHENCE when it really means OFFSET.
526
527 2012-04-06  Andreas Jaeger  <aj@suse.de>
528
529         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
530         strncmp declarations.
531
532         * abilist/libc.abilist: Add __poll and __ppoll.
533
534 2012-04-05  David S. Miller  <davem@davemloft.net>
535
536         * scripts/check-local-headers.sh: Accept a host triplet in the
537         path matched by the exclude regexp.
538
539         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
540         definition.
541         * sysdeps/powerpc/powerpc32/dl-machine.h
542         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
543         * sysdeps/s390/s390-32/dl-machine.h
544         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
545         * sysdeps/sparc/sparc32/dl-machine.h
546         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
547         * sysdeps/sparc/sparc64/dl-machine.h
548         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
549
550         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
551         lazy binding.
552         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
553         undefined symbol errors.
554
555         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
556         DT_NEEDED entries.
557
558 2012-04-05  Michael Matz  <matz@suse.de>
559
560         [BZ #13592]
561         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
562
563 2012-04-05  Andreas Jaeger  <aj@suse.de>
564
565         [BZ #13908]
566         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
567         comment.
568
569 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
570
571         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
572         which ROUND is no valid rounding mode.
573
574 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
575
576         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
577         read again.
578         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
579
580 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
581
582         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
583         an exception using FPU order intentionally.
584
585 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
586
587         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
588         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
589         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
590         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
591
592 2012-04-05  Simon Josefsson  <simon@josefsson.org>
593
594         [BZ #12340]
595         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
596         EINVAL when BUFLEN is too smal.
597
598 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
599
600         [BZ #13553]
601         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
602         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
603
604 2012-04-03  Andreas Jaeger  <aj@suse.de>
605
606         [BZ #13938]
607         * manual/setjmp.texi (System V contexts): Fix sentence.
608
609         [BZ #13926]
610         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
611         New macro for this case.
612         [!__GNUC__] (__bswap_64): New inline function for this case.
613         * sysdeps/x86_64/bits/byteswap.h: Likewise.
614         * bits/byteswap.h: Likewise.
615         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
616         ull, guard with __GLIBC_HAVE_LONG_LONG.
617
618         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
619         __GLIBC_HAVE_LONG_LONG.
620
621         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
622         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
623
624 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
625
626         [BZ #13691]
627         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
628         inptr and inend, rather than using last_ch.
629
630 2012-04-02  David S. Miller  <davem@davemloft.net>
631
632         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
633         * stdio-common/printf-parse.h (read_int): Change return type to
634         'int', return -1 on INT_MAX overflow.
635         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
636         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
637         overflows INT_MAX.  Check for overflow of in-format-string precision
638         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
639         SIZE_MAX not INT_MAX for integer overflow test.
640         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
641         skip the construct in the format string but do not record anything.
642         * stdio-common/bug22.c: Adjust to test both width/prevision
643         INT_MAX overflow as well as total length INT_MAX overflow.  Check
644         explicitly for proper errno values.
645
646 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
647
648         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
649         CHAR_MAX.
650         * string/test-strcmp.c [! WIDE]: Likewise.
651         * time/tst-mktime2.c: Likewise for INT_MAX.
652         * string/test-string.h: #include <sys/param.h> for MIN.
653
654         * csu/init-first.c (__libc_init_first): Call __ctype_init.
655         * sysdeps/i386/init-first.c (init): Likewise.
656         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
657         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
658         * sysdeps/sh/init-first.c (init): Likewise.
659
660 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
661
662         * po/ru.po: Update from translation team.
663         * po/vi.po: Likewise.
664
665 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
666
667         * resolv/nss_dns/dns-host.c: Merge copyright years.
668
669 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
670
671         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
672         Optimize memcpy with prefetch if
673         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
674         src, dst pointers have unequal 16 byte alignments.
675
676 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
677
678         [BZ #13928]
679         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
680         from a CNAME entry and return the minimum ttl for the query.
681         (gaih_getanswer_slice): Likewise.
682
683 2012-03-30  Jeff Law  <law@redhat.com>
684
685         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
686         due to long keys.
687         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
688         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
689
690         * resolv/nss_dns/dns-host.c: Update copyright year.
691
692 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
693
694         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
695         requests to save a system call.  Fix check that all bytes are sent.
696
697         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
698         comments for sendmmsg.
699
700 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
701
702         [BZ #13691]
703         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
704         with only 1 character between 0x0041 and 0x01b0.
705         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
706         * wcsmbs/tst-mbsnrtowcs.c: New file.
707
708 2012-03-29  David S. Miller  <davem@davemloft.net>
709
710         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
711         small copies by hand.
712
713 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
714
715         [BZ #13761]
716         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
717         _nss_compat_initgroups_dyn): Fall back to malloc/free
718         for large group memberships.
719
720 2012-03-28  David S. Miller  <davem@davemloft.net>
721
722         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
723         that branches into memcpy.
724         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
725         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
726         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
727         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
728         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
729         bits.
730         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
731         implementation too.
732         * sysdeps/sparc/mempcpy.S: New file.
733
734         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
735         the IFUNC routine in the libc case.
736         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
737
738         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
739         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
740         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
741         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
742         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
743         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
744         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
745         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
746
747         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
748         loop to 256 bytes instead of 64 bytes and fix test signedness.
749
750         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
751         * sysdeps/sparc/sparc32/Makefile: rather than here...
752         * sysdeps/sparc/sparc64/Makefile: and here.
753
754 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
755
756         * malloc/mallocbug.c: Avoid warnings about unused variables.
757
758 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
759
760         [BZ #13760]
761         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
762         in the right place. Discard and retry query if response is
763         larger than input buffer size.
764
765 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
766
767         [BZ #369]
768         [BZ #2678]
769         [BZ #3866]
770         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
771         x for large integer exponent.
772         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
773         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
774         sign of result as needed afterwards.
775         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
776         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
777         result for underflowing pow the same as for overflow.
778         (__kernel_standard_l): Handle powl overflow and underflow here
779         rather than calling __kernel_standard.
780         * math/libm-test.inc (pow_test): Add more tests.
781
782         [BZ #3868]
783         [BZ #13879]
784         [BZ #13910]
785         [BZ #13911]
786         [BZ #13912]
787         [BZ #13913]
788         [BZ #13915]
789         [BZ #13916]
790         [BZ #13917]
791         [BZ #13918]
792         [BZ #13919]
793         [BZ #13920]
794         [BZ #13921]
795         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
796         * sysdeps/ieee754/k_standard.c: Include <float.h>.
797         (__kernel_standard_l): New function.
798         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
799         __kernel_standard.
800         * math/w_acosl.c (__acosl): Likewise.
801         * math/w_asinl.c (__asinl): Likewise.
802         * math/w_atan2l.c (__atan2l): Likewise.
803         * math/w_atanhl.c (__atanhl): Likewise.
804         * math/w_coshl.c (__coshl): Likewise.
805         * math/w_exp10l.c (__exp10l): Likewise.
806         * math/w_exp2l.c (__exp2l): Likewise.
807         * math/w_fmodl.c (__fmodl): Likewise.
808         * math/w_hypotl.c (__hypotl): Likewise.
809         * math/w_j0l.c (__j0l, __y0l): Likewise.
810         * math/w_j1l.c (__j1l, __y1l): Likewise.
811         * math/w_jnl.c (__jnl, __ynl): Likewise.
812         * math/w_lgammal.c (__lgammal): Likewise.
813         * math/w_log10l.c (__log10l): Likewise.
814         * math/w_log2l.c (__log2l): Likewise.
815         * math/w_logl.c (__logl): Likewise.
816         * math/w_powl.c (__powl): Likewise.
817         * math/w_remainderl.c (__remainderl): Likewise.
818         * math/w_scalbl.c (sysv_scalbl): Likewise.
819         * math/w_sinhl.c (__sinhl): Likewise.
820         * math/w_sqrtl.c (__sqrtl): Likewise.
821         * math/w_tgammal.c (__tgammal): Likewise.
822         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
823         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
824         * math/libm-test.inc (acos_test): Add more tests.
825         (acosh_test): Likewise.
826         (asin_test): Likewise.
827         (atanh_test): Likewise.
828         (exp_test): Likewise.
829         (exp10_test): Likewise.
830         (exp2_test): Likewise.
831         (expm1_test): Likewise.
832         (lgamma_test): Likewise.
833         (log_test): Likewise.
834         (log10_test): Likewise.
835         (log1p_test): Likewise.
836         (log2_test): Likewise.
837         (pow_test): Do not allow some spurious overflow exceptions.
838         (sqrt_test): Add more tests.
839         (tgamma_test): Likewise.
840         (y0_test): Likewise.
841         (y1_test): Likewise.
842         (yn_test): Likewise.
843
844 2012-03-27  Anton Blanchard  <anton@samba.org>
845
846         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
847         MAP_HUGETLB.
848         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
849         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
850         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
851
852 2012-03-27  David S. Miller  <davem@davemloft.net>
853
854         * conform/Makefile: Run run-conformtest.sh using $(BASH).
855
856         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
857         have-as-vis3 check.
858
859 2012-03-27  Andreas Jaeger  <aj@suse.de>
860
861         * sysdeps/x86_64/elf/configure.in: Moved to ...
862         * sysdeps/x86_64/configure.in: ... here.
863         * sysdeps/x86_64/elf/start.S: Moved to ...
864         * sysdeps/x86_64/start.S: ... here.
865         * sysdeps/x86_64/elf/configure: Delete.
866
867         * sysdeps/x86_64/configure.in: Merge contents from
868         sysdeps/i386/configure.in (without i686 check).
869
870         * sysdeps/i386/elf/Versions: Merge into ...
871         * sysdeps/i386/Versions: ... this.
872         * sysdeps/i386/elf/Versions: Delete file.
873         * sysdeps/i386/elf/start.S: Moved to ...
874         * sysdeps/i386/start.S: ...here.
875         * sysdeps/i386/elf/configure.in: Merge into...
876         * sysdeps/i386/configure.in: ...here.
877         * sysdeps/i386/elf/configure.in: Delete file.
878         * sysdeps/i386/elf/configure: Delete file.
879
880         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
881         * debug/backtracesyms.c: ... here.
882         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
883         * debug/backtracesymsfd.c: ... here.
884         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
885         * sysdeps/generic/ifunc-sel.h: ... here.
886
887         * sysdeps/unix/i386/start.c: Delete file.
888         * sysdeps/unix/sparc/start.c: Delete file.
889         * sysdeps/unix/start.c: Delete file.
890
891         * sysdeps/sh/elf/configure.in: Moved to ...
892         * sysdeps/sh/configure.in: ... here.
893         * sysdeps/sh/elf/start.S: Moved to ...
894         * sysdeps/sh/start.S: ... here.
895         * sysdeps/sh/elf/configure: Delete file.
896
897         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
898         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
899         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
900         * sysdeps/powerpc/powerpc64/entry.h: ... here.
901         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
902         * sysdeps/powerpc/powerpc64/start.S: here.
903         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
904         * sysdeps/powerpc/powerpc64/Makefile: ... this.
905         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
906         * sysdeps/powerpc/powerpc64/configure.in: ... this.
907         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
908
909         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
910         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
911         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
912         * sysdeps/powerpc/powerpc32/start.S: ... here.
913         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
914         * sysdeps/powerpc/powerpc32/configure.in: ... this.
915         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
916
917         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
918         * sysdeps/powerpc/ifunc-sel.h: ... here.
919         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
920         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
921
922         * sysdeps/sparc/elf/configure.in: Moved to ...
923         * sysdeps/sparc/configure.in: ... here.
924         * sysdeps/sparc/elf/configure: Delete file.
925         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
926         * sysdeps/sparc/sparc32/start.S: ... here.
927         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
928         * sysdeps/sparc/sparc64/start.S: ... here.
929         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
930         * sysdeps/sparc/sparc32/Makefile: ... this.
931         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
932         * sysdeps/sparc/sparc64/Makefile: ... this.
933
934         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
935         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
936         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
937         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
938         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
939         * sysdeps/s390/s390-32/setjmp.S: ... here.
940         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
941         * sysdeps/s390/s390-32/configure.in: ... here.
942         * sysdeps/s390/s390-32/elf/configure: Delete file.
943         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
944         * sysdeps/s390/s390-32/start.S: ... here.
945
946         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
947         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
948         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
949         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
950         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
951         * sysdeps/s390/s390-64/setjmp.S: ... here.
952         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
953         * sysdeps/s390/s390-64/configure.in: ... here
954         * sysdeps/s390/s390-64/elf/configure: Delete file.
955         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
956         * sysdeps/s390/s390-64/start.S: ... here.
957         * sysdeps/s390/s390-64/elf/configure: Delete.
958
959         * configure.in: Remove support for elf directories in sysdeps.
960
961         * configure: Regenerated.
962         * sysdeps/i386/configure: Regenerated.
963         * sysdeps/powerpc/powerpc32/configure: Regenerated.
964         * sysdeps/powerpc/powerpc64/configure: Regenerated.
965         * sysdeps/s390/s390-32/configure: Regenerated.
966         * sysdeps/s390/s390-64/configure: Regenerated.
967         * sysdeps/sh/configure: Regenerated.
968         * sysdeps/sparc/configure: Regenerated.
969         * sysdeps/x86_64/configure: Regenerated.
970
971 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
972
973         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
974
975         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
976         denormal result into account.
977
978 2012-03-25  Roland McGrath  <roland@hack.frob.com>
979
980         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
981         Reported by Allan McRae <allan@archlinux.org>.
982
983 2012-03-23  Jeff Law  <law@redhat.com>
984
985         * nss/getnssent.c (__nss_getent): Fix typo.
986
987 2012-03-23  David S. Miller  <davem@davemloft.net>
988
989         * sysdeps/sparc/fpu/libm-test-ulps: Update.
990
991 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
992
993         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
994         to pad to uint64_t for each field.
995         (dl_tls_index): Replace unsigned long with uint64_t.
996
997 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
998         Paul Pluzhnikov  <ppluzhnikov@google.com>
999
1000         [BZ #6528]
1001         * grp/Makefile (otherlibs): Don't set it.
1002         * inet/Makefile (otherlibs): Likewise.
1003         * login/Makefile (otherlibs): Likewise.
1004         * nscd/Makefile (otherlibs): Likewise.
1005         * posix/Makefile (otherlibs): Likewise.
1006         * pwd/Makefile (otherlibs): Likewise.
1007         * rt/Makefile (otherlibs): Likewise.
1008         * sunrpc/Makefile (otherlibs): Likewise.
1009         * nss/Makefile (otherlibs): Likewise.
1010         Add libnss_files to routines and static-only-routines.
1011         ($(objpfx)getent): Remove rule.
1012         * resolv/Makefile: Add libnss_dns and libresolv to routines and
1013         static-only-routines.
1014
1015 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
1016
1017         [BZ #13892]
1018         * math/s_cexp.c: Include <float.h>.
1019         (__cexp): Handle exp result overflowing not necessarily
1020         overflowing both real and imaginary parts of result.
1021         * math/s_cexpf.c: Likewise.
1022         * math/s_cexpl.c: Likewise.
1023         * math/libm-test.inc (cexp_test): Add more tests.
1024         * sysdeps/i386/fpu/libm-test-ulps: Update.
1025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1026
1027 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1028
1029         * include/link.h (ELFW): New macro.
1030         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
1031         Replace ELF64_R_TYPE with ELFW(R_TYPE).
1032
1033 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1034
1035         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
1036         with uint64_t.
1037
1038 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1039
1040         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
1041         declaration.
1042         (struct La_x32_retval): Likewise.
1043
1044 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1045
1046         * sysdeps/x86_64/preconfigure.in: New file.
1047         * sysdeps/x86_64/preconfigure: New generated file.
1048
1049 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
1050
1051         [BZ #13824]
1052         * math/e_exp2l.c: Include <float.h>.
1053         (__ieee754_exp2l): Handle overflow and underflow cases
1054         separately.  Only pass fractional part of argument to
1055         __ieee754_expl.
1056         * math/libm-test.inc (exp2_test): Add more tests.
1057
1058         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
1059         negating x to take absolute value.
1060         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
1061         Likewise.
1062         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1063         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
1064         Likewise.
1065         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
1066         computing low part if x was negated.
1067         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1068
1069 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1070
1071         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
1072         la_x32_gnu_pltexit.
1073         (pltexit): Cast int_retval to ptrdiff_t.
1074         * elf/tst-auditmod3b.c: Likewise.
1075         * elf/tst-auditmod4b.c: Likewise.
1076         * elf/tst-auditmod5b.c: Likewise.
1077         * elf/tst-auditmod6b.c: Likewise.
1078         * elf/tst-auditmod6c.c: Likewise.
1079         * elf/tst-auditmod7b.c: Likewise.
1080
1081         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
1082         and x32_gnu_pltexit.
1083
1084         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
1085         __ELF_NATIVE_CLASS.
1086         (La_x32_regs): New macro.
1087         (La_x32_retval): Likewise.
1088         (la_x32_gnu_pltenter): New function prototype.
1089         (la_x32_gnu_pltexit): Likewise.
1090
1091 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
1092
1093         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
1094         exponent.
1095
1096         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1097
1098         * configure.in (libc_cv_cc_nofma): Check for option to disable
1099         generation of FMA instructions.
1100         * configure: Regenerate.
1101         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
1102         * sysdeps/ieee754/dbl-64/Makefile: New file.
1103         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1104         Remove brandred-fma4.
1105         (CFLAGS-brandred-fma4.c): Remove.
1106         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
1107         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
1108         define.
1109         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
1110         define.
1111
1112 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1113
1114         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1115         LLONG_MAX != LONG_MAX.
1116         (_itoa_word): Use _ITOA_WORD_TYPE on value.
1117         (_fitoa_word): Likewise.
1118         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
1119         LLONG_MAX != LONG_MAX.
1120         * stdio-common/_itowa.h: Include <_itoa.h>.
1121         (_itowa_word): Use _ITOA_WORD_TYPE on value.
1122         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
1123         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
1124         only if not defined.
1125         (_ITOA_WORD_TYPE): Likewise.
1126         (_itoa_word): Use _ITOA_WORD_TYPE on value.
1127         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
1128
1129 2012-03-21  David S. Miller  <davem@davemloft.net>
1130
1131         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1132
1133 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1134
1135         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
1136         of x86_64 when setting libc_cv_slibdir, libdir and
1137         libc_cv_localedir.
1138         * sysdeps/unix/sysv/linux/configure: Regenerated.
1139
1140 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
1141
1142         * manual/lang.texi (Old Varargs): Remove section.
1143         (How Variadic): Update menu.
1144         (va_start): Do not mention varargs.h.
1145
1146 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
1147             Joseph Myers  <joseph@codesourcery.com>
1148
1149         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
1150         link test.
1151         * configure: Regenerated.
1152
1153 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
1154
1155         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
1156         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
1157         conformtest.pl
1158
1159 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
1160
1161         * NOTES: Remove.
1162         * Makefile (files-for-dist): Remove NOTES.
1163         (NOTES): Remove rule.
1164         * README: Don't refer to NOTES.
1165         * manual/creature.texi: Don't include macros.texi.
1166         * manual/intro.texi (creature.texi): Remove comment referring to
1167         NOTES.
1168
1169         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
1170         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
1171         * configure: Regenerated.
1172         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
1173         LIBC_TRY_CC_OPTION.
1174         (libc_cv_as_i686): Likewise.
1175         (libc_cv_cc_avx): Likewise.
1176         (libc_cv_cc_sse2avx): Likewise.
1177         (libc_cv_cc_fma4): Likewise.
1178         (libc_cv_cc_novzeroupper): Likewise.
1179         * sysdeps/i386/configure: Regenerated.
1180
1181         [BZ #13883]
1182         * sysdeps/i386/fpu/s_cexp.S: Remove.
1183         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1184         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1185         * math/libm-test.inc (cexp_test): Add more tests.
1186         * sysdeps/i386/fpu/libm-test-ulps: Update.
1187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1188
1189 2012-03-21  Allan McRae  <allan@archlinux.org>
1190
1191         * timezone/Makefile: Do not install iso3166.tab and zone.tab
1192
1193 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
1194
1195         [BZ #13871]
1196         * math/w_exp2.c: Do not include <float.h>.
1197         (o_threshold, u_threshold): Remove.
1198         (__exp2): Calculate result before checking finiteness and calling
1199         __kernel_standard.
1200         * math/w_exp2f.c: Likewise.
1201         * math/w_exp2l.c: Likewise.
1202         * math/libm-test.inc (exp2_test): Require overflow exception for
1203         1e6 input.
1204
1205         [BZ #3866]
1206         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
1207         range of signed 64-bit integers before using fistpll.  Remove
1208         checks for whether integers fit in mantissa bits.
1209         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
1210         the range of signed 32-bit integers before using fistpl.  Remove
1211         checks for whether integers fit in mantissa bits.
1212         * sysdeps/i386/fpu/e_powl.S (p64): New object.
1213         (__ieee754_powl): Test for y outside the range of signed 64-bit
1214         integers before using fistpll.  Reduce 64-bit values to 63-bit
1215         ones as needed.
1216         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
1217         divide-by-zero is raised for zero to large negative powers.
1218         * sysdeps/x86_64/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         * math/libm-test.inc (pow_test): Add more tests.
1223
1224 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
1225
1226         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
1227         <stdio-common/_itoa.h>.
1228         * debug/segfault.c: Likewise.
1229         * elf/dl-cache.c: Likewise.
1230         * elf/dl-minimal.c: Likewise.
1231         * elf/dl-misc.c: Likewise.
1232         * elf/dl-sysdep.c: Likewise.
1233         * elf/dl-version.c: Likewise.
1234         * elf/rtld.c: Likewise.
1235         * hurd/hurdsock.c: Likewise.
1236         * hurd/lookup-retry.c: Likewise.
1237         * malloc/malloc.c: Likewise.
1238         * malloc/mtrace.c: Likewise.
1239         * nscd/nscd_getgr_r.c: Likewise.
1240         * nscd/nscd_getpw_r.c: Likewise.
1241         * nscd/nscd_getserv_r.c: Likewise.
1242         * posix/getopt_init.c: Likewise.
1243         * posix/wordexp.c: Likewise.
1244         * stdio-common/_itoa.c: Likewise.
1245         * stdio-common/printf_fphex.c: Likewise.
1246         * stdio-common/vfprintf.c: Likewise.
1247         * string/_strerror.c: Likewise.
1248         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
1249         * sysdeps/i386/i686/hp-timing.h: Likewise.
1250         * sysdeps/mach/_strerror.c: Likewise.
1251         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
1252         * sysdeps/mach/hurd/sethostid.c: Likewise.
1253         * sysdeps/mach/hurd/xmknodat.c: Likewise.
1254         * sysdeps/mach/xpg-strerror.c: Likewise.
1255         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1256         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1257         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
1258         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
1259         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1260         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
1261         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1262         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1263         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
1264         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
1265         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
1266         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1267         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
1268         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1269         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1270         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
1271         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
1272         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
1273         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1274         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1275         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
1276
1277         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
1278
1279         * stdio-common/_itoa.h: Moved to ...
1280         * sysdeps/generic/_itoa.h: Here.
1281
1282         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
1283
1284         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
1285         instead of "_itoa.h" and "_itowa.h".
1286         * stdio-common/vfprintf.: Likewise.
1287
1288 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
1289
1290         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
1291         <bits/wordsize.h>.
1292         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
1293         (__signbit): Likwise.
1294         (llrintf): Likwise.
1295         (llrint): Likwise.
1296
1297 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
1298
1299         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
1300         __WORDSIZE != 64.
1301
1302 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
1303
1304         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
1305         OVERFLOW_EXCEPTION_OK.
1306         * math/libm-test.inc ("Philosophy"): Update comment about
1307         exception testing.
1308         (OVERFLOW_EXCEPTION): Define.
1309         (OVERFLOW_EXCEPTION_OK): Likewise.
1310         (INVALID_EXCEPTION_OK): Renumber.
1311         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1312         (IGNORE_ZERO_INF_SIGN): Likewise.
1313         (test_exceptions): Handle FE_OVERFLOW.
1314         (exp10_test): Expect overflow exceptions.
1315         (exp2_test): Likewise.
1316         (expm1_test): Likewise.
1317         (nextafter_test): Likewise.
1318         (pow_test): Likewise.
1319         (scalbn_test): Likewise.
1320         (scalbln_test): Likewise.
1321
1322 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1323
1324         * sysdeps/x86_64/bits/atomic.h
1325         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
1326         64bit integer.
1327         (atomic_exchange_acq): Likewise.
1328         (__arch_exchange_and_add_body): Likewise.
1329         (__arch_add_body): Likewise.
1330         (atomic_add_negative): Likewise.
1331         (atomic_add_zero): Likewise.
1332
1333 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1334
1335         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
1336         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
1337
1338 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1339
1340         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
1341         Check __x86_64__ instead of __WORDSIZE.
1342
1343 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1344
1345         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
1346
1347 2012-03-19  David S. Miller  <davem@davemloft.net>
1348
1349         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1350
1351         * sysdeps/sparc/fpu/fenv_private.h: New file.
1352         * sysdeps/sparc/fpu/math_private.h: Use it.
1353         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
1354         Remove.
1355         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
1356         (libc_feholdexcept_setroundl): Remove.
1357         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
1358         Remove.
1359         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
1360         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
1361
1362 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1363
1364         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
1365         int64_t instead of long int.
1366         (INSERT_WORDS64): Likwise.
1367
1368 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1369
1370         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
1371         _Unwind_GetCFA return to _Unwind_Ptr first.
1372
1373 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
1374
1375         [BZ #13629]
1376         * math/s_clog.c: Include <float.h>.
1377         (__clog): Scale large or subnormal inputs.
1378         * math/s_clogf.c: Likewise.
1379         * math/s_clogl.c: Likewise.
1380         * math/s_clog10.c: Include <float.h>.
1381         (M_LOG10_2): Define.
1382         (__clog10): Scale large or subnormal inputs.
1383         * math/s_clog10f.c: Likewise.
1384         * math/s_clog10l.c: Likewise.
1385         * math/libm-test.inc (clog_test): Add more tests.
1386         (clog10_test): Likewise.
1387         * sysdeps/i386/fpu/libm-test-ulps: Update.
1388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1389
1390         [BZ #11451]
1391         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
1392         x and y.
1393         * math/libm-test.inc (atan2_test): Add another test.
1394
1395         * Makerules (common-objdir-compile): Remove.
1396         * sysdeps/unix/Makefile (config-generated): Do not add
1397         $(unix-generated) to variable.
1398         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
1399         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
1400         Remove rule.
1401         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
1402         Likewise.
1403         [generic bits/local_lim.h] (before-compile): Do not append to
1404         variable.
1405         [generic bits/local_lim.h] (common-generated): Likewise.
1406         [generic sys/param.h] (before-compile): Do not append to variable.
1407         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
1408         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
1409         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
1410         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
1411         include.
1412         [generic sys/param.h] (sys/param.h-includes): Remove variable.
1413         [generic sys/param.h] (sys/param.h-includes): Remove rule.
1414         [generic sys/param.h] ($(addprefix
1415         $(common-objpfx),$(sys/param.h-includes))): Likewise.
1416         [generic sys/param.h] (common-generated): Do not append to
1417         variable.
1418         [generic sys/param.h] (sysdep_headers): Likewise.
1419         [generic bits/errno.h] (before-compile): Do not append to
1420         variable.
1421         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
1422         rule.
1423         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
1424         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
1425         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
1426         [generic bits/errno.h] (common-generated): Do not append to
1427         variable.
1428         [generic bits/ioctls.h] (before-compile): Do not append to
1429         variable.
1430         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
1431         rule.
1432         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
1433         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
1434         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
1435         rule.
1436         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
1437         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
1438         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
1439         [generic bits/ioctls.h] (common-generated): Do not append to
1440         variable.
1441         [generic sys/syscall.h] (syscall.h): Remove variable.
1442         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
1443         rule.
1444         [generic sys/syscall.h] (before-compile): Do not append to
1445         variable.
1446         [generic sys/syscall.h] (common-generated): Likewise.
1447         * sysdeps/unix/errnos-tmpl.c: Remove file.
1448         * sysdeps/unix/errnos.awk: Likewise.
1449         * sysdeps/unix/ioctls-tmpl.c: Likewise.
1450         * sysdeps/unix/ioctls.awk: Likewise.
1451         * sysdeps/unix/mk-local_lim.c: Likewise.
1452         * sysdeps/unix/snarf-ioctls: Likewise.
1453
1454 2012-03-19  Richard Henderson  <rth@twiddle.net>
1455
1456         * sysdeps/i386/fpu/fenv_private.h: New file.
1457         * sysdeps/i386/fpu/math_private.h: Use it.
1458         (math_opt_barrier, math_force_eval): Remove.
1459         (libc_feholdexcept_setround_53bit): Remove.
1460         (libc_feupdateenv_53bit): Remove.
1461         * sysdeps/x86_64/fpu/math_private.h: Likewise.
1462         (math_opt_barrier, math_force_eval): Remove.
1463         (libc_feholdexcept): Remove.
1464         (libc_feholdexcept_setround): Remove.
1465         (libc_fetestexcept, libc_fesetenv): Remove.
1466         (libc_feupdateenv_test): Remove.
1467         (libc_feupdateenv, libc_feholdsetround): Remove.
1468         (libc_feresetround): Remove.
1469
1470         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
1471         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1472
1473         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
1474         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
1475         (libc_feupdateenv_testl): New.
1476         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
1477         (libc_feupdateenv_testf): New.
1478         (libc_feupdateenv): Use libc_feupdateenv_test.
1479         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
1480         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
1481
1482         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
1483         (libc_feholdsetroundf, libc_feholdsetroundl): New.
1484         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
1485         (libc_feresetround_noex): New.
1486         (libc_feresetround_noexf): New.
1487         (libc_feresetround_noexl): New.
1488         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
1489         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
1490         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
1491         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
1492         SET_RESTORE_ROUND.
1493         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1494         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
1495         (__cos): Likewise.
1496         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
1497         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
1498         SET_RESTORE_ROUND_NOEX.
1499         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
1500         SET_RESTORE_ROUND_NOEXF.
1501         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
1502         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
1503         (libc_feholdsetroundf): New.
1504         (libc_feresetround, libc_feresetroundf): New.
1505
1506         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
1507         (libc_feholdexcept_setround_53bit): Convert from macro to function.
1508         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
1509
1510         * sysdeps/generic/math_private.h: Include <fenv.h>.
1511         (default_libc_feholdexcept): New.
1512         (default_libc_feholdexcept_setround): New.
1513         (default_libc_fesetenv, default_libc_feupdateenv): New.
1514         (libc_feholdexcept): Only define if undefined.
1515         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
1516         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
1517         (libc_feholdexcept_setroundl): Likewise.
1518         (libc_feholdexcept_setround_53bit): Likewise.
1519         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
1520         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
1521         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
1522         (libc_feupdateenv_53bit): Likewise.
1523         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
1524         (libc_feholdexcept): Convert from macro to inline function.
1525         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
1526         (libc_fesetenv, libc_feupdateenv): Likewise.
1527
1528         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
1529         not previously defined.
1530         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
1531         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
1532         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
1533         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
1534         * sysdeps/ieee754/flt-32/math_private.h: New file.
1535         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
1536         math_private.h below SET_FLOAT_WORD.
1537         (__isnan, __isinf_ns, __finite): Remove.
1538         (__isnanf, __isinf_nsf, __finitef): Remove.
1539
1540 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
1541
1542         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1543
1544 2012-03-17  David S. Miller  <davem@davemloft.net>
1545
1546         [BZ #6471]
1547         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
1548         for 2.16.
1549
1550 2012-03-16  David S. Miller  <davem@davemloft.net>
1551
1552         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
1553         warnings.
1554
1555         [BZ #6471]
1556         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
1557         properly.
1558         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
1559         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
1560         sysdep_routines when subdir is sysvipc.
1561         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
1562         __getshmlba helper.
1563
1564         * sysdeps/sparc/fpu/libm-test/ulps: Update.
1565
1566 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1567
1568         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
1569         [__LP64__].
1570
1571 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1572
1573         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
1574         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
1575         (__lround): Renamed to ...
1576         (__llround): This.  Replace long int with long long int.
1577         Define lround functions as aliases of llround functions.
1578         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
1579
1580 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1581
1582         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1583         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
1584         adresses to uintptr_t.  Replace "long int" and "unsigned long
1585         int" with "greg_t" on va_arg.
1586
1587 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1588
1589         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
1590         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
1591
1592         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
1593         Move e_machine check before EI_CLASS check.  Handle x32
1594         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
1595         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
1596         SKIP_EM_IA_64 and include
1597         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
1598
1599         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
1600         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
1601         (add_system_dir): New macro.
1602
1603         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
1604         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
1605
1606 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
1607
1608         [BZ #2551]
1609         [BZ #2552]
1610         [BZ #2553]
1611         [BZ #2554]
1612         [BZ #2562]
1613         [BZ #2563]
1614         [BZ #2565]
1615         [BZ #2566]
1616         [BZ #2576]
1617         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
1618         (y0): Likewise.
1619         * math/w_j0f.c (j0f): Likewise.
1620         (y0f): Likewise.
1621         * math/w_j0l.c (__j0l): Likewise.
1622         (__y0l): Likewise.
1623         * math/w_j1.c (j1): Likewise.
1624         (y1): Likewise.
1625         * math/w_j1f.c (j1f): Likewise.
1626         (y1f): Likewise.
1627         * math/w_j1l.c (__j1l): Likewise.
1628         (__y1l): Likewise.
1629         * math/w_jn.c (jn): Likewise.
1630         (yn): Likewise.
1631         * math/w_jnf.c (jnf): Likewise.
1632         (ynf): Likewise.
1633         * math/w_jnl.c (__jnl): Likewise.
1634         (__ynl): Likewise.
1635         * math/libm-test.inc (j0_test): Add more tests.
1636         (j1_test): Likewise.
1637         (jn_test): Likewise.  Add trailing semicolon to existing test.
1638         (y0_test): Likewise.
1639         (y1_test): Likewise.
1640         * sysdeps/i386/fpu/libm-test-ulps: Update.
1641         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1642
1643         [BZ #13851]
1644         [BZ #13854]
1645         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
1646         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
1647         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
1648         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
1649         (__tanl): Set errno for infinite argument.
1650         * sysdeps/i386/fpu/mptan.c: Remove.
1651         * sysdeps/i386/fpu/s_tan.S: Likewise.
1652         * sysdeps/i386/fpu/s_tanl.S: Likewise.
1653         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
1654         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
1655         * math/libm-test.inc (tan_test): Add more tests and enable more
1656         tests for double and long double.
1657         * sysdeps/i386/fpu/libm-test-ulps: Update.
1658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1659
1660 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
1661
1662         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
1663         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
1664
1665 2012-03-16  Roland McGrath  <roland@hack.frob.com>
1666
1667         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
1668         * configure.in: Use it for both main tree and add-ons.
1669         * configure: Regenerated.
1670
1671 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1672
1673         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
1674
1675 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
1676
1677         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
1678         in comment.
1679
1680         [BZ #13851]
1681         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
1682         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
1683         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
1684         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
1685         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
1686         infinite argument.
1687         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
1688         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
1689         != 0 for prec == 2.
1690         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
1691         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
1692         * sysdeps/i386/fpu/s_cosl.S: Likewise.
1693         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1694         * sysdeps/i386/fpu/s_sinl.S: Likewise.
1695         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
1696         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
1697         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
1698         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
1699         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
1700         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
1701         * math/libm-test.inc (cos_test): Add more tests and enable more
1702         tests for long double.
1703         (sin_test): Likewise.
1704         (sincos_test): Likewise.
1705         * sysdeps/i386/fpu/libm-test-ulps: Update.
1706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1707
1708 2012-03-16  David S. Miller  <davem@davemloft.net>
1709
1710         * sysdeps/sparc/fpu/math_private.h: New file.
1711
1712 2012-03-15  David S. Miller  <davem@davemloft.net>
1713
1714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1715         file.
1716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
1717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1718         file.
1719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1720         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1721         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1722         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1723         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1724         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1725         sysdep routines.
1726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1727
1728         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1729         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1730
1731         * sysdeps/sparc/sparc-ifunc.h: New file.
1732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1733         sparc-ifunc.h
1734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1736         Likewise.
1737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1738         Likewise.
1739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1741         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1743         Likewise.
1744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1746         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
1748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1749         Likewise.
1750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1751         Likewise.
1752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1756         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1757         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1758         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1759         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1760         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1761         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1762         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1763         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1764         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1765         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1766         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1767         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1768         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1769         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1770         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1771         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1772         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1773         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1774         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1775         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1776
1777 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
1778
1779         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1780         scaling.
1781         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1782
1783 2012-03-15  Andreas Jaeger  <aj@suse.de>
1784
1785         [BZ #13852]
1786         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1787         ieee754/flt-32 implementation for sin, cos and sincos.
1788         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1789         * sysdeps/i386/fpu/s_cosf.S: Likewise.
1790         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1791         * sysdeps/i386/fpu/s_sinf.S: Likewise.
1792         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1793         ieee754/flt-32 implementation for tan.
1794
1795         * math/libm-test.inc (cos_test): Enable some large input tests for
1796         float as well
1797         (sin_test): Likewise.
1798         (sincos_test): Likewise.
1799         (tan_test): Add tests for large input.
1800
1801         * sysdeps/i386/fpu/libm-test-ulps: Update.
1802
1803 2012-03-15  Andreas Jaeger  <aj@suse.de>
1804
1805         [BZ #13658]
1806         * math/libm-test.inc (cos_test): Add more test cases.
1807         (sin_test): Likewise.
1808         (sincos_test): Likewise.
1809
1810 2012-03-15  Andreas Jaeger  <aj@suse.de>
1811
1812         [BZ #13837]
1813         * math/libm-test.inc (cos_test): Add a test case for large input
1814         value.
1815         (sin_test): Likewise.
1816         (sincos_test): Likewise.
1817
1818 2012-03-15  Andreas Jaeger  <aj@suse.de>,
1819         Joseph Myers  <joseph@codesourcery.com>
1820
1821         [BZ #13658]
1822         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
1823         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1824         * sysdeps/i386/fpu/branred.c: Likewise.
1825         * sysdeps/i386/fpu/dosincos.c: Likewise.
1826         * sysdeps/i386/fpu/mpa.c: Likewise.
1827         * sysdeps/i386/fpu/s_cos.S: Likewise.
1828         * sysdeps/i386/fpu/s_sin.S: Likewise.
1829         * sysdeps/i386/fpu/s_sincos.S: Likewise.
1830         * sysdeps/i386/fpu/sincos32.c: Likewise.
1831
1832         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1833         Define.
1834         (libc_feupdateenv_53bit): Define.
1835         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1836         Define.
1837         (libc_feupdateenv_53bit): Define.
1838
1839         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1840         53 bit (without extend i386 double precision).
1841
1842         * math/libm-test.inc (sincos_test): Add tests for large input.
1843         (sin): Likewise.
1844         (cos): Likewise.
1845
1846         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1847
1848 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
1849
1850         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1851
1852 2012-03-15  David S. Miller  <davem@davemloft.net>
1853
1854         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1855         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1856         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1857         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1858         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1859         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1860         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1861         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1862         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1863         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1864         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1865         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1866         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1867         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1868         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
1869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1870         file.
1871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
1872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1873         file.
1874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
1875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1876         file.
1877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
1878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1879         file.
1880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1881         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1882         fmin/fmax sysdep routines.
1883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1884
1885 2012-03-14  David S. Miller  <davem@davemloft.net>
1886
1887         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1888         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1889         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1890         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1891         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1892         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1893         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1894         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1895         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1896         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1897         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1898         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1899         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1900         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1901         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1902         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1903         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1904         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1905         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1906         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1907         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1908         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1909         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1910         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1911         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1912         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1913         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1914         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
1915         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1916         routines.
1917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1918         file.
1919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
1920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1921         file.
1922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
1923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1924         file.
1925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
1926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1927         file.
1928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
1929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1930         file.
1931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
1932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1933         file.
1934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1935         file.
1936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1937         file.
1938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1939         file.
1940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1941         New file.
1942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1943         file.
1944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1945         file.
1946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
1947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1948         file.
1949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
1950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1951         file.
1952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
1953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1954         file.
1955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
1956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1957         VIS3 routines.
1958
1959         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1960         New file.
1961
1962         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1963
1964         * sysdeps/sparc/configure.in: New file.
1965         * sysdeps/sparc/configure: Generate.
1966         * configure.in (libc_cv_sparc_as_vis3): Substitute.
1967         * configure: Regenerate.
1968         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1969         * config.make.in (have-as-vis3): New.
1970         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1971         available use -Av9d instead of -Av9a.
1972         * sysdeps/sparc/sparc64/Makefile: Likewise.
1973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
1974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
1975         New file.
1976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
1977         file.
1978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
1979         New file.
1980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
1981         file.
1982         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
1983         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
1984         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
1985         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
1986         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
1987
1988         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
1989         fzeros/fnegs to load 0x80000000 into a float register instead of
1990         using the stack.
1991         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
1992
1993 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
1994
1995         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1996         bits/syscall.h.
1997         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
1998         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
1999         ($(inst_includedir)/bits/syscall.h): Remove rule.
2000         ($(objpfx)bits/syscall.d): Include instead of
2001         $(objpfx)syscall-list.d.
2002         (generated): Change syscall-list.h and syscall-list.d to
2003         bits/syscall.h and bits/syscall.d.
2004
2005 2012-03-14  Roland McGrath  <roland@hack.frob.com>
2006
2007         [BZ #13846]
2008         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
2009
2010 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
2011
2012         [BZ #13841]
2013         * math/s_csqrt.c: Include <float.h>.
2014         (__csqrt): Scale large or subnormal inputs.
2015         * math/s_csqrtf.c: Likewise.
2016         * math/s_csqrtl.c: Likewise.
2017         * math/libm-test.inc (csqrt_test): Add more tests.
2018         * sysdeps/i386/fpu/libm-test-ulps: Update.
2019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2020
2021         [BZ #13840]
2022         * math/libm-test.inc (hypot_test): Add more tests.
2023
2024 2012-03-13  David S. Miller  <davem@davemloft.net>
2025
2026         [BZ #13840]
2027         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
2028         double-precision for the calculation instead of scaling.
2029
2030 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
2031
2032         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
2033         manipulate bits before adding and subtracting TWO52[sx].
2034         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
2035         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
2036         Likewise.
2037         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
2038
2039 2012-03-13  David S. Miller  <davem@davemloft.net>
2040
2041         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
2042         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
2043         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
2044         rtld-global-offsets.h
2045         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2046
2047         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
2048         large parameters.
2049
2050         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
2051
2052         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
2053         'err' in the ifdef scope in which it is actually used.
2054
2055         * nss/nss_db/db-init.c: Include string.h
2056
2057 2012-03-12  David S. Miller  <davem@davemloft.net>
2058
2059         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
2060         masking out of the most significant byte of random value used.
2061         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2062         Fix coding style in previous change.
2063
2064         * sysdeps/unix/sysv/linux/kernel-features.h
2065         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
2066         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
2067         expression.
2068         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
2069         later.
2070
2071 2012-03-11  David S. Miller  <davem@davemloft.net>
2072
2073         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2074         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
2075         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
2076         for 'resultvar' otherwise things get truncated on 64-bit.
2077
2078         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2079         Fix masking out of the most significant byte of random value used.
2080
2081         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2082
2083 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
2084
2085         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2086
2087 2012-03-09  David S. Miller  <davem@davemloft.net>
2088
2089         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
2090         variables with appropriate CPP guards.
2091         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
2092         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
2093         on resulting framesize and the management of the outregs buffer for pltexit.
2094         Preserve floating point return values across _dl_call_pltexit call.
2095         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
2096         framesize and the management of the outregs buffer for pltexit.
2097         Preserve floating point return values across _dl_call_pltexit
2098         call.
2099         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
2100         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
2101         (print_exit): Fix format string for return register value.
2102
2103 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
2104
2105         * sunrpc/Makefile (others): Add rpcgen.
2106         ($(objpfx)rpcgen): Remove special build rule and dependency on
2107         libc.
2108         * sunrpc/rpcgen.c: New file.
2109
2110 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
2111
2112         [BZ #13673]
2113         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
2114         * stdio-common/bug-vfprintf-nargs.c: Likewise.
2115         * sysdeps/i386/crti.S: Likewise.
2116         * sysdeps/i386/crtn.S: Likewise.
2117         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
2118         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
2119         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
2120         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
2121         * sysdeps/sh/crti.S: Likewise.
2122         * sysdeps/sh/crtn.S: Likewise.
2123         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2124
2125         [BZ #13673]
2126         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
2127         with URL.
2128         * locale/programs/locfile-kw.gperf: Likewise.
2129         * locale/programs/charmap-kw.h: Regenerated.
2130         * locale/programs/locfile-kw.h: Likewise.
2131
2132         [BZ #13673]
2133         * intl/plural.y: Replace FSF snail mail address with URL.
2134         * intl/plural.c: Regenerated.
2135
2136 2012-03-09  Richard Henderson  <rth@twiddle.net>
2137
2138         * include/math_private.h: Remove file.
2139         * math/math_private.h: Move file ...
2140         * sysdeps/generic/math_private.h: ... here.
2141
2142         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
2143         * sysdeps/powerpc/fpu/math_private.h: Likewise.
2144         * sysdeps/x86_64/fpu/math_private.h: Likewise.
2145
2146         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
2147         and <math_private.h>.
2148         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2149         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2150         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2151         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2152         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2153         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
2154         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2155         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2156         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2157         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2158         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2159         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2160         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2161         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2162         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2163         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2164         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2165         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2166         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2167         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
2168         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2169         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2170         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2171         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2172         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2173         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2174         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2175         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2176         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2177         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2178         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2179         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2180         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2181         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2182         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2183         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2184         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2185         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2186         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2187         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2188         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
2189         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2190         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2191         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2192         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2193         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2194         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
2195         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2196         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2197         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2198         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2199         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
2200         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2201         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2202         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2203         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2204         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2205         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2206         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2207         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
2208         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2209         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2210         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2211         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2212         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
2213         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2214         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2215         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2216         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
2217         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
2218         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2219         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
2220         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2221         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2222         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
2223         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
2224         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
2225         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2226         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
2227         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
2228         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2229         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
2230         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2231         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
2232         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2233         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2234         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
2235         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
2236         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
2237         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2238         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2239         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
2240         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2241         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
2242         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
2243         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
2244         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
2245         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2246         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2247         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
2248         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
2249         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
2250         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
2251         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
2252         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2253         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
2254         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
2255         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
2256         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2257         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2258         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2259         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2260         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
2261         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2262         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
2263         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
2264         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2265         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2266         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2267         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
2268         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2269         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
2270         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
2271         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
2272         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2273         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2274         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
2275         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
2276         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2277         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
2278         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
2279         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
2280         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2281         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
2282         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
2283         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
2284         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
2285         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2286         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
2287         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
2288         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2289         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
2290         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
2291         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
2292         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
2293         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2294         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2295         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2296         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2297         * sysdeps/ieee754/k_standard.c: Likewise.
2298         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
2299         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2300         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2301         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2302         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2303         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2304         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2305         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2306         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2307         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2308         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2309         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2310         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2311         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2312         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2313         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2314         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2315         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2316         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2317         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2318         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2319         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2320         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2321         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2322         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2323         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2324         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2325         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2326         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2327         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2328         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2329         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2330         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2331         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2332         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2333         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2334         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2335         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
2336         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2337         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2338         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2339         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2340         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2341         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2342         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2343         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2344         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2345         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2346         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2347         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2348         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2349         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2350         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2351         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2352         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2353         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2354         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
2355         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2356         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2357         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2358         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2359         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2360         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2361         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
2362         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2363         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2364         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
2365         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
2366         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
2367         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
2368         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
2369         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2370         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
2371         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
2372         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
2373         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
2374         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
2375         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
2376         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2377         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2378         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2379         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2380         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2381         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2382         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
2383         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2384         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2385         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2386         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2387         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2388         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
2389         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2390         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2391         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2392         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2393         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2394         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
2395         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2396         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2397         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
2398         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2399         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2400         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2401         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2402         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
2403         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2404         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2405         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2406         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
2407         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2408         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2409         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2410         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
2411         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2412         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
2413         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2414         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
2415         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2416         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2417         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2418         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2419         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
2420         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2421         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
2422         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2423         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
2424         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2425         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2426         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2427         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2428         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2429         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2430         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2431         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2432         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2433         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2434         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
2435         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2436         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2437         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
2438         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
2439         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2440         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
2441         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
2442         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2443         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2444         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2445         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2446         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2447         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
2448         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2449         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
2450         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2451         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2452         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
2453         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
2454         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2455         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2456         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2457         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2458         * sysdeps/ieee754/s_lib_version.c: Likewise.
2459         * sysdeps/ieee754/s_matherr.c: Likewise.
2460         * sysdeps/ieee754/s_signgam.c: Likewise.
2461         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2462         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2463         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
2464         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
2465         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
2466         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2467         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
2468         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
2469         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
2470         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
2471         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2472         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
2473         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2474         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2475         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
2476         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2477         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2478         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2479         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2480         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2481         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2482
2483 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
2484
2485         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
2486         * sunrpc/rpc_main.c: Likewise.
2487         * sunrpc/rpc_svcout.c: Likewise.
2488
2489 2012-03-09  David S. Miller  <davem@davemloft.net>
2490
2491         * include/math_private.h: New file.
2492
2493 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
2494
2495         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
2496         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
2497         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
2498         from <bits/socket_type.h>.
2499         (enum __socket_type): Don't define here.
2500         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
2501         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2502         bits/socket_type.h.
2503
2504         [BZ #13566]
2505         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
2506         checking __USE_GNU.
2507
2508         * Makerules ($(inst_includedir)/%.h): New rule.
2509         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
2510         (install-others): Remove variable setting.
2511         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
2512
2513 2012-03-08  Richard Henderson  <rth@twiddle.net>
2514
2515         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
2516         from macro to inline function; merge with the
2517         !__LIBC_INTERNAL_MATH_INLINES version.
2518         (__ieee754_sqrtf): Likewise.
2519
2520         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
2521         to inline function.
2522         (__rintf, __floor, __floorf): Likewise.
2523
2524         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
2525         macro to inline function.
2526         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
2527
2528         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
2529         not <math/math_private.h>.
2530
2531 2012-03-08  David S. Miller  <davem@davemloft.net>
2532
2533         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
2534         copyright year.
2535         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2536
2537 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
2538
2539         * resolv/gai_misc.c (handle_requests): Fix struct timespec
2540         normalization.
2541         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
2542         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2543
2544 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
2545
2546         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
2547         be defined individually, they must be defined as a block.  Define
2548         S for printing a string instead of hidint the different by using a
2549         macro for adding the 'l'.
2550         * stdio-common/tst-fphex-wide.c: Adjust.
2551
2552 2012-03-07  Marek Polacek  <polacek@redhat.com>
2553
2554         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
2555
2556 2012-03-08  Marek Polacek  <polacek@redhat.com>
2557
2558         [BZ #13806]
2559         * stdio-common/Makefile (tests): Add tst-fphex-wide.
2560         * stdio-common/tst-fphex.c: Define a few macros to make the
2561         test reusable.  Use them.
2562         * stdio-common/tst-fphex-wide.c: New file.
2563
2564 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
2565
2566         [BZ #6911]
2567         * manual/macros.texi (gnusystems): New macro.
2568         (nongnusystems): Likewise.
2569         (gnulinuxhurdsystems): Likewise.
2570         (gnuhurdsystems): Likewise..
2571         (gnulinuxsystems): Likewise.
2572         * manual/charset.texi: Use new macros or @theglibc{} to refer to
2573         variants of the GNU system, not "GNU system".
2574         * manual/conf.texi: Likewise.
2575         * manual/errno.texi: Likewise.  Update example of errno macro
2576         expansion.
2577         * manual/filesys.texi: Likewise.
2578         (getumask): Document as specific to GNU/Hurd.
2579         * manual/install.texi: Likewise.  Reword some references to
2580         GNU/Linux.
2581         * manual/intro.texi: Likewise.
2582         * manual/io.texi: Likewise.
2583         (File Name Portability): Detail which constraints are inapplicable
2584         to all GNU systems and which are only inapplicable to GNU/Hurd.
2585         * manual/job.texi: Likewise.
2586         * manual/llio.texi: Likewise.
2587         (O_NOCTTY): Document as present on GNU/Linux.
2588         * manual/maint.texi: Likewise.
2589         * manual/memory.texi: Likewise.
2590         * manual/pattern.texi: Likewise.
2591         * manual/pipe.texi: Likewise.
2592         * manual/process.texi: Likewise.
2593         * manual/resource.texi: Likewise.
2594         (RUSAGE_CHILDREN): Remove statement about specifying a particular
2595         child on GNU/Hurd.
2596         * manual/setjmp.texi: Likewise.
2597         * manual/signal.texi: Likewise.
2598         * manual/startup.texi: Likewise.
2599         * manual/stdio.texi: Likewise.
2600         * manual/terminal.texi: Likewise.
2601         (ONLCR): Document as POSIX.
2602         (OXTABS): Document availability on GNU/Linux as XTABS.
2603         (ONOEOT): Document availability separately from other bits.
2604         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
2605         * manual/time.texi: Likewise.
2606         * manual/users.texi: Likewise.
2607         * INSTALL: Regenerated.
2608         * sysdeps/gnu/errlist.c: Regenerated.
2609
2610         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
2611         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
2612         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
2613         puts.
2614         * configure: Regenerated.
2615
2616 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
2617
2618         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
2619         default includes instead of AC_HEADER_CHECK.
2620         * sysdeps/i386/configure: Regenerated.
2621
2622         [BZ #10716]
2623         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
2624         * math/s_cacoshf.c (__cacoshf): Likewise.
2625         * math/s_cacoshl.c (__cacoshl): Likewise.
2626         * math/s_casinh.c (__casinh): Set signs of result from argument.
2627         * math/s_casinhf.c (__casinhf): Likewise.
2628         * math/s_casinhl.c (__casinhl): Likewise.
2629         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
2630         (casinh_test): Add more tests.
2631         * sysdeps/i386/fpu/libm-test-ulps: Update.
2632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2633
2634 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
2635
2636         * po/zh_TW.po: Update from translation team.
2637
2638         * login/Makefile (distribute): Remove variable.
2639         * catgets/Makefile: Likewise.
2640         * mach/Makefile: Likewise.
2641         * malloc/Makefile: Likewise.
2642         * misc/Makefile: Likewise.
2643         * iconv/Makefile: Likewise.
2644         * nscd/Makefile: Likewise.
2645         * hurd/Makefile: Likewise.
2646         * manual/Makefile: Likewise.
2647         * locale/Makefile: Likewise.
2648         * intl/Makefile: Likewise.
2649         * conform/Makefile: Likewise.
2650         * nss/Makefile: Likewise.
2651         * time/Makefile: Likewise.
2652         * soft-fp/Makefile: Likewise.
2653         * dirent/Makefile: Likewise.
2654         * gmon/Makefile: Likewise.
2655         * po/Makefile: Likewise.
2656         * rt/Makefile: Likewise.
2657         * socket/Makefile: Likewise.
2658         * math/Makefile: Likewise.
2659         * signal/Makefile: Likewise.
2660         * debug/Makefile: Likewise.
2661         * elf/Makefile: Likewise.
2662         * timezone/Makefile: Likewise.
2663         * stdlib/Makefile: Likewise.
2664         * iconvdata/Makefile: Likewise.
2665         * sunrpc/Makefile: Likewise.
2666         * io/Makefile: Likewise.
2667         * argp/Makefile: Likewise.
2668         * inet/Makefile: Likewise.
2669         * hesiod/Makefile: Likewise.
2670         * grp/Makefile: Likewise.
2671         * csu/Makefile: Likewise.
2672         * wctype/Makefile: Likewise.
2673         * crypt/Makefile: Likewise.
2674         * libio/Makefile: Likewise.
2675         * string/Makefile: Likewise.
2676         * nis/Makefile: Likewise.
2677         * resolv/Makefile: Likewise.
2678         * stdio-common/Makefile: Likewise.
2679         * wcsmbs/Makefile: Likewise.
2680         * dlfcn/Makefile: Likewise.
2681         * posix/Makefile: Likewise.
2682
2683         * timezone/Makefile: Don't install timezone files, just the programs
2684         and scripts.
2685
2686 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
2687
2688         * nss/databases.def: Add missing gshadow entry.
2689
2690         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
2691
2692 2012-03-06  Marek Polacek  <polacek@redhat.com>
2693
2694         [BZ #13726]
2695         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
2696         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2697         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
2698         * stdio-common/tst-long-dbl-fphex.c: New file.
2699
2700 2012-03-06  David S. Miller  <davem@davemloft.net>
2701
2702         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2703         (set_obp_int): New function.
2704         (get_obp_int): New function.
2705         (__get_clockfreq_via_dev_openprom): Likewise.
2706         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
2707         Avoid unused variable warnings on 'val' and use builtin_expect.
2708         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
2709         __builtin_expect.
2710         (INLINE_CLONE_SYSCALL): Likewise.
2711
2712 2012-03-05  David S. Miller  <davem@davemloft.net>
2713
2714         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2715
2716 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
2717
2718         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2719
2720         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2721         only for |x| >= 40.
2722         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2723
2724 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
2725
2726         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2727         Replace gettimeofday with __vdso_gettimeofday.
2728
2729         * sysdeps/unix/sysv/linux/x86_64/init-first.c
2730         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2731         __vdso_clock_gettime and __vdso_getcpu.
2732
2733         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2734         time with __vdso_time.
2735
2736 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
2737
2738         * manual/lang.texi (size_t): Note types to which size_t may be
2739         equivalent with the GNU C Library, but do not describe when
2740         differences between them are significant.
2741
2742 2012-03-05  Andreas Jaeger  <aj@suse.de>
2743
2744         * sysdeps/i386/fpu/libm-test-ulps: Update.
2745
2746 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
2747
2748         [BZ #3976]
2749         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2750         (__ieee754_pow): Save and restore rounding mode and use
2751         round-to-nearest for main computations.
2752         * math/libm-test.inc (pow_test_tonearest): New function.
2753         (pow_test_towardzero): Likewise.
2754         (pow_test_downward): Likewise.
2755         (pow_test_upward): Likewise.
2756         (main): Call the new functions.
2757         * sysdeps/i386/fpu/libm-test-ulps: Update.
2758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2759
2760         [BZ #3976]
2761         * math/libm-test.inc (cosh_test_tonearest): New function.
2762         (cosh_test_towardzero): Likewise.
2763         (cosh_test_downward): Likewise.
2764         (cosh_test_upward): Likewise.
2765         (sinh_test_tonearest): Likewise.
2766         (sinh_test_towardzero): Likewise.
2767         (sinh_test_downward): Likewise.
2768         (sinh_test_upward): Likewise.
2769         (main): Call the new functions.
2770         * sysdeps/i386/fpu/libm-test-ulps: Update.
2771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2772
2773 2012-03-05  Tom de Vries  <tom@codesourcery.com>
2774
2775         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2776         default stack guard is set in last bytes.
2777         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2778
2779 2012-03-05  Kees Cook  <keescook@chromium.org>
2780
2781         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
2782
2783         [BZ #13656]
2784         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2785         possibly allocate from heap instead of stack.
2786         * stdio-common/bug-vfprintf-nargs.c: New file.
2787         * stdio-common/Makefile (tests): Add nargs overflow test.
2788
2789 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
2790
2791         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2792
2793 2012-03-03  Marek Polacek  <polacek@redhat.com>
2794
2795         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2796         * math/math_private.h: Likewise.
2797         * stdlib/tst-strtod.c: Likewise.
2798         * sysdeps/i386/i486/bits/atomic.h: Likewise.
2799         * sysdeps/x86_64/bits/atomic.h: Likewise.
2800
2801 2012-03-02  David S. Miller  <davem@davemloft.net>
2802
2803         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2804         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2805         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2806         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2807         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2808         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2809         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2810         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2811
2812 2012-03-02  Roland McGrath  <roland@hack.frob.com>
2813
2814         [BZ #13792]
2815         * manual/examples/README: New file, says the example source files
2816         can be used under GPL>=2.
2817         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2818         line containing just "*/".
2819         * manual/examples/add.c: Add copyright header (GPL>=2).
2820         * manual/examples/argp-ex1.c: Likewise.
2821         * manual/examples/argp-ex2.c: Likewise.
2822         * manual/examples/argp-ex3.c: Likewise.
2823         * manual/examples/argp-ex4.c: Likewise.
2824         * manual/examples/atexit.c: Likewise.
2825         * manual/examples/db.c: Likewise.
2826         * manual/examples/dir.c: Likewise.
2827         * manual/examples/dir2.c: Likewise.
2828         * manual/examples/execinfo.c: Likewise.
2829         * manual/examples/filecli.c: Likewise.
2830         * manual/examples/filesrv.c: Likewise.
2831         * manual/examples/fmtmsgexpl.c: Likewise.
2832         * manual/examples/genpass.c: Likewise.
2833         * manual/examples/inetcli.c: Likewise.
2834         * manual/examples/inetsrv.c: Likewise.
2835         * manual/examples/isockad.c: Likewise.
2836         * manual/examples/longopt.c: Likewise.
2837         * manual/examples/memopen.c: Likewise.
2838         * manual/examples/memstrm.c: Likewise.
2839         * manual/examples/mkfsock.c: Likewise.
2840         * manual/examples/mkisock.c: Likewise.
2841         * manual/examples/mygetpass.c: Likewise.
2842         * manual/examples/pipe.c: Likewise.
2843         * manual/examples/popen.c: Likewise.
2844         * manual/examples/rprintf.c: Likewise.
2845         * manual/examples/search.c: Likewise.
2846         * manual/examples/select.c: Likewise.
2847         * manual/examples/setjmp.c: Likewise.
2848         * manual/examples/sigh1.c: Likewise.
2849         * manual/examples/sigusr.c: Likewise.
2850         * manual/examples/stpcpy.c: Likewise.
2851         * manual/examples/strdupa.c: Likewise.
2852         * manual/examples/strftim.c: Likewise.
2853         * manual/examples/strncat.c: Likewise.
2854         * manual/examples/subopt.c: Likewise.
2855         * manual/examples/swapcontext.c: Likewise.
2856         * manual/examples/termios.c: Likewise.
2857         * manual/examples/testopt.c: Likewise.
2858         * manual/examples/testpass.c: Likewise.
2859         * manual/examples/timeval_subtract.c: Likewise.
2860
2861         [BZ #13792]
2862         * manual/time.texi (Elapsed Time): Move timeval_subtract example
2863         function to ...
2864         * manual/timeval_subtract.c.texi: ... here, new file.
2865
2866 2012-03-02  David S. Miller  <davem@davemloft.net>
2867
2868         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2869
2870 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
2871
2872         [BZ #3976]
2873         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2874         (__sin): Save and restore rounding mode and use round-to-nearest
2875         for all computations.
2876         (__cos): Save and restore rounding mode and use round-to-nearest
2877         for all computations.
2878         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2879         <fenv.h>.
2880         (tan): Save and restore rounding mode and use round-to-nearest for
2881         all computations.
2882         * math/libm-test.inc (cos_test_tonearest): New function.
2883         (cos_test_towardzero): Likewise.
2884         (cos_test_downward): Likewise.
2885         (cos_test_upward): Likewise.
2886         (sin_test_tonearest): Likewise.
2887         (sin_test_towardzero): Likewise.
2888         (sin_test_downward): Likewise.
2889         (sin_test_upward): Likewise.
2890         (tan_test_tonearest): Likewise.
2891         (tan_test_towardzero): Likewise.
2892         (tan_test_downward): Likewise.
2893         (tan_test_upward): Likewise.
2894         (main): Call the new functions.
2895         * sysdeps/i386/fpu/libm-test-ulps: Update.
2896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2897
2898         [BZ #10135]
2899         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2900         small n, then large n, before computing and testing k+n.
2901         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2902         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2903         Likewise.
2904         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2905         Likewise.
2906         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2907         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2908         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2909         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2910         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2911         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2912         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2913         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2914         * math/libm-test.inc (scalbn_test): Add more tests.
2915         (scalbln_test): Likewise.
2916
2917         * manual/filesys.texi (mode_t): Describe constraints on size and
2918         signedness, not exact equivalence to a particular type.
2919         (ino_t): Likewise.
2920         (ino64_t): Likewise.
2921         (dev_t): Likewise.
2922         (nlink_t): Likewise.
2923         (blkcnt_t): Likewise.
2924         (blkcnt64_t): Likewise.
2925         * manual/llio.texi (off_t): Likewise.
2926
2927         [BZ #3976]
2928         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2929         (__ieee754_exp): Save and restore rounding mode and use
2930         round-to-nearest for all computations.
2931         * math/libm-test.inc (exp_test_tonearest): New function.
2932         (exp_test_towardzero): Likewise.
2933         (exp_test_downward): Likewise.
2934         (exp_test_upward): Likewise.
2935         (main): Call the new functions.
2936         * sysdeps/i386/fpu/libm-test-ulps: Update.
2937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2938
2939 2012-03-01  Chris Demetriou  <cgd@google.com>
2940
2941         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2942         have predictable order.
2943
2944 2012-03-01  David S. Miller  <davem@davemloft.net>
2945
2946         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2947
2948         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2949         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2950         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2951         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2952
2953         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2954         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2955         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2956         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2957         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2958         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2959         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2960         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2961         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2962
2963         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2964
2965         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2966         * sysdeps/sparc/fpu/libm-test-ulps: to here.
2967         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2968
2969         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2970         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2971         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2972         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2973         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2974         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2975         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2976         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2977         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2978         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2979         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2980         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2981         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2982         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2983         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2984         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2985         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
2986         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
2987         * sysdeps/sparc/elf/configure: Regenerated.
2988
2989 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
2990
2991         * configure.in (AS, LD): Require binutils 2.20 or later.
2992         * configure: Regenerated.
2993         * manual/install.texi (Tools for Compilation): Give binutils 2.20
2994         as required minimum version.
2995         * INSTALL: Regenerated.
2996
2997         [BZ #2541]
2998         [BZ #4108]
2999         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
3000         before squaring exponent.
3001         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
3002         bottom long double and 27 bits of top long double before squaring
3003         exponent.
3004         * math/libm-test.inc (erfc_test): Add more tests.
3005         * sysdeps/i386/fpu/libm-test-ulps: Update.
3006         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3007         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3008
3009 2012-03-01  Kai Tietz  <ktietz@redhat.com>
3010
3011         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
3012         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
3013         containing bit-fields.
3014         * soft-fp/extended.h (_FP_UNION_E): Likewise.
3015         * soft-fp/single.h (_FP_UNION_S): Likewise.
3016         * soft-fp/double.h (_FP_UNION_D): Likewise.
3017
3018 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
3019
3020         [BZ #13786]
3021         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
3022         not include ../strcmp.S.
3023         [USE_AS_STRNCASECMP_L]: Likewise.
3024         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
3025         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
3026         * sysdeps/i386/i686/multiarch/strncase_l-c.c
3027         (__strncasecmp_l_ia32): Define as alias to
3028         __strncasecmp_l_nonascii.
3029
3030         [BZ #5794]
3031         * math/libm-test.inc (expm1_test): Add test for bug 5794.
3032         * sysdeps/i386/fpu/libm-test-ulps: Update.
3033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3034
3035         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
3036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3037
3038 2012-02-29  Jeff Law  <law@redhat.com>
3039
3040         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
3041         out of bounds read.
3042
3043 2012-02-29  Marek Polacek  <polacek@redhat.com>
3044
3045         [BZ #13706]
3046         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
3047         * elf/Makefile: Add rules to run tst-unused-dep.out.
3048
3049 2012-02-28  David S. Miller  <davem@davemloft.net>
3050
3051         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
3052         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
3053         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
3054         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
3055         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
3056         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
3057
3058 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
3059
3060         * math/libm-test.inc (llround_test): Move one test from
3061         lround_test.  Use TEST_f_L in moved test.
3062         (lround_test): Move misplaced test to llround_test.  Add testcase
3063         from bug 2561.
3064
3065 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
3066
3067         * sysdeps/x86_64/fpu/e_expf.S: New file.
3068         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
3069
3070 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
3071
3072         [BZ #13637]
3073         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
3074         of remain_len that may cause incomplete multi-byte character and
3075         false match.
3076         * posix/bug-regex33.c: New file.
3077         * posix/Makefile (tests): Add bug-regex33.
3078
3079 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
3080
3081         * manual/macros.texi: New file.
3082         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
3083         * manual/libc.texinfo: Include macros.texi.
3084         * manual/creatute.texi: Likewise.
3085         * manual/install.texi: Likewise.
3086         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
3087         @glibcadj{} in references to the GNU C Library.
3088         * manual/charset.texi: Likewise.
3089         * manual/conf.texi: Likewise.
3090         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
3091         when not using those macros.
3092         * manual/creature.texi: Likewise.
3093         * manual/crypt.texi: Likewise.
3094         * manual/errno.texi: Likewise.
3095         * manual/filesys.texi: Likewise.
3096         * manual/header.texi: Likewise.
3097         * manual/install.texi: Likewise.
3098         * manual/intro.texi: Likewise.
3099         * manual/io.texi: Likewise.
3100         * manual/job.texi: Likewise.
3101         * manual/lang.texi: Likewise.
3102         * manual/libc.texiinfo: Likewise.
3103         * manual/llio.texi: Likewise.
3104         * manual/locale.texi: Likewise.
3105         * manual/maint.texi: Likewise.
3106         * manual/math.texi: Likewise.
3107         * manual/memory.texi: Likewise.
3108         * manual/message.texi: Likewise.
3109         * manual/nss.texi: Likewise.
3110         * manual/pattern.texi: Likewise.
3111         * manual/process.texi: Likewise.
3112         * manual/resource.texi: Likewise.
3113         * manual/search.texi: Likewise.
3114         * manual/setjmp.texi: Likewise.
3115         * manual/signal.texi: Likewise.
3116         * manual/socket.texi: Likewise.
3117         * manual/startup.texi: Likewise.
3118         * manual/stdio.texi: Likewise.
3119         * manual/string.texi: Likewise.
3120         * manual/sysinfo.texi: Likewise.
3121         * manual/syslog.texi: Likewise.
3122         * manual/terminal.texi: Likewise.
3123         * manual/time.texi: Likewise.
3124         * manual/users.texi: Likewise.
3125         * INSTALL: Regenerated.
3126         * NOTES: Regenerated.
3127         * sysdeps/gnu/errlist.c: Regenerated.
3128
3129 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
3130
3131         * include/dirent.h: Include <dirstream.h> before
3132         <dirent/dirent.h>.
3133
3134 2012-02-28  David S. Miller  <davem@davemloft.net>
3135
3136         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
3137         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
3138         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
3139         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
3140
3141 2012-02-27  David S. Miller  <davem@davemloft.net>
3142
3143         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
3144         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
3145         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
3146         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
3147
3148         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
3149         frame pointer instead of stack pointer relative arg slot.
3150         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3151         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3152         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3153
3154 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
3155
3156         [BZ #3992]
3157         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
3158
3159 2012-02-27  David S. Miller  <davem@davemloft.net>
3160
3161         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
3162         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3163         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3164         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
3165         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3166         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3167         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
3168         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
3169
3170 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
3171
3172         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
3173         later.  Allow versions 5-9.
3174         * configure: Regenerated.
3175         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
3176         required minimum version and 4.6 as recommended version.  Do not
3177         mention bugs in GCC 2.7 and 2.8.
3178         * INSTALL: Regenerated.
3179
3180 2012-02-27  David S. Miller  <davem@davemloft.net>
3181
3182         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
3183         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
3184         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
3185         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
3186         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
3187         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
3188         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
3189         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
3190
3191         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
3192         manipulate bits before adding and subtracting TWO112[sx].
3193         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3194
3195 2012-02-27  Roland McGrath  <roland@hack.frob.com>
3196
3197         [BZ #13775]
3198         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
3199         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
3200         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
3201         being in POSIX, because they are in 1003.1-2008.
3202
3203         * rt/tst-aio.c: Include <fcntl.h>.
3204         * rt/tst-aio7.c: Likewise.
3205         * rt/tst-aio64.c: Likewise.
3206
3207         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
3208
3209 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
3210
3211         * manual/install.texi (--with-headers): Describe headers as
3212         interface headers, not private headers.
3213         (Specific advice for GNU/Linux systems): Describe use of headers
3214         from "make headers_install", not private headers from older
3215         kernels.
3216         * INSTALL: Regenerated.
3217         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
3218         Change to 2.6.19.
3219         * sysdeps/unix/sysv/linux/configure: Regenerated.
3220
3221         * manual/llio.texi (fclean): Remove documentation.
3222
3223         * manual/Makefile (libc-texi-generated): New variable.  Include
3224         version.texi.
3225         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
3226         $(libc-texi-generated), not duplicated list of files.
3227         (version.texi, stamp-version): New rules.
3228         (realclean): Remove $(libc-texi-generated), not individual files
3229         from that list.  Do not remove dir-add.texinfo.
3230         * manual/libc.texinfo: Comment out uses of edition numbers and
3231         references to printed manual.  Remove last-updated dates.
3232         (EDITION): Comment out.
3233         (ISBN): Likewise.
3234         (VERSION, UPDATED): Remove.
3235         (version.texi): Include.
3236
3237 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
3238
3239         * sysdeps/posix/spawni.c: Include <signal.h>.
3240         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
3241         * sysdeps/pthread/aio_fsync.c: Likewise.
3242
3243 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
3244
3245         * conform/Makefile (tests): Run only when not cross-compiling and
3246         when fast-check is not defined.
3247
3248         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
3249         * conform/data/limits.h-data: Fixes for POSIX2008.
3250         * conform/run-conformtest.sh: Run all tests.
3251         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
3252         headers.
3253         * include/bits/dlfcn.h: Likewise.
3254         * include/langinfo.h: Likewise.
3255         * include/monetary.h: Likewise.
3256         * include/sys/poll.h: Likewise.
3257
3258         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
3259         for __USE_GNU.
3260         * posix/spawn.h: Define __need_sigset_t.
3261         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
3262         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
3263         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
3264         to get sigevent_t only.
3265         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
3266         only for __USE_GNU.
3267         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3268         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
3269         process_vm_writev only for __USE_GNU.
3270         * termios/termios.h: Declare tcgetsid also for POSIX2008.
3271
3272         * conform/Makefile: For now ignore errors from run-conformtest.
3273         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
3274         POSIX to avoid namespace pollution.  Don't prepend headers.
3275         * conform/data/aio.h-data: Fixes for POSIX testing.
3276         * conform/data/fcntl.h-data: Likewise.
3277         * conform/data/glob.h-data: Likewise.
3278         * conform/data/grp.h-data: Likewise.
3279         * conform/data/pthread.h-data: Likewise.
3280         * conform/data/pwd.h-data: Likewise.
3281         * conform/data/signal.h-data: Likewise.
3282         * conform/data/spawn.h-data: Likewise.
3283         * conform/data/stdio.h-data: Likewise.
3284         * conform/data/stdlib.h-data: Likewise.
3285         * conform/data/stropts.h-data: Likewise.
3286         * conform/data/sys/mman.h-data: Likewise.
3287         * conform/data/sys/stat.h-data: Likewise.
3288         * conform/data/sys/types.h-data: Likewise.
3289         * conform/data/sys/wait.h-data: Likewise.
3290         * conform/data/time.h-data: Likewise.
3291         * conform/data/unistd.h-data: Likewise.
3292         * conform/data/utime.h-data: Likewise.
3293
3294         * io/sys/stat.h: fchmod was always in POSIX.
3295         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
3296         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
3297         * rt/aio.h: Define __need_timespec before including <time.h>.
3298         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
3299         struct.  Add forward declaration of pthread_attr_t and use it in
3300         sigevent.
3301         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
3302         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3303         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
3304         always remove CLK_TCK definition.
3305
3306 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
3307
3308         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
3309
3310 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
3311
3312         * conform/run-conformtest.sh: New file.
3313         * conform/Makefile: Run run-conformtest for tests.
3314         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
3315         support.
3316
3317         * conform/data/uchar.h-data: New file.
3318         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
3319         * conform/data/arpa/inet.h-data: Likewise.
3320         * conform/data/assert.h-data: Likewise.
3321         * conform/data/complex.h-data: Likewise.
3322         * conform/data/cpio.h-data: Likewise.
3323         * conform/data/ctype.h-data: Likewise.
3324         * conform/data/dirent.h-data: Likewise.
3325         * conform/data/dlfcn.h-data: Likewise.
3326         * conform/data/errno.h-data: Likewise.
3327         * conform/data/fcntl.h-data: Likewise.
3328         * conform/data/float.h-data: Likewise.
3329         * conform/data/fmtmsg.h-data: Likewise.
3330         * conform/data/fnmatch.h-data: Likewise.
3331         * conform/data/ftw.h-data: Likewise.
3332         * conform/data/glob.h-data: Likewise.
3333         * conform/data/grp.h-data: Likewise.
3334         * conform/data/iconv.h-data: Likewise.
3335         * conform/data/inttypes.h-data: Likewise.
3336         * conform/data/langinfo.h-data: Likewise.
3337         * conform/data/libgen.h-data: Likewise.
3338         * conform/data/limits.h-data: Likewise.
3339         * conform/data/locale.h-data: Likewise.
3340         * conform/data/math.h-data: Likewise.
3341         * conform/data/monetary.h-data: Likewise.
3342         * conform/data/mqueue.h-data: Likewise.
3343         * conform/data/ndbm.h-data: Likewise.
3344         * conform/data/net/if.h-data: Likewise.
3345         * conform/data/netdb.h-data: Likewise.
3346         * conform/data/netinet/in.h-data: Likewise.
3347         * conform/data/nl_types.h-data: Likewise.
3348         * conform/data/poll.h-data: Likewise.
3349         * conform/data/pthread.h-data: Likewise.
3350         * conform/data/pwd.h-data: Likewise.
3351         * conform/data/regex.h-data: Likewise.
3352         * conform/data/sched.h-data: Likewise.
3353         * conform/data/search.h-data: Likewise.
3354         * conform/data/semaphore.h-data: Likewise.
3355         * conform/data/setjmp.h-data: Likewise.
3356         * conform/data/signal.h-data: Likewise.
3357         * conform/data/spawn.h-data: Likewise.
3358         * conform/data/stdarg.h-data: Likewise.
3359         * conform/data/stdio.h-data: Likewise.
3360         * conform/data/stdlib.h-data: Likewise.
3361         * conform/data/string.h-data: Likewise.
3362         * conform/data/strings.h-data: Likewise.
3363         * conform/data/stropts.h-data: Likewise.
3364         * conform/data/sys/ipc.h-data: Likewise.
3365         * conform/data/sys/mman.h-data: Likewise.
3366         * conform/data/sys/msg.h-data: Likewise.
3367         * conform/data/sys/resource.h-data: Likewise.
3368         * conform/data/sys/select.h-data: Likewise.
3369         * conform/data/sys/sem.h-data: Likewise.
3370         * conform/data/sys/shm.h-data: Likewise.
3371         * conform/data/sys/socket.h-data: Likewise.
3372         * conform/data/sys/stat.h-data: Likewise.
3373         * conform/data/sys/statvfs.h-data: Likewise.
3374         * conform/data/sys/time.h-data: Likewise.
3375         * conform/data/sys/timeb.h-data: Likewise.
3376         * conform/data/sys/times.h-data: Likewise.
3377         * conform/data/sys/types.h-data: Likewise.
3378         * conform/data/sys/uio.h-data: Likewise.
3379         * conform/data/sys/un.h-data: Likewise.
3380         * conform/data/sys/utsname.h-data: Likewise.
3381         * conform/data/sys/wait.h-data: Likewise.
3382         * conform/data/syslog.h-data: Likewise.
3383         * conform/data/tar.h-data: Likewise.
3384         * conform/data/termios.h-data: Likewise.
3385         * conform/data/utime.h-data: Likewise.
3386         * conform/data/utmpx.h-data: Likewise.
3387         * conform/data/varargs.h-data: Likewise.
3388         * conform/data/wchar.h-data: Likewise.
3389         * conform/data/wctype.h-data: Likewise.
3390         * conform/data/wordexp.h-data: Likewise.
3391
3392         * include/stropts.h: New file.
3393         * include/uchar.h: New file.
3394         * include/aio.h: Changes to allow conformtest.pl to use the headers.
3395         * include/assert.h: Likewise.
3396         * include/ctype.h: Likewise.
3397         * include/dirent.h: Likewise.
3398         * include/dlfcn.h: Likewise.
3399         * include/fcntl.h: Likewise.
3400         * include/fnmatch.h: Likewise.
3401         * include/glob.h: Likewise.
3402         * include/grp.h: Likewise.
3403         * include/libio.h: Likewise.
3404         * include/locale.h: Likewise.
3405         * include/math.h: Likewise.
3406         * include/net/if.h: Likewise.
3407         * include/netdb.h: Likewise.
3408         * include/netinet/in.h: Likewise.
3409         * include/pthread.h: Likewise.
3410         * include/pwd.h: Likewise.
3411         * include/regex.h: Likewise.
3412         * include/sched.h: Likewise.
3413         * include/search.h: Likewise.
3414         * include/setjmp.h: Likewise.
3415         * include/signal.h: Likewise.
3416         * include/stdio.h: Likewise.
3417         * include/stdlib.h: Likewise.
3418         * include/string.h: Likewise.
3419         * include/sys/cdefs.h: Likewise.
3420         * include/sys/mman.h: Likewise.
3421         * include/sys/msg.h: Likewise.
3422         * include/sys/resource.h: Likewise.
3423         * include/sys/select.h: Likewise.
3424         * include/sys/socket.h: Likewise.
3425         * include/sys/stat.h: Likewise.
3426         * include/sys/statvfs.h: Likewise.
3427         * include/sys/time.h: Likewise.
3428         * include/sys/times.h: Likewise.
3429         * include/sys/uio.h: Likewise.
3430         * include/sys/utsname.h: Likewise.
3431         * include/sys/wait.h: Likewise.
3432         * include/termios.h: Likewise.
3433         * include/time.h: Likewise.
3434         * include/ulimit.h: Likewise.
3435         * include/unistd.h: Likewise.
3436         * include/utime.h: Likewise.
3437         * include/wchar.h: Likewise.
3438         * include/wctype.h: Likewise.
3439         * include/wordexp.h: Likewise.
3440
3441         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
3442
3443         * time/time.h: TIME_UTC must be a macro.
3444         Make timespec_get available for ISO C11 only as well.
3445
3446 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
3447
3448         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
3449         Reported by Peng Haitao <penght@cn.fujitsu.com>.
3450
3451 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
3452
3453         * configure.in: Use -o not -a in test for unsupported multi-arch.
3454
3455 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
3456
3457         * manual/texinfo.tex: Update to version 2012-01-19.16.
3458
3459 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
3460
3461         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
3462
3463 2012-02-24  Roland McGrath  <roland@hack.frob.com>
3464
3465         [BZ #13738]
3466         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
3467         * manual/fdl-1.3.texi: New file.
3468         * manual/fdl-1.1.texi: File removed.
3469
3470         [BZ #13738]
3471         * manual/libc.texinfo (FDL_VERSION): New @set.
3472         Use it for mention of FDL in cover text.
3473         (Documentation License): Use it in @include file name.
3474
3475 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3476             Roland McGrath  <roland@hack.frob.com>
3477
3478         [BZ #5461]
3479         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
3480         not LONG_LONG_MAX and LONG_LONG_MIN.
3481         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
3482         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
3483         name.
3484         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
3485
3486 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3487
3488         [BZ #2547]
3489         [BZ #11365]
3490         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
3491         manipulate bits before adding and subtracting TWO23[sx].
3492         * math/libm-test.inc (nearbyint_test): Add more tests.
3493
3494 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3495
3496         [BZ #2548]
3497         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
3498         bits before adding and subtracting TWO23[sx].
3499         * math/libm-test.inc (rint_test): Add more tests.
3500         (rint_test_tonearest): Likewise.
3501         (rint_test_towardzero): Likewise.
3502         (rint_test_downward): Likewise.
3503         (rint_test_upward: Likewise.
3504
3505 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3506
3507         [BZ #10110]
3508         * include/stdc-predef.h: New file.  Extracted from features.h.
3509         * include/features.h: Include stdc-predef.h.
3510         * Makefile (headers): Add stdc-predef.h.
3511         * CONFORMANCE (Compiler limitations): Update.
3512
3513 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3514
3515         * manual/libc.texinfo (VERSION, UPDATED): Revert.
3516
3517 2012-02-21  David S. Miller  <davem@davemloft.net>
3518
3519         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
3520         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3521
3522 2012-02-20  David S. Miller  <davem@davemloft.net>
3523
3524         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
3525         using a normal save/restore sequence, rather than allocating a
3526         dummy stack frame just to store a frame pointer and restore.
3527         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3528
3529 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
3530
3531         * manual/install.texi: Fix stray word in line-wrapped comment.
3532
3533 2012-02-20  David S. Miller  <davem@davemloft.net>
3534
3535         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
3536         both binutils and gcc support GOTDATA.
3537
3538         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
3539         "rd %pc" in the PIC register setup sequences.
3540
3541         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
3542         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3543         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3544         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3545         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3546         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3547         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3548         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3549         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
3550         (SYSCALL_ERROR_HANDLER): Likewise.
3551         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3552         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3553         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
3554         (SYSCALL_ERROR_HANDLER): Likewise.
3555
3556         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
3557         (HAVE_GCC_GOTDATA): New.
3558         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
3559         relocation support in both binutils and gcc.
3560         * sysdeps/sparc/elf/configure: Regenerate.
3561
3562         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
3563         * sysdeps/sparc/sparc32/elf/configure: Delete.
3564         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
3565         * sysdeps/sparc/sparc64/elf/configure: Delete.
3566         * sysdeps/sparc/elf/configure.in: New file.
3567         * sysdeps/sparc/elf/configure: Generate.
3568
3569         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
3570         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
3571         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
3572         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
3573         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
3574
3575 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
3576
3577         * manual/install.texi: Do not mention specific glibc version
3578         numbers.
3579         * manual/libc.texinfo (VERSION, UPDATED): Update.
3580         (@copying): Use @copyright{} and range of years.
3581
3582 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
3583
3584         [BZ #13695]
3585         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
3586         [crti.S not in sysdirs] (generated): Do not append.
3587         [crti.S not in sysdirs] (omit-deps): Likewise.
3588         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
3589         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
3590         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
3591         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
3592         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
3593         Likewise.
3594         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
3595         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
3596         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
3597         * csu/defs.awk: Remove file.
3598         * sysdeps/generic/initfini.c: Likewise.
3599         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
3600         variable.
3601         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
3602         Likewise.
3603
3604 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
3605
3606         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
3607         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
3608         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
3609         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
3610         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3611         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
3612         <bits/epoll.h>.
3613         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
3614         (__EPOLL_PACKED): Define to empty if not defined by
3615         <bits/epoll.h>.
3616         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
3617         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3618         bits/epoll.h.
3619
3620 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
3621
3622         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
3623         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
3624         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
3625         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
3626         <bits/timerfd.h>.
3627         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
3628         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3629         bits/timerfd.h.
3630
3631 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
3632
3633         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
3634         in C locale.
3635         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3636         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3637         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3639
3640 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
3641
3642         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3643         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3644
3645 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
3646
3647         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
3648         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
3649         defined.
3650         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
3651         Likewise.
3652         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
3653         entry for 2.16.
3654
3655 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
3656
3657         * math/w_acos.c: Use non-signaling floating-point comparisons.
3658         * math/w_acosf.c: Likewise.
3659         * math/w_acosh.c: Likewise.
3660         * math/w_acoshf.c: Likewise.
3661         * math/w_acoshl.c: Likewise.
3662         * math/w_acosl.c: Likewise.
3663         * math/w_asin.c: Likewise.
3664         * math/w_asinf.c: Likewise.
3665         * math/w_asinl.c: Likewise.
3666         * math/w_atanh.c: Likewise.
3667         * math/w_atanhf.c: Likewise.
3668         * math/w_atanhl.c: Likewise.
3669         * math/w_exp2.c: Likewise.
3670         * math/w_exp2f.c: Likewise.
3671         * math/w_exp2l.c: Likewise.
3672         * math/w_j0.c: Likewise.
3673         * math/w_j0f.c: Likewise.
3674         * math/w_j0l.c: Likewise.
3675         * math/w_j1.c: Likewise.
3676         * math/w_j1f.c: Likewise.
3677         * math/w_j1l.c: Likewise.
3678         * math/w_jn.c: Likewise.
3679         * math/w_jnf.c: Likewise.
3680         * math/w_log.c: Likewise.
3681         * math/w_log10.c: Likewise.
3682         * math/w_log10f.c: Likewise.
3683         * math/w_log10l.c: Likewise.
3684         * math/w_log2.c: Likewise.
3685         * math/w_log2f.c: Likewise.
3686         * math/w_log2l.c: Likewise.
3687         * math/w_logf.c: Likewise.
3688         * math/w_logl.c: Likewise.
3689         * math/w_sqrt.c: Likewise.
3690         * math/w_sqrtf.c: Likewise.
3691         * math/w_sqrtl.c: Likewise.
3692         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3693         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3694         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3695         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3696         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3697
3698 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
3699
3700         [BZ #9739]
3701         * manual/string.texi (strnlen): Use correct parameter name in
3702         equivalent expression.
3703
3704 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
3705
3706         [BZ #11174]
3707         * manual/users.texi (seteuid): Consistently use neweuid for
3708         argument name.
3709
3710 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
3711
3712         [BZ #13704]
3713         * manual/nss.texi (Services in the NSS configuration): Correct
3714         list of services in example configuration file.
3715
3716 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
3717
3718         [BZ #11322]
3719         * manual/arith.texi: Remove statements about negative zero
3720         behaving identically to zero.
3721
3722 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
3723
3724         [BZ #5993]
3725         * manual/install.texi: Do not document upgrading from libc5.
3726
3727 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
3728
3729         [BZ #4596]
3730         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3731
3732 2012-02-18  David S. Miller  <davem@davemloft.net>
3733
3734         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3735         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3736         %o7 across the call.
3737         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3738         instead.
3739         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3740         SETUP_PIC_REG_LEAF.
3741         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3742         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3743         * sysdeps/sparc/crtn.S: Likewise.
3744
3745 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
3746
3747         * aout/Makefile: Remove.
3748
3749 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
3750
3751         [BZ #13058]
3752         * manual/examples/argp-ex1.c (main): Format definition in GNU
3753         style.
3754         * manual/examples/argp-ex2.c (main): Likewise.
3755         * manual/examples/argp-ex3.c (main): Likewise.
3756         * manual/examples/argp-ex4.c (main): Likewise.
3757         * manual/examples/longopt.c (main): Use new-style prototype
3758         definition.
3759         * manual/examples/strncat.c (main): Specify return type and use
3760         (void) for arguments.
3761         * manual/examples/subopt.c (main): Use char **argv argument.
3762
3763 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
3764
3765         [BZ #5077]
3766         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3767         rounding modes.
3768
3769 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
3770
3771         [BZ #6907]
3772         * manual/string.texi (strchr): Change when strchrnul is
3773         recommended.
3774
3775 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
3776
3777         [BZ #174]
3778         * manual/locale.texi (setlocale): Document LOCPATH.
3779
3780 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
3781
3782         [BZ #10210]
3783         * manual/process.texi (execle): Move @dots{} before last argument.
3784
3785 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
3786
3787         [BZ #12047]
3788         * manual/charset.texi (Generic Charset Conversion): Fix typo
3789         (LC_TYPE -> LC_CTYPE).
3790
3791 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
3792
3793         [BZ #5805]
3794         * manual/arith.texi (scalbn): Use @var{} on parameter names.
3795         (scalbnf): Likewise.
3796         (scalbnl): Likewise.
3797         (scalbln): Likewise.
3798         (scalblnf): Likewise.
3799         (scalblnl): Likewise.
3800         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3801         (vwarnx): Likewise.
3802         (verr): Likewise.
3803         (verrx): Likewise.
3804         * manual/filesys.texi (telldir): Use braces around return type.
3805         * manual/llio.texi (mmap): Add space after comma.
3806         (mmap64): Likewise.
3807         * manual/math.texi (jn): Use @var{} on parameter names.
3808         (jnf): Likewise.
3809         (jnl): Likewise.
3810         (yn): Likewise.
3811         (ynf): Likewise.
3812         (ynl): Likewise.
3813         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3814         line.
3815         * manual/resource.texi (ulimit): Use @dots{} instead of literal
3816         "...".
3817         (sched_get_priority_min): Remove semicolon on @deftypefun line.
3818         (sched_get_priority_max): Likewise.
3819         * manual/signal.texi (sigvec): Add space after comma.
3820         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3821         names.
3822         (if_indextoname): Likewise.
3823         (if_freenameindex): Likewise.
3824         (sendto): Use ',' instead of '.' in prototype.
3825         * manual/startup.texi (syscall): Use @dots{} instead of literal
3826         "...".
3827         * manual/stdio.texi (__fpending): Separate initial words of
3828         paragraph from @deftypefun line.
3829         * manual/syslog.texi (syslog): Use @dots{} instead of literal
3830         "...".
3831         (vsyslog): Use @var{} on parameter names.
3832         * manual/terminal.texi (stty): Use @var{} on parameter names.
3833         * manual/users.texi (getutmp): Use @var{} on parameter names.
3834         (getutmpx): Likewise.
3835
3836 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
3837
3838         [BZ #6884]
3839         * manual/stdio.texi (fopen): Fix typos in description of
3840         ",ccs=STRING".
3841
3842 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
3843
3844         [BZ #4026]
3845         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3846         get clock_id definition.
3847
3848 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
3849
3850         [BZ #4822]
3851         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3852         (madvise): Cast every argument to void on its own.
3853
3854 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
3855
3856         [BZ #9902]
3857         * manual/startup.texi (Exit Status): Fix typo.
3858
3859 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
3860
3861         [BZ #10140]
3862         * manual/examples/argp-ex1.c: Include <stdlib.h>.
3863         * manual/examples/argp-ex2.c: Likewise.
3864         * manual/examples/argp-ex3.c: Likewise.
3865
3866 2012-02-16  Richard Henderson  <rth@redhat.com>
3867
3868         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3869         * sysdeps/s390/s390-32/initfini.c: Remove.
3870         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3871         * sysdeps/s390/s390-64/initfini.c: Remove.
3872
3873 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3874
3875         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3876         compiler output for sysdeps/generic/initfini.c.
3877         * sysdeps/sh/elf/initfini.c: Remove file.
3878
3879 2012-02-16  David S. Miller  <davem@davemloft.net>
3880
3881         [BZ #11494]
3882         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3883
3884         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3885         * sysdeps/sparc/crti.S: New file.
3886         * sysdeps/sparc/crtn.S: New file.
3887         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3888         * sysdeps/sparc/sparc64/Makefile: Likewise.
3889
3890 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
3891
3892         [BZ #3335]
3893         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3894
3895 2012-02-15  Roland McGrath  <roland@hack.frob.com>
3896
3897         [BZ #4822]
3898         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3899
3900         * mach/devstream.c (cookie_io_functions_t): Macro removed.
3901         (write, read, close): Likewise.
3902         Patch by Aurelien Jarno <aurelien@aurel32.net>.
3903
3904 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
3905
3906         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3907         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3908         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3909         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3910         <bits/signalfd.h>.
3911         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3912         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3913         bits/signalfd.h.
3914
3915 2012-02-14  Marek Polacek  <polacek@redhat.com>
3916
3917         * sysdeps/x86_64/crti.S: New file.
3918         * sysdeps/x86_64/crtn.S: New file.
3919         * sysdeps/x86_64/elf/initfini.c: Remove file.
3920
3921 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
3922
3923         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3924         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3925         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3926         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3927         <bits/inotify.h>.
3928         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3929         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3930         bits/inotify.h.
3931
3932 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
3933
3934         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3935         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3936         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3937         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3938         <bits/eventfd.h>.
3939         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3940         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3941         bits/eventfd.h.
3942
3943 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
3944
3945         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3946         __feraiseexcept instead of feraiseexcept.
3947
3948         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3949         nanosleep invocations.
3950         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3951         strings, and add error checking for a nanosleep invocations.
3952
3953 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
3954
3955         Replace FSF snail mail address with URLs, as per GNU coding standards.
3956         Most of the snail mail addresses were wrong anyway, and omitting
3957         them makes the source code easier to maintain.  Almost all of the
3958         changes are to license notices and to locale LC_IDENTIFICATION
3959         addresses, except for this one:
3960         * manual/libc.texinfo: In "Published by", give the FSF's URL,
3961         not its snail mail address.
3962
3963 2012-02-09  Richard Henderson  <rth@twiddle.net>
3964
3965         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3966         of kernel-features.h.
3967
3968         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3969
3970 2012-02-08  Marek Polacek  <polacek@redhat.com>
3971
3972         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
3973         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
3974         * sysdeps/gnu/_G_config.h: Likewise.
3975         * sysdeps/generic/_G_config.h: Likewise.
3976
3977 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
3978
3979         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
3980         tests.
3981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3982
3983         * sysdeps/powerpc/powerpc32/crti.S: New file.
3984         * sysdeps/powerpc/powerpc32/crtn.S: New file.
3985         * sysdeps/powerpc/powerpc64/crti.S: New file.
3986         * sysdeps/powerpc/powerpc64/crtn.S: New file.
3987
3988         * Makeconfig (have-initfini): Don't set.
3989         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
3990         * configure.in (nopic_initfini): Don't substitute.
3991         * config.h.in (HAVE_INITFINI): Don't #undef.
3992         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
3993         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
3994
3995 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
3996
3997         Support crti.S and crtn.S provided directly by architectures.
3998         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
3999         [crti.S in sysdirs] (omit-deps): Likewise.
4000         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
4001         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
4002         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
4003         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
4004         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
4005         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
4006         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
4007         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
4008         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
4009         compiler output for sysdeps/generic/initfini.c.
4010         * sysdeps/i386/elf/Makefile: Remove file.
4011         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
4012
4013 2012-02-07  Marek Polacek  <polacek@redhat.com>
4014
4015         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
4016         * sysdeps/gnu/_G_config.h: Likewise.
4017         * sysdeps/mach/hurd/_G_config.h: Likewise.
4018
4019 2012-02-07  Marek Polacek  <polacek@redhat.com>
4020
4021         * math/Makefile (tests): Add tst-CMPLX2.
4022         * math/tst-CMPLX2.c: New file.
4023
4024 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
4025
4026         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4027
4028         * math/libm-test.inc (jn_test): Add missing L suffix.
4029
4030 2012-02-06  Marek Polacek  <polacek@redhat.com>
4031
4032         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
4033         * sysdeps/i386/fpu/e_powf.S: Likewise.
4034         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4035         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4036         * sysdeps/i386/fpu/e_acosh.S: Likewise.
4037         * sysdeps/i386/fpu/e_pow.S: Likewise.
4038         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4039         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4040         * sysdeps/i386/fpu/s_expm1.S: Likewise.
4041         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4042         * sysdeps/i386/fpu/e_log2.S: Likewise.
4043         * sysdeps/i386/fpu/e_log2l.S: Likewise.
4044         * sysdeps/i386/fpu/e_scalb.S: Likewise.
4045         * sysdeps/i386/fpu/e_powl.S: Likewise.
4046         * sysdeps/i386/fpu/s_log1p.S: Likewise.
4047         * sysdeps/i386/fpu/e_log10f.S: Likewise.
4048         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4049         * sysdeps/i386/fpu/e_logl.S: Likewise.
4050         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4051         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
4052         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4053         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4054         * sysdeps/i386/fpu/e_log2f.S: Likewise.
4055         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4056         * sysdeps/i386/fpu/e_log.S: Likewise.
4057         * sysdeps/i386/fpu/s_cexp.S: Likewise.
4058         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4059         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
4060         * sysdeps/i386/fpu/e_logf.S: Likewise.
4061         * sysdeps/i386/fpu/e_log10l.S: Likewise.
4062         * sysdeps/i386/fpu/e_atanh.S: Likewise.
4063         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
4064         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4065         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4066         * sysdeps/i386/fpu/e_log10.S: Likewise.
4067         * sysdeps/i386/fpu/s_frexp.S: Likewise.
4068         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4069         * sysdeps/i386/fpu/s_asinh.S: Likewise.
4070         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4071         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4072         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4073         * sysdeps/i386/asm-syntax.h: Likewise.
4074         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4075         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4076         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4077         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
4078         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
4079         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4080         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4081         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4082         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4083         * sysdeps/powerpc/sysdep.h: Likewise.
4084         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
4085         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4086
4087 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
4088
4089         [BZ #411]
4090         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
4091
4092 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
4093
4094         * sysdeps/i386/sysdep.h: Include <features.h>.
4095         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
4096         version.
4097
4098 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
4099
4100         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
4101         Define.
4102         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
4103         LOAD_PIC_REG_STR.
4104
4105 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
4106
4107         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
4108         (SETUP_PIC_REG): Use GET_PC_THUNK.
4109         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
4110         macro.
4111
4112 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
4113
4114         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
4115         for non-PIC compilation.
4116         (SETUP_PIC_REG): Add .p2align directive.
4117         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
4118         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4119         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4120         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4121         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4122         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4123         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4124         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4125         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4126         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4127         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4128         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4129         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4130         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4131         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4132         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4133         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4134         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4135         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4136         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4137         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4138         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4139         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4140         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4141         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4142         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4143         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4144         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4145         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4146         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4147         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4148         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4149         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4150         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4151         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4152         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4153         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4154         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4155         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4156         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4157         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4158
4159 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
4160
4161         * math/tst-CMPLX.c: Include <stdio.h>.
4162
4163 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
4164
4165         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
4166         float.
4167         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4168         * sysdeps/sparc/bits/mathdef.h: Likewise.
4169
4170 2012-01-31  Marek Polacek  <polacek@redhat.com>
4171
4172         * libio/libio.h: Don't define _PARAMS.
4173         * locale/programs/config.h: Don't define PARAMS.
4174         * stdlib/strtol_l.c: Likewise.
4175         (__strtol_l): Remove PARAMS from the prototype.
4176
4177 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
4178
4179         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
4180         names.  Just use the correct names.  Remove unnecessary wrapper
4181         functions.
4182         * malloc/arena.c: Likewise.
4183         * malloc/hooks.c: Likewise.
4184
4185         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
4186         ARENA_TEST says not to.  Simplify test for creation of a new arena.
4187         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
4188
4189 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
4190
4191         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
4192         into tail calls.
4193         (update_get_addr): New function.
4194         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
4195         GET_ADDR_MODULE parameter.
4196
4197 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
4198
4199         * crypt/cert.c: Remove __STDC__ conditionals.
4200         * crypt/crypt-entry.c: Likewise.
4201         * crypt/crypt_util.c: Likewise.
4202         * libio/filedoalloc.c: Likewise.
4203         * libio/fileops.c: Likewise.
4204         * libio/genops.c: Likewise.
4205         * libio/iofclose.c: Likewise.
4206         * libio/iofdopen.c: Likewise.
4207         * libio/iofopen.c: Likewise.
4208         * libio/iofopen64.c: Likewise.
4209         * libio/iogetdelim.c: Likewise.
4210         * libio/iopopen.c: Likewise.
4211         * libio/obprintf.c: Likewise.
4212         * libio/oldfileops.c: Likewise.
4213         * libio/oldiofclose.c: Likewise.
4214         * libio/oldiofdopen.c: Likewise.
4215         * libio/oldiofopen.c: Likewise.
4216         * libio/oldiopopen.c: Likewise.
4217         * libio/wfiledoalloc.c: Likewise.
4218         * libio/wgenops.c: Likewise.
4219         * locale/programs/xmalloc.c: Likewise.
4220         * misc/syslog.c: Likewise.
4221         * stdio-common/xbug.c: Likewise.
4222         * string/memchr.c: Likewise.
4223         * string/memcmp.c: Likewise.
4224         * string/memrchr.c: Likewise.
4225         * string/rawmemchr.c: Likewise.
4226         * sysdeps/posix/getcwd.c: Likewise.
4227         * time/strftime_l.c: Likewise.
4228
4229 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
4230
4231         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
4232         * config.make.in (config-cflags-sse2avx): Define.
4233         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
4234         Fix typo.
4235
4236 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
4237
4238         * scripts/config.guess: Update from upstream config git repository.
4239         * scripts/config.sub: Likewise.
4240
4241 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
4242
4243         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
4244         (EM_NUM): Update.
4245         (R_TILEPRO_*, R_TILEGX_*): New macros.
4246
4247         * scripts/firstversions.awk: Fix bug in version range handling.
4248
4249         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
4250
4251         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
4252
4253         * include/sys/epoll.h: New file.
4254         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
4255         libc_hidden_def.
4256
4257 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
4258
4259         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
4260         Avoid unnecessary __WORDSIZE == 64 test.
4261         (fmaxf): Use VEX format if possible.
4262         (fmax): Likewise.
4263         (fminf): Likewise.
4264         (fmin): Likewise.
4265
4266         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
4267         * math/math_private.h: Remove libc_fegetround* and
4268         libc_fesetround*.
4269         * sysdeps/i386/configure.in: Check for -msse2avx.
4270         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
4271         also if SSE2AVX is defined.
4272         Remove libc_fegetround* and libc_fesetround*.
4273         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
4274         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
4275         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
4276         of HAS_YMM_USABLE.
4277         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4278         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4279         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4280         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4281         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4282
4283         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
4284
4285 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4286
4287         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
4288         size is not set.
4289         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
4290
4291 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
4292
4293         [BZ #13618]
4294         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
4295         relocation.
4296         * Makeconfig (libm): Define.
4297         * elf/Makefile: Add rules to build and run tst-relsort1.
4298         * elf/tst-relsort1.c: New file.
4299         * elf/tst-relsort1mod1.c: New file.
4300         * elf/tst-relsort1mod2.c: New file.
4301
4302 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
4303
4304         * math/s_ldexp.c: Remove __STDC__ conditionals.
4305         * math/s_ldexpf.c: Likewise.
4306         * math/s_ldexpl.c: Likewise.
4307         * math/s_nextafter.c: Likewise.
4308         * math/s_nexttowardf.c: Likewise.
4309         * math/s_significand.c: Likewise.
4310         * math/s_significandf.c: Likewise.
4311         * math/s_significandl.c: Likewise.
4312         * math/w_jnl.c: Likewise.
4313         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4314         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4315         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4316         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4317         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4318         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4319         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
4320         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4321         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4322         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4323         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4324         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4325         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4326         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4327         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4328         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4329         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4330         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4331         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4332         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4333         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4334         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4335         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4336         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4337         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4338         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4339         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4340         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4341         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4342         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4343         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4344         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4345         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4346         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4347         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4348         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4349         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4350         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4351         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4352         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4353         * sysdeps/ieee754/k_standard.c: Likewise.
4354         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4355         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4356         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4357         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4358         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4359         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4360         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4361         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4362         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4363         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4364         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4365         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4366         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4367         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4368         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4369         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4370         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4371         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4372         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4373         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4374         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4375         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4376         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4377         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4378         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4379         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4380         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4381         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4382         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4383         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4384         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4385         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
4386         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4387         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4388         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4389         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4390         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
4391         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4392         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4393         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
4394         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
4395         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4396         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4397         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
4398         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4399         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4400         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4401         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4402         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4403         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4404         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
4405         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4406         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4407         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4408         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4409         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4410         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
4411         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4412         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4413         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4414         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4415         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4416         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4417         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4418         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4419         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4420         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4421         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4422         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4423         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4424         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4425         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4426         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4427         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4428         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4429         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4430         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4431         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4432         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4433         * sysdeps/ieee754/s_matherr.c: Likewise.
4434         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4435         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4436         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4437         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4438
4439 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
4440
4441         * crypt/md5.h: Remove __STDC__ conditionals.
4442         * libio/libioP.h: Likewise.
4443         * locale/programs/config.h: Likewise.
4444         * sysdeps/generic/sysdep.h: Likewise.
4445         * sysdeps/i386/asm-syntax.h: Likewise.
4446         * sysdeps/s390/asm-syntax.h: Likewise.
4447         * sysdeps/unix/sysdep.h: Likewise.
4448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4450
4451 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
4452
4453         * libio/libio.h: Remove __STDC__ conditionals.
4454         * malloc/obstack.h: Likewise.
4455         * math/complex.h: Likewise.
4456         * math/math.h: Likewise.
4457         * sysdeps/generic/_G_config.h: Likewise.
4458         * sysdeps/gnu/_G_config.h: Likewise.
4459         * sysdeps/mach/hurd/_G_config.h: Likewise.
4460         * sysdeps/powerpc/bits/mathdef.h: Likewise.
4461         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4462         * sysdeps/sparc/bits/mathdef.h: Likewise.
4463
4464 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
4465
4466         [BZ #13583]
4467         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
4468         Clean up HAS_* macros.
4469         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
4470         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
4471         possible.
4472         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
4473         HAS_AVX.
4474         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4475         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4476         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4477         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4478         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4479
4480 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
4481
4482         * elf/tst-unique3.cc (gets): Remove declaration.
4483         * elf/tst-unique3lib.cc (gets): Likewise.
4484         * elf/tst-unique3lib2.cc (gets): Likewise.
4485         * elf/tst-unique4.cc (gets): Likewise.
4486
4487 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
4488
4489         * include/stdio.h: Add C++ protection.  Add gets declarations and
4490         definitions.
4491         * debug/tst-chk1.c: Don't declare gets here.
4492         * stdio-common/tst-gets.c: Likewise.
4493
4494 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
4495
4496         * posix/glob: Remove directory.
4497
4498 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
4499
4500         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
4501
4502 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
4503
4504         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
4505         of the non-standard EPFNOSUPPORT.
4506
4507 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4508
4509         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
4510         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
4511         ANYWHERE set to 1 only on KERN_NO_SPACE error.
4512
4513 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
4514
4515         * wcsmbs/uchar.h: Test __STDC_VERSION__.
4516
4517 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
4518
4519         * nscd/aicache.c (addhstaiX): Do not cache negative results of
4520         transient errors.
4521         * nscd/grpcache.c (cache_addgr): Likewise.
4522         * nscd/hstcache.c (cache_addhst): Likewise.
4523         * nscd/initgrcache.c (addinitgroupsX): Likewise.
4524         * nscd/pwdcache.c (cache_addpw): Likewise.
4525         * nscd/servicescache.c (cache_addserv): Likewise.
4526
4527 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
4528
4529         * malloc/malloc.c: Various cleanups.
4530         * malloc/hooks.c: Likewise.
4531
4532         * stdlib/Makefile (tests): Add bug-fmtmsg1.
4533         * stdlib/bug-fmtmsg1.c: New file.
4534
4535         * stdlib/fmtmsg.c (init): Add missing unlock.
4536         Patch by Peng Haitao <penght@cn.fujitsu.com>.
4537
4538 2012-01-12  Marek Polacek  <polacek@redhat.com>
4539
4540         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
4541         and _GNU_SOURCE.
4542
4543 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
4544
4545         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
4546         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
4547         macro to ensure uniqueness of label name.
4548         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4549         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4550
4551 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
4552
4553         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
4554
4555         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
4556         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4557         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4558         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
4559
4560 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
4561
4562         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
4563
4564         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
4565         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4566         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4567
4568         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
4569
4570         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
4571         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4572         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4573         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
4574
4575         * math/bits/math-finite.h: Add ldexp support.
4576
4577 2012-01-10  Marek Polacek  <polacek@redhat.com>
4578
4579         * locale/programs/localedef.h (show_archive_content): Add noreturn
4580         attribute.
4581
4582 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
4583
4584         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
4585
4586 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
4587
4588         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
4589
4590         * io/Makefile (headers): Add bits/poll2.h.
4591
4592 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
4593
4594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
4595         typo #include statement.
4596
4597 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
4598
4599         * include/sys/cdefs.h: Define __attribute_alloc_size.
4600         * catgets/gencat.c: Add alloc_size attribute and apply consistently
4601         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
4602         * elf/pldd.c: Likewise.
4603         * iconv/iconv_charmap.c: Likewise.
4604         * iconv/iconvconfig.c: Likewise.
4605         * iconv/strtab.c: Likewise.
4606         * locale/programs/locale.c: Likewise.
4607         * locale/programs/localedef.h: Likewise.
4608         * locale/programs/simple-hash.c: Likewise.
4609         * nscd/nscd.h: Likewise.
4610         * nss/makedb.c: Likewise.
4611         * sysdeps/generic/ldconfig.h: Likewise.
4612         * locale/programs/localedef.c: Remove xmalloc prototype.
4613         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
4614
4615 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
4616
4617         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
4618         appropriate.
4619
4620 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
4621
4622         * math/Makefile (tests): Add tst-CMPLX.
4623         * math/tst-CMPLX.c: New file.
4624
4625         * math/complex.h (CMPLXL): Fix typo.
4626
4627         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
4628         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
4629         GLIBC_2.16.
4630         * debug/tst-chk1.c: Add poll and ppoll tests.
4631         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
4632         * include/sys/poll.h: Add hidden proto for ppoll.
4633         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
4634         * sysdeps/mach/hurd/ppoll.c: Likewise.
4635         * io/ppoll.c: Likewise.
4636         * debug/poll_chk.c: New file.
4637         * debug/ppoll_chk.c: New file.
4638         * include/bits/poll2.h: New file.
4639         * io/bits/poll2.h: New file.
4640
4641         [BZ #1350]
4642         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
4643
4644         * configure.in: static is always set to yes.  Remove.
4645         * config.make.in: Don't set build-static.
4646         * Makeconfig: Remove use of build-static.
4647         * dlfcn/Makefile: Likewise.
4648         * elf/Makefile: Likewise.
4649         * math/Makefile: Likewise.
4650         * misc/Makefile: Likewise.
4651         * nptl/Makefile: Likewise.
4652         * sysdeps/mach/hurd/Makefile: Likewise.
4653
4654         * configure.in: PWD_P is not used anymore.
4655         * config.make.in: Remove PWD_P entry.
4656
4657         * configure.in: Remove last remnants of RANLIB.
4658         No need to check for signed size_t anymore.
4659         Don't set libc_commonpagesize and libc_relro_required here for Alpha
4660         and IA-64.
4661         Remove __builtin_expect test because we require at least gcc 3.4.
4662         * aclocal.m4: Likewise.
4663
4664         * wcsmbs/mbrtoc16.c: Implement using towc function.
4665         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
4666         * wcsmbs/wcsmbsload.c: Likewise.
4667         * iconv/gconv_simple.c: Likewise.
4668         * iconv/gconv_int.h: Likewise.
4669         * iconv/gconv_builtin.h: Likewise.
4670         * iconv/iconv_prog.c: Remove CHAR16 handling.
4671
4672         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
4673
4674         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
4675
4676         * configure.in: Remove --with-elf and --enable-bounded options.
4677         Dont set base_machine for ia64.  More non-ELF conditions removed.
4678         Remove testing and setting of leading underscore information.
4679         * config.make.in (build-bounded): Set to no.
4680         * config.h.in: Remove NO_UNDERSCORES entry.
4681         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
4682         them.
4683         * csu/start.c: Remove !NO_UNDERSCORE code.
4684         * locale/localeinfo.h: Likewise.
4685         * sysdeps/generic/machine-gmon.h: Likewise.
4686         * sysdeps/generic/sysdep.h: Likewise.
4687         * sysdeps/i386/sysdep.h: Likewise.
4688         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4689         * sysdeps/mach/sysdep.h: Likewise.
4690         * sysdeps/s390/s390-32/sysdep.h: Likewise.
4691         * sysdeps/s390/s390-64/sysdep.h: Likewise.
4692         * sysdeps/sh/sysdep.h: Likewise.
4693         * sysdeps/sparc/sparc32/alloca.S: Likewise.
4694         * sysdeps/unix/i386/sysdep.S: Likewise.
4695         * sysdeps/unix/sparc/start.c: Likewise.
4696         * sysdeps/unix/sparc/sysdep.S: Likewise.
4697         * sysdeps/unix/sparc/sysdep.h: Likewise.
4698         * sysdeps/unix/start.c: Likewise.
4699         * sysdeps/unix/x86_64/sysdep.S: Likewise.
4700         * sysdeps/x86_64/sysdep.h: Likewise.
4701
4702 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
4703
4704         [BZ #13553]
4705         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
4706         for non-gcc.
4707         * argp/argp-fmtstream.h: Use const instead __const.
4708         * argp/argp.h: Likewise.
4709         * assert/assert.h: Likewise.
4710         * bits/fenv.h: Likewise.
4711         * bits/sched.h: Likewise.
4712         * bits/sigset.h: Likewise.
4713         * bits/sigthread.h: Likewise.
4714         * catgets/nl_types.h: Likewise.
4715         * conform/data/pthread.h-data: Likewise.
4716         * crypt/crypt-private.h: Likewise.
4717         * crypt/crypt.h: Likewise.
4718         * crypt/crypt_util.c: Likewise.
4719         * ctype/ctype.h: Likewise.
4720         * debug/execinfo.h: Likewise.
4721         * debug/mbsnrtowcs_chk.c: Likewise.
4722         * debug/mbsrtowcs_chk.c: Likewise.
4723         * debug/wcsnrtombs_chk.c: Likewise.
4724         * debug/wcsrtombs_chk.c: Likewise.
4725         * debug/wcstombs_chk.c: Likewise.
4726         * dirent/dirent.h: Likewise.
4727         * dlfcn/dlfcn.h: Likewise.
4728         * elf/neededtest4.c: Likewise.
4729         * grp/grp.h: Likewise.
4730         * gshadow/gshadow.h: Likewise.
4731         * iconv/gconv.h: Likewise.
4732         * iconv/gconv_int.h: Likewise.
4733         * iconv/gconv_simple.c: Likewise.
4734         * iconv/iconv.h: Likewise.
4735         * iconv/loop.c: Likewise.
4736         * iconv/skeleton.c: Likewise.
4737         * include/aio.h: Likewise.
4738         * include/aliases.h: Likewise.
4739         * include/argz.h: Likewise.
4740         * include/arpa/inet.h: Likewise.
4741         * include/assert.h: Likewise.
4742         * include/dirent.h: Likewise.
4743         * include/dlfcn.h: Likewise.
4744         * include/execinfo.h: Likewise.
4745         * include/fcntl.h: Likewise.
4746         * include/fenv.h: Likewise.
4747         * include/glob.h: Likewise.
4748         * include/grp.h: Likewise.
4749         * include/libintl.h: Likewise.
4750         * include/mntent.h: Likewise.
4751         * include/netdb.h: Likewise.
4752         * include/pwd.h: Likewise.
4753         * include/rpc/netdb.h: Likewise.
4754         * include/sched.h: Likewise.
4755         * include/search.h: Likewise.
4756         * include/shadow.h: Likewise.
4757         * include/signal.h: Likewise.
4758         * include/stdio.h: Likewise.
4759         * include/stdlib.h: Likewise.
4760         * include/string.h: Likewise.
4761         * include/sys/socket.h: Likewise.
4762         * include/sys/stat.h: Likewise.
4763         * include/sys/statfs.h: Likewise.
4764         * include/sys/statvfs.h: Likewise.
4765         * include/sys/syslog.h: Likewise.
4766         * include/sys/time.h: Likewise.
4767         * include/sys/uio.h: Likewise.
4768         * include/time.h: Likewise.
4769         * include/unistd.h: Likewise.
4770         * include/utmp.h: Likewise.
4771         * include/wchar.h: Likewise.
4772         * include/wctype.h: Likewise.
4773         * inet/aliases.h: Likewise.
4774         * inet/arpa/inet.h: Likewise.
4775         * inet/netinet/ether.h: Likewise.
4776         * inet/netinet/in.h: Likewise.
4777         * intl/libintl.h: Likewise.
4778         * io/bits/fcntl2.h: Likewise.
4779         * io/fcntl.h: Likewise.
4780         * io/ftw.h: Likewise.
4781         * io/sys/poll.h: Likewise.
4782         * io/sys/stat.h: Likewise.
4783         * io/sys/statfs.h: Likewise.
4784         * io/sys/statvfs.h: Likewise.
4785         * io/utime.h: Likewise.
4786         * libio/bits/stdio.h: Likewise.
4787         * libio/bits/stdio2.h: Likewise.
4788         * libio/libio.h: Likewise.
4789         * libio/libioP.h: Likewise.
4790         * libio/stdio.h: Likewise.
4791         * locale/lc-ctype.c: Likewise.
4792         * locale/locale.h: Likewise.
4793         * login/utmp.h: Likewise.
4794         * malloc/arena.c: Likewise.
4795         * malloc/malloc.c: Likewise.
4796         * malloc/malloc.h: Likewise.
4797         * malloc/mcheck.c: Likewise.
4798         * malloc/mtrace.c: Likewise.
4799         * math/bits/mathcalls.h: Likewise.
4800         * math/fenv.h: Likewise.
4801         * math/math_private.h: Likewise.
4802         * misc/bits/error.h: Likewise.
4803         * misc/bits/syslog.h: Likewise.
4804         * misc/err.h: Likewise.
4805         * misc/error.h: Likewise.
4806         * misc/fstab.h: Likewise.
4807         * misc/mntent.h: Likewise.
4808         * misc/regexp.h: Likewise.
4809         * misc/search.h: Likewise.
4810         * misc/sgtty.h: Likewise.
4811         * misc/sys/mman.h: Likewise.
4812         * misc/sys/syslog.h: Likewise.
4813         * misc/sys/uio.h: Likewise.
4814         * misc/sys/xattr.h: Likewise.
4815         * misc/ttyent.h: Likewise.
4816         * nis/rpcsvc/ypclnt.h: Likewise.
4817         * nss/nss.h: Likewise.
4818         * posix/bits/unistd.h: Likewise.
4819         * posix/fnmatch.h: Likewise.
4820         * posix/glob.h: Likewise.
4821         * posix/sched.h: Likewise.
4822         * posix/spawn.h: Likewise.
4823         * posix/sys/wait.h: Likewise.
4824         * posix/unistd.h: Likewise.
4825         * posix/wordexp.h: Likewise.
4826         * pwd/pwd.h: Likewise.
4827         * resolv/netdb.h: Likewise.
4828         * resource/sys/resource.h: Likewise.
4829         * rt/aio.h: Likewise.
4830         * rt/bits/mqueue2.h: Likewise.
4831         * rt/mqueue.h: Likewise.
4832         * shadow/shadow.h: Likewise.
4833         * signal/signal.h: Likewise.
4834         * socket/send.c: Likewise.
4835         * socket/sendto.c: Likewise.
4836         * socket/sys/socket.h: Likewise.
4837         * stdio-common/printf.h: Likewise.
4838         * stdlib/bits/stdlib.h: Likewise.
4839         * stdlib/fmtmsg.h: Likewise.
4840         * stdlib/monetary.h: Likewise.
4841         * stdlib/stdlib.h: Likewise.
4842         * stdlib/ucontext.h: Likewise.
4843         * streams/stropts.h: Likewise.
4844         * string/argz.h: Likewise.
4845         * string/bits/string2.h: Likewise.
4846         * string/string.h: Likewise.
4847         * string/strings.h: Likewise.
4848         * sunrpc/rpc/auth.h: Likewise.
4849         * sunrpc/rpc/auth_des.h: Likewise.
4850         * sunrpc/rpc/clnt.h: Likewise.
4851         * sunrpc/rpc/netdb.h: Likewise.
4852         * sunrpc/rpc/pmap_clnt.h: Likewise.
4853         * sunrpc/rpc/xdr.h: Likewise.
4854         * sysdeps/generic/inttypes.h: Likewise.
4855         * sysdeps/generic/net/if.h: Likewise.
4856         * sysdeps/generic/sys/swap.h: Likewise.
4857         * sysdeps/gnu/net/if.h: Likewise.
4858         * sysdeps/gnu/utmpx.h: Likewise.
4859         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4860         * sysdeps/i386/i486/bits/string.h: Likewise.
4861         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4862         * sysdeps/s390/bits/string.h: Likewise.
4863         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4864         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4865         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4866         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4867         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4868         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4869         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4870         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4871         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4872         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4873         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4874         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4875         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4876         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4877         * sysdeps/unix/sysv/linux/readv.c: Likewise.
4878         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4879         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4880         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4881         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4882         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4883         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4884         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4885         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4886         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4887         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4888         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4889         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4890         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4891         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4892         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4893         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4894         * sysvipc/sys/ipc.h: Likewise.
4895         * sysvipc/sys/msg.h: Likewise.
4896         * sysvipc/sys/sem.h: Likewise.
4897         * sysvipc/sys/shm.h: Likewise.
4898         * termios/termios.h: Likewise.
4899         * time/sys/time.h: Likewise.
4900         * time/time.h: Likewise.
4901         * wcsmbs/bits/wchar2.h: Likewise.
4902         * wcsmbs/uchar.h: Likewise.
4903         * wcsmbs/wchar.h: Likewise.
4904         * wctype/wctype.h: Likewise.
4905
4906         [BZ #13551]
4907         * Makeconfig: Remove all but ELF support including AIX support.
4908         * Makerules: Likewise.
4909         * config.h.in: Likewise.
4910         * config.make.in: Likewise.
4911         * configure: Likewise.
4912         * configure.in: Likewise.
4913         * csu/Makefile: Likewise.
4914         * csu/version.c: Likewise.
4915         * debug/Makefile: Likewise.
4916         * dlfcn/Makefile: Likewise.
4917         * elf/Makefile: Likewise.
4918         * extra-lib.mk: Likewise.
4919         * iconv/Makefile: Likewise.
4920         * include/libc-symbols.h: Likewise.
4921         * include/shlib-compat.h: Likewise.
4922         * resolv/Makefile: Likewise.
4923         * resolv/res_libc.c: Likewise.
4924         * rt/Makefile: Likewise.
4925         * sysdeps/i386/asm-syntax.h: Likewise.
4926         * sysdeps/i386/sysdep.h: Likewise.
4927         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4928         * sysdeps/mach/sysdep.h: Likewise.
4929         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4930         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4931         * sysdeps/s390/asm-syntax.h: Likewise.
4932         * sysdeps/s390/s390-32/sysdep.h: Likewise.
4933         * sysdeps/s390/s390-64/sysdep.h: Likewise.
4934         * sysdeps/sh/sysdep.h: Likewise.
4935         * sysdeps/unix/sparc/sysdep.h: Likewise.
4936         * sysdeps/wordsize-32/divdi3.c: Likewise.
4937         * sysdeps/x86_64/sysdep.h: Likewise.
4938
4939         * argp/Versions: Remove _argp_unlock_xxx.
4940
4941         [BZ #13559]
4942         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
4943         * abilist/libBrokenLocale.abilist: Likewise.
4944         * abilist/libanl.abilist: Likewise.
4945         * abilist/libc.abilist: Likewise.
4946         * abilist/libcrypt.abilist: Likewise.
4947         * abilist/libdl.abilist: Likewise.
4948         * abilist/libm.abilist: Likewise.
4949         * abilist/libnsl.abilist: Likewise.
4950         * abilist/libpthread.abilist: Likewise.
4951         * abilist/libresolv.abilist: Likewise.
4952         * abilist/librt.abilist: Likewise.
4953         * abilist/libthread_db.abilist: Likewise.
4954         * abilist/libutil.abilist: Likewise.
4955         * abilist/libnss_db.abilist: New file.
4956
4957         * scripts/abilist.awk: Add support for indirect functions.
4958
4959         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4960
4961         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4962
4963         * shlib-versions: Remove entries for ports architectures.
4964
4965         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
4966         files in ports.
4967         * elf/stackguard-macros.h: Remove support for IA-64.
4968         * elf/tst-auditmod1.c: Likewise.
4969         * sysdeps/generic/ldsodefs.h: Likewise.
4970
4971         * sysdeps/unix/sysv/linux/configure.in: Ports should define
4972         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
4973         configure files.
4974
4975         [BZ #13552]
4976         * configure.in: Remove --enable-omitfp support.
4977         * FAQ.in: Adjust.
4978         * config.make.in: Likewise.
4979         * Makeconfig: Likewise.
4980         * manual/install.texi: Likewise.
4981
4982         In case anyone cares, the IA-64 architecture could move to ports.
4983         * sysdeps/ia64/*: Removed.
4984         * sysdeps/unix/sysv/linux/ia64/*: Removed.
4985         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
4986
4987         [BZ #13555]
4988         * configure.in: Remove entries for unsupported architectures.
4989
4990         [BZ #13533]
4991         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
4992         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
4993         routines.
4994         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
4995         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
4996         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
4997         fall back to using wcrtomb.
4998         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
4999         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
5000         renaming.
5001         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
5002         * wcsmbs/tst-c16c32-1.c: New file.
5003
5004         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
5005         local variable.
5006
5007         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
5008
5009         * elf/tst-unique3.cc: Add explicit declaration of gets.
5010         * elf/tst-unique3lib.cc: Likewise.
5011         * elf/tst-unique3lib2.cc: Likewise.
5012         * elf/tst-unique4.cc: Likewise.
5013
5014         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
5015
5016 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
5017
5018         [BZ #13566]
5019         * assert/assert.h (static_assert): Don't define for C++.
5020         * libio/stdio.h (gets): Do declare for C++ <= C++11.
5021         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
5022
5023 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
5024
5025         * iconv/loop.c (single loop): Fix assertion in storing of
5026         remaining bytes.
5027
5028         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
5029
5030 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
5031
5032         * posix/getconf.c: Update copyright year.
5033         * nss/getent.c: Likewise.
5034         * nss/makedb.c: Likewise.
5035         * iconv/iconvconfig.c: Likewise.
5036         * iconv/iconv_prog.c: Likewise.
5037         * elf/ldconfig.c: Likewise.
5038         * elf/pldd.c: Likewise.
5039         * elf/sotruss.ksh: Likewise.
5040         * catgets/gencat.c: Likewise.
5041         * csu/version.c: Likewise.
5042         * elf/ldd.bash.in: Likewise.
5043         * elf/sprof.c (print_version): Likewise.
5044         * locale/programs/locale.c: Likewise.
5045         * locale/programs/localedef.c: Likewise.
5046         * login/programs/pt_chown.c: Likewise.
5047         * nscd/nscd.c (print_version): Likewise.
5048         * debug/xtrace.sh: Likewise.
5049         * malloc/memusage.sh: Likewise.
5050         * malloc/mtrace.pl: Likewise.
5051         * debug/catchsegv.sh: Likewise.
5052
5053 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
5054
5055         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
5056         pure attribute.
5057
5058 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
5059
5060         [BZ #13533]
5061         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
5062         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
5063         transformations.
5064         * iconv/gconv_int.h: Likewise.
5065         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
5066         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
5067         from libc for GLIBC_2.16.
5068         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
5069         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
5070         * wcsmbs/uchar.h: Really define mbstate_t.
5071         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
5072         * wcsmbs/c16rtomb.c: New file.
5073         * wcsmbs/mbrtoc16.c: New file.
5074         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
5075         for C/POSIX locale.
5076         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
5077         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
5078
5079         * wcsmbs/wchar.h: Add missing __restrict.
5080
5081 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
5082
5083         [BZ #13532]
5084         * time/Makefile (routines): Add timespec_get.
5085         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
5086         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
5087         timespec for ISO C11.
5088         * time/timespec_get.c: New file.
5089         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
5090         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
5091
5092         [BZ #13531]
5093         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
5094         * stdlib/stdlib.h: Declare aligned_alloc.
5095         * Versions.def: Add GLIBC_2.16 for libc.
5096         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
5097
5098         [BZ 13527]
5099         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
5100         ISO C11.
5101
5102         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
5103         code.
5104
5105         [BZ #13528]
5106         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
5107
5108         [BZ #13529]
5109         * assert/assert.h (static_assert): Define.
5110
5111         * version.h: Update for 2.16 development version.
5112
5113         [BZ #13526]
5114         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
5115         _ISOC11_SOURCE.
5116
5117         * version.h (RELEASE): Bump for 2.15 release.
5118         * include/features.h (__GLIBC_MINOR__): Bump to 15.
5119
5120         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
5121         Patch by Marek Polacek <mpolacek@redhat.com>.
5122
5123         * bits/byteswap.h: Protect long long constants with __extension__.
5124         * sysdeps/i386/bits/byteswap.h: Likewise.
5125         * sysdeps/ia64/bits/byteswap.h: Likewise.
5126         * sysdeps/s390/bits/byteswap.h: Likewise.
5127         * sysdeps/x86_64/bits/byteswap.h: Likewise.
5128
5129 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5130
5131         [BZ #13540]
5132         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
5133         destination buffer.
5134         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5135
5136 2011-12-23  Marek Polacek  <polacek@redhat.com>
5137
5138         * elf/dl-addr.c (determine_info): Add inline keyword.
5139         * elf/tst-auditmod4b.c (check_avx): Likewise.
5140         * elf/tst-auditmod6b.c (check_avx): Likewise.
5141         * elf/tst-auditmod6c.c (check_avx): Likewise.
5142         * elf/tst-auditmod7b.c (check_avx): Likewise.
5143
5144 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
5145
5146         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
5147         !__SSE_MATH__.
5148
5149 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5150
5151         [BZ #13540]
5152         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
5153         processing for last bytes.
5154
5155 2011-08-06  Bruno Haible  <bruno@clisp.org>
5156
5157         [BZ #13061]
5158         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
5159         U+0385, not to U+1FEE.
5160
5161         [BZ #13062]
5162         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
5163         entry for U+00A5 U+0301.
5164
5165 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
5166
5167         [BZ #13166]
5168         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
5169         buffer for the output is too small.
5170
5171         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
5172         optimization.
5173
5174         [BZ #13185]
5175         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
5176         SSE flags if possible.
5177
5178 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5179
5180         [BZ #13540]
5181         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
5182         processing for last bytes.
5183
5184 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
5185
5186         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
5187         (syscall-list-default-options, syscall-list-default-condition)
5188         (syscall-list-includes): Define.
5189         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
5190         list of ABIs and options and #if conditions for each ABI.  Do not
5191         handle common syscalls between ABIs specially.
5192         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
5193         Remove.
5194         (syscall-list-variants, syscall-list-32bit-options)
5195         (syscall-list-32bit-condition, syscall-list-64bit-options)
5196         (syscall-list-64bit-condition): Define.
5197         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
5198         (syscall-list-variants, syscall-list-32bit-options)
5199         (syscall-list-32bit-condition, syscall-list-64bit-options)
5200         (syscall-list-64bit-condition): Define.
5201         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
5202         Remove.
5203         (syscall-list-variants, syscall-list-32bit-options)
5204         (syscall-list-32bit-condition, syscall-list-64bit-options)
5205         (syscall-list-64bit-condition): Define.
5206         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
5207         Remove.
5208         (syscall-list-variants, syscall-list-32bit-options)
5209         (syscall-list-32bit-condition, syscall-list-64bit-options)
5210         (syscall-list-64bit-condition): Define.
5211
5212 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
5213
5214         * locale/iso-639.def: Add brx entry.
5215
5216         [BZ #13328]
5217         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
5218         Proposed by Mariusz_Cukr <marcukr@op.pl>.
5219
5220         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
5221         __feraiseexcept_renamed.
5222
5223 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
5224
5225         [BZ #13538]
5226         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
5227         EPOLLET with unsigned values.
5228         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5229         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5230
5231         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
5232         to large cancellation.
5233         * math/s_cacoshf.c: Likewise.
5234         * math/s_cacoshl.c: Likewise.
5235
5236 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
5237
5238         [BZ #13305]
5239         [BZ #12786]
5240         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
5241         * math/s_cacoshf.c: Likewise.
5242         * math/s_cacoshl.c: Likewise.
5243
5244 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
5245
5246         [BZ #13439]
5247         * iconv/gconv.h: Define __GCONV_SWAP.
5248         * iconvdata/unicode.c: The swap bit must be stored in __flags.
5249         * iconvdata/utf-16.c: Likewise.
5250         * iconvdata/utf-32.c: Likewise.
5251
5252 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
5253
5254         [BZ #13524]
5255         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
5256         numerator after shifting it by one limb.
5257
5258 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
5259
5260         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
5261         under [__USE_EXTERN_INLINES].
5262
5263 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
5264
5265         [BZ #13446]
5266         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
5267
5268 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5269
5270         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
5271         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
5272         optimized code.
5273         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
5274         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
5275         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
5276         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
5277         for strncasecmp/strncasecmp_l compilation.
5278         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
5279         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
5280
5281 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
5282
5283         [BZ #13484]
5284         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
5285         of __asm__.
5286
5287 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
5288
5289         [BZ #13506]
5290         * time/tzfile.c (__tzfile_read): Check values from file header.
5291
5292 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
5293
5294         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
5295         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
5296         * powerpc/powerpc32/dl-start.S: Likewise.
5297         * powerpc/powerpc32/elf/start.S: Likewise.
5298         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5299         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
5300         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
5301         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
5302         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5303         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
5304         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
5305         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5306         * powerpc/powerpc32/fpu/s_round.S: Likewise.
5307         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5308         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5309         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5310         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5311         * powerpc/powerpc32/memset.S: Likewise.
5312         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5313         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5314         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5315         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5316         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5317         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5318         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5319         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5320         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
5321         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
5322         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
5323         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5324         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5325
5326 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5327
5328         * math/libm-test.inc: Added more nearbyint tests.
5329         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
5330         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
5331         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
5332         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
5333
5334 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
5335
5336         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
5337         FD_CLOEXEC.
5338
5339 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5340
5341         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
5342         Add wcscpy-ssse3 wcscpy-c.
5343         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
5344         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
5345         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
5346         * sysdeps/x86_64/wcschr.S: New file.
5347         * sysdeps/x86_64/wcsrchr.S: New file.
5348         * string/test-strcmp.c: Remove checking of wcscmp function for
5349         wrong alignments.
5350         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
5351         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
5352         wcsrchr-sse2 wcsrchr-c.
5353         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
5354         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
5355         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
5356         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
5357         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
5358         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
5359         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
5360         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
5361         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
5362         * wcsmbc/wcschr.c (WCSCHR): New macro.
5363
5364 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5365
5366         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
5367         * wcsmbs/test-wcsrchr.c: New file.
5368         * string/test-strrchr.c: Add wcsrchr support.
5369         (WIDE): New macro.
5370         * wcsmbs/test-wcscpy.c: New file.
5371         * string/test-strcpy.c: Add wcscpy support.
5372         (WIDE): New macro.
5373
5374 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
5375
5376         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
5377         the inner loop.
5378
5379 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
5380
5381         [BZ #13472]
5382         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
5383
5384 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
5385
5386         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
5387         Minor optimizations.
5388
5389         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
5390         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
5391         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5392
5393 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
5394
5395         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
5396         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
5397         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
5398         for gcc to avoid warnings.
5399         * inet/Makefile (tests): Add tst-checks.
5400         * inet/tst-checks.c: New file.
5401
5402         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
5403         warning.
5404
5405         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
5406         __wmemcmp_sse2.
5407
5408         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
5409         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
5410
5411         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
5412
5413 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
5414
5415         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
5416         problem.
5417
5418         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
5419
5420 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
5421
5422         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
5423         conditional on GCC version.
5424         (__arch_compare_and_exchange_val_8_acq)
5425         (__arch_compare_and_exchange_val_16_acq)
5426         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
5427         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
5428         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
5429
5430 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
5431
5432         * sysdeps/sh/backtrace.c: New file.
5433
5434 2011-12-02  Andreas Schwab  <schwab@redhat.com>
5435
5436         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
5437         parenthesis.
5438
5439 2011-12-01  Andreas Schwab  <schwab@redhat.com>
5440
5441         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
5442         falling back to utime.
5443
5444 2011-11-30  Andreas Schwab  <schwab@redhat.com>
5445
5446         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
5447         expectations for float.
5448
5449 2011-11-29  Andreas Schwab  <schwab@redhat.com>
5450
5451         * locale/weight.h (findidx): Add parameter len.
5452         * locale/weightwc.h (findidx): Likewise.
5453         * posix/fnmatch_loop.c (FCT): Adjust caller.
5454         * posix/regcomp.c (build_equiv_class): Likewise.
5455         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
5456         * posix/regexec.c (check_node_accept_bytes): Likewise.
5457         * string/strcoll_l.c (STRCOLL): Likewise.
5458         * string/strxfrm_l.c (STRXFRM): Likewise.
5459
5460 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
5461
5462         * Makefile.in: Remove CVSOPT handling.
5463         * configure.in: Remove use of AC_REVISION.
5464         * iconvdata/Makefile (distribute): No need to filter out CVS.
5465         * scripts/list-sources.sh: Remove CVS, subversion and monotone
5466         handling.
5467
5468 2011-11-16  Andreas Schwab  <schwab@redhat.com>
5469
5470         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
5471         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
5472         [USE_AS_STRNCASECMP_L]: Likewise.
5473         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
5474         NO_TLS_DIRECT_SEG_REFS.
5475         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
5476         Fix argument offsets for non-PIC.
5477         [USE_AS_STRNCASECMP_L]: Likewise.
5478         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
5479         NO_TLS_DIRECT_SEG_REFS.
5480
5481 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
5482
5483         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
5484         O_CLOEXEC.
5485         * locale/loadlocale.c (_nl_load_locale): Likewise.
5486
5487 2011-11-15  Andreas Schwab  <schwab@redhat.com>
5488
5489         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
5490         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
5491         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
5492         (SYSCALL_GETTIME): Set errno on error.
5493
5494         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
5495         count references to noai6ai_cached.
5496
5497 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
5498
5499         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
5500
5501         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
5502         FD_CLOEXEC for /proc/self/maps.
5503
5504         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
5505         FD_CLOEXEC for /proc/meminfo.
5506
5507         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
5508         gai.conf.
5509
5510         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
5511         FD_CLOEXEC for given file.
5512
5513         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
5514
5515         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
5516         FD_CLOEXEC for /etc/hosts.
5517         (_gethtent): Likewise.
5518
5519         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
5520
5521         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
5522         cancellation and set FD_CLOEXEC for /etc/netgroup.
5523
5524         * nss/nss_files/files-key.c (search): Don't allow cancellation when
5525         reading /etc/publickey.
5526
5527         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
5528         allow cancellation when reading /etc/group.
5529
5530         * nss/nss_files/files-alias.c (internal_setent): Don't allow
5531         cancellation.
5532         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
5533
5534         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
5535         when using data file.
5536
5537         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
5538
5539         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
5540         (write_nis_obj): Use "c" and "e" in fopen.
5541
5542         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
5543
5544         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
5545
5546         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
5547
5548         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
5549
5550         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
5551         locale.alias.
5552
5553         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
5554
5555         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
5556
5557         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
5558
5559         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
5560         file parsing and set FD_CLOEXEC.
5561
5562 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
5563
5564         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
5565
5566 2011-11-14  Andreas Schwab  <schwab@redhat.com>
5567
5568         * malloc/arena.c (arena_get2): Don't call reused_arena when
5569         _int_new_arena failed.
5570
5571 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
5572
5573         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
5574         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
5575         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
5576         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5577         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5578         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
5579         to compile strcasecmp and strncasecmp.
5580         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
5581         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
5582
5583         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
5584
5585 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
5586
5587         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
5588         locale-defines.sym to gen-as-const-headers.
5589         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
5590         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
5591         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
5592         to compile strcasecmp and strncasecmp.
5593         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
5594         strcasecmp_l and strncasecmp_l.
5595         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
5596         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
5597         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
5598         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
5599         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
5600         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
5601         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
5602         * sysdeps/i386/i686/multiarch/strncase.S: New file.
5603         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
5604         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
5605         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
5606
5607 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
5608
5609         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
5610         result of SYSDEP_GETTIME_CPU to retval.
5611         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
5612         parameter list to macro.  Remove trailing semicolon.  Adjust users.
5613
5614         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
5615         variable.
5616
5617         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
5618         mantissa words.
5619         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5620
5621         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
5622         from unused variable.
5623
5624         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
5625         DWARF definitions.
5626         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
5627         for assembling.
5628
5629         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
5630         over namespaces.
5631
5632         * sunrpc/rpc_prot.c (rejected): Fix case value.
5633
5634         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
5635         unsigned long long int to avoid warnings in shift.
5636
5637         * posix/regex_internal.c (re_string_reconstruct): Actually use result
5638         of use of trans.
5639         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
5640         variable tmp.
5641
5642         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
5643         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5644         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5645
5646         * nis/nis_table.c (nis_list): Use variable of correct type for
5647         result of __follow_path call.
5648
5649 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5650
5651         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
5652         of math functions ceil, trunc, floor, round, and sqrt, when
5653         avaliable on the platform.
5654         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
5655         name clash.
5656         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5657         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5658         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5659
5660 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
5661
5662         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
5663         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5664
5665 2011-11-11  Roland McGrath  <roland@hack.frob.com>
5666
5667         * include/unistd.h: Fix __readlink return type.
5668         Reported by Chris Metcalf <cmetcalf@tilera.com>.
5669
5670 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
5671
5672         * stdlib/ucontext.h: Undo last change for makecontext.
5673
5674 2011-11-11  Andreas Schwab  <schwab@redhat.com>
5675
5676         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
5677
5678         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
5679         * setjmp/setjmp.h: Mark functions as non-leaf.
5680         * setjmp/bits/setjmp2.h: Likewise.
5681         * stdlib/ucontext.h: Likewise.
5682
5683 2011-11-10  Andreas Schwab  <schwab@redhat.com>
5684
5685         * malloc/arena.c (_int_new_arena): Don't increment narenas.
5686         (reused_arena): Don't check arena limit.
5687         (arena_get2): Atomically check arena limit.
5688
5689 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
5690
5691         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
5692         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
5693
5694         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
5695         instructions.
5696
5697 2011-11-07  Andreas Schwab  <schwab@redhat.com>
5698
5699         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
5700         handler when locking.
5701
5702         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5703         Fix size of allocated buffer.
5704
5705 2011-11-04  Andreas Schwab  <schwab@redhat.com>
5706
5707         [BZ #10103]
5708         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
5709         declarations for long double functions.
5710         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5711
5712         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5713
5714 2011-11-03  Andreas Schwab  <schwab@redhat.com>
5715
5716         * nscd/nscd.c (main): Don't start AVC thread until credentials are
5717         installed.
5718
5719         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5720         is disabled.
5721
5722 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5723
5724         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5725
5726 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
5727
5728         * include/alloca.h (stackinfo_alloca_round): Define.
5729         (extend_alloca): Use it.
5730         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5731         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5732         here.
5733
5734         * scripts/check-local-headers.sh: Ignore libaudit.h.
5735
5736         * nscd/Makefile (extra-objs): Make recursively expanded.
5737
5738 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
5739
5740         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5741         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5742
5743         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5744         * posix/tst-rfc3484-2.c: Likewise.
5745         * posix/tst-rfc3484-3.c: Likewise.
5746
5747         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5748         process_vm_writev.
5749         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5750         process_vm_writev.
5751         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5752         process_vm_writev from libc using GLIBC_2.15 version.
5753
5754         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5755
5756 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
5757
5758         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5759         stack usage.
5760
5761 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
5762
5763         [BZ #13367]
5764         * nss/getent.c (initgroups_keys): Show error message in case no group
5765         names are given.
5766
5767         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5768         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5769         __bump_nl_timestamp.
5770         * nscd/connections (nscd_init): When host database is served open
5771         netlink socket and request notification about configuration changes.
5772         (main_loop_poll): Track netlink file descriptor and bump timestamp
5773         in case data becomes available.
5774         (main_loop_epoll): Likewise.
5775         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5776         (database_pers_head): Add extra_data fileds.
5777         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5778         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5779         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5780         Adjust caller.
5781         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5782         in6ai data, call __free_in6ai.
5783         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5784         Add -DHAVE_NETLINK.
5785         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
5786         interface information.  Reuse previous data if netlink timestamp
5787         is not changed.
5788         (__bump_nl_timestamp): New function.
5789         (__free_in6ai): New function.
5790
5791 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
5792
5793         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5794         close_not_cancel_no_status here.
5795         (__check_pf): Reorganize code a bit to not call close twice if OOM.
5796
5797 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
5798
5799         [BZ #13276]
5800         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5801         return value.
5802
5803         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
5804         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5805         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5806
5807 2011-07-03  Andreas Jaeger  <aj@suse.de>
5808
5809         [BZ #10709]
5810         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5811         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5812         * math/libm-test.inc (sin_test): Add test case.
5813
5814 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
5815
5816         [BZ #13337]
5817         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5818         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5819
5820         * elf/chroot_canon.c (chroot_canon): Cleanups.
5821
5822         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5823
5824         [BZ #13335]
5825         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5826         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5827
5828         * string/test-strchr.c: Make usable for strchrnul testing.
5829         * string/test-strchrnul.c: New file.
5830         * string/Makefile (strop-tests): Add strchrnul.
5831
5832         * po/it.po: Update from translation team.
5833         * po/es.po: Likewise.
5834
5835 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
5836
5837         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5838         the three constants needed as parameters.  Drop the others.
5839         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5840         __m128i_strloadu_tolower.
5841         Create and initialize variable zero and use it in all the places
5842         where _mm_setzero_si128 was used.
5843
5844         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5845         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5846         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5847         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5848         anymore.
5849         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5850         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5851         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5852         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5853         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5854         __mpranred, __mptan.
5855         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5856         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5857         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5858         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5859         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5860         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5861         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5862         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5863         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5864
5865 2011-10-28  Andreas Schwab  <schwab@redhat.com>
5866
5867         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5868         redefine if SHARED.
5869         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5870
5871         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5872         wide char related routines to wcsmbs subdir.
5873
5874 2011-10-27  Andreas Schwab  <schwab@redhat.com>
5875
5876         [BZ #13344]
5877         * misc/sys/cdefs.h (__THROWNL): Define.
5878         * posix/unistd.h: Use __THREADNL instead of __THREAD
5879         for memory synchronization functions.
5880
5881 2011-10-26  Roland McGrath  <roland@hack.frob.com>
5882
5883         [BZ #13349]
5884         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5885         doesn't exist.
5886         * manual/stdio.texi (Obstack Streams): Node removed.
5887
5888 2011-10-26  Andreas Schwab  <schwab@redhat.com>
5889
5890         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5891         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5892         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5893
5894         * math/math_private.h (math_force_eval): Allow non-addressable
5895         arguments.
5896         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5897
5898 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
5899
5900         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5901         file is not needed.
5902
5903         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5904         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5905         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5906         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5907         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5908         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5909         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5910         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5911         Add AVX variants.
5912         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5913         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5914         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5915         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5916         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5917         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5918         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5919         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5920         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5921         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5922         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5923         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5924         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5925         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5926         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5927         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5928         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5929         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5930         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5931
5932         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5933         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
5934
5935         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5936         place.  Use VEX encoding when compiling for AVX.
5937
5938 2011-10-25  Andreas Schwab  <schwab@redhat.com>
5939
5940         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5941         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5942
5943         * string/test-strchr.c (do_test): Don't generate NUL bytes.
5944
5945 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
5946
5947         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
5948         useless if() expression.
5949         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5950         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5951         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5952         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5953         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5954         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5955         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5956         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5957         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5958         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5959         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5960         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5961         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5962         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5963         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5964         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5965         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5966         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5967         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5968
5969         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5970
5971 2011-10-25  Andreas Schwab  <schwab@redhat.com>
5972
5973         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
5974         condition.
5975         * elf/dl-fini.c (_dl_sort_fini): Likewise.
5976
5977 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
5978
5979         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
5980         .text section.  Avoid duplicate constants.
5981         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5982         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5983         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5984         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5985         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5986         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5987         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5988         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5989         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5990         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
5991         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5992         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5993         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5994         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5995         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5996         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5997         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5998         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5999         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6000         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6001         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6002         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6003         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6004         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
6005         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
6006         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
6007         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
6008         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
6009         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
6010         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
6011         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
6012         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
6013         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6014         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
6015         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
6016         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
6017         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
6018         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
6019         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
6020         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
6021         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
6022         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
6023         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
6024         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
6025         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
6026
6027 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
6028
6029         * sysdeps/x86_64/dla.h: Move to ...
6030         * sysdeps/x86_64/fpu/dla.h: ...here.
6031         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
6032         situations.  Use __builtin_fma only for gcc 4.6 and up.
6033
6034         * config.make.in: Add have-mfma4 entry.
6035         * configure.in: Substitute libc_cv_cc_fma4.
6036         * math/Makefile (dbl-only-routines): Add sincostab.
6037         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
6038         Use __sincostab not sincos.
6039         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
6040         name is a macro.
6041         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6042         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6043         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6044         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
6045         using __copysign.
6046         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
6047         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
6048         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
6049         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
6050         and __inv.
6051         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
6052         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
6053         __copysign.
6054         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
6055         define aliases when function name is a macro.
6056         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
6057         sysdeps/ieee754/dbl-64/sincos.tbl.
6058         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
6059         fma4-enabled routines.
6060         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
6061         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
6062         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
6063         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
6064         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
6065         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
6066         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
6067         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
6068         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
6069         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
6070         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
6071         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
6072         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
6073         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
6074         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
6075         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
6076         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
6077         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
6078         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
6079         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
6080         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
6081         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
6082         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
6083         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
6084         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
6085         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
6086         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
6087         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
6088         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
6089         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
6090
6091         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
6092         rename.
6093         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6094         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6095         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6096         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6097         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6098         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6099         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6100         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6101
6102 2011-10-24  Andreas Schwab  <schwab@redhat.com>
6103
6104         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
6105
6106 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
6107
6108         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
6109
6110         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
6111         prediction.
6112         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
6113
6114         * string/strnlen.c: Don't define STRNLEN, reverse logic.
6115         Remove unused variable magic_bits.
6116         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
6117
6118         * string/strnlen.c: Define and use STRNLEN macro.
6119         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
6120         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
6121         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
6122         * wcsmbs/wcslen.c: Define and use WCSLEN.
6123         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
6124         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
6125         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
6126         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
6127         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
6128         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
6129         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6130
6131 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6132
6133         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6134         strnlen-sse2-no-bsf.
6135         Rename strlen-no-bsf to strlen-sse2-no-bsf.
6136         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
6137         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
6138         Add strnlen support.
6139         (USE_AS_STRNLEN): New macro.
6140         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
6141         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
6142         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
6143         * sysdeps/x86_64/wcslen.S: New file.
6144
6145 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
6146
6147         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6148         XMM-moves are used for copying on small sizes.
6149
6150 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6151
6152         * wcsmbs/Makefile (strop-tests): Add wcschr.
6153         * wcsmbs/test-wcschr.c: New file.
6154         * string/test-strchr.c: Update.
6155         Add wcschr support.
6156         (WIDE): New macro.
6157
6158 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6159
6160         * wcsmbs/Makefile (strop-tests): Add wcslen.
6161         * wcsmbs/test-wcslen.c: New file.
6162         * string/test-strlen.c: Update.
6163         Add wcslen support.
6164         (WIDE): New macro.
6165
6166 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
6167
6168         * po/it.po: Update from translation team.
6169
6170 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6171
6172         * sysdeps/x86_64/wcscmp.S: Update.
6173         Fix wrong comparison semantics.
6174         wcscmp shall use signed comparison not unsigned.
6175         Don't use substraction to avoid overflow bug.
6176         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
6177         * wcsmbc/wcscmp.c: Likewise.
6178         * string/test-strcmp.c: Likewise.
6179         Add new tests to check cases with negative values.
6180
6181 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
6182
6183         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
6184         * sysdeps/x86_64/dla.h: ...here.  New file.
6185         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
6186         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6187         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6188         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6189         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6190         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6191         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6192         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6193         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6194
6195 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
6196
6197         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
6198         __ynl_finite aliases.
6199
6200 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
6201
6202         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6203
6204         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
6205         define DLA_FMA.
6206         [DLA_FMA] (EMULV): Use DLA_FMA.
6207         [DLA_FMA] (MUL12): Use EMULV.
6208         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
6209         that are not needed.
6210         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6211         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6212         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6213         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6214         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6215         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6216         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6217
6218 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
6219
6220         * math/s_nan.c: Undef __nan.
6221         * math/s_nanf.c: Undef __nanf.
6222         * math/s_nanl.c: Undef __nanl.
6223         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
6224         "math_private.h".
6225
6226 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
6227
6228         * math/s_catan.c: Add branch predictions.
6229         * math/s_catanf.c: Likewise.
6230         * math/s_catanh.c: Likewise.
6231         * math/s_catanhf.c: Likewise.
6232         * math/s_catanhl.c: Likewise.
6233         * math/s_catanl.c: Likewise.
6234         * math/s_cexp.c: Likewise.
6235         * math/s_cexpf.c: Likewise.
6236         * math/s_cexpl.c: Likewise.
6237         * math/s_clog.c: Likewise.
6238         * math/s_clog10.c: Likewise.
6239         * math/s_clog10f.c: Likewise.
6240         * math/s_clog10l.c: Likewise.
6241         * math/s_clogf.c: Likewise.
6242         * math/s_clogl.c: Likewise.
6243         * math/s_csqrt.c: Likewise.
6244         * math/s_csqrtf.c: Likewise.
6245         * math/s_csqrtl.c: Likewise.
6246         * math/s_ctanf.c: Likewise.
6247         * math/s_ctanh.c: Likewise.
6248         * math/s_ctanhf.c: Likewise.
6249         * math/s_ctanhl.c: Likewise.
6250         * math/s_ctanl.c: Likewise.
6251
6252         * math/math_private.h: Define __nan, __nanf, __nanl.
6253         * math/s_cacosh.c: Include <math_private.h>.
6254         * math/s_cacoshl.c: Likewise.
6255         * math/s_casinh.c: Likewise.
6256         * math/s_casinhf.c: Likewise.
6257         * math/s_casinhl.c: Likewise.
6258         * math/s_ccos.c: Rely entire on ccosh.
6259         * math/s_ccosf.c: Rely entire on ccoshf.
6260         * math/s_ccosl.c: Rely entirely on ccoshl.
6261         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
6262         Remove tests for FE_INVALID.
6263         * math/s_ccoshf.c: Likewise.
6264         * math/s_ccoshl.c: Likewise.
6265         * math/s_csin.c: Likewise.
6266         * math/s_csinf.c: Likewise.
6267         * math/s_csinh.c Likewise.
6268         * math/s_csinhf.c: Likewise.
6269         * math/s_csinhl.c: Likewise.
6270         * math/s_csinl.c: Likewise.
6271         * math/s_ctan.c: Likewise.
6272         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
6273         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
6274         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
6275
6276 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
6277
6278         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
6279         compilation problems.
6280
6281         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
6282         __builtin_expect.
6283
6284 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
6285
6286         * sysdeps/i386/configure.in: Test for -mfma4 option.
6287         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
6288         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
6289         COMMON_CPUID_INDEX_80000001.
6290         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
6291         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
6292         use it if FMA3 is not supported.
6293         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
6294
6295         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
6296         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
6297
6298 2011-10-20  Andreas Schwab  <schwab@redhat.com>
6299
6300         [BZ #12892]
6301         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
6302         it would create a cycle with a link time dependency.
6303
6304 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
6305
6306         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
6307         instruction.
6308         * string/Makefile (strop-tests): Add rawmemchr.
6309         * string/test-rawmemchr.c: New file.
6310
6311         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
6312         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
6313         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
6314         when compiling str{,n}casecmp and when AVX is available.  Hook up
6315         new optimized code in initializers.
6316
6317 2011-10-19  Andreas Schwab  <schwab@redhat.com>
6318
6319         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
6320         __feraiseexcept instead of feraiseexcept.
6321
6322 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
6323
6324         * math/math_private.h: Define defaults for libc_fetestexcept and
6325         libc_feupdateenv.
6326         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
6327         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6328         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6329         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6330         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6331         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6332         libc_fetestexcept and libc_feupdateenv.
6333
6334         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
6335         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
6336         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
6337         * sysdeps/x86_64/fpu/math_private.h: Define special version of
6338         libc_feholdexcept_setround.
6339
6340         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
6341         Add s_nearbyint-c and s_nearbyintf-c.
6342         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
6343         nearbyintf inlines.
6344         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
6345         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
6346         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
6347         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
6348
6349         * math/math_private.h: Define defaults for libc_fegetround,
6350         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
6351         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
6352         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
6353         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
6354         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
6355         standard functions.
6356         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6357         Remove comments and hacks for old compiler versions.
6358         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6359         libc_fegetround, libc_fesetround, libc_feholdexcept, and
6360         libc_feholdexceptl.
6361
6362 2011-10-18  Andreas Schwab  <schwab@redhat.com>
6363
6364         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
6365         (__feraiseexcept_renamed): Add __NTH.
6366         (feraiseexcept): Add __NTH.  Rename local variables to fix
6367         namespace violations.
6368
6369 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
6370
6371         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
6372
6373         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
6374
6375         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
6376         recently added interfaces.
6377         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
6378
6379         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
6380         about macro parameter expansion.
6381
6382         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
6383         __NO_MATH_INLINES is defined.  Cleanups.
6384
6385         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
6386         and __floorf is target has SSE4.1.
6387         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
6388         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
6389         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
6390         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
6391
6392         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
6393         name.
6394         (floorf): Likewise.
6395
6396         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
6397
6398 2011-10-17  Andreas Schwab  <schwab@redhat.com>
6399
6400         * misc/sys/cdefs.h: Fix last change.
6401
6402         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
6403         database lookup.
6404
6405 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
6406
6407         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
6408
6409         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
6410         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6411         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6412         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6413         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6414         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6415         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6416         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6417         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6418         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
6419         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
6420         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
6421         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
6422         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
6423         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
6424         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
6425         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
6426         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
6427         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
6428         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
6429         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
6430         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
6431
6432         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
6433         ceil, ceilf, floor, floorf.
6434
6435         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
6436         Perform IRELATIVE relocations last.
6437
6438         * elf/do-rel.h: Add another parameter nrelative, replacing the
6439         local variable with the same name.  Change name of the function
6440         to end in Rel or Rela (uppercase).
6441         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
6442         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
6443         elf_dynamic_do_##reloc function.
6444
6445 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
6446
6447         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
6448         is sufficient, at least on modern CPUs.
6449
6450         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
6451
6452         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
6453         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
6454
6455         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
6456         __expl_finite.
6457         * math/bits/math-finite.h: Add entries for exp.
6458         * math/e_expl.c: Add __*_finite alias.
6459         * sysdeps/i386/fpu/e_exp.S: Likewise.
6460         * sysdeps/i386/fpu/e_expf.S: Likewise.
6461         * sysdeps/i386/fpu/e_expl.c: Likewise.
6462         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6463         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6464         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6465         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6466         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
6467         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6468         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6469
6470         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
6471         is sufficient, at least on modern CPUs.
6472
6473         * ctype/ctype-info.c (__ctype_init): Define.
6474         * include/ctype.h (__ctype_init): Declare.
6475         (__ctype_b_loc): The variable is always initialized.
6476         (__ctype_toupper_loc): Likewise.
6477         (__ctype_tolower_loc): Likewise.
6478         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
6479         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
6480
6481 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
6482
6483         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
6484
6485         * configure.in: Also look in $cxxmachine/include for C++ system
6486         headers.
6487
6488 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6489
6490         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
6491         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
6492         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
6493         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
6494         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
6495         (USE_AS_WMEMCMP): New macro.
6496         Fixing indents.
6497         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
6498         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
6499         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
6500         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
6501         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6502         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
6503         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
6504         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
6505         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
6506         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
6507         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
6508         (USE_AS_WMEMCMP): New macro.
6509         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
6510         * sysdeps/string/test-memcmp.c: Update.
6511         Fix simple_wmemcmp.
6512         Add new tests.
6513         * wcsmbs/wmemcmp.c: Update.
6514         (WMEMCMP): New macro.
6515         Fix overflow bug.
6516
6517 2011-10-12  Andreas Jaeger  <aj@suse.de>
6518
6519         [BZ #13268]
6520         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
6521
6522 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
6523
6524         * libio/iofwide.c (do_length): Avoid warning.
6525
6526         * ctype/ctype.h (__isctype_f): Add missing __THROW.
6527
6528 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
6529
6530         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
6531
6532         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
6533         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
6534         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
6535         * sysdeps/i386/i686/fpu/e_log.S: New file.
6536         * sysdeps/i386/i686/fpu/e_logf.S: New file.
6537         * sysdeps/i386/i686/fpu/e_logl.S: New file.
6538
6539         * ctype/ctype.h: Add support for inlined isXXX functions when
6540         compiling C++ code.
6541
6542 2011-10-14  Andreas Schwab  <schwab@redhat.com>
6543
6544         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6545
6546         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
6547
6548 2011-10-13  Roland McGrath  <roland@hack.frob.com>
6549
6550         [BZ #13291]
6551         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
6552
6553 2011-10-13  Andreas Schwab  <schwab@redhat.com>
6554
6555         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
6556         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
6557         feraiseexcept.
6558
6559         * sysdeps/x86_64/memrchr.S: Check for zero size.
6560
6561         * string/stratcliff.c: Add memrchr tests.
6562
6563 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6564
6565         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6566         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
6567         rawmemchr-sse2 rawmemchr-sse2-bsf.
6568         * sysdeps/i386/i686/multiarch/memchr.S: New file.
6569         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
6570         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
6571         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
6572         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
6573         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
6574         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
6575         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
6576         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
6577         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
6578         * string/memrchr.c (MEMRCHR): New macro.
6579
6580 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
6581
6582         Add integration with gcc's -ffinite-math-only and optimize wrapper
6583         functions in libm.
6584         * Versions.def: Define GLIBC_2.15 version for libm.
6585         * math/Makefile (headers): Add bits/math-finite.h.
6586         * math/bits/math-finite.h: New file.
6587         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
6588         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
6589         * math/e_acoshl.c: Add __*_finite alias.
6590         * math/e_acosl.c: Likewise.
6591         * math/e_asinl.c: Likewise.
6592         * math/e_atan2l.c: Likewise.
6593         * math/e_atanhl.c: Likewise.
6594         * math/e_coshl.c: Likewise.
6595         * math/e_exp10.c: Likewise.
6596         * math/e_exp10f.c: Likewise.
6597         * math/e_exp10l.c: Likewise.
6598         * math/e_exp2l.c: Likewise.
6599         * math/e_fmodl.c: Likewise.
6600         * math/e_gammal_r.c: Likewise.
6601         * math/e_hypotl.c: Likewise.
6602         * math/e_j0l.c: Likewise.
6603         * math/e_j1l.c: Likewise.
6604         * math/e_jnl.c: Likewise.
6605         * math/e_lgammal_r.c: Likewise.
6606         * math/e_log10l.c: Likewise.
6607         * math/e_log2l.c: Likewise.
6608         * math/e_logl.c: Likewise.
6609         * math/e_powl.c: Likewise.
6610         * math/e_sinhl.c: Likewise.
6611         * math/e_sqrtl.c: Likewise.
6612         * math/e_scalb.c: Completely rewritten and optimized.
6613         * math/e_scalbf.c: Likewise.
6614         * math/e_scalbl.c: Likewise.
6615         * math/w_acos.c: Likewise.
6616         * math/w_acosf.c: Likewise.
6617         * math/w_acosl.c: Likewise.
6618         * math/w_acosh.c: Likewise.
6619         * math/w_acoshf.c: Likewise.
6620         * math/w_acoshl.c: Likewise.
6621         * math/w_asin.c: Likewise.
6622         * math/w_asinf.c: Likewise.
6623         * math/w_asinl.c: Likewise.
6624         * math/w_atan2.c: Likewise.
6625         * math/w_atan2f.c: Likewise.
6626         * math/w_atan2l.c: Likewise.
6627         * math/w_atanh.c: Likewise.
6628         * math/w_atanhf.c: Likewise.
6629         * math/w_atanhl.c: Likewise.
6630         * math/w_exp10.c: Likewise.
6631         * math/w_exp10f.c: Likewise.
6632         * math/w_exp10l.c: Likewise.
6633         * math/w_fmod.c: Likewise.
6634         * math/w_fmodf.c: Likewise.
6635         * math/w_fmodl.c: Likewise.
6636         * math/w_j0.c: Likewise.
6637         * math/w_j0f.c: Likewise.
6638         * math/w_j0l.c: Likewise.
6639         * math/w_j1.c: Likewise.
6640         * math/w_j1f.c: Likewise.
6641         * math/w_j1l.c: Likewise.
6642         * math/w_jn.c: Likewise.
6643         * math/w_jnf.c: Likewise.
6644         * math/w_log.c: Likewise.
6645         * math/w_logf.c: Likewise.
6646         * math/w_logl.c: Likewise.
6647         * math/w_log10.c: Likewise.
6648         * math/w_log10f.c: Likewise.
6649         * math/w_log10l.c: Likewise.
6650         * math/w_log2.c: Likewise.
6651         * math/w_log2f.c: Likewise.
6652         * math/w_log2l.c: Likewise.
6653         * math/w_pow.c: Likewise.
6654         * math/w_powf.c: Likewise.
6655         * math/w_powl.c: Likewise.
6656         * math/w_remainder.c: Likewise.
6657         * math/w_remainderf.c: Likewise.
6658         * math/w_remainderl.c: Likewise.
6659         * math/w_scalb.c: Likewise.
6660         * math/w_scalbf.c: Likewise.
6661         * math/w_scalbl.c: Likewise.
6662         * math/w_sqrt.c: Likewise.
6663         * math/w_sqrtf.c: Likewise.
6664         * math/w_sqrtl.c: Likewise.
6665         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
6666         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
6667         used.
6668         * math/math_private.h: Declare __kernel_standard_f.
6669         * math/w_cosh.c: Remove cruft and optimize a bit.
6670         * math/w_coshf.c: Likewise.
6671         * math/w_coshl.c: Likewise.
6672         * math/w_exp2.c: Likewise.
6673         * math/w_exp2f.c: Likewise.
6674         * math/w_exp2l.c: Likewise.
6675         * math/w_hypot.c: Likewise.
6676         * math/w_hypotf.c: Likewise.
6677         * math/w_hypotl.c: Likewise.
6678         * math/w_lgamma.c: Likewise.
6679         * math/w_lgamma_r.c: Likewise.
6680         * math/w_lgammaf.c: Likewise.
6681         * math/w_lgammaf_r.c: Likewise.
6682         * math/w_lgammal.c: Likewise.
6683         * math/w_lgammal_r.c: Likewise.
6684         * math/w_sinh.c: Likewise.
6685         * math/w_sinhf.c: Likewise.
6686         * math/w_sinhl.c: Likewise.
6687         * math/w_tgamma.c: Likewise.
6688         * math/w_tgammaf.c: Likewise.
6689         * math/w_tgammal.c: Likewise.
6690         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6691         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6692         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
6693         Minor optimizations.  Pretty printing.  Remove cruft.
6694         * sysdeps/i386/fpu/e_acosf.S: Likewise.
6695         * sysdeps/i386/fpu/e_acosh.S: Likewise.
6696         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6697         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6698         * sysdeps/i386/fpu/e_acosl.c: Likewise.
6699         * sysdeps/i386/fpu/e_asin.S: Likewise.
6700         * sysdeps/i386/fpu/e_asinf.S: Likewise.
6701         * sysdeps/i386/fpu/e_atan2.S: Likewise.
6702         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
6703         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
6704         * sysdeps/i386/fpu/e_atanh.S: Likewise.
6705         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6706         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6707         * sysdeps/i386/fpu/e_exp10.S: Likewise.
6708         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
6709         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
6710         * sysdeps/i386/fpu/e_exp2.S: Likewise.
6711         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6712         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6713         * sysdeps/i386/fpu/e_fmod.S: Likewise.
6714         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6715         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6716         * sysdeps/i386/fpu/e_hypot.S: Likewise.
6717         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6718         * sysdeps/i386/fpu/e_log.S: Likewise.
6719         * sysdeps/i386/fpu/e_log10.S: Likewise.
6720         * sysdeps/i386/fpu/e_log10f.S: Likewise.
6721         * sysdeps/i386/fpu/e_log10l.S: Likewise.
6722         * sysdeps/i386/fpu/e_log2.S: Likewise.
6723         * sysdeps/i386/fpu/e_log2f.S: Likewise.
6724         * sysdeps/i386/fpu/e_log2l.S: Likewise.
6725         * sysdeps/i386/fpu/e_logf.S: Likewise.
6726         * sysdeps/i386/fpu/e_logl.S: Likewise.
6727         * sysdeps/i386/fpu/e_pow.S: Likewise.
6728         * sysdeps/i386/fpu/e_powf.S: Likewise.
6729         * sysdeps/i386/fpu/e_powl.S: Likewise.
6730         * sysdeps/i386/fpu/e_remainder.S: Likewise.
6731         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6732         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6733         * sysdeps/i386/fpu/e_scalb.S: Likewise.
6734         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6735         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6736         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6737         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6738         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6739         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6740         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6741         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6742         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6743         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6744         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6745         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6746         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6747         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6748         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6749         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6750         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6751         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6752         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6753         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6754         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6755         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6756         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6757         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6758         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6759         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6760         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6761         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6762         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6763         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6764         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6765         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6766         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6767         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6768         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6769         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6770         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6771         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6772         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6773         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6774         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6775         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6776         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6777         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6778         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6779         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6780         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6781         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6782         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6783         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6784         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6785         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6786         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6787         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6788         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6789         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6790         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6791         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6792         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6793         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6794         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6795         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6796         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6797         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6798         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6799         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6800         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6801         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6802         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6803         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6804         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6805         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6806         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6807         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6808         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6809         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6810         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6811         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6812         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6813         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6814         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6815         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6816         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6817         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6818         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6819         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6820         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6821         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6822         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6823         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6824         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6825         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6826         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6827         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6828         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6829         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6830         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6831         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6832         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6833         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6834         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6835         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6836         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6837         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6838         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6839         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6840         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6841         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6842         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6843         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6844         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6845         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6846         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6847         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6848         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6849         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
6850         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6851         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6852         (__isnanf): Likewise.
6853         (__isinf_ns): Likewise.
6854         (__isinf_nsf): Likewise.
6855         (__finite): Likewise.
6856         (__finitef): Likewise.
6857         (__ieee754_sqrt): Define as macro.
6858         (__ieee754_sqrtf): Define as macro.
6859         (__ieee754_sqrtl): Define as macro.
6860         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6861         inlined copy.
6862         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6863         __FINITE_MATH_ONLY__ consistent.
6864         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6865
6866 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
6867
6868         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6869         of rawmemchr.
6870
6871         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6872
6873 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
6874
6875         * po/ja.po: Update from translation team.
6876
6877 2011-10-08  Roland McGrath  <roland@hack.frob.com>
6878
6879         * locale/programs/locarchive.c (prepare_address_space): New function.
6880         (create_archive, enlarge_archive, open_archive): Use it.
6881
6882         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6883         inside [SHARED], where it is used.
6884
6885         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6886
6887         * nss/getent.c (netgroup_keys): Remove unused variable.
6888         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6889
6890 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
6891
6892         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6893         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6894         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6895         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6896         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6897         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6898         * math/Makefile (libm-calls): Add s_isinf_ns.
6899         * math/divtc3.c: Use __isinf_nsl instead of isinf.
6900         * math/multc3.c: Likewise.
6901         * math/s_casin.c: Likewise.
6902         * math/s_casinf.c: Likewise.
6903         * math/s_casinl.c: Likewise.
6904         * math/s_ccos.c: Likewise.
6905         * math/s_ccosf.c: Likewise.
6906         * math/s_ccosl.c: Likewise.
6907         * math/s_ctan.c: Likewise.
6908         * math/s_ctanf.c: Likewise.
6909         * math/s_ctanh.c: Likewise.
6910         * math/s_ctanhf.c: Likewise.
6911         * math/s_ctanhl.c: Likewise.
6912         * math/s_ctanl.c: Likewise.
6913         * math/w_fmod.c: Likewise.
6914         * math/w_fmodf.c: Likewise.
6915         * math/w_fmodl.c: Likewise.
6916         * math/w_remainder.c: Likewise.
6917         * math/w_remainderf.c: Likewise.
6918         * math/w_remainderl.c: Likewise.
6919         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6920         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6921         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6922         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6923         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6924         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6925         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6926         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6927
6928         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6929         of the number.
6930         * stdio-common/printf_fphex.c: Likewise.
6931         * stdio-common/printf_size.c: Likewise.
6932
6933         * math/e_exp10.c: Include math_private.h using <...> not "...".
6934         * math/e_exp10f.c: Likewise.
6935         * math/e_exp10l.c: Likewise.
6936         * math/e_exp2l.c: Likewise.
6937         * math/e_j0l.c: Likewise.
6938         * math/e_j1l.c: Likewise.
6939         * math/e_jnl.c: Likewise.
6940         * math/e_lgammal_r.c: Likewise.
6941         * math/e_rem_pio2l.c: Likewise.
6942         * math/e_scalb.c: Likewise.
6943         * math/e_scalbf.c: Likewise.
6944         * math/e_scalbl.c: Likewise.
6945         * math/k_cosl.c: Likewise.
6946         * math/k_sinl.c: Likewise.
6947         * math/k_tanl.c: Likewise.
6948         * math/s_cacoshf.c: Likewise.
6949         * math/s_catan.c: Likewise.
6950         * math/s_catanf.c: Likewise.
6951         * math/s_catanh.c: Likewise.
6952         * math/s_catanhf.c: Likewise.
6953         * math/s_catanhl.c: Likewise.
6954         * math/s_catanl.c: Likewise.
6955         * math/s_ccosh.c: Likewise.
6956         * math/s_ccoshf.c: Likewise.
6957         * math/s_ccoshl.c: Likewise.
6958         * math/s_cexp.c: Likewise.
6959         * math/s_cexpf.c: Likewise.
6960         * math/s_cexpl.c: Likewise.
6961         * math/s_clog.c: Likewise.
6962         * math/s_clog10.c: Likewise.
6963         * math/s_clog10f.c: Likewise.
6964         * math/s_clog10l.c: Likewise.
6965         * math/s_clogf.c: Likewise.
6966         * math/s_clogl.c: Likewise.
6967         * math/s_csin.c: Likewise.
6968         * math/s_csinf.c: Likewise.
6969         * math/s_csinh.c: Likewise.
6970         * math/s_csinhf.c: Likewise.
6971         * math/s_csinhl.c: Likewise.
6972         * math/s_csinl.c: Likewise.
6973         * math/s_csqrt.c: Likewise.
6974         * math/s_csqrtf.c: Likewise.
6975         * math/s_csqrtl.c: Likewise.
6976         * math/s_ctan.c: Likewise.
6977         * math/s_ctanf.c: Likewise.
6978         * math/s_ctanh.c: Likewise.
6979         * math/s_ctanhf.c: Likewise.
6980         * math/s_ctanhl.c: Likewise.
6981         * math/s_ctanl.c: Likewise.
6982         * math/s_ldexp.c: Likewise.
6983         * math/s_ldexpf.c: Likewise.
6984         * math/s_ldexpl.c: Likewise.
6985         * math/s_significand.c: Likewise.
6986         * math/s_significandf.c: Likewise.
6987         * math/s_significandl.c: Likewise.
6988         * math/w_acos.c: Likewise.
6989         * math/w_acosf.c: Likewise.
6990         * math/w_acosh.c: Likewise.
6991         * math/w_acoshf.c: Likewise.
6992         * math/w_acoshl.c: Likewise.
6993         * math/w_acosl.c: Likewise.
6994         * math/w_asin.c: Likewise.
6995         * math/w_asinf.c: Likewise.
6996         * math/w_asinl.c: Likewise.
6997         * math/w_atan2.c: Likewise.
6998         * math/w_atan2f.c: Likewise.
6999         * math/w_atan2l.c: Likewise.
7000         * math/w_atanh.c: Likewise.
7001         * math/w_atanhf.c: Likewise.
7002         * math/w_atanhl.c: Likewise.
7003         * math/w_cosh.c: Likewise.
7004         * math/w_coshf.c: Likewise.
7005         * math/w_coshl.c: Likewise.
7006         * math/w_dremf.c: Likewise.
7007         * math/w_exp10.c: Likewise.
7008         * math/w_exp10f.c: Likewise.
7009         * math/w_exp10l.c: Likewise.
7010         * math/w_exp2.c: Likewise.
7011         * math/w_exp2f.c: Likewise.
7012         * math/w_fmod.c: Likewise.
7013         * math/w_fmodf.c: Likewise.
7014         * math/w_fmodl.c: Likewise.
7015         * math/w_hypot.c: Likewise.
7016         * math/w_hypotf.c: Likewise.
7017         * math/w_hypotl.c: Likewise.
7018         * math/w_j0.c: Likewise.
7019         * math/w_j0f.c: Likewise.
7020         * math/w_j0l.c: Likewise.
7021         * math/w_j1.c: Likewise.
7022         * math/w_j1f.c: Likewise.
7023         * math/w_j1l.c: Likewise.
7024         * math/w_jn.c: Likewise.
7025         * math/w_jnf.c: Likewise.
7026         * math/w_jnl.c: Likewise.
7027         * math/w_lgamma.c: Likewise.
7028         * math/w_lgamma_r.c: Likewise.
7029         * math/w_lgammaf.c: Likewise.
7030         * math/w_lgammaf_r.c: Likewise.
7031         * math/w_lgammal.c: Likewise.
7032         * math/w_lgammal_r.c: Likewise.
7033         * math/w_log.c: Likewise.
7034         * math/w_log10.c: Likewise.
7035         * math/w_log10f.c: Likewise.
7036         * math/w_log10l.c: Likewise.
7037         * math/w_log2.c: Likewise.
7038         * math/w_log2f.c: Likewise.
7039         * math/w_log2l.c: Likewise.
7040         * math/w_logf.c: Likewise.
7041         * math/w_logl.c: Likewise.
7042         * math/w_pow.c: Likewise.
7043         * math/w_powf.c: Likewise.
7044         * math/w_powl.c: Likewise.
7045         * math/w_remainder.c: Likewise.
7046         * math/w_remainderf.c: Likewise.
7047         * math/w_remainderl.c: Likewise.
7048         * math/w_scalb.c: Likewise.
7049         * math/w_scalbf.c: Likewise.
7050         * math/w_scalbl.c: Likewise.
7051         * math/w_sinh.c: Likewise.
7052         * math/w_sinhf.c: Likewise.
7053         * math/w_sinhl.c: Likewise.
7054         * math/w_sqrt.c: Likewise.
7055         * math/w_sqrtf.c: Likewise.
7056         * math/w_sqrtl.c: Likewise.
7057         * math/w_tgamma.c: Likewise.
7058         * math/w_tgammaf.c: Likewise.
7059         * math/w_tgammal.c: Likewise.
7060
7061         * po/ja.po: Update from translation team.
7062
7063 2011-09-29  Andreas Jaeger  <aj@suse.de>
7064
7065         [BZ #13179]
7066         * sunrpc/netname.c (netname2host): Fix logic.
7067
7068         [BZ #6779]
7069         [BZ #6783]
7070         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
7071         correctly.
7072         * math/w_remainder.c (__remainder): Likewise.
7073         * math/w_remainderf.c (__remainderf): Likewise.
7074         * math/libm-test.inc (remainder_test): Add test cases.
7075
7076 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7077
7078         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
7079         sdiv_qrnnd.
7080
7081 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
7082
7083         * string/test-memcmp.c: Avoid unncessary #defines.
7084         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7085
7086 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7087
7088         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
7089         Use new sse2 version for core i3 - i7 as it's faster
7090         than sse42 version.
7091         (bit_Prefer_PMINUB_for_stringop): New.
7092         * sysdeps/x86_64/rawmemchr.S: Update.
7093         Replace with faster SSE2 version.
7094         * sysdeps/x86_64/memrchr.S: New file.
7095         * sysdeps/x86_64/memchr.S: Update.
7096         Replace with faster SSE2 version.
7097
7098 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
7099
7100         * elf/dl-load.c (lose): Add cast to avoid warning.
7101
7102 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
7103
7104         * po/ca.po: Update from translation team.
7105
7106         * inet/getnetgrent_r.c: Hook up nscd.
7107         * nscd/Makefile (routines): Add nscd_netgroup.
7108         (nscd-modules): Add netgroupcache.
7109         (CFLAGS-netgroupcache.c): Define.
7110         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
7111         (cache_search): Add const to second parameter.
7112         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
7113         INNETGR.
7114         (dbs): Add netgrdb entry.
7115         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
7116         (verify_persistent_db): Handle netgrdb.
7117         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
7118         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
7119         GETFDNETGR.
7120         (netgroup_response_header): Define.
7121         (innetgroup_response_header): Define.
7122         (datahead): Add netgroup_response_header and innetgroup_response_header
7123         elements.
7124         * nscd/nscd.conf: Add entries for netgroup cache.
7125         * nscd/nscd.h (dbtype): Add netgrdb.
7126         (_PATH_NSCD_NETGROUP_DB): Define.
7127         (netgroup_iov_disabled): Declare.
7128         (xmalloc, xcalloc, xrealloc): Move declarations here.
7129         (cache_search): Adjust prototype.
7130         Add netgroup-related prototypes.
7131         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
7132         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
7133         (__nscd_innetgr): Declare.
7134         * nscd/selinux.c (perms): Use access_vector_t as element type and
7135         add netgroup-related initializers.
7136         * nscd/netgroupcache.c: New file.
7137         * nscd/nscd_netgroup.c: New file.
7138         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
7139         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
7140         For four parameters use innetgr.
7141         * nss/nss_files/files-init.c: Add definition and callback for netgr.
7142         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
7143         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
7144         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
7145
7146         * nscd/connections.c (register_traced_file): Don't register file
7147         for disabled databases.
7148
7149 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
7150
7151         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
7152
7153         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
7154         from tree and freeing node.
7155
7156 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
7157
7158         * nss/nsswitch.c (__nss_database_lookup): Handle
7159         nss_parse_service_list out of memory case.
7160
7161 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
7162
7163         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
7164         out of memory case.
7165
7166 2011-10-04  Andreas Schwab  <schwab@redhat.com>
7167
7168         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
7169         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
7170         pass it down.
7171         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
7172         elf_machine_rela, elf_machine_lazy_rel.
7173         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
7174         (ELF_DYNAMIC_DO_REL): Likewise.
7175         (ELF_DYNAMIC_DO_RELA): Likewise.
7176         (ELF_DYNAMIC_RELOCATE): Likewise.
7177         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
7178         to ELF_DYNAMIC_DO_REL.
7179         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
7180         (dl_main): In trace mode always set __RTLD_NOIFUNC.
7181         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
7182         elf_machine_rela.
7183         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
7184         skip_ifunc, don't call ifunc function if non-zero.
7185         (elf_machine_rela): Likewise.
7186         (elf_machine_lazy_rel): Likewise.
7187         (elf_machine_lazy_rela): Likewise.
7188         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
7189         (elf_machine_lazy_rel): Likewise.
7190         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
7191         Likewise.
7192         (elf_machine_lazy_rel): Likewise.
7193         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7194         Likewise.
7195         (elf_machine_lazy_rel): Likewise.
7196         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
7197         (elf_machine_lazy_rel): Likewise.
7198         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
7199         (elf_machine_lazy_rel): Likewise.
7200         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7201         (elf_machine_lazy_rel): Likewise.
7202         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7203         (elf_machine_lazy_rel): Likewise.
7204         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7205         (elf_machine_lazy_rel): Likewise.
7206         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7207         (elf_machine_lazy_rel): Likewise.
7208
7209 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
7210
7211         * nss/nss_files/files-init.c (_nss_files_init): Use static
7212         initialization for all the *_traced_file variables.
7213
7214 2011-09-28  Andreas Schwab  <schwab@redhat.com>
7215
7216         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7217
7218 2011-09-27  Roland McGrath  <roland@hack.frob.com>
7219
7220         [BZ #13226]
7221         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
7222
7223 2011-09-27  Andreas Schwab  <schwab@redhat.com>
7224
7225         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7226         Reread the line before reparsing it.
7227
7228 2011-09-26  Andreas Schwab  <schwab@redhat.com>
7229
7230         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
7231
7232 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
7233             Maxim Kuvyrkov  <maxim@codesourcery.com>
7234             Joseph Myers  <joseph@codesourcery.com>
7235
7236         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
7237         if needed for __stack_chk_guard.
7238
7239 2011-09-19  Roland McGrath  <roland@hack.frob.com>
7240
7241         * sysdeps/posix/spawni.c (script_execute): Always define it.
7242         It will be optimized away if unused.
7243         (maybe_script_execute): New function.
7244         (__spawni): Call it.
7245
7246         * Makerules: Don't include tls.make.
7247         (config-tls): Always set to thread.
7248         * tls.make.c: File removed.
7249
7250 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
7251
7252         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
7253         * config.make.in (CPPFLAGS-config): New substituted variable.
7254
7255 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
7256
7257         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
7258
7259         [BZ #13192]
7260         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
7261         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
7262
7263 2011-09-15  Roland McGrath  <roland@hack.frob.com>
7264
7265         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
7266         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
7267         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
7268         (CALL_FAIL): Likewise.
7269         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
7270         (CALL_FAIL): Macro removed.
7271         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
7272
7273 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
7274
7275         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
7276         for __FINITE_MATH_ONLY__ == 1.
7277
7278 2011-09-15  Andreas Schwab  <schwab@redhat.com>
7279
7280         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
7281         __ieee754_sqrt instead of sqrt.
7282         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
7283         __ieee754_sqrtf instead of sqrtf.
7284         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7285         __floorf instead of floorf.
7286         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
7287         __floorf, __truncf instead of floorf, truncf.
7288
7289 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
7290
7291         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
7292
7293         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
7294         __extern_always_inline.
7295         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
7296         32-bit.
7297
7298 2011-09-14  Andreas Schwab  <schwab@redhat.com>
7299
7300         * elf/rtld.c (dl_main): Also relocate in dependency order when
7301         doing symbol dependency testing.
7302
7303 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
7304
7305         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7306         Always define `refsym'.
7307
7308 2011-09-13  Andreas Schwab  <schwab@redhat.com>
7309
7310         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
7311         (__FD_ELT): Renamed from __FDELT.
7312         * misc/bits/select2.h (__FD_ELT): Likewise.
7313         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
7314         __FD_MASK instead of __FDELT, __FDMASK.
7315         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7316         Likewise.
7317         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7318         Likewise.
7319
7320         * elf/Makefile (gen-ldd): Fix pattern.
7321
7322         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
7323         (init_tls): Likewise.
7324
7325 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
7326
7327         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
7328
7329 2011-09-12  Andreas Schwab  <schwab@redhat.com>
7330
7331         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
7332         `struct cmsghdr *' instead of `void *'.
7333         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
7334         Likewise.
7335
7336 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
7337
7338         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
7339         if non-absolute.
7340         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
7341         ldd_rewrite_script.
7342
7343 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
7344
7345         * configure.in: Remove --with-tls option.
7346         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
7347         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
7348         out in case it is missing.
7349         * sysdeps/ia64/elf/configure.in: Likewise.
7350         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
7351         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
7352         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
7353         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
7354         * sysdeps/sh/elf/configure.in: Likewise.
7355         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
7356         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7357         * sysdeps/x86_64/elf/configure.in: Likewise.
7358         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
7359         * sysdeps/mach/hurd/tls.h: Likewise.
7360
7361         [BZ #13067]
7362         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
7363
7364         [BZ #13090]
7365         * configure.in: Fix use of AC_INIT.
7366
7367         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
7368
7369 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
7370
7371         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
7372         __set_errno.
7373         * malloc/hooks.c: Likewise.
7374
7375         [BZ #11929]
7376         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
7377         variables statically.
7378         (narenas): Initialize.
7379         (list_lock): Initialize.
7380         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
7381         initializtion of main_arena and list_lock.  Small cleanups.
7382         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
7383         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
7384         Add initializers to main_arena and mp_.
7385         (malloc_state): Remove pagesize member.  Change all users to use
7386         GLRO(dl_pagesize).
7387
7388         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
7389         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
7390         is always initialized.
7391
7392         * malloc/malloc.c: Removed unused configurations and dead code.
7393         * malloc/arena.c: Likewise.
7394         * malloc/hooks.c: Likewise.
7395         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
7396
7397         * include/tls.h: Removed.  USE___THREAD must always be defined.
7398         * bits/libc-tsd.h: Don't handle !USE___THREAD.
7399         * elf/dl-libc.c: Likewise.
7400         * elf/dl-tsd.c: Likewise.
7401         * include/errno.h: Likewise.
7402         * include/netdb.h: Likewise.
7403         * include/resolv.h: Likewise.
7404         * inet/herrno-loc.c: Likewise.
7405         * inet/herrno.c: Likewise.
7406         * malloc/arena.c: Likewise.
7407         * malloc/hooks.c: Likewise.
7408         * malloc/malloc.c: Likewise.
7409         * resolv/res-state.c: Likewise.
7410         * resolv/res_libc.c: Likewise.
7411         * sysdeps/i386/dl-machine.h: Likewise.
7412         * sysdeps/ia64/dl-machine.h: Likewise.
7413         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7414         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7415         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7416         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7417         * sysdeps/sh/dl-machine.h: Likewise.
7418         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7419         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7420         * sysdeps/unix/i386/sysdep.S: Likewise.
7421         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7422         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7423         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7424         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7425         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7426         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7427         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7428         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7429         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7430         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7431         * sysdeps/unix/x86_64/sysdep.S: Likewise.
7432         * sysdeps/x86_64/dl-machine.h: Likewise.
7433         * tls.make.c: Likewise.
7434
7435         * configure.in: Remove --with-__thread option.  Make tests for
7436         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
7437         tls_model attribute fail if no support is available.  Remove
7438         USE_IN_LIBIO.
7439         * Makeconfig: Adjust for dropped configure option.  All features are
7440         now mandatory.
7441         * Makerules: Likewise.
7442         * Versions.def: Likewise.
7443         * argp/argp-fmtstream.c: Likewise.
7444         * argp/argp-fmtstream.h: Likewise.
7445         * argp/argp-help.c: Likewise.
7446         * assert/assert.c: Likewise.
7447         * config.h.in: Likewise.
7448         * config.make.in: Likewise.
7449         * configure: Likewise.
7450         * configure.in: Likewise.
7451         * csu/Versions: Likewise.
7452         * csu/init.c: Likewise.
7453         * elf/tst-audit2.c: Likewise.
7454         * elf/tst-tls10.c: Likewise.
7455         * elf/tst-tls10.h: Likewise.
7456         * elf/tst-tls11.c: Likewise.
7457         * elf/tst-tls12.c: Likewise.
7458         * elf/tst-tls14.c: Likewise.
7459         * elf/tst-tlsmod11.c: Likewise.
7460         * elf/tst-tlsmod12.c: Likewise.
7461         * elf/tst-tlsmod13.c: Likewise.
7462         * elf/tst-tlsmod13a.c: Likewise.
7463         * elf/tst-tlsmod14a.c: Likewise.
7464         * elf/tst-tlsmod15b.c: Likewise.
7465         * elf/tst-tlsmod16a.c: Likewise.
7466         * elf/tst-tlsmod16b.c: Likewise.
7467         * elf/tst-tlsmod7.c: Likewise.
7468         * elf/tst-tlsmod8.c: Likewise.
7469         * elf/tst-tlsmod9.c: Likewise.
7470         * gmon/gmon.c: Likewise.
7471         * grp/fgetgrent_r.c: Likewise.
7472         * grp/putgrent.c: Likewise.
7473         * hurd/fopenport.c: Likewise.
7474         * include/libc-symbols.h: Likewise.
7475         * include/tls.h: Likewise.
7476         * intl/gettextP.h: Likewise.
7477         * intl/loadinfo.h: Likewise.
7478         * locale/global-locale.c: Likewise.
7479         * locale/localeinfo.h: Likewise.
7480         * mach/devstream.c: Likewise.
7481         * malloc/arena.c: Likewise.
7482         * malloc/set-freeres.c: Likewise.
7483         * misc/err.c: Likewise.
7484         * misc/getttyent.c: Likewise.
7485         * misc/mntent_r.c: Likewise.
7486         * posix/getopt.c: Likewise.
7487         * posix/wordexp.c: Likewise.
7488         * pwd/fgetpwent_r.c: Likewise.
7489         * resolv/Versions: Likewise.
7490         * resolv/res_hconf.c: Likewise.
7491         * shadow/fgetspent_r.c: Likewise.
7492         * shadow/putspent.c: Likewise.
7493         * stdio-common/printf_fphex.c: Likewise.
7494         * stdio-common/tmpfile.c: Likewise.
7495         * stdlib/abort.c: Likewise.
7496         * stdlib/fmtmsg.c: Likewise.
7497         * sunrpc/auth_unix.c: Likewise.
7498         * sunrpc/clnt_perr.c: Likewise.
7499         * sunrpc/clnt_tcp.c: Likewise.
7500         * sunrpc/clnt_udp.c: Likewise.
7501         * sunrpc/clnt_unix.c: Likewise.
7502         * sunrpc/openchild.c: Likewise.
7503         * sunrpc/svc_simple.c: Likewise.
7504         * sunrpc/svc_tcp.c: Likewise.
7505         * sunrpc/svc_udp.c: Likewise.
7506         * sunrpc/svc_unix.c: Likewise.
7507         * sunrpc/xdr.c: Likewise.
7508         * sunrpc/xdr_array.c: Likewise.
7509         * sunrpc/xdr_rec.c: Likewise.
7510         * sunrpc/xdr_ref.c: Likewise.
7511         * sunrpc/xdr_stdio.c: Likewise.
7512
7513 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
7514
7515         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7516
7517 2011-07-03  Andreas Jaeger  <aj@suse.de>
7518
7519         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
7520         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
7521         regenerate with gen-libm-tests.pl.
7522
7523 2010-05-12  Petr Baudis  <pasky@suse.cz>
7524
7525         [BZ #11589]
7526         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
7527         around j0() zero points by switching to j1().
7528         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7529         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7530         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7531         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7532
7533 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
7534
7535         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
7536         instead of 0.
7537         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
7538         instead of 0.                              .
7539         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7540         Patch in part by Pavel Roskin <proski@gnu.org>.
7541
7542         [BZ #13138]
7543         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
7544         realloc.
7545         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
7546         Free memory block if necessary.
7547
7548         [BZ #12847]
7549         * libio/genops.c (INTDEF): For string streams the _lock pointer can
7550         be NULL.  Don't lock in this case.
7551
7552 2011-09-09  Roland McGrath  <roland@hack.frob.com>
7553
7554         * elf/elf.h (ELFOSABI_GNU): New macro.
7555         (ELFOSABI_LINUX): Define to that.
7556
7557 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
7558
7559         * string/strncat.c (strncat): Undef the symbol in case it has been
7560         defined in bits/string.h.
7561
7562 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
7563
7564         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
7565
7566         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
7567         link map.
7568
7569 2011-08-17  Andreas Jaeger  <aj@suse.de>
7570
7571         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
7572
7573 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
7574             Ian Lance Taylor  <iant@google.com>
7575
7576         * math/libm-test.inc (lround_test): New testcase.
7577         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
7578
7579 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
7580
7581         * Makefile: Remove support for automatic cvs check-ins.
7582         * Makerules: Likewise.
7583         * config.make.in: Likewise.
7584         * configure.in: Likewise.
7585         * intl/Makefile: Likewise.
7586         * locale/Makefile: Likewise.
7587         * po/Makefile: Likewise.
7588         * posix/Makefile: Likewise.
7589         * sysdeps/gnu/Makefile: Likewise.
7590         * sysdeps/mach/hurd/Makefile: Likewise.
7591         * sysdeps/sparc/sparc32/Makefile: Likewise.
7592
7593         [BZ #13118]
7594         * posix/Makefile (bug-regex32-ENV): Define.
7595         Patch by John Stanley <jpsinthemix@verizon.net>.
7596
7597         * misc/Makefile (headers): Add bits/select2.h.
7598         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
7599         * misc/bits/select2.h: New file.
7600         * include/bits/select2.h: New file.
7601         * debug/Makefile (routines): Add fdelt_chk.
7602         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
7603         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
7604         FD_ISSET.
7605         * debug/fdelt_chk.c: New file.
7606
7607         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
7608         * wcsmbs/test-wmemcmp.c: Likewise.
7609         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
7610         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
7611
7612 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7613
7614         * string/Makefile (strop-tests): Add memcmp.
7615         * string/test-wmemcmp.c: New file.
7616         * string/test-memcmp.c: Add wmemcmp support.
7617
7618 2011-09-08  Roland McGrath  <roland@hack.frob.com>
7619
7620         [BZ #13153]
7621         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
7622         2011-07-19 change.
7623
7624         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
7625         garbage value in a __mach_port_mod_refs call in the cases of the
7626         task-self and thread-self ports.
7627
7628 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7629
7630         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
7631
7632 2011-09-08  Andreas Schwab  <schwab@redhat.com>
7633
7634         * elf/dl-load.c (lose): Check for non-null L.
7635
7636 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
7637
7638         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
7639
7640         * elf/dl-libc.c (dlerror_run): Pass back error code from
7641         dl_catch_error.
7642
7643         [BZ #13123]
7644         * elf/dl-load.c (lose): Free l_origin if it is valid.
7645
7646         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
7647         names.
7648         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7649         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7650         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7651         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7652         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7653         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
7654
7655 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7656
7657         * sysdeps/powerpc/fpu/e_hypot.c: New file.
7658         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
7659         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
7660         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
7661         * sysdeps/powerpc/fpu/k_cosf.c: New file.
7662         * sysdeps/powerpc/fpu/k_sinf.c: New file.
7663         * sysdeps/powerpc/fpu/s_cosf.c: New file.
7664         * sysdeps/powerpc/fpu/s_sinf.c: New file.
7665         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
7666         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
7667
7668 2011-08-15  Alan Modra  <amodra@gmail.com>
7669
7670         [BZ #13092]
7671         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
7672         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
7673         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
7674         ppc_mcount to static-only-routines.
7675         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
7676         __mcount_internal.
7677         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
7678         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
7679
7680 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
7681
7682         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
7683         for finite and infinity parameters.
7684
7685 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
7686
7687         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
7688         and add nop instructions for throughput optimization.
7689         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7690
7691 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
7692
7693         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
7694         aligned copy for power7 with vector-scalar instructions.
7695         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7696
7697 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
7698
7699         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
7700         AVX check.
7701
7702 2011-09-07  Andreas Schwab  <schwab@redhat.com>
7703
7704         [BZ #13144]
7705         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
7706         last change.
7707
7708 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
7709
7710         * sysdeps/unix/sysv/linux/x86_64/init-first.c
7711         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7712         syscall wrapper around clock_gettime in __vdso_clock_gettime.
7713         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7714         clock_gettime.
7715
7716 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
7717
7718         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7719         Forgot to demangle the pointer.
7720
7721         * sysdeps/i386/sysdep.h: Define atom_text_section.
7722         * sysdeps/x86_64/sysdep.h: Likewise.
7723         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7724         section with atom_text_section.
7725         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7726         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7727         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7728         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7729         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7730
7731         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7732         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7733         already be defined.  Change to take two parameters and don't assign
7734         result to variable.  Adjust all users.
7735         Define INTERNAL_GETTIME if not already defined.
7736         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7737         call.
7738         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7739         HAVE_CLOCK_GETTIME_VSYSCALL.
7740         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7741
7742         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7743         gettimeofday vsyscall, just use time.
7744
7745 2011-09-06  Andreas Schwab  <schwab@redhat.com>
7746
7747         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7748         <errno.h>.
7749
7750 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
7751
7752         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7753         syscall on x86-64.
7754         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7755         syscall.
7756         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7757         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7758         syscall if possible.
7759
7760 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
7761
7762         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7763         e_ident.  Don't pass to find_mapsXX.
7764         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7765
7766 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7767
7768         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7769         strchr-sse2-no-bsf strrchr-sse2-no-bsf
7770         * sysdeps/x86_64/multiarch/strchr.S: Update.
7771         Check bit_slow_BSF bit.
7772         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7773         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7774         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7775
7776 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
7777
7778         [BZ #13134]
7779         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7780         before glibc 2.15.
7781         (tryshell): Define.
7782         (__spawni): Change last parameter to be flag.  Test
7783         SPAWN_XFLAGS_USE_PATH flag to use path or not.
7784         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7785         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7786         * posix/spawni.c: Likewise.
7787         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7788         * posix/spawnp.c: Likewise.  Change normal version to use
7789         SPAWN_XFLAGS_USE_PATH.
7790         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7791         SPAWN_XFLAGS_TRY_SHELL.
7792
7793         [BZ #13150]
7794         * posix/glob.h: Remove gcc 1.x support.
7795
7796         [BZ #13068]
7797         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7798
7799 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7800
7801         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7802         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7803         strrchr-sse2-bsf
7804         * sysdeps/i386/i686/multiarch/strchr.S: New file.
7805         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7806         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7807         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7808         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7809         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7810
7811 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7812
7813         * sysdeps/x86_64/wcscmp.S: New file.
7814
7815         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7816         wcscmp-c wcscmp-sse2
7817         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7818         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7819         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7820         * wcsmbs/wcscmp.c: Allow renaming.
7821
7822 2011-09-05  David S. Miller  <davem@davemloft.net>
7823
7824         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7825         stack slot, rather than the struct return pointer slot.
7826         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7827         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7828         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7829         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7830
7831 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
7832
7833         * po/ja.po: Update from translation team.
7834
7835         [BZ #13144]
7836         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7837         kernel in 64-bit binaries.
7838
7839 2011-09-01  David S. Miller  <davem@davemloft.net>
7840
7841         * elf/elf.h (HWCAP_SPARC_*): Move to..
7842         * sysdeps/sparc/sysdep.h: this new file and add new values.
7843         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7844         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7845         _DL_HWCAP_COUNT to 24.
7846         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7847         entries.
7848         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7849         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7850         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7851         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7852         instead of magic constants.
7853         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7854
7855 2011-08-31  David S. Miller  <davem@davemloft.net>
7856
7857         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7858         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7859         Reimplement to do errno handling inline.
7860         (SYSCALL_ERROR_HANDLER): New macro.
7861         (__SYSCALL_STRING): Do not do errno handling in asm.
7862         (__CLONE_SYSCALL_STRING): Delete.
7863         (__INTERNAL_SYSCALL_STRING): Delete.
7864         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7865         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7866         (PSEUDO): Reimplement to do errno handling inline.
7867         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7868         (SYSCALL_ERROR_HANDLER): New macro.
7869         (__SYSCALL_STRING): Do not do errno handling in asm.
7870         (__CLONE_SYSCALL_STRING): Delete.
7871         (__INTERNAL_SYSCALL_STRING): Delete.
7872         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7873         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7874         i386.
7875         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7876         (inline_syscall*): Add 'err' argument.
7877         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7878         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7879         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7880         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7881
7882         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7883         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7884
7885 2011-08-30  Andreas Schwab  <schwab@redhat.com>
7886
7887         * elf/rtld.c (dl_main): Relocate objects in dependency order.
7888
7889 2011-08-29  Jiri Olsa <jolsa@redhat.com>
7890
7891         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7892         directive.
7893
7894 2011-08-24  David S. Miller  <davem@davemloft.net>
7895
7896         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7897
7898 2011-08-24  Andreas Schwab  <schwab@redhat.com>
7899
7900         * elf/Makefile: Add rules to build and run unload8 test.
7901         * elf/unload8.c: New file.
7902         * elf/unload8mod1.c: New file.
7903         * elf/unload8mod1x.c: New file.
7904         * elf/unload8mod2.c: New file.
7905         * elf/unload8mod3.c: New file.
7906
7907         * elf/dl-close.c (_dl_close_worker): Reset private search list if
7908         it wasn't used.
7909
7910 2011-08-23  David S. Miller  <davem@davemloft.net>
7911
7912         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7913         subtract stack bias.
7914         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7915         %sp not %fp in calculations.
7916         (_JMPBUF_UNWINDS_ADJ): Likewise.
7917
7918         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7919         (aio_suspend): Call it to force an exception region around the
7920         AIO_MISC_WAIT() invocation.
7921
7922 2011-08-23  Andreas Schwab  <schwab@redhat.com>
7923
7924         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7925         backslash.
7926
7927 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
7928
7929         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7930         protection macro.
7931         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7932         and <dl-machine.h>.
7933         (Elf64_FuncDesc): Remove.
7934
7935 2011-08-22  David S. Miller  <davem@davemloft.net>
7936
7937         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7938         sigaltstack check, add missing cfi directives.
7939         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7940         missing cfi directives, and sigaltstack handling.
7941
7942 2011-08-16  Andreas Schwab  <schwab@redhat.com>
7943
7944         [BZ #11724]
7945         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7946         object is seen twice.
7947         * elf/dl-fini.c (_dl_sort_fini): Likewise.
7948
7949         * elf/Makefile (distribute): Add tst-initorder2.c.
7950         (tests): Add tst-initorder2.
7951         (modules-names): Add tst-initorder2a tst-initorder2b
7952         tst-initorder2c tst-initorder2d.  Add rules to build them.
7953         ($(objpfx)tst-initorder2.out): New rule.
7954         * elf/tst-initorder2.c: New file.
7955         * elf/tst-initorder2.exp: New file.
7956
7957 2011-08-22  Andreas Schwab  <schwab@redhat.com>
7958
7959         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7960
7961         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7962         dependencies back to end of function.
7963
7964         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7965         $(elfobjdir)/ld.so.
7966
7967 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
7968
7969         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7970         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7971         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
7972         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
7973         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
7974         of __vdso_gettimeofday.
7975         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
7976         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
7977         attribute_hidden.
7978         (_libc_vdso_platform_setup): Remove initialization of
7979         __vdso_gettimeofday and __vdso_time.
7980
7981 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
7982
7983         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
7984         and fgetc_unlocked.
7985         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
7986         getc_unlocked.
7987
7988         * elf/dl-open.c (add_to_global): Report additions to the global scope
7989         for LD_DEBUG=scopes.
7990         (dl_open_worker): Also print scope of newly loaded dependencies.
7991         (_dl_show_scope): Indicate if there is no scope.
7992
7993         [BZ #13114]
7994         * stdio-common/Makefile (tests): Add bug24.
7995         * stdio-common/bug24.c: New file.
7996
7997 2011-08-19  Andreas Jaeger  <aj@suse.de>
7998
7999         [BZ #13114]
8000         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
8001         non-existant file when using close-on-exec mode.
8002
8003 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
8004
8005         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
8006         the very first instruction.
8007
8008         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
8009         the CFI state in the end.
8010         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
8011         inclusion of dl-trampoline.h.
8012         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
8013
8014 2011-08-19  Andreas Schwab  <schwab@redhat.com>
8015
8016         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
8017         expectations for long double.
8018
8019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
8020         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
8021
8022 2011-08-14  David S. Miller  <davem@davemloft.net>
8023
8024         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
8025         artificual limit depends upon the system page size.
8026
8027 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
8028
8029         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
8030         * resolv/Makefile: Define CFLAGS-libresolv.
8031
8032 2011-08-17  Andreas Schwab  <schwab@redhat.com>
8033
8034         * nss/makedb.c (compute_tables): Make variables used in nested
8035         function static.
8036
8037 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
8038
8039         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
8040         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
8041         if buffer was too small.
8042
8043         * elf/pldd.c (main): Attach to all threads in the process.
8044         Rewrite /proc handling to use *at functions.
8045
8046 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
8047
8048         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
8049         specifies first scope to show.
8050         (dl_open_worker): Update callers.  Move printing scope of new
8051         object to before the relocation.
8052         * elf/rtld.c (dl_main): Update _dl_show_scope call.
8053         * sysdeps/generic/ldsodefs.h: Update declaration.
8054
8055         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
8056         string for the scope number.
8057
8058 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
8059
8060         * nscd/servicescache.c (cache_addserv): Make sure written is always
8061         initialized.
8062
8063 2011-08-14  Roland McGrath  <roland@hack.frob.com>
8064
8065         * sysdeps/i386/i486/bits/atomic.h
8066         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
8067         statement expression, so as to suppress "set but not used" warning.
8068         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
8069
8070         * string/strncat.c (STRNCAT): Use prototype definition.
8071
8072         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
8073         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
8074         -Iprograms here.
8075         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
8076         (localedef-modules): Add localedef.
8077         (locale-modules): Add locale.
8078
8079         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
8080         * elf/rtld.c (dl_main): Invert order of assignment in last change,
8081         to avoid a warning.
8082
8083 2011-08-14  David S. Miller  <davem@davemloft.net>
8084
8085         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
8086         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
8087
8088 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
8089
8090         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
8091         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
8092         * elf/rtld.c (dl_main): Set l_name of vDSO.
8093         Call _dl_show_scope when DL_DEBUG_SCOPES.
8094         (process_dl_debug): Recognize scopes flag and also set it for all.
8095         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
8096         Declare _dl_show_scope.
8097
8098         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
8099         (do_dlopen): Pass caller_dlopen to dl_open.
8100         (__libc_dlopen_mode): Initialize caller_dlopen.
8101
8102         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
8103         of libc.  Make tolower call locale-independent.  Optimize a bit by
8104         using isdigit instead of isalnum.
8105         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
8106
8107 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
8108
8109         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
8110         was a dependency or dynamically loaded.
8111
8112 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
8113
8114         * intl/l10nflist.c: Allow architecture-specific pop function.
8115         * sysdeps/x86_64/l10nflist.c: New file.
8116
8117         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
8118         classification.
8119
8120 2011-08-10  Andreas Schwab  <schwab@redhat.com>
8121
8122         * include/dirent.h: Add libc_hidden_proto for scandirat and
8123         scandirat64.  Don't declare __scandirat64.
8124         * dirent/scandirat.c: Add libc_hidden_def.
8125         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
8126         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
8127
8128 2011-08-10  David S. Miller  <davem@davemloft.net>
8129
8130         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
8131         enum.
8132         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8133         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8134         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8135
8136 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
8137
8138         * Versions.def [libc]: Add GLIBC_2.15.
8139         * dirent/Makefile (routines): Add scandirat and scandirat64.
8140         * dirent/Versions [libc]: Export scandirat and scandirat64 for
8141         GLIBC_2.15.
8142         * dirent/dirent.h: Declare scandirat and scandirat64.
8143         * dirent/scandirat.c: New file.
8144         * dirent/scandirat64.c: New file.
8145         * sysdeps/wordsize-64/scandirat.c: New file.
8146         * sysdeps/wordsize-64/scandirat64.c: New file.
8147         * dirent/opendir.c: Define opendirat.
8148         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
8149         using scandirat.
8150         * dirent/scandir64.c: Adjust for scandir.c change.
8151         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
8152         __scandirat64, and __scandir_cancel_handler.
8153         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
8154         additional parameter and use openat instead of open (outside of ld.so).
8155         Add new __opendir as wrapper around __opendirat.
8156         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
8157         here without requiring old scandirat implementation.
8158
8159 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
8160
8161         * dirent/scandir.c (cancel_handler): Renamed to
8162         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
8163         defined.  Adjust users.
8164         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
8165         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
8166
8167 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
8168
8169         * string/test-string.h (IMPL): Use __STRING to expand name and then
8170         stringify it.
8171
8172         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
8173         of cleanups.
8174
8175 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8176
8177         * string/Makefile: Update.
8178         (strop-tests): Append strncat.
8179         * string/test-wcscmp.c: New file.
8180         New comprehensive test for wcscmp.
8181         * string/test-strcmp.c: Update.
8182         (WIDE): New define.
8183
8184 2011-07-22  Andreas Schwab  <schwab@redhat.com>
8185
8186         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
8187         line.
8188
8189 2011-07-26  Andreas Schwab  <schwab@redhat.com>
8190
8191         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8192         encoding to ACE if AI_IDN.
8193
8194 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
8195
8196         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
8197         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
8198
8199 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8200
8201         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
8202         Fix overflow bug in strncat.
8203         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8204
8205         * string/test-strncat.c: Update.
8206         Add new tests for checking overflow bugs.
8207
8208 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8209
8210         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8211         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
8212         * sysdeps/i386/i686/multiarch/strcat.S: New file.
8213         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
8214         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
8215         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
8216         * sysdeps/i386/i686/multiarch/strncat.S: New file.
8217         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
8218         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
8219
8220         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
8221         (USE_AS_STRCAT): Define.
8222         Add strcat and strncat support.
8223         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8224
8225 2011-07-25  Andreas Schwab  <schwab@redhat.com>
8226
8227         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
8228         __n bigger than INT_MAX+1.
8229         (__strncmp_g): Likewise.
8230
8231 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
8232
8233         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
8234         * libio/stido.h: Likewise.
8235
8236         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
8237         (AF_NFC): Define.
8238         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
8239         (AF_NFC): Define.
8240
8241         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
8242         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8243         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8244         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
8245         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8246
8247         [BZ #13021]
8248         * scripts/test-installation.pl: Don't expect libnss_test1 to be
8249         installed.
8250
8251         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
8252         typo.
8253         (_dl_x86_64_save_sse): Likewise.
8254
8255 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
8256
8257         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
8258         OSXSAVE.
8259         (_dl_x86_64_save_sse): Likewise.
8260
8261         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
8262
8263         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
8264
8265 2011-07-21  Andreas Schwab  <schwab@redhat.com>
8266
8267         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
8268         change.
8269         (_dl_x86_64_save_sse): Use correct AVX check.
8270
8271 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8272
8273         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
8274         bug in strncpy/strncat.
8275         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8276
8277 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
8278
8279         * string/tester.c (test_strcat): Add tests for different alignments
8280         of source and destination.
8281         (test_strncat): Likewise.
8282
8283 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
8284
8285         [BZ #12852]
8286         * posix/glob.c (glob): Check passed in values before using them in
8287         expressions to avoid some overflows.
8288         (glob_in_dir): Likewise.
8289
8290         [BZ #13007]
8291         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
8292         check for AVX enablement so that we don't crash with old kernels and
8293         new hardware.
8294         * elf/tst-audit4.c: Add same checks here.
8295         * elf/tst-audit6.c: Likewise.
8296
8297         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
8298
8299 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
8300
8301         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
8302
8303 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
8304
8305         * po/cs.po: Update from translation team.
8306         * po/bg.po: Likewise.
8307
8308 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
8309
8310         * misc/sys/cdefs.h: Add support for const attribute.
8311         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
8312         to gnu_dev_{major,minor,makedev} functions.
8313
8314 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
8315
8316         * intl/dcigettext.c (get_output_charset): Add missing bracket.
8317
8318 2011-07-20  Andreas Schwab  <schwab@redhat.com>
8319
8320         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
8321         strlen results.
8322
8323 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8324
8325         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
8326         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
8327         register in order to avoid conflicts with the soft frame pointer
8328         being held in r11 when necessary.
8329         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
8330         (INTERNAL_VSYSCALL_NCS): Likewise.
8331
8332 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
8333
8334         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
8335         * elf/dl-fini.c (_dl_fini): Adjust caller.
8336         * elf/dl-close.c (_dl_close_worker): Likewise.
8337         * sysdeps/generic/ldsodefs.h: Adjust declaration.
8338
8339 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
8340
8341         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
8342         "aux_cache->nlibs < 0".
8343
8344         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
8345         in the reload-count case.
8346
8347 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8348
8349         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8350         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
8351         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
8352         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
8353         * sysdeps/x86_64/multiarch/strcat.S: New file.
8354         * sysdeps/x86_64/multiarch/strncat.S: New file.
8355         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
8356         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
8357         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
8358         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
8359         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
8360         (USE_AS_STRCAT): Define.
8361         Add strcat and strncat support.
8362         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8363         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8364         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
8365         * string/strncat.c: Update.
8366         (USE_AS_STRNCAT): Define.
8367         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8368         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
8369         and i7.
8370         * sysdeps/x86_64/multiarch/init-arch.h
8371         (bit_Prefer_PMINUB_for_stringop): New.
8372         (index_Prefer_PMINUB_for_stringop): Likewise.
8373         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
8374         bit_Prefer_PMINUB_for_stringop.
8375
8376 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
8377
8378         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
8379         buffer64.
8380         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
8381         of casting of buffer.
8382         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
8383         buffer32 and buffer64.
8384         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
8385         writes instead of casting of buffer.
8386         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
8387         buffer32.
8388         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
8389         casting of buffer.
8390
8391 2011-07-19  Andreas Schwab  <schwab@redhat.com>
8392
8393         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
8394
8395 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
8396
8397         * nscd/nscd.c (termination_handler): Don't do anything for a database
8398         if it has not yet been initialized.
8399
8400 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
8401
8402         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8403
8404 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
8405
8406         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8407
8408 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
8409
8410         * po/nl.po: Update from translation team.
8411         * po/sv.po: Likewise.
8412
8413 2011-07-16  Roland McGrath  <roland@hack.frob.com>
8414
8415         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
8416         now disallowed by GCC.
8417
8418         * configure.in (use-default-link): Default to yes if a test -shared
8419         link meets our qualifications.
8420         * configure: Regenerated.
8421
8422         * config.make.in (output-format): New variable.
8423         * configure.in: Check for ld --print-output-format support.
8424         * configure: Regenerated.
8425         * Makerules ($(common-objpfx)format.lds)
8426         [$(output-format) != unknown]: Just use $(output-format),
8427         instead of the linker-script munging.
8428
8429 2011-07-14  Roland McGrath  <roland@hack.frob.com>
8430
8431         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
8432         of $(common-objpfx)shlib.lds.
8433         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
8434
8435         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
8436         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
8437
8438         * configure.in (-z relro check): Adjust test code to add a large
8439         writable data section after it.
8440         * configure: Regenerated.
8441
8442 2011-07-11  Roland McGrath  <roland@hack.frob.com>
8443
8444         * configure.in (-z relro check): Fix test code to make the variable
8445         truly const.
8446         * configure: Regenerated.
8447
8448 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
8449
8450         * nscd/nscd.h (struct traced_file): Define.
8451         (struct database_dyn): Remove inotify_descr, reset_res, and filename
8452         elements.  Add traced_files.
8453         (inotify_fd): Declare.
8454         (register_traced_file): Declare.
8455         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
8456         (inotify_fd): Export.
8457         (resolv_conf_descr): Remove.
8458         (nscd_init): Move inotify descriptor creation to main.
8459         Don't register files for notification here.
8460         (register_traced_file): New function.
8461         (invalidate_cache): Don't use reset_res to determine whether to call
8462         res_init, go through the list of registered files.
8463         (main_loop_poll): The inotify descriptors are now stored in the
8464         structures for the traced files.
8465         (main_loop_epoll): Likewise
8466         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
8467         to __nss_disable_nscd.
8468         * nscd/cache.c (prune_cache): There is no single inotify descriptor
8469         for a database anymore.  Check the records for all the registered
8470         files instead.
8471         * nss/Makefile (libnss_files-routines): Add files-init.
8472         (libnss_db-routines): Add db-init.
8473         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
8474         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
8475         * nss/nss_db/db-init.c: New file.
8476         * nss/nss_files/files-init.c: New file.
8477         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
8478         __nss_lookup_function.
8479         (__nss_lookup_function): Call nss_load_library.
8480         (nss_load_all_libraries): New function.
8481         (__nss_disable_nscd): Take parameter with callback function for files
8482         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
8483         used for the cached services.
8484         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
8485         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
8486         options for features to all the files in nscd.
8487
8488         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
8489
8490 2011-07-10  Roland McGrath  <roland@hack.frob.com>
8491
8492         * csu/elf-init.c (__libc_csu_init): Comment typo.
8493
8494 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
8495
8496         * po/pl.po: Update from translation team.
8497         * po/ja.po: Likewise.
8498         * po/ru.po: Likewise.
8499         * po/ko.po: Likewise.
8500         * po/fr.po: Likewise.
8501
8502 2011-07-09  Roland McGrath  <roland@hack.frob.com>
8503
8504         * configure.in (.ctors/.dtors header and trailer check):
8505         Use an empirical test on a built program.
8506         * configure: Regenerated.
8507
8508         * configure.in (-z relro check): Use an empirical test on a built DSO.
8509         Detect, but do not require, on ia64.
8510         * configure: Regenerated.
8511
8512         * configure.in (READELF): Find it with AC_CHECK_TOOL.
8513         Update tests that use readelf to use $READELF instead.
8514         * configure: Regenerated.
8515
8516 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
8517
8518         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
8519         if the result is not used.
8520
8521 2011-07-05  Andreas Jaeger  <aj@suse.de>
8522
8523         [BZ#9696]
8524         * stdlib/tst-strtod.c: Add testcase.
8525
8526 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
8527
8528         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
8529         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
8530         The latter has a higher limit.  Take additional parameter to pass to
8531         the new function.
8532         (__pathconf): Pass file to __statfs_link_max.
8533         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
8534         __statfs_link_max.
8535         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
8536         __statfs_link_max.
8537
8538         [BZ #12868]
8539         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
8540         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8541         Handle Lustre.
8542         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
8543         (__statfs_filesize_max): Likewise.
8544         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
8545
8546 2011-07-05  Andreas Jaeger  <aj@suse.de>
8547
8548         * resolv/res_comp.c (dn_skipname): Remove unused variable.
8549
8550 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
8551
8552         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
8553         `status' variable.
8554         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
8555         Likewise.
8556
8557 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
8558
8559         * Makefile (strop-tests): Add strncat.
8560         * string/test-strncat.c: New file.
8561
8562 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
8563
8564         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
8565
8566 2011-06-21  Andreas Jaeger  <aj@suse.de>
8567
8568         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
8569         Copy rule from iconvdata/Makefile.
8570
8571 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
8572
8573         [BZ #12922]
8574         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
8575         but no long options are defined, just return 'W'.
8576
8577 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
8578
8579         [BZ #9696]
8580         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
8581
8582 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
8583
8584         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
8585         netgroups to read.
8586         (innetgr): Likewise.
8587
8588 2011-07-05  Roland McGrath  <roland@hack.frob.com>
8589
8590         * config.make.in (install_root): Default to $(DESTDIR).
8591
8592 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
8593
8594         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
8595
8596 2011-07-02  Roland McGrath  <roland@hack.frob.com>
8597
8598         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
8599
8600         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
8601         containing directory rather than embedding absolute directory names.
8602
8603         * scripts/check-local-headers.sh: Rewritten using awk.
8604         Match by word, not by line.  Print error messages for matches.
8605         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
8606
8607         * Makerules [shlib-lds-flags empty]:
8608         ($(common-objpfx)libc_pic.opts): New target.
8609         ($(common-objpfx)libc_pic.os.clean): New target.
8610         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
8611
8612         * config.make.in (OBJCOPY): New variable.
8613         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
8614         * configure: Regenerated.
8615
8616         * config.make.in (use-default-link): New variable.
8617         * configure.in (use_default_link): Grok --with-default-link to set it.
8618         * configure: Regenerated.
8619         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
8620         (shlib-lds, shlib-lds-flags): Define to empty.
8621
8622         * Makerules (shlib-lds): New variable.
8623         (shlib-lds-flags): New variable.
8624         (build-shlib, build-moduile, build-module-asneeded): Use it.
8625         ($(common-objpfx)libc.so): Use $(shlib-lds).
8626         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
8627         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
8628
8629         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
8630         DT_FLAGS/DT_FLAGS_1 with zero flags.
8631
8632         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
8633         linker script munging.
8634
8635 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
8636
8637         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
8638         as 128-bit value.
8639         * crypt/sha512.c (sha512_process_block): Perform total addition using
8640         128-bit if possible.
8641         (__sha512_finish_ctx): Likewise.
8642         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
8643         as 64-bit value.
8644         * crypt/sha256.c (SWAP64): Define.
8645         (sha256_process_block): Perform total addition using 64-bit if
8646         possible.
8647         (__sha256_finish_ctx): Likewise.
8648
8649 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
8650
8651         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
8652         * nscd/initgrcache.c (addinitgroupsX): Likewise.
8653         * nscd/hstcache.c (cache_addhst): Likewise.
8654         * nscd/grpcache.c (cache_addgr): Likewise.
8655         * nscd/aicache.c (addhstaiX): Likewise
8656         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
8657
8658 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
8659
8660         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
8661         * nscd/initgrcache.c (addinitgroupsX): Likewise.
8662         * nscd/hstcache.c (cache_addhst): Likewise.
8663         * nscd/grpcache.c (cache_addgr): Likewise.
8664         * nscd/aicache.c (addhstaiX): Likewise
8665
8666 2011-07-01  Andreas Schwab  <schwab@redhat.com>
8667
8668         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
8669         domain only when needed.
8670
8671 2011-06-30  Andreas Schwab  <schwab@redhat.com>
8672
8673         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
8674         is always restored.
8675
8676 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
8677
8678         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
8679         are re-adding the entry.
8680         * nscd/servicescache.c (cache_addserv): Likewise.
8681
8682 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
8683
8684         * sysdeps/generic/dl-irel.h: fix protection against multiple
8685         inclusions.
8686         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
8687
8688 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
8689
8690         [BZ #12935]
8691         * malloc/memusage.sh: Fix quoting in message.
8692         * debug/xtrace.sh: Likewise.
8693
8694         * configure.in: Remove support for --experimental-malloc option, make
8695         it the default.
8696         * config.make.in: Likewise.
8697         * malloc/Makefile: Likewise.
8698
8699 2011-06-27  Andreas Schwab  <schwab@redhat.com>
8700
8701         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
8702         two-byte characters.
8703
8704 2011-06-27  Roland McGrath  <roland@hack.frob.com>
8705
8706         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
8707         AC_CACHE_CHECK invocation.
8708         * configure: Regenerated.
8709
8710         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8711
8712 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
8713
8714         [BZ #12350]
8715         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
8716         bit from old_res_options.
8717
8718         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8719
8720         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8721         value type for setfct.
8722
8723 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
8724
8725         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8726         __gettimeofday instead of gettimeofday.
8727
8728 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
8729
8730         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8731
8732 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
8733
8734         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8735
8736         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8737         info.
8738
8739 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
8740
8741         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8742         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8743         strcpy-sse2-unaligned strncpy-sse2-unaligned
8744         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8745         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8746         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8747         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8748         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8749         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8750         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8751         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8752         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8753         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8754         (STRCPY): Support SSE2 and SSSE3 versions.
8755
8756 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
8757
8758         [BZ #12874]
8759         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8760         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8761         kernels which artificially limit size of requests.
8762
8763 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
8764
8765         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8766         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8767         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8768         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8769         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8770         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8771         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8772         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8773         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8774         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8775         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8776         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8777         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8778         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8779         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8780         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8781         Enable unaligned load optimization for Intel Core i3, i5 and i7
8782         processors.
8783         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8784         Define.
8785         (index_Fast_Unaligned_Load): Define.
8786         (HAS_FAST_UNALIGNED_LOAD): Define.
8787
8788 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
8789
8790         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8791
8792 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
8793
8794         [BZ #12907]
8795         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8796         until it is clear that the information is realy needed.
8797         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8798
8799 2011-06-22  Andreas Schwab  <schwab@redhat.com>
8800
8801         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8802
8803 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
8804
8805         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8806         /sys/devices/system/cpu/online if it is usable.
8807
8808         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8809         reading the information from the /proc filesystem to once a second.
8810
8811 2011-06-21  Andreas Jaeger  <aj@suse.de>
8812
8813         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8814         NULL after inclusion of kernel headers.
8815
8816 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
8817
8818         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8819         calls to internal_setent.
8820
8821         [BZ #12885]
8822         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8823         addresses using gethostbyname4_r ignore IPv4 addresses.
8824
8825         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8826         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
8827
8828         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8829
8830 2011-06-20  David S. Miller  <davem@davemloft.net>
8831
8832         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8833         inclusions.
8834         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8835
8836         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8837         (elf_irel): Use it.
8838         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8839         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8840         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8841         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8842         * sysdeps/x86_64/dl-irel.h: Likewise.
8843
8844         * elf/dl-runtime.c: Use elf_ifunc_invoke.
8845         * elf/dl-sym.c: Likewise.
8846
8847 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
8848
8849         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
8850         need to dereference resplen2.
8851
8852 2011-06-14  Andreas Schwab  <schwab@redhat.com>
8853
8854         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8855
8856 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
8857
8858         * Makeconfig: Define vardbdir and inst_vardbdir.
8859         * nss/Makefile: Add rules to install db-Makefile.
8860
8861         * nss/nss_db/db-XXX.c: Cleanup.
8862
8863         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8864         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8865         GLIBC_PRIVATE.
8866         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8867         * nss/makedb.c: Implement -g option to specify that value strings
8868         are generated and should not be added to table iterated over for
8869         get*ent calls.
8870         * nss/nss_db/db-initgroups.c: New file.
8871
8872         * nss/getent.c: Add support for initgroups lookups through getgrouplist
8873         interface.
8874
8875         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8876         (internal_getgrouplist): Adjust to name change.
8877         Update use_initgroups_entry if this is not the first call.
8878         * nss/databases.def: Add initgroups entry.
8879
8880         * nss/makedb.c (compute_tables): Check result of multiple hash table
8881         sizes to minimize maximum chain length.
8882
8883 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
8884
8885         * Versions.def: Add entry for libnss_db.
8886         * shlib-versions: Likewise.
8887         * nss/Makefile: Add rules to build libnss_db.
8888         * nss/Versions: Add libnss_db information.  Organize libnss_files
8889         entries better.
8890         * nss/db-Makefile: Add gshadow support.  Change rules for the new
8891         makedb progra.  Some minor improvements to generate smaller files.
8892         * nss/nss_db/nss_db.h: Move NSS database header data structures to
8893         here from...
8894         * nss/makedb.c: ...here.
8895         Improve database format to be smaller and require less memory at
8896         runtime.
8897         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
8898         db anymore.
8899         * nss/nss_db/db-netgrp.c: Likewise.
8900         * nss/nss_db/db-open.c: Likewise.
8901         * nss/nss_files/flies-XXX.x: Adjust comments.
8902         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8903         * nss/nss_files/files-grp.c: Likewise.
8904         * nss/nss_files/files-hosts.c: Likewise.
8905         * nss/nss_files/files-network.c: Likewise.
8906         * nss/nss_files/files-proto.c: Likewise.
8907         * nss/nss_files/files-pwd.c: Likewise.
8908         * nss/nss_files/files-rpc.c: Likewise.
8909         * nss/nss_files/files-service.c: Likewise.
8910         * nss/nss_files/files-sgrp.c: Likewise.
8911         * nss/nss_files/files-spwd.c: Likewise.
8912         * nss/nss_db/db-alias.c: Removed.
8913         * nss/nss_db/dummy-db.h: Removed.
8914
8915 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
8916
8917         * nss/makedb.c: Rewritten to not use database library.
8918         * nss/Makefile: Update to build new makedb program.
8919
8920 2011-06-14  Andreas Jaeger  <aj@suse.de>
8921
8922         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8923         memset declaration.
8924
8925 2011-06-10  Andreas Schwab  <schwab@redhat.com>
8926
8927         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8928         tmpbuf.
8929
8930 2011-06-10  Roland McGrath  <roland@hack.frob.com>
8931
8932         * Makerules (shlib.lds): Fail if the linker script comes out empty.
8933         * elf/Makefile ($(objpfx)ld.so): Likewise.
8934
8935         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8936         Don't list ld.so twice in dependencies.
8937
8938         * posix/bug-regex31.c: Include <stdlib.h>.
8939
8940         * nscd/hstcache.c (cache_addhst): Remove unused variable.
8941
8942         * nis/nss_compat/compat-spwd.c
8943         (getspent_next_nss_netgr): Remove unused variable.
8944         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8945
8946         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8947         nonmembers" output to use the right array.
8948
8949         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8950
8951         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8952
8953         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8954         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8955         * catgets/gencat.c (read_input_file): Likewise.
8956         * locale/programs/locarchive.c (enlarge_archive): Likewise.
8957
8958         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8959         variable definition inside #if's controlling its use.
8960
8961         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8962
8963         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8964
8965         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8966
8967         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8968         unreachable code.
8969
8970         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
8971
8972         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
8973         * configure: Regenerated.
8974
8975         * Makerules: Revert last change.
8976         * elf/Makefile: Likewise.
8977
8978 2011-06-09  Roland McGrath  <roland@hack.frob.com>
8979
8980         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
8981         * elf/Makefile ($(objpfx)librtld.os): Likewise.
8982         (reloc-link): Likewise.
8983
8984 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
8985
8986         * elf/Makefile: Add rules to build pldd.
8987         * elf/pldd.c: New file.
8988         * elf/pldd-xx.c: New file.
8989
8990 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
8991
8992         * version.h: Update for 2.15 development version.
8993
8994 2011-06-07  David S. Miller  <davem@davemloft.net>
8995
8996         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
8997         ifuncs.
8998         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
8999         elf_machine_lazy_rel): Likewise.
9000         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9001         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
9002         elf_machine_lazy_rel): Likewise.
9003         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
9004         dl_hwcap via passed in argument.
9005         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
9006         Likewise.
9007
9008 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9009
9010         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
9011
9012 2011-06-06  Roland McGrath  <roland@hack.frob.com>
9013
9014         [BZ #12849]
9015         * manual/fdl-1.1.texi: New file, verbatim from:
9016         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
9017         * manual/lgpl-2.1.texi: New file, verbatim from:
9018         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
9019         * manual/Makefile (licenses): New variable, list those new file names.
9020         (texis): Use it.
9021         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
9022
9023         * manual/fdl.texi: File removed.
9024         * manual/lesser.texi: File removed.
9025         * manual/libc.texinfo (Copying, Documentation License):
9026         Use new @include file names, put @appendix directive before @include.
9027
9028 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
9029
9030         [BZ #12841]
9031         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
9032         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
9033         (mq_open): Add __NTH.
9034
9035 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
9036
9037         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9038         Assume Intel Core i3/i5/i7 processor if AVX is available.
9039
9040 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
9041
9042         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9043         typo.
9044
9045 2011-05-31  Andreas Schwab  <schwab@redhat.com>
9046
9047         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
9048         memory.  Use alloca_account.  Fix memory leak when retrying.
9049
9050 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
9051
9052         * version.h (RELEASE): Bump for 2.14 release.
9053         * include/features.h (__GLIBC_MINOR__): Bump to 14.
9054
9055         * config.make.in (RANLIB): Remove entry.
9056
9057 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
9058
9059         * po/Makefile (po-sed-cmd): Add ksh to extensions.
9060         (libc.pot): Work around missing support for .ksh extension in xgettext.
9061
9062         [BZ #12684]
9063         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
9064         if both request failed.
9065         (send_dg): In case of server errors clear resplen or *resplen2.
9066
9067         [BZ #12454]
9068         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
9069         when there are multiple maps.
9070         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
9071         (_dl_fini): Remove test here.
9072
9073         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
9074
9075 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
9076
9077         [BZ #12350]
9078         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
9079         bit from old_res_options.
9080         (gaih_inet): Likewise.
9081
9082         [BZ #11099]
9083         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
9084         as signed.
9085
9086         * resolv/res_init.c (res_setoptions): Make the code more compact.
9087
9088         [BZ #11558]
9089         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
9090         set RES_USEVC.
9091
9092         [BZ #11634]
9093         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
9094
9095         * malloc/malloc.h: Mark malloc hook variables as deprecated.
9096
9097         [BZ #11781]
9098         * malloc/malloc.h: Declare malloc hook variables as volatile.
9099
9100         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
9101         in last patch.
9102
9103         [BZ #11799]
9104         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
9105         raise in the comment.
9106         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9107         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9108         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
9109
9110 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
9111
9112         [BZ #12811]
9113         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
9114         grow the buffers more if it already has to be sufficient.
9115         (build_wcs_upper_buffer): Likewise.
9116         * posix/regexec.c (check_matching): Likewise.
9117         (clean_state_log_if_needed): Likewise.
9118         (extend_buffers): Don't enlarge buffers beyond size of the input
9119         buffer.
9120         Patches mostly by Emil Wojak <emil@wojak.eu>.
9121         * posix/bug-regex32.c: New file.
9122         * posix/Makefile (tests): Add bug-regex32.
9123
9124         * locale/findlocale.c (_nl_find_locale): Return right away if
9125         _nl_explode_name failed.
9126         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
9127
9128         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
9129
9130         * debug/xtrace.sh: Unify messages.
9131         * malloc/memusage.sh: Likewise.
9132
9133         [BZ #12813]
9134         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
9135         time symbol from vDSO.  Substitute with vsyscall if not available.
9136         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
9137         __vdso_time.
9138
9139         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
9140         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
9141         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
9142         Add sendmmsg and internal_sendmmsg.
9143         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
9144         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
9145         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
9146
9147         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
9148         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
9149         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
9150
9151 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
9152
9153         [BZ #12813]
9154         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
9155         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
9156         available.
9157         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
9158         __vdso_getcpu.
9159
9160         [BZ #12814]
9161         * iconvdata/Makefile (tests): Add bug-iconv9.
9162         * iconvdata/bug-iconv9.c: New file.
9163
9164 2011-05-27  Andreas Schwab  <schwab@redhat.com>
9165
9166         [BZ #12814]
9167         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
9168
9169 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
9170
9171         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9172         (struct user_regs_struct): Change intcs field back to cs.
9173
9174 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
9175
9176         * po/ja.po: Update from translation team.
9177
9178 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
9179
9180         [BZ #12795]
9181         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
9182         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
9183
9184 2011-05-20  Andreas Schwab  <schwab@redhat.com>
9185
9186         * stdlib/longlong.h: Update from GCC.
9187
9188 2011-05-23  Andreas Schwab  <schwab@redhat.com>
9189
9190         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
9191         parameter name.
9192         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
9193         Add parameter name.
9194         (__sysconf): Pass it down.
9195
9196 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
9197
9198         [BZ #12671]
9199         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
9200         some situations.
9201         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9202         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
9203         add in in __libc_use_alloca calls.  Adjust callers.
9204         (glob): Use malloc in some situations.
9205
9206         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
9207         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
9208         pltexit.
9209
9210 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
9211
9212         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
9213         and CLOCK_BOOTTIME_ALARM.
9214
9215         [BZ #12782]
9216         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
9217         is returned.
9218
9219         * string/_strerror.c (__strerror_r): Print negative errors as signed
9220         numbers.
9221
9222         [BZ #12777]
9223         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
9224         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
9225         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
9226
9227         * configure.in: Fix typo in redirection and correct removal of test
9228         files in two cases.
9229
9230         [BZ #12788]
9231         * locale/setlocale.c (new_composite_name): Fix test to check for
9232         identical name of all categories.
9233
9234         [BZ #12792]
9235         * libio/filedoalloc.c (local_isatty): New function.
9236         (_IO_file_doallocate): Use local_isatty.
9237         * stdio-common/perror.c (perror): In case a new stream is used
9238         forward the stream error.
9239         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
9240         error flag.
9241
9242 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
9243
9244         [BZ #11869]
9245         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
9246         alloca.
9247         * include/alloca.h (extend_alloca_account): Define.
9248
9249         [BZ #11857]
9250         * posix/regex.h: Fix comments with documentation of user-accessible
9251         fields after compilation and describe correct free'ing of pattern
9252         after re_compile_pattern.
9253         Patch by Reuben Thomas <rrt@sc3d.org>.
9254
9255 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
9256
9257         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
9258         and -mno-altivec to prevent the compiler from using Altivec and/or
9259         VSX instructions when the corresponding registers are not available.
9260
9261 2011-05-19  Andreas Schwab  <schwab@redhat.com>
9262
9263         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
9264
9265 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
9266
9267         * libio/freopen.c (freopen): Use __dup2, not dup2.
9268         * libio/freopen64.c (freopen64): Likewise.
9269
9270 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
9271
9272         [BZ #12775]
9273         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
9274         * math/Makefile (tests): Add test-powl.
9275         (CFLAGS-test-powl.c): Define.
9276         * math/test-powl.c: New file.
9277
9278 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9279
9280         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
9281
9282 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
9283
9284         [BZ #11837]
9285         * iconvdata/gb18030.c: Update to GB18020-2005.
9286
9287 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
9288
9289         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
9290         RE_SYNTAX_POSIX_AWK): Update to match recent development.
9291         Patch by Aharon Robbins <arnold@skeeve.com>.
9292
9293         [BZ #11892]
9294         * stdlib/putenv.c (putenv): Don't always create copy of the variable
9295         on the stack.
9296
9297         [BZ #11895]
9298         * misc/pselect.c (__pselect): Handle timeout value errors hidden
9299         through underflows.
9300
9301         [BZ #12766]
9302         * misc/error.c (error_at_line): Ensure file_name and old_file_name
9303         point to strings before performing equality test for error_one_per_line
9304         mode.
9305
9306         [BZ #11697]
9307         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
9308
9309         [BZ #11820]
9310         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9311         (struct user_fpregs_struct): Avoid __uint*_t types.
9312
9313         [BZ #6420]
9314         * malloc/mtrace.c (tr_where): Add additional parameter to point to
9315         symbol info.  Use it instead of calling _dl_addr locally.
9316         (lock_and_info): New function.
9317         (tr_freehook): Call lock_and_info and pass symbol info as additional
9318         parameter to tr_where.
9319         (tr_mallochook): Likewise.
9320         (tr_reallochook): Likewise.
9321         (tr_memalignhook): Likewise.
9322
9323         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
9324         used and couldn't be at all thread-safe.
9325
9326 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
9327
9328         * libio/freopen.c (freopen): Don't close old file descriptor
9329         before the new one is opened.  Instead dup the new file descriptor
9330         to the old one after the new stream is created.
9331         * libio/freopen64.c (freopen64): Likewise.
9332         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
9333         * libio/fileops.c (_IO_new_file_close_it): Handle new
9334         _IO_FLAGS2_NOCLOSE flag.
9335         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
9336         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
9337         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
9338         _IO_FLAGS2_NOCLOSE flag.
9339         * include/unistd.h: Add hidden_proto for dup3.
9340         Define __have_dup3.
9341         * io/dup3.c: Define hidden symbol.
9342         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
9343
9344         [BZ #7101]
9345         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
9346         when an incomplete long option is used.
9347         * posix/tst-getopt_long1.c: New file.
9348         * posix/Makefile (tests): Add tst-getopt_long1.
9349
9350         [BZ #10138]
9351         * scripts/config.guess: Update from autoconf-2.68.
9352         * scripts/config.sub: Likewise.
9353
9354         [BZ #10157]
9355         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
9356         tests into ...
9357         (has_cpuclock): ...this.  New function.
9358         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
9359         macro here based on has_cpuclock code.
9360
9361         [BZ #10149]
9362         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9363         First byte (not low byte) is now always NUL.
9364         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
9365
9366         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9367         Use non-cancelable interfaces.
9368
9369         [BZ #9809]
9370         * locale/iso-639.def: Add entry for Sorani.
9371
9372         [BZ #11901]
9373         * include/stdlib.h: Move include protection to the right place.
9374         Define abort_msg_s.  Declare __abort_msg with it.
9375         * stdlib/abort.c (__abort_msg): Adjust type.
9376         * assert/assert.c (__assert_fail_base): New function.  Majority
9377         of code from __assert_fail.  Allocate memory for __abort_msg with
9378         mmap.
9379         (__assert_fail): Now call __assert_fail_base.
9380         * assert/assert-perr.c: Remove bulk of implementation.  Use
9381         __assert_fail_base.
9382         * include/assert.hL Declare __assert_fail_base.
9383         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
9384         mmap.
9385         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
9386
9387 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
9388
9389         [BZ #11952]
9390         [BZ #12453]
9391         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
9392         until all modules are registered in the DTV.
9393         * elf/Makefile: Add rules to build and run tst-tls19.
9394         * elf/tst-tls19.c: New file.
9395         * elf/tst-tls19mod1.c: New file.
9396         * elf/tst-tls19mod2.c: New file.
9397         * elf/tst-tls19mod3.c: New file.
9398         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
9399
9400         [BZ #12083]
9401         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
9402         correctly.
9403
9404         [BZ #12601]
9405         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
9406         two-byte sequence errors.
9407         * iconvdata/Makefile (tests): Add bug-iconv8.
9408         * iconvdata/bug-iconv8.c: New file.
9409
9410         [BZ #12626]
9411         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
9412         buf2 definition.
9413
9414         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
9415
9416         [BZ #12432]
9417         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
9418         (dummy_getcfa): New function.
9419         (init): Get _Unwind_GetCFA address, use dummy if not found.
9420         (backtrace_helper): In recursion check, also check whether CFA changes.
9421         (__backtrace): Completely initialize arg.
9422
9423         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
9424         storing incomplete byte sequence in state object.  Avoid testing for
9425         guaranteed too small input if we know there is enough data available.
9426
9427 2011-05-11  Andreas Schwab  <schwab@redhat.com>
9428
9429         * Makeconfig (+link-pie): Indent.
9430         * Rules (binaries-pie): Define if $(have-fpie) and
9431         $(build-shared).
9432         (binaries-shared): Also filter out $(binaries-pie).
9433         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
9434         * nscd/Makefile (others-pie): Add nscd.
9435         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
9436         ($(objpfx)nscd): Remove command override.
9437         * login/Makefile (others-pie): Add pt_chown.
9438         ($(objpfx)pt_chown): Remove command override.
9439         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
9440         remove command overrides.
9441
9442 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
9443
9444         * libio/tst_putwc.c: Fix error messages.
9445
9446         [BZ #12724]
9447         * libio/fileops.c (_IO_new_file_close_it): Always flush when
9448         currently writing and seek to current position when not.
9449         * libio/Makefile (tests): Add bug-fclose1.
9450         * libio/bug-fclose1.c: New file.
9451
9452 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
9453
9454         [BZ #12511]
9455         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
9456         don't set DF_1_NODELETE here.
9457         (do_lookup_x): When entering new entry test for copy relocation
9458         and if necessary set DF_1_NODELETE flag.
9459         * elf/tst-unique4.cc: New file.
9460         * elf/tst-unique4.h: New file.
9461         * elf/tst-unique4lib.cc: New file.
9462         * elf/Makefile: Add rules to build and run tst-unique4.
9463         Patch by Piotr Bury <pbury@goahead.com>.
9464
9465 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
9466
9467         [BZ #12052]
9468         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
9469
9470         [BZ #12625]
9471         * misc/mntent_r.c (addmntent): Flush the stream after the output
9472
9473         [BZ #12393]
9474         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
9475         (is_trusted_path_normalize): Skip initial colon.  Append slash
9476         to empty buffer.  Duplicate is_trusted_path code but allow
9477         constructed patch to be prefix.
9478         (is_dst): Allow $ORIGIN followed by /.
9479         (_dl_dst_substitute): Correct clearing of check_for_trusted.
9480         Correct testing of result of is_trusted_path_normalize
9481         (decompose_rpath): Fix warning.
9482
9483 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
9484
9485         [BZ #11257]
9486         * grp/initgroups.c (internal_getgrouplist): When we found the service
9487         list through the initgroups entry in nsswitch.conf do not always
9488         continue on a successful lookup.  Don't always use the
9489         __nss_group_database value if it is set.
9490         * nss/nsswitch.conf (initgroups): Change action for successful db
9491         lookup to continue for compatibility.
9492
9493 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
9494
9495         [BZ #11532]
9496         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
9497         and CP774 modules.
9498         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
9499         and CP774 modules.
9500         * iconvdata/tst-tables.sh: Likewise.
9501         * iconvdata/cp770.c: New file.
9502         * iconvdata/cp771.c: New file.
9503         * iconvdata/cp772.c: New file.
9504         * iconvdata/cp773.c: New file.
9505         * iconvdata/cp774.c: New file.
9506         * iconvdata/testdata/CP770: New file.
9507         * iconvdata/testdata/CP770..UTF8: New file.
9508         * iconvdata/testdata/CP771: New file.
9509         * iconvdata/testdata/CP771..UTF8: New file.
9510         * iconvdata/testdata/CP772: New file.
9511         * iconvdata/testdata/CP772..UTF8: New file.
9512         * iconvdata/testdata/CP773: New file.
9513         * iconvdata/testdata/CP773..UTF8: New file.
9514         * iconvdata/testdata/CP774: New file.
9515         * iconvdata/testdata/CP774..UTF8: New file.
9516
9517         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
9518         END CHARMAP line.
9519         * iconvdata/gen-8bit-gap.sh: Likewise.
9520         * iconvdata/gen-8bit.sh: Likewise.
9521
9522         * locale/iso-639.def: Add ary entry.
9523
9524         [BZ #11258]
9525         * locale/C-translit.h.in: Add U20A1 transliteration.
9526
9527         [BZ #12178]
9528         * locale/iso-639.def: Add wae entry.
9529         Patch by Kevin Bortis <bortis@translate-wae.ch>.
9530
9531         [BZ #12545]
9532         * locale/programs/localedef.c (construct_output_path): Use ssize_t
9533         for n.
9534
9535         [BZ #12711]
9536         * locale/C-translit.h.in: Add entry for U20B9.
9537         Patch by pravin.d.s@gmail.com.
9538
9539 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
9540
9541         [BZ #12713]
9542         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
9543         ENAMETOOLONG use generic getcwd.
9544         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
9545         in rtld.  Use *stat64.
9546         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
9547         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
9548         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
9549         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
9550         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
9551         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
9552         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
9553         __fstatat64 macros.
9554         * include/dirent.h: Add libc_hidden_proto for rewinddir.
9555         * dirent/rewinddir.c: Add libc_hidden_def.
9556         * sysdeps/mach/hurd/rewinddir.c: Likewise.
9557         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
9558
9559         * include/dirent.h (__alloc_dir): Add flags parameter.
9560         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
9561         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
9562         __alloc_dir.
9563         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
9564         from fdopendir if O_CLOEXEC is already set.
9565
9566 2011-03-15  Alan Modra  <amodra@gmail.com>
9567
9568         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
9569         l_tls_firstbyte_offset non-zero.  Save padding offset in
9570         l_tls_firstbyte_offset for later use.
9571         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
9572         freeing static tls block.
9573
9574 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
9575
9576         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
9577         where #ifdef was intended.  The intent is to prevent ARG_MAX from
9578         being defined by the kernel headers.
9579
9580 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
9581
9582         [BZ #12734]
9583         * resolv/resolv.h: Define RES_NOTLDQUERY.
9584         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
9585         no-tld-query and set RES_NOTLDQUERY.
9586         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
9587         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
9588         modern BIND to search name as TLD unless forbidden.
9589
9590 2011-05-07  Petr Baudis  <pasky@suse.cz>
9591             Ulrich Drepper  <drepper@gmail.com>
9592
9593         [BZ #12393]
9594         * elf/dl-load.c (fillin_rpath): Move trusted path check...
9595         (is_trusted_path): ...to here.
9596         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
9597         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
9598         using is_trusted_path_normalize() in setuid scripts.
9599
9600 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
9601
9602         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
9603         __BEGIN/__END_DECLS.
9604
9605 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
9606
9607         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
9608         NSS_STATUS_NOTFOUND if no record was found.
9609
9610 2011-05-05  Andreas Schwab  <schwab@redhat.com>
9611
9612         * sunrpc/Makefile (headers): Add rpc/netdb.h.
9613         (headers-not-in-tirpc): Remove rpc/netdb.h
9614         * resolv/netdb.h: Revert last change.
9615
9616 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
9617
9618         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
9619         circular dependency between libgcc.a and libc.a.
9620
9621 2011-05-05  Andreas Schwab  <schwab@redhat.com>
9622
9623         * resolv/netdb.h: Don't include <rpc/netdb.h>.
9624         * nis/Makefile: Don't install rpcsvc/*.
9625         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
9626         instead of <rpc/types.h>.
9627         (MAXHOSTNAMELEN): Define.
9628
9629 2011-05-03  Andreas Schwab  <schwab@redhat.com>
9630
9631         * elf/ldconfig.c (add_dir): Don't crash on empty path.
9632
9633 2011-04-28  Maciej Babinski  <mbabinski@google.com>
9634
9635         [BZ #12714]
9636         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
9637         gethostbyname4_r when IPv6 results are possible.
9638
9639 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
9640
9641         [BZ #12723]
9642         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
9643         _PC_PIPE_BUF handling.
9644
9645 2011-04-30  Bruno Haible  <bruno@clisp.org>
9646
9647         [BZ #12717]
9648         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
9649         * resolv/netdb.h (getnameinfo): Change type of flags parameter
9650         to 'int'.
9651         * inet/getnameinfo.c (getnameinfo): Likewise.
9652
9653 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
9654
9655         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
9656         to groups setting in database lookup.
9657         * nss/nsswitch.conf: Add initgroups entry.
9658
9659 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
9660
9661         [BZ #12685]
9662         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
9663         mode string.
9664         Patch by Eric Blake <eblake@redhat.com>.
9665
9666 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
9667
9668         * sunrpc/Makefile (need-export-routines): Add svc_run.
9669         (routines): Remove svc_run.
9670         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
9671         * sunrpc/clnt_perr.c (clnt_perrno): Export.
9672         * sunrpc/svc_run.c (svc_run): Likewise.
9673         * sunrpc/svc_udp.c (svcudp_create): Likewise.
9674
9675 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
9676
9677         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
9678         problem in reallocation in last patch.
9679
9680 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
9681
9682         * sunrpc/Makefile: Move inclusion of Rules.
9683
9684 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
9685
9686         * nss/nss_files/files-initgroups.c: New file.
9687         * nss/Makefile (libnss_files-routines): Add files-initgroups.
9688         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
9689         _nss_files_initgroups_dyn.
9690
9691 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
9692
9693         * elf/elf.h (R_ARM_IRELATIVE): Define.
9694
9695 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
9696
9697         * po/ru.po: Update from translation team.
9698
9699 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
9700
9701         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
9702         dependencies.
9703
9704 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
9705
9706         [BZ #12653]
9707         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
9708         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
9709         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9710         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9711         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9712
9713 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
9714
9715         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9716         differing bytes.
9717         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9718         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9719         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9720
9721 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
9722
9723         [BZ #12420]
9724         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9725         storing it.
9726         * stdlib/bug-getcontext.c: New file.
9727         * stdlib/Makefile: Add rules to build and run bug-getcontext.
9728
9729 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9730
9731         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9732         instructions into .machine "z9-109".
9733         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9734         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9735
9736 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9737
9738         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9739         between environment variables and auxiliary vector.
9740
9741 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
9742
9743         * Makefile: Add rules to build linkobj/libc.so.
9744         * include/libc-symbols.h: Define libc_hidden_nolink.
9745         * include/rpc/auth.h: Mark functions which are to be hidden.
9746         * include/rpc/auth_des.h: Likewise.
9747         * include/rpc/auth_unix.h: Likewise.
9748         * include/rpc/clnt.h: Likewise.
9749         * include/rpc/des_crypt.h: Likewise.
9750         * include/rpc/key_prot.h: Likewise.
9751         * include/rpc/pmap_clnt.h: Likewise.
9752         * include/rpc/pmap_prot.h: Likewise.
9753         * include/rpc/pmap_rmt.h: Likewise.
9754         * include/rpc/rpc_msg.h: Likewise.
9755         * include/rpc/svc.h: Likewise.
9756         * include/rpc/svc_auth.h: Likewise.
9757         * include/rpc/xdr.h: Likewise.
9758         * nis/Makefile: Link all DSOs against linkobj/libc.so.
9759         * nss/Makefile: Likewise.
9760         * sunrpc/Makefile: Don't install headers.  Build library with normal
9761         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
9762         * sunrpc/auth_des.c: Hide exported symbols by default, export some
9763         for the compat linking library.  Remove use of INTDEF/INTUSE.
9764         * sunrpc/auth_none.c: Likewise.
9765         * sunrpc/auth_unix.c: Likewise.
9766         * sunrpc/authdes_prot.c: Likewise.
9767         * sunrpc/authuxprot.c: Likewise.
9768         * sunrpc/clnt_gen.c: Likewise.
9769         * sunrpc/clnt_perr.c: Likewise.
9770         * sunrpc/clnt_raw.c: Likewise.
9771         * sunrpc/clnt_simp.c: Likewise.
9772         * sunrpc/clnt_tcp.c: Likewise.
9773         * sunrpc/clnt_udp.c: Likewise.
9774         * sunrpc/clnt_unix.c: Likewise.
9775         * sunrpc/des_crypt.c: Likewise.
9776         * sunrpc/des_soft.c: Likewise.
9777         * sunrpc/get_myaddr.c: Likewise.
9778         * sunrpc/key_call.c: Likewise.
9779         * sunrpc/key_prot.c: Likewise.
9780         * sunrpc/netname.c: Likewise.
9781         * sunrpc/pm_getmaps.c: Likewise.
9782         * sunrpc/pm_getport.c: Likewise.
9783         * sunrpc/pmap_clnt.c: Likewise.
9784         * sunrpc/pmap_prot.c: Likewise.
9785         * sunrpc/pmap_prot2.c: Likewise.
9786         * sunrpc/pmap_rmt.c: Likewise.
9787         * sunrpc/publickey.c: Likewise.
9788         * sunrpc/rpc_cmsg.c: Likewise.
9789         * sunrpc/rpc_common.c: Likewise.
9790         * sunrpc/rpc_dtable.c: Likewise.
9791         * sunrpc/rpc_prot.c: Likewise.
9792         * sunrpc/rpc_thread.c: Likewise.
9793         * sunrpc/rtime.c: Likewise.
9794         * sunrpc/svc.c: Likewise.
9795         * sunrpc/svc_auth.c: Likewise.
9796         * sunrpc/svc_authux.c: Likewise.
9797         * sunrpc/svc_raw.c: Likewise.
9798         * sunrpc/svc_run.c: Likewise.
9799         * sunrpc/svc_simple.c: Likewise.
9800         * sunrpc/svc_tcp.c: Likewise.
9801         * sunrpc/svc_udp.c: Likewise.
9802         * sunrpc/svc_unix.c: Likewise.
9803         * sunrpc/svcauth_des.c: Likewise.
9804         * sunrpc/xcrypt.c: Likewise.
9805         * sunrpc/xdr.c: Likewise.
9806         * sunrpc/xdr_array.c: Likewise.
9807         * sunrpc/xdr_float.c: Likewise.
9808         * sunrpc/xdr_intXX_t.c: Likewise.
9809         * sunrpc/xdr_mem.c: Likewise.
9810         * sunrpc/xdr_rec.c: Likewise.
9811         * sunrpc/xdr_ref.c: Likewise.
9812         * sunrpc/xdr_sizeof.c: Likewise.
9813         * sunrpc/xdr_stdio.c: Likewise.
9814
9815 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
9816
9817         [BZ #12650]
9818         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9819         * sysdeps/ia64/dl-tls.h: Likewise.
9820         * sysdeps/powerpc/dl-tls.h: Likewise.
9821         * sysdeps/s390/dl-tls.h: Likewise.
9822         * sysdeps/sh/dl-tls.h: Likewise.
9823         * sysdeps/sparc/dl-tls.h: Likewise.
9824         * sysdeps/x86_64/dl-tls.h: Likewise.
9825         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9826
9827 2011-03-14  Andreas Schwab  <schwab@redhat.com>
9828
9829         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9830         rpath element also skip the following colon.
9831         (expand_dynamic_string_token): Add is_path parameter and pass
9832         down to DL_DST_REQUIRED and _dl_dst_substitute.
9833         (decompose_rpath): Call expand_dynamic_string_token with
9834         non-zero is_path.  Ignore empty rpaths.
9835         (_dl_map_object_from_fd): Call expand_dynamic_string_token
9836         with zero is_path.
9837
9838 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
9839
9840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9841         Make cancelable.
9842
9843 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
9844
9845         [BZ #12655]
9846         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9847         Patch by Filipe David Manana <fdmanana@apache.org>.
9848
9849 2011-04-07  Andreas Schwab  <schwab@redhat.com>
9850
9851         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9852         Maintain aligned stack.
9853         (CHECK_RSP): Remove unused macro.
9854
9855 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
9856
9857         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9858         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9859
9860 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
9861
9862         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9863
9864         * include/features.h: Mention __USE_XOPEN2K8 in comment.
9865
9866 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
9867
9868         [BZ #12518]
9869         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9870         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9871         * sysdeps/x86_64/memmove.c: New file.
9872         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9873         (memcpy): Renamed to ...
9874         (__new_memcpy): This.
9875         (memcpy): Provide GLIBC_2_14 memcpy.
9876         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9877         (memcpy): Provide GLIBC_2_2_5 memcpy.
9878
9879 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
9880
9881         [BZ #12631]
9882         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9883
9884 2011-03-30  Andreas Schwab  <schwab@redhat.com>
9885
9886         * misc/syncfs.c: New file.
9887         * misc/Makefile (routines): Add syncfs.
9888         * posix/unistd.h: Declare syncfs.
9889         * sysdeps/unix/syscalls.list: Add syncfs.
9890
9891 2011-04-01  Andreas Schwab  <schwab@redhat.com>
9892
9893         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9894         open_by_handle_at.
9895         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9896         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9897         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9898         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9899         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9900         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9901         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9902
9903 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
9904
9905         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9906         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9907         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9908         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9909         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9910         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9911         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9912
9913         * io/Makefile: Compile fallocate.c, fallocate64.c, and
9914         sync_file_range.c with -fexceptions.
9915         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9916         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9917         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9918         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9919         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9920         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9921         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
9922         sync_file_range as cancellation point
9923         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
9924         now a wrapper around __call_sync_file_range with cancellation handling.
9925         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9926         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
9927         function name to __call_sync_file_range.
9928         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9929         Add call_sync_file_range.
9930
9931 2011-04-01  Andreas Schwab  <schwab@redhat.com>
9932
9933         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9934         bits/timex.h.
9935
9936 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
9937
9938         * iconv/iconv.h: Fix typo in comment.
9939         * io/fcntl.h: Likewise.
9940         * libio/stdio.h: Likewise.
9941         * posix/spawn.h: Likewise.
9942         * posix/unistd.h: Likewise.
9943         * stdlib/stdlib.h: Likewise.
9944         * time/time.h: Likewise.
9945         * wcsmbs/wchar.h: Likewise.
9946
9947         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9948         open_by_handle): Add.
9949         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9950         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
9951         Augment a few comments.
9952         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9953         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9954         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9955         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9956         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9957         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9958         open_by_handle.
9959
9960         * io/fcntl.h (AT_EMPTY_PATH): Define.
9961
9962 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
9963
9964         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9965         * sysdeps/unix/sysv/linux/bits/time.h: New file.
9966         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9967         to...
9968         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
9969         * Versions.def: Add GLIBC_2.14.
9970         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9971         Export.
9972
9973 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
9974
9975         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
9976         round counter.
9977         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9978
9979 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
9980
9981         [BZ #12597]
9982         * string/test-strncmp.c (do_page_test): New function.
9983         (check2): Likewise.
9984         (test_main): Call check2.
9985         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
9986
9987 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
9988
9989         [BZ #12587]
9990         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
9991         Handle cache information in CPU leaf 4.
9992         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9993
9994 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
9995
9996         [BZ #12583]
9997         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
9998         character representation.
9999         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
10000
10001 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
10002
10003         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
10004         END(__isnan) to END(__isnanf) to match function entry point/label
10005         EALIGN(__isnanf,...).
10006
10007 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
10008
10009         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
10010
10011 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
10012
10013         [BZ #12510]
10014         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
10015         copy from the symbol referenced in the relocation to initialize the
10016         used variable.
10017         Patch by Piotr Bury <pbury@goahead.com>.
10018         * elf/Makefile: Add rules to build and tst-unique3.
10019         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
10020         * elf/tst-unique3.cc: New file.
10021         * elf/tst-unique3.h: New file.
10022         * elf/tst-unique3lib.cc: New file.
10023         * elf/tst-unique3lib2.cc: New file.
10024
10025         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
10026
10027 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
10028
10029         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
10030         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
10031         to _start.
10032
10033 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
10034
10035         * elf/dl-load.c (_dl_map_object): If we are looking for the first
10036         to-be-loaded object along a path to loader is ld.so.
10037
10038 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
10039             Ulrich Drepper  <drepper@gmail.com>
10040
10041         * sysdeps/x86_64/memset.S: After aligning destination, code
10042         branches to different locations depending on the value of
10043         misalignment, when multiarch is enabled. Fix this.
10044
10045 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
10046
10047         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
10048         Set _x86_64_preferred_memory_instruction for AMD processsors.
10049         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10050         Set bit_Prefer_SSE_for_memop for AMD processors.
10051
10052 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
10053
10054         * libio/fmemopen.c (fmemopen): Optimize a bit.
10055
10056 2011-03-03  Andreas Schwab  <schwab@redhat.com>
10057
10058         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
10059
10060 2011-03-03  Roland McGrath  <roland@redhat.com>
10061
10062         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
10063
10064 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
10065
10066         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
10067         __bzero_ultra1 instead of __memset_ultra1.
10068
10069 2011-02-23  Andreas Schwab  <schwab@redhat.com>
10070             Ulrich Drepper  <drepper@gmail.com>
10071
10072         [BZ #12509]
10073         * include/link.h (struct link_map): Add l_orig_initfini.
10074         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
10075         returning unsuccessfully.
10076         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
10077         close of a file loaded at startup, restore the original l_initfini
10078         list.
10079         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
10080         list, store the pointer.
10081         * elf/Makefile ($(objpfx)noload-mem): New rule.
10082         (noload-ENV): Define.
10083         (tests): Add $(objpfx)noload-mem.
10084         * elf/noload.c: Include <memcheck.h>.
10085         (main): Call mtrace.  Close all opened handles.
10086
10087 2011-02-17  Andreas Schwab  <schwab@redhat.com>
10088
10089         [BZ #12454]
10090         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
10091         dependencies are missing.
10092
10093 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10094
10095         Fix __if_freereq crash: Unlike the generic version which uses free,
10096         Hurd needs munmap.
10097         * sysdeps/mach/hurd/ifreq.h: New file.
10098
10099 2011-01-27  Petr Baudis  <pasky@suse.cz>
10100             Ulrich Drepper  <drepper@gmail.com>
10101
10102         [BZ 12445]#
10103         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
10104         to extend_alloca().
10105         * stdio-common/bug23.c: New file.
10106         * stdio-common/Makefile (tests): Add bug23.
10107
10108 2010-09-28  Andreas Schwab  <schwab@redhat.com>
10109             Ulrich Drepper  <drepper@gmail.com>
10110
10111         [BZ #12489]
10112         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
10113         before performing relro protection.  At old place add assertion
10114         to make sure nothing changed.
10115
10116 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
10117             Glauber de Oliveira Costa  <glommer@gmail.com>
10118
10119         * elf/elf.h: Add new ARM TLS relocs.
10120
10121 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
10122
10123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10124         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
10125         cast from r3.
10126         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
10127         'tests' variable.
10128         * sysdeps/wordsize-64/tst-writev.c: New file.
10129
10130 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
10131
10132         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
10133         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
10134         insns in _dl_start to prevent a TOC reference before relocs are
10135         resolved.
10136
10137 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
10138
10139         [BZ #12469]
10140         * Makeconfig: Remove RANLIB definition.
10141         * Makerules: Don't use RANLIB.
10142         * aclocal.m4: Remove ranlib test.
10143         * configure.in: No need to check for ranlib.
10144         * elf/rtld-Rules: Don't use RANLIB.
10145
10146 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10147
10148         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
10149         protection macro.
10150         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
10151         inclusion protection macro.
10152
10153         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
10154         SIGRTMIN and SIGRTMAX and print information in that case only when
10155         SIGRTMIN is defined.
10156
10157 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
10158
10159         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
10160         arginfo fn returning -1.
10161
10162         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
10163         and thousands string is zero terminated.
10164
10165 2011-02-03  Andreas Schwab  <schwab@redhat.com>
10166
10167         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
10168         sysdeps/unix/sysv/linux/bits/socket.h.
10169
10170 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10171
10172         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
10173         (__CPU_COUNT): Remove old macros.
10174         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
10175         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
10176         (__CPU_ALLOC, __CPU_FREE): Add macros.
10177         (__sched_cpualloc, __sched_cpufree): Add declarations.
10178
10179 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
10180
10181         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
10182         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
10183         * nscd/aicache.c (addhstaiX): Return timeout of added value.
10184         (readdhstai): Return value of addhstaiX call.
10185         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
10186         (addgrbyX): Return value returned by cache_addgr.
10187         (readdgrbyname): Return value returned by addgrbyX.
10188         (readdgrbygid): Likewise.
10189         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
10190         (addpwbyX): Return value returned by cache_addpw.
10191         (readdpwbyname): Return value returned by addhstbyX.
10192         (readdpwbyuid): Likewise.
10193         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
10194         (addservbyX): Return value returned by cache_addserv.
10195         (readdservbyname): Return value returned by addservbyX:
10196         (readdservbyport): Likewise.
10197         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
10198         (addhstbyX): Return value returned by cache_addhst.
10199         (readdhstbyname): Return value returned by addhstbyX.
10200         (readdhstbyaddr): Likewise.
10201         (readdhstbynamev6): Likewise.
10202         (readdhstbyaddrv6): Likewise.
10203         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
10204         (readdinitgroups): Return value returned by addinitgroupsX.
10205         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
10206         (prune_cache): Keep track of timeout value of re-added entries.
10207         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
10208         * nscd/nscd.h: Adjust prototypes of readd* functions.
10209
10210 2011-02-04  Roland McGrath  <roland@redhat.com>
10211
10212         * nis/nis_server.c (nis_servstate): Use the right name for 0.
10213         (nis_stats): Likewise.
10214         * nis/nis_modify.c (nis_modify): Likewise.
10215         * nis/nis_remove.c (nis_remove): Likewise.
10216         * nis/nis_add.c (nis_add): Likewise.
10217
10218         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
10219
10220         * posix/fnmatch_loop.c: Add some consts.
10221
10222         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
10223
10224 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
10225
10226         [BZ #12460]
10227         * config.make.in (config-cflags-novzeroupper): Define.
10228         * configure.in: Substitute libc_cv_cc_novzeroupper.
10229         * elf/Makefile (AVX-CFLAGS): Define.
10230         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
10231         (CFLAGS-tst-auditmod4a.c): Likewise.
10232         (CFLAGS-tst-auditmod4b.c): Likewise.
10233         (CFLAGS-tst-auditmod6b.c): Likewise.
10234         (CFLAGS-tst-auditmod6c.c): Likewise.
10235         (CFLAGS-tst-auditmod7b.c): Likewise.
10236         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
10237
10238 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
10239
10240         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
10241         function to the callback.
10242         Patch partly by Jiri Olsa <jolsa@redhat.com>.
10243
10244 2011-02-02  Andreas Schwab  <schwab@redhat.com>
10245
10246         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
10247         of errno.
10248
10249 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
10250
10251         [BZ #11724]
10252         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
10253         of constructors.
10254         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
10255         of destructors.
10256         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
10257
10258         [BZ #11724]
10259         * elf/Makefile: Add rules to build and run new test.
10260         * elf/tst-initorder.c: New file.
10261         * elf/tst-initorder.exp: New file.
10262         * elf/tst-initordera1.c: New file.
10263         * elf/tst-initordera2.c: New file.
10264         * elf/tst-initordera3.c: New file.
10265         * elf/tst-initordera4.c: New file.
10266         * elf/tst-initorderb1.c: New file.
10267         * elf/tst-initorderb2.c: New file.
10268         * elf/tst-order-a1.c: New file.
10269         * elf/tst-order-a2.c: New file.
10270         * elf/tst-order-a3.c: New file.
10271         * elf/tst-order-a4.c: New file.
10272         * elf/tst-order-b1.c: New file.
10273         * elf/tst-order-b2.c: New file.
10274         * elf/tst-order-main.c: New file.
10275         New test case by George Gensure <werkt0@gmail.com>.
10276
10277 2010-10-01  Andreas Schwab  <schwab@redhat.com>
10278
10279         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10280         decoding ACE if AI_CANONIDN.
10281
10282 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
10283
10284         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
10285
10286 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
10287
10288         * version.h (RELEASE): Bump for 2.13 release.
10289         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
10290
10291         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
10292
10293         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
10294         MADV_NOHUGEPAGE.
10295         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
10296         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10297         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10298         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10299         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10300         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10301
10302         * posix/getconf.c: Update copyright year.
10303         * catgets/gencat.c: Likewise.
10304         * csu/version.c: Likewise.
10305         * debug/catchsegv.sh: Likewise.
10306         * debug/xtrace.sh: Likewise.
10307         * elf/ldconfig.c: Likewise.
10308         * elf/ldd.bash.in: Likewise.
10309         * elf/sprof.c (print_version): Likewise.
10310         * iconv/iconv_prog.c: Likewise.
10311         * iconv/iconvconfig.c: Likewise.
10312         * locale/programs/locale.c: Likewise.
10313         * locale/programs/localedef.c: Likewise.
10314         * malloc/memusage.sh: Likewise.
10315         * malloc/mtrace.pl: Likewise.
10316         * nscd/nscd.c (print_version): Likewise.
10317         * nss/getent.c: Likewise.
10318
10319         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
10320         PF_CAIF, and PF_ALG.
10321         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10322
10323 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
10324
10325         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
10326         (modules-names): Use them.
10327         (ifunc-test-modules, ifunc-pie-tests): Define.
10328         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
10329         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
10330         (test-extras): Likewise.
10331         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
10332         $(compile-command.c).
10333         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
10334         (all-built-dso): Define.
10335         (check-textrel.out, check-execstack.out): Depend on it.
10336
10337         * configure.in: Don't override --enable-multi-arch.
10338
10339 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
10340
10341         [BZ #6812]
10342         * nscd/hstcache.c (tryagain): Define.
10343         (cache_addhst): Return tryagain not notfound for temporary errors.
10344         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
10345         failed.
10346
10347 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
10348
10349         [BZ #10563]
10350         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
10351         to make the syscall.
10352         * sysdeps/unix/sysv/linux/setgroups.c: New file.
10353
10354         [BZ #12378]
10355         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
10356         and fall back to matching as normal character if the string ends before
10357         the matching ']' is found.  This is what POSIX requires.
10358         * posix/testfnm.c: Adjust test result.
10359         * posix/globtest.sh: Adjust test result.  Add new test.
10360         * posix/tst-fnmatch.input: Likewise.
10361         * posix/tst-fnmatch2.c: Add new test.
10362
10363 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
10364
10365         * elf/Makefile (check-execstack): Revert last change.  Depend on
10366         check-execstack.h.
10367         (check-execstack.h): New target.
10368         (generated): Add check-execstack.h.
10369         * elf/check-execstack.c: Include "check-execstack.h".
10370         (main): Revert last change.
10371         (handle_file): Return zero if GNU_STACK is absent and
10372         DEFAULT_STACK_PERMS doesn't include PF_X.
10373
10374 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
10375
10376         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
10377         in child fails because the descriptor is already closed.
10378         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
10379         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
10380         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
10381
10382         [BZ #12397]
10383         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
10384         syscall.
10385
10386         [BZ #10484]
10387         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
10388         temporary buffer used to handle multi lookups locally.
10389         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
10390
10391 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
10392
10393         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
10394         loader is ld.so.
10395
10396 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
10397
10398         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
10399         alignment for SSE2.
10400
10401 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
10402
10403         [BZ #12394]
10404         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
10405         characters.  When rounding increased number of integer digits recompute
10406         number of groups.
10407         * stdio-common/tst-grouping.c: New file.
10408         * stdio-common/Makefile: Add rules to build and run tst-grouping.
10409
10410 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
10411
10412         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
10413         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
10414
10415         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
10416         void.
10417         * bits/select.h: Likewise.
10418
10419 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
10420
10421         * po/ja.po: Update from translation team.
10422
10423 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
10424
10425         [BZ #11155]
10426         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
10427         implementation just like for lxstat, fxstatat, et al.
10428
10429 2010-12-27  Jim Meyering  <meyering@redhat.com>
10430
10431         [BZ #12348]
10432         * posix/regexec.c (build_trtable): Return failure indication upon
10433         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
10434
10435 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
10436
10437         [BZ #12201]
10438         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
10439         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
10440         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
10441         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
10442
10443         [BZ #12207]
10444         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
10445
10446         [BZ #12204]
10447         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
10448         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
10449
10450 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
10451
10452         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
10453         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
10454         script has SORT_BY_INIT_PRIORITY.
10455         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
10456         NO_CTORS_DTORS_SECTIONS is defined.
10457         * elf/soinit.c: Likewise.
10458         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
10459         NO_CTORS_DTORS_SECTIONS is defined.
10460         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
10461         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
10462         * sysdeps/sh/init-first.c: Likewise.
10463         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10464
10465 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
10466
10467         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
10468         always use the slow path.
10469
10470 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
10471
10472         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
10473         similar rule which adds the sysdep directories to the header search in
10474         order to pick up the correct platform stackinfo.h.
10475         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
10476         perform test if it is, otherwise return successfully without testing.
10477         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
10478         DEFAULT_STACK_PERMS define in stackinfo.h.
10479         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
10480         defined in stackinfo.h.
10481         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
10482         DEFAULT_STACK_PERMS defined in stackinfo.h.
10483         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
10484         * sysdeps/ia64/stackinfo.h: Likewise.
10485         * sysdeps/s390/stackinfo.h: Likewise.
10486         * sysdeps/sh/stackinfo.h: Likewise.
10487         * sysdeps/sparc/stackinfo.h: Likewise.
10488         * sysdeps/x86_64/stackinfo.h: Likewise.
10489         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
10490         PF_X for powerpc64.  Retain PF_X for powerpc32.
10491
10492 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
10493
10494         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
10495         accurately.
10496         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
10497         GETDENTS_64BIT_ALIGNED.
10498
10499 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
10500
10501         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
10502
10503 2010-12-10  Andreas Schwab  <schwab@redhat.com>
10504
10505         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
10506         _GNU_SOURCE.
10507
10508         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
10509         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
10510         Remove __restrict.
10511         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
10512         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
10513
10514 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
10515
10516         [BZ #11655]
10517         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
10518         are initialized.
10519
10520 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
10521
10522         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
10523
10524 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
10525
10526         * po/it.po: Update from translation team.
10527
10528 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
10529
10530         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
10531         unused codes.
10532
10533 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
10534
10535         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
10536
10537 2010-11-24  Andreas Schwab  <schwab@redhat.com>
10538
10539         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
10540         specially.
10541         (gaih_getanswer_slice): Likewise.
10542
10543 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
10544
10545         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
10546
10547 2010-05-31  Petr Baudis  <pasky@suse.cz>
10548
10549         [BZ #11149]
10550         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
10551         silently even in the chroot mode.
10552
10553 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
10554
10555         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
10556         last patch a bit.  Pretty printing
10557
10558 2010-05-31  Petr Baudis <pasky@suse.cz>
10559
10560         [BZ #10085]
10561         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
10562         initialization of skip_initgroups_dyn.
10563
10564 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
10565
10566         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
10567         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10568
10569 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
10570
10571         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
10572
10573 2010-11-11  Andreas Schwab  <schwab@redhat.com>
10574
10575         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
10576         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
10577         (tst-fnmatch-ENV): Set MALLOC_TRACE.
10578         ($(objpfx)tst-fnmatch-mem): New rule.
10579         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
10580         * posix/tst-fnmatch.c (main): Call mtrace.
10581
10582 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
10583
10584         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10585         Support Intel processor model 6 and model 0x2c.
10586
10587 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
10588
10589         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
10590           signed comparison.
10591
10592 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
10593
10594         [BZ #12205]
10595         * string/test-strncasecmp.c (check_result): New function.
10596         (do_one_test): Use it.
10597         (check1): New function.
10598         (test_main): Use it.
10599         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
10600         Support strcasecmp and strncasecmp.
10601
10602 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
10603
10604         [BZ #12194]
10605         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
10606         * sysdeps/x86_64/bits/byteswap.h: Likewise.
10607
10608 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
10609
10610         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
10611         IFUNC support.
10612         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10613         memset-x86-64.
10614         * sysdeps/x86_64/multiarch/bzero.S: New file.
10615         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
10616         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
10617         * sysdeps/x86_64/multiarch/memset.S: New file.
10618         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
10619         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10620         Set bit_Prefer_SSE_for_memop for Intel processors.
10621         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
10622         Define.
10623         (index_Prefer_SSE_for_memop): Define.
10624         (HAS_PREFER_SSE_FOR_MEMOP): Define.
10625
10626 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
10627
10628         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
10629         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
10630
10631 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
10632
10633         [BZ #12191]
10634         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10635         (__x86_64_raw_data_cache_size_half): Likewise.
10636         (__x86_64_raw_shared_cache_size): Likewise.
10637         (__x86_64_raw_shared_cache_size_half): Likewise.
10638
10639         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10640         (__x86_64_raw_data_cache_size_half): Likewise.
10641         (__x86_64_raw_shared_cache_size): Likewise.
10642         (__x86_64_raw_shared_cache_size_half): Likewise.
10643         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
10644         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
10645         and __x86_64_raw_shared_cache_size_half.  Round
10646         __x86_64_data_cache_size_half, __x86_64_data_cache_size
10647         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
10648         to multiple of 256 bytes.
10649
10650 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
10651
10652         [BZ #12167]
10653         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
10654         of inacessible symlinks.  Verify result of symlink before returning it.
10655         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10656         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
10657
10658 2010-10-28  Erich Ritz  <erichritz@gmail.com>
10659
10660         * math/math.h (isinf): Fix typo in comment.
10661
10662 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
10663
10664         * po/da.po: Update from translation team.
10665
10666 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
10667
10668         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
10669         is added to the list.
10670
10671 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10672             Ulrich Drepper  <drepper@gmail.com>
10673
10674         * elf/dl-object.c (_dl_new_object): Don't append the new object to
10675         the global list here.  Move code to...
10676         (_dl_add_to_namespace_list): ...here.  New function.
10677         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
10678         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
10679         * elf/dl-load.c (lose): Don't remove the element from the list.
10680         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
10681         (_dl_map_object): Likewise.
10682
10683 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
10684
10685         [BZ #12159]
10686         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
10687         into all bytes of SSE register.
10688         Patch by Richard Li <richardpku@gmail.com>.
10689
10690 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
10691
10692         [BZ #12140]
10693         * malloc/malloc.c (_int_free): Fill correct number of bytes when
10694         perturbing.
10695
10696 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
10697
10698         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
10699         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
10700         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
10701         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
10703         submachine.
10704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10705
10706 2010-10-22  Andreas Schwab  <schwab@redhat.com>
10707
10708         * include/dlfcn.h (__RTLD_SECURE): Define.
10709         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
10710         mode & __RTLD_SECURE instead.
10711         (open_path): Rename preloaded parameter to secure.
10712         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10713         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10714         * elf/dl-deps.c (openaux): Likewise.
10715         * elf/rtld.c (struct map_args): Remove is_preloaded.
10716         (map_doit): Don't use it.
10717         (dl_main): Likewise.
10718         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10719         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10720
10721 2010-09-09  Andreas Schwab  <schwab@redhat.com>
10722
10723         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10724         (sysd-rules-targets): Remove duplicates.
10725         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10726         rtld-%.$o dependency.
10727
10728 2010-10-18  Andreas Schwab  <schwab@redhat.com>
10729
10730         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10731         _dl_map_object do it.
10732
10733 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
10734
10735         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10736         fast fma builtins, define the macros in the C99 standard.
10737         (FP_FAST_FMAF): Likewise.
10738         (FP_FAST_FMAL): Likewise.
10739         * sysdeps/x86_64/bits/mathdef.h: Likewise.
10740
10741         * bits/mathdef.h: Update copyright year.
10742         * sysdeps/powerpc/bits/mathdef.h: Likewise.
10743
10744 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
10745
10746         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10747         builtins, define the macros in the C99 standard.
10748         (FP_FAST_FMAF): Likewise.
10749         (FP_FAST_FMAL): Likewise.
10750         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10751         multiply/add.
10752         (FP_FAST_FMAF): Likewise.
10753
10754 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
10755
10756         [BZ #3268]
10757         * math/libm-test.inc (fma_test): Some new testcases.
10758         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10759         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10760         y and infinite z.  Do multiplication by C already in long double.
10761         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10762         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10763         y and infinite z.  Do bitwise or of inexact bit into u.d.
10764         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10765         * sysdeps/i386/fpu/s_fmaf.S: Removed.
10766         * sysdeps/i386/fpu/s_fma.S: Removed.
10767         * sysdeps/i386/fpu/s_fmal.S: Removed.
10768
10769 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
10770
10771         [BZ #3268]
10772         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10773         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10774         computation is not scheduled after fetestexcept.  Fix value
10775         of minimum denormal long double.
10776
10777 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
10778
10779         [BZ #3268]
10780         * math/libm-test.inc (fma_test): Add some more tests.
10781         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10782         correctly.
10783
10784 2010-10-15  Andreas Schwab  <schwab@redhat.com>
10785
10786         * scripts/data/localplt-s390-linux-gnu.data: New file.
10787         * scripts/data/localplt-s390x-linux-gnu.data: New file.
10788
10789 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
10790
10791         [BZ #3268]
10792         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10793         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10794         instead of dbl-64.
10795         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10796         inlines.
10797         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10798         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10799         if one of x and y is very large and the other is subnormal.
10800         * sysdeps/s390/fpu/s_fmaf.c: New file.
10801         * sysdeps/s390/fpu/s_fma.c: New file.
10802         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10803         * sysdeps/powerpc/fpu/s_fma.S: New file.
10804         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10805         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10806         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10807
10808 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
10809
10810         [BZ #3268]
10811         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10812         fma tests.
10813         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10814         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10815         * sysdeps/i386/i686/multiarch/s_fma.c: Include
10816         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10817         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10818         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10819         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10820
10821 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
10822
10823         [BZ #12078]
10824         * posix/regcomp.c (parse_branch): One more memory leak plugged.
10825         * posix/bug-regex31.input: Add test case.
10826
10827 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
10828
10829         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10830         * posix/bug-regex31.input: New file.
10831
10832         [BZ #12078]
10833         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10834         (parse_sub_exp): Fix last change, use postorder.
10835
10836         * posix/bug-regex31.c: New file.
10837         * posix/Makefile: Add rules to build and run bug-regex31.
10838
10839         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10840
10841         [BZ #12078]
10842         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10843
10844         [BZ #12108]
10845         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10846         to have entries in sys_siglist.
10847
10848         [BZ #12093]
10849         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10850         be NULL.
10851
10852 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
10853
10854         [BZ #3268]
10855         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10856         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10857         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10858         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10859         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10860         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10861         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10862         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10863         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10864         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10865         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10866         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10867         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10868         * math/ftestexcept.c (fetestexcept): Likewise.
10869         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10870         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10871         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10872         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10873         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10874         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10875         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10876
10877 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
10878
10879         [BZ #12107]
10880         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10881         newline.
10882
10883 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
10884
10885         * string/bug-strstr1.c: New file.
10886         * string/Makefile: Add rules to build and run bug-strstr1.
10887
10888 2010-10-05  Eric Blake  <eblake@redhat.com>
10889
10890         [BZ #12092]
10891         * string/str-two-way.h (two_way_long_needle): Always clear memory
10892         when skipping input due to the shift table.
10893
10894 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
10895
10896         [BZ #12005]
10897         * malloc/mcheck.c: Handle large requests.
10898
10899         [BZ #12077]
10900         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10901         for strncmp and strncasecmp.
10902         * string/stratcliff.c: Add tests for strcmp and strncmp.
10903         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10904
10905 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
10906
10907         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10908         __set_fpscr.
10909
10910 2010-09-30  Andreas Jaeger  <aj@suse.de>
10911
10912         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10913         (CGROUP_SUPER_MAGIC): Define.
10914         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10915         Handle btrfs and cgroup file systems.
10916         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10917         Likewise.
10918
10919 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
10920
10921         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10922         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10923
10924 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10925
10926         [BZ #12067]
10927         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10928         trying to locate the ELF header.
10929
10930 2010-09-27  Andreas Schwab  <schwab@redhat.com>
10931
10932         [BZ #11611]
10933         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10934         Mask out sign-bit copies when constructing f_fsid.
10935
10936 2010-09-24  Petr Baudis <pasky@suse.cz>
10937
10938         * debug/stack_chk_fail_local.c: Add missing licence exception.
10939         * debug/warning-nop.c: Likewise.
10940
10941 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
10942
10943         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10944         implementing getdents64 using getdents syscall, set d_type if
10945         __ASSUME_GETDENTS32_D_TYPE.
10946
10947 2010-09-16  Andreas Schwab  <schwab@redhat.com>
10948
10949         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10950         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10951
10952 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
10953
10954         [BZ #12037]
10955         * posix/unistd.h: Undo change of feature selection for ftruncate from
10956         2010-01-11.
10957
10958 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
10959
10960         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
10961         detection.
10962
10963 2010-09-20  Andreas Schwab  <schwab@redhat.com>
10964
10965         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10966         fanotify_mark.
10967         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10968
10969 2010-09-14  Andreas Schwab  <schwab@redhat.com>
10970
10971         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
10972         variables after CHECK_SP call.
10973         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
10974
10975 2010-09-13  Andreas Schwab  <schwab@redhat.com>
10976             Ulrich Drepper  <drepper@redhat.com>
10977
10978         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
10979         re-relocationg ld.so.
10980         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
10981         _dl_init_paths call.
10982         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
10983         here anymore.
10984
10985 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
10986
10987         * resolv/res_init.c (__res_vinit): Count the default server we added.
10988
10989 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
10990             Ulrich Drepper  <drepper@redhat.com>
10991
10992         [BZ #11968]
10993         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10994         (____longjmp_chk): Use %ebx for saving value across system call.
10995         Add unwind info.
10996
10997 2010-09-06  Andreas Schwab  <schwab@redhat.com>
10998
10999         * manual/Makefile: Don't mix pattern rules with normal rules.
11000
11001 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
11002
11003         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
11004         operation.
11005         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
11006         * libio/iofopncook.c (_IO_cookie_init): Likewise.
11007         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
11008         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11009         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11010         Likewise.
11011
11012 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
11013
11014         [BZ #11979]
11015         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
11016         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
11017
11018 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
11019
11020         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
11021         * sysdeps/x86_64/addmul_1.S: Likewise.
11022         * sysdeps/x86_64/lshift.S: Likewise.
11023         * sysdeps/x86_64/mul_1.S: Likewise.
11024         * sysdeps/x86_64/rshift.S: Likewise.
11025         * sysdeps/x86_64/sub_n.S: Likewise.
11026         * sysdeps/x86_64/submul_1.S: Likewise.
11027
11028 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11029
11030         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
11031         Define __sched_param instead of SCHED_* and sched_param when
11032         <bits/sched.h> is included with __need_schedparam defined.
11033         * bits/sched.h [__need_schedparam]
11034         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
11035         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
11036         (__defined_schedparam): Define to 1.
11037         (__sched_param): New structure, identical to sched_param.
11038         (__need_schedparam): Undefine.
11039
11040 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
11041
11042         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
11043         (epoll_create1): Declare.
11044
11045         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
11046
11047 2010-08-31  Andreas Schwab  <schwab@redhat.com>
11048
11049         [BZ #7066]
11050         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
11051         shifting retval into place.
11052
11053 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
11054
11055         * nis/rpcsvc/nis.h: Update copyright notice.
11056         * nis/rpcsvc/nis.x: Likewise.
11057         * nis/rpcsvc/nis_callback.h: Likewise.
11058         * nis/rpcsvc/nis_callback.x: Likewise.
11059         * nis/rpcsvc/nis_object.x: Likewise.
11060         * nis/rpcsvc/nis_tags.h: Likewise.
11061         * nis/rpcsvc/yp.h: Likewise.
11062         * nis/rpcsvc/yp.x: Likewise.
11063         * nis/rpcsvc/ypupd.h: Likewise.
11064         * nis/yp_xdr.c: Likewise.
11065         * nis/ypupdate_xdr.c: Likewise.
11066
11067         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
11068         mainly the body of pmap_getport.  Add parameters to specify timeouts.
11069         (pmap_getport): Use __libc_rpc_getport.
11070         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
11071         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
11072         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
11073
11074 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
11075
11076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
11077         fanotify_mark.
11078
11079 2010-08-27  Roland McGrath  <roland@redhat.com>
11080
11081         * sysdeps/i386/i686/multiarch/Makefile
11082         (CFLAGS-varshift.c): New variable.
11083
11084 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
11085
11086         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
11087         * sysdeps/i386/i686/multiarch/varshift.c: New file.
11088
11089         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
11090
11091         * sysdeps/x86_64/strlen.S: Minimal code improvement.
11092
11093 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
11094
11095         * sysdeps/x86_64/strlen.S: Unroll the loop.
11096         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11097         strlen-sse2 strlen-sse2-bsf.
11098         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
11099         __strlen_no_bsf if bit_Slow_BSF is set.
11100         (__strlen_sse42): Removed.
11101         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
11102         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
11103
11104 2010-08-25  Roland McGrath  <roland@redhat.com>
11105
11106         * sysdeps/x86_64/multiarch/varshift.S: File removed.
11107         * sysdeps/x86_64/multiarch/varshift.c: New file.
11108         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
11109         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
11110         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
11111         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11112
11113 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
11114
11115         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11116         strlen-sse2 strlen-sse2-bsf.
11117         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
11118         __strlen_sse2_bsf if bit_Slow_BSF is unset.
11119         (__strlen_sse2): Removed.
11120         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
11121         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
11122         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11123         bit_Slow_BSF for Atom.
11124         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
11125         (index_Slow_BSF): Define.
11126         (HAS_SLOW_BSF): Define.
11127
11128 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
11129
11130         [BZ #10851]
11131         * resolv/res_init.c (__res_vinit): When no server address at all
11132         is given default to loopback.
11133
11134 2010-08-24  Roland McGrath  <roland@redhat.com>
11135
11136         * configure.in: Remove config-name.h generation.
11137         * configure: Regenerated.
11138         * config-name.in: File removed.
11139         * scripts/config-uname.sh: New file.
11140         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
11141         ($(objdir)config-name.h): New target.
11142
11143         * sunrpc/rpc_parse.h: Avoid nested comment.
11144
11145 2010-08-24  Richard Henderson  <rth@redhat.com>
11146             Ulrich Drepper  <drepper@redhat.com>
11147             H.J. Lu  <hongjiu.lu@intel.com>
11148
11149         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
11150         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
11151         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
11152         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
11153         _mm_alignr_epi8 with _mm_loadu_si128.
11154         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
11155         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
11156         (__m128i_shift_right): Removed.
11157         * sysdeps/i386/i686/multiarch/varshift.h: New file.
11158         * sysdeps/i386/i686/multiarch/varshift.S: New file.
11159         * sysdeps/x86_64/multiarch/varshift.h: New file.
11160         * sysdeps/x86_64/multiarch/varshift.S: New file.
11161
11162 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
11163
11164         * configure.in: Move assembler checks to before sysdep dir checking.
11165
11166 2010-08-20  Petr Baudis  <pasky@suse.cz>
11167
11168         * LICENSES: Sync the sunrpc license.
11169
11170 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
11171
11172         * sunrpc/auth_des.c: Update copyright notice once again.
11173         * sunrpc/auth_none.c: Likewise.
11174         * sunrpc/auth_unix.c: Likewise.
11175         * sunrpc/authdes_prot.c: Likewise.
11176         * sunrpc/authuxprot.c: Likewise.
11177         * sunrpc/bindrsvprt.c: Likewise.
11178         * sunrpc/clnt_gen.c: Likewise.
11179         * sunrpc/clnt_perr.c: Likewise.
11180         * sunrpc/clnt_raw.c: Likewise.
11181         * sunrpc/clnt_simp.c: Likewise.
11182         * sunrpc/clnt_tcp.c: Likewise.
11183         * sunrpc/clnt_udp.c: Likewise.
11184         * sunrpc/clnt_unix.c: Likewise.
11185         * sunrpc/des_crypt.c: Likewise.
11186         * sunrpc/des_soft.c: Likewise.
11187         * sunrpc/get_myaddr.c: Likewise.
11188         * sunrpc/getrpcport.c: Likewise.
11189         * sunrpc/key_call.c: Likewise.
11190         * sunrpc/key_prot.c: Likewise.
11191         * sunrpc/openchild.c: Likewise.
11192         * sunrpc/pm_getmaps.c: Likewise.
11193         * sunrpc/pm_getport.c: Likewise.
11194         * sunrpc/pmap_clnt.c: Likewise.
11195         * sunrpc/pmap_prot.c: Likewise.
11196         * sunrpc/pmap_prot2.c: Likewise.
11197         * sunrpc/pmap_rmt.c: Likewise.
11198         * sunrpc/rpc/auth.h: Likewise.
11199         * sunrpc/rpc/auth_unix.h: Likewise.
11200         * sunrpc/rpc/clnt.h: Likewise.
11201         * sunrpc/rpc/des_crypt.h: Likewise.
11202         * sunrpc/rpc/key_prot.h: Likewise.
11203         * sunrpc/rpc/netdb.h: Likewise.
11204         * sunrpc/rpc/pmap_clnt.h: Likewise.
11205         * sunrpc/rpc/pmap_prot.h: Likewise.
11206         * sunrpc/rpc/pmap_rmt.h: Likewise.
11207         * sunrpc/rpc/rpc.h: Likewise.
11208         * sunrpc/rpc/rpc_des.h: Likewise.
11209         * sunrpc/rpc/rpc_msg.h: Likewise.
11210         * sunrpc/rpc/svc.h: Likewise.
11211         * sunrpc/rpc/svc_auth.h: Likewise.
11212         * sunrpc/rpc/types.h: Likewise.
11213         * sunrpc/rpc/xdr.h: Likewise.
11214         * sunrpc/rpc_clntout.c: Likewise.
11215         * sunrpc/rpc_cmsg.c: Likewise.
11216         * sunrpc/rpc_common.c: Likewise.
11217         * sunrpc/rpc_cout.c: Likewise.
11218         * sunrpc/rpc_dtable.c: Likewise.
11219         * sunrpc/rpc_hout.c: Likewise.
11220         * sunrpc/rpc_main.c: Likewise.
11221         * sunrpc/rpc_parse.c: Likewise.
11222         * sunrpc/rpc_parse.h: Likewise.
11223         * sunrpc/rpc_prot.c: Likewise.
11224         * sunrpc/rpc_sample.c: Likewise.
11225         * sunrpc/rpc_scan.c: Likewise.
11226         * sunrpc/rpc_scan.h: Likewise.
11227         * sunrpc/rpc_svcout.c: Likewise.
11228         * sunrpc/rpc_tblout.c: Likewise.
11229         * sunrpc/rpc_util.c: Likewise.
11230         * sunrpc/rpc_util.h: Likewise.
11231         * sunrpc/rpcinfo.c: Likewise.
11232         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
11233         * sunrpc/rpcsvc/key_prot.x: Likewise.
11234         * sunrpc/rpcsvc/klm_prot.x: Likewise.
11235         * sunrpc/rpcsvc/mount.x: Likewise.
11236         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
11237         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
11238         * sunrpc/rpcsvc/rex.x: Likewise.
11239         * sunrpc/rpcsvc/rstat.x: Likewise.
11240         * sunrpc/rpcsvc/rusers.x: Likewise.
11241         * sunrpc/rpcsvc/sm_inter.x: Likewise.
11242         * sunrpc/rpcsvc/spray.x: Likewise.
11243         * sunrpc/rpcsvc/yppasswd.x: Likewise.
11244         * sunrpc/rtime.c: Likewise.
11245         * sunrpc/svc.c: Likewise.
11246         * sunrpc/svc_auth.c: Likewise.
11247         * sunrpc/svc_authux.c: Likewise.
11248         * sunrpc/svc_raw.c: Likewise.
11249         * sunrpc/svc_run.c: Likewise.
11250         * sunrpc/svc_simple.c: Likewise.
11251         * sunrpc/svc_tcp.c: Likewise.
11252         * sunrpc/svc_udp.c: Likewise.
11253         * sunrpc/svc_unix.c: Likewise.
11254         * sunrpc/svcauth_des.c: Likewise.
11255         * sunrpc/xcrypt.c: Likewise.
11256         * sunrpc/xdr.c: Likewise.
11257         * sunrpc/xdr_array.c: Likewise.
11258         * sunrpc/xdr_float.c: Likewise.
11259         * sunrpc/xdr_mem.c: Likewise.
11260         * sunrpc/xdr_rec.c: Likewise.
11261         * sunrpc/xdr_ref.c: Likewise.
11262         * sunrpc/xdr_sizeof.c: Likewise.
11263         * sunrpc/xdr_stdio.c: Likewise.
11264
11265         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
11266         handling.
11267
11268 2010-08-19  Andreas Schwab  <schwab@redhat.com>
11269
11270         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
11271
11272 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
11273
11274         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
11275         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
11276         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
11277         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
11278         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
11279         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
11280         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
11281         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
11282         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
11283         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
11284         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
11285         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
11286         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
11287         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
11288
11289 2010-07-26  Anton Blanchard  <anton@samba.org>
11290
11291         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
11292         * malloc/arena.c (heap_trim): Likewise.
11293
11294 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
11295
11296         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
11297         here.  Not...
11298         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
11299         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
11300
11301 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
11302
11303         * sysdeps/i386/elf/Makefile: New file.
11304
11305 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
11306
11307         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
11308         from fanotify_init.
11309         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
11310         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11311
11312 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
11313
11314         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
11315         of strncasecmp_l.
11316         * sysdeps/multiarch/strcmp.S: Likewise.
11317
11318 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
11319
11320         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11321         strncase_l-nonascii.
11322         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11323         Add strncase_l-ssse3.
11324         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
11325         * sysdeps/x86_64/strcmp.S: Likewise.
11326         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
11327         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
11328         * sysdeps/x86_64/strncase.S: New file.
11329         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
11330         * sysdeps/x86_64/strncase_l.S: New file.
11331         * string/Makefile (strop-tests): Add strncasecmp.
11332         * string/test-strncasecmp.c: New file.
11333
11334         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
11335         warning.
11336
11337         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
11338         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
11339
11340 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
11341
11342         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
11343
11344 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
11345
11346         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
11347         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11348         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11349
11350 2010-05-01  Alan Modra  <amodra@gmail.com>
11351
11352         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
11353         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
11354         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
11355         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
11356         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
11357         tidying.  Don't tail-call __sigjmp_save for static lib.
11358         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
11359         save location.
11360         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
11361         (CALL_MCOUNT): Add eh info, and nop after bl.
11362         (TAIL_CALL_SYSCALL_ERROR): New macro.
11363         (PSEUDO_RET): Use it.
11364         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11365         Correct save location of integer regs and cr.
11366         (_dl_profile_resolve): Correct cr save location.  Delete nops
11367         after bl when SHARED.  Reduce cfi size a little by better
11368         placement of cfi directives.
11369         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
11370         make a stack frame.  Instead use parm save area as a temp.
11371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
11372         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
11373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11374         Don't make a stack frame for parent, use parm save area.
11375         Increase child stack frame to 112 bytes.  Don't save unused reg,
11376         and adjust reg usage.  Set up cfi on error recovery and
11377         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
11378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11379         (__makecontext): Add dummy nop after jump to exit.
11380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
11381         Use correct parm save area and cr save, reduce stack frame.
11382         Correct cfi for possible PSEUDO_RET frame setup.
11383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
11384         Branch to local label emitted by PSEUDO_RET rather than
11385         __syscall_error.
11386
11387 2010-08-12  Andreas Schwab  <schwab@redhat.com>
11388
11389         [BZ #11904]
11390         * locale/programs/locale.c (print_assignment): New function.
11391         (show_locale_vars): Use it.
11392
11393 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
11394
11395         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
11396         field.
11397         (struct statfs64): Likewise.
11398         (_STATFS_F_FLAGS): Define.
11399         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
11400         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11401         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
11402         (ST_VALID): Define locally.
11403         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
11404         __statvfs_getflags, use the provided value.
11405         * sysdeps/unix/sysv/linux/kernel-features.h: Define
11406         __ASSUME_STATFS_F_FLAGS.
11407
11408         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
11409
11410         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
11411         Add sys/fanotify.h.
11412         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
11413         fanotify_mask for GLIBC_2.13.
11414         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
11415         fanotify_init and fanotify_mark.
11416         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11417         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
11418
11419         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
11420         Add prlimit.
11421         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
11422         prlimit64 for GLIBC_2.13.
11423         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
11424         prlimit64.
11425         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
11426         syscall.
11427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11428         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11429         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
11430         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
11431         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
11432         add prlimit alias.
11433         * sysdeps/unix/sysv/linux/prlimit.c: New file.
11434
11435         [BZ #11903]
11436         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
11437         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
11438
11439         * nss/Makefile: Add rules to build and run tst-nss-test1.
11440         * shlib-versions: Add entry for libnss_test1.
11441         * nss/nss_test1.c: New file.
11442         * nss/tst-nss-test1.c: New file.
11443
11444         * nss/nsswitch.c (__nss_database_custom): Define new variable.
11445         (__nss_configure_lookup): Set appropriate entry in
11446         __nss_configure_lookup to true.
11447         * nss/nsswitch.h: Define enum with indeces of databases in
11448         databases and __nss_database_custom arrays.  Declare
11449         __nss_database_custom.
11450         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
11451         to avoid using nscd when custom rules are installed.
11452         * nss/getXXbyYY_r.c: Likewise.
11453         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11454
11455         * nss/nss_files/files-parse.c: Whitespace fixes.
11456
11457 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
11458
11459         [BZ #11883]
11460         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
11461         * posix/fnmatch_loop.c: Likewise.
11462
11463 2010-07-17  Andi Kleen  <ak@linux.intel.com>
11464
11465         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
11466         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
11467         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
11468         * Versions.def [GLIBC_2.13]: Add.
11469
11470 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
11471
11472         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11473         Also fail if tpwd after pwuid call is NULL.
11474
11475 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11476
11477         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
11478         when converting to ms.
11479
11480 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11481
11482         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
11483         EOPNOTSUPP errors with ENOTTY.
11484         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
11485         EOPNOTSUPP errors with ENOTTY.
11486
11487 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
11488
11489         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11490         Add strcasecmp_l-ssse3.
11491         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
11492         strcasecmp.
11493         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
11494         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
11495         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
11496
11497 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
11498
11499         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
11500
11501         * string/Makefile (strop-tests): Add strcasecmp.
11502         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11503         strcasecmp_l-nonascii.
11504         (gen-as-const-headers): Add locale-defines.sym.
11505         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
11506         * sysdeps/x86_64/strcasecmp.S: New file.
11507         * sysdeps/x86_64/strcasecmp_l.S: New file.
11508         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
11509         * sysdeps/x86_64/locale-defines.sym: New file.
11510         * string/test-strcasecmp.c: New file.
11511
11512         * string/test-strcasestr.c: Test both ends of the range of characters.
11513         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
11514
11515 2010-07-29  Roland McGrath  <roland@redhat.com>
11516
11517         [BZ #11856]
11518         * manual/locale.texi (Yes-or-No Questions): Fix example code.
11519
11520 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
11521
11522         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
11523         for ld.so.
11524
11525 2010-07-27  Andreas Schwab  <schwab@redhat.com>
11526
11527         * manual/memory.texi (Malloc Tunable Parameters): Document
11528         M_PERTURB.
11529
11530 2010-07-26  Roland McGrath  <roland@redhat.com>
11531
11532         [BZ #11840]
11533         * configure.in (-fgnu89-inline check): Set and substitute
11534         gnu89_inline, not libc_cv_gnu89_inline.
11535         * configure: Regenerated.
11536         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
11537
11538 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
11539
11540         * string/test-strnlen.c: New file.
11541         * string/Makefile (strop-tests): Add strnlen.
11542         * string/tester.c (test_strnlen): Add a few more test cases.
11543         * string/tst-strlen.c: Better error reporting.
11544
11545         * sysdeps/x86_64/strnlen.S: New file.
11546
11547 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
11548
11549         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
11550         lower-latency instructions.
11551
11552 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
11553
11554         * string/test-strcasestr.c: New file.
11555         * string/test-strstr.c: New file.
11556         * string/Makefile (strop-tests): Add strstr and strcasestr.
11557         * string/str-two-way.h: Don't undefine MAX.
11558         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
11559
11560 2010-07-21  Andreas Schwab  <schwab@redhat.com>
11561
11562         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11563         strcasestr-nonascii.
11564         (CFLAGS-strcasestr-nonascii.c): Define.
11565         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
11566         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
11567         Remove unused attribute.
11568
11569 2010-07-20  Roland McGrath  <roland@redhat.com>
11570
11571         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
11572         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
11573         ld.so.cache was broken.  With it, there is no way to disable dsocaps
11574         like LD_HWCAP_MASK can disable hwcaps.
11575
11576 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
11577
11578         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
11579
11580 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
11581
11582         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
11583         call in strcasestr.
11584         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
11585         __strcasestr_sse42_nonascii.
11586         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
11587         strcasestr-nonascii.c.
11588         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
11589
11590 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
11591
11592         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
11593         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
11594         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
11595         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
11596
11597 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
11598
11599         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
11600         fcntl.
11601
11602 2010-07-06  Andreas Schwab  <schwab@redhat.com>
11603
11604         [BZ #11577]
11605         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
11606         dl_signal_cerror.
11607
11608 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
11609
11610         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
11611         _PC_PIPE_BUF using F_GETPIPE_SZ.
11612
11613 2010-07-05  Roland McGrath  <roland@redhat.com>
11614
11615         * manual/arith.texi (Rounding Functions): Fix rint description
11616         implicit in round description.
11617
11618 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
11619
11620         * elf/Makefile: Fix linking for a few tests to make recent linker
11621         happy.
11622
11623 2010-06-30  Andreas Schwab  <schwab@redhat.com>
11624
11625         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11626         $(common-objpfx)libc_nonshared.a.
11627
11628 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
11629
11630         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
11631         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
11632         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11633         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11634         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
11635         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
11636         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11637         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
11639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
11640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
11641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
11643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
11645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
11646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
11647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
11648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
11650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
11652         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
11653         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
11654         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
11655         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
11656         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
11657         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
11658         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
11659         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
11660         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
11661         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
11662         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
11663         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
11664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
11665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
11666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
11667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
11668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
11669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
11670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
11671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
11672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
11673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
11674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
11675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
11676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
11677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
11678
11679 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
11680
11681         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
11682         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
11683         * string/memmove.c (memmove): Renamed to ...
11684         (MEMMOVE): ...this.  Default to memmove.
11685         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
11686         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
11687         (END_CHK): Define.
11688         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11689         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
11690         mempcpy-ssse3-back memmove-ssse3-back.
11691         * sysdeps/x86_64/multiarch/bcopy.S: New file .
11692         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
11693         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
11694         * sysdeps/x86_64/multiarch/memcpy.S: New file.
11695         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
11696         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
11697         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
11698         * sysdeps/x86_64/multiarch/memmove.c: New file.
11699         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
11700         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
11701         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
11702         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
11703         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
11704         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
11705         Define.
11706         (index_Fast_Copy_Backward): Define.
11707         (HAS_ARCH_FEATURE): Define.
11708         (HAS_FAST_REP_STRING): Define.
11709         (HAS_FAST_COPY_BACKWARD): Define.
11710
11711 2010-06-21  Andreas Schwab  <schwab@redhat.com>
11712
11713         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11714         Restore proper fallback handling.
11715
11716 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
11717
11718         [BZ #11701]
11719         * posix/group_member.c (__group_member): Correct checking loop.
11720
11721         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11722         OOM in getpwuid_r correctly.  Return error number when the caller
11723         should return, otherwise -1.
11724         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11725         call returning > 0 value.
11726         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11727
11728 2010-06-07  Andreas Schwab  <schwab@redhat.com>
11729
11730         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11731         libc_nonshared.a from targets in modules-names.
11732
11733 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
11734
11735         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11736         requires it.
11737
11738 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
11739
11740         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11741         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11742         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11743         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11744
11745 2010-06-02  Andreas Schwab  <schwab@redhat.com>
11746
11747         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11748
11749 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
11750
11751         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11752         and F_GETPIPE_SZ.
11753         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11754         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11755         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11756         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11757         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11758         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11759
11760 2010-06-14  Roland McGrath  <roland@redhat.com>
11761
11762         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11763
11764 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
11765
11766         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11767         __REDIRECT followed by __THROW.
11768         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11769         * posix/getopt.h (getopt): Likewise.
11770
11771 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
11772
11773         * hurd/lookup-at.c (__file_name_lookup_at): Accept
11774         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
11775         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11776         in AT_FLAGS.
11777         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11778         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11779
11780 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
11781
11782         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11783
11784 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
11785
11786         [BZ #11640]
11787         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11788         Properly check family and model.
11789
11790 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
11791
11792         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11793
11794 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
11795
11796         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11797
11798 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
11799
11800         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11801         symbol reference.
11802
11803 2010-05-19  Andreas Schwab  <schwab@redhat.com>
11804
11805         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11806         symbol reference.
11807
11808 2010-05-21  Andreas Schwab  <schwab@redhat.com>
11809
11810         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11811         and internal_recvmmsg.
11812         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11813         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11814         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11815         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11816
11817         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11818         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11819         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11820
11821 2010-05-20  Andreas Schwab  <schwab@redhat.com>
11822
11823         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11824
11825 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
11826
11827         POWER7 optimizations.
11828         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11829         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11830
11831 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
11832
11833         * version.h: Update for 2.13 development version.
11834
11835 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
11836
11837         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11838         exceptions.  Return 0.
11839
11840 2010-05-07  Roland McGrath  <roland@redhat.com>
11841
11842         * elf/ldconfig.c (main): Add a const.
11843
11844 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
11845
11846         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11847         (args_options): Add no-idn option.
11848         (ahosts_keys_int): Add idn_flags to ai_flags.
11849         (parse_option): Handle 'i' option to clear idn_flags.
11850
11851         * malloc/malloc.c (_int_free): Possible race in the most recently
11852         added check.  Only act on the data if no current modification
11853         happened.
11854
11855 See ChangeLog.17 for earlier changes.