Remove unused sysdeps/unix/getegid.S and sysdeps/unix/geteuid.S.
[platform/upstream/glibc.git] / ChangeLog
1 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
2
3         * sysdeps/unix/getegid.S: Remove file.
4         * sysdeps/unix/geteuid.S: Likewise.
5
6 2012-04-24  Roland McGrath  <roland@hack.frob.com>
7
8         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
9         NODE when __dir_mkfile failed.
10         * sysdeps/mach/hurd/symlinkat.c: Likewise.
11         Reported by Ludovic Courtès <ludo@gnu.org>.
12
13 2012-04-24  Andreas Jaeger  <aj@suse.de>
14
15         * Makerules (common-clean): Also remove gen-as-const-headers
16         files.
17
18 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
19
20         * Makerules (native-compile): Do not change working directory for
21         build.  Use $(OUTPUT_OPTION) in command.
22         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
23
24 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25
26         [BZ #13886]
27         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
28         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
29         * math/libm-test.inc (floor_test): Add more tests.
30         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31
32 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
33
34         * sysdeps/unix/getdents.c: Remove file.
35         * sysdeps/unix/sysv/getdents.c: Likewise.
36         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
37
38         * sysdeps/unix/syscalls.list (madvise): Add syscall from
39         sysdeps/unix/mman/syscalls.list.
40         (mmap): Likewise.
41         (mprotect): Likewise.
42         (msync): Likewise.
43         (munmap): Likewise.
44         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
45         * sysdeps/unix/mman/syscalls.list: Remove.
46         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
47
48         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
49         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
50         * configure: Regenerated.
51         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
52         $(libgcc_s_suffix).
53         * config.make.in (libgcc_s_suffix): Remove variable.
54
55 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
56
57         * sysdeps/unix/sysv/gethostname.c: Move to ...
58         * sysdeps/posix/gethostname.c: ... here.
59
60         * sysdeps/unix/execve.S: Remove file.
61
62         * sysdeps/unix/_exit.S: Remove file.
63
64 2012-04-23  Andreas Jaeger  <aj@suse.de>
65
66         [BZ #13739]
67         * manual/Makefile: Remove make dist support, there's no
68         need for a stand-alone documentation tar ball.
69         (TEXI2DVI): Define always, it's not in Makeconfig.
70         (dist): Removed.
71         (tar-it): Removed.
72         (edition): Removed.
73         (glibc-doc-$(edition).tar): Removed
74         (%.Z): Removed.
75         (%.gz): Removed.
76         (%.uu): Removed.
77         (ETAGS): Remove, it's in Makeconfig.
78         (move-if-change): Remove, it's in Makeconfig.
79
80 2013-04-23  Paul Eggert  <eggert@cs.ucla.edu>
81
82         [BZ #13970]
83         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
84         (strtod, strtof, strtold, strtol, strtoul, strtoq)
85         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
86         (strtod_l, strtof_l, strtold_l): Remove __wur.
87         It is not necessarily an error to ignore strtol's return value.
88         One can reliably look at the stored endptr to decide whether
89         the number had valid syntax.
90
91 2012-04-21  Andreas Jaeger  <aj@suse.de>
92
93         [BZ #13739]
94         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
95
96 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
97
98         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
99         * sysdeps/unix/sysv/Versions: Remove file.
100
101 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
102
103         [BZ #13927]
104         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
105
106 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
107
108         [BZ #7064]
109         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
110         version from __vm86.
111
112 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
113
114         * sysdeps/unix/common/lxstat.c: Remove file.
115         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
116
117         * sysdeps/unix/sysv/Makefile: Remove file.
118
119         * sysdeps/unix/sysv/direct.h: Remove file.
120
121         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
122         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
123         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
124         * sysdeps/unix/sysv/bits/signum.h: Likewise.
125         * sysdeps/unix/sysv/bits/stat.h: Likewise.
126         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
127         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
128
129         * sysdeps/unix/sysv/setrlimit.c: Remove file.
130
131         * sysdeps/unix/xmknod.c: Remove file.
132         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
133
134         * sysdeps/unix/sysv/settimeofday.c: Remove file.
135
136         * sysdeps/unix/sysv/i386/time.S: Remove file.
137
138         * sysdeps/unix/fxstat.c: Remove file.
139         * sysdeps/unix/xstat.c: Likewise.
140         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
141
142         * sysdeps/unix/sysv/sigaction.c: Remove file.
143
144         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
145         (sysdep_headers): Remove variable.
146         [termio.h not in sysdep_headers] (generated): Likewise.
147         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
148         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
149         * sysdeps/unix/sysv/tcdrain.c: Likewise.
150         * sysdeps/unix/sysv/tcflow.c: Likewise.
151         * sysdeps/unix/sysv/tcflush.c: Likewise.
152         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
153         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
154         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
155         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
156         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
157
158         * sysdeps/unix/siglist.c: Remove file.
159
160         * sysdeps/unix/getppid.S: Remove file.
161
162         * sysdeps/unix/mkdir.c: Remove file.
163         * sysdeps/unix/rmdir.c: Likewise.
164
165 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
166
167         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
168         ERR_MAX value.
169         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
170         errlist-compat value.
171
172 2012-04-18  David S. Miller  <davem@davemloft.net>
173
174         * sysdeps/generic/memcopy.h (reg_char): Delete.
175         * debug/strcat_chk.c: Use char, not reg_char.
176         * debug/strcpy_chk.c: Likewise.
177         * debug/strncat_chk.c: Likewise.
178         * debug/strncpy_chk.c: Likewise.
179         * string/memchr.c: Likewise.
180         * string/memrchr.c: Likewise.
181         * string/rawmemchr.c: Likewise.
182         * string/strcat.c: Likewise.
183         * string/strchr.c: Likewise.
184         * string/strchrnul.c: Likewise.
185         * string/strcmp.c: Likewise.
186         * string/strcpy.c: Likewise.
187         * string/strncat.c: Likewise.
188         * string/strncmp.c: Likewise.
189         * string/strncpy.c: Likewise.
190
191 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
192
193         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
194         __builtin_memcopy is called when src and dest ranges are known to not
195         overlap.
196
197 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
198
199         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
200         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
201         fwd_align_merge macro call.
202         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
203         bwd_align_merge macro call.
204         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
205
206 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
207
208         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
209         bwd_align_merge macros.
210         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
211         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
212         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
213
214 2012-04-18  David S. Miller  <davem@davemloft.net>
215
216         * sysdeps/sparc/sparc64/memcopy.h: Delete.
217
218 2012-04-18  Andreas Jaeger  <aj@suse.de>
219
220         [BZ# 6794]
221         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
222         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
223         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
224
225         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
226         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
227         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
228
229         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
230         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
231         Adjust for changed ldbl-128 files.
232
233         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
234         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
235         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
236
237 2012-04-17  David S. Miller  <davem@davemloft.net>
238
239         * sysdeps/sparc/sparc32/memcopy.h: Delete.
240
241 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
242
243         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
244         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
245         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
246         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
247         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
248         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
249
250 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
251
252         [BZ #6794]
253         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
254         * math/libm-test.inc: Add ilogb errno and exception tests.
255         * math/w_ilogb.c: New file: ilogb wrapper.
256         * math/w_ilogbf.c: New file: ilogbf wrapper.
257         * math/w_ilogbl.c: New file: ilogbl wrapper.
258         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
259         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
260         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
261         exception being thrown with 0.0 as argument.
262         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
263         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
264         exception being thrown with 0.0 as argument.
265         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
266         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
267         exception being thrown with 0.0 as argument.
268         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
269         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
270         exception being thrown with 0.0 as argument.
271         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
272         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
273         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
274         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
275         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
276         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
277         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
278         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
279         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
280
281 2012-04-17  Petr Baudis  <pasky@ucw.cz>
282
283         * include/sys/uio.h: Change __vector to __iovec to avoid clash
284         with altivec.
285
286 2012-04-16  Marek Polacek  <polacek@redhat.com>
287
288         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
289
290 2012-04-16  Marek Polacek  <polacek@redhat.com>
291
292         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
293         operands of fdivp instruction.
294
295 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
296
297         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
298         * elf/tst-auditmod3b.c: Likewise.
299         * elf/tst-auditmod4b.c: Likewise.
300         * elf/tst-auditmod5b.c: Likewise.
301         * elf/tst-auditmod6b.c: Likewise.
302         * elf/tst-auditmod6c.c: Likewise.
303         * elf/tst-auditmod7b.c: Likewise.
304         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
305         * sysdeps/x86_64/preconfigure.in: Likewise.
306         * sysdeps/x86_64/preconfigure: Regenerated.
307
308 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
309
310         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
311         __ILP32__.
312
313 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
314
315         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
316         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
317
318 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
319
320         [BZ #13973]
321         * locale/iso-639.def: Fix gl language name. Spotted by
322         Yaron Shahrabani.
323
324 2012-04-12  Roland McGrath  <roland@hack.frob.com>
325
326         [BZ #2074]
327         * libio/libio.h (__io_write_fn): Update comment.
328
329 2012-04-12  Petr Baudis  <pasky@ucw.cz>
330
331         [BZ #2074]
332         * stdio.texi (Hook Functions): The user provided writer function
333         is not allowed to return -1.
334
335 2012-04-11  David S. Miller  <davem@davemloft.net>
336
337         * sysdeps/sparc/fpu/libm-test-ulps: Update.
338
339 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
340
341         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
342         Add a leading slash to rtkaio.
343
344 2012-04-11  Jim Meyering  <meyering@redhat.com>
345
346         [BZ #11959]
347         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
348         It is not necessarily an error to ignore fwrite's return
349         value.  One can reliably use ferror to test for errors after
350         the fact.
351
352 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
353
354         * bits/types.h (__snseconds_t): New type.
355         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
356
357         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
358         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
359         (__SNSECONDS_T_TYPE): Likewise.
360         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
361         (__SNSECONDS_T_TYPE): Likewise.
362         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
363         (__SNSECONDS_T_TYPE): Likewise.
364
365 2012-04-10  Andreas Jaeger  <aj@suse.de>
366
367         [BZ #2636]
368         * manual/time.texi (Processor Time): Return type of times is
369         elapsed real time since an arbitrary point in the past.
370         (CPU Time): Move CLK_TCK from here...
371         (Processor Time): ...to here.  Correct description.
372         * manual/conf.texi (Constants for Sysconf): Correct description of
373         _SC_CLK_TCK.
374
375 2012-04-10  David S. Miller  <davem@davemloft.net>
376
377         [BZ #13967]
378         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
379         where the is a gap between DT_REL(A) and DT_JMPREL.
380
381 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
382
383         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
384         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
385         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
386
387 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
388
389         * elf/dl-support.c (_dl_inhibit_cache): New variable.
390         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
391         (dl_main): Handle --inhibit-cache.
392         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
393         _dl_inhibit_cache.
394         * elf/dl-load.c (_dl_map_object): Use it.
395         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
396
397 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
398
399         [BZ #13872]
400         * sysdeps/i386/fpu/e_powl.S (p78): New object.
401         (__ieee754_powl): Saturate large exponents rather than testing for
402         overflow of y*log2(x).
403         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
404         * math/libm-test.inc (pow_test): Do not permit spurious overflow
405         exceptions.
406
407         [BZ #11521]
408         * math/s_ctan.c: Include <float.h>.
409         (__ctan): Avoid internal overflow or cancellation in calculating
410         denominator.
411         * math/s_ctanf.c: Likewise.
412         * math/s_ctanl.c: Likewise.
413         * math/s_ctanh.c: Likewise.
414         * math/s_ctanhf.c: Likewise.
415         * math/s_ctanhl.c: Likewise.
416         * math/libm-test.inc (ctan_test): Add more tests.
417         (ctanh_test): Likewise.
418         * sysdeps/i386/fpu/libm-test-ulps: Update.
419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
420
421 2012-04-09  Andreas Jaeger  <aj@suse.de>
422
423         [BZ #6894]
424         * manual/filesys.texi (Directory Entries): Mention that d_namlen
425         is an optional BSD extension.
426
427         [BZ #10254]
428         * manual/stdio.texi (Opening Streams): Document additional fopen
429         parameters.
430
431 2012-04-09  Roland McGrath  <roland@hack.frob.com>
432
433         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
434         %eax without telling the compiler.
435
436 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
437
438         [BZ # 13963]
439         * manual/install.texi: Use sourceware.org.
440
441 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
442
443         [BZ #13873]
444         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
445         (__ieee754_pow): Generate overflow and underflow using huge*huge
446         and tiny*tiny rather than just returning constant infinity or zero
447         for large exponents.
448         * math/libm-test.inc (pow_test): Require overflow exceptions for
449         applicable cases of large exponents.
450
451         [BZ #706]
452         * sysdeps/i386/fpu/e_pow.S (p10): New object.
453         (__ieee754_pow): Use iterative multiplication algorithm only for
454         integer exponents with absolute value below 1024.  Check for odd
455         integer exponents when using algorithm for real exponents.
456         * math/libm-test.inc (pow_test): Add more tests.
457         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
458
459 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
460
461         [BZ #13705]
462         * math/libm-test.inc (exp_test): Do not allow overflow exception
463         on underflow test.
464
465 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
466
467         [BZ #13705]
468         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
469         instead of __kernel_standard_f.
470
471 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
472
473         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
474         * sysdeps/x86_64/memset_chk.S: Likewise.
475
476 2012-04-08  Andreas Jaeger  <aj@suse.de>
477
478         [BZ #10153]
479         * manual/startup.texi (Environment Access): Describe return value
480         for putenv and setenv.
481
482         [BZ #6895]
483         * manual/filesys.texi (Directory Entries): Add description for
484         DT_LNK.
485
486         [BZ #6890]
487         * manual/filesys.texi (Directory Entries): Clarify that it's file
488         system not operating system in the description of DT_UNKNOWN.
489
490         [BZ #6578]
491         * manual/syslog.texi (closelog): Fix reference, it's openlog.
492
493 2012-04-08  Stephen Compall  <s11@member.fsf.org>
494
495         [BZ #6649]
496         * manual/llio.texi (Opening and Closing Files): Add cross
497         reference to explain mode argument.
498
499 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
500
501         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
502         * sysdeps/x86_64/memset_chk.S: Likewise.
503
504 2012-04-07  David S. Miller  <davem@davemloft.net>
505
506         * elf/elf.h (R_SPARC_WDISP10): Define.
507         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
508         R_SPARC_SIZE32.
509         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
510         R_SPARC_SIZE64 and R_SPARC_H34.
511
512 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
513
514         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
515         conditions and remove no longer applicable assertion.
516
517 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
518
519         * bits/byteswap.h: Include <features.h>.
520         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
521         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
522
523 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
524
525         * bits/byteswap.h (__bswap_16): Removed.
526         Include <bits/byteswap-16.h> to get __bswap_16.
527         * sysdeps/i386/bits/byteswap.h: Likewise.
528         * sysdeps/s390/bits/byteswap.h: Likewise.
529         * sysdeps/x86_64/bits/byteswap.h: Likewise.
530         * bits/byteswap-16.h: New file.
531         * sysdeps/i386/bits/byteswap-16.h: Likewise.
532         * sysdeps/s390/bits/byteswap-16.h: Likewise.
533         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
534         * string/Makefile (headers): Add bits/byteswap-16.h.
535
536 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
537
538         [BZ #13895]
539         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
540         extra indirection.
541         * nss/Makefile (tests-static, tests): Add tst-nss-static.
542         * nss/tst-nss-static.c: New.
543
544 2012-04-06  Robert Millan  <rmh@gnu.org>
545
546         [BZ #6486]
547         * manual/llio.texi (File Position Primitive): lseek
548         refers to WHENCE when it really means OFFSET.
549
550 2012-04-06  Andreas Jaeger  <aj@suse.de>
551
552         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
553         strncmp declarations.
554
555         * abilist/libc.abilist: Add __poll and __ppoll.
556
557 2012-04-05  David S. Miller  <davem@davemloft.net>
558
559         * scripts/check-local-headers.sh: Accept a host triplet in the
560         path matched by the exclude regexp.
561
562         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
563         definition.
564         * sysdeps/powerpc/powerpc32/dl-machine.h
565         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
566         * sysdeps/s390/s390-32/dl-machine.h
567         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
568         * sysdeps/sparc/sparc32/dl-machine.h
569         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
570         * sysdeps/sparc/sparc64/dl-machine.h
571         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
572
573         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
574         lazy binding.
575         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
576         undefined symbol errors.
577
578         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
579         DT_NEEDED entries.
580
581 2012-04-05  Michael Matz  <matz@suse.de>
582
583         [BZ #13592]
584         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
585
586 2012-04-05  Andreas Jaeger  <aj@suse.de>
587
588         [BZ #13908]
589         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
590         comment.
591
592 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
593
594         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
595         which ROUND is no valid rounding mode.
596
597 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
598
599         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
600         read again.
601         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
602
603 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
604
605         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
606         an exception using FPU order intentionally.
607
608 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
609
610         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
611         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
612         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
613         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
614
615 2012-04-05  Simon Josefsson  <simon@josefsson.org>
616
617         [BZ #12340]
618         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
619         EINVAL when BUFLEN is too smal.
620
621 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
622
623         [BZ #13553]
624         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
625         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
626
627 2012-04-03  Andreas Jaeger  <aj@suse.de>
628
629         [BZ #13938]
630         * manual/setjmp.texi (System V contexts): Fix sentence.
631
632         [BZ #13926]
633         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
634         New macro for this case.
635         [!__GNUC__] (__bswap_64): New inline function for this case.
636         * sysdeps/x86_64/bits/byteswap.h: Likewise.
637         * bits/byteswap.h: Likewise.
638         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
639         ull, guard with __GLIBC_HAVE_LONG_LONG.
640
641         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
642         __GLIBC_HAVE_LONG_LONG.
643
644         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
645         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
646
647 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
648
649         [BZ #13691]
650         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
651         inptr and inend, rather than using last_ch.
652
653 2012-04-02  David S. Miller  <davem@davemloft.net>
654
655         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
656         * stdio-common/printf-parse.h (read_int): Change return type to
657         'int', return -1 on INT_MAX overflow.
658         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
659         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
660         overflows INT_MAX.  Check for overflow of in-format-string precision
661         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
662         SIZE_MAX not INT_MAX for integer overflow test.
663         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
664         skip the construct in the format string but do not record anything.
665         * stdio-common/bug22.c: Adjust to test both width/prevision
666         INT_MAX overflow as well as total length INT_MAX overflow.  Check
667         explicitly for proper errno values.
668
669 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
670
671         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
672         CHAR_MAX.
673         * string/test-strcmp.c [! WIDE]: Likewise.
674         * time/tst-mktime2.c: Likewise for INT_MAX.
675         * string/test-string.h: #include <sys/param.h> for MIN.
676
677         * csu/init-first.c (__libc_init_first): Call __ctype_init.
678         * sysdeps/i386/init-first.c (init): Likewise.
679         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
680         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
681         * sysdeps/sh/init-first.c (init): Likewise.
682
683 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
684
685         * po/ru.po: Update from translation team.
686         * po/vi.po: Likewise.
687
688 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
689
690         * resolv/nss_dns/dns-host.c: Merge copyright years.
691
692 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
693
694         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
695         Optimize memcpy with prefetch if
696         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
697         src, dst pointers have unequal 16 byte alignments.
698
699 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
700
701         [BZ #13928]
702         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
703         from a CNAME entry and return the minimum ttl for the query.
704         (gaih_getanswer_slice): Likewise.
705
706 2012-03-30  Jeff Law  <law@redhat.com>
707
708         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
709         due to long keys.
710         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
711         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
712
713         * resolv/nss_dns/dns-host.c: Update copyright year.
714
715 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
716
717         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
718         requests to save a system call.  Fix check that all bytes are sent.
719
720         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
721         comments for sendmmsg.
722
723 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
724
725         [BZ #13691]
726         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
727         with only 1 character between 0x0041 and 0x01b0.
728         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
729         * wcsmbs/tst-mbsnrtowcs.c: New file.
730
731 2012-03-29  David S. Miller  <davem@davemloft.net>
732
733         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
734         small copies by hand.
735
736 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
737
738         [BZ #13761]
739         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
740         _nss_compat_initgroups_dyn): Fall back to malloc/free
741         for large group memberships.
742
743 2012-03-28  David S. Miller  <davem@davemloft.net>
744
745         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
746         that branches into memcpy.
747         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
748         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
749         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
750         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
751         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
752         bits.
753         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
754         implementation too.
755         * sysdeps/sparc/mempcpy.S: New file.
756
757         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
758         the IFUNC routine in the libc case.
759         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
760
761         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
762         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
763         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
764         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
765         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
766         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
767         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
768         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
769
770         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
771         loop to 256 bytes instead of 64 bytes and fix test signedness.
772
773         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
774         * sysdeps/sparc/sparc32/Makefile: rather than here...
775         * sysdeps/sparc/sparc64/Makefile: and here.
776
777 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
778
779         * malloc/mallocbug.c: Avoid warnings about unused variables.
780
781 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
782
783         [BZ #13760]
784         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
785         in the right place. Discard and retry query if response is
786         larger than input buffer size.
787
788 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
789
790         [BZ #369]
791         [BZ #2678]
792         [BZ #3866]
793         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
794         x for large integer exponent.
795         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
796         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
797         sign of result as needed afterwards.
798         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
799         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
800         result for underflowing pow the same as for overflow.
801         (__kernel_standard_l): Handle powl overflow and underflow here
802         rather than calling __kernel_standard.
803         * math/libm-test.inc (pow_test): Add more tests.
804
805         [BZ #3868]
806         [BZ #13879]
807         [BZ #13910]
808         [BZ #13911]
809         [BZ #13912]
810         [BZ #13913]
811         [BZ #13915]
812         [BZ #13916]
813         [BZ #13917]
814         [BZ #13918]
815         [BZ #13919]
816         [BZ #13920]
817         [BZ #13921]
818         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
819         * sysdeps/ieee754/k_standard.c: Include <float.h>.
820         (__kernel_standard_l): New function.
821         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
822         __kernel_standard.
823         * math/w_acosl.c (__acosl): Likewise.
824         * math/w_asinl.c (__asinl): Likewise.
825         * math/w_atan2l.c (__atan2l): Likewise.
826         * math/w_atanhl.c (__atanhl): Likewise.
827         * math/w_coshl.c (__coshl): Likewise.
828         * math/w_exp10l.c (__exp10l): Likewise.
829         * math/w_exp2l.c (__exp2l): Likewise.
830         * math/w_fmodl.c (__fmodl): Likewise.
831         * math/w_hypotl.c (__hypotl): Likewise.
832         * math/w_j0l.c (__j0l, __y0l): Likewise.
833         * math/w_j1l.c (__j1l, __y1l): Likewise.
834         * math/w_jnl.c (__jnl, __ynl): Likewise.
835         * math/w_lgammal.c (__lgammal): Likewise.
836         * math/w_log10l.c (__log10l): Likewise.
837         * math/w_log2l.c (__log2l): Likewise.
838         * math/w_logl.c (__logl): Likewise.
839         * math/w_powl.c (__powl): Likewise.
840         * math/w_remainderl.c (__remainderl): Likewise.
841         * math/w_scalbl.c (sysv_scalbl): Likewise.
842         * math/w_sinhl.c (__sinhl): Likewise.
843         * math/w_sqrtl.c (__sqrtl): Likewise.
844         * math/w_tgammal.c (__tgammal): Likewise.
845         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
846         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
847         * math/libm-test.inc (acos_test): Add more tests.
848         (acosh_test): Likewise.
849         (asin_test): Likewise.
850         (atanh_test): Likewise.
851         (exp_test): Likewise.
852         (exp10_test): Likewise.
853         (exp2_test): Likewise.
854         (expm1_test): Likewise.
855         (lgamma_test): Likewise.
856         (log_test): Likewise.
857         (log10_test): Likewise.
858         (log1p_test): Likewise.
859         (log2_test): Likewise.
860         (pow_test): Do not allow some spurious overflow exceptions.
861         (sqrt_test): Add more tests.
862         (tgamma_test): Likewise.
863         (y0_test): Likewise.
864         (y1_test): Likewise.
865         (yn_test): Likewise.
866
867 2012-03-27  Anton Blanchard  <anton@samba.org>
868
869         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
870         MAP_HUGETLB.
871         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
872         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
873         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
874
875 2012-03-27  David S. Miller  <davem@davemloft.net>
876
877         * conform/Makefile: Run run-conformtest.sh using $(BASH).
878
879         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
880         have-as-vis3 check.
881
882 2012-03-27  Andreas Jaeger  <aj@suse.de>
883
884         * sysdeps/x86_64/elf/configure.in: Moved to ...
885         * sysdeps/x86_64/configure.in: ... here.
886         * sysdeps/x86_64/elf/start.S: Moved to ...
887         * sysdeps/x86_64/start.S: ... here.
888         * sysdeps/x86_64/elf/configure: Delete.
889
890         * sysdeps/x86_64/configure.in: Merge contents from
891         sysdeps/i386/configure.in (without i686 check).
892
893         * sysdeps/i386/elf/Versions: Merge into ...
894         * sysdeps/i386/Versions: ... this.
895         * sysdeps/i386/elf/Versions: Delete file.
896         * sysdeps/i386/elf/start.S: Moved to ...
897         * sysdeps/i386/start.S: ...here.
898         * sysdeps/i386/elf/configure.in: Merge into...
899         * sysdeps/i386/configure.in: ...here.
900         * sysdeps/i386/elf/configure.in: Delete file.
901         * sysdeps/i386/elf/configure: Delete file.
902
903         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
904         * debug/backtracesyms.c: ... here.
905         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
906         * debug/backtracesymsfd.c: ... here.
907         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
908         * sysdeps/generic/ifunc-sel.h: ... here.
909
910         * sysdeps/unix/i386/start.c: Delete file.
911         * sysdeps/unix/sparc/start.c: Delete file.
912         * sysdeps/unix/start.c: Delete file.
913
914         * sysdeps/sh/elf/configure.in: Moved to ...
915         * sysdeps/sh/configure.in: ... here.
916         * sysdeps/sh/elf/start.S: Moved to ...
917         * sysdeps/sh/start.S: ... here.
918         * sysdeps/sh/elf/configure: Delete file.
919
920         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
921         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
922         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
923         * sysdeps/powerpc/powerpc64/entry.h: ... here.
924         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
925         * sysdeps/powerpc/powerpc64/start.S: here.
926         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
927         * sysdeps/powerpc/powerpc64/Makefile: ... this.
928         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
929         * sysdeps/powerpc/powerpc64/configure.in: ... this.
930         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
931
932         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
933         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
934         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
935         * sysdeps/powerpc/powerpc32/start.S: ... here.
936         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
937         * sysdeps/powerpc/powerpc32/configure.in: ... this.
938         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
939
940         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
941         * sysdeps/powerpc/ifunc-sel.h: ... here.
942         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
943         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
944
945         * sysdeps/sparc/elf/configure.in: Moved to ...
946         * sysdeps/sparc/configure.in: ... here.
947         * sysdeps/sparc/elf/configure: Delete file.
948         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
949         * sysdeps/sparc/sparc32/start.S: ... here.
950         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
951         * sysdeps/sparc/sparc64/start.S: ... here.
952         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
953         * sysdeps/sparc/sparc32/Makefile: ... this.
954         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
955         * sysdeps/sparc/sparc64/Makefile: ... this.
956
957         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
958         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
959         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
960         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
961         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
962         * sysdeps/s390/s390-32/setjmp.S: ... here.
963         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
964         * sysdeps/s390/s390-32/configure.in: ... here.
965         * sysdeps/s390/s390-32/elf/configure: Delete file.
966         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
967         * sysdeps/s390/s390-32/start.S: ... here.
968
969         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
970         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
971         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
972         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
973         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
974         * sysdeps/s390/s390-64/setjmp.S: ... here.
975         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
976         * sysdeps/s390/s390-64/configure.in: ... here
977         * sysdeps/s390/s390-64/elf/configure: Delete file.
978         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
979         * sysdeps/s390/s390-64/start.S: ... here.
980         * sysdeps/s390/s390-64/elf/configure: Delete.
981
982         * configure.in: Remove support for elf directories in sysdeps.
983
984         * configure: Regenerated.
985         * sysdeps/i386/configure: Regenerated.
986         * sysdeps/powerpc/powerpc32/configure: Regenerated.
987         * sysdeps/powerpc/powerpc64/configure: Regenerated.
988         * sysdeps/s390/s390-32/configure: Regenerated.
989         * sysdeps/s390/s390-64/configure: Regenerated.
990         * sysdeps/sh/configure: Regenerated.
991         * sysdeps/sparc/configure: Regenerated.
992         * sysdeps/x86_64/configure: Regenerated.
993
994 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
995
996         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
997
998         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
999         denormal result into account.
1000
1001 2012-03-25  Roland McGrath  <roland@hack.frob.com>
1002
1003         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
1004         Reported by Allan McRae <allan@archlinux.org>.
1005
1006 2012-03-23  Jeff Law  <law@redhat.com>
1007
1008         * nss/getnssent.c (__nss_getent): Fix typo.
1009
1010 2012-03-23  David S. Miller  <davem@davemloft.net>
1011
1012         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1013
1014 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
1015
1016         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
1017         to pad to uint64_t for each field.
1018         (dl_tls_index): Replace unsigned long with uint64_t.
1019
1020 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
1021         Paul Pluzhnikov  <ppluzhnikov@google.com>
1022
1023         [BZ #6528]
1024         * grp/Makefile (otherlibs): Don't set it.
1025         * inet/Makefile (otherlibs): Likewise.
1026         * login/Makefile (otherlibs): Likewise.
1027         * nscd/Makefile (otherlibs): Likewise.
1028         * posix/Makefile (otherlibs): Likewise.
1029         * pwd/Makefile (otherlibs): Likewise.
1030         * rt/Makefile (otherlibs): Likewise.
1031         * sunrpc/Makefile (otherlibs): Likewise.
1032         * nss/Makefile (otherlibs): Likewise.
1033         Add libnss_files to routines and static-only-routines.
1034         ($(objpfx)getent): Remove rule.
1035         * resolv/Makefile: Add libnss_dns and libresolv to routines and
1036         static-only-routines.
1037
1038 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
1039
1040         [BZ #13892]
1041         * math/s_cexp.c: Include <float.h>.
1042         (__cexp): Handle exp result overflowing not necessarily
1043         overflowing both real and imaginary parts of result.
1044         * math/s_cexpf.c: Likewise.
1045         * math/s_cexpl.c: Likewise.
1046         * math/libm-test.inc (cexp_test): Add more tests.
1047         * sysdeps/i386/fpu/libm-test-ulps: Update.
1048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1049
1050 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1051
1052         * include/link.h (ELFW): New macro.
1053         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
1054         Replace ELF64_R_TYPE with ELFW(R_TYPE).
1055
1056 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1057
1058         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
1059         with uint64_t.
1060
1061 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1062
1063         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
1064         declaration.
1065         (struct La_x32_retval): Likewise.
1066
1067 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1068
1069         * sysdeps/x86_64/preconfigure.in: New file.
1070         * sysdeps/x86_64/preconfigure: New generated file.
1071
1072 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
1073
1074         [BZ #13824]
1075         * math/e_exp2l.c: Include <float.h>.
1076         (__ieee754_exp2l): Handle overflow and underflow cases
1077         separately.  Only pass fractional part of argument to
1078         __ieee754_expl.
1079         * math/libm-test.inc (exp2_test): Add more tests.
1080
1081         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
1082         negating x to take absolute value.
1083         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
1084         Likewise.
1085         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1086         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
1087         Likewise.
1088         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
1089         computing low part if x was negated.
1090         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1091
1092 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1093
1094         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
1095         la_x32_gnu_pltexit.
1096         (pltexit): Cast int_retval to ptrdiff_t.
1097         * elf/tst-auditmod3b.c: Likewise.
1098         * elf/tst-auditmod4b.c: Likewise.
1099         * elf/tst-auditmod5b.c: Likewise.
1100         * elf/tst-auditmod6b.c: Likewise.
1101         * elf/tst-auditmod6c.c: Likewise.
1102         * elf/tst-auditmod7b.c: Likewise.
1103
1104         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
1105         and x32_gnu_pltexit.
1106
1107         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
1108         __ELF_NATIVE_CLASS.
1109         (La_x32_regs): New macro.
1110         (La_x32_retval): Likewise.
1111         (la_x32_gnu_pltenter): New function prototype.
1112         (la_x32_gnu_pltexit): Likewise.
1113
1114 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
1115
1116         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
1117         exponent.
1118
1119         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1120
1121         * configure.in (libc_cv_cc_nofma): Check for option to disable
1122         generation of FMA instructions.
1123         * configure: Regenerate.
1124         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
1125         * sysdeps/ieee754/dbl-64/Makefile: New file.
1126         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1127         Remove brandred-fma4.
1128         (CFLAGS-brandred-fma4.c): Remove.
1129         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
1130         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
1131         define.
1132         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
1133         define.
1134
1135 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1136
1137         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1138         LLONG_MAX != LONG_MAX.
1139         (_itoa_word): Use _ITOA_WORD_TYPE on value.
1140         (_fitoa_word): Likewise.
1141         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
1142         LLONG_MAX != LONG_MAX.
1143         * stdio-common/_itowa.h: Include <_itoa.h>.
1144         (_itowa_word): Use _ITOA_WORD_TYPE on value.
1145         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
1146         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
1147         only if not defined.
1148         (_ITOA_WORD_TYPE): Likewise.
1149         (_itoa_word): Use _ITOA_WORD_TYPE on value.
1150         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
1151
1152 2012-03-21  David S. Miller  <davem@davemloft.net>
1153
1154         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1155
1156 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1157
1158         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
1159         of x86_64 when setting libc_cv_slibdir, libdir and
1160         libc_cv_localedir.
1161         * sysdeps/unix/sysv/linux/configure: Regenerated.
1162
1163 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
1164
1165         * manual/lang.texi (Old Varargs): Remove section.
1166         (How Variadic): Update menu.
1167         (va_start): Do not mention varargs.h.
1168
1169 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
1170             Joseph Myers  <joseph@codesourcery.com>
1171
1172         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
1173         link test.
1174         * configure: Regenerated.
1175
1176 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
1177
1178         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
1179         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
1180         conformtest.pl
1181
1182 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
1183
1184         * NOTES: Remove.
1185         * Makefile (files-for-dist): Remove NOTES.
1186         (NOTES): Remove rule.
1187         * README: Don't refer to NOTES.
1188         * manual/creature.texi: Don't include macros.texi.
1189         * manual/intro.texi (creature.texi): Remove comment referring to
1190         NOTES.
1191
1192         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
1193         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
1194         * configure: Regenerated.
1195         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
1196         LIBC_TRY_CC_OPTION.
1197         (libc_cv_as_i686): Likewise.
1198         (libc_cv_cc_avx): Likewise.
1199         (libc_cv_cc_sse2avx): Likewise.
1200         (libc_cv_cc_fma4): Likewise.
1201         (libc_cv_cc_novzeroupper): Likewise.
1202         * sysdeps/i386/configure: Regenerated.
1203
1204         [BZ #13883]
1205         * sysdeps/i386/fpu/s_cexp.S: Remove.
1206         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1207         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1208         * math/libm-test.inc (cexp_test): Add more tests.
1209         * sysdeps/i386/fpu/libm-test-ulps: Update.
1210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1211
1212 2012-03-21  Allan McRae  <allan@archlinux.org>
1213
1214         * timezone/Makefile: Do not install iso3166.tab and zone.tab
1215
1216 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
1217
1218         [BZ #13871]
1219         * math/w_exp2.c: Do not include <float.h>.
1220         (o_threshold, u_threshold): Remove.
1221         (__exp2): Calculate result before checking finiteness and calling
1222         __kernel_standard.
1223         * math/w_exp2f.c: Likewise.
1224         * math/w_exp2l.c: Likewise.
1225         * math/libm-test.inc (exp2_test): Require overflow exception for
1226         1e6 input.
1227
1228         [BZ #3866]
1229         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
1230         range of signed 64-bit integers before using fistpll.  Remove
1231         checks for whether integers fit in mantissa bits.
1232         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
1233         the range of signed 32-bit integers before using fistpl.  Remove
1234         checks for whether integers fit in mantissa bits.
1235         * sysdeps/i386/fpu/e_powl.S (p64): New object.
1236         (__ieee754_powl): Test for y outside the range of signed 64-bit
1237         integers before using fistpll.  Reduce 64-bit values to 63-bit
1238         ones as needed.
1239         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
1240         divide-by-zero is raised for zero to large negative powers.
1241         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
1242         (__ieee754_powl): Test for y outside the range of signed 64-bit
1243         integers before using fistpll.  Reduce 64-bit values to 63-bit
1244         ones as needed.
1245         * math/libm-test.inc (pow_test): Add more tests.
1246
1247 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
1248
1249         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
1250         <stdio-common/_itoa.h>.
1251         * debug/segfault.c: Likewise.
1252         * elf/dl-cache.c: Likewise.
1253         * elf/dl-minimal.c: Likewise.
1254         * elf/dl-misc.c: Likewise.
1255         * elf/dl-sysdep.c: Likewise.
1256         * elf/dl-version.c: Likewise.
1257         * elf/rtld.c: Likewise.
1258         * hurd/hurdsock.c: Likewise.
1259         * hurd/lookup-retry.c: Likewise.
1260         * malloc/malloc.c: Likewise.
1261         * malloc/mtrace.c: Likewise.
1262         * nscd/nscd_getgr_r.c: Likewise.
1263         * nscd/nscd_getpw_r.c: Likewise.
1264         * nscd/nscd_getserv_r.c: Likewise.
1265         * posix/getopt_init.c: Likewise.
1266         * posix/wordexp.c: Likewise.
1267         * stdio-common/_itoa.c: Likewise.
1268         * stdio-common/printf_fphex.c: Likewise.
1269         * stdio-common/vfprintf.c: Likewise.
1270         * string/_strerror.c: Likewise.
1271         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
1272         * sysdeps/i386/i686/hp-timing.h: Likewise.
1273         * sysdeps/mach/_strerror.c: Likewise.
1274         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
1275         * sysdeps/mach/hurd/sethostid.c: Likewise.
1276         * sysdeps/mach/hurd/xmknodat.c: Likewise.
1277         * sysdeps/mach/xpg-strerror.c: Likewise.
1278         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1279         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1280         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
1281         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
1282         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1283         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
1284         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1285         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1286         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
1287         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
1288         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
1289         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1290         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
1291         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1292         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1293         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
1294         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
1295         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
1296         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1297         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1298         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
1299
1300         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
1301
1302         * stdio-common/_itoa.h: Moved to ...
1303         * sysdeps/generic/_itoa.h: Here.
1304
1305         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
1306
1307         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
1308         instead of "_itoa.h" and "_itowa.h".
1309         * stdio-common/vfprintf.: Likewise.
1310
1311 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
1312
1313         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
1314         <bits/wordsize.h>.
1315         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
1316         (__signbit): Likwise.
1317         (llrintf): Likwise.
1318         (llrint): Likwise.
1319
1320 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
1321
1322         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
1323         __WORDSIZE != 64.
1324
1325 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
1326
1327         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
1328         OVERFLOW_EXCEPTION_OK.
1329         * math/libm-test.inc ("Philosophy"): Update comment about
1330         exception testing.
1331         (OVERFLOW_EXCEPTION): Define.
1332         (OVERFLOW_EXCEPTION_OK): Likewise.
1333         (INVALID_EXCEPTION_OK): Renumber.
1334         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1335         (IGNORE_ZERO_INF_SIGN): Likewise.
1336         (test_exceptions): Handle FE_OVERFLOW.
1337         (exp10_test): Expect overflow exceptions.
1338         (exp2_test): Likewise.
1339         (expm1_test): Likewise.
1340         (nextafter_test): Likewise.
1341         (pow_test): Likewise.
1342         (scalbn_test): Likewise.
1343         (scalbln_test): Likewise.
1344
1345 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1346
1347         * sysdeps/x86_64/bits/atomic.h
1348         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
1349         64bit integer.
1350         (atomic_exchange_acq): Likewise.
1351         (__arch_exchange_and_add_body): Likewise.
1352         (__arch_add_body): Likewise.
1353         (atomic_add_negative): Likewise.
1354         (atomic_add_zero): Likewise.
1355
1356 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1357
1358         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
1359         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
1360
1361 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1362
1363         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
1364         Check __x86_64__ instead of __WORDSIZE.
1365
1366 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1367
1368         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
1369
1370 2012-03-19  David S. Miller  <davem@davemloft.net>
1371
1372         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1373
1374         * sysdeps/sparc/fpu/fenv_private.h: New file.
1375         * sysdeps/sparc/fpu/math_private.h: Use it.
1376         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
1377         Remove.
1378         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
1379         (libc_feholdexcept_setroundl): Remove.
1380         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
1381         Remove.
1382         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
1383         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
1384
1385 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1386
1387         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
1388         int64_t instead of long int.
1389         (INSERT_WORDS64): Likwise.
1390
1391 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1392
1393         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
1394         _Unwind_GetCFA return to _Unwind_Ptr first.
1395
1396 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
1397
1398         [BZ #13629]
1399         * math/s_clog.c: Include <float.h>.
1400         (__clog): Scale large or subnormal inputs.
1401         * math/s_clogf.c: Likewise.
1402         * math/s_clogl.c: Likewise.
1403         * math/s_clog10.c: Include <float.h>.
1404         (M_LOG10_2): Define.
1405         (__clog10): Scale large or subnormal inputs.
1406         * math/s_clog10f.c: Likewise.
1407         * math/s_clog10l.c: Likewise.
1408         * math/libm-test.inc (clog_test): Add more tests.
1409         (clog10_test): Likewise.
1410         * sysdeps/i386/fpu/libm-test-ulps: Update.
1411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1412
1413         [BZ #11451]
1414         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
1415         x and y.
1416         * math/libm-test.inc (atan2_test): Add another test.
1417
1418         * Makerules (common-objdir-compile): Remove.
1419         * sysdeps/unix/Makefile (config-generated): Do not add
1420         $(unix-generated) to variable.
1421         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
1422         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
1423         Remove rule.
1424         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
1425         Likewise.
1426         [generic bits/local_lim.h] (before-compile): Do not append to
1427         variable.
1428         [generic bits/local_lim.h] (common-generated): Likewise.
1429         [generic sys/param.h] (before-compile): Do not append to variable.
1430         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
1431         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
1432         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
1433         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
1434         include.
1435         [generic sys/param.h] (sys/param.h-includes): Remove variable.
1436         [generic sys/param.h] (sys/param.h-includes): Remove rule.
1437         [generic sys/param.h] ($(addprefix
1438         $(common-objpfx),$(sys/param.h-includes))): Likewise.
1439         [generic sys/param.h] (common-generated): Do not append to
1440         variable.
1441         [generic sys/param.h] (sysdep_headers): Likewise.
1442         [generic bits/errno.h] (before-compile): Do not append to
1443         variable.
1444         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
1445         rule.
1446         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
1447         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
1448         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
1449         [generic bits/errno.h] (common-generated): Do not append to
1450         variable.
1451         [generic bits/ioctls.h] (before-compile): Do not append to
1452         variable.
1453         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
1454         rule.
1455         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
1456         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
1457         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
1458         rule.
1459         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
1460         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
1461         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
1462         [generic bits/ioctls.h] (common-generated): Do not append to
1463         variable.
1464         [generic sys/syscall.h] (syscall.h): Remove variable.
1465         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
1466         rule.
1467         [generic sys/syscall.h] (before-compile): Do not append to
1468         variable.
1469         [generic sys/syscall.h] (common-generated): Likewise.
1470         * sysdeps/unix/errnos-tmpl.c: Remove file.
1471         * sysdeps/unix/errnos.awk: Likewise.
1472         * sysdeps/unix/ioctls-tmpl.c: Likewise.
1473         * sysdeps/unix/ioctls.awk: Likewise.
1474         * sysdeps/unix/mk-local_lim.c: Likewise.
1475         * sysdeps/unix/snarf-ioctls: Likewise.
1476
1477 2012-03-19  Richard Henderson  <rth@twiddle.net>
1478
1479         * sysdeps/i386/fpu/fenv_private.h: New file.
1480         * sysdeps/i386/fpu/math_private.h: Use it.
1481         (math_opt_barrier, math_force_eval): Remove.
1482         (libc_feholdexcept_setround_53bit): Remove.
1483         (libc_feupdateenv_53bit): Remove.
1484         * sysdeps/x86_64/fpu/math_private.h: Likewise.
1485         (math_opt_barrier, math_force_eval): Remove.
1486         (libc_feholdexcept): Remove.
1487         (libc_feholdexcept_setround): Remove.
1488         (libc_fetestexcept, libc_fesetenv): Remove.
1489         (libc_feupdateenv_test): Remove.
1490         (libc_feupdateenv, libc_feholdsetround): Remove.
1491         (libc_feresetround): Remove.
1492
1493         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
1494         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1495
1496         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
1497         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
1498         (libc_feupdateenv_testl): New.
1499         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
1500         (libc_feupdateenv_testf): New.
1501         (libc_feupdateenv): Use libc_feupdateenv_test.
1502         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
1503         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
1504
1505         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
1506         (libc_feholdsetroundf, libc_feholdsetroundl): New.
1507         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
1508         (libc_feresetround_noex): New.
1509         (libc_feresetround_noexf): New.
1510         (libc_feresetround_noexl): New.
1511         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
1512         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
1513         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
1514         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
1515         SET_RESTORE_ROUND.
1516         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1517         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
1518         (__cos): Likewise.
1519         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
1520         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
1521         SET_RESTORE_ROUND_NOEX.
1522         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
1523         SET_RESTORE_ROUND_NOEXF.
1524         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
1525         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
1526         (libc_feholdsetroundf): New.
1527         (libc_feresetround, libc_feresetroundf): New.
1528
1529         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
1530         (libc_feholdexcept_setround_53bit): Convert from macro to function.
1531         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
1532
1533         * sysdeps/generic/math_private.h: Include <fenv.h>.
1534         (default_libc_feholdexcept): New.
1535         (default_libc_feholdexcept_setround): New.
1536         (default_libc_fesetenv, default_libc_feupdateenv): New.
1537         (libc_feholdexcept): Only define if undefined.
1538         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
1539         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
1540         (libc_feholdexcept_setroundl): Likewise.
1541         (libc_feholdexcept_setround_53bit): Likewise.
1542         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
1543         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
1544         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
1545         (libc_feupdateenv_53bit): Likewise.
1546         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
1547         (libc_feholdexcept): Convert from macro to inline function.
1548         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
1549         (libc_fesetenv, libc_feupdateenv): Likewise.
1550
1551         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
1552         not previously defined.
1553         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
1554         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
1555         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
1556         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
1557         * sysdeps/ieee754/flt-32/math_private.h: New file.
1558         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
1559         math_private.h below SET_FLOAT_WORD.
1560         (__isnan, __isinf_ns, __finite): Remove.
1561         (__isnanf, __isinf_nsf, __finitef): Remove.
1562
1563 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
1564
1565         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1566
1567 2012-03-17  David S. Miller  <davem@davemloft.net>
1568
1569         [BZ #6471]
1570         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
1571         for 2.16.
1572
1573 2012-03-16  David S. Miller  <davem@davemloft.net>
1574
1575         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
1576         warnings.
1577
1578         [BZ #6471]
1579         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
1580         properly.
1581         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
1582         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
1583         sysdep_routines when subdir is sysvipc.
1584         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
1585         __getshmlba helper.
1586
1587         * sysdeps/sparc/fpu/libm-test/ulps: Update.
1588
1589 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1590
1591         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
1592         [__LP64__].
1593
1594 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1595
1596         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
1597         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
1598         (__lround): Renamed to ...
1599         (__llround): This.  Replace long int with long long int.
1600         Define lround functions as aliases of llround functions.
1601         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
1602
1603 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1604
1605         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1606         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
1607         adresses to uintptr_t.  Replace "long int" and "unsigned long
1608         int" with "greg_t" on va_arg.
1609
1610 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1611
1612         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
1613         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
1614
1615         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
1616         Move e_machine check before EI_CLASS check.  Handle x32
1617         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
1618         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
1619         SKIP_EM_IA_64 and include
1620         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
1621
1622         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
1623         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
1624         (add_system_dir): New macro.
1625
1626         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
1627         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
1628
1629 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
1630
1631         [BZ #2551]
1632         [BZ #2552]
1633         [BZ #2553]
1634         [BZ #2554]
1635         [BZ #2562]
1636         [BZ #2563]
1637         [BZ #2565]
1638         [BZ #2566]
1639         [BZ #2576]
1640         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
1641         (y0): Likewise.
1642         * math/w_j0f.c (j0f): Likewise.
1643         (y0f): Likewise.
1644         * math/w_j0l.c (__j0l): Likewise.
1645         (__y0l): Likewise.
1646         * math/w_j1.c (j1): Likewise.
1647         (y1): Likewise.
1648         * math/w_j1f.c (j1f): Likewise.
1649         (y1f): Likewise.
1650         * math/w_j1l.c (__j1l): Likewise.
1651         (__y1l): Likewise.
1652         * math/w_jn.c (jn): Likewise.
1653         (yn): Likewise.
1654         * math/w_jnf.c (jnf): Likewise.
1655         (ynf): Likewise.
1656         * math/w_jnl.c (__jnl): Likewise.
1657         (__ynl): Likewise.
1658         * math/libm-test.inc (j0_test): Add more tests.
1659         (j1_test): Likewise.
1660         (jn_test): Likewise.  Add trailing semicolon to existing test.
1661         (y0_test): Likewise.
1662         (y1_test): Likewise.
1663         * sysdeps/i386/fpu/libm-test-ulps: Update.
1664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1665
1666         [BZ #13851]
1667         [BZ #13854]
1668         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
1669         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
1670         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
1671         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
1672         (__tanl): Set errno for infinite argument.
1673         * sysdeps/i386/fpu/mptan.c: Remove.
1674         * sysdeps/i386/fpu/s_tan.S: Likewise.
1675         * sysdeps/i386/fpu/s_tanl.S: Likewise.
1676         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
1677         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
1678         * math/libm-test.inc (tan_test): Add more tests and enable more
1679         tests for double and long double.
1680         * sysdeps/i386/fpu/libm-test-ulps: Update.
1681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1682
1683 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
1684
1685         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
1686         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
1687
1688 2012-03-16  Roland McGrath  <roland@hack.frob.com>
1689
1690         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
1691         * configure.in: Use it for both main tree and add-ons.
1692         * configure: Regenerated.
1693
1694 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1695
1696         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
1697
1698 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
1699
1700         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
1701         in comment.
1702
1703         [BZ #13851]
1704         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
1705         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
1706         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
1707         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
1708         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
1709         infinite argument.
1710         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
1711         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
1712         != 0 for prec == 2.
1713         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
1714         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
1715         * sysdeps/i386/fpu/s_cosl.S: Likewise.
1716         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1717         * sysdeps/i386/fpu/s_sinl.S: Likewise.
1718         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
1719         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
1720         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
1721         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
1722         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
1723         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
1724         * math/libm-test.inc (cos_test): Add more tests and enable more
1725         tests for long double.
1726         (sin_test): Likewise.
1727         (sincos_test): Likewise.
1728         * sysdeps/i386/fpu/libm-test-ulps: Update.
1729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1730
1731 2012-03-16  David S. Miller  <davem@davemloft.net>
1732
1733         * sysdeps/sparc/fpu/math_private.h: New file.
1734
1735 2012-03-15  David S. Miller  <davem@davemloft.net>
1736
1737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1738         file.
1739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
1740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1741         file.
1742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1743         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1744         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1745         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1746         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1747         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1748         sysdep routines.
1749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1750
1751         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1752         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1753
1754         * sysdeps/sparc/sparc-ifunc.h: New file.
1755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1756         sparc-ifunc.h
1757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1759         Likewise.
1760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1761         Likewise.
1762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1766         Likewise.
1767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
1771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1772         Likewise.
1773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1774         Likewise.
1775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1779         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1780         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1781         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1782         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1783         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1784         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1785         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1786         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1787         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1788         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1789         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1790         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1791         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1792         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1793         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1794         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1795         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1796         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1797         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1798         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1799
1800 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
1801
1802         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1803         scaling.
1804         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1805
1806 2012-03-15  Andreas Jaeger  <aj@suse.de>
1807
1808         [BZ #13852]
1809         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1810         ieee754/flt-32 implementation for sin, cos and sincos.
1811         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1812         * sysdeps/i386/fpu/s_cosf.S: Likewise.
1813         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1814         * sysdeps/i386/fpu/s_sinf.S: Likewise.
1815         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1816         ieee754/flt-32 implementation for tan.
1817
1818         * math/libm-test.inc (cos_test): Enable some large input tests for
1819         float as well
1820         (sin_test): Likewise.
1821         (sincos_test): Likewise.
1822         (tan_test): Add tests for large input.
1823
1824         * sysdeps/i386/fpu/libm-test-ulps: Update.
1825
1826 2012-03-15  Andreas Jaeger  <aj@suse.de>
1827
1828         [BZ #13658]
1829         * math/libm-test.inc (cos_test): Add more test cases.
1830         (sin_test): Likewise.
1831         (sincos_test): Likewise.
1832
1833 2012-03-15  Andreas Jaeger  <aj@suse.de>
1834
1835         [BZ #13837]
1836         * math/libm-test.inc (cos_test): Add a test case for large input
1837         value.
1838         (sin_test): Likewise.
1839         (sincos_test): Likewise.
1840
1841 2012-03-15  Andreas Jaeger  <aj@suse.de>,
1842         Joseph Myers  <joseph@codesourcery.com>
1843
1844         [BZ #13658]
1845         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
1846         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1847         * sysdeps/i386/fpu/branred.c: Likewise.
1848         * sysdeps/i386/fpu/dosincos.c: Likewise.
1849         * sysdeps/i386/fpu/mpa.c: Likewise.
1850         * sysdeps/i386/fpu/s_cos.S: Likewise.
1851         * sysdeps/i386/fpu/s_sin.S: Likewise.
1852         * sysdeps/i386/fpu/s_sincos.S: Likewise.
1853         * sysdeps/i386/fpu/sincos32.c: Likewise.
1854
1855         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1856         Define.
1857         (libc_feupdateenv_53bit): Define.
1858         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1859         Define.
1860         (libc_feupdateenv_53bit): Define.
1861
1862         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1863         53 bit (without extend i386 double precision).
1864
1865         * math/libm-test.inc (sincos_test): Add tests for large input.
1866         (sin): Likewise.
1867         (cos): Likewise.
1868
1869         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1870
1871 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
1872
1873         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1874
1875 2012-03-15  David S. Miller  <davem@davemloft.net>
1876
1877         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1878         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1879         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1880         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1881         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1882         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1883         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1884         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1885         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1886         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1887         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1888         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1889         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1890         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1891         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
1892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1893         file.
1894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
1895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1896         file.
1897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
1898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1899         file.
1900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
1901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1902         file.
1903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1904         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1905         fmin/fmax sysdep routines.
1906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1907
1908 2012-03-14  David S. Miller  <davem@davemloft.net>
1909
1910         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1911         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1912         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1913         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1914         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1915         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1916         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1917         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1918         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1919         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1920         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1921         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1922         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1923         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1924         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1925         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1926         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1927         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1928         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1929         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1930         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1931         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1932         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1933         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1934         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1935         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1936         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1937         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
1938         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1939         routines.
1940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1941         file.
1942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
1943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1944         file.
1945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
1946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1947         file.
1948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
1949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1950         file.
1951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
1952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1953         file.
1954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
1955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1956         file.
1957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1958         file.
1959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1960         file.
1961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1962         file.
1963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1964         New file.
1965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1966         file.
1967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1968         file.
1969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
1970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1971         file.
1972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
1973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1974         file.
1975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
1976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1977         file.
1978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
1979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1980         VIS3 routines.
1981
1982         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1983         New file.
1984
1985         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1986
1987         * sysdeps/sparc/configure.in: New file.
1988         * sysdeps/sparc/configure: Generate.
1989         * configure.in (libc_cv_sparc_as_vis3): Substitute.
1990         * configure: Regenerate.
1991         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1992         * config.make.in (have-as-vis3): New.
1993         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1994         available use -Av9d instead of -Av9a.
1995         * sysdeps/sparc/sparc64/Makefile: Likewise.
1996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
1997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
1998         New file.
1999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
2000         file.
2001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
2002         New file.
2003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
2004         file.
2005         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
2006         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
2007         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
2008         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
2009         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
2010
2011         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
2012         fzeros/fnegs to load 0x80000000 into a float register instead of
2013         using the stack.
2014         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
2015
2016 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
2017
2018         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2019         bits/syscall.h.
2020         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
2021         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
2022         ($(inst_includedir)/bits/syscall.h): Remove rule.
2023         ($(objpfx)bits/syscall.d): Include instead of
2024         $(objpfx)syscall-list.d.
2025         (generated): Change syscall-list.h and syscall-list.d to
2026         bits/syscall.h and bits/syscall.d.
2027
2028 2012-03-14  Roland McGrath  <roland@hack.frob.com>
2029
2030         [BZ #13846]
2031         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
2032
2033 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
2034
2035         [BZ #13841]
2036         * math/s_csqrt.c: Include <float.h>.
2037         (__csqrt): Scale large or subnormal inputs.
2038         * math/s_csqrtf.c: Likewise.
2039         * math/s_csqrtl.c: Likewise.
2040         * math/libm-test.inc (csqrt_test): Add more tests.
2041         * sysdeps/i386/fpu/libm-test-ulps: Update.
2042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2043
2044         [BZ #13840]
2045         * math/libm-test.inc (hypot_test): Add more tests.
2046
2047 2012-03-13  David S. Miller  <davem@davemloft.net>
2048
2049         [BZ #13840]
2050         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
2051         double-precision for the calculation instead of scaling.
2052
2053 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
2054
2055         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
2056         manipulate bits before adding and subtracting TWO52[sx].
2057         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
2058         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
2059         Likewise.
2060         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
2061
2062 2012-03-13  David S. Miller  <davem@davemloft.net>
2063
2064         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
2065         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
2066         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
2067         rtld-global-offsets.h
2068         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2069
2070         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
2071         large parameters.
2072
2073         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
2074
2075         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
2076         'err' in the ifdef scope in which it is actually used.
2077
2078         * nss/nss_db/db-init.c: Include string.h
2079
2080 2012-03-12  David S. Miller  <davem@davemloft.net>
2081
2082         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
2083         masking out of the most significant byte of random value used.
2084         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2085         Fix coding style in previous change.
2086
2087         * sysdeps/unix/sysv/linux/kernel-features.h
2088         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
2089         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
2090         expression.
2091         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
2092         later.
2093
2094 2012-03-11  David S. Miller  <davem@davemloft.net>
2095
2096         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2097         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
2098         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
2099         for 'resultvar' otherwise things get truncated on 64-bit.
2100
2101         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2102         Fix masking out of the most significant byte of random value used.
2103
2104         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2105
2106 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
2107
2108         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2109
2110 2012-03-09  David S. Miller  <davem@davemloft.net>
2111
2112         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
2113         variables with appropriate CPP guards.
2114         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
2115         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
2116         on resulting framesize and the management of the outregs buffer for pltexit.
2117         Preserve floating point return values across _dl_call_pltexit call.
2118         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
2119         framesize and the management of the outregs buffer for pltexit.
2120         Preserve floating point return values across _dl_call_pltexit
2121         call.
2122         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
2123         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
2124         (print_exit): Fix format string for return register value.
2125
2126 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
2127
2128         * sunrpc/Makefile (others): Add rpcgen.
2129         ($(objpfx)rpcgen): Remove special build rule and dependency on
2130         libc.
2131         * sunrpc/rpcgen.c: New file.
2132
2133 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
2134
2135         [BZ #13673]
2136         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
2137         * stdio-common/bug-vfprintf-nargs.c: Likewise.
2138         * sysdeps/i386/crti.S: Likewise.
2139         * sysdeps/i386/crtn.S: Likewise.
2140         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
2141         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
2142         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
2143         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
2144         * sysdeps/sh/crti.S: Likewise.
2145         * sysdeps/sh/crtn.S: Likewise.
2146         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2147
2148         [BZ #13673]
2149         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
2150         with URL.
2151         * locale/programs/locfile-kw.gperf: Likewise.
2152         * locale/programs/charmap-kw.h: Regenerated.
2153         * locale/programs/locfile-kw.h: Likewise.
2154
2155         [BZ #13673]
2156         * intl/plural.y: Replace FSF snail mail address with URL.
2157         * intl/plural.c: Regenerated.
2158
2159 2012-03-09  Richard Henderson  <rth@twiddle.net>
2160
2161         * include/math_private.h: Remove file.
2162         * math/math_private.h: Move file ...
2163         * sysdeps/generic/math_private.h: ... here.
2164
2165         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
2166         * sysdeps/powerpc/fpu/math_private.h: Likewise.
2167         * sysdeps/x86_64/fpu/math_private.h: Likewise.
2168
2169         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
2170         and <math_private.h>.
2171         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2172         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2173         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2174         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2175         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2176         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
2177         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2178         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2179         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2180         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2181         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2182         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2183         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2184         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2185         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2186         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2187         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2188         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2189         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2190         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
2191         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2192         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2193         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2194         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2195         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2196         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2197         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2198         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2199         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2200         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2201         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2202         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2203         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2204         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2205         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2206         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2207         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2208         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2209         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2210         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2211         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
2212         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2213         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2214         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2215         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2216         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2217         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
2218         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2219         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2220         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2221         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2222         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
2223         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2224         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2225         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2226         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2227         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2228         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2229         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2230         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
2231         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2232         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2233         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2234         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2235         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
2236         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2237         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2238         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2239         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
2240         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
2241         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2242         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
2243         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2244         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2245         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
2246         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
2247         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
2248         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2249         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
2250         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
2251         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2252         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
2253         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2254         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
2255         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2256         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2257         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
2258         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
2259         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
2260         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2261         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2262         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
2263         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2264         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
2265         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
2266         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
2267         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
2268         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2269         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2270         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
2271         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
2272         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
2273         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
2274         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
2275         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2276         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
2277         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
2278         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
2279         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2280         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2281         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2282         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2283         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
2284         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2285         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
2286         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
2287         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2288         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2289         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2290         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
2291         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2292         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
2293         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
2294         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
2295         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2296         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2297         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
2298         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
2299         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2300         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
2301         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
2302         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
2303         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2304         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
2305         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
2306         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
2307         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
2308         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2309         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
2310         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
2311         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2312         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
2313         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
2314         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
2315         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
2316         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2317         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2318         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2319         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2320         * sysdeps/ieee754/k_standard.c: Likewise.
2321         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
2322         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2323         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2324         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2325         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2326         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2327         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2328         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2329         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2330         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2331         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2332         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2333         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2334         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2335         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2336         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2337         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2338         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2339         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2340         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2341         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2342         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2343         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2344         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2345         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2346         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2347         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2348         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2349         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2350         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2351         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2352         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2353         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2354         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2355         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2356         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2357         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2358         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
2359         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2360         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2361         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2362         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2363         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2364         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2365         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2366         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2367         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2368         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2369         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2370         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2371         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2372         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2373         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2374         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2375         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2376         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2377         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
2378         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2379         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2380         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2381         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2382         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2383         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2384         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
2385         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2386         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2387         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
2388         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
2389         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
2390         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
2391         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
2392         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2393         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
2394         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
2395         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
2396         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
2397         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
2398         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
2399         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2400         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2401         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2402         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2403         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2404         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2405         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
2406         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2407         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2408         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2409         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2410         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2411         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
2412         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2413         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2414         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2415         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2416         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2417         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
2418         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2419         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2420         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
2421         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2422         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2423         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2424         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2425         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
2426         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2427         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2428         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2429         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
2430         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2431         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2432         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2433         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
2434         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2435         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
2436         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2437         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
2438         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2439         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2440         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2441         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2442         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
2443         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2444         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
2445         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2446         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
2447         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2448         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2449         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2450         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2451         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2452         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2453         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2454         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2455         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2456         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2457         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
2458         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2459         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2460         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
2461         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
2462         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2463         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
2464         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
2465         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2466         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2467         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2468         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2469         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2470         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
2471         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2472         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
2473         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2474         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2475         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
2476         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
2477         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2478         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2479         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2480         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2481         * sysdeps/ieee754/s_lib_version.c: Likewise.
2482         * sysdeps/ieee754/s_matherr.c: Likewise.
2483         * sysdeps/ieee754/s_signgam.c: Likewise.
2484         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2485         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2486         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
2487         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
2488         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
2489         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2490         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
2491         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
2492         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
2493         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
2494         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2495         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
2496         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2497         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2498         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
2499         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2500         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2501         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2502         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2503         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2504         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2505
2506 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
2507
2508         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
2509         * sunrpc/rpc_main.c: Likewise.
2510         * sunrpc/rpc_svcout.c: Likewise.
2511
2512 2012-03-09  David S. Miller  <davem@davemloft.net>
2513
2514         * include/math_private.h: New file.
2515
2516 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
2517
2518         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
2519         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
2520         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
2521         from <bits/socket_type.h>.
2522         (enum __socket_type): Don't define here.
2523         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
2524         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2525         bits/socket_type.h.
2526
2527         [BZ #13566]
2528         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
2529         checking __USE_GNU.
2530
2531         * Makerules ($(inst_includedir)/%.h): New rule.
2532         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
2533         (install-others): Remove variable setting.
2534         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
2535
2536 2012-03-08  Richard Henderson  <rth@twiddle.net>
2537
2538         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
2539         from macro to inline function; merge with the
2540         !__LIBC_INTERNAL_MATH_INLINES version.
2541         (__ieee754_sqrtf): Likewise.
2542
2543         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
2544         to inline function.
2545         (__rintf, __floor, __floorf): Likewise.
2546
2547         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
2548         macro to inline function.
2549         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
2550
2551         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
2552         not <math/math_private.h>.
2553
2554 2012-03-08  David S. Miller  <davem@davemloft.net>
2555
2556         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
2557         copyright year.
2558         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2559
2560 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
2561
2562         * resolv/gai_misc.c (handle_requests): Fix struct timespec
2563         normalization.
2564         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
2565         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2566
2567 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
2568
2569         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
2570         be defined individually, they must be defined as a block.  Define
2571         S for printing a string instead of hidint the different by using a
2572         macro for adding the 'l'.
2573         * stdio-common/tst-fphex-wide.c: Adjust.
2574
2575 2012-03-07  Marek Polacek  <polacek@redhat.com>
2576
2577         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
2578
2579 2012-03-08  Marek Polacek  <polacek@redhat.com>
2580
2581         [BZ #13806]
2582         * stdio-common/Makefile (tests): Add tst-fphex-wide.
2583         * stdio-common/tst-fphex.c: Define a few macros to make the
2584         test reusable.  Use them.
2585         * stdio-common/tst-fphex-wide.c: New file.
2586
2587 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
2588
2589         [BZ #6911]
2590         * manual/macros.texi (gnusystems): New macro.
2591         (nongnusystems): Likewise.
2592         (gnulinuxhurdsystems): Likewise.
2593         (gnuhurdsystems): Likewise..
2594         (gnulinuxsystems): Likewise.
2595         * manual/charset.texi: Use new macros or @theglibc{} to refer to
2596         variants of the GNU system, not "GNU system".
2597         * manual/conf.texi: Likewise.
2598         * manual/errno.texi: Likewise.  Update example of errno macro
2599         expansion.
2600         * manual/filesys.texi: Likewise.
2601         (getumask): Document as specific to GNU/Hurd.
2602         * manual/install.texi: Likewise.  Reword some references to
2603         GNU/Linux.
2604         * manual/intro.texi: Likewise.
2605         * manual/io.texi: Likewise.
2606         (File Name Portability): Detail which constraints are inapplicable
2607         to all GNU systems and which are only inapplicable to GNU/Hurd.
2608         * manual/job.texi: Likewise.
2609         * manual/llio.texi: Likewise.
2610         (O_NOCTTY): Document as present on GNU/Linux.
2611         * manual/maint.texi: Likewise.
2612         * manual/memory.texi: Likewise.
2613         * manual/pattern.texi: Likewise.
2614         * manual/pipe.texi: Likewise.
2615         * manual/process.texi: Likewise.
2616         * manual/resource.texi: Likewise.
2617         (RUSAGE_CHILDREN): Remove statement about specifying a particular
2618         child on GNU/Hurd.
2619         * manual/setjmp.texi: Likewise.
2620         * manual/signal.texi: Likewise.
2621         * manual/startup.texi: Likewise.
2622         * manual/stdio.texi: Likewise.
2623         * manual/terminal.texi: Likewise.
2624         (ONLCR): Document as POSIX.
2625         (OXTABS): Document availability on GNU/Linux as XTABS.
2626         (ONOEOT): Document availability separately from other bits.
2627         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
2628         * manual/time.texi: Likewise.
2629         * manual/users.texi: Likewise.
2630         * INSTALL: Regenerated.
2631         * sysdeps/gnu/errlist.c: Regenerated.
2632
2633         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
2634         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
2635         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
2636         puts.
2637         * configure: Regenerated.
2638
2639 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
2640
2641         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
2642         default includes instead of AC_HEADER_CHECK.
2643         * sysdeps/i386/configure: Regenerated.
2644
2645         [BZ #10716]
2646         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
2647         * math/s_cacoshf.c (__cacoshf): Likewise.
2648         * math/s_cacoshl.c (__cacoshl): Likewise.
2649         * math/s_casinh.c (__casinh): Set signs of result from argument.
2650         * math/s_casinhf.c (__casinhf): Likewise.
2651         * math/s_casinhl.c (__casinhl): Likewise.
2652         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
2653         (casinh_test): Add more tests.
2654         * sysdeps/i386/fpu/libm-test-ulps: Update.
2655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2656
2657 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
2658
2659         * po/zh_TW.po: Update from translation team.
2660
2661         * login/Makefile (distribute): Remove variable.
2662         * catgets/Makefile: Likewise.
2663         * mach/Makefile: Likewise.
2664         * malloc/Makefile: Likewise.
2665         * misc/Makefile: Likewise.
2666         * iconv/Makefile: Likewise.
2667         * nscd/Makefile: Likewise.
2668         * hurd/Makefile: Likewise.
2669         * manual/Makefile: Likewise.
2670         * locale/Makefile: Likewise.
2671         * intl/Makefile: Likewise.
2672         * conform/Makefile: Likewise.
2673         * nss/Makefile: Likewise.
2674         * time/Makefile: Likewise.
2675         * soft-fp/Makefile: Likewise.
2676         * dirent/Makefile: Likewise.
2677         * gmon/Makefile: Likewise.
2678         * po/Makefile: Likewise.
2679         * rt/Makefile: Likewise.
2680         * socket/Makefile: Likewise.
2681         * math/Makefile: Likewise.
2682         * signal/Makefile: Likewise.
2683         * debug/Makefile: Likewise.
2684         * elf/Makefile: Likewise.
2685         * timezone/Makefile: Likewise.
2686         * stdlib/Makefile: Likewise.
2687         * iconvdata/Makefile: Likewise.
2688         * sunrpc/Makefile: Likewise.
2689         * io/Makefile: Likewise.
2690         * argp/Makefile: Likewise.
2691         * inet/Makefile: Likewise.
2692         * hesiod/Makefile: Likewise.
2693         * grp/Makefile: Likewise.
2694         * csu/Makefile: Likewise.
2695         * wctype/Makefile: Likewise.
2696         * crypt/Makefile: Likewise.
2697         * libio/Makefile: Likewise.
2698         * string/Makefile: Likewise.
2699         * nis/Makefile: Likewise.
2700         * resolv/Makefile: Likewise.
2701         * stdio-common/Makefile: Likewise.
2702         * wcsmbs/Makefile: Likewise.
2703         * dlfcn/Makefile: Likewise.
2704         * posix/Makefile: Likewise.
2705
2706         * timezone/Makefile: Don't install timezone files, just the programs
2707         and scripts.
2708
2709 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
2710
2711         * nss/databases.def: Add missing gshadow entry.
2712
2713         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
2714
2715 2012-03-06  Marek Polacek  <polacek@redhat.com>
2716
2717         [BZ #13726]
2718         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
2719         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2720         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
2721         * stdio-common/tst-long-dbl-fphex.c: New file.
2722
2723 2012-03-06  David S. Miller  <davem@davemloft.net>
2724
2725         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2726         (set_obp_int): New function.
2727         (get_obp_int): New function.
2728         (__get_clockfreq_via_dev_openprom): Likewise.
2729         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
2730         Avoid unused variable warnings on 'val' and use builtin_expect.
2731         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
2732         __builtin_expect.
2733         (INLINE_CLONE_SYSCALL): Likewise.
2734
2735 2012-03-05  David S. Miller  <davem@davemloft.net>
2736
2737         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2738
2739 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
2740
2741         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2742
2743         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2744         only for |x| >= 40.
2745         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2746
2747 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
2748
2749         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2750         Replace gettimeofday with __vdso_gettimeofday.
2751
2752         * sysdeps/unix/sysv/linux/x86_64/init-first.c
2753         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2754         __vdso_clock_gettime and __vdso_getcpu.
2755
2756         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2757         time with __vdso_time.
2758
2759 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
2760
2761         * manual/lang.texi (size_t): Note types to which size_t may be
2762         equivalent with the GNU C Library, but do not describe when
2763         differences between them are significant.
2764
2765 2012-03-05  Andreas Jaeger  <aj@suse.de>
2766
2767         * sysdeps/i386/fpu/libm-test-ulps: Update.
2768
2769 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
2770
2771         [BZ #3976]
2772         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2773         (__ieee754_pow): Save and restore rounding mode and use
2774         round-to-nearest for main computations.
2775         * math/libm-test.inc (pow_test_tonearest): New function.
2776         (pow_test_towardzero): Likewise.
2777         (pow_test_downward): Likewise.
2778         (pow_test_upward): Likewise.
2779         (main): Call the new functions.
2780         * sysdeps/i386/fpu/libm-test-ulps: Update.
2781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2782
2783         [BZ #3976]
2784         * math/libm-test.inc (cosh_test_tonearest): New function.
2785         (cosh_test_towardzero): Likewise.
2786         (cosh_test_downward): Likewise.
2787         (cosh_test_upward): Likewise.
2788         (sinh_test_tonearest): Likewise.
2789         (sinh_test_towardzero): Likewise.
2790         (sinh_test_downward): Likewise.
2791         (sinh_test_upward): Likewise.
2792         (main): Call the new functions.
2793         * sysdeps/i386/fpu/libm-test-ulps: Update.
2794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2795
2796 2012-03-05  Tom de Vries  <tom@codesourcery.com>
2797
2798         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2799         default stack guard is set in last bytes.
2800         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2801
2802 2012-03-05  Kees Cook  <keescook@chromium.org>
2803
2804         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
2805
2806         [BZ #13656]
2807         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2808         possibly allocate from heap instead of stack.
2809         * stdio-common/bug-vfprintf-nargs.c: New file.
2810         * stdio-common/Makefile (tests): Add nargs overflow test.
2811
2812 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
2813
2814         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2815
2816 2012-03-03  Marek Polacek  <polacek@redhat.com>
2817
2818         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2819         * math/math_private.h: Likewise.
2820         * stdlib/tst-strtod.c: Likewise.
2821         * sysdeps/i386/i486/bits/atomic.h: Likewise.
2822         * sysdeps/x86_64/bits/atomic.h: Likewise.
2823
2824 2012-03-02  David S. Miller  <davem@davemloft.net>
2825
2826         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2827         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2828         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2829         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2830         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2831         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2832         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2833         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2834
2835 2012-03-02  Roland McGrath  <roland@hack.frob.com>
2836
2837         [BZ #13792]
2838         * manual/examples/README: New file, says the example source files
2839         can be used under GPL>=2.
2840         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2841         line containing just "*/".
2842         * manual/examples/add.c: Add copyright header (GPL>=2).
2843         * manual/examples/argp-ex1.c: Likewise.
2844         * manual/examples/argp-ex2.c: Likewise.
2845         * manual/examples/argp-ex3.c: Likewise.
2846         * manual/examples/argp-ex4.c: Likewise.
2847         * manual/examples/atexit.c: Likewise.
2848         * manual/examples/db.c: Likewise.
2849         * manual/examples/dir.c: Likewise.
2850         * manual/examples/dir2.c: Likewise.
2851         * manual/examples/execinfo.c: Likewise.
2852         * manual/examples/filecli.c: Likewise.
2853         * manual/examples/filesrv.c: Likewise.
2854         * manual/examples/fmtmsgexpl.c: Likewise.
2855         * manual/examples/genpass.c: Likewise.
2856         * manual/examples/inetcli.c: Likewise.
2857         * manual/examples/inetsrv.c: Likewise.
2858         * manual/examples/isockad.c: Likewise.
2859         * manual/examples/longopt.c: Likewise.
2860         * manual/examples/memopen.c: Likewise.
2861         * manual/examples/memstrm.c: Likewise.
2862         * manual/examples/mkfsock.c: Likewise.
2863         * manual/examples/mkisock.c: Likewise.
2864         * manual/examples/mygetpass.c: Likewise.
2865         * manual/examples/pipe.c: Likewise.
2866         * manual/examples/popen.c: Likewise.
2867         * manual/examples/rprintf.c: Likewise.
2868         * manual/examples/search.c: Likewise.
2869         * manual/examples/select.c: Likewise.
2870         * manual/examples/setjmp.c: Likewise.
2871         * manual/examples/sigh1.c: Likewise.
2872         * manual/examples/sigusr.c: Likewise.
2873         * manual/examples/stpcpy.c: Likewise.
2874         * manual/examples/strdupa.c: Likewise.
2875         * manual/examples/strftim.c: Likewise.
2876         * manual/examples/strncat.c: Likewise.
2877         * manual/examples/subopt.c: Likewise.
2878         * manual/examples/swapcontext.c: Likewise.
2879         * manual/examples/termios.c: Likewise.
2880         * manual/examples/testopt.c: Likewise.
2881         * manual/examples/testpass.c: Likewise.
2882         * manual/examples/timeval_subtract.c: Likewise.
2883
2884         [BZ #13792]
2885         * manual/time.texi (Elapsed Time): Move timeval_subtract example
2886         function to ...
2887         * manual/timeval_subtract.c.texi: ... here, new file.
2888
2889 2012-03-02  David S. Miller  <davem@davemloft.net>
2890
2891         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2892
2893 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
2894
2895         [BZ #3976]
2896         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2897         (__sin): Save and restore rounding mode and use round-to-nearest
2898         for all computations.
2899         (__cos): Save and restore rounding mode and use round-to-nearest
2900         for all computations.
2901         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2902         <fenv.h>.
2903         (tan): Save and restore rounding mode and use round-to-nearest for
2904         all computations.
2905         * math/libm-test.inc (cos_test_tonearest): New function.
2906         (cos_test_towardzero): Likewise.
2907         (cos_test_downward): Likewise.
2908         (cos_test_upward): Likewise.
2909         (sin_test_tonearest): Likewise.
2910         (sin_test_towardzero): Likewise.
2911         (sin_test_downward): Likewise.
2912         (sin_test_upward): Likewise.
2913         (tan_test_tonearest): Likewise.
2914         (tan_test_towardzero): Likewise.
2915         (tan_test_downward): Likewise.
2916         (tan_test_upward): Likewise.
2917         (main): Call the new functions.
2918         * sysdeps/i386/fpu/libm-test-ulps: Update.
2919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2920
2921         [BZ #10135]
2922         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2923         small n, then large n, before computing and testing k+n.
2924         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2925         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2926         Likewise.
2927         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2928         Likewise.
2929         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2930         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2931         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2932         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2933         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2934         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2935         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2936         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2937         * math/libm-test.inc (scalbn_test): Add more tests.
2938         (scalbln_test): Likewise.
2939
2940         * manual/filesys.texi (mode_t): Describe constraints on size and
2941         signedness, not exact equivalence to a particular type.
2942         (ino_t): Likewise.
2943         (ino64_t): Likewise.
2944         (dev_t): Likewise.
2945         (nlink_t): Likewise.
2946         (blkcnt_t): Likewise.
2947         (blkcnt64_t): Likewise.
2948         * manual/llio.texi (off_t): Likewise.
2949
2950         [BZ #3976]
2951         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2952         (__ieee754_exp): Save and restore rounding mode and use
2953         round-to-nearest for all computations.
2954         * math/libm-test.inc (exp_test_tonearest): New function.
2955         (exp_test_towardzero): Likewise.
2956         (exp_test_downward): Likewise.
2957         (exp_test_upward): Likewise.
2958         (main): Call the new functions.
2959         * sysdeps/i386/fpu/libm-test-ulps: Update.
2960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2961
2962 2012-03-01  Chris Demetriou  <cgd@google.com>
2963
2964         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2965         have predictable order.
2966
2967 2012-03-01  David S. Miller  <davem@davemloft.net>
2968
2969         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2970
2971         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2972         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2973         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2974         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2975
2976         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2977         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2978         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2979         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2980         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2981         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2982         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2983         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2984         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2985
2986         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2987
2988         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2989         * sysdeps/sparc/fpu/libm-test-ulps: to here.
2990         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2991
2992         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2993         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2994         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2995         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2996         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2997         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2998         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2999         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3000         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3001         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
3002         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
3003         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3004         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3005         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3006         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3007         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3008         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
3009         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
3010         * sysdeps/sparc/elf/configure: Regenerated.
3011
3012 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
3013
3014         * configure.in (AS, LD): Require binutils 2.20 or later.
3015         * configure: Regenerated.
3016         * manual/install.texi (Tools for Compilation): Give binutils 2.20
3017         as required minimum version.
3018         * INSTALL: Regenerated.
3019
3020         [BZ #2541]
3021         [BZ #4108]
3022         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
3023         before squaring exponent.
3024         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
3025         bottom long double and 27 bits of top long double before squaring
3026         exponent.
3027         * math/libm-test.inc (erfc_test): Add more tests.
3028         * sysdeps/i386/fpu/libm-test-ulps: Update.
3029         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3031
3032 2012-03-01  Kai Tietz  <ktietz@redhat.com>
3033
3034         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
3035         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
3036         containing bit-fields.
3037         * soft-fp/extended.h (_FP_UNION_E): Likewise.
3038         * soft-fp/single.h (_FP_UNION_S): Likewise.
3039         * soft-fp/double.h (_FP_UNION_D): Likewise.
3040
3041 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
3042
3043         [BZ #13786]
3044         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
3045         not include ../strcmp.S.
3046         [USE_AS_STRNCASECMP_L]: Likewise.
3047         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
3048         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
3049         * sysdeps/i386/i686/multiarch/strncase_l-c.c
3050         (__strncasecmp_l_ia32): Define as alias to
3051         __strncasecmp_l_nonascii.
3052
3053         [BZ #5794]
3054         * math/libm-test.inc (expm1_test): Add test for bug 5794.
3055         * sysdeps/i386/fpu/libm-test-ulps: Update.
3056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3057
3058         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
3059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3060
3061 2012-02-29  Jeff Law  <law@redhat.com>
3062
3063         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
3064         out of bounds read.
3065
3066 2012-02-29  Marek Polacek  <polacek@redhat.com>
3067
3068         [BZ #13706]
3069         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
3070         * elf/Makefile: Add rules to run tst-unused-dep.out.
3071
3072 2012-02-28  David S. Miller  <davem@davemloft.net>
3073
3074         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
3075         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
3076         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
3077         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
3078         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
3079         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
3080
3081 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
3082
3083         * math/libm-test.inc (llround_test): Move one test from
3084         lround_test.  Use TEST_f_L in moved test.
3085         (lround_test): Move misplaced test to llround_test.  Add testcase
3086         from bug 2561.
3087
3088 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
3089
3090         * sysdeps/x86_64/fpu/e_expf.S: New file.
3091         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
3092
3093 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
3094
3095         [BZ #13637]
3096         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
3097         of remain_len that may cause incomplete multi-byte character and
3098         false match.
3099         * posix/bug-regex33.c: New file.
3100         * posix/Makefile (tests): Add bug-regex33.
3101
3102 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
3103
3104         * manual/macros.texi: New file.
3105         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
3106         * manual/libc.texinfo: Include macros.texi.
3107         * manual/creatute.texi: Likewise.
3108         * manual/install.texi: Likewise.
3109         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
3110         @glibcadj{} in references to the GNU C Library.
3111         * manual/charset.texi: Likewise.
3112         * manual/conf.texi: Likewise.
3113         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
3114         when not using those macros.
3115         * manual/creature.texi: Likewise.
3116         * manual/crypt.texi: Likewise.
3117         * manual/errno.texi: Likewise.
3118         * manual/filesys.texi: Likewise.
3119         * manual/header.texi: Likewise.
3120         * manual/install.texi: Likewise.
3121         * manual/intro.texi: Likewise.
3122         * manual/io.texi: Likewise.
3123         * manual/job.texi: Likewise.
3124         * manual/lang.texi: Likewise.
3125         * manual/libc.texiinfo: Likewise.
3126         * manual/llio.texi: Likewise.
3127         * manual/locale.texi: Likewise.
3128         * manual/maint.texi: Likewise.
3129         * manual/math.texi: Likewise.
3130         * manual/memory.texi: Likewise.
3131         * manual/message.texi: Likewise.
3132         * manual/nss.texi: Likewise.
3133         * manual/pattern.texi: Likewise.
3134         * manual/process.texi: Likewise.
3135         * manual/resource.texi: Likewise.
3136         * manual/search.texi: Likewise.
3137         * manual/setjmp.texi: Likewise.
3138         * manual/signal.texi: Likewise.
3139         * manual/socket.texi: Likewise.
3140         * manual/startup.texi: Likewise.
3141         * manual/stdio.texi: Likewise.
3142         * manual/string.texi: Likewise.
3143         * manual/sysinfo.texi: Likewise.
3144         * manual/syslog.texi: Likewise.
3145         * manual/terminal.texi: Likewise.
3146         * manual/time.texi: Likewise.
3147         * manual/users.texi: Likewise.
3148         * INSTALL: Regenerated.
3149         * NOTES: Regenerated.
3150         * sysdeps/gnu/errlist.c: Regenerated.
3151
3152 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
3153
3154         * include/dirent.h: Include <dirstream.h> before
3155         <dirent/dirent.h>.
3156
3157 2012-02-28  David S. Miller  <davem@davemloft.net>
3158
3159         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
3160         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
3161         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
3162         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
3163
3164 2012-02-27  David S. Miller  <davem@davemloft.net>
3165
3166         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
3167         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
3168         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
3169         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
3170
3171         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
3172         frame pointer instead of stack pointer relative arg slot.
3173         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3174         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3175         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3176
3177 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
3178
3179         [BZ #3992]
3180         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
3181
3182 2012-02-27  David S. Miller  <davem@davemloft.net>
3183
3184         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
3185         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3186         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3187         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
3188         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3189         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3190         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
3191         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
3192
3193 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
3194
3195         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
3196         later.  Allow versions 5-9.
3197         * configure: Regenerated.
3198         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
3199         required minimum version and 4.6 as recommended version.  Do not
3200         mention bugs in GCC 2.7 and 2.8.
3201         * INSTALL: Regenerated.
3202
3203 2012-02-27  David S. Miller  <davem@davemloft.net>
3204
3205         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
3206         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
3207         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
3208         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
3209         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
3210         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
3211         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
3212         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
3213
3214         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
3215         manipulate bits before adding and subtracting TWO112[sx].
3216         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3217
3218 2012-02-27  Roland McGrath  <roland@hack.frob.com>
3219
3220         [BZ #13775]
3221         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
3222         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
3223         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
3224         being in POSIX, because they are in 1003.1-2008.
3225
3226         * rt/tst-aio.c: Include <fcntl.h>.
3227         * rt/tst-aio7.c: Likewise.
3228         * rt/tst-aio64.c: Likewise.
3229
3230         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
3231
3232 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
3233
3234         * manual/install.texi (--with-headers): Describe headers as
3235         interface headers, not private headers.
3236         (Specific advice for GNU/Linux systems): Describe use of headers
3237         from "make headers_install", not private headers from older
3238         kernels.
3239         * INSTALL: Regenerated.
3240         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
3241         Change to 2.6.19.
3242         * sysdeps/unix/sysv/linux/configure: Regenerated.
3243
3244         * manual/llio.texi (fclean): Remove documentation.
3245
3246         * manual/Makefile (libc-texi-generated): New variable.  Include
3247         version.texi.
3248         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
3249         $(libc-texi-generated), not duplicated list of files.
3250         (version.texi, stamp-version): New rules.
3251         (realclean): Remove $(libc-texi-generated), not individual files
3252         from that list.  Do not remove dir-add.texinfo.
3253         * manual/libc.texinfo: Comment out uses of edition numbers and
3254         references to printed manual.  Remove last-updated dates.
3255         (EDITION): Comment out.
3256         (ISBN): Likewise.
3257         (VERSION, UPDATED): Remove.
3258         (version.texi): Include.
3259
3260 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
3261
3262         * sysdeps/posix/spawni.c: Include <signal.h>.
3263         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
3264         * sysdeps/pthread/aio_fsync.c: Likewise.
3265
3266 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
3267
3268         * conform/Makefile (tests): Run only when not cross-compiling and
3269         when fast-check is not defined.
3270
3271         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
3272         * conform/data/limits.h-data: Fixes for POSIX2008.
3273         * conform/run-conformtest.sh: Run all tests.
3274         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
3275         headers.
3276         * include/bits/dlfcn.h: Likewise.
3277         * include/langinfo.h: Likewise.
3278         * include/monetary.h: Likewise.
3279         * include/sys/poll.h: Likewise.
3280
3281         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
3282         for __USE_GNU.
3283         * posix/spawn.h: Define __need_sigset_t.
3284         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
3285         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
3286         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
3287         to get sigevent_t only.
3288         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
3289         only for __USE_GNU.
3290         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3291         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
3292         process_vm_writev only for __USE_GNU.
3293         * termios/termios.h: Declare tcgetsid also for POSIX2008.
3294
3295         * conform/Makefile: For now ignore errors from run-conformtest.
3296         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
3297         POSIX to avoid namespace pollution.  Don't prepend headers.
3298         * conform/data/aio.h-data: Fixes for POSIX testing.
3299         * conform/data/fcntl.h-data: Likewise.
3300         * conform/data/glob.h-data: Likewise.
3301         * conform/data/grp.h-data: Likewise.
3302         * conform/data/pthread.h-data: Likewise.
3303         * conform/data/pwd.h-data: Likewise.
3304         * conform/data/signal.h-data: Likewise.
3305         * conform/data/spawn.h-data: Likewise.
3306         * conform/data/stdio.h-data: Likewise.
3307         * conform/data/stdlib.h-data: Likewise.
3308         * conform/data/stropts.h-data: Likewise.
3309         * conform/data/sys/mman.h-data: Likewise.
3310         * conform/data/sys/stat.h-data: Likewise.
3311         * conform/data/sys/types.h-data: Likewise.
3312         * conform/data/sys/wait.h-data: Likewise.
3313         * conform/data/time.h-data: Likewise.
3314         * conform/data/unistd.h-data: Likewise.
3315         * conform/data/utime.h-data: Likewise.
3316
3317         * io/sys/stat.h: fchmod was always in POSIX.
3318         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
3319         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
3320         * rt/aio.h: Define __need_timespec before including <time.h>.
3321         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
3322         struct.  Add forward declaration of pthread_attr_t and use it in
3323         sigevent.
3324         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
3325         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3326         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
3327         always remove CLK_TCK definition.
3328
3329 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
3330
3331         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
3332
3333 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
3334
3335         * conform/run-conformtest.sh: New file.
3336         * conform/Makefile: Run run-conformtest for tests.
3337         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
3338         support.
3339
3340         * conform/data/uchar.h-data: New file.
3341         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
3342         * conform/data/arpa/inet.h-data: Likewise.
3343         * conform/data/assert.h-data: Likewise.
3344         * conform/data/complex.h-data: Likewise.
3345         * conform/data/cpio.h-data: Likewise.
3346         * conform/data/ctype.h-data: Likewise.
3347         * conform/data/dirent.h-data: Likewise.
3348         * conform/data/dlfcn.h-data: Likewise.
3349         * conform/data/errno.h-data: Likewise.
3350         * conform/data/fcntl.h-data: Likewise.
3351         * conform/data/float.h-data: Likewise.
3352         * conform/data/fmtmsg.h-data: Likewise.
3353         * conform/data/fnmatch.h-data: Likewise.
3354         * conform/data/ftw.h-data: Likewise.
3355         * conform/data/glob.h-data: Likewise.
3356         * conform/data/grp.h-data: Likewise.
3357         * conform/data/iconv.h-data: Likewise.
3358         * conform/data/inttypes.h-data: Likewise.
3359         * conform/data/langinfo.h-data: Likewise.
3360         * conform/data/libgen.h-data: Likewise.
3361         * conform/data/limits.h-data: Likewise.
3362         * conform/data/locale.h-data: Likewise.
3363         * conform/data/math.h-data: Likewise.
3364         * conform/data/monetary.h-data: Likewise.
3365         * conform/data/mqueue.h-data: Likewise.
3366         * conform/data/ndbm.h-data: Likewise.
3367         * conform/data/net/if.h-data: Likewise.
3368         * conform/data/netdb.h-data: Likewise.
3369         * conform/data/netinet/in.h-data: Likewise.
3370         * conform/data/nl_types.h-data: Likewise.
3371         * conform/data/poll.h-data: Likewise.
3372         * conform/data/pthread.h-data: Likewise.
3373         * conform/data/pwd.h-data: Likewise.
3374         * conform/data/regex.h-data: Likewise.
3375         * conform/data/sched.h-data: Likewise.
3376         * conform/data/search.h-data: Likewise.
3377         * conform/data/semaphore.h-data: Likewise.
3378         * conform/data/setjmp.h-data: Likewise.
3379         * conform/data/signal.h-data: Likewise.
3380         * conform/data/spawn.h-data: Likewise.
3381         * conform/data/stdarg.h-data: Likewise.
3382         * conform/data/stdio.h-data: Likewise.
3383         * conform/data/stdlib.h-data: Likewise.
3384         * conform/data/string.h-data: Likewise.
3385         * conform/data/strings.h-data: Likewise.
3386         * conform/data/stropts.h-data: Likewise.
3387         * conform/data/sys/ipc.h-data: Likewise.
3388         * conform/data/sys/mman.h-data: Likewise.
3389         * conform/data/sys/msg.h-data: Likewise.
3390         * conform/data/sys/resource.h-data: Likewise.
3391         * conform/data/sys/select.h-data: Likewise.
3392         * conform/data/sys/sem.h-data: Likewise.
3393         * conform/data/sys/shm.h-data: Likewise.
3394         * conform/data/sys/socket.h-data: Likewise.
3395         * conform/data/sys/stat.h-data: Likewise.
3396         * conform/data/sys/statvfs.h-data: Likewise.
3397         * conform/data/sys/time.h-data: Likewise.
3398         * conform/data/sys/timeb.h-data: Likewise.
3399         * conform/data/sys/times.h-data: Likewise.
3400         * conform/data/sys/types.h-data: Likewise.
3401         * conform/data/sys/uio.h-data: Likewise.
3402         * conform/data/sys/un.h-data: Likewise.
3403         * conform/data/sys/utsname.h-data: Likewise.
3404         * conform/data/sys/wait.h-data: Likewise.
3405         * conform/data/syslog.h-data: Likewise.
3406         * conform/data/tar.h-data: Likewise.
3407         * conform/data/termios.h-data: Likewise.
3408         * conform/data/utime.h-data: Likewise.
3409         * conform/data/utmpx.h-data: Likewise.
3410         * conform/data/varargs.h-data: Likewise.
3411         * conform/data/wchar.h-data: Likewise.
3412         * conform/data/wctype.h-data: Likewise.
3413         * conform/data/wordexp.h-data: Likewise.
3414
3415         * include/stropts.h: New file.
3416         * include/uchar.h: New file.
3417         * include/aio.h: Changes to allow conformtest.pl to use the headers.
3418         * include/assert.h: Likewise.
3419         * include/ctype.h: Likewise.
3420         * include/dirent.h: Likewise.
3421         * include/dlfcn.h: Likewise.
3422         * include/fcntl.h: Likewise.
3423         * include/fnmatch.h: Likewise.
3424         * include/glob.h: Likewise.
3425         * include/grp.h: Likewise.
3426         * include/libio.h: Likewise.
3427         * include/locale.h: Likewise.
3428         * include/math.h: Likewise.
3429         * include/net/if.h: Likewise.
3430         * include/netdb.h: Likewise.
3431         * include/netinet/in.h: Likewise.
3432         * include/pthread.h: Likewise.
3433         * include/pwd.h: Likewise.
3434         * include/regex.h: Likewise.
3435         * include/sched.h: Likewise.
3436         * include/search.h: Likewise.
3437         * include/setjmp.h: Likewise.
3438         * include/signal.h: Likewise.
3439         * include/stdio.h: Likewise.
3440         * include/stdlib.h: Likewise.
3441         * include/string.h: Likewise.
3442         * include/sys/cdefs.h: Likewise.
3443         * include/sys/mman.h: Likewise.
3444         * include/sys/msg.h: Likewise.
3445         * include/sys/resource.h: Likewise.
3446         * include/sys/select.h: Likewise.
3447         * include/sys/socket.h: Likewise.
3448         * include/sys/stat.h: Likewise.
3449         * include/sys/statvfs.h: Likewise.
3450         * include/sys/time.h: Likewise.
3451         * include/sys/times.h: Likewise.
3452         * include/sys/uio.h: Likewise.
3453         * include/sys/utsname.h: Likewise.
3454         * include/sys/wait.h: Likewise.
3455         * include/termios.h: Likewise.
3456         * include/time.h: Likewise.
3457         * include/ulimit.h: Likewise.
3458         * include/unistd.h: Likewise.
3459         * include/utime.h: Likewise.
3460         * include/wchar.h: Likewise.
3461         * include/wctype.h: Likewise.
3462         * include/wordexp.h: Likewise.
3463
3464         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
3465
3466         * time/time.h: TIME_UTC must be a macro.
3467         Make timespec_get available for ISO C11 only as well.
3468
3469 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
3470
3471         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
3472         Reported by Peng Haitao <penght@cn.fujitsu.com>.
3473
3474 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
3475
3476         * configure.in: Use -o not -a in test for unsupported multi-arch.
3477
3478 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
3479
3480         * manual/texinfo.tex: Update to version 2012-01-19.16.
3481
3482 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
3483
3484         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
3485
3486 2012-02-24  Roland McGrath  <roland@hack.frob.com>
3487
3488         [BZ #13738]
3489         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
3490         * manual/fdl-1.3.texi: New file.
3491         * manual/fdl-1.1.texi: File removed.
3492
3493         [BZ #13738]
3494         * manual/libc.texinfo (FDL_VERSION): New @set.
3495         Use it for mention of FDL in cover text.
3496         (Documentation License): Use it in @include file name.
3497
3498 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3499             Roland McGrath  <roland@hack.frob.com>
3500
3501         [BZ #5461]
3502         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
3503         not LONG_LONG_MAX and LONG_LONG_MIN.
3504         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
3505         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
3506         name.
3507         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
3508
3509 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3510
3511         [BZ #2547]
3512         [BZ #11365]
3513         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
3514         manipulate bits before adding and subtracting TWO23[sx].
3515         * math/libm-test.inc (nearbyint_test): Add more tests.
3516
3517 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3518
3519         [BZ #2548]
3520         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
3521         bits before adding and subtracting TWO23[sx].
3522         * math/libm-test.inc (rint_test): Add more tests.
3523         (rint_test_tonearest): Likewise.
3524         (rint_test_towardzero): Likewise.
3525         (rint_test_downward): Likewise.
3526         (rint_test_upward: Likewise.
3527
3528 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3529
3530         [BZ #10110]
3531         * include/stdc-predef.h: New file.  Extracted from features.h.
3532         * include/features.h: Include stdc-predef.h.
3533         * Makefile (headers): Add stdc-predef.h.
3534         * CONFORMANCE (Compiler limitations): Update.
3535
3536 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3537
3538         * manual/libc.texinfo (VERSION, UPDATED): Revert.
3539
3540 2012-02-21  David S. Miller  <davem@davemloft.net>
3541
3542         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
3543         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3544
3545 2012-02-20  David S. Miller  <davem@davemloft.net>
3546
3547         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
3548         using a normal save/restore sequence, rather than allocating a
3549         dummy stack frame just to store a frame pointer and restore.
3550         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3551
3552 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
3553
3554         * manual/install.texi: Fix stray word in line-wrapped comment.
3555
3556 2012-02-20  David S. Miller  <davem@davemloft.net>
3557
3558         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
3559         both binutils and gcc support GOTDATA.
3560
3561         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
3562         "rd %pc" in the PIC register setup sequences.
3563
3564         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
3565         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3566         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3567         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3568         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3569         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3570         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3571         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3572         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
3573         (SYSCALL_ERROR_HANDLER): Likewise.
3574         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3575         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3576         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
3577         (SYSCALL_ERROR_HANDLER): Likewise.
3578
3579         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
3580         (HAVE_GCC_GOTDATA): New.
3581         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
3582         relocation support in both binutils and gcc.
3583         * sysdeps/sparc/elf/configure: Regenerate.
3584
3585         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
3586         * sysdeps/sparc/sparc32/elf/configure: Delete.
3587         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
3588         * sysdeps/sparc/sparc64/elf/configure: Delete.
3589         * sysdeps/sparc/elf/configure.in: New file.
3590         * sysdeps/sparc/elf/configure: Generate.
3591
3592         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
3593         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
3594         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
3595         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
3596         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
3597
3598 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
3599
3600         * manual/install.texi: Do not mention specific glibc version
3601         numbers.
3602         * manual/libc.texinfo (VERSION, UPDATED): Update.
3603         (@copying): Use @copyright{} and range of years.
3604
3605 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
3606
3607         [BZ #13695]
3608         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
3609         [crti.S not in sysdirs] (generated): Do not append.
3610         [crti.S not in sysdirs] (omit-deps): Likewise.
3611         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
3612         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
3613         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
3614         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
3615         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
3616         Likewise.
3617         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
3618         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
3619         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
3620         * csu/defs.awk: Remove file.
3621         * sysdeps/generic/initfini.c: Likewise.
3622         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
3623         variable.
3624         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
3625         Likewise.
3626
3627 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
3628
3629         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
3630         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
3631         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
3632         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
3633         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3634         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
3635         <bits/epoll.h>.
3636         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
3637         (__EPOLL_PACKED): Define to empty if not defined by
3638         <bits/epoll.h>.
3639         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
3640         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3641         bits/epoll.h.
3642
3643 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
3644
3645         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
3646         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
3647         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
3648         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
3649         <bits/timerfd.h>.
3650         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
3651         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3652         bits/timerfd.h.
3653
3654 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
3655
3656         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
3657         in C locale.
3658         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3659         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3660         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3662
3663 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
3664
3665         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3666         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3667
3668 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
3669
3670         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
3671         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
3672         defined.
3673         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
3674         Likewise.
3675         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
3676         entry for 2.16.
3677
3678 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
3679
3680         * math/w_acos.c: Use non-signaling floating-point comparisons.
3681         * math/w_acosf.c: Likewise.
3682         * math/w_acosh.c: Likewise.
3683         * math/w_acoshf.c: Likewise.
3684         * math/w_acoshl.c: Likewise.
3685         * math/w_acosl.c: Likewise.
3686         * math/w_asin.c: Likewise.
3687         * math/w_asinf.c: Likewise.
3688         * math/w_asinl.c: Likewise.
3689         * math/w_atanh.c: Likewise.
3690         * math/w_atanhf.c: Likewise.
3691         * math/w_atanhl.c: Likewise.
3692         * math/w_exp2.c: Likewise.
3693         * math/w_exp2f.c: Likewise.
3694         * math/w_exp2l.c: Likewise.
3695         * math/w_j0.c: Likewise.
3696         * math/w_j0f.c: Likewise.
3697         * math/w_j0l.c: Likewise.
3698         * math/w_j1.c: Likewise.
3699         * math/w_j1f.c: Likewise.
3700         * math/w_j1l.c: Likewise.
3701         * math/w_jn.c: Likewise.
3702         * math/w_jnf.c: Likewise.
3703         * math/w_log.c: Likewise.
3704         * math/w_log10.c: Likewise.
3705         * math/w_log10f.c: Likewise.
3706         * math/w_log10l.c: Likewise.
3707         * math/w_log2.c: Likewise.
3708         * math/w_log2f.c: Likewise.
3709         * math/w_log2l.c: Likewise.
3710         * math/w_logf.c: Likewise.
3711         * math/w_logl.c: Likewise.
3712         * math/w_sqrt.c: Likewise.
3713         * math/w_sqrtf.c: Likewise.
3714         * math/w_sqrtl.c: Likewise.
3715         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3716         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3717         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3718         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3719         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3720
3721 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
3722
3723         [BZ #9739]
3724         * manual/string.texi (strnlen): Use correct parameter name in
3725         equivalent expression.
3726
3727 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
3728
3729         [BZ #11174]
3730         * manual/users.texi (seteuid): Consistently use neweuid for
3731         argument name.
3732
3733 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
3734
3735         [BZ #13704]
3736         * manual/nss.texi (Services in the NSS configuration): Correct
3737         list of services in example configuration file.
3738
3739 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
3740
3741         [BZ #11322]
3742         * manual/arith.texi: Remove statements about negative zero
3743         behaving identically to zero.
3744
3745 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
3746
3747         [BZ #5993]
3748         * manual/install.texi: Do not document upgrading from libc5.
3749
3750 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
3751
3752         [BZ #4596]
3753         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3754
3755 2012-02-18  David S. Miller  <davem@davemloft.net>
3756
3757         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3758         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3759         %o7 across the call.
3760         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3761         instead.
3762         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3763         SETUP_PIC_REG_LEAF.
3764         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3765         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3766         * sysdeps/sparc/crtn.S: Likewise.
3767
3768 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
3769
3770         * aout/Makefile: Remove.
3771
3772 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
3773
3774         [BZ #13058]
3775         * manual/examples/argp-ex1.c (main): Format definition in GNU
3776         style.
3777         * manual/examples/argp-ex2.c (main): Likewise.
3778         * manual/examples/argp-ex3.c (main): Likewise.
3779         * manual/examples/argp-ex4.c (main): Likewise.
3780         * manual/examples/longopt.c (main): Use new-style prototype
3781         definition.
3782         * manual/examples/strncat.c (main): Specify return type and use
3783         (void) for arguments.
3784         * manual/examples/subopt.c (main): Use char **argv argument.
3785
3786 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
3787
3788         [BZ #5077]
3789         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3790         rounding modes.
3791
3792 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
3793
3794         [BZ #6907]
3795         * manual/string.texi (strchr): Change when strchrnul is
3796         recommended.
3797
3798 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
3799
3800         [BZ #174]
3801         * manual/locale.texi (setlocale): Document LOCPATH.
3802
3803 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
3804
3805         [BZ #10210]
3806         * manual/process.texi (execle): Move @dots{} before last argument.
3807
3808 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
3809
3810         [BZ #12047]
3811         * manual/charset.texi (Generic Charset Conversion): Fix typo
3812         (LC_TYPE -> LC_CTYPE).
3813
3814 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
3815
3816         [BZ #5805]
3817         * manual/arith.texi (scalbn): Use @var{} on parameter names.
3818         (scalbnf): Likewise.
3819         (scalbnl): Likewise.
3820         (scalbln): Likewise.
3821         (scalblnf): Likewise.
3822         (scalblnl): Likewise.
3823         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3824         (vwarnx): Likewise.
3825         (verr): Likewise.
3826         (verrx): Likewise.
3827         * manual/filesys.texi (telldir): Use braces around return type.
3828         * manual/llio.texi (mmap): Add space after comma.
3829         (mmap64): Likewise.
3830         * manual/math.texi (jn): Use @var{} on parameter names.
3831         (jnf): Likewise.
3832         (jnl): Likewise.
3833         (yn): Likewise.
3834         (ynf): Likewise.
3835         (ynl): Likewise.
3836         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3837         line.
3838         * manual/resource.texi (ulimit): Use @dots{} instead of literal
3839         "...".
3840         (sched_get_priority_min): Remove semicolon on @deftypefun line.
3841         (sched_get_priority_max): Likewise.
3842         * manual/signal.texi (sigvec): Add space after comma.
3843         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3844         names.
3845         (if_indextoname): Likewise.
3846         (if_freenameindex): Likewise.
3847         (sendto): Use ',' instead of '.' in prototype.
3848         * manual/startup.texi (syscall): Use @dots{} instead of literal
3849         "...".
3850         * manual/stdio.texi (__fpending): Separate initial words of
3851         paragraph from @deftypefun line.
3852         * manual/syslog.texi (syslog): Use @dots{} instead of literal
3853         "...".
3854         (vsyslog): Use @var{} on parameter names.
3855         * manual/terminal.texi (stty): Use @var{} on parameter names.
3856         * manual/users.texi (getutmp): Use @var{} on parameter names.
3857         (getutmpx): Likewise.
3858
3859 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
3860
3861         [BZ #6884]
3862         * manual/stdio.texi (fopen): Fix typos in description of
3863         ",ccs=STRING".
3864
3865 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
3866
3867         [BZ #4026]
3868         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3869         get clock_id definition.
3870
3871 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
3872
3873         [BZ #4822]
3874         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3875         (madvise): Cast every argument to void on its own.
3876
3877 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
3878
3879         [BZ #9902]
3880         * manual/startup.texi (Exit Status): Fix typo.
3881
3882 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
3883
3884         [BZ #10140]
3885         * manual/examples/argp-ex1.c: Include <stdlib.h>.
3886         * manual/examples/argp-ex2.c: Likewise.
3887         * manual/examples/argp-ex3.c: Likewise.
3888
3889 2012-02-16  Richard Henderson  <rth@redhat.com>
3890
3891         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3892         * sysdeps/s390/s390-32/initfini.c: Remove.
3893         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3894         * sysdeps/s390/s390-64/initfini.c: Remove.
3895
3896 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3897
3898         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3899         compiler output for sysdeps/generic/initfini.c.
3900         * sysdeps/sh/elf/initfini.c: Remove file.
3901
3902 2012-02-16  David S. Miller  <davem@davemloft.net>
3903
3904         [BZ #11494]
3905         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3906
3907         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3908         * sysdeps/sparc/crti.S: New file.
3909         * sysdeps/sparc/crtn.S: New file.
3910         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3911         * sysdeps/sparc/sparc64/Makefile: Likewise.
3912
3913 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
3914
3915         [BZ #3335]
3916         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3917
3918 2012-02-15  Roland McGrath  <roland@hack.frob.com>
3919
3920         [BZ #4822]
3921         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3922
3923         * mach/devstream.c (cookie_io_functions_t): Macro removed.
3924         (write, read, close): Likewise.
3925         Patch by Aurelien Jarno <aurelien@aurel32.net>.
3926
3927 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
3928
3929         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3930         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3931         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3932         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3933         <bits/signalfd.h>.
3934         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3935         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3936         bits/signalfd.h.
3937
3938 2012-02-14  Marek Polacek  <polacek@redhat.com>
3939
3940         * sysdeps/x86_64/crti.S: New file.
3941         * sysdeps/x86_64/crtn.S: New file.
3942         * sysdeps/x86_64/elf/initfini.c: Remove file.
3943
3944 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
3945
3946         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3947         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3948         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3949         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3950         <bits/inotify.h>.
3951         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3952         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3953         bits/inotify.h.
3954
3955 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
3956
3957         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3958         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3959         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3960         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3961         <bits/eventfd.h>.
3962         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3963         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3964         bits/eventfd.h.
3965
3966 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
3967
3968         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3969         __feraiseexcept instead of feraiseexcept.
3970
3971         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3972         nanosleep invocations.
3973         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3974         strings, and add error checking for a nanosleep invocations.
3975
3976 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
3977
3978         Replace FSF snail mail address with URLs, as per GNU coding standards.
3979         Most of the snail mail addresses were wrong anyway, and omitting
3980         them makes the source code easier to maintain.  Almost all of the
3981         changes are to license notices and to locale LC_IDENTIFICATION
3982         addresses, except for this one:
3983         * manual/libc.texinfo: In "Published by", give the FSF's URL,
3984         not its snail mail address.
3985
3986 2012-02-09  Richard Henderson  <rth@twiddle.net>
3987
3988         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3989         of kernel-features.h.
3990
3991         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3992
3993 2012-02-08  Marek Polacek  <polacek@redhat.com>
3994
3995         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
3996         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
3997         * sysdeps/gnu/_G_config.h: Likewise.
3998         * sysdeps/generic/_G_config.h: Likewise.
3999
4000 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
4001
4002         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
4003         tests.
4004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4005
4006         * sysdeps/powerpc/powerpc32/crti.S: New file.
4007         * sysdeps/powerpc/powerpc32/crtn.S: New file.
4008         * sysdeps/powerpc/powerpc64/crti.S: New file.
4009         * sysdeps/powerpc/powerpc64/crtn.S: New file.
4010
4011         * Makeconfig (have-initfini): Don't set.
4012         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
4013         * configure.in (nopic_initfini): Don't substitute.
4014         * config.h.in (HAVE_INITFINI): Don't #undef.
4015         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
4016         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
4017
4018 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
4019
4020         Support crti.S and crtn.S provided directly by architectures.
4021         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
4022         [crti.S in sysdirs] (omit-deps): Likewise.
4023         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
4024         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
4025         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
4026         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
4027         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
4028         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
4029         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
4030         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
4031         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
4032         compiler output for sysdeps/generic/initfini.c.
4033         * sysdeps/i386/elf/Makefile: Remove file.
4034         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
4035
4036 2012-02-07  Marek Polacek  <polacek@redhat.com>
4037
4038         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
4039         * sysdeps/gnu/_G_config.h: Likewise.
4040         * sysdeps/mach/hurd/_G_config.h: Likewise.
4041
4042 2012-02-07  Marek Polacek  <polacek@redhat.com>
4043
4044         * math/Makefile (tests): Add tst-CMPLX2.
4045         * math/tst-CMPLX2.c: New file.
4046
4047 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
4048
4049         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4050
4051         * math/libm-test.inc (jn_test): Add missing L suffix.
4052
4053 2012-02-06  Marek Polacek  <polacek@redhat.com>
4054
4055         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
4056         * sysdeps/i386/fpu/e_powf.S: Likewise.
4057         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4058         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4059         * sysdeps/i386/fpu/e_acosh.S: Likewise.
4060         * sysdeps/i386/fpu/e_pow.S: Likewise.
4061         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4062         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4063         * sysdeps/i386/fpu/s_expm1.S: Likewise.
4064         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4065         * sysdeps/i386/fpu/e_log2.S: Likewise.
4066         * sysdeps/i386/fpu/e_log2l.S: Likewise.
4067         * sysdeps/i386/fpu/e_scalb.S: Likewise.
4068         * sysdeps/i386/fpu/e_powl.S: Likewise.
4069         * sysdeps/i386/fpu/s_log1p.S: Likewise.
4070         * sysdeps/i386/fpu/e_log10f.S: Likewise.
4071         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4072         * sysdeps/i386/fpu/e_logl.S: Likewise.
4073         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4074         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
4075         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4076         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4077         * sysdeps/i386/fpu/e_log2f.S: Likewise.
4078         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4079         * sysdeps/i386/fpu/e_log.S: Likewise.
4080         * sysdeps/i386/fpu/s_cexp.S: Likewise.
4081         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4082         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
4083         * sysdeps/i386/fpu/e_logf.S: Likewise.
4084         * sysdeps/i386/fpu/e_log10l.S: Likewise.
4085         * sysdeps/i386/fpu/e_atanh.S: Likewise.
4086         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
4087         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4088         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4089         * sysdeps/i386/fpu/e_log10.S: Likewise.
4090         * sysdeps/i386/fpu/s_frexp.S: Likewise.
4091         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4092         * sysdeps/i386/fpu/s_asinh.S: Likewise.
4093         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4094         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4095         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4096         * sysdeps/i386/asm-syntax.h: Likewise.
4097         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4098         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4099         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4100         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
4101         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
4102         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4103         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4104         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4105         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4106         * sysdeps/powerpc/sysdep.h: Likewise.
4107         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
4108         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4109
4110 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
4111
4112         [BZ #411]
4113         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
4114
4115 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
4116
4117         * sysdeps/i386/sysdep.h: Include <features.h>.
4118         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
4119         version.
4120
4121 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
4122
4123         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
4124         Define.
4125         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
4126         LOAD_PIC_REG_STR.
4127
4128 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
4129
4130         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
4131         (SETUP_PIC_REG): Use GET_PC_THUNK.
4132         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
4133         macro.
4134
4135 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
4136
4137         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
4138         for non-PIC compilation.
4139         (SETUP_PIC_REG): Add .p2align directive.
4140         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
4141         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4142         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4143         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4144         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4145         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4146         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4147         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4148         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4149         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4150         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4151         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4152         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4153         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4154         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4155         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4156         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4157         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4158         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4159         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4160         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4161         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4162         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4163         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4164         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4165         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4166         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4167         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4168         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4169         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4170         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4171         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4172         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4173         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4174         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4175         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4176         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4177         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4178         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4179         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4180         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4181
4182 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
4183
4184         * math/tst-CMPLX.c: Include <stdio.h>.
4185
4186 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
4187
4188         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
4189         float.
4190         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4191         * sysdeps/sparc/bits/mathdef.h: Likewise.
4192
4193 2012-01-31  Marek Polacek  <polacek@redhat.com>
4194
4195         * libio/libio.h: Don't define _PARAMS.
4196         * locale/programs/config.h: Don't define PARAMS.
4197         * stdlib/strtol_l.c: Likewise.
4198         (__strtol_l): Remove PARAMS from the prototype.
4199
4200 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
4201
4202         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
4203         names.  Just use the correct names.  Remove unnecessary wrapper
4204         functions.
4205         * malloc/arena.c: Likewise.
4206         * malloc/hooks.c: Likewise.
4207
4208         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
4209         ARENA_TEST says not to.  Simplify test for creation of a new arena.
4210         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
4211
4212 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
4213
4214         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
4215         into tail calls.
4216         (update_get_addr): New function.
4217         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
4218         GET_ADDR_MODULE parameter.
4219
4220 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
4221
4222         * crypt/cert.c: Remove __STDC__ conditionals.
4223         * crypt/crypt-entry.c: Likewise.
4224         * crypt/crypt_util.c: Likewise.
4225         * libio/filedoalloc.c: Likewise.
4226         * libio/fileops.c: Likewise.
4227         * libio/genops.c: Likewise.
4228         * libio/iofclose.c: Likewise.
4229         * libio/iofdopen.c: Likewise.
4230         * libio/iofopen.c: Likewise.
4231         * libio/iofopen64.c: Likewise.
4232         * libio/iogetdelim.c: Likewise.
4233         * libio/iopopen.c: Likewise.
4234         * libio/obprintf.c: Likewise.
4235         * libio/oldfileops.c: Likewise.
4236         * libio/oldiofclose.c: Likewise.
4237         * libio/oldiofdopen.c: Likewise.
4238         * libio/oldiofopen.c: Likewise.
4239         * libio/oldiopopen.c: Likewise.
4240         * libio/wfiledoalloc.c: Likewise.
4241         * libio/wgenops.c: Likewise.
4242         * locale/programs/xmalloc.c: Likewise.
4243         * misc/syslog.c: Likewise.
4244         * stdio-common/xbug.c: Likewise.
4245         * string/memchr.c: Likewise.
4246         * string/memcmp.c: Likewise.
4247         * string/memrchr.c: Likewise.
4248         * string/rawmemchr.c: Likewise.
4249         * sysdeps/posix/getcwd.c: Likewise.
4250         * time/strftime_l.c: Likewise.
4251
4252 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
4253
4254         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
4255         * config.make.in (config-cflags-sse2avx): Define.
4256         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
4257         Fix typo.
4258
4259 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
4260
4261         * scripts/config.guess: Update from upstream config git repository.
4262         * scripts/config.sub: Likewise.
4263
4264 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
4265
4266         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
4267         (EM_NUM): Update.
4268         (R_TILEPRO_*, R_TILEGX_*): New macros.
4269
4270         * scripts/firstversions.awk: Fix bug in version range handling.
4271
4272         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
4273
4274         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
4275
4276         * include/sys/epoll.h: New file.
4277         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
4278         libc_hidden_def.
4279
4280 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
4281
4282         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
4283         Avoid unnecessary __WORDSIZE == 64 test.
4284         (fmaxf): Use VEX format if possible.
4285         (fmax): Likewise.
4286         (fminf): Likewise.
4287         (fmin): Likewise.
4288
4289         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
4290         * math/math_private.h: Remove libc_fegetround* and
4291         libc_fesetround*.
4292         * sysdeps/i386/configure.in: Check for -msse2avx.
4293         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
4294         also if SSE2AVX is defined.
4295         Remove libc_fegetround* and libc_fesetround*.
4296         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
4297         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
4298         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
4299         of HAS_YMM_USABLE.
4300         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4301         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4302         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4303         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4304         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4305
4306         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
4307
4308 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4309
4310         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
4311         size is not set.
4312         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
4313
4314 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
4315
4316         [BZ #13618]
4317         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
4318         relocation.
4319         * Makeconfig (libm): Define.
4320         * elf/Makefile: Add rules to build and run tst-relsort1.
4321         * elf/tst-relsort1.c: New file.
4322         * elf/tst-relsort1mod1.c: New file.
4323         * elf/tst-relsort1mod2.c: New file.
4324
4325 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
4326
4327         * math/s_ldexp.c: Remove __STDC__ conditionals.
4328         * math/s_ldexpf.c: Likewise.
4329         * math/s_ldexpl.c: Likewise.
4330         * math/s_nextafter.c: Likewise.
4331         * math/s_nexttowardf.c: Likewise.
4332         * math/s_significand.c: Likewise.
4333         * math/s_significandf.c: Likewise.
4334         * math/s_significandl.c: Likewise.
4335         * math/w_jnl.c: Likewise.
4336         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4337         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4338         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4339         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4340         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4341         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4342         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
4343         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4344         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4345         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4346         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4347         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4348         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4349         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4350         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4351         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4352         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4353         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4354         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4355         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4356         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4357         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4358         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4359         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4360         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4361         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4362         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4363         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4364         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4365         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4366         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4367         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4368         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4369         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4370         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4371         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4372         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4373         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4374         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4375         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4376         * sysdeps/ieee754/k_standard.c: Likewise.
4377         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4378         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4379         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4380         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4381         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4382         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4383         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4384         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4385         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4386         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4387         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4388         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4389         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4390         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4391         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4392         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4393         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4394         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4395         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4396         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4397         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4398         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4399         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4400         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4401         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4402         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4403         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4404         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4405         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4406         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4407         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4408         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
4409         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4410         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4411         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4412         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4413         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
4414         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4415         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4416         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
4417         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
4418         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4419         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4420         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
4421         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4422         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4423         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4424         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4425         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4426         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4427         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
4428         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4429         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4430         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4431         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4432         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4433         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
4434         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4435         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4436         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4437         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4438         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4439         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4440         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4441         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4442         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4443         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4444         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4445         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4446         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4447         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4448         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4449         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4450         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4451         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4452         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4453         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4454         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4455         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4456         * sysdeps/ieee754/s_matherr.c: Likewise.
4457         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4458         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4459         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4460         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4461
4462 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
4463
4464         * crypt/md5.h: Remove __STDC__ conditionals.
4465         * libio/libioP.h: Likewise.
4466         * locale/programs/config.h: Likewise.
4467         * sysdeps/generic/sysdep.h: Likewise.
4468         * sysdeps/i386/asm-syntax.h: Likewise.
4469         * sysdeps/s390/asm-syntax.h: Likewise.
4470         * sysdeps/unix/sysdep.h: Likewise.
4471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4473
4474 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
4475
4476         * libio/libio.h: Remove __STDC__ conditionals.
4477         * malloc/obstack.h: Likewise.
4478         * math/complex.h: Likewise.
4479         * math/math.h: Likewise.
4480         * sysdeps/generic/_G_config.h: Likewise.
4481         * sysdeps/gnu/_G_config.h: Likewise.
4482         * sysdeps/mach/hurd/_G_config.h: Likewise.
4483         * sysdeps/powerpc/bits/mathdef.h: Likewise.
4484         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4485         * sysdeps/sparc/bits/mathdef.h: Likewise.
4486
4487 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
4488
4489         [BZ #13583]
4490         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
4491         Clean up HAS_* macros.
4492         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
4493         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
4494         possible.
4495         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
4496         HAS_AVX.
4497         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4498         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4499         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4500         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4501         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4502
4503 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
4504
4505         * elf/tst-unique3.cc (gets): Remove declaration.
4506         * elf/tst-unique3lib.cc (gets): Likewise.
4507         * elf/tst-unique3lib2.cc (gets): Likewise.
4508         * elf/tst-unique4.cc (gets): Likewise.
4509
4510 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
4511
4512         * include/stdio.h: Add C++ protection.  Add gets declarations and
4513         definitions.
4514         * debug/tst-chk1.c: Don't declare gets here.
4515         * stdio-common/tst-gets.c: Likewise.
4516
4517 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
4518
4519         * posix/glob: Remove directory.
4520
4521 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
4522
4523         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
4524
4525 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
4526
4527         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
4528         of the non-standard EPFNOSUPPORT.
4529
4530 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4531
4532         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
4533         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
4534         ANYWHERE set to 1 only on KERN_NO_SPACE error.
4535
4536 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
4537
4538         * wcsmbs/uchar.h: Test __STDC_VERSION__.
4539
4540 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
4541
4542         * nscd/aicache.c (addhstaiX): Do not cache negative results of
4543         transient errors.
4544         * nscd/grpcache.c (cache_addgr): Likewise.
4545         * nscd/hstcache.c (cache_addhst): Likewise.
4546         * nscd/initgrcache.c (addinitgroupsX): Likewise.
4547         * nscd/pwdcache.c (cache_addpw): Likewise.
4548         * nscd/servicescache.c (cache_addserv): Likewise.
4549
4550 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
4551
4552         * malloc/malloc.c: Various cleanups.
4553         * malloc/hooks.c: Likewise.
4554
4555         * stdlib/Makefile (tests): Add bug-fmtmsg1.
4556         * stdlib/bug-fmtmsg1.c: New file.
4557
4558         * stdlib/fmtmsg.c (init): Add missing unlock.
4559         Patch by Peng Haitao <penght@cn.fujitsu.com>.
4560
4561 2012-01-12  Marek Polacek  <polacek@redhat.com>
4562
4563         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
4564         and _GNU_SOURCE.
4565
4566 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
4567
4568         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
4569         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
4570         macro to ensure uniqueness of label name.
4571         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4572         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4573
4574 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
4575
4576         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
4577
4578         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
4579         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4580         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4581         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
4582
4583 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
4584
4585         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
4586
4587         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
4588         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4589         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4590
4591         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
4592
4593         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
4594         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4595         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4596         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
4597
4598         * math/bits/math-finite.h: Add ldexp support.
4599
4600 2012-01-10  Marek Polacek  <polacek@redhat.com>
4601
4602         * locale/programs/localedef.h (show_archive_content): Add noreturn
4603         attribute.
4604
4605 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
4606
4607         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
4608
4609 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
4610
4611         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
4612
4613         * io/Makefile (headers): Add bits/poll2.h.
4614
4615 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
4616
4617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
4618         typo #include statement.
4619
4620 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
4621
4622         * include/sys/cdefs.h: Define __attribute_alloc_size.
4623         * catgets/gencat.c: Add alloc_size attribute and apply consistently
4624         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
4625         * elf/pldd.c: Likewise.
4626         * iconv/iconv_charmap.c: Likewise.
4627         * iconv/iconvconfig.c: Likewise.
4628         * iconv/strtab.c: Likewise.
4629         * locale/programs/locale.c: Likewise.
4630         * locale/programs/localedef.h: Likewise.
4631         * locale/programs/simple-hash.c: Likewise.
4632         * nscd/nscd.h: Likewise.
4633         * nss/makedb.c: Likewise.
4634         * sysdeps/generic/ldconfig.h: Likewise.
4635         * locale/programs/localedef.c: Remove xmalloc prototype.
4636         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
4637
4638 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
4639
4640         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
4641         appropriate.
4642
4643 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
4644
4645         * math/Makefile (tests): Add tst-CMPLX.
4646         * math/tst-CMPLX.c: New file.
4647
4648         * math/complex.h (CMPLXL): Fix typo.
4649
4650         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
4651         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
4652         GLIBC_2.16.
4653         * debug/tst-chk1.c: Add poll and ppoll tests.
4654         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
4655         * include/sys/poll.h: Add hidden proto for ppoll.
4656         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
4657         * sysdeps/mach/hurd/ppoll.c: Likewise.
4658         * io/ppoll.c: Likewise.
4659         * debug/poll_chk.c: New file.
4660         * debug/ppoll_chk.c: New file.
4661         * include/bits/poll2.h: New file.
4662         * io/bits/poll2.h: New file.
4663
4664         [BZ #1350]
4665         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
4666
4667         * configure.in: static is always set to yes.  Remove.
4668         * config.make.in: Don't set build-static.
4669         * Makeconfig: Remove use of build-static.
4670         * dlfcn/Makefile: Likewise.
4671         * elf/Makefile: Likewise.
4672         * math/Makefile: Likewise.
4673         * misc/Makefile: Likewise.
4674         * nptl/Makefile: Likewise.
4675         * sysdeps/mach/hurd/Makefile: Likewise.
4676
4677         * configure.in: PWD_P is not used anymore.
4678         * config.make.in: Remove PWD_P entry.
4679
4680         * configure.in: Remove last remnants of RANLIB.
4681         No need to check for signed size_t anymore.
4682         Don't set libc_commonpagesize and libc_relro_required here for Alpha
4683         and IA-64.
4684         Remove __builtin_expect test because we require at least gcc 3.4.
4685         * aclocal.m4: Likewise.
4686
4687         * wcsmbs/mbrtoc16.c: Implement using towc function.
4688         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
4689         * wcsmbs/wcsmbsload.c: Likewise.
4690         * iconv/gconv_simple.c: Likewise.
4691         * iconv/gconv_int.h: Likewise.
4692         * iconv/gconv_builtin.h: Likewise.
4693         * iconv/iconv_prog.c: Remove CHAR16 handling.
4694
4695         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
4696
4697         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
4698
4699         * configure.in: Remove --with-elf and --enable-bounded options.
4700         Dont set base_machine for ia64.  More non-ELF conditions removed.
4701         Remove testing and setting of leading underscore information.
4702         * config.make.in (build-bounded): Set to no.
4703         * config.h.in: Remove NO_UNDERSCORES entry.
4704         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
4705         them.
4706         * csu/start.c: Remove !NO_UNDERSCORE code.
4707         * locale/localeinfo.h: Likewise.
4708         * sysdeps/generic/machine-gmon.h: Likewise.
4709         * sysdeps/generic/sysdep.h: Likewise.
4710         * sysdeps/i386/sysdep.h: Likewise.
4711         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4712         * sysdeps/mach/sysdep.h: Likewise.
4713         * sysdeps/s390/s390-32/sysdep.h: Likewise.
4714         * sysdeps/s390/s390-64/sysdep.h: Likewise.
4715         * sysdeps/sh/sysdep.h: Likewise.
4716         * sysdeps/sparc/sparc32/alloca.S: Likewise.
4717         * sysdeps/unix/i386/sysdep.S: Likewise.
4718         * sysdeps/unix/sparc/start.c: Likewise.
4719         * sysdeps/unix/sparc/sysdep.S: Likewise.
4720         * sysdeps/unix/sparc/sysdep.h: Likewise.
4721         * sysdeps/unix/start.c: Likewise.
4722         * sysdeps/unix/x86_64/sysdep.S: Likewise.
4723         * sysdeps/x86_64/sysdep.h: Likewise.
4724
4725 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
4726
4727         [BZ #13553]
4728         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
4729         for non-gcc.
4730         * argp/argp-fmtstream.h: Use const instead __const.
4731         * argp/argp.h: Likewise.
4732         * assert/assert.h: Likewise.
4733         * bits/fenv.h: Likewise.
4734         * bits/sched.h: Likewise.
4735         * bits/sigset.h: Likewise.
4736         * bits/sigthread.h: Likewise.
4737         * catgets/nl_types.h: Likewise.
4738         * conform/data/pthread.h-data: Likewise.
4739         * crypt/crypt-private.h: Likewise.
4740         * crypt/crypt.h: Likewise.
4741         * crypt/crypt_util.c: Likewise.
4742         * ctype/ctype.h: Likewise.
4743         * debug/execinfo.h: Likewise.
4744         * debug/mbsnrtowcs_chk.c: Likewise.
4745         * debug/mbsrtowcs_chk.c: Likewise.
4746         * debug/wcsnrtombs_chk.c: Likewise.
4747         * debug/wcsrtombs_chk.c: Likewise.
4748         * debug/wcstombs_chk.c: Likewise.
4749         * dirent/dirent.h: Likewise.
4750         * dlfcn/dlfcn.h: Likewise.
4751         * elf/neededtest4.c: Likewise.
4752         * grp/grp.h: Likewise.
4753         * gshadow/gshadow.h: Likewise.
4754         * iconv/gconv.h: Likewise.
4755         * iconv/gconv_int.h: Likewise.
4756         * iconv/gconv_simple.c: Likewise.
4757         * iconv/iconv.h: Likewise.
4758         * iconv/loop.c: Likewise.
4759         * iconv/skeleton.c: Likewise.
4760         * include/aio.h: Likewise.
4761         * include/aliases.h: Likewise.
4762         * include/argz.h: Likewise.
4763         * include/arpa/inet.h: Likewise.
4764         * include/assert.h: Likewise.
4765         * include/dirent.h: Likewise.
4766         * include/dlfcn.h: Likewise.
4767         * include/execinfo.h: Likewise.
4768         * include/fcntl.h: Likewise.
4769         * include/fenv.h: Likewise.
4770         * include/glob.h: Likewise.
4771         * include/grp.h: Likewise.
4772         * include/libintl.h: Likewise.
4773         * include/mntent.h: Likewise.
4774         * include/netdb.h: Likewise.
4775         * include/pwd.h: Likewise.
4776         * include/rpc/netdb.h: Likewise.
4777         * include/sched.h: Likewise.
4778         * include/search.h: Likewise.
4779         * include/shadow.h: Likewise.
4780         * include/signal.h: Likewise.
4781         * include/stdio.h: Likewise.
4782         * include/stdlib.h: Likewise.
4783         * include/string.h: Likewise.
4784         * include/sys/socket.h: Likewise.
4785         * include/sys/stat.h: Likewise.
4786         * include/sys/statfs.h: Likewise.
4787         * include/sys/statvfs.h: Likewise.
4788         * include/sys/syslog.h: Likewise.
4789         * include/sys/time.h: Likewise.
4790         * include/sys/uio.h: Likewise.
4791         * include/time.h: Likewise.
4792         * include/unistd.h: Likewise.
4793         * include/utmp.h: Likewise.
4794         * include/wchar.h: Likewise.
4795         * include/wctype.h: Likewise.
4796         * inet/aliases.h: Likewise.
4797         * inet/arpa/inet.h: Likewise.
4798         * inet/netinet/ether.h: Likewise.
4799         * inet/netinet/in.h: Likewise.
4800         * intl/libintl.h: Likewise.
4801         * io/bits/fcntl2.h: Likewise.
4802         * io/fcntl.h: Likewise.
4803         * io/ftw.h: Likewise.
4804         * io/sys/poll.h: Likewise.
4805         * io/sys/stat.h: Likewise.
4806         * io/sys/statfs.h: Likewise.
4807         * io/sys/statvfs.h: Likewise.
4808         * io/utime.h: Likewise.
4809         * libio/bits/stdio.h: Likewise.
4810         * libio/bits/stdio2.h: Likewise.
4811         * libio/libio.h: Likewise.
4812         * libio/libioP.h: Likewise.
4813         * libio/stdio.h: Likewise.
4814         * locale/lc-ctype.c: Likewise.
4815         * locale/locale.h: Likewise.
4816         * login/utmp.h: Likewise.
4817         * malloc/arena.c: Likewise.
4818         * malloc/malloc.c: Likewise.
4819         * malloc/malloc.h: Likewise.
4820         * malloc/mcheck.c: Likewise.
4821         * malloc/mtrace.c: Likewise.
4822         * math/bits/mathcalls.h: Likewise.
4823         * math/fenv.h: Likewise.
4824         * math/math_private.h: Likewise.
4825         * misc/bits/error.h: Likewise.
4826         * misc/bits/syslog.h: Likewise.
4827         * misc/err.h: Likewise.
4828         * misc/error.h: Likewise.
4829         * misc/fstab.h: Likewise.
4830         * misc/mntent.h: Likewise.
4831         * misc/regexp.h: Likewise.
4832         * misc/search.h: Likewise.
4833         * misc/sgtty.h: Likewise.
4834         * misc/sys/mman.h: Likewise.
4835         * misc/sys/syslog.h: Likewise.
4836         * misc/sys/uio.h: Likewise.
4837         * misc/sys/xattr.h: Likewise.
4838         * misc/ttyent.h: Likewise.
4839         * nis/rpcsvc/ypclnt.h: Likewise.
4840         * nss/nss.h: Likewise.
4841         * posix/bits/unistd.h: Likewise.
4842         * posix/fnmatch.h: Likewise.
4843         * posix/glob.h: Likewise.
4844         * posix/sched.h: Likewise.
4845         * posix/spawn.h: Likewise.
4846         * posix/sys/wait.h: Likewise.
4847         * posix/unistd.h: Likewise.
4848         * posix/wordexp.h: Likewise.
4849         * pwd/pwd.h: Likewise.
4850         * resolv/netdb.h: Likewise.
4851         * resource/sys/resource.h: Likewise.
4852         * rt/aio.h: Likewise.
4853         * rt/bits/mqueue2.h: Likewise.
4854         * rt/mqueue.h: Likewise.
4855         * shadow/shadow.h: Likewise.
4856         * signal/signal.h: Likewise.
4857         * socket/send.c: Likewise.
4858         * socket/sendto.c: Likewise.
4859         * socket/sys/socket.h: Likewise.
4860         * stdio-common/printf.h: Likewise.
4861         * stdlib/bits/stdlib.h: Likewise.
4862         * stdlib/fmtmsg.h: Likewise.
4863         * stdlib/monetary.h: Likewise.
4864         * stdlib/stdlib.h: Likewise.
4865         * stdlib/ucontext.h: Likewise.
4866         * streams/stropts.h: Likewise.
4867         * string/argz.h: Likewise.
4868         * string/bits/string2.h: Likewise.
4869         * string/string.h: Likewise.
4870         * string/strings.h: Likewise.
4871         * sunrpc/rpc/auth.h: Likewise.
4872         * sunrpc/rpc/auth_des.h: Likewise.
4873         * sunrpc/rpc/clnt.h: Likewise.
4874         * sunrpc/rpc/netdb.h: Likewise.
4875         * sunrpc/rpc/pmap_clnt.h: Likewise.
4876         * sunrpc/rpc/xdr.h: Likewise.
4877         * sysdeps/generic/inttypes.h: Likewise.
4878         * sysdeps/generic/net/if.h: Likewise.
4879         * sysdeps/generic/sys/swap.h: Likewise.
4880         * sysdeps/gnu/net/if.h: Likewise.
4881         * sysdeps/gnu/utmpx.h: Likewise.
4882         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4883         * sysdeps/i386/i486/bits/string.h: Likewise.
4884         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4885         * sysdeps/s390/bits/string.h: Likewise.
4886         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4887         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4888         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4889         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4890         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4891         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4892         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4893         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4894         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4895         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4896         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4897         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4898         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4899         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4900         * sysdeps/unix/sysv/linux/readv.c: Likewise.
4901         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4902         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4903         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4904         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4905         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4906         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4907         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4908         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4909         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4910         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4911         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4912         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4913         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4914         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4915         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4916         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4917         * sysvipc/sys/ipc.h: Likewise.
4918         * sysvipc/sys/msg.h: Likewise.
4919         * sysvipc/sys/sem.h: Likewise.
4920         * sysvipc/sys/shm.h: Likewise.
4921         * termios/termios.h: Likewise.
4922         * time/sys/time.h: Likewise.
4923         * time/time.h: Likewise.
4924         * wcsmbs/bits/wchar2.h: Likewise.
4925         * wcsmbs/uchar.h: Likewise.
4926         * wcsmbs/wchar.h: Likewise.
4927         * wctype/wctype.h: Likewise.
4928
4929         [BZ #13551]
4930         * Makeconfig: Remove all but ELF support including AIX support.
4931         * Makerules: Likewise.
4932         * config.h.in: Likewise.
4933         * config.make.in: Likewise.
4934         * configure: Likewise.
4935         * configure.in: Likewise.
4936         * csu/Makefile: Likewise.
4937         * csu/version.c: Likewise.
4938         * debug/Makefile: Likewise.
4939         * dlfcn/Makefile: Likewise.
4940         * elf/Makefile: Likewise.
4941         * extra-lib.mk: Likewise.
4942         * iconv/Makefile: Likewise.
4943         * include/libc-symbols.h: Likewise.
4944         * include/shlib-compat.h: Likewise.
4945         * resolv/Makefile: Likewise.
4946         * resolv/res_libc.c: Likewise.
4947         * rt/Makefile: Likewise.
4948         * sysdeps/i386/asm-syntax.h: Likewise.
4949         * sysdeps/i386/sysdep.h: Likewise.
4950         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4951         * sysdeps/mach/sysdep.h: Likewise.
4952         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4953         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4954         * sysdeps/s390/asm-syntax.h: Likewise.
4955         * sysdeps/s390/s390-32/sysdep.h: Likewise.
4956         * sysdeps/s390/s390-64/sysdep.h: Likewise.
4957         * sysdeps/sh/sysdep.h: Likewise.
4958         * sysdeps/unix/sparc/sysdep.h: Likewise.
4959         * sysdeps/wordsize-32/divdi3.c: Likewise.
4960         * sysdeps/x86_64/sysdep.h: Likewise.
4961
4962         * argp/Versions: Remove _argp_unlock_xxx.
4963
4964         [BZ #13559]
4965         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
4966         * abilist/libBrokenLocale.abilist: Likewise.
4967         * abilist/libanl.abilist: Likewise.
4968         * abilist/libc.abilist: Likewise.
4969         * abilist/libcrypt.abilist: Likewise.
4970         * abilist/libdl.abilist: Likewise.
4971         * abilist/libm.abilist: Likewise.
4972         * abilist/libnsl.abilist: Likewise.
4973         * abilist/libpthread.abilist: Likewise.
4974         * abilist/libresolv.abilist: Likewise.
4975         * abilist/librt.abilist: Likewise.
4976         * abilist/libthread_db.abilist: Likewise.
4977         * abilist/libutil.abilist: Likewise.
4978         * abilist/libnss_db.abilist: New file.
4979
4980         * scripts/abilist.awk: Add support for indirect functions.
4981
4982         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4983
4984         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4985
4986         * shlib-versions: Remove entries for ports architectures.
4987
4988         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
4989         files in ports.
4990         * elf/stackguard-macros.h: Remove support for IA-64.
4991         * elf/tst-auditmod1.c: Likewise.
4992         * sysdeps/generic/ldsodefs.h: Likewise.
4993
4994         * sysdeps/unix/sysv/linux/configure.in: Ports should define
4995         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
4996         configure files.
4997
4998         [BZ #13552]
4999         * configure.in: Remove --enable-omitfp support.
5000         * FAQ.in: Adjust.
5001         * config.make.in: Likewise.
5002         * Makeconfig: Likewise.
5003         * manual/install.texi: Likewise.
5004
5005         In case anyone cares, the IA-64 architecture could move to ports.
5006         * sysdeps/ia64/*: Removed.
5007         * sysdeps/unix/sysv/linux/ia64/*: Removed.
5008         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
5009
5010         [BZ #13555]
5011         * configure.in: Remove entries for unsupported architectures.
5012
5013         [BZ #13533]
5014         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
5015         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
5016         routines.
5017         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
5018         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
5019         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
5020         fall back to using wcrtomb.
5021         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
5022         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
5023         renaming.
5024         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
5025         * wcsmbs/tst-c16c32-1.c: New file.
5026
5027         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
5028         local variable.
5029
5030         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
5031
5032         * elf/tst-unique3.cc: Add explicit declaration of gets.
5033         * elf/tst-unique3lib.cc: Likewise.
5034         * elf/tst-unique3lib2.cc: Likewise.
5035         * elf/tst-unique4.cc: Likewise.
5036
5037         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
5038
5039 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
5040
5041         [BZ #13566]
5042         * assert/assert.h (static_assert): Don't define for C++.
5043         * libio/stdio.h (gets): Do declare for C++ <= C++11.
5044         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
5045
5046 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
5047
5048         * iconv/loop.c (single loop): Fix assertion in storing of
5049         remaining bytes.
5050
5051         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
5052
5053 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
5054
5055         * posix/getconf.c: Update copyright year.
5056         * nss/getent.c: Likewise.
5057         * nss/makedb.c: Likewise.
5058         * iconv/iconvconfig.c: Likewise.
5059         * iconv/iconv_prog.c: Likewise.
5060         * elf/ldconfig.c: Likewise.
5061         * elf/pldd.c: Likewise.
5062         * elf/sotruss.ksh: Likewise.
5063         * catgets/gencat.c: Likewise.
5064         * csu/version.c: Likewise.
5065         * elf/ldd.bash.in: Likewise.
5066         * elf/sprof.c (print_version): Likewise.
5067         * locale/programs/locale.c: Likewise.
5068         * locale/programs/localedef.c: Likewise.
5069         * login/programs/pt_chown.c: Likewise.
5070         * nscd/nscd.c (print_version): Likewise.
5071         * debug/xtrace.sh: Likewise.
5072         * malloc/memusage.sh: Likewise.
5073         * malloc/mtrace.pl: Likewise.
5074         * debug/catchsegv.sh: Likewise.
5075
5076 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
5077
5078         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
5079         pure attribute.
5080
5081 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
5082
5083         [BZ #13533]
5084         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
5085         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
5086         transformations.
5087         * iconv/gconv_int.h: Likewise.
5088         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
5089         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
5090         from libc for GLIBC_2.16.
5091         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
5092         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
5093         * wcsmbs/uchar.h: Really define mbstate_t.
5094         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
5095         * wcsmbs/c16rtomb.c: New file.
5096         * wcsmbs/mbrtoc16.c: New file.
5097         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
5098         for C/POSIX locale.
5099         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
5100         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
5101
5102         * wcsmbs/wchar.h: Add missing __restrict.
5103
5104 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
5105
5106         [BZ #13532]
5107         * time/Makefile (routines): Add timespec_get.
5108         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
5109         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
5110         timespec for ISO C11.
5111         * time/timespec_get.c: New file.
5112         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
5113         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
5114
5115         [BZ #13531]
5116         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
5117         * stdlib/stdlib.h: Declare aligned_alloc.
5118         * Versions.def: Add GLIBC_2.16 for libc.
5119         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
5120
5121         [BZ 13527]
5122         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
5123         ISO C11.
5124
5125         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
5126         code.
5127
5128         [BZ #13528]
5129         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
5130
5131         [BZ #13529]
5132         * assert/assert.h (static_assert): Define.
5133
5134         * version.h: Update for 2.16 development version.
5135
5136         [BZ #13526]
5137         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
5138         _ISOC11_SOURCE.
5139
5140         * version.h (RELEASE): Bump for 2.15 release.
5141         * include/features.h (__GLIBC_MINOR__): Bump to 15.
5142
5143         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
5144         Patch by Marek Polacek <mpolacek@redhat.com>.
5145
5146         * bits/byteswap.h: Protect long long constants with __extension__.
5147         * sysdeps/i386/bits/byteswap.h: Likewise.
5148         * sysdeps/ia64/bits/byteswap.h: Likewise.
5149         * sysdeps/s390/bits/byteswap.h: Likewise.
5150         * sysdeps/x86_64/bits/byteswap.h: Likewise.
5151
5152 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5153
5154         [BZ #13540]
5155         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
5156         destination buffer.
5157         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5158
5159 2011-12-23  Marek Polacek  <polacek@redhat.com>
5160
5161         * elf/dl-addr.c (determine_info): Add inline keyword.
5162         * elf/tst-auditmod4b.c (check_avx): Likewise.
5163         * elf/tst-auditmod6b.c (check_avx): Likewise.
5164         * elf/tst-auditmod6c.c (check_avx): Likewise.
5165         * elf/tst-auditmod7b.c (check_avx): Likewise.
5166
5167 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
5168
5169         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
5170         !__SSE_MATH__.
5171
5172 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5173
5174         [BZ #13540]
5175         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
5176         processing for last bytes.
5177
5178 2011-08-06  Bruno Haible  <bruno@clisp.org>
5179
5180         [BZ #13061]
5181         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
5182         U+0385, not to U+1FEE.
5183
5184         [BZ #13062]
5185         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
5186         entry for U+00A5 U+0301.
5187
5188 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
5189
5190         [BZ #13166]
5191         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
5192         buffer for the output is too small.
5193
5194         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
5195         optimization.
5196
5197         [BZ #13185]
5198         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
5199         SSE flags if possible.
5200
5201 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5202
5203         [BZ #13540]
5204         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
5205         processing for last bytes.
5206
5207 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
5208
5209         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
5210         (syscall-list-default-options, syscall-list-default-condition)
5211         (syscall-list-includes): Define.
5212         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
5213         list of ABIs and options and #if conditions for each ABI.  Do not
5214         handle common syscalls between ABIs specially.
5215         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
5216         Remove.
5217         (syscall-list-variants, syscall-list-32bit-options)
5218         (syscall-list-32bit-condition, syscall-list-64bit-options)
5219         (syscall-list-64bit-condition): Define.
5220         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
5221         (syscall-list-variants, syscall-list-32bit-options)
5222         (syscall-list-32bit-condition, syscall-list-64bit-options)
5223         (syscall-list-64bit-condition): Define.
5224         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
5225         Remove.
5226         (syscall-list-variants, syscall-list-32bit-options)
5227         (syscall-list-32bit-condition, syscall-list-64bit-options)
5228         (syscall-list-64bit-condition): Define.
5229         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
5230         Remove.
5231         (syscall-list-variants, syscall-list-32bit-options)
5232         (syscall-list-32bit-condition, syscall-list-64bit-options)
5233         (syscall-list-64bit-condition): Define.
5234
5235 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
5236
5237         * locale/iso-639.def: Add brx entry.
5238
5239         [BZ #13328]
5240         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
5241         Proposed by Mariusz_Cukr <marcukr@op.pl>.
5242
5243         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
5244         __feraiseexcept_renamed.
5245
5246 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
5247
5248         [BZ #13538]
5249         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
5250         EPOLLET with unsigned values.
5251         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5252         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5253
5254         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
5255         to large cancellation.
5256         * math/s_cacoshf.c: Likewise.
5257         * math/s_cacoshl.c: Likewise.
5258
5259 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
5260
5261         [BZ #13305]
5262         [BZ #12786]
5263         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
5264         * math/s_cacoshf.c: Likewise.
5265         * math/s_cacoshl.c: Likewise.
5266
5267 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
5268
5269         [BZ #13439]
5270         * iconv/gconv.h: Define __GCONV_SWAP.
5271         * iconvdata/unicode.c: The swap bit must be stored in __flags.
5272         * iconvdata/utf-16.c: Likewise.
5273         * iconvdata/utf-32.c: Likewise.
5274
5275 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
5276
5277         [BZ #13524]
5278         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
5279         numerator after shifting it by one limb.
5280
5281 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
5282
5283         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
5284         under [__USE_EXTERN_INLINES].
5285
5286 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
5287
5288         [BZ #13446]
5289         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
5290
5291 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5292
5293         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
5294         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
5295         optimized code.
5296         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
5297         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
5298         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
5299         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
5300         for strncasecmp/strncasecmp_l compilation.
5301         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
5302         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
5303
5304 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
5305
5306         [BZ #13484]
5307         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
5308         of __asm__.
5309
5310 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
5311
5312         [BZ #13506]
5313         * time/tzfile.c (__tzfile_read): Check values from file header.
5314
5315 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
5316
5317         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
5318         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
5319         * powerpc/powerpc32/dl-start.S: Likewise.
5320         * powerpc/powerpc32/elf/start.S: Likewise.
5321         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5322         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
5323         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
5324         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
5325         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5326         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
5327         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
5328         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5329         * powerpc/powerpc32/fpu/s_round.S: Likewise.
5330         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5331         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5332         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5333         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5334         * powerpc/powerpc32/memset.S: Likewise.
5335         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5336         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5337         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5338         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5339         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5340         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5341         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5342         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5343         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
5344         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
5345         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
5346         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5347         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5348
5349 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5350
5351         * math/libm-test.inc: Added more nearbyint tests.
5352         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
5353         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
5354         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
5355         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
5356
5357 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
5358
5359         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
5360         FD_CLOEXEC.
5361
5362 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5363
5364         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
5365         Add wcscpy-ssse3 wcscpy-c.
5366         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
5367         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
5368         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
5369         * sysdeps/x86_64/wcschr.S: New file.
5370         * sysdeps/x86_64/wcsrchr.S: New file.
5371         * string/test-strcmp.c: Remove checking of wcscmp function for
5372         wrong alignments.
5373         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
5374         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
5375         wcsrchr-sse2 wcsrchr-c.
5376         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
5377         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
5378         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
5379         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
5380         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
5381         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
5382         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
5383         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
5384         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
5385         * wcsmbc/wcschr.c (WCSCHR): New macro.
5386
5387 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5388
5389         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
5390         * wcsmbs/test-wcsrchr.c: New file.
5391         * string/test-strrchr.c: Add wcsrchr support.
5392         (WIDE): New macro.
5393         * wcsmbs/test-wcscpy.c: New file.
5394         * string/test-strcpy.c: Add wcscpy support.
5395         (WIDE): New macro.
5396
5397 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
5398
5399         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
5400         the inner loop.
5401
5402 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
5403
5404         [BZ #13472]
5405         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
5406
5407 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
5408
5409         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
5410         Minor optimizations.
5411
5412         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
5413         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
5414         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5415
5416 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
5417
5418         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
5419         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
5420         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
5421         for gcc to avoid warnings.
5422         * inet/Makefile (tests): Add tst-checks.
5423         * inet/tst-checks.c: New file.
5424
5425         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
5426         warning.
5427
5428         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
5429         __wmemcmp_sse2.
5430
5431         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
5432         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
5433
5434         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
5435
5436 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
5437
5438         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
5439         problem.
5440
5441         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
5442
5443 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
5444
5445         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
5446         conditional on GCC version.
5447         (__arch_compare_and_exchange_val_8_acq)
5448         (__arch_compare_and_exchange_val_16_acq)
5449         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
5450         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
5451         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
5452
5453 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
5454
5455         * sysdeps/sh/backtrace.c: New file.
5456
5457 2011-12-02  Andreas Schwab  <schwab@redhat.com>
5458
5459         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
5460         parenthesis.
5461
5462 2011-12-01  Andreas Schwab  <schwab@redhat.com>
5463
5464         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
5465         falling back to utime.
5466
5467 2011-11-30  Andreas Schwab  <schwab@redhat.com>
5468
5469         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
5470         expectations for float.
5471
5472 2011-11-29  Andreas Schwab  <schwab@redhat.com>
5473
5474         * locale/weight.h (findidx): Add parameter len.
5475         * locale/weightwc.h (findidx): Likewise.
5476         * posix/fnmatch_loop.c (FCT): Adjust caller.
5477         * posix/regcomp.c (build_equiv_class): Likewise.
5478         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
5479         * posix/regexec.c (check_node_accept_bytes): Likewise.
5480         * string/strcoll_l.c (STRCOLL): Likewise.
5481         * string/strxfrm_l.c (STRXFRM): Likewise.
5482
5483 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
5484
5485         * Makefile.in: Remove CVSOPT handling.
5486         * configure.in: Remove use of AC_REVISION.
5487         * iconvdata/Makefile (distribute): No need to filter out CVS.
5488         * scripts/list-sources.sh: Remove CVS, subversion and monotone
5489         handling.
5490
5491 2011-11-16  Andreas Schwab  <schwab@redhat.com>
5492
5493         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
5494         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
5495         [USE_AS_STRNCASECMP_L]: Likewise.
5496         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
5497         NO_TLS_DIRECT_SEG_REFS.
5498         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
5499         Fix argument offsets for non-PIC.
5500         [USE_AS_STRNCASECMP_L]: Likewise.
5501         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
5502         NO_TLS_DIRECT_SEG_REFS.
5503
5504 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
5505
5506         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
5507         O_CLOEXEC.
5508         * locale/loadlocale.c (_nl_load_locale): Likewise.
5509
5510 2011-11-15  Andreas Schwab  <schwab@redhat.com>
5511
5512         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
5513         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
5514         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
5515         (SYSCALL_GETTIME): Set errno on error.
5516
5517         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
5518         count references to noai6ai_cached.
5519
5520 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
5521
5522         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
5523
5524         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
5525         FD_CLOEXEC for /proc/self/maps.
5526
5527         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
5528         FD_CLOEXEC for /proc/meminfo.
5529
5530         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
5531         gai.conf.
5532
5533         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
5534         FD_CLOEXEC for given file.
5535
5536         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
5537
5538         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
5539         FD_CLOEXEC for /etc/hosts.
5540         (_gethtent): Likewise.
5541
5542         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
5543
5544         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
5545         cancellation and set FD_CLOEXEC for /etc/netgroup.
5546
5547         * nss/nss_files/files-key.c (search): Don't allow cancellation when
5548         reading /etc/publickey.
5549
5550         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
5551         allow cancellation when reading /etc/group.
5552
5553         * nss/nss_files/files-alias.c (internal_setent): Don't allow
5554         cancellation.
5555         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
5556
5557         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
5558         when using data file.
5559
5560         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
5561
5562         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
5563         (write_nis_obj): Use "c" and "e" in fopen.
5564
5565         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
5566
5567         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
5568
5569         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
5570
5571         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
5572
5573         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
5574         locale.alias.
5575
5576         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
5577
5578         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
5579
5580         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
5581
5582         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
5583         file parsing and set FD_CLOEXEC.
5584
5585 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
5586
5587         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
5588
5589 2011-11-14  Andreas Schwab  <schwab@redhat.com>
5590
5591         * malloc/arena.c (arena_get2): Don't call reused_arena when
5592         _int_new_arena failed.
5593
5594 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
5595
5596         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
5597         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
5598         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
5599         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5600         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5601         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
5602         to compile strcasecmp and strncasecmp.
5603         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
5604         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
5605
5606         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
5607
5608 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
5609
5610         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
5611         locale-defines.sym to gen-as-const-headers.
5612         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
5613         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
5614         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
5615         to compile strcasecmp and strncasecmp.
5616         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
5617         strcasecmp_l and strncasecmp_l.
5618         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
5619         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
5620         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
5621         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
5622         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
5623         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
5624         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
5625         * sysdeps/i386/i686/multiarch/strncase.S: New file.
5626         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
5627         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
5628         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
5629
5630 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
5631
5632         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
5633         result of SYSDEP_GETTIME_CPU to retval.
5634         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
5635         parameter list to macro.  Remove trailing semicolon.  Adjust users.
5636
5637         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
5638         variable.
5639
5640         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
5641         mantissa words.
5642         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5643
5644         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
5645         from unused variable.
5646
5647         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
5648         DWARF definitions.
5649         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
5650         for assembling.
5651
5652         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
5653         over namespaces.
5654
5655         * sunrpc/rpc_prot.c (rejected): Fix case value.
5656
5657         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
5658         unsigned long long int to avoid warnings in shift.
5659
5660         * posix/regex_internal.c (re_string_reconstruct): Actually use result
5661         of use of trans.
5662         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
5663         variable tmp.
5664
5665         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
5666         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5667         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5668
5669         * nis/nis_table.c (nis_list): Use variable of correct type for
5670         result of __follow_path call.
5671
5672 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5673
5674         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
5675         of math functions ceil, trunc, floor, round, and sqrt, when
5676         avaliable on the platform.
5677         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
5678         name clash.
5679         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5680         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5681         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5682
5683 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
5684
5685         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
5686         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5687
5688 2011-11-11  Roland McGrath  <roland@hack.frob.com>
5689
5690         * include/unistd.h: Fix __readlink return type.
5691         Reported by Chris Metcalf <cmetcalf@tilera.com>.
5692
5693 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
5694
5695         * stdlib/ucontext.h: Undo last change for makecontext.
5696
5697 2011-11-11  Andreas Schwab  <schwab@redhat.com>
5698
5699         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
5700
5701         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
5702         * setjmp/setjmp.h: Mark functions as non-leaf.
5703         * setjmp/bits/setjmp2.h: Likewise.
5704         * stdlib/ucontext.h: Likewise.
5705
5706 2011-11-10  Andreas Schwab  <schwab@redhat.com>
5707
5708         * malloc/arena.c (_int_new_arena): Don't increment narenas.
5709         (reused_arena): Don't check arena limit.
5710         (arena_get2): Atomically check arena limit.
5711
5712 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
5713
5714         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
5715         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
5716
5717         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
5718         instructions.
5719
5720 2011-11-07  Andreas Schwab  <schwab@redhat.com>
5721
5722         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
5723         handler when locking.
5724
5725         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5726         Fix size of allocated buffer.
5727
5728 2011-11-04  Andreas Schwab  <schwab@redhat.com>
5729
5730         [BZ #10103]
5731         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
5732         declarations for long double functions.
5733         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5734
5735         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5736
5737 2011-11-03  Andreas Schwab  <schwab@redhat.com>
5738
5739         * nscd/nscd.c (main): Don't start AVC thread until credentials are
5740         installed.
5741
5742         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5743         is disabled.
5744
5745 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5746
5747         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5748
5749 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
5750
5751         * include/alloca.h (stackinfo_alloca_round): Define.
5752         (extend_alloca): Use it.
5753         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5754         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5755         here.
5756
5757         * scripts/check-local-headers.sh: Ignore libaudit.h.
5758
5759         * nscd/Makefile (extra-objs): Make recursively expanded.
5760
5761 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
5762
5763         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5764         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5765
5766         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5767         * posix/tst-rfc3484-2.c: Likewise.
5768         * posix/tst-rfc3484-3.c: Likewise.
5769
5770         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5771         process_vm_writev.
5772         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5773         process_vm_writev.
5774         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5775         process_vm_writev from libc using GLIBC_2.15 version.
5776
5777         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5778
5779 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
5780
5781         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5782         stack usage.
5783
5784 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
5785
5786         [BZ #13367]
5787         * nss/getent.c (initgroups_keys): Show error message in case no group
5788         names are given.
5789
5790         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5791         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5792         __bump_nl_timestamp.
5793         * nscd/connections (nscd_init): When host database is served open
5794         netlink socket and request notification about configuration changes.
5795         (main_loop_poll): Track netlink file descriptor and bump timestamp
5796         in case data becomes available.
5797         (main_loop_epoll): Likewise.
5798         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5799         (database_pers_head): Add extra_data fileds.
5800         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5801         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5802         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5803         Adjust caller.
5804         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5805         in6ai data, call __free_in6ai.
5806         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5807         Add -DHAVE_NETLINK.
5808         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
5809         interface information.  Reuse previous data if netlink timestamp
5810         is not changed.
5811         (__bump_nl_timestamp): New function.
5812         (__free_in6ai): New function.
5813
5814 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
5815
5816         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5817         close_not_cancel_no_status here.
5818         (__check_pf): Reorganize code a bit to not call close twice if OOM.
5819
5820 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
5821
5822         [BZ #13276]
5823         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5824         return value.
5825
5826         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
5827         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5828         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5829
5830 2011-07-03  Andreas Jaeger  <aj@suse.de>
5831
5832         [BZ #10709]
5833         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5834         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5835         * math/libm-test.inc (sin_test): Add test case.
5836
5837 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
5838
5839         [BZ #13337]
5840         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5841         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5842
5843         * elf/chroot_canon.c (chroot_canon): Cleanups.
5844
5845         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5846
5847         [BZ #13335]
5848         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5849         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5850
5851         * string/test-strchr.c: Make usable for strchrnul testing.
5852         * string/test-strchrnul.c: New file.
5853         * string/Makefile (strop-tests): Add strchrnul.
5854
5855         * po/it.po: Update from translation team.
5856         * po/es.po: Likewise.
5857
5858 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
5859
5860         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5861         the three constants needed as parameters.  Drop the others.
5862         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5863         __m128i_strloadu_tolower.
5864         Create and initialize variable zero and use it in all the places
5865         where _mm_setzero_si128 was used.
5866
5867         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5868         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5869         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5870         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5871         anymore.
5872         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5873         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5874         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5875         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5876         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5877         __mpranred, __mptan.
5878         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5879         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5880         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5881         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5882         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5883         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5884         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5885         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5886         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5887
5888 2011-10-28  Andreas Schwab  <schwab@redhat.com>
5889
5890         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5891         redefine if SHARED.
5892         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5893
5894         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5895         wide char related routines to wcsmbs subdir.
5896
5897 2011-10-27  Andreas Schwab  <schwab@redhat.com>
5898
5899         [BZ #13344]
5900         * misc/sys/cdefs.h (__THROWNL): Define.
5901         * posix/unistd.h: Use __THREADNL instead of __THREAD
5902         for memory synchronization functions.
5903
5904 2011-10-26  Roland McGrath  <roland@hack.frob.com>
5905
5906         [BZ #13349]
5907         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5908         doesn't exist.
5909         * manual/stdio.texi (Obstack Streams): Node removed.
5910
5911 2011-10-26  Andreas Schwab  <schwab@redhat.com>
5912
5913         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5914         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5915         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5916
5917         * math/math_private.h (math_force_eval): Allow non-addressable
5918         arguments.
5919         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5920
5921 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
5922
5923         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5924         file is not needed.
5925
5926         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5927         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5928         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5929         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5930         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5931         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5932         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5933         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5934         Add AVX variants.
5935         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5936         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5937         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5938         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5939         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5940         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5941         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5942         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5943         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5944         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5945         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5946         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5947         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5948         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5949         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5950         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5951         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5952         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5953         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5954
5955         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5956         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
5957
5958         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5959         place.  Use VEX encoding when compiling for AVX.
5960
5961 2011-10-25  Andreas Schwab  <schwab@redhat.com>
5962
5963         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5964         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5965
5966         * string/test-strchr.c (do_test): Don't generate NUL bytes.
5967
5968 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
5969
5970         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
5971         useless if() expression.
5972         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5973         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5974         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5975         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5976         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5977         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5978         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5979         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5980         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5981         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5982         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5983         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5984         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5985         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5986         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5987         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5988         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5989         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5990         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5991
5992         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5993
5994 2011-10-25  Andreas Schwab  <schwab@redhat.com>
5995
5996         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
5997         condition.
5998         * elf/dl-fini.c (_dl_sort_fini): Likewise.
5999
6000 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
6001
6002         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
6003         .text section.  Avoid duplicate constants.
6004         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6005         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6006         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6007         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6008         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6009         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6010         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6011         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6012         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
6013         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
6014         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
6015         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
6016         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
6017         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
6018         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
6019         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
6020         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
6021         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
6022         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6023         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6024         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6025         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6026         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6027         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
6028         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
6029         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
6030         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
6031         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
6032         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
6033         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
6034         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
6035         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
6036         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6037         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
6038         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
6039         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
6040         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
6041         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
6042         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
6043         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
6044         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
6045         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
6046         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
6047         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
6048         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
6049
6050 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
6051
6052         * sysdeps/x86_64/dla.h: Move to ...
6053         * sysdeps/x86_64/fpu/dla.h: ...here.
6054         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
6055         situations.  Use __builtin_fma only for gcc 4.6 and up.
6056
6057         * config.make.in: Add have-mfma4 entry.
6058         * configure.in: Substitute libc_cv_cc_fma4.
6059         * math/Makefile (dbl-only-routines): Add sincostab.
6060         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
6061         Use __sincostab not sincos.
6062         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
6063         name is a macro.
6064         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6065         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6066         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6067         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
6068         using __copysign.
6069         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
6070         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
6071         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
6072         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
6073         and __inv.
6074         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
6075         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
6076         __copysign.
6077         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
6078         define aliases when function name is a macro.
6079         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
6080         sysdeps/ieee754/dbl-64/sincos.tbl.
6081         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
6082         fma4-enabled routines.
6083         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
6084         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
6085         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
6086         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
6087         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
6088         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
6089         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
6090         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
6091         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
6092         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
6093         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
6094         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
6095         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
6096         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
6097         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
6098         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
6099         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
6100         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
6101         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
6102         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
6103         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
6104         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
6105         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
6106         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
6107         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
6108         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
6109         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
6110         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
6111         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
6112         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
6113
6114         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
6115         rename.
6116         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6117         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6118         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6119         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6120         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6121         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6122         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6123         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6124
6125 2011-10-24  Andreas Schwab  <schwab@redhat.com>
6126
6127         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
6128
6129 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
6130
6131         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
6132
6133         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
6134         prediction.
6135         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
6136
6137         * string/strnlen.c: Don't define STRNLEN, reverse logic.
6138         Remove unused variable magic_bits.
6139         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
6140
6141         * string/strnlen.c: Define and use STRNLEN macro.
6142         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
6143         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
6144         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
6145         * wcsmbs/wcslen.c: Define and use WCSLEN.
6146         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
6147         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
6148         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
6149         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
6150         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
6151         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
6152         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6153
6154 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6155
6156         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6157         strnlen-sse2-no-bsf.
6158         Rename strlen-no-bsf to strlen-sse2-no-bsf.
6159         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
6160         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
6161         Add strnlen support.
6162         (USE_AS_STRNLEN): New macro.
6163         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
6164         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
6165         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
6166         * sysdeps/x86_64/wcslen.S: New file.
6167
6168 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
6169
6170         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6171         XMM-moves are used for copying on small sizes.
6172
6173 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6174
6175         * wcsmbs/Makefile (strop-tests): Add wcschr.
6176         * wcsmbs/test-wcschr.c: New file.
6177         * string/test-strchr.c: Update.
6178         Add wcschr support.
6179         (WIDE): New macro.
6180
6181 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6182
6183         * wcsmbs/Makefile (strop-tests): Add wcslen.
6184         * wcsmbs/test-wcslen.c: New file.
6185         * string/test-strlen.c: Update.
6186         Add wcslen support.
6187         (WIDE): New macro.
6188
6189 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
6190
6191         * po/it.po: Update from translation team.
6192
6193 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6194
6195         * sysdeps/x86_64/wcscmp.S: Update.
6196         Fix wrong comparison semantics.
6197         wcscmp shall use signed comparison not unsigned.
6198         Don't use substraction to avoid overflow bug.
6199         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
6200         * wcsmbc/wcscmp.c: Likewise.
6201         * string/test-strcmp.c: Likewise.
6202         Add new tests to check cases with negative values.
6203
6204 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
6205
6206         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
6207         * sysdeps/x86_64/dla.h: ...here.  New file.
6208         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
6209         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6210         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6211         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6212         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6213         * sysdeps/ieee754/dbl-64/e_sqrt.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-23  Andreas Schwab  <schwab@linux-m68k.org>
6219
6220         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
6221         __ynl_finite aliases.
6222
6223 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
6224
6225         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6226
6227         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
6228         define DLA_FMA.
6229         [DLA_FMA] (EMULV): Use DLA_FMA.
6230         [DLA_FMA] (MUL12): Use EMULV.
6231         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
6232         that are not needed.
6233         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6234         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6235         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6236         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6237         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6238         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6239         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6240
6241 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
6242
6243         * math/s_nan.c: Undef __nan.
6244         * math/s_nanf.c: Undef __nanf.
6245         * math/s_nanl.c: Undef __nanl.
6246         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
6247         "math_private.h".
6248
6249 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
6250
6251         * math/s_catan.c: Add branch predictions.
6252         * math/s_catanf.c: Likewise.
6253         * math/s_catanh.c: Likewise.
6254         * math/s_catanhf.c: Likewise.
6255         * math/s_catanhl.c: Likewise.
6256         * math/s_catanl.c: Likewise.
6257         * math/s_cexp.c: Likewise.
6258         * math/s_cexpf.c: Likewise.
6259         * math/s_cexpl.c: Likewise.
6260         * math/s_clog.c: Likewise.
6261         * math/s_clog10.c: Likewise.
6262         * math/s_clog10f.c: Likewise.
6263         * math/s_clog10l.c: Likewise.
6264         * math/s_clogf.c: Likewise.
6265         * math/s_clogl.c: Likewise.
6266         * math/s_csqrt.c: Likewise.
6267         * math/s_csqrtf.c: Likewise.
6268         * math/s_csqrtl.c: Likewise.
6269         * math/s_ctanf.c: Likewise.
6270         * math/s_ctanh.c: Likewise.
6271         * math/s_ctanhf.c: Likewise.
6272         * math/s_ctanhl.c: Likewise.
6273         * math/s_ctanl.c: Likewise.
6274
6275         * math/math_private.h: Define __nan, __nanf, __nanl.
6276         * math/s_cacosh.c: Include <math_private.h>.
6277         * math/s_cacoshl.c: Likewise.
6278         * math/s_casinh.c: Likewise.
6279         * math/s_casinhf.c: Likewise.
6280         * math/s_casinhl.c: Likewise.
6281         * math/s_ccos.c: Rely entire on ccosh.
6282         * math/s_ccosf.c: Rely entire on ccoshf.
6283         * math/s_ccosl.c: Rely entirely on ccoshl.
6284         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
6285         Remove tests for FE_INVALID.
6286         * math/s_ccoshf.c: Likewise.
6287         * math/s_ccoshl.c: Likewise.
6288         * math/s_csin.c: Likewise.
6289         * math/s_csinf.c: Likewise.
6290         * math/s_csinh.c Likewise.
6291         * math/s_csinhf.c: Likewise.
6292         * math/s_csinhl.c: Likewise.
6293         * math/s_csinl.c: Likewise.
6294         * math/s_ctan.c: Likewise.
6295         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
6296         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
6297         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
6298
6299 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
6300
6301         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
6302         compilation problems.
6303
6304         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
6305         __builtin_expect.
6306
6307 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
6308
6309         * sysdeps/i386/configure.in: Test for -mfma4 option.
6310         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
6311         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
6312         COMMON_CPUID_INDEX_80000001.
6313         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
6314         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
6315         use it if FMA3 is not supported.
6316         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
6317
6318         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
6319         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
6320
6321 2011-10-20  Andreas Schwab  <schwab@redhat.com>
6322
6323         [BZ #12892]
6324         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
6325         it would create a cycle with a link time dependency.
6326
6327 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
6328
6329         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
6330         instruction.
6331         * string/Makefile (strop-tests): Add rawmemchr.
6332         * string/test-rawmemchr.c: New file.
6333
6334         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
6335         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
6336         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
6337         when compiling str{,n}casecmp and when AVX is available.  Hook up
6338         new optimized code in initializers.
6339
6340 2011-10-19  Andreas Schwab  <schwab@redhat.com>
6341
6342         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
6343         __feraiseexcept instead of feraiseexcept.
6344
6345 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
6346
6347         * math/math_private.h: Define defaults for libc_fetestexcept and
6348         libc_feupdateenv.
6349         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
6350         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6351         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6352         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6353         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6354         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6355         libc_fetestexcept and libc_feupdateenv.
6356
6357         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
6358         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
6359         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
6360         * sysdeps/x86_64/fpu/math_private.h: Define special version of
6361         libc_feholdexcept_setround.
6362
6363         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
6364         Add s_nearbyint-c and s_nearbyintf-c.
6365         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
6366         nearbyintf inlines.
6367         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
6368         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
6369         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
6370         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
6371
6372         * math/math_private.h: Define defaults for libc_fegetround,
6373         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
6374         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
6375         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
6376         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
6377         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
6378         standard functions.
6379         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6380         Remove comments and hacks for old compiler versions.
6381         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6382         libc_fegetround, libc_fesetround, libc_feholdexcept, and
6383         libc_feholdexceptl.
6384
6385 2011-10-18  Andreas Schwab  <schwab@redhat.com>
6386
6387         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
6388         (__feraiseexcept_renamed): Add __NTH.
6389         (feraiseexcept): Add __NTH.  Rename local variables to fix
6390         namespace violations.
6391
6392 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
6393
6394         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
6395
6396         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
6397
6398         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
6399         recently added interfaces.
6400         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
6401
6402         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
6403         about macro parameter expansion.
6404
6405         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
6406         __NO_MATH_INLINES is defined.  Cleanups.
6407
6408         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
6409         and __floorf is target has SSE4.1.
6410         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
6411         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
6412         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
6413         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
6414
6415         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
6416         name.
6417         (floorf): Likewise.
6418
6419         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
6420
6421 2011-10-17  Andreas Schwab  <schwab@redhat.com>
6422
6423         * misc/sys/cdefs.h: Fix last change.
6424
6425         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
6426         database lookup.
6427
6428 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
6429
6430         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
6431
6432         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
6433         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6434         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6435         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6436         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6437         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6438         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6439         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6440         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6441         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
6442         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
6443         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
6444         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
6445         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
6446         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
6447         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
6448         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
6449         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
6450         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
6451         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
6452         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
6453         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
6454
6455         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
6456         ceil, ceilf, floor, floorf.
6457
6458         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
6459         Perform IRELATIVE relocations last.
6460
6461         * elf/do-rel.h: Add another parameter nrelative, replacing the
6462         local variable with the same name.  Change name of the function
6463         to end in Rel or Rela (uppercase).
6464         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
6465         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
6466         elf_dynamic_do_##reloc function.
6467
6468 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
6469
6470         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
6471         is sufficient, at least on modern CPUs.
6472
6473         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
6474
6475         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
6476         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
6477
6478         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
6479         __expl_finite.
6480         * math/bits/math-finite.h: Add entries for exp.
6481         * math/e_expl.c: Add __*_finite alias.
6482         * sysdeps/i386/fpu/e_exp.S: Likewise.
6483         * sysdeps/i386/fpu/e_expf.S: Likewise.
6484         * sysdeps/i386/fpu/e_expl.c: Likewise.
6485         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6486         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6487         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6488         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6489         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
6490         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6491         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6492
6493         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
6494         is sufficient, at least on modern CPUs.
6495
6496         * ctype/ctype-info.c (__ctype_init): Define.
6497         * include/ctype.h (__ctype_init): Declare.
6498         (__ctype_b_loc): The variable is always initialized.
6499         (__ctype_toupper_loc): Likewise.
6500         (__ctype_tolower_loc): Likewise.
6501         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
6502         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
6503
6504 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
6505
6506         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
6507
6508         * configure.in: Also look in $cxxmachine/include for C++ system
6509         headers.
6510
6511 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6512
6513         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
6514         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
6515         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
6516         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
6517         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
6518         (USE_AS_WMEMCMP): New macro.
6519         Fixing indents.
6520         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
6521         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
6522         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
6523         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
6524         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6525         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
6526         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
6527         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
6528         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
6529         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
6530         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
6531         (USE_AS_WMEMCMP): New macro.
6532         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
6533         * sysdeps/string/test-memcmp.c: Update.
6534         Fix simple_wmemcmp.
6535         Add new tests.
6536         * wcsmbs/wmemcmp.c: Update.
6537         (WMEMCMP): New macro.
6538         Fix overflow bug.
6539
6540 2011-10-12  Andreas Jaeger  <aj@suse.de>
6541
6542         [BZ #13268]
6543         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
6544
6545 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
6546
6547         * libio/iofwide.c (do_length): Avoid warning.
6548
6549         * ctype/ctype.h (__isctype_f): Add missing __THROW.
6550
6551 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
6552
6553         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
6554
6555         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
6556         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
6557         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
6558         * sysdeps/i386/i686/fpu/e_log.S: New file.
6559         * sysdeps/i386/i686/fpu/e_logf.S: New file.
6560         * sysdeps/i386/i686/fpu/e_logl.S: New file.
6561
6562         * ctype/ctype.h: Add support for inlined isXXX functions when
6563         compiling C++ code.
6564
6565 2011-10-14  Andreas Schwab  <schwab@redhat.com>
6566
6567         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6568
6569         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
6570
6571 2011-10-13  Roland McGrath  <roland@hack.frob.com>
6572
6573         [BZ #13291]
6574         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
6575
6576 2011-10-13  Andreas Schwab  <schwab@redhat.com>
6577
6578         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
6579         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
6580         feraiseexcept.
6581
6582         * sysdeps/x86_64/memrchr.S: Check for zero size.
6583
6584         * string/stratcliff.c: Add memrchr tests.
6585
6586 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6587
6588         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6589         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
6590         rawmemchr-sse2 rawmemchr-sse2-bsf.
6591         * sysdeps/i386/i686/multiarch/memchr.S: New file.
6592         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
6593         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
6594         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
6595         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
6596         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
6597         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
6598         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
6599         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
6600         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
6601         * string/memrchr.c (MEMRCHR): New macro.
6602
6603 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
6604
6605         Add integration with gcc's -ffinite-math-only and optimize wrapper
6606         functions in libm.
6607         * Versions.def: Define GLIBC_2.15 version for libm.
6608         * math/Makefile (headers): Add bits/math-finite.h.
6609         * math/bits/math-finite.h: New file.
6610         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
6611         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
6612         * math/e_acoshl.c: Add __*_finite alias.
6613         * math/e_acosl.c: Likewise.
6614         * math/e_asinl.c: Likewise.
6615         * math/e_atan2l.c: Likewise.
6616         * math/e_atanhl.c: Likewise.
6617         * math/e_coshl.c: Likewise.
6618         * math/e_exp10.c: Likewise.
6619         * math/e_exp10f.c: Likewise.
6620         * math/e_exp10l.c: Likewise.
6621         * math/e_exp2l.c: Likewise.
6622         * math/e_fmodl.c: Likewise.
6623         * math/e_gammal_r.c: Likewise.
6624         * math/e_hypotl.c: Likewise.
6625         * math/e_j0l.c: Likewise.
6626         * math/e_j1l.c: Likewise.
6627         * math/e_jnl.c: Likewise.
6628         * math/e_lgammal_r.c: Likewise.
6629         * math/e_log10l.c: Likewise.
6630         * math/e_log2l.c: Likewise.
6631         * math/e_logl.c: Likewise.
6632         * math/e_powl.c: Likewise.
6633         * math/e_sinhl.c: Likewise.
6634         * math/e_sqrtl.c: Likewise.
6635         * math/e_scalb.c: Completely rewritten and optimized.
6636         * math/e_scalbf.c: Likewise.
6637         * math/e_scalbl.c: Likewise.
6638         * math/w_acos.c: Likewise.
6639         * math/w_acosf.c: Likewise.
6640         * math/w_acosl.c: Likewise.
6641         * math/w_acosh.c: Likewise.
6642         * math/w_acoshf.c: Likewise.
6643         * math/w_acoshl.c: Likewise.
6644         * math/w_asin.c: Likewise.
6645         * math/w_asinf.c: Likewise.
6646         * math/w_asinl.c: Likewise.
6647         * math/w_atan2.c: Likewise.
6648         * math/w_atan2f.c: Likewise.
6649         * math/w_atan2l.c: Likewise.
6650         * math/w_atanh.c: Likewise.
6651         * math/w_atanhf.c: Likewise.
6652         * math/w_atanhl.c: Likewise.
6653         * math/w_exp10.c: Likewise.
6654         * math/w_exp10f.c: Likewise.
6655         * math/w_exp10l.c: Likewise.
6656         * math/w_fmod.c: Likewise.
6657         * math/w_fmodf.c: Likewise.
6658         * math/w_fmodl.c: Likewise.
6659         * math/w_j0.c: Likewise.
6660         * math/w_j0f.c: Likewise.
6661         * math/w_j0l.c: Likewise.
6662         * math/w_j1.c: Likewise.
6663         * math/w_j1f.c: Likewise.
6664         * math/w_j1l.c: Likewise.
6665         * math/w_jn.c: Likewise.
6666         * math/w_jnf.c: Likewise.
6667         * math/w_log.c: Likewise.
6668         * math/w_logf.c: Likewise.
6669         * math/w_logl.c: Likewise.
6670         * math/w_log10.c: Likewise.
6671         * math/w_log10f.c: Likewise.
6672         * math/w_log10l.c: Likewise.
6673         * math/w_log2.c: Likewise.
6674         * math/w_log2f.c: Likewise.
6675         * math/w_log2l.c: Likewise.
6676         * math/w_pow.c: Likewise.
6677         * math/w_powf.c: Likewise.
6678         * math/w_powl.c: Likewise.
6679         * math/w_remainder.c: Likewise.
6680         * math/w_remainderf.c: Likewise.
6681         * math/w_remainderl.c: Likewise.
6682         * math/w_scalb.c: Likewise.
6683         * math/w_scalbf.c: Likewise.
6684         * math/w_scalbl.c: Likewise.
6685         * math/w_sqrt.c: Likewise.
6686         * math/w_sqrtf.c: Likewise.
6687         * math/w_sqrtl.c: Likewise.
6688         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
6689         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
6690         used.
6691         * math/math_private.h: Declare __kernel_standard_f.
6692         * math/w_cosh.c: Remove cruft and optimize a bit.
6693         * math/w_coshf.c: Likewise.
6694         * math/w_coshl.c: Likewise.
6695         * math/w_exp2.c: Likewise.
6696         * math/w_exp2f.c: Likewise.
6697         * math/w_exp2l.c: Likewise.
6698         * math/w_hypot.c: Likewise.
6699         * math/w_hypotf.c: Likewise.
6700         * math/w_hypotl.c: Likewise.
6701         * math/w_lgamma.c: Likewise.
6702         * math/w_lgamma_r.c: Likewise.
6703         * math/w_lgammaf.c: Likewise.
6704         * math/w_lgammaf_r.c: Likewise.
6705         * math/w_lgammal.c: Likewise.
6706         * math/w_lgammal_r.c: Likewise.
6707         * math/w_sinh.c: Likewise.
6708         * math/w_sinhf.c: Likewise.
6709         * math/w_sinhl.c: Likewise.
6710         * math/w_tgamma.c: Likewise.
6711         * math/w_tgammaf.c: Likewise.
6712         * math/w_tgammal.c: Likewise.
6713         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6714         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6715         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
6716         Minor optimizations.  Pretty printing.  Remove cruft.
6717         * sysdeps/i386/fpu/e_acosf.S: Likewise.
6718         * sysdeps/i386/fpu/e_acosh.S: Likewise.
6719         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6720         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6721         * sysdeps/i386/fpu/e_acosl.c: Likewise.
6722         * sysdeps/i386/fpu/e_asin.S: Likewise.
6723         * sysdeps/i386/fpu/e_asinf.S: Likewise.
6724         * sysdeps/i386/fpu/e_atan2.S: Likewise.
6725         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
6726         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
6727         * sysdeps/i386/fpu/e_atanh.S: Likewise.
6728         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6729         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6730         * sysdeps/i386/fpu/e_exp10.S: Likewise.
6731         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
6732         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
6733         * sysdeps/i386/fpu/e_exp2.S: Likewise.
6734         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6735         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6736         * sysdeps/i386/fpu/e_fmod.S: Likewise.
6737         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6738         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6739         * sysdeps/i386/fpu/e_hypot.S: Likewise.
6740         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6741         * sysdeps/i386/fpu/e_log.S: Likewise.
6742         * sysdeps/i386/fpu/e_log10.S: Likewise.
6743         * sysdeps/i386/fpu/e_log10f.S: Likewise.
6744         * sysdeps/i386/fpu/e_log10l.S: Likewise.
6745         * sysdeps/i386/fpu/e_log2.S: Likewise.
6746         * sysdeps/i386/fpu/e_log2f.S: Likewise.
6747         * sysdeps/i386/fpu/e_log2l.S: Likewise.
6748         * sysdeps/i386/fpu/e_logf.S: Likewise.
6749         * sysdeps/i386/fpu/e_logl.S: Likewise.
6750         * sysdeps/i386/fpu/e_pow.S: Likewise.
6751         * sysdeps/i386/fpu/e_powf.S: Likewise.
6752         * sysdeps/i386/fpu/e_powl.S: Likewise.
6753         * sysdeps/i386/fpu/e_remainder.S: Likewise.
6754         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6755         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6756         * sysdeps/i386/fpu/e_scalb.S: Likewise.
6757         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6758         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6759         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6760         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6761         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6762         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6763         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6764         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6765         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6766         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6767         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6768         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6769         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6770         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6771         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6772         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6773         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6774         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6775         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6776         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6777         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6778         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6779         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6780         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6781         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6782         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6783         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6784         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6785         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6786         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6787         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6788         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6789         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6790         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6791         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6792         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6793         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6794         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6795         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6796         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6797         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6798         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6799         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6800         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6801         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6802         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6803         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6804         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6805         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6806         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6807         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6808         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6809         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6810         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6811         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6812         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6813         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6814         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6815         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6816         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6817         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6818         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6819         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6820         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6821         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6822         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6823         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6824         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6825         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6826         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6827         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6828         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6829         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6830         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6831         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6832         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6833         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6834         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6835         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6836         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6837         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6838         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6839         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6840         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6841         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6842         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6843         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6844         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6845         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6846         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6847         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6848         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6849         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6850         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6851         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6852         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6853         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6854         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6855         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6856         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6857         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6858         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6859         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6860         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6861         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6862         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6863         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6864         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6865         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6866         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6867         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6868         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6869         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6870         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6871         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6872         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
6873         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6874         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6875         (__isnanf): Likewise.
6876         (__isinf_ns): Likewise.
6877         (__isinf_nsf): Likewise.
6878         (__finite): Likewise.
6879         (__finitef): Likewise.
6880         (__ieee754_sqrt): Define as macro.
6881         (__ieee754_sqrtf): Define as macro.
6882         (__ieee754_sqrtl): Define as macro.
6883         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6884         inlined copy.
6885         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6886         __FINITE_MATH_ONLY__ consistent.
6887         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6888
6889 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
6890
6891         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6892         of rawmemchr.
6893
6894         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6895
6896 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
6897
6898         * po/ja.po: Update from translation team.
6899
6900 2011-10-08  Roland McGrath  <roland@hack.frob.com>
6901
6902         * locale/programs/locarchive.c (prepare_address_space): New function.
6903         (create_archive, enlarge_archive, open_archive): Use it.
6904
6905         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6906         inside [SHARED], where it is used.
6907
6908         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6909
6910         * nss/getent.c (netgroup_keys): Remove unused variable.
6911         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6912
6913 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
6914
6915         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6916         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6917         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6918         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6919         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6920         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6921         * math/Makefile (libm-calls): Add s_isinf_ns.
6922         * math/divtc3.c: Use __isinf_nsl instead of isinf.
6923         * math/multc3.c: Likewise.
6924         * math/s_casin.c: Likewise.
6925         * math/s_casinf.c: Likewise.
6926         * math/s_casinl.c: Likewise.
6927         * math/s_ccos.c: Likewise.
6928         * math/s_ccosf.c: Likewise.
6929         * math/s_ccosl.c: Likewise.
6930         * math/s_ctan.c: Likewise.
6931         * math/s_ctanf.c: Likewise.
6932         * math/s_ctanh.c: Likewise.
6933         * math/s_ctanhf.c: Likewise.
6934         * math/s_ctanhl.c: Likewise.
6935         * math/s_ctanl.c: Likewise.
6936         * math/w_fmod.c: Likewise.
6937         * math/w_fmodf.c: Likewise.
6938         * math/w_fmodl.c: Likewise.
6939         * math/w_remainder.c: Likewise.
6940         * math/w_remainderf.c: Likewise.
6941         * math/w_remainderl.c: Likewise.
6942         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6943         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6944         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6945         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6946         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6947         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6948         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6949         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6950
6951         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6952         of the number.
6953         * stdio-common/printf_fphex.c: Likewise.
6954         * stdio-common/printf_size.c: Likewise.
6955
6956         * math/e_exp10.c: Include math_private.h using <...> not "...".
6957         * math/e_exp10f.c: Likewise.
6958         * math/e_exp10l.c: Likewise.
6959         * math/e_exp2l.c: Likewise.
6960         * math/e_j0l.c: Likewise.
6961         * math/e_j1l.c: Likewise.
6962         * math/e_jnl.c: Likewise.
6963         * math/e_lgammal_r.c: Likewise.
6964         * math/e_rem_pio2l.c: Likewise.
6965         * math/e_scalb.c: Likewise.
6966         * math/e_scalbf.c: Likewise.
6967         * math/e_scalbl.c: Likewise.
6968         * math/k_cosl.c: Likewise.
6969         * math/k_sinl.c: Likewise.
6970         * math/k_tanl.c: Likewise.
6971         * math/s_cacoshf.c: Likewise.
6972         * math/s_catan.c: Likewise.
6973         * math/s_catanf.c: Likewise.
6974         * math/s_catanh.c: Likewise.
6975         * math/s_catanhf.c: Likewise.
6976         * math/s_catanhl.c: Likewise.
6977         * math/s_catanl.c: Likewise.
6978         * math/s_ccosh.c: Likewise.
6979         * math/s_ccoshf.c: Likewise.
6980         * math/s_ccoshl.c: Likewise.
6981         * math/s_cexp.c: Likewise.
6982         * math/s_cexpf.c: Likewise.
6983         * math/s_cexpl.c: Likewise.
6984         * math/s_clog.c: Likewise.
6985         * math/s_clog10.c: Likewise.
6986         * math/s_clog10f.c: Likewise.
6987         * math/s_clog10l.c: Likewise.
6988         * math/s_clogf.c: Likewise.
6989         * math/s_clogl.c: Likewise.
6990         * math/s_csin.c: Likewise.
6991         * math/s_csinf.c: Likewise.
6992         * math/s_csinh.c: Likewise.
6993         * math/s_csinhf.c: Likewise.
6994         * math/s_csinhl.c: Likewise.
6995         * math/s_csinl.c: Likewise.
6996         * math/s_csqrt.c: Likewise.
6997         * math/s_csqrtf.c: Likewise.
6998         * math/s_csqrtl.c: Likewise.
6999         * math/s_ctan.c: Likewise.
7000         * math/s_ctanf.c: Likewise.
7001         * math/s_ctanh.c: Likewise.
7002         * math/s_ctanhf.c: Likewise.
7003         * math/s_ctanhl.c: Likewise.
7004         * math/s_ctanl.c: Likewise.
7005         * math/s_ldexp.c: Likewise.
7006         * math/s_ldexpf.c: Likewise.
7007         * math/s_ldexpl.c: Likewise.
7008         * math/s_significand.c: Likewise.
7009         * math/s_significandf.c: Likewise.
7010         * math/s_significandl.c: Likewise.
7011         * math/w_acos.c: Likewise.
7012         * math/w_acosf.c: Likewise.
7013         * math/w_acosh.c: Likewise.
7014         * math/w_acoshf.c: Likewise.
7015         * math/w_acoshl.c: Likewise.
7016         * math/w_acosl.c: Likewise.
7017         * math/w_asin.c: Likewise.
7018         * math/w_asinf.c: Likewise.
7019         * math/w_asinl.c: Likewise.
7020         * math/w_atan2.c: Likewise.
7021         * math/w_atan2f.c: Likewise.
7022         * math/w_atan2l.c: Likewise.
7023         * math/w_atanh.c: Likewise.
7024         * math/w_atanhf.c: Likewise.
7025         * math/w_atanhl.c: Likewise.
7026         * math/w_cosh.c: Likewise.
7027         * math/w_coshf.c: Likewise.
7028         * math/w_coshl.c: Likewise.
7029         * math/w_dremf.c: Likewise.
7030         * math/w_exp10.c: Likewise.
7031         * math/w_exp10f.c: Likewise.
7032         * math/w_exp10l.c: Likewise.
7033         * math/w_exp2.c: Likewise.
7034         * math/w_exp2f.c: Likewise.
7035         * math/w_fmod.c: Likewise.
7036         * math/w_fmodf.c: Likewise.
7037         * math/w_fmodl.c: Likewise.
7038         * math/w_hypot.c: Likewise.
7039         * math/w_hypotf.c: Likewise.
7040         * math/w_hypotl.c: Likewise.
7041         * math/w_j0.c: Likewise.
7042         * math/w_j0f.c: Likewise.
7043         * math/w_j0l.c: Likewise.
7044         * math/w_j1.c: Likewise.
7045         * math/w_j1f.c: Likewise.
7046         * math/w_j1l.c: Likewise.
7047         * math/w_jn.c: Likewise.
7048         * math/w_jnf.c: Likewise.
7049         * math/w_jnl.c: Likewise.
7050         * math/w_lgamma.c: Likewise.
7051         * math/w_lgamma_r.c: Likewise.
7052         * math/w_lgammaf.c: Likewise.
7053         * math/w_lgammaf_r.c: Likewise.
7054         * math/w_lgammal.c: Likewise.
7055         * math/w_lgammal_r.c: Likewise.
7056         * math/w_log.c: Likewise.
7057         * math/w_log10.c: Likewise.
7058         * math/w_log10f.c: Likewise.
7059         * math/w_log10l.c: Likewise.
7060         * math/w_log2.c: Likewise.
7061         * math/w_log2f.c: Likewise.
7062         * math/w_log2l.c: Likewise.
7063         * math/w_logf.c: Likewise.
7064         * math/w_logl.c: Likewise.
7065         * math/w_pow.c: Likewise.
7066         * math/w_powf.c: Likewise.
7067         * math/w_powl.c: Likewise.
7068         * math/w_remainder.c: Likewise.
7069         * math/w_remainderf.c: Likewise.
7070         * math/w_remainderl.c: Likewise.
7071         * math/w_scalb.c: Likewise.
7072         * math/w_scalbf.c: Likewise.
7073         * math/w_scalbl.c: Likewise.
7074         * math/w_sinh.c: Likewise.
7075         * math/w_sinhf.c: Likewise.
7076         * math/w_sinhl.c: Likewise.
7077         * math/w_sqrt.c: Likewise.
7078         * math/w_sqrtf.c: Likewise.
7079         * math/w_sqrtl.c: Likewise.
7080         * math/w_tgamma.c: Likewise.
7081         * math/w_tgammaf.c: Likewise.
7082         * math/w_tgammal.c: Likewise.
7083
7084         * po/ja.po: Update from translation team.
7085
7086 2011-09-29  Andreas Jaeger  <aj@suse.de>
7087
7088         [BZ #13179]
7089         * sunrpc/netname.c (netname2host): Fix logic.
7090
7091         [BZ #6779]
7092         [BZ #6783]
7093         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
7094         correctly.
7095         * math/w_remainder.c (__remainder): Likewise.
7096         * math/w_remainderf.c (__remainderf): Likewise.
7097         * math/libm-test.inc (remainder_test): Add test cases.
7098
7099 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7100
7101         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
7102         sdiv_qrnnd.
7103
7104 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
7105
7106         * string/test-memcmp.c: Avoid unncessary #defines.
7107         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7108
7109 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7110
7111         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
7112         Use new sse2 version for core i3 - i7 as it's faster
7113         than sse42 version.
7114         (bit_Prefer_PMINUB_for_stringop): New.
7115         * sysdeps/x86_64/rawmemchr.S: Update.
7116         Replace with faster SSE2 version.
7117         * sysdeps/x86_64/memrchr.S: New file.
7118         * sysdeps/x86_64/memchr.S: Update.
7119         Replace with faster SSE2 version.
7120
7121 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
7122
7123         * elf/dl-load.c (lose): Add cast to avoid warning.
7124
7125 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
7126
7127         * po/ca.po: Update from translation team.
7128
7129         * inet/getnetgrent_r.c: Hook up nscd.
7130         * nscd/Makefile (routines): Add nscd_netgroup.
7131         (nscd-modules): Add netgroupcache.
7132         (CFLAGS-netgroupcache.c): Define.
7133         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
7134         (cache_search): Add const to second parameter.
7135         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
7136         INNETGR.
7137         (dbs): Add netgrdb entry.
7138         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
7139         (verify_persistent_db): Handle netgrdb.
7140         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
7141         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
7142         GETFDNETGR.
7143         (netgroup_response_header): Define.
7144         (innetgroup_response_header): Define.
7145         (datahead): Add netgroup_response_header and innetgroup_response_header
7146         elements.
7147         * nscd/nscd.conf: Add entries for netgroup cache.
7148         * nscd/nscd.h (dbtype): Add netgrdb.
7149         (_PATH_NSCD_NETGROUP_DB): Define.
7150         (netgroup_iov_disabled): Declare.
7151         (xmalloc, xcalloc, xrealloc): Move declarations here.
7152         (cache_search): Adjust prototype.
7153         Add netgroup-related prototypes.
7154         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
7155         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
7156         (__nscd_innetgr): Declare.
7157         * nscd/selinux.c (perms): Use access_vector_t as element type and
7158         add netgroup-related initializers.
7159         * nscd/netgroupcache.c: New file.
7160         * nscd/nscd_netgroup.c: New file.
7161         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
7162         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
7163         For four parameters use innetgr.
7164         * nss/nss_files/files-init.c: Add definition and callback for netgr.
7165         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
7166         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
7167         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
7168
7169         * nscd/connections.c (register_traced_file): Don't register file
7170         for disabled databases.
7171
7172 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
7173
7174         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
7175
7176         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
7177         from tree and freeing node.
7178
7179 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
7180
7181         * nss/nsswitch.c (__nss_database_lookup): Handle
7182         nss_parse_service_list out of memory case.
7183
7184 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
7185
7186         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
7187         out of memory case.
7188
7189 2011-10-04  Andreas Schwab  <schwab@redhat.com>
7190
7191         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
7192         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
7193         pass it down.
7194         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
7195         elf_machine_rela, elf_machine_lazy_rel.
7196         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
7197         (ELF_DYNAMIC_DO_REL): Likewise.
7198         (ELF_DYNAMIC_DO_RELA): Likewise.
7199         (ELF_DYNAMIC_RELOCATE): Likewise.
7200         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
7201         to ELF_DYNAMIC_DO_REL.
7202         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
7203         (dl_main): In trace mode always set __RTLD_NOIFUNC.
7204         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
7205         elf_machine_rela.
7206         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
7207         skip_ifunc, don't call ifunc function if non-zero.
7208         (elf_machine_rela): Likewise.
7209         (elf_machine_lazy_rel): Likewise.
7210         (elf_machine_lazy_rela): Likewise.
7211         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
7212         (elf_machine_lazy_rel): Likewise.
7213         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
7214         Likewise.
7215         (elf_machine_lazy_rel): Likewise.
7216         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7217         Likewise.
7218         (elf_machine_lazy_rel): Likewise.
7219         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
7220         (elf_machine_lazy_rel): Likewise.
7221         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
7222         (elf_machine_lazy_rel): Likewise.
7223         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7224         (elf_machine_lazy_rel): Likewise.
7225         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7226         (elf_machine_lazy_rel): Likewise.
7227         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7228         (elf_machine_lazy_rel): Likewise.
7229         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7230         (elf_machine_lazy_rel): Likewise.
7231
7232 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
7233
7234         * nss/nss_files/files-init.c (_nss_files_init): Use static
7235         initialization for all the *_traced_file variables.
7236
7237 2011-09-28  Andreas Schwab  <schwab@redhat.com>
7238
7239         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7240
7241 2011-09-27  Roland McGrath  <roland@hack.frob.com>
7242
7243         [BZ #13226]
7244         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
7245
7246 2011-09-27  Andreas Schwab  <schwab@redhat.com>
7247
7248         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7249         Reread the line before reparsing it.
7250
7251 2011-09-26  Andreas Schwab  <schwab@redhat.com>
7252
7253         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
7254
7255 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
7256             Maxim Kuvyrkov  <maxim@codesourcery.com>
7257             Joseph Myers  <joseph@codesourcery.com>
7258
7259         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
7260         if needed for __stack_chk_guard.
7261
7262 2011-09-19  Roland McGrath  <roland@hack.frob.com>
7263
7264         * sysdeps/posix/spawni.c (script_execute): Always define it.
7265         It will be optimized away if unused.
7266         (maybe_script_execute): New function.
7267         (__spawni): Call it.
7268
7269         * Makerules: Don't include tls.make.
7270         (config-tls): Always set to thread.
7271         * tls.make.c: File removed.
7272
7273 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
7274
7275         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
7276         * config.make.in (CPPFLAGS-config): New substituted variable.
7277
7278 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
7279
7280         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
7281
7282         [BZ #13192]
7283         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
7284         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
7285
7286 2011-09-15  Roland McGrath  <roland@hack.frob.com>
7287
7288         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
7289         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
7290         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
7291         (CALL_FAIL): Likewise.
7292         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
7293         (CALL_FAIL): Macro removed.
7294         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
7295
7296 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
7297
7298         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
7299         for __FINITE_MATH_ONLY__ == 1.
7300
7301 2011-09-15  Andreas Schwab  <schwab@redhat.com>
7302
7303         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
7304         __ieee754_sqrt instead of sqrt.
7305         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
7306         __ieee754_sqrtf instead of sqrtf.
7307         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7308         __floorf instead of floorf.
7309         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
7310         __floorf, __truncf instead of floorf, truncf.
7311
7312 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
7313
7314         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
7315
7316         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
7317         __extern_always_inline.
7318         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
7319         32-bit.
7320
7321 2011-09-14  Andreas Schwab  <schwab@redhat.com>
7322
7323         * elf/rtld.c (dl_main): Also relocate in dependency order when
7324         doing symbol dependency testing.
7325
7326 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
7327
7328         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7329         Always define `refsym'.
7330
7331 2011-09-13  Andreas Schwab  <schwab@redhat.com>
7332
7333         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
7334         (__FD_ELT): Renamed from __FDELT.
7335         * misc/bits/select2.h (__FD_ELT): Likewise.
7336         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
7337         __FD_MASK instead of __FDELT, __FDMASK.
7338         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7339         Likewise.
7340         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7341         Likewise.
7342
7343         * elf/Makefile (gen-ldd): Fix pattern.
7344
7345         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
7346         (init_tls): Likewise.
7347
7348 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
7349
7350         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
7351
7352 2011-09-12  Andreas Schwab  <schwab@redhat.com>
7353
7354         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
7355         `struct cmsghdr *' instead of `void *'.
7356         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
7357         Likewise.
7358
7359 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
7360
7361         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
7362         if non-absolute.
7363         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
7364         ldd_rewrite_script.
7365
7366 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
7367
7368         * configure.in: Remove --with-tls option.
7369         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
7370         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
7371         out in case it is missing.
7372         * sysdeps/ia64/elf/configure.in: Likewise.
7373         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
7374         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
7375         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
7376         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
7377         * sysdeps/sh/elf/configure.in: Likewise.
7378         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
7379         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7380         * sysdeps/x86_64/elf/configure.in: Likewise.
7381         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
7382         * sysdeps/mach/hurd/tls.h: Likewise.
7383
7384         [BZ #13067]
7385         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
7386
7387         [BZ #13090]
7388         * configure.in: Fix use of AC_INIT.
7389
7390         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
7391
7392 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
7393
7394         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
7395         __set_errno.
7396         * malloc/hooks.c: Likewise.
7397
7398         [BZ #11929]
7399         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
7400         variables statically.
7401         (narenas): Initialize.
7402         (list_lock): Initialize.
7403         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
7404         initializtion of main_arena and list_lock.  Small cleanups.
7405         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
7406         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
7407         Add initializers to main_arena and mp_.
7408         (malloc_state): Remove pagesize member.  Change all users to use
7409         GLRO(dl_pagesize).
7410
7411         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
7412         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
7413         is always initialized.
7414
7415         * malloc/malloc.c: Removed unused configurations and dead code.
7416         * malloc/arena.c: Likewise.
7417         * malloc/hooks.c: Likewise.
7418         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
7419
7420         * include/tls.h: Removed.  USE___THREAD must always be defined.
7421         * bits/libc-tsd.h: Don't handle !USE___THREAD.
7422         * elf/dl-libc.c: Likewise.
7423         * elf/dl-tsd.c: Likewise.
7424         * include/errno.h: Likewise.
7425         * include/netdb.h: Likewise.
7426         * include/resolv.h: Likewise.
7427         * inet/herrno-loc.c: Likewise.
7428         * inet/herrno.c: Likewise.
7429         * malloc/arena.c: Likewise.
7430         * malloc/hooks.c: Likewise.
7431         * malloc/malloc.c: Likewise.
7432         * resolv/res-state.c: Likewise.
7433         * resolv/res_libc.c: Likewise.
7434         * sysdeps/i386/dl-machine.h: Likewise.
7435         * sysdeps/ia64/dl-machine.h: Likewise.
7436         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7437         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7438         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7439         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7440         * sysdeps/sh/dl-machine.h: Likewise.
7441         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7442         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7443         * sysdeps/unix/i386/sysdep.S: Likewise.
7444         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7445         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7446         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7447         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7448         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7449         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7450         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7451         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7452         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7453         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7454         * sysdeps/unix/x86_64/sysdep.S: Likewise.
7455         * sysdeps/x86_64/dl-machine.h: Likewise.
7456         * tls.make.c: Likewise.
7457
7458         * configure.in: Remove --with-__thread option.  Make tests for
7459         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
7460         tls_model attribute fail if no support is available.  Remove
7461         USE_IN_LIBIO.
7462         * Makeconfig: Adjust for dropped configure option.  All features are
7463         now mandatory.
7464         * Makerules: Likewise.
7465         * Versions.def: Likewise.
7466         * argp/argp-fmtstream.c: Likewise.
7467         * argp/argp-fmtstream.h: Likewise.
7468         * argp/argp-help.c: Likewise.
7469         * assert/assert.c: Likewise.
7470         * config.h.in: Likewise.
7471         * config.make.in: Likewise.
7472         * configure: Likewise.
7473         * configure.in: Likewise.
7474         * csu/Versions: Likewise.
7475         * csu/init.c: Likewise.
7476         * elf/tst-audit2.c: Likewise.
7477         * elf/tst-tls10.c: Likewise.
7478         * elf/tst-tls10.h: Likewise.
7479         * elf/tst-tls11.c: Likewise.
7480         * elf/tst-tls12.c: Likewise.
7481         * elf/tst-tls14.c: Likewise.
7482         * elf/tst-tlsmod11.c: Likewise.
7483         * elf/tst-tlsmod12.c: Likewise.
7484         * elf/tst-tlsmod13.c: Likewise.
7485         * elf/tst-tlsmod13a.c: Likewise.
7486         * elf/tst-tlsmod14a.c: Likewise.
7487         * elf/tst-tlsmod15b.c: Likewise.
7488         * elf/tst-tlsmod16a.c: Likewise.
7489         * elf/tst-tlsmod16b.c: Likewise.
7490         * elf/tst-tlsmod7.c: Likewise.
7491         * elf/tst-tlsmod8.c: Likewise.
7492         * elf/tst-tlsmod9.c: Likewise.
7493         * gmon/gmon.c: Likewise.
7494         * grp/fgetgrent_r.c: Likewise.
7495         * grp/putgrent.c: Likewise.
7496         * hurd/fopenport.c: Likewise.
7497         * include/libc-symbols.h: Likewise.
7498         * include/tls.h: Likewise.
7499         * intl/gettextP.h: Likewise.
7500         * intl/loadinfo.h: Likewise.
7501         * locale/global-locale.c: Likewise.
7502         * locale/localeinfo.h: Likewise.
7503         * mach/devstream.c: Likewise.
7504         * malloc/arena.c: Likewise.
7505         * malloc/set-freeres.c: Likewise.
7506         * misc/err.c: Likewise.
7507         * misc/getttyent.c: Likewise.
7508         * misc/mntent_r.c: Likewise.
7509         * posix/getopt.c: Likewise.
7510         * posix/wordexp.c: Likewise.
7511         * pwd/fgetpwent_r.c: Likewise.
7512         * resolv/Versions: Likewise.
7513         * resolv/res_hconf.c: Likewise.
7514         * shadow/fgetspent_r.c: Likewise.
7515         * shadow/putspent.c: Likewise.
7516         * stdio-common/printf_fphex.c: Likewise.
7517         * stdio-common/tmpfile.c: Likewise.
7518         * stdlib/abort.c: Likewise.
7519         * stdlib/fmtmsg.c: Likewise.
7520         * sunrpc/auth_unix.c: Likewise.
7521         * sunrpc/clnt_perr.c: Likewise.
7522         * sunrpc/clnt_tcp.c: Likewise.
7523         * sunrpc/clnt_udp.c: Likewise.
7524         * sunrpc/clnt_unix.c: Likewise.
7525         * sunrpc/openchild.c: Likewise.
7526         * sunrpc/svc_simple.c: Likewise.
7527         * sunrpc/svc_tcp.c: Likewise.
7528         * sunrpc/svc_udp.c: Likewise.
7529         * sunrpc/svc_unix.c: Likewise.
7530         * sunrpc/xdr.c: Likewise.
7531         * sunrpc/xdr_array.c: Likewise.
7532         * sunrpc/xdr_rec.c: Likewise.
7533         * sunrpc/xdr_ref.c: Likewise.
7534         * sunrpc/xdr_stdio.c: Likewise.
7535
7536 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
7537
7538         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7539
7540 2011-07-03  Andreas Jaeger  <aj@suse.de>
7541
7542         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
7543         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
7544         regenerate with gen-libm-tests.pl.
7545
7546 2010-05-12  Petr Baudis  <pasky@suse.cz>
7547
7548         [BZ #11589]
7549         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
7550         around j0() zero points by switching to j1().
7551         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7552         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7553         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7554         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7555
7556 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
7557
7558         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
7559         instead of 0.
7560         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
7561         instead of 0.                              .
7562         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7563         Patch in part by Pavel Roskin <proski@gnu.org>.
7564
7565         [BZ #13138]
7566         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
7567         realloc.
7568         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
7569         Free memory block if necessary.
7570
7571         [BZ #12847]
7572         * libio/genops.c (INTDEF): For string streams the _lock pointer can
7573         be NULL.  Don't lock in this case.
7574
7575 2011-09-09  Roland McGrath  <roland@hack.frob.com>
7576
7577         * elf/elf.h (ELFOSABI_GNU): New macro.
7578         (ELFOSABI_LINUX): Define to that.
7579
7580 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
7581
7582         * string/strncat.c (strncat): Undef the symbol in case it has been
7583         defined in bits/string.h.
7584
7585 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
7586
7587         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
7588
7589         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
7590         link map.
7591
7592 2011-08-17  Andreas Jaeger  <aj@suse.de>
7593
7594         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
7595
7596 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
7597             Ian Lance Taylor  <iant@google.com>
7598
7599         * math/libm-test.inc (lround_test): New testcase.
7600         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
7601
7602 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
7603
7604         * Makefile: Remove support for automatic cvs check-ins.
7605         * Makerules: Likewise.
7606         * config.make.in: Likewise.
7607         * configure.in: Likewise.
7608         * intl/Makefile: Likewise.
7609         * locale/Makefile: Likewise.
7610         * po/Makefile: Likewise.
7611         * posix/Makefile: Likewise.
7612         * sysdeps/gnu/Makefile: Likewise.
7613         * sysdeps/mach/hurd/Makefile: Likewise.
7614         * sysdeps/sparc/sparc32/Makefile: Likewise.
7615
7616         [BZ #13118]
7617         * posix/Makefile (bug-regex32-ENV): Define.
7618         Patch by John Stanley <jpsinthemix@verizon.net>.
7619
7620         * misc/Makefile (headers): Add bits/select2.h.
7621         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
7622         * misc/bits/select2.h: New file.
7623         * include/bits/select2.h: New file.
7624         * debug/Makefile (routines): Add fdelt_chk.
7625         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
7626         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
7627         FD_ISSET.
7628         * debug/fdelt_chk.c: New file.
7629
7630         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
7631         * wcsmbs/test-wmemcmp.c: Likewise.
7632         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
7633         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
7634
7635 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7636
7637         * string/Makefile (strop-tests): Add memcmp.
7638         * string/test-wmemcmp.c: New file.
7639         * string/test-memcmp.c: Add wmemcmp support.
7640
7641 2011-09-08  Roland McGrath  <roland@hack.frob.com>
7642
7643         [BZ #13153]
7644         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
7645         2011-07-19 change.
7646
7647         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
7648         garbage value in a __mach_port_mod_refs call in the cases of the
7649         task-self and thread-self ports.
7650
7651 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7652
7653         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
7654
7655 2011-09-08  Andreas Schwab  <schwab@redhat.com>
7656
7657         * elf/dl-load.c (lose): Check for non-null L.
7658
7659 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
7660
7661         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
7662
7663         * elf/dl-libc.c (dlerror_run): Pass back error code from
7664         dl_catch_error.
7665
7666         [BZ #13123]
7667         * elf/dl-load.c (lose): Free l_origin if it is valid.
7668
7669         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
7670         names.
7671         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7672         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7673         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7674         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7675         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7676         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
7677
7678 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7679
7680         * sysdeps/powerpc/fpu/e_hypot.c: New file.
7681         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
7682         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
7683         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
7684         * sysdeps/powerpc/fpu/k_cosf.c: New file.
7685         * sysdeps/powerpc/fpu/k_sinf.c: New file.
7686         * sysdeps/powerpc/fpu/s_cosf.c: New file.
7687         * sysdeps/powerpc/fpu/s_sinf.c: New file.
7688         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
7689         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
7690
7691 2011-08-15  Alan Modra  <amodra@gmail.com>
7692
7693         [BZ #13092]
7694         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
7695         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
7696         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
7697         ppc_mcount to static-only-routines.
7698         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
7699         __mcount_internal.
7700         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
7701         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
7702
7703 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
7704
7705         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
7706         for finite and infinity parameters.
7707
7708 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
7709
7710         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
7711         and add nop instructions for throughput optimization.
7712         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7713
7714 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
7715
7716         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
7717         aligned copy for power7 with vector-scalar instructions.
7718         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7719
7720 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
7721
7722         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
7723         AVX check.
7724
7725 2011-09-07  Andreas Schwab  <schwab@redhat.com>
7726
7727         [BZ #13144]
7728         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
7729         last change.
7730
7731 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
7732
7733         * sysdeps/unix/sysv/linux/x86_64/init-first.c
7734         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7735         syscall wrapper around clock_gettime in __vdso_clock_gettime.
7736         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7737         clock_gettime.
7738
7739 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
7740
7741         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7742         Forgot to demangle the pointer.
7743
7744         * sysdeps/i386/sysdep.h: Define atom_text_section.
7745         * sysdeps/x86_64/sysdep.h: Likewise.
7746         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7747         section with atom_text_section.
7748         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7749         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7750         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7751         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7752         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7753
7754         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7755         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7756         already be defined.  Change to take two parameters and don't assign
7757         result to variable.  Adjust all users.
7758         Define INTERNAL_GETTIME if not already defined.
7759         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7760         call.
7761         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7762         HAVE_CLOCK_GETTIME_VSYSCALL.
7763         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7764
7765         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7766         gettimeofday vsyscall, just use time.
7767
7768 2011-09-06  Andreas Schwab  <schwab@redhat.com>
7769
7770         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7771         <errno.h>.
7772
7773 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
7774
7775         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7776         syscall on x86-64.
7777         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7778         syscall.
7779         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7780         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7781         syscall if possible.
7782
7783 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
7784
7785         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7786         e_ident.  Don't pass to find_mapsXX.
7787         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7788
7789 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7790
7791         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7792         strchr-sse2-no-bsf strrchr-sse2-no-bsf
7793         * sysdeps/x86_64/multiarch/strchr.S: Update.
7794         Check bit_slow_BSF bit.
7795         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7796         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7797         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7798
7799 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
7800
7801         [BZ #13134]
7802         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7803         before glibc 2.15.
7804         (tryshell): Define.
7805         (__spawni): Change last parameter to be flag.  Test
7806         SPAWN_XFLAGS_USE_PATH flag to use path or not.
7807         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7808         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7809         * posix/spawni.c: Likewise.
7810         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7811         * posix/spawnp.c: Likewise.  Change normal version to use
7812         SPAWN_XFLAGS_USE_PATH.
7813         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7814         SPAWN_XFLAGS_TRY_SHELL.
7815
7816         [BZ #13150]
7817         * posix/glob.h: Remove gcc 1.x support.
7818
7819         [BZ #13068]
7820         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7821
7822 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7823
7824         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7825         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7826         strrchr-sse2-bsf
7827         * sysdeps/i386/i686/multiarch/strchr.S: New file.
7828         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7829         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7830         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7831         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7832         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7833
7834 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7835
7836         * sysdeps/x86_64/wcscmp.S: New file.
7837
7838         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7839         wcscmp-c wcscmp-sse2
7840         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7841         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7842         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7843         * wcsmbs/wcscmp.c: Allow renaming.
7844
7845 2011-09-05  David S. Miller  <davem@davemloft.net>
7846
7847         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7848         stack slot, rather than the struct return pointer slot.
7849         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7850         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7851         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7852         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7853
7854 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
7855
7856         * po/ja.po: Update from translation team.
7857
7858         [BZ #13144]
7859         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7860         kernel in 64-bit binaries.
7861
7862 2011-09-01  David S. Miller  <davem@davemloft.net>
7863
7864         * elf/elf.h (HWCAP_SPARC_*): Move to..
7865         * sysdeps/sparc/sysdep.h: this new file and add new values.
7866         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7867         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7868         _DL_HWCAP_COUNT to 24.
7869         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7870         entries.
7871         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7872         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7873         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7874         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7875         instead of magic constants.
7876         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7877
7878 2011-08-31  David S. Miller  <davem@davemloft.net>
7879
7880         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7881         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7882         Reimplement to do errno handling inline.
7883         (SYSCALL_ERROR_HANDLER): New macro.
7884         (__SYSCALL_STRING): Do not do errno handling in asm.
7885         (__CLONE_SYSCALL_STRING): Delete.
7886         (__INTERNAL_SYSCALL_STRING): Delete.
7887         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7888         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7889         (PSEUDO): Reimplement to do errno handling inline.
7890         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7891         (SYSCALL_ERROR_HANDLER): New macro.
7892         (__SYSCALL_STRING): Do not do errno handling in asm.
7893         (__CLONE_SYSCALL_STRING): Delete.
7894         (__INTERNAL_SYSCALL_STRING): Delete.
7895         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7896         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7897         i386.
7898         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7899         (inline_syscall*): Add 'err' argument.
7900         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7901         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7902         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7903         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7904
7905         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7906         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7907
7908 2011-08-30  Andreas Schwab  <schwab@redhat.com>
7909
7910         * elf/rtld.c (dl_main): Relocate objects in dependency order.
7911
7912 2011-08-29  Jiri Olsa <jolsa@redhat.com>
7913
7914         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7915         directive.
7916
7917 2011-08-24  David S. Miller  <davem@davemloft.net>
7918
7919         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7920
7921 2011-08-24  Andreas Schwab  <schwab@redhat.com>
7922
7923         * elf/Makefile: Add rules to build and run unload8 test.
7924         * elf/unload8.c: New file.
7925         * elf/unload8mod1.c: New file.
7926         * elf/unload8mod1x.c: New file.
7927         * elf/unload8mod2.c: New file.
7928         * elf/unload8mod3.c: New file.
7929
7930         * elf/dl-close.c (_dl_close_worker): Reset private search list if
7931         it wasn't used.
7932
7933 2011-08-23  David S. Miller  <davem@davemloft.net>
7934
7935         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7936         subtract stack bias.
7937         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7938         %sp not %fp in calculations.
7939         (_JMPBUF_UNWINDS_ADJ): Likewise.
7940
7941         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7942         (aio_suspend): Call it to force an exception region around the
7943         AIO_MISC_WAIT() invocation.
7944
7945 2011-08-23  Andreas Schwab  <schwab@redhat.com>
7946
7947         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7948         backslash.
7949
7950 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
7951
7952         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7953         protection macro.
7954         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7955         and <dl-machine.h>.
7956         (Elf64_FuncDesc): Remove.
7957
7958 2011-08-22  David S. Miller  <davem@davemloft.net>
7959
7960         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7961         sigaltstack check, add missing cfi directives.
7962         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7963         missing cfi directives, and sigaltstack handling.
7964
7965 2011-08-16  Andreas Schwab  <schwab@redhat.com>
7966
7967         [BZ #11724]
7968         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7969         object is seen twice.
7970         * elf/dl-fini.c (_dl_sort_fini): Likewise.
7971
7972         * elf/Makefile (distribute): Add tst-initorder2.c.
7973         (tests): Add tst-initorder2.
7974         (modules-names): Add tst-initorder2a tst-initorder2b
7975         tst-initorder2c tst-initorder2d.  Add rules to build them.
7976         ($(objpfx)tst-initorder2.out): New rule.
7977         * elf/tst-initorder2.c: New file.
7978         * elf/tst-initorder2.exp: New file.
7979
7980 2011-08-22  Andreas Schwab  <schwab@redhat.com>
7981
7982         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7983
7984         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7985         dependencies back to end of function.
7986
7987         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7988         $(elfobjdir)/ld.so.
7989
7990 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
7991
7992         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7993         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7994         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
7995         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
7996         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
7997         of __vdso_gettimeofday.
7998         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
7999         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
8000         attribute_hidden.
8001         (_libc_vdso_platform_setup): Remove initialization of
8002         __vdso_gettimeofday and __vdso_time.
8003
8004 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
8005
8006         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
8007         and fgetc_unlocked.
8008         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
8009         getc_unlocked.
8010
8011         * elf/dl-open.c (add_to_global): Report additions to the global scope
8012         for LD_DEBUG=scopes.
8013         (dl_open_worker): Also print scope of newly loaded dependencies.
8014         (_dl_show_scope): Indicate if there is no scope.
8015
8016         [BZ #13114]
8017         * stdio-common/Makefile (tests): Add bug24.
8018         * stdio-common/bug24.c: New file.
8019
8020 2011-08-19  Andreas Jaeger  <aj@suse.de>
8021
8022         [BZ #13114]
8023         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
8024         non-existant file when using close-on-exec mode.
8025
8026 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
8027
8028         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
8029         the very first instruction.
8030
8031         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
8032         the CFI state in the end.
8033         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
8034         inclusion of dl-trampoline.h.
8035         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
8036
8037 2011-08-19  Andreas Schwab  <schwab@redhat.com>
8038
8039         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
8040         expectations for long double.
8041
8042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
8043         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
8044
8045 2011-08-14  David S. Miller  <davem@davemloft.net>
8046
8047         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
8048         artificual limit depends upon the system page size.
8049
8050 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
8051
8052         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
8053         * resolv/Makefile: Define CFLAGS-libresolv.
8054
8055 2011-08-17  Andreas Schwab  <schwab@redhat.com>
8056
8057         * nss/makedb.c (compute_tables): Make variables used in nested
8058         function static.
8059
8060 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
8061
8062         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
8063         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
8064         if buffer was too small.
8065
8066         * elf/pldd.c (main): Attach to all threads in the process.
8067         Rewrite /proc handling to use *at functions.
8068
8069 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
8070
8071         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
8072         specifies first scope to show.
8073         (dl_open_worker): Update callers.  Move printing scope of new
8074         object to before the relocation.
8075         * elf/rtld.c (dl_main): Update _dl_show_scope call.
8076         * sysdeps/generic/ldsodefs.h: Update declaration.
8077
8078         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
8079         string for the scope number.
8080
8081 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
8082
8083         * nscd/servicescache.c (cache_addserv): Make sure written is always
8084         initialized.
8085
8086 2011-08-14  Roland McGrath  <roland@hack.frob.com>
8087
8088         * sysdeps/i386/i486/bits/atomic.h
8089         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
8090         statement expression, so as to suppress "set but not used" warning.
8091         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
8092
8093         * string/strncat.c (STRNCAT): Use prototype definition.
8094
8095         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
8096         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
8097         -Iprograms here.
8098         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
8099         (localedef-modules): Add localedef.
8100         (locale-modules): Add locale.
8101
8102         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
8103         * elf/rtld.c (dl_main): Invert order of assignment in last change,
8104         to avoid a warning.
8105
8106 2011-08-14  David S. Miller  <davem@davemloft.net>
8107
8108         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
8109         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
8110
8111 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
8112
8113         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
8114         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
8115         * elf/rtld.c (dl_main): Set l_name of vDSO.
8116         Call _dl_show_scope when DL_DEBUG_SCOPES.
8117         (process_dl_debug): Recognize scopes flag and also set it for all.
8118         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
8119         Declare _dl_show_scope.
8120
8121         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
8122         (do_dlopen): Pass caller_dlopen to dl_open.
8123         (__libc_dlopen_mode): Initialize caller_dlopen.
8124
8125         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
8126         of libc.  Make tolower call locale-independent.  Optimize a bit by
8127         using isdigit instead of isalnum.
8128         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
8129
8130 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
8131
8132         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
8133         was a dependency or dynamically loaded.
8134
8135 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
8136
8137         * intl/l10nflist.c: Allow architecture-specific pop function.
8138         * sysdeps/x86_64/l10nflist.c: New file.
8139
8140         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
8141         classification.
8142
8143 2011-08-10  Andreas Schwab  <schwab@redhat.com>
8144
8145         * include/dirent.h: Add libc_hidden_proto for scandirat and
8146         scandirat64.  Don't declare __scandirat64.
8147         * dirent/scandirat.c: Add libc_hidden_def.
8148         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
8149         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
8150
8151 2011-08-10  David S. Miller  <davem@davemloft.net>
8152
8153         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
8154         enum.
8155         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8156         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8157         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8158
8159 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
8160
8161         * Versions.def [libc]: Add GLIBC_2.15.
8162         * dirent/Makefile (routines): Add scandirat and scandirat64.
8163         * dirent/Versions [libc]: Export scandirat and scandirat64 for
8164         GLIBC_2.15.
8165         * dirent/dirent.h: Declare scandirat and scandirat64.
8166         * dirent/scandirat.c: New file.
8167         * dirent/scandirat64.c: New file.
8168         * sysdeps/wordsize-64/scandirat.c: New file.
8169         * sysdeps/wordsize-64/scandirat64.c: New file.
8170         * dirent/opendir.c: Define opendirat.
8171         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
8172         using scandirat.
8173         * dirent/scandir64.c: Adjust for scandir.c change.
8174         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
8175         __scandirat64, and __scandir_cancel_handler.
8176         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
8177         additional parameter and use openat instead of open (outside of ld.so).
8178         Add new __opendir as wrapper around __opendirat.
8179         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
8180         here without requiring old scandirat implementation.
8181
8182 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
8183
8184         * dirent/scandir.c (cancel_handler): Renamed to
8185         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
8186         defined.  Adjust users.
8187         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
8188         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
8189
8190 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
8191
8192         * string/test-string.h (IMPL): Use __STRING to expand name and then
8193         stringify it.
8194
8195         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
8196         of cleanups.
8197
8198 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8199
8200         * string/Makefile: Update.
8201         (strop-tests): Append strncat.
8202         * string/test-wcscmp.c: New file.
8203         New comprehensive test for wcscmp.
8204         * string/test-strcmp.c: Update.
8205         (WIDE): New define.
8206
8207 2011-07-22  Andreas Schwab  <schwab@redhat.com>
8208
8209         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
8210         line.
8211
8212 2011-07-26  Andreas Schwab  <schwab@redhat.com>
8213
8214         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8215         encoding to ACE if AI_IDN.
8216
8217 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
8218
8219         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
8220         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
8221
8222 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8223
8224         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
8225         Fix overflow bug in strncat.
8226         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8227
8228         * string/test-strncat.c: Update.
8229         Add new tests for checking overflow bugs.
8230
8231 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8232
8233         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8234         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
8235         * sysdeps/i386/i686/multiarch/strcat.S: New file.
8236         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
8237         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
8238         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
8239         * sysdeps/i386/i686/multiarch/strncat.S: New file.
8240         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
8241         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
8242
8243         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
8244         (USE_AS_STRCAT): Define.
8245         Add strcat and strncat support.
8246         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8247
8248 2011-07-25  Andreas Schwab  <schwab@redhat.com>
8249
8250         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
8251         __n bigger than INT_MAX+1.
8252         (__strncmp_g): Likewise.
8253
8254 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
8255
8256         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
8257         * libio/stido.h: Likewise.
8258
8259         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
8260         (AF_NFC): Define.
8261         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
8262         (AF_NFC): Define.
8263
8264         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
8265         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8266         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8267         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
8268         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8269
8270         [BZ #13021]
8271         * scripts/test-installation.pl: Don't expect libnss_test1 to be
8272         installed.
8273
8274         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
8275         typo.
8276         (_dl_x86_64_save_sse): Likewise.
8277
8278 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
8279
8280         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
8281         OSXSAVE.
8282         (_dl_x86_64_save_sse): Likewise.
8283
8284         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
8285
8286         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
8287
8288 2011-07-21  Andreas Schwab  <schwab@redhat.com>
8289
8290         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
8291         change.
8292         (_dl_x86_64_save_sse): Use correct AVX check.
8293
8294 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8295
8296         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
8297         bug in strncpy/strncat.
8298         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8299
8300 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
8301
8302         * string/tester.c (test_strcat): Add tests for different alignments
8303         of source and destination.
8304         (test_strncat): Likewise.
8305
8306 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
8307
8308         [BZ #12852]
8309         * posix/glob.c (glob): Check passed in values before using them in
8310         expressions to avoid some overflows.
8311         (glob_in_dir): Likewise.
8312
8313         [BZ #13007]
8314         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
8315         check for AVX enablement so that we don't crash with old kernels and
8316         new hardware.
8317         * elf/tst-audit4.c: Add same checks here.
8318         * elf/tst-audit6.c: Likewise.
8319
8320         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
8321
8322 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
8323
8324         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
8325
8326 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
8327
8328         * po/cs.po: Update from translation team.
8329         * po/bg.po: Likewise.
8330
8331 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
8332
8333         * misc/sys/cdefs.h: Add support for const attribute.
8334         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
8335         to gnu_dev_{major,minor,makedev} functions.
8336
8337 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
8338
8339         * intl/dcigettext.c (get_output_charset): Add missing bracket.
8340
8341 2011-07-20  Andreas Schwab  <schwab@redhat.com>
8342
8343         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
8344         strlen results.
8345
8346 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8347
8348         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
8349         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
8350         register in order to avoid conflicts with the soft frame pointer
8351         being held in r11 when necessary.
8352         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
8353         (INTERNAL_VSYSCALL_NCS): Likewise.
8354
8355 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
8356
8357         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
8358         * elf/dl-fini.c (_dl_fini): Adjust caller.
8359         * elf/dl-close.c (_dl_close_worker): Likewise.
8360         * sysdeps/generic/ldsodefs.h: Adjust declaration.
8361
8362 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
8363
8364         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
8365         "aux_cache->nlibs < 0".
8366
8367         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
8368         in the reload-count case.
8369
8370 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8371
8372         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8373         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
8374         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
8375         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
8376         * sysdeps/x86_64/multiarch/strcat.S: New file.
8377         * sysdeps/x86_64/multiarch/strncat.S: New file.
8378         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
8379         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
8380         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
8381         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
8382         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
8383         (USE_AS_STRCAT): Define.
8384         Add strcat and strncat support.
8385         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8386         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8387         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
8388         * string/strncat.c: Update.
8389         (USE_AS_STRNCAT): Define.
8390         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8391         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
8392         and i7.
8393         * sysdeps/x86_64/multiarch/init-arch.h
8394         (bit_Prefer_PMINUB_for_stringop): New.
8395         (index_Prefer_PMINUB_for_stringop): Likewise.
8396         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
8397         bit_Prefer_PMINUB_for_stringop.
8398
8399 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
8400
8401         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
8402         buffer64.
8403         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
8404         of casting of buffer.
8405         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
8406         buffer32 and buffer64.
8407         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
8408         writes instead of casting of buffer.
8409         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
8410         buffer32.
8411         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
8412         casting of buffer.
8413
8414 2011-07-19  Andreas Schwab  <schwab@redhat.com>
8415
8416         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
8417
8418 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
8419
8420         * nscd/nscd.c (termination_handler): Don't do anything for a database
8421         if it has not yet been initialized.
8422
8423 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
8424
8425         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8426
8427 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
8428
8429         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8430
8431 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
8432
8433         * po/nl.po: Update from translation team.
8434         * po/sv.po: Likewise.
8435
8436 2011-07-16  Roland McGrath  <roland@hack.frob.com>
8437
8438         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
8439         now disallowed by GCC.
8440
8441         * configure.in (use-default-link): Default to yes if a test -shared
8442         link meets our qualifications.
8443         * configure: Regenerated.
8444
8445         * config.make.in (output-format): New variable.
8446         * configure.in: Check for ld --print-output-format support.
8447         * configure: Regenerated.
8448         * Makerules ($(common-objpfx)format.lds)
8449         [$(output-format) != unknown]: Just use $(output-format),
8450         instead of the linker-script munging.
8451
8452 2011-07-14  Roland McGrath  <roland@hack.frob.com>
8453
8454         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
8455         of $(common-objpfx)shlib.lds.
8456         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
8457
8458         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
8459         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
8460
8461         * configure.in (-z relro check): Adjust test code to add a large
8462         writable data section after it.
8463         * configure: Regenerated.
8464
8465 2011-07-11  Roland McGrath  <roland@hack.frob.com>
8466
8467         * configure.in (-z relro check): Fix test code to make the variable
8468         truly const.
8469         * configure: Regenerated.
8470
8471 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
8472
8473         * nscd/nscd.h (struct traced_file): Define.
8474         (struct database_dyn): Remove inotify_descr, reset_res, and filename
8475         elements.  Add traced_files.
8476         (inotify_fd): Declare.
8477         (register_traced_file): Declare.
8478         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
8479         (inotify_fd): Export.
8480         (resolv_conf_descr): Remove.
8481         (nscd_init): Move inotify descriptor creation to main.
8482         Don't register files for notification here.
8483         (register_traced_file): New function.
8484         (invalidate_cache): Don't use reset_res to determine whether to call
8485         res_init, go through the list of registered files.
8486         (main_loop_poll): The inotify descriptors are now stored in the
8487         structures for the traced files.
8488         (main_loop_epoll): Likewise
8489         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
8490         to __nss_disable_nscd.
8491         * nscd/cache.c (prune_cache): There is no single inotify descriptor
8492         for a database anymore.  Check the records for all the registered
8493         files instead.
8494         * nss/Makefile (libnss_files-routines): Add files-init.
8495         (libnss_db-routines): Add db-init.
8496         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
8497         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
8498         * nss/nss_db/db-init.c: New file.
8499         * nss/nss_files/files-init.c: New file.
8500         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
8501         __nss_lookup_function.
8502         (__nss_lookup_function): Call nss_load_library.
8503         (nss_load_all_libraries): New function.
8504         (__nss_disable_nscd): Take parameter with callback function for files
8505         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
8506         used for the cached services.
8507         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
8508         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
8509         options for features to all the files in nscd.
8510
8511         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
8512
8513 2011-07-10  Roland McGrath  <roland@hack.frob.com>
8514
8515         * csu/elf-init.c (__libc_csu_init): Comment typo.
8516
8517 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
8518
8519         * po/pl.po: Update from translation team.
8520         * po/ja.po: Likewise.
8521         * po/ru.po: Likewise.
8522         * po/ko.po: Likewise.
8523         * po/fr.po: Likewise.
8524
8525 2011-07-09  Roland McGrath  <roland@hack.frob.com>
8526
8527         * configure.in (.ctors/.dtors header and trailer check):
8528         Use an empirical test on a built program.
8529         * configure: Regenerated.
8530
8531         * configure.in (-z relro check): Use an empirical test on a built DSO.
8532         Detect, but do not require, on ia64.
8533         * configure: Regenerated.
8534
8535         * configure.in (READELF): Find it with AC_CHECK_TOOL.
8536         Update tests that use readelf to use $READELF instead.
8537         * configure: Regenerated.
8538
8539 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
8540
8541         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
8542         if the result is not used.
8543
8544 2011-07-05  Andreas Jaeger  <aj@suse.de>
8545
8546         [BZ#9696]
8547         * stdlib/tst-strtod.c: Add testcase.
8548
8549 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
8550
8551         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
8552         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
8553         The latter has a higher limit.  Take additional parameter to pass to
8554         the new function.
8555         (__pathconf): Pass file to __statfs_link_max.
8556         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
8557         __statfs_link_max.
8558         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
8559         __statfs_link_max.
8560
8561         [BZ #12868]
8562         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
8563         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8564         Handle Lustre.
8565         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
8566         (__statfs_filesize_max): Likewise.
8567         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
8568
8569 2011-07-05  Andreas Jaeger  <aj@suse.de>
8570
8571         * resolv/res_comp.c (dn_skipname): Remove unused variable.
8572
8573 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
8574
8575         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
8576         `status' variable.
8577         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
8578         Likewise.
8579
8580 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
8581
8582         * Makefile (strop-tests): Add strncat.
8583         * string/test-strncat.c: New file.
8584
8585 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
8586
8587         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
8588
8589 2011-06-21  Andreas Jaeger  <aj@suse.de>
8590
8591         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
8592         Copy rule from iconvdata/Makefile.
8593
8594 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
8595
8596         [BZ #12922]
8597         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
8598         but no long options are defined, just return 'W'.
8599
8600 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
8601
8602         [BZ #9696]
8603         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
8604
8605 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
8606
8607         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
8608         netgroups to read.
8609         (innetgr): Likewise.
8610
8611 2011-07-05  Roland McGrath  <roland@hack.frob.com>
8612
8613         * config.make.in (install_root): Default to $(DESTDIR).
8614
8615 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
8616
8617         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
8618
8619 2011-07-02  Roland McGrath  <roland@hack.frob.com>
8620
8621         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
8622
8623         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
8624         containing directory rather than embedding absolute directory names.
8625
8626         * scripts/check-local-headers.sh: Rewritten using awk.
8627         Match by word, not by line.  Print error messages for matches.
8628         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
8629
8630         * Makerules [shlib-lds-flags empty]:
8631         ($(common-objpfx)libc_pic.opts): New target.
8632         ($(common-objpfx)libc_pic.os.clean): New target.
8633         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
8634
8635         * config.make.in (OBJCOPY): New variable.
8636         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
8637         * configure: Regenerated.
8638
8639         * config.make.in (use-default-link): New variable.
8640         * configure.in (use_default_link): Grok --with-default-link to set it.
8641         * configure: Regenerated.
8642         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
8643         (shlib-lds, shlib-lds-flags): Define to empty.
8644
8645         * Makerules (shlib-lds): New variable.
8646         (shlib-lds-flags): New variable.
8647         (build-shlib, build-moduile, build-module-asneeded): Use it.
8648         ($(common-objpfx)libc.so): Use $(shlib-lds).
8649         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
8650         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
8651
8652         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
8653         DT_FLAGS/DT_FLAGS_1 with zero flags.
8654
8655         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
8656         linker script munging.
8657
8658 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
8659
8660         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
8661         as 128-bit value.
8662         * crypt/sha512.c (sha512_process_block): Perform total addition using
8663         128-bit if possible.
8664         (__sha512_finish_ctx): Likewise.
8665         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
8666         as 64-bit value.
8667         * crypt/sha256.c (SWAP64): Define.
8668         (sha256_process_block): Perform total addition using 64-bit if
8669         possible.
8670         (__sha256_finish_ctx): Likewise.
8671
8672 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
8673
8674         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
8675         * nscd/initgrcache.c (addinitgroupsX): Likewise.
8676         * nscd/hstcache.c (cache_addhst): Likewise.
8677         * nscd/grpcache.c (cache_addgr): Likewise.
8678         * nscd/aicache.c (addhstaiX): Likewise
8679         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
8680
8681 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
8682
8683         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
8684         * nscd/initgrcache.c (addinitgroupsX): Likewise.
8685         * nscd/hstcache.c (cache_addhst): Likewise.
8686         * nscd/grpcache.c (cache_addgr): Likewise.
8687         * nscd/aicache.c (addhstaiX): Likewise
8688
8689 2011-07-01  Andreas Schwab  <schwab@redhat.com>
8690
8691         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
8692         domain only when needed.
8693
8694 2011-06-30  Andreas Schwab  <schwab@redhat.com>
8695
8696         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
8697         is always restored.
8698
8699 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
8700
8701         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
8702         are re-adding the entry.
8703         * nscd/servicescache.c (cache_addserv): Likewise.
8704
8705 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
8706
8707         * sysdeps/generic/dl-irel.h: fix protection against multiple
8708         inclusions.
8709         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
8710
8711 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
8712
8713         [BZ #12935]
8714         * malloc/memusage.sh: Fix quoting in message.
8715         * debug/xtrace.sh: Likewise.
8716
8717         * configure.in: Remove support for --experimental-malloc option, make
8718         it the default.
8719         * config.make.in: Likewise.
8720         * malloc/Makefile: Likewise.
8721
8722 2011-06-27  Andreas Schwab  <schwab@redhat.com>
8723
8724         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
8725         two-byte characters.
8726
8727 2011-06-27  Roland McGrath  <roland@hack.frob.com>
8728
8729         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
8730         AC_CACHE_CHECK invocation.
8731         * configure: Regenerated.
8732
8733         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8734
8735 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
8736
8737         [BZ #12350]
8738         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
8739         bit from old_res_options.
8740
8741         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8742
8743         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8744         value type for setfct.
8745
8746 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
8747
8748         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8749         __gettimeofday instead of gettimeofday.
8750
8751 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
8752
8753         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8754
8755 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
8756
8757         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8758
8759         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8760         info.
8761
8762 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
8763
8764         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8765         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8766         strcpy-sse2-unaligned strncpy-sse2-unaligned
8767         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8768         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8769         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8770         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8771         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8772         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8773         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8774         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8775         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8776         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8777         (STRCPY): Support SSE2 and SSSE3 versions.
8778
8779 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
8780
8781         [BZ #12874]
8782         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8783         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8784         kernels which artificially limit size of requests.
8785
8786 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
8787
8788         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8789         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8790         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8791         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8792         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8793         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8794         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8795         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8796         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8797         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8798         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8799         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8800         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8801         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8802         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8803         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8804         Enable unaligned load optimization for Intel Core i3, i5 and i7
8805         processors.
8806         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8807         Define.
8808         (index_Fast_Unaligned_Load): Define.
8809         (HAS_FAST_UNALIGNED_LOAD): Define.
8810
8811 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
8812
8813         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8814
8815 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
8816
8817         [BZ #12907]
8818         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8819         until it is clear that the information is realy needed.
8820         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8821
8822 2011-06-22  Andreas Schwab  <schwab@redhat.com>
8823
8824         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8825
8826 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
8827
8828         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8829         /sys/devices/system/cpu/online if it is usable.
8830
8831         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8832         reading the information from the /proc filesystem to once a second.
8833
8834 2011-06-21  Andreas Jaeger  <aj@suse.de>
8835
8836         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8837         NULL after inclusion of kernel headers.
8838
8839 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
8840
8841         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8842         calls to internal_setent.
8843
8844         [BZ #12885]
8845         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8846         addresses using gethostbyname4_r ignore IPv4 addresses.
8847
8848         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8849         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
8850
8851         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8852
8853 2011-06-20  David S. Miller  <davem@davemloft.net>
8854
8855         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8856         inclusions.
8857         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8858
8859         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8860         (elf_irel): Use it.
8861         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8862         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8863         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8864         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8865         * sysdeps/x86_64/dl-irel.h: Likewise.
8866
8867         * elf/dl-runtime.c: Use elf_ifunc_invoke.
8868         * elf/dl-sym.c: Likewise.
8869
8870 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
8871
8872         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
8873         need to dereference resplen2.
8874
8875 2011-06-14  Andreas Schwab  <schwab@redhat.com>
8876
8877         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8878
8879 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
8880
8881         * Makeconfig: Define vardbdir and inst_vardbdir.
8882         * nss/Makefile: Add rules to install db-Makefile.
8883
8884         * nss/nss_db/db-XXX.c: Cleanup.
8885
8886         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8887         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8888         GLIBC_PRIVATE.
8889         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8890         * nss/makedb.c: Implement -g option to specify that value strings
8891         are generated and should not be added to table iterated over for
8892         get*ent calls.
8893         * nss/nss_db/db-initgroups.c: New file.
8894
8895         * nss/getent.c: Add support for initgroups lookups through getgrouplist
8896         interface.
8897
8898         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8899         (internal_getgrouplist): Adjust to name change.
8900         Update use_initgroups_entry if this is not the first call.
8901         * nss/databases.def: Add initgroups entry.
8902
8903         * nss/makedb.c (compute_tables): Check result of multiple hash table
8904         sizes to minimize maximum chain length.
8905
8906 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
8907
8908         * Versions.def: Add entry for libnss_db.
8909         * shlib-versions: Likewise.
8910         * nss/Makefile: Add rules to build libnss_db.
8911         * nss/Versions: Add libnss_db information.  Organize libnss_files
8912         entries better.
8913         * nss/db-Makefile: Add gshadow support.  Change rules for the new
8914         makedb progra.  Some minor improvements to generate smaller files.
8915         * nss/nss_db/nss_db.h: Move NSS database header data structures to
8916         here from...
8917         * nss/makedb.c: ...here.
8918         Improve database format to be smaller and require less memory at
8919         runtime.
8920         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
8921         db anymore.
8922         * nss/nss_db/db-netgrp.c: Likewise.
8923         * nss/nss_db/db-open.c: Likewise.
8924         * nss/nss_files/flies-XXX.x: Adjust comments.
8925         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8926         * nss/nss_files/files-grp.c: Likewise.
8927         * nss/nss_files/files-hosts.c: Likewise.
8928         * nss/nss_files/files-network.c: Likewise.
8929         * nss/nss_files/files-proto.c: Likewise.
8930         * nss/nss_files/files-pwd.c: Likewise.
8931         * nss/nss_files/files-rpc.c: Likewise.
8932         * nss/nss_files/files-service.c: Likewise.
8933         * nss/nss_files/files-sgrp.c: Likewise.
8934         * nss/nss_files/files-spwd.c: Likewise.
8935         * nss/nss_db/db-alias.c: Removed.
8936         * nss/nss_db/dummy-db.h: Removed.
8937
8938 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
8939
8940         * nss/makedb.c: Rewritten to not use database library.
8941         * nss/Makefile: Update to build new makedb program.
8942
8943 2011-06-14  Andreas Jaeger  <aj@suse.de>
8944
8945         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8946         memset declaration.
8947
8948 2011-06-10  Andreas Schwab  <schwab@redhat.com>
8949
8950         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8951         tmpbuf.
8952
8953 2011-06-10  Roland McGrath  <roland@hack.frob.com>
8954
8955         * Makerules (shlib.lds): Fail if the linker script comes out empty.
8956         * elf/Makefile ($(objpfx)ld.so): Likewise.
8957
8958         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8959         Don't list ld.so twice in dependencies.
8960
8961         * posix/bug-regex31.c: Include <stdlib.h>.
8962
8963         * nscd/hstcache.c (cache_addhst): Remove unused variable.
8964
8965         * nis/nss_compat/compat-spwd.c
8966         (getspent_next_nss_netgr): Remove unused variable.
8967         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8968
8969         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8970         nonmembers" output to use the right array.
8971
8972         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8973
8974         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8975
8976         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8977         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8978         * catgets/gencat.c (read_input_file): Likewise.
8979         * locale/programs/locarchive.c (enlarge_archive): Likewise.
8980
8981         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8982         variable definition inside #if's controlling its use.
8983
8984         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8985
8986         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8987
8988         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8989
8990         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8991         unreachable code.
8992
8993         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
8994
8995         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
8996         * configure: Regenerated.
8997
8998         * Makerules: Revert last change.
8999         * elf/Makefile: Likewise.
9000
9001 2011-06-09  Roland McGrath  <roland@hack.frob.com>
9002
9003         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
9004         * elf/Makefile ($(objpfx)librtld.os): Likewise.
9005         (reloc-link): Likewise.
9006
9007 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
9008
9009         * elf/Makefile: Add rules to build pldd.
9010         * elf/pldd.c: New file.
9011         * elf/pldd-xx.c: New file.
9012
9013 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
9014
9015         * version.h: Update for 2.15 development version.
9016
9017 2011-06-07  David S. Miller  <davem@davemloft.net>
9018
9019         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
9020         ifuncs.
9021         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
9022         elf_machine_lazy_rel): Likewise.
9023         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9024         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
9025         elf_machine_lazy_rel): Likewise.
9026         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
9027         dl_hwcap via passed in argument.
9028         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
9029         Likewise.
9030
9031 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9032
9033         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
9034
9035 2011-06-06  Roland McGrath  <roland@hack.frob.com>
9036
9037         [BZ #12849]
9038         * manual/fdl-1.1.texi: New file, verbatim from:
9039         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
9040         * manual/lgpl-2.1.texi: New file, verbatim from:
9041         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
9042         * manual/Makefile (licenses): New variable, list those new file names.
9043         (texis): Use it.
9044         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
9045
9046         * manual/fdl.texi: File removed.
9047         * manual/lesser.texi: File removed.
9048         * manual/libc.texinfo (Copying, Documentation License):
9049         Use new @include file names, put @appendix directive before @include.
9050
9051 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
9052
9053         [BZ #12841]
9054         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
9055         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
9056         (mq_open): Add __NTH.
9057
9058 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
9059
9060         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9061         Assume Intel Core i3/i5/i7 processor if AVX is available.
9062
9063 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
9064
9065         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9066         typo.
9067
9068 2011-05-31  Andreas Schwab  <schwab@redhat.com>
9069
9070         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
9071         memory.  Use alloca_account.  Fix memory leak when retrying.
9072
9073 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
9074
9075         * version.h (RELEASE): Bump for 2.14 release.
9076         * include/features.h (__GLIBC_MINOR__): Bump to 14.
9077
9078         * config.make.in (RANLIB): Remove entry.
9079
9080 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
9081
9082         * po/Makefile (po-sed-cmd): Add ksh to extensions.
9083         (libc.pot): Work around missing support for .ksh extension in xgettext.
9084
9085         [BZ #12684]
9086         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
9087         if both request failed.
9088         (send_dg): In case of server errors clear resplen or *resplen2.
9089
9090         [BZ #12454]
9091         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
9092         when there are multiple maps.
9093         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
9094         (_dl_fini): Remove test here.
9095
9096         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
9097
9098 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
9099
9100         [BZ #12350]
9101         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
9102         bit from old_res_options.
9103         (gaih_inet): Likewise.
9104
9105         [BZ #11099]
9106         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
9107         as signed.
9108
9109         * resolv/res_init.c (res_setoptions): Make the code more compact.
9110
9111         [BZ #11558]
9112         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
9113         set RES_USEVC.
9114
9115         [BZ #11634]
9116         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
9117
9118         * malloc/malloc.h: Mark malloc hook variables as deprecated.
9119
9120         [BZ #11781]
9121         * malloc/malloc.h: Declare malloc hook variables as volatile.
9122
9123         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
9124         in last patch.
9125
9126         [BZ #11799]
9127         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
9128         raise in the comment.
9129         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9130         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9131         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
9132
9133 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
9134
9135         [BZ #12811]
9136         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
9137         grow the buffers more if it already has to be sufficient.
9138         (build_wcs_upper_buffer): Likewise.
9139         * posix/regexec.c (check_matching): Likewise.
9140         (clean_state_log_if_needed): Likewise.
9141         (extend_buffers): Don't enlarge buffers beyond size of the input
9142         buffer.
9143         Patches mostly by Emil Wojak <emil@wojak.eu>.
9144         * posix/bug-regex32.c: New file.
9145         * posix/Makefile (tests): Add bug-regex32.
9146
9147         * locale/findlocale.c (_nl_find_locale): Return right away if
9148         _nl_explode_name failed.
9149         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
9150
9151         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
9152
9153         * debug/xtrace.sh: Unify messages.
9154         * malloc/memusage.sh: Likewise.
9155
9156         [BZ #12813]
9157         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
9158         time symbol from vDSO.  Substitute with vsyscall if not available.
9159         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
9160         __vdso_time.
9161
9162         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
9163         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
9164         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
9165         Add sendmmsg and internal_sendmmsg.
9166         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
9167         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
9168         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
9169
9170         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
9171         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
9172         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
9173
9174 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
9175
9176         [BZ #12813]
9177         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
9178         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
9179         available.
9180         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
9181         __vdso_getcpu.
9182
9183         [BZ #12814]
9184         * iconvdata/Makefile (tests): Add bug-iconv9.
9185         * iconvdata/bug-iconv9.c: New file.
9186
9187 2011-05-27  Andreas Schwab  <schwab@redhat.com>
9188
9189         [BZ #12814]
9190         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
9191
9192 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
9193
9194         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9195         (struct user_regs_struct): Change intcs field back to cs.
9196
9197 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
9198
9199         * po/ja.po: Update from translation team.
9200
9201 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
9202
9203         [BZ #12795]
9204         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
9205         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
9206
9207 2011-05-20  Andreas Schwab  <schwab@redhat.com>
9208
9209         * stdlib/longlong.h: Update from GCC.
9210
9211 2011-05-23  Andreas Schwab  <schwab@redhat.com>
9212
9213         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
9214         parameter name.
9215         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
9216         Add parameter name.
9217         (__sysconf): Pass it down.
9218
9219 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
9220
9221         [BZ #12671]
9222         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
9223         some situations.
9224         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9225         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
9226         add in in __libc_use_alloca calls.  Adjust callers.
9227         (glob): Use malloc in some situations.
9228
9229         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
9230         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
9231         pltexit.
9232
9233 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
9234
9235         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
9236         and CLOCK_BOOTTIME_ALARM.
9237
9238         [BZ #12782]
9239         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
9240         is returned.
9241
9242         * string/_strerror.c (__strerror_r): Print negative errors as signed
9243         numbers.
9244
9245         [BZ #12777]
9246         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
9247         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
9248         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
9249
9250         * configure.in: Fix typo in redirection and correct removal of test
9251         files in two cases.
9252
9253         [BZ #12788]
9254         * locale/setlocale.c (new_composite_name): Fix test to check for
9255         identical name of all categories.
9256
9257         [BZ #12792]
9258         * libio/filedoalloc.c (local_isatty): New function.
9259         (_IO_file_doallocate): Use local_isatty.
9260         * stdio-common/perror.c (perror): In case a new stream is used
9261         forward the stream error.
9262         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
9263         error flag.
9264
9265 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
9266
9267         [BZ #11869]
9268         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
9269         alloca.
9270         * include/alloca.h (extend_alloca_account): Define.
9271
9272         [BZ #11857]
9273         * posix/regex.h: Fix comments with documentation of user-accessible
9274         fields after compilation and describe correct free'ing of pattern
9275         after re_compile_pattern.
9276         Patch by Reuben Thomas <rrt@sc3d.org>.
9277
9278 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
9279
9280         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
9281         and -mno-altivec to prevent the compiler from using Altivec and/or
9282         VSX instructions when the corresponding registers are not available.
9283
9284 2011-05-19  Andreas Schwab  <schwab@redhat.com>
9285
9286         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
9287
9288 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
9289
9290         * libio/freopen.c (freopen): Use __dup2, not dup2.
9291         * libio/freopen64.c (freopen64): Likewise.
9292
9293 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
9294
9295         [BZ #12775]
9296         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
9297         * math/Makefile (tests): Add test-powl.
9298         (CFLAGS-test-powl.c): Define.
9299         * math/test-powl.c: New file.
9300
9301 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9302
9303         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
9304
9305 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
9306
9307         [BZ #11837]
9308         * iconvdata/gb18030.c: Update to GB18020-2005.
9309
9310 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
9311
9312         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
9313         RE_SYNTAX_POSIX_AWK): Update to match recent development.
9314         Patch by Aharon Robbins <arnold@skeeve.com>.
9315
9316         [BZ #11892]
9317         * stdlib/putenv.c (putenv): Don't always create copy of the variable
9318         on the stack.
9319
9320         [BZ #11895]
9321         * misc/pselect.c (__pselect): Handle timeout value errors hidden
9322         through underflows.
9323
9324         [BZ #12766]
9325         * misc/error.c (error_at_line): Ensure file_name and old_file_name
9326         point to strings before performing equality test for error_one_per_line
9327         mode.
9328
9329         [BZ #11697]
9330         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
9331
9332         [BZ #11820]
9333         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9334         (struct user_fpregs_struct): Avoid __uint*_t types.
9335
9336         [BZ #6420]
9337         * malloc/mtrace.c (tr_where): Add additional parameter to point to
9338         symbol info.  Use it instead of calling _dl_addr locally.
9339         (lock_and_info): New function.
9340         (tr_freehook): Call lock_and_info and pass symbol info as additional
9341         parameter to tr_where.
9342         (tr_mallochook): Likewise.
9343         (tr_reallochook): Likewise.
9344         (tr_memalignhook): Likewise.
9345
9346         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
9347         used and couldn't be at all thread-safe.
9348
9349 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
9350
9351         * libio/freopen.c (freopen): Don't close old file descriptor
9352         before the new one is opened.  Instead dup the new file descriptor
9353         to the old one after the new stream is created.
9354         * libio/freopen64.c (freopen64): Likewise.
9355         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
9356         * libio/fileops.c (_IO_new_file_close_it): Handle new
9357         _IO_FLAGS2_NOCLOSE flag.
9358         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
9359         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
9360         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
9361         _IO_FLAGS2_NOCLOSE flag.
9362         * include/unistd.h: Add hidden_proto for dup3.
9363         Define __have_dup3.
9364         * io/dup3.c: Define hidden symbol.
9365         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
9366
9367         [BZ #7101]
9368         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
9369         when an incomplete long option is used.
9370         * posix/tst-getopt_long1.c: New file.
9371         * posix/Makefile (tests): Add tst-getopt_long1.
9372
9373         [BZ #10138]
9374         * scripts/config.guess: Update from autoconf-2.68.
9375         * scripts/config.sub: Likewise.
9376
9377         [BZ #10157]
9378         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
9379         tests into ...
9380         (has_cpuclock): ...this.  New function.
9381         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
9382         macro here based on has_cpuclock code.
9383
9384         [BZ #10149]
9385         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9386         First byte (not low byte) is now always NUL.
9387         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
9388
9389         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9390         Use non-cancelable interfaces.
9391
9392         [BZ #9809]
9393         * locale/iso-639.def: Add entry for Sorani.
9394
9395         [BZ #11901]
9396         * include/stdlib.h: Move include protection to the right place.
9397         Define abort_msg_s.  Declare __abort_msg with it.
9398         * stdlib/abort.c (__abort_msg): Adjust type.
9399         * assert/assert.c (__assert_fail_base): New function.  Majority
9400         of code from __assert_fail.  Allocate memory for __abort_msg with
9401         mmap.
9402         (__assert_fail): Now call __assert_fail_base.
9403         * assert/assert-perr.c: Remove bulk of implementation.  Use
9404         __assert_fail_base.
9405         * include/assert.hL Declare __assert_fail_base.
9406         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
9407         mmap.
9408         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
9409
9410 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
9411
9412         [BZ #11952]
9413         [BZ #12453]
9414         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
9415         until all modules are registered in the DTV.
9416         * elf/Makefile: Add rules to build and run tst-tls19.
9417         * elf/tst-tls19.c: New file.
9418         * elf/tst-tls19mod1.c: New file.
9419         * elf/tst-tls19mod2.c: New file.
9420         * elf/tst-tls19mod3.c: New file.
9421         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
9422
9423         [BZ #12083]
9424         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
9425         correctly.
9426
9427         [BZ #12601]
9428         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
9429         two-byte sequence errors.
9430         * iconvdata/Makefile (tests): Add bug-iconv8.
9431         * iconvdata/bug-iconv8.c: New file.
9432
9433         [BZ #12626]
9434         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
9435         buf2 definition.
9436
9437         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
9438
9439         [BZ #12432]
9440         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
9441         (dummy_getcfa): New function.
9442         (init): Get _Unwind_GetCFA address, use dummy if not found.
9443         (backtrace_helper): In recursion check, also check whether CFA changes.
9444         (__backtrace): Completely initialize arg.
9445
9446         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
9447         storing incomplete byte sequence in state object.  Avoid testing for
9448         guaranteed too small input if we know there is enough data available.
9449
9450 2011-05-11  Andreas Schwab  <schwab@redhat.com>
9451
9452         * Makeconfig (+link-pie): Indent.
9453         * Rules (binaries-pie): Define if $(have-fpie) and
9454         $(build-shared).
9455         (binaries-shared): Also filter out $(binaries-pie).
9456         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
9457         * nscd/Makefile (others-pie): Add nscd.
9458         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
9459         ($(objpfx)nscd): Remove command override.
9460         * login/Makefile (others-pie): Add pt_chown.
9461         ($(objpfx)pt_chown): Remove command override.
9462         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
9463         remove command overrides.
9464
9465 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
9466
9467         * libio/tst_putwc.c: Fix error messages.
9468
9469         [BZ #12724]
9470         * libio/fileops.c (_IO_new_file_close_it): Always flush when
9471         currently writing and seek to current position when not.
9472         * libio/Makefile (tests): Add bug-fclose1.
9473         * libio/bug-fclose1.c: New file.
9474
9475 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
9476
9477         [BZ #12511]
9478         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
9479         don't set DF_1_NODELETE here.
9480         (do_lookup_x): When entering new entry test for copy relocation
9481         and if necessary set DF_1_NODELETE flag.
9482         * elf/tst-unique4.cc: New file.
9483         * elf/tst-unique4.h: New file.
9484         * elf/tst-unique4lib.cc: New file.
9485         * elf/Makefile: Add rules to build and run tst-unique4.
9486         Patch by Piotr Bury <pbury@goahead.com>.
9487
9488 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
9489
9490         [BZ #12052]
9491         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
9492
9493         [BZ #12625]
9494         * misc/mntent_r.c (addmntent): Flush the stream after the output
9495
9496         [BZ #12393]
9497         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
9498         (is_trusted_path_normalize): Skip initial colon.  Append slash
9499         to empty buffer.  Duplicate is_trusted_path code but allow
9500         constructed patch to be prefix.
9501         (is_dst): Allow $ORIGIN followed by /.
9502         (_dl_dst_substitute): Correct clearing of check_for_trusted.
9503         Correct testing of result of is_trusted_path_normalize
9504         (decompose_rpath): Fix warning.
9505
9506 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
9507
9508         [BZ #11257]
9509         * grp/initgroups.c (internal_getgrouplist): When we found the service
9510         list through the initgroups entry in nsswitch.conf do not always
9511         continue on a successful lookup.  Don't always use the
9512         __nss_group_database value if it is set.
9513         * nss/nsswitch.conf (initgroups): Change action for successful db
9514         lookup to continue for compatibility.
9515
9516 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
9517
9518         [BZ #11532]
9519         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
9520         and CP774 modules.
9521         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
9522         and CP774 modules.
9523         * iconvdata/tst-tables.sh: Likewise.
9524         * iconvdata/cp770.c: New file.
9525         * iconvdata/cp771.c: New file.
9526         * iconvdata/cp772.c: New file.
9527         * iconvdata/cp773.c: New file.
9528         * iconvdata/cp774.c: New file.
9529         * iconvdata/testdata/CP770: New file.
9530         * iconvdata/testdata/CP770..UTF8: New file.
9531         * iconvdata/testdata/CP771: New file.
9532         * iconvdata/testdata/CP771..UTF8: New file.
9533         * iconvdata/testdata/CP772: New file.
9534         * iconvdata/testdata/CP772..UTF8: New file.
9535         * iconvdata/testdata/CP773: New file.
9536         * iconvdata/testdata/CP773..UTF8: New file.
9537         * iconvdata/testdata/CP774: New file.
9538         * iconvdata/testdata/CP774..UTF8: New file.
9539
9540         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
9541         END CHARMAP line.
9542         * iconvdata/gen-8bit-gap.sh: Likewise.
9543         * iconvdata/gen-8bit.sh: Likewise.
9544
9545         * locale/iso-639.def: Add ary entry.
9546
9547         [BZ #11258]
9548         * locale/C-translit.h.in: Add U20A1 transliteration.
9549
9550         [BZ #12178]
9551         * locale/iso-639.def: Add wae entry.
9552         Patch by Kevin Bortis <bortis@translate-wae.ch>.
9553
9554         [BZ #12545]
9555         * locale/programs/localedef.c (construct_output_path): Use ssize_t
9556         for n.
9557
9558         [BZ #12711]
9559         * locale/C-translit.h.in: Add entry for U20B9.
9560         Patch by pravin.d.s@gmail.com.
9561
9562 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
9563
9564         [BZ #12713]
9565         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
9566         ENAMETOOLONG use generic getcwd.
9567         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
9568         in rtld.  Use *stat64.
9569         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
9570         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
9571         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
9572         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
9573         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
9574         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
9575         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
9576         __fstatat64 macros.
9577         * include/dirent.h: Add libc_hidden_proto for rewinddir.
9578         * dirent/rewinddir.c: Add libc_hidden_def.
9579         * sysdeps/mach/hurd/rewinddir.c: Likewise.
9580         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
9581
9582         * include/dirent.h (__alloc_dir): Add flags parameter.
9583         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
9584         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
9585         __alloc_dir.
9586         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
9587         from fdopendir if O_CLOEXEC is already set.
9588
9589 2011-03-15  Alan Modra  <amodra@gmail.com>
9590
9591         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
9592         l_tls_firstbyte_offset non-zero.  Save padding offset in
9593         l_tls_firstbyte_offset for later use.
9594         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
9595         freeing static tls block.
9596
9597 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
9598
9599         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
9600         where #ifdef was intended.  The intent is to prevent ARG_MAX from
9601         being defined by the kernel headers.
9602
9603 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
9604
9605         [BZ #12734]
9606         * resolv/resolv.h: Define RES_NOTLDQUERY.
9607         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
9608         no-tld-query and set RES_NOTLDQUERY.
9609         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
9610         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
9611         modern BIND to search name as TLD unless forbidden.
9612
9613 2011-05-07  Petr Baudis  <pasky@suse.cz>
9614             Ulrich Drepper  <drepper@gmail.com>
9615
9616         [BZ #12393]
9617         * elf/dl-load.c (fillin_rpath): Move trusted path check...
9618         (is_trusted_path): ...to here.
9619         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
9620         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
9621         using is_trusted_path_normalize() in setuid scripts.
9622
9623 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
9624
9625         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
9626         __BEGIN/__END_DECLS.
9627
9628 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
9629
9630         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
9631         NSS_STATUS_NOTFOUND if no record was found.
9632
9633 2011-05-05  Andreas Schwab  <schwab@redhat.com>
9634
9635         * sunrpc/Makefile (headers): Add rpc/netdb.h.
9636         (headers-not-in-tirpc): Remove rpc/netdb.h
9637         * resolv/netdb.h: Revert last change.
9638
9639 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
9640
9641         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
9642         circular dependency between libgcc.a and libc.a.
9643
9644 2011-05-05  Andreas Schwab  <schwab@redhat.com>
9645
9646         * resolv/netdb.h: Don't include <rpc/netdb.h>.
9647         * nis/Makefile: Don't install rpcsvc/*.
9648         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
9649         instead of <rpc/types.h>.
9650         (MAXHOSTNAMELEN): Define.
9651
9652 2011-05-03  Andreas Schwab  <schwab@redhat.com>
9653
9654         * elf/ldconfig.c (add_dir): Don't crash on empty path.
9655
9656 2011-04-28  Maciej Babinski  <mbabinski@google.com>
9657
9658         [BZ #12714]
9659         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
9660         gethostbyname4_r when IPv6 results are possible.
9661
9662 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
9663
9664         [BZ #12723]
9665         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
9666         _PC_PIPE_BUF handling.
9667
9668 2011-04-30  Bruno Haible  <bruno@clisp.org>
9669
9670         [BZ #12717]
9671         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
9672         * resolv/netdb.h (getnameinfo): Change type of flags parameter
9673         to 'int'.
9674         * inet/getnameinfo.c (getnameinfo): Likewise.
9675
9676 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
9677
9678         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
9679         to groups setting in database lookup.
9680         * nss/nsswitch.conf: Add initgroups entry.
9681
9682 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
9683
9684         [BZ #12685]
9685         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
9686         mode string.
9687         Patch by Eric Blake <eblake@redhat.com>.
9688
9689 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
9690
9691         * sunrpc/Makefile (need-export-routines): Add svc_run.
9692         (routines): Remove svc_run.
9693         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
9694         * sunrpc/clnt_perr.c (clnt_perrno): Export.
9695         * sunrpc/svc_run.c (svc_run): Likewise.
9696         * sunrpc/svc_udp.c (svcudp_create): Likewise.
9697
9698 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
9699
9700         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
9701         problem in reallocation in last patch.
9702
9703 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
9704
9705         * sunrpc/Makefile: Move inclusion of Rules.
9706
9707 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
9708
9709         * nss/nss_files/files-initgroups.c: New file.
9710         * nss/Makefile (libnss_files-routines): Add files-initgroups.
9711         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
9712         _nss_files_initgroups_dyn.
9713
9714 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
9715
9716         * elf/elf.h (R_ARM_IRELATIVE): Define.
9717
9718 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
9719
9720         * po/ru.po: Update from translation team.
9721
9722 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
9723
9724         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
9725         dependencies.
9726
9727 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
9728
9729         [BZ #12653]
9730         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
9731         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
9732         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9733         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9734         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9735
9736 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
9737
9738         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9739         differing bytes.
9740         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9741         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9742         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9743
9744 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
9745
9746         [BZ #12420]
9747         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9748         storing it.
9749         * stdlib/bug-getcontext.c: New file.
9750         * stdlib/Makefile: Add rules to build and run bug-getcontext.
9751
9752 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9753
9754         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9755         instructions into .machine "z9-109".
9756         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9757         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9758
9759 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9760
9761         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9762         between environment variables and auxiliary vector.
9763
9764 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
9765
9766         * Makefile: Add rules to build linkobj/libc.so.
9767         * include/libc-symbols.h: Define libc_hidden_nolink.
9768         * include/rpc/auth.h: Mark functions which are to be hidden.
9769         * include/rpc/auth_des.h: Likewise.
9770         * include/rpc/auth_unix.h: Likewise.
9771         * include/rpc/clnt.h: Likewise.
9772         * include/rpc/des_crypt.h: Likewise.
9773         * include/rpc/key_prot.h: Likewise.
9774         * include/rpc/pmap_clnt.h: Likewise.
9775         * include/rpc/pmap_prot.h: Likewise.
9776         * include/rpc/pmap_rmt.h: Likewise.
9777         * include/rpc/rpc_msg.h: Likewise.
9778         * include/rpc/svc.h: Likewise.
9779         * include/rpc/svc_auth.h: Likewise.
9780         * include/rpc/xdr.h: Likewise.
9781         * nis/Makefile: Link all DSOs against linkobj/libc.so.
9782         * nss/Makefile: Likewise.
9783         * sunrpc/Makefile: Don't install headers.  Build library with normal
9784         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
9785         * sunrpc/auth_des.c: Hide exported symbols by default, export some
9786         for the compat linking library.  Remove use of INTDEF/INTUSE.
9787         * sunrpc/auth_none.c: Likewise.
9788         * sunrpc/auth_unix.c: Likewise.
9789         * sunrpc/authdes_prot.c: Likewise.
9790         * sunrpc/authuxprot.c: Likewise.
9791         * sunrpc/clnt_gen.c: Likewise.
9792         * sunrpc/clnt_perr.c: Likewise.
9793         * sunrpc/clnt_raw.c: Likewise.
9794         * sunrpc/clnt_simp.c: Likewise.
9795         * sunrpc/clnt_tcp.c: Likewise.
9796         * sunrpc/clnt_udp.c: Likewise.
9797         * sunrpc/clnt_unix.c: Likewise.
9798         * sunrpc/des_crypt.c: Likewise.
9799         * sunrpc/des_soft.c: Likewise.
9800         * sunrpc/get_myaddr.c: Likewise.
9801         * sunrpc/key_call.c: Likewise.
9802         * sunrpc/key_prot.c: Likewise.
9803         * sunrpc/netname.c: Likewise.
9804         * sunrpc/pm_getmaps.c: Likewise.
9805         * sunrpc/pm_getport.c: Likewise.
9806         * sunrpc/pmap_clnt.c: Likewise.
9807         * sunrpc/pmap_prot.c: Likewise.
9808         * sunrpc/pmap_prot2.c: Likewise.
9809         * sunrpc/pmap_rmt.c: Likewise.
9810         * sunrpc/publickey.c: Likewise.
9811         * sunrpc/rpc_cmsg.c: Likewise.
9812         * sunrpc/rpc_common.c: Likewise.
9813         * sunrpc/rpc_dtable.c: Likewise.
9814         * sunrpc/rpc_prot.c: Likewise.
9815         * sunrpc/rpc_thread.c: Likewise.
9816         * sunrpc/rtime.c: Likewise.
9817         * sunrpc/svc.c: Likewise.
9818         * sunrpc/svc_auth.c: Likewise.
9819         * sunrpc/svc_authux.c: Likewise.
9820         * sunrpc/svc_raw.c: Likewise.
9821         * sunrpc/svc_run.c: Likewise.
9822         * sunrpc/svc_simple.c: Likewise.
9823         * sunrpc/svc_tcp.c: Likewise.
9824         * sunrpc/svc_udp.c: Likewise.
9825         * sunrpc/svc_unix.c: Likewise.
9826         * sunrpc/svcauth_des.c: Likewise.
9827         * sunrpc/xcrypt.c: Likewise.
9828         * sunrpc/xdr.c: Likewise.
9829         * sunrpc/xdr_array.c: Likewise.
9830         * sunrpc/xdr_float.c: Likewise.
9831         * sunrpc/xdr_intXX_t.c: Likewise.
9832         * sunrpc/xdr_mem.c: Likewise.
9833         * sunrpc/xdr_rec.c: Likewise.
9834         * sunrpc/xdr_ref.c: Likewise.
9835         * sunrpc/xdr_sizeof.c: Likewise.
9836         * sunrpc/xdr_stdio.c: Likewise.
9837
9838 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
9839
9840         [BZ #12650]
9841         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9842         * sysdeps/ia64/dl-tls.h: Likewise.
9843         * sysdeps/powerpc/dl-tls.h: Likewise.
9844         * sysdeps/s390/dl-tls.h: Likewise.
9845         * sysdeps/sh/dl-tls.h: Likewise.
9846         * sysdeps/sparc/dl-tls.h: Likewise.
9847         * sysdeps/x86_64/dl-tls.h: Likewise.
9848         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9849
9850 2011-03-14  Andreas Schwab  <schwab@redhat.com>
9851
9852         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9853         rpath element also skip the following colon.
9854         (expand_dynamic_string_token): Add is_path parameter and pass
9855         down to DL_DST_REQUIRED and _dl_dst_substitute.
9856         (decompose_rpath): Call expand_dynamic_string_token with
9857         non-zero is_path.  Ignore empty rpaths.
9858         (_dl_map_object_from_fd): Call expand_dynamic_string_token
9859         with zero is_path.
9860
9861 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
9862
9863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9864         Make cancelable.
9865
9866 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
9867
9868         [BZ #12655]
9869         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9870         Patch by Filipe David Manana <fdmanana@apache.org>.
9871
9872 2011-04-07  Andreas Schwab  <schwab@redhat.com>
9873
9874         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9875         Maintain aligned stack.
9876         (CHECK_RSP): Remove unused macro.
9877
9878 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
9879
9880         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9881         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9882
9883 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
9884
9885         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9886
9887         * include/features.h: Mention __USE_XOPEN2K8 in comment.
9888
9889 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
9890
9891         [BZ #12518]
9892         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9893         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9894         * sysdeps/x86_64/memmove.c: New file.
9895         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9896         (memcpy): Renamed to ...
9897         (__new_memcpy): This.
9898         (memcpy): Provide GLIBC_2_14 memcpy.
9899         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9900         (memcpy): Provide GLIBC_2_2_5 memcpy.
9901
9902 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
9903
9904         [BZ #12631]
9905         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9906
9907 2011-03-30  Andreas Schwab  <schwab@redhat.com>
9908
9909         * misc/syncfs.c: New file.
9910         * misc/Makefile (routines): Add syncfs.
9911         * posix/unistd.h: Declare syncfs.
9912         * sysdeps/unix/syscalls.list: Add syncfs.
9913
9914 2011-04-01  Andreas Schwab  <schwab@redhat.com>
9915
9916         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9917         open_by_handle_at.
9918         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9919         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9920         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9921         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9922         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9923         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9924         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9925
9926 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
9927
9928         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9929         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9930         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9931         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9932         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9933         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9934         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9935
9936         * io/Makefile: Compile fallocate.c, fallocate64.c, and
9937         sync_file_range.c with -fexceptions.
9938         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9939         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9940         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9941         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9942         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9943         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9944         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
9945         sync_file_range as cancellation point
9946         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
9947         now a wrapper around __call_sync_file_range with cancellation handling.
9948         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9949         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
9950         function name to __call_sync_file_range.
9951         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9952         Add call_sync_file_range.
9953
9954 2011-04-01  Andreas Schwab  <schwab@redhat.com>
9955
9956         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9957         bits/timex.h.
9958
9959 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
9960
9961         * iconv/iconv.h: Fix typo in comment.
9962         * io/fcntl.h: Likewise.
9963         * libio/stdio.h: Likewise.
9964         * posix/spawn.h: Likewise.
9965         * posix/unistd.h: Likewise.
9966         * stdlib/stdlib.h: Likewise.
9967         * time/time.h: Likewise.
9968         * wcsmbs/wchar.h: Likewise.
9969
9970         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9971         open_by_handle): Add.
9972         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9973         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
9974         Augment a few comments.
9975         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9976         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9977         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9978         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9979         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9980         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9981         open_by_handle.
9982
9983         * io/fcntl.h (AT_EMPTY_PATH): Define.
9984
9985 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
9986
9987         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9988         * sysdeps/unix/sysv/linux/bits/time.h: New file.
9989         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9990         to...
9991         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
9992         * Versions.def: Add GLIBC_2.14.
9993         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9994         Export.
9995
9996 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
9997
9998         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
9999         round counter.
10000         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10001
10002 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
10003
10004         [BZ #12597]
10005         * string/test-strncmp.c (do_page_test): New function.
10006         (check2): Likewise.
10007         (test_main): Call check2.
10008         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
10009
10010 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
10011
10012         [BZ #12587]
10013         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
10014         Handle cache information in CPU leaf 4.
10015         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10016
10017 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
10018
10019         [BZ #12583]
10020         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
10021         character representation.
10022         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
10023
10024 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
10025
10026         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
10027         END(__isnan) to END(__isnanf) to match function entry point/label
10028         EALIGN(__isnanf,...).
10029
10030 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
10031
10032         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
10033
10034 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
10035
10036         [BZ #12510]
10037         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
10038         copy from the symbol referenced in the relocation to initialize the
10039         used variable.
10040         Patch by Piotr Bury <pbury@goahead.com>.
10041         * elf/Makefile: Add rules to build and tst-unique3.
10042         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
10043         * elf/tst-unique3.cc: New file.
10044         * elf/tst-unique3.h: New file.
10045         * elf/tst-unique3lib.cc: New file.
10046         * elf/tst-unique3lib2.cc: New file.
10047
10048         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
10049
10050 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
10051
10052         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
10053         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
10054         to _start.
10055
10056 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
10057
10058         * elf/dl-load.c (_dl_map_object): If we are looking for the first
10059         to-be-loaded object along a path to loader is ld.so.
10060
10061 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
10062             Ulrich Drepper  <drepper@gmail.com>
10063
10064         * sysdeps/x86_64/memset.S: After aligning destination, code
10065         branches to different locations depending on the value of
10066         misalignment, when multiarch is enabled. Fix this.
10067
10068 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
10069
10070         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
10071         Set _x86_64_preferred_memory_instruction for AMD processsors.
10072         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10073         Set bit_Prefer_SSE_for_memop for AMD processors.
10074
10075 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
10076
10077         * libio/fmemopen.c (fmemopen): Optimize a bit.
10078
10079 2011-03-03  Andreas Schwab  <schwab@redhat.com>
10080
10081         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
10082
10083 2011-03-03  Roland McGrath  <roland@redhat.com>
10084
10085         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
10086
10087 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
10088
10089         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
10090         __bzero_ultra1 instead of __memset_ultra1.
10091
10092 2011-02-23  Andreas Schwab  <schwab@redhat.com>
10093             Ulrich Drepper  <drepper@gmail.com>
10094
10095         [BZ #12509]
10096         * include/link.h (struct link_map): Add l_orig_initfini.
10097         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
10098         returning unsuccessfully.
10099         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
10100         close of a file loaded at startup, restore the original l_initfini
10101         list.
10102         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
10103         list, store the pointer.
10104         * elf/Makefile ($(objpfx)noload-mem): New rule.
10105         (noload-ENV): Define.
10106         (tests): Add $(objpfx)noload-mem.
10107         * elf/noload.c: Include <memcheck.h>.
10108         (main): Call mtrace.  Close all opened handles.
10109
10110 2011-02-17  Andreas Schwab  <schwab@redhat.com>
10111
10112         [BZ #12454]
10113         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
10114         dependencies are missing.
10115
10116 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10117
10118         Fix __if_freereq crash: Unlike the generic version which uses free,
10119         Hurd needs munmap.
10120         * sysdeps/mach/hurd/ifreq.h: New file.
10121
10122 2011-01-27  Petr Baudis  <pasky@suse.cz>
10123             Ulrich Drepper  <drepper@gmail.com>
10124
10125         [BZ 12445]#
10126         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
10127         to extend_alloca().
10128         * stdio-common/bug23.c: New file.
10129         * stdio-common/Makefile (tests): Add bug23.
10130
10131 2010-09-28  Andreas Schwab  <schwab@redhat.com>
10132             Ulrich Drepper  <drepper@gmail.com>
10133
10134         [BZ #12489]
10135         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
10136         before performing relro protection.  At old place add assertion
10137         to make sure nothing changed.
10138
10139 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
10140             Glauber de Oliveira Costa  <glommer@gmail.com>
10141
10142         * elf/elf.h: Add new ARM TLS relocs.
10143
10144 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
10145
10146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10147         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
10148         cast from r3.
10149         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
10150         'tests' variable.
10151         * sysdeps/wordsize-64/tst-writev.c: New file.
10152
10153 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
10154
10155         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
10156         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
10157         insns in _dl_start to prevent a TOC reference before relocs are
10158         resolved.
10159
10160 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
10161
10162         [BZ #12469]
10163         * Makeconfig: Remove RANLIB definition.
10164         * Makerules: Don't use RANLIB.
10165         * aclocal.m4: Remove ranlib test.
10166         * configure.in: No need to check for ranlib.
10167         * elf/rtld-Rules: Don't use RANLIB.
10168
10169 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10170
10171         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
10172         protection macro.
10173         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
10174         inclusion protection macro.
10175
10176         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
10177         SIGRTMIN and SIGRTMAX and print information in that case only when
10178         SIGRTMIN is defined.
10179
10180 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
10181
10182         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
10183         arginfo fn returning -1.
10184
10185         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
10186         and thousands string is zero terminated.
10187
10188 2011-02-03  Andreas Schwab  <schwab@redhat.com>
10189
10190         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
10191         sysdeps/unix/sysv/linux/bits/socket.h.
10192
10193 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10194
10195         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
10196         (__CPU_COUNT): Remove old macros.
10197         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
10198         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
10199         (__CPU_ALLOC, __CPU_FREE): Add macros.
10200         (__sched_cpualloc, __sched_cpufree): Add declarations.
10201
10202 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
10203
10204         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
10205         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
10206         * nscd/aicache.c (addhstaiX): Return timeout of added value.
10207         (readdhstai): Return value of addhstaiX call.
10208         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
10209         (addgrbyX): Return value returned by cache_addgr.
10210         (readdgrbyname): Return value returned by addgrbyX.
10211         (readdgrbygid): Likewise.
10212         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
10213         (addpwbyX): Return value returned by cache_addpw.
10214         (readdpwbyname): Return value returned by addhstbyX.
10215         (readdpwbyuid): Likewise.
10216         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
10217         (addservbyX): Return value returned by cache_addserv.
10218         (readdservbyname): Return value returned by addservbyX:
10219         (readdservbyport): Likewise.
10220         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
10221         (addhstbyX): Return value returned by cache_addhst.
10222         (readdhstbyname): Return value returned by addhstbyX.
10223         (readdhstbyaddr): Likewise.
10224         (readdhstbynamev6): Likewise.
10225         (readdhstbyaddrv6): Likewise.
10226         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
10227         (readdinitgroups): Return value returned by addinitgroupsX.
10228         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
10229         (prune_cache): Keep track of timeout value of re-added entries.
10230         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
10231         * nscd/nscd.h: Adjust prototypes of readd* functions.
10232
10233 2011-02-04  Roland McGrath  <roland@redhat.com>
10234
10235         * nis/nis_server.c (nis_servstate): Use the right name for 0.
10236         (nis_stats): Likewise.
10237         * nis/nis_modify.c (nis_modify): Likewise.
10238         * nis/nis_remove.c (nis_remove): Likewise.
10239         * nis/nis_add.c (nis_add): Likewise.
10240
10241         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
10242
10243         * posix/fnmatch_loop.c: Add some consts.
10244
10245         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
10246
10247 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
10248
10249         [BZ #12460]
10250         * config.make.in (config-cflags-novzeroupper): Define.
10251         * configure.in: Substitute libc_cv_cc_novzeroupper.
10252         * elf/Makefile (AVX-CFLAGS): Define.
10253         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
10254         (CFLAGS-tst-auditmod4a.c): Likewise.
10255         (CFLAGS-tst-auditmod4b.c): Likewise.
10256         (CFLAGS-tst-auditmod6b.c): Likewise.
10257         (CFLAGS-tst-auditmod6c.c): Likewise.
10258         (CFLAGS-tst-auditmod7b.c): Likewise.
10259         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
10260
10261 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
10262
10263         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
10264         function to the callback.
10265         Patch partly by Jiri Olsa <jolsa@redhat.com>.
10266
10267 2011-02-02  Andreas Schwab  <schwab@redhat.com>
10268
10269         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
10270         of errno.
10271
10272 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
10273
10274         [BZ #11724]
10275         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
10276         of constructors.
10277         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
10278         of destructors.
10279         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
10280
10281         [BZ #11724]
10282         * elf/Makefile: Add rules to build and run new test.
10283         * elf/tst-initorder.c: New file.
10284         * elf/tst-initorder.exp: New file.
10285         * elf/tst-initordera1.c: New file.
10286         * elf/tst-initordera2.c: New file.
10287         * elf/tst-initordera3.c: New file.
10288         * elf/tst-initordera4.c: New file.
10289         * elf/tst-initorderb1.c: New file.
10290         * elf/tst-initorderb2.c: New file.
10291         * elf/tst-order-a1.c: New file.
10292         * elf/tst-order-a2.c: New file.
10293         * elf/tst-order-a3.c: New file.
10294         * elf/tst-order-a4.c: New file.
10295         * elf/tst-order-b1.c: New file.
10296         * elf/tst-order-b2.c: New file.
10297         * elf/tst-order-main.c: New file.
10298         New test case by George Gensure <werkt0@gmail.com>.
10299
10300 2010-10-01  Andreas Schwab  <schwab@redhat.com>
10301
10302         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10303         decoding ACE if AI_CANONIDN.
10304
10305 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
10306
10307         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
10308
10309 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
10310
10311         * version.h (RELEASE): Bump for 2.13 release.
10312         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
10313
10314         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
10315
10316         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
10317         MADV_NOHUGEPAGE.
10318         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
10319         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10320         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10321         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10322         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10323         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10324
10325         * posix/getconf.c: Update copyright year.
10326         * catgets/gencat.c: Likewise.
10327         * csu/version.c: Likewise.
10328         * debug/catchsegv.sh: Likewise.
10329         * debug/xtrace.sh: Likewise.
10330         * elf/ldconfig.c: Likewise.
10331         * elf/ldd.bash.in: Likewise.
10332         * elf/sprof.c (print_version): Likewise.
10333         * iconv/iconv_prog.c: Likewise.
10334         * iconv/iconvconfig.c: Likewise.
10335         * locale/programs/locale.c: Likewise.
10336         * locale/programs/localedef.c: Likewise.
10337         * malloc/memusage.sh: Likewise.
10338         * malloc/mtrace.pl: Likewise.
10339         * nscd/nscd.c (print_version): Likewise.
10340         * nss/getent.c: Likewise.
10341
10342         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
10343         PF_CAIF, and PF_ALG.
10344         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10345
10346 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
10347
10348         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
10349         (modules-names): Use them.
10350         (ifunc-test-modules, ifunc-pie-tests): Define.
10351         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
10352         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
10353         (test-extras): Likewise.
10354         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
10355         $(compile-command.c).
10356         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
10357         (all-built-dso): Define.
10358         (check-textrel.out, check-execstack.out): Depend on it.
10359
10360         * configure.in: Don't override --enable-multi-arch.
10361
10362 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
10363
10364         [BZ #6812]
10365         * nscd/hstcache.c (tryagain): Define.
10366         (cache_addhst): Return tryagain not notfound for temporary errors.
10367         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
10368         failed.
10369
10370 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
10371
10372         [BZ #10563]
10373         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
10374         to make the syscall.
10375         * sysdeps/unix/sysv/linux/setgroups.c: New file.
10376
10377         [BZ #12378]
10378         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
10379         and fall back to matching as normal character if the string ends before
10380         the matching ']' is found.  This is what POSIX requires.
10381         * posix/testfnm.c: Adjust test result.
10382         * posix/globtest.sh: Adjust test result.  Add new test.
10383         * posix/tst-fnmatch.input: Likewise.
10384         * posix/tst-fnmatch2.c: Add new test.
10385
10386 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
10387
10388         * elf/Makefile (check-execstack): Revert last change.  Depend on
10389         check-execstack.h.
10390         (check-execstack.h): New target.
10391         (generated): Add check-execstack.h.
10392         * elf/check-execstack.c: Include "check-execstack.h".
10393         (main): Revert last change.
10394         (handle_file): Return zero if GNU_STACK is absent and
10395         DEFAULT_STACK_PERMS doesn't include PF_X.
10396
10397 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
10398
10399         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
10400         in child fails because the descriptor is already closed.
10401         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
10402         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
10403         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
10404
10405         [BZ #12397]
10406         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
10407         syscall.
10408
10409         [BZ #10484]
10410         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
10411         temporary buffer used to handle multi lookups locally.
10412         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
10413
10414 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
10415
10416         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
10417         loader is ld.so.
10418
10419 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
10420
10421         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
10422         alignment for SSE2.
10423
10424 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
10425
10426         [BZ #12394]
10427         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
10428         characters.  When rounding increased number of integer digits recompute
10429         number of groups.
10430         * stdio-common/tst-grouping.c: New file.
10431         * stdio-common/Makefile: Add rules to build and run tst-grouping.
10432
10433 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
10434
10435         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
10436         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
10437
10438         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
10439         void.
10440         * bits/select.h: Likewise.
10441
10442 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
10443
10444         * po/ja.po: Update from translation team.
10445
10446 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
10447
10448         [BZ #11155]
10449         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
10450         implementation just like for lxstat, fxstatat, et al.
10451
10452 2010-12-27  Jim Meyering  <meyering@redhat.com>
10453
10454         [BZ #12348]
10455         * posix/regexec.c (build_trtable): Return failure indication upon
10456         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
10457
10458 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
10459
10460         [BZ #12201]
10461         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
10462         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
10463         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
10464         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
10465
10466         [BZ #12207]
10467         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
10468
10469         [BZ #12204]
10470         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
10471         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
10472
10473 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
10474
10475         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
10476         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
10477         script has SORT_BY_INIT_PRIORITY.
10478         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
10479         NO_CTORS_DTORS_SECTIONS is defined.
10480         * elf/soinit.c: Likewise.
10481         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
10482         NO_CTORS_DTORS_SECTIONS is defined.
10483         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
10484         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
10485         * sysdeps/sh/init-first.c: Likewise.
10486         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10487
10488 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
10489
10490         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
10491         always use the slow path.
10492
10493 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
10494
10495         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
10496         similar rule which adds the sysdep directories to the header search in
10497         order to pick up the correct platform stackinfo.h.
10498         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
10499         perform test if it is, otherwise return successfully without testing.
10500         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
10501         DEFAULT_STACK_PERMS define in stackinfo.h.
10502         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
10503         defined in stackinfo.h.
10504         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
10505         DEFAULT_STACK_PERMS defined in stackinfo.h.
10506         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
10507         * sysdeps/ia64/stackinfo.h: Likewise.
10508         * sysdeps/s390/stackinfo.h: Likewise.
10509         * sysdeps/sh/stackinfo.h: Likewise.
10510         * sysdeps/sparc/stackinfo.h: Likewise.
10511         * sysdeps/x86_64/stackinfo.h: Likewise.
10512         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
10513         PF_X for powerpc64.  Retain PF_X for powerpc32.
10514
10515 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
10516
10517         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
10518         accurately.
10519         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
10520         GETDENTS_64BIT_ALIGNED.
10521
10522 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
10523
10524         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
10525
10526 2010-12-10  Andreas Schwab  <schwab@redhat.com>
10527
10528         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
10529         _GNU_SOURCE.
10530
10531         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
10532         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
10533         Remove __restrict.
10534         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
10535         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
10536
10537 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
10538
10539         [BZ #11655]
10540         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
10541         are initialized.
10542
10543 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
10544
10545         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
10546
10547 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
10548
10549         * po/it.po: Update from translation team.
10550
10551 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
10552
10553         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
10554         unused codes.
10555
10556 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
10557
10558         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
10559
10560 2010-11-24  Andreas Schwab  <schwab@redhat.com>
10561
10562         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
10563         specially.
10564         (gaih_getanswer_slice): Likewise.
10565
10566 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
10567
10568         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
10569
10570 2010-05-31  Petr Baudis  <pasky@suse.cz>
10571
10572         [BZ #11149]
10573         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
10574         silently even in the chroot mode.
10575
10576 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
10577
10578         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
10579         last patch a bit.  Pretty printing
10580
10581 2010-05-31  Petr Baudis <pasky@suse.cz>
10582
10583         [BZ #10085]
10584         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
10585         initialization of skip_initgroups_dyn.
10586
10587 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
10588
10589         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
10590         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10591
10592 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
10593
10594         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
10595
10596 2010-11-11  Andreas Schwab  <schwab@redhat.com>
10597
10598         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
10599         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
10600         (tst-fnmatch-ENV): Set MALLOC_TRACE.
10601         ($(objpfx)tst-fnmatch-mem): New rule.
10602         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
10603         * posix/tst-fnmatch.c (main): Call mtrace.
10604
10605 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
10606
10607         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10608         Support Intel processor model 6 and model 0x2c.
10609
10610 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
10611
10612         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
10613           signed comparison.
10614
10615 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
10616
10617         [BZ #12205]
10618         * string/test-strncasecmp.c (check_result): New function.
10619         (do_one_test): Use it.
10620         (check1): New function.
10621         (test_main): Use it.
10622         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
10623         Support strcasecmp and strncasecmp.
10624
10625 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
10626
10627         [BZ #12194]
10628         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
10629         * sysdeps/x86_64/bits/byteswap.h: Likewise.
10630
10631 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
10632
10633         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
10634         IFUNC support.
10635         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10636         memset-x86-64.
10637         * sysdeps/x86_64/multiarch/bzero.S: New file.
10638         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
10639         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
10640         * sysdeps/x86_64/multiarch/memset.S: New file.
10641         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
10642         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10643         Set bit_Prefer_SSE_for_memop for Intel processors.
10644         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
10645         Define.
10646         (index_Prefer_SSE_for_memop): Define.
10647         (HAS_PREFER_SSE_FOR_MEMOP): Define.
10648
10649 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
10650
10651         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
10652         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
10653
10654 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
10655
10656         [BZ #12191]
10657         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10658         (__x86_64_raw_data_cache_size_half): Likewise.
10659         (__x86_64_raw_shared_cache_size): Likewise.
10660         (__x86_64_raw_shared_cache_size_half): Likewise.
10661
10662         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10663         (__x86_64_raw_data_cache_size_half): Likewise.
10664         (__x86_64_raw_shared_cache_size): Likewise.
10665         (__x86_64_raw_shared_cache_size_half): Likewise.
10666         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
10667         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
10668         and __x86_64_raw_shared_cache_size_half.  Round
10669         __x86_64_data_cache_size_half, __x86_64_data_cache_size
10670         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
10671         to multiple of 256 bytes.
10672
10673 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
10674
10675         [BZ #12167]
10676         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
10677         of inacessible symlinks.  Verify result of symlink before returning it.
10678         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10679         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
10680
10681 2010-10-28  Erich Ritz  <erichritz@gmail.com>
10682
10683         * math/math.h (isinf): Fix typo in comment.
10684
10685 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
10686
10687         * po/da.po: Update from translation team.
10688
10689 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
10690
10691         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
10692         is added to the list.
10693
10694 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10695             Ulrich Drepper  <drepper@gmail.com>
10696
10697         * elf/dl-object.c (_dl_new_object): Don't append the new object to
10698         the global list here.  Move code to...
10699         (_dl_add_to_namespace_list): ...here.  New function.
10700         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
10701         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
10702         * elf/dl-load.c (lose): Don't remove the element from the list.
10703         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
10704         (_dl_map_object): Likewise.
10705
10706 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
10707
10708         [BZ #12159]
10709         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
10710         into all bytes of SSE register.
10711         Patch by Richard Li <richardpku@gmail.com>.
10712
10713 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
10714
10715         [BZ #12140]
10716         * malloc/malloc.c (_int_free): Fill correct number of bytes when
10717         perturbing.
10718
10719 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
10720
10721         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
10722         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
10723         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
10724         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
10726         submachine.
10727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10728
10729 2010-10-22  Andreas Schwab  <schwab@redhat.com>
10730
10731         * include/dlfcn.h (__RTLD_SECURE): Define.
10732         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
10733         mode & __RTLD_SECURE instead.
10734         (open_path): Rename preloaded parameter to secure.
10735         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10736         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10737         * elf/dl-deps.c (openaux): Likewise.
10738         * elf/rtld.c (struct map_args): Remove is_preloaded.
10739         (map_doit): Don't use it.
10740         (dl_main): Likewise.
10741         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10742         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10743
10744 2010-09-09  Andreas Schwab  <schwab@redhat.com>
10745
10746         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10747         (sysd-rules-targets): Remove duplicates.
10748         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10749         rtld-%.$o dependency.
10750
10751 2010-10-18  Andreas Schwab  <schwab@redhat.com>
10752
10753         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10754         _dl_map_object do it.
10755
10756 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
10757
10758         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10759         fast fma builtins, define the macros in the C99 standard.
10760         (FP_FAST_FMAF): Likewise.
10761         (FP_FAST_FMAL): Likewise.
10762         * sysdeps/x86_64/bits/mathdef.h: Likewise.
10763
10764         * bits/mathdef.h: Update copyright year.
10765         * sysdeps/powerpc/bits/mathdef.h: Likewise.
10766
10767 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
10768
10769         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10770         builtins, define the macros in the C99 standard.
10771         (FP_FAST_FMAF): Likewise.
10772         (FP_FAST_FMAL): Likewise.
10773         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10774         multiply/add.
10775         (FP_FAST_FMAF): Likewise.
10776
10777 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
10778
10779         [BZ #3268]
10780         * math/libm-test.inc (fma_test): Some new testcases.
10781         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10782         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10783         y and infinite z.  Do multiplication by C already in long double.
10784         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10785         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10786         y and infinite z.  Do bitwise or of inexact bit into u.d.
10787         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10788         * sysdeps/i386/fpu/s_fmaf.S: Removed.
10789         * sysdeps/i386/fpu/s_fma.S: Removed.
10790         * sysdeps/i386/fpu/s_fmal.S: Removed.
10791
10792 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
10793
10794         [BZ #3268]
10795         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10796         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10797         computation is not scheduled after fetestexcept.  Fix value
10798         of minimum denormal long double.
10799
10800 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
10801
10802         [BZ #3268]
10803         * math/libm-test.inc (fma_test): Add some more tests.
10804         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10805         correctly.
10806
10807 2010-10-15  Andreas Schwab  <schwab@redhat.com>
10808
10809         * scripts/data/localplt-s390-linux-gnu.data: New file.
10810         * scripts/data/localplt-s390x-linux-gnu.data: New file.
10811
10812 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
10813
10814         [BZ #3268]
10815         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10816         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10817         instead of dbl-64.
10818         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10819         inlines.
10820         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10821         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10822         if one of x and y is very large and the other is subnormal.
10823         * sysdeps/s390/fpu/s_fmaf.c: New file.
10824         * sysdeps/s390/fpu/s_fma.c: New file.
10825         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10826         * sysdeps/powerpc/fpu/s_fma.S: New file.
10827         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10828         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10829         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10830
10831 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
10832
10833         [BZ #3268]
10834         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10835         fma tests.
10836         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10837         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10838         * sysdeps/i386/i686/multiarch/s_fma.c: Include
10839         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10840         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10841         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10842         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10843
10844 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
10845
10846         [BZ #12078]
10847         * posix/regcomp.c (parse_branch): One more memory leak plugged.
10848         * posix/bug-regex31.input: Add test case.
10849
10850 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
10851
10852         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10853         * posix/bug-regex31.input: New file.
10854
10855         [BZ #12078]
10856         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10857         (parse_sub_exp): Fix last change, use postorder.
10858
10859         * posix/bug-regex31.c: New file.
10860         * posix/Makefile: Add rules to build and run bug-regex31.
10861
10862         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10863
10864         [BZ #12078]
10865         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10866
10867         [BZ #12108]
10868         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10869         to have entries in sys_siglist.
10870
10871         [BZ #12093]
10872         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10873         be NULL.
10874
10875 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
10876
10877         [BZ #3268]
10878         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10879         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10880         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10881         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10882         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10883         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10884         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10885         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10886         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10887         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10888         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10889         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10890         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10891         * math/ftestexcept.c (fetestexcept): Likewise.
10892         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10893         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10894         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10895         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10896         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10897         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10898         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10899
10900 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
10901
10902         [BZ #12107]
10903         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10904         newline.
10905
10906 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
10907
10908         * string/bug-strstr1.c: New file.
10909         * string/Makefile: Add rules to build and run bug-strstr1.
10910
10911 2010-10-05  Eric Blake  <eblake@redhat.com>
10912
10913         [BZ #12092]
10914         * string/str-two-way.h (two_way_long_needle): Always clear memory
10915         when skipping input due to the shift table.
10916
10917 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
10918
10919         [BZ #12005]
10920         * malloc/mcheck.c: Handle large requests.
10921
10922         [BZ #12077]
10923         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10924         for strncmp and strncasecmp.
10925         * string/stratcliff.c: Add tests for strcmp and strncmp.
10926         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10927
10928 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
10929
10930         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10931         __set_fpscr.
10932
10933 2010-09-30  Andreas Jaeger  <aj@suse.de>
10934
10935         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10936         (CGROUP_SUPER_MAGIC): Define.
10937         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10938         Handle btrfs and cgroup file systems.
10939         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10940         Likewise.
10941
10942 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
10943
10944         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10945         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10946
10947 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10948
10949         [BZ #12067]
10950         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10951         trying to locate the ELF header.
10952
10953 2010-09-27  Andreas Schwab  <schwab@redhat.com>
10954
10955         [BZ #11611]
10956         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10957         Mask out sign-bit copies when constructing f_fsid.
10958
10959 2010-09-24  Petr Baudis <pasky@suse.cz>
10960
10961         * debug/stack_chk_fail_local.c: Add missing licence exception.
10962         * debug/warning-nop.c: Likewise.
10963
10964 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
10965
10966         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10967         implementing getdents64 using getdents syscall, set d_type if
10968         __ASSUME_GETDENTS32_D_TYPE.
10969
10970 2010-09-16  Andreas Schwab  <schwab@redhat.com>
10971
10972         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10973         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10974
10975 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
10976
10977         [BZ #12037]
10978         * posix/unistd.h: Undo change of feature selection for ftruncate from
10979         2010-01-11.
10980
10981 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
10982
10983         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
10984         detection.
10985
10986 2010-09-20  Andreas Schwab  <schwab@redhat.com>
10987
10988         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10989         fanotify_mark.
10990         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10991
10992 2010-09-14  Andreas Schwab  <schwab@redhat.com>
10993
10994         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
10995         variables after CHECK_SP call.
10996         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
10997
10998 2010-09-13  Andreas Schwab  <schwab@redhat.com>
10999             Ulrich Drepper  <drepper@redhat.com>
11000
11001         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
11002         re-relocationg ld.so.
11003         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
11004         _dl_init_paths call.
11005         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
11006         here anymore.
11007
11008 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
11009
11010         * resolv/res_init.c (__res_vinit): Count the default server we added.
11011
11012 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
11013             Ulrich Drepper  <drepper@redhat.com>
11014
11015         [BZ #11968]
11016         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11017         (____longjmp_chk): Use %ebx for saving value across system call.
11018         Add unwind info.
11019
11020 2010-09-06  Andreas Schwab  <schwab@redhat.com>
11021
11022         * manual/Makefile: Don't mix pattern rules with normal rules.
11023
11024 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
11025
11026         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
11027         operation.
11028         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
11029         * libio/iofopncook.c (_IO_cookie_init): Likewise.
11030         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
11031         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11032         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11033         Likewise.
11034
11035 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
11036
11037         [BZ #11979]
11038         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
11039         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
11040
11041 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
11042
11043         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
11044         * sysdeps/x86_64/addmul_1.S: Likewise.
11045         * sysdeps/x86_64/lshift.S: Likewise.
11046         * sysdeps/x86_64/mul_1.S: Likewise.
11047         * sysdeps/x86_64/rshift.S: Likewise.
11048         * sysdeps/x86_64/sub_n.S: Likewise.
11049         * sysdeps/x86_64/submul_1.S: Likewise.
11050
11051 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11052
11053         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
11054         Define __sched_param instead of SCHED_* and sched_param when
11055         <bits/sched.h> is included with __need_schedparam defined.
11056         * bits/sched.h [__need_schedparam]
11057         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
11058         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
11059         (__defined_schedparam): Define to 1.
11060         (__sched_param): New structure, identical to sched_param.
11061         (__need_schedparam): Undefine.
11062
11063 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
11064
11065         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
11066         (epoll_create1): Declare.
11067
11068         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
11069
11070 2010-08-31  Andreas Schwab  <schwab@redhat.com>
11071
11072         [BZ #7066]
11073         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
11074         shifting retval into place.
11075
11076 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
11077
11078         * nis/rpcsvc/nis.h: Update copyright notice.
11079         * nis/rpcsvc/nis.x: Likewise.
11080         * nis/rpcsvc/nis_callback.h: Likewise.
11081         * nis/rpcsvc/nis_callback.x: Likewise.
11082         * nis/rpcsvc/nis_object.x: Likewise.
11083         * nis/rpcsvc/nis_tags.h: Likewise.
11084         * nis/rpcsvc/yp.h: Likewise.
11085         * nis/rpcsvc/yp.x: Likewise.
11086         * nis/rpcsvc/ypupd.h: Likewise.
11087         * nis/yp_xdr.c: Likewise.
11088         * nis/ypupdate_xdr.c: Likewise.
11089
11090         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
11091         mainly the body of pmap_getport.  Add parameters to specify timeouts.
11092         (pmap_getport): Use __libc_rpc_getport.
11093         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
11094         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
11095         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
11096
11097 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
11098
11099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
11100         fanotify_mark.
11101
11102 2010-08-27  Roland McGrath  <roland@redhat.com>
11103
11104         * sysdeps/i386/i686/multiarch/Makefile
11105         (CFLAGS-varshift.c): New variable.
11106
11107 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
11108
11109         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
11110         * sysdeps/i386/i686/multiarch/varshift.c: New file.
11111
11112         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
11113
11114         * sysdeps/x86_64/strlen.S: Minimal code improvement.
11115
11116 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
11117
11118         * sysdeps/x86_64/strlen.S: Unroll the loop.
11119         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11120         strlen-sse2 strlen-sse2-bsf.
11121         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
11122         __strlen_no_bsf if bit_Slow_BSF is set.
11123         (__strlen_sse42): Removed.
11124         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
11125         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
11126
11127 2010-08-25  Roland McGrath  <roland@redhat.com>
11128
11129         * sysdeps/x86_64/multiarch/varshift.S: File removed.
11130         * sysdeps/x86_64/multiarch/varshift.c: New file.
11131         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
11132         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
11133         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
11134         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11135
11136 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
11137
11138         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11139         strlen-sse2 strlen-sse2-bsf.
11140         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
11141         __strlen_sse2_bsf if bit_Slow_BSF is unset.
11142         (__strlen_sse2): Removed.
11143         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
11144         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
11145         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11146         bit_Slow_BSF for Atom.
11147         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
11148         (index_Slow_BSF): Define.
11149         (HAS_SLOW_BSF): Define.
11150
11151 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
11152
11153         [BZ #10851]
11154         * resolv/res_init.c (__res_vinit): When no server address at all
11155         is given default to loopback.
11156
11157 2010-08-24  Roland McGrath  <roland@redhat.com>
11158
11159         * configure.in: Remove config-name.h generation.
11160         * configure: Regenerated.
11161         * config-name.in: File removed.
11162         * scripts/config-uname.sh: New file.
11163         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
11164         ($(objdir)config-name.h): New target.
11165
11166         * sunrpc/rpc_parse.h: Avoid nested comment.
11167
11168 2010-08-24  Richard Henderson  <rth@redhat.com>
11169             Ulrich Drepper  <drepper@redhat.com>
11170             H.J. Lu  <hongjiu.lu@intel.com>
11171
11172         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
11173         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
11174         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
11175         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
11176         _mm_alignr_epi8 with _mm_loadu_si128.
11177         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
11178         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
11179         (__m128i_shift_right): Removed.
11180         * sysdeps/i386/i686/multiarch/varshift.h: New file.
11181         * sysdeps/i386/i686/multiarch/varshift.S: New file.
11182         * sysdeps/x86_64/multiarch/varshift.h: New file.
11183         * sysdeps/x86_64/multiarch/varshift.S: New file.
11184
11185 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
11186
11187         * configure.in: Move assembler checks to before sysdep dir checking.
11188
11189 2010-08-20  Petr Baudis  <pasky@suse.cz>
11190
11191         * LICENSES: Sync the sunrpc license.
11192
11193 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
11194
11195         * sunrpc/auth_des.c: Update copyright notice once again.
11196         * sunrpc/auth_none.c: Likewise.
11197         * sunrpc/auth_unix.c: Likewise.
11198         * sunrpc/authdes_prot.c: Likewise.
11199         * sunrpc/authuxprot.c: Likewise.
11200         * sunrpc/bindrsvprt.c: Likewise.
11201         * sunrpc/clnt_gen.c: Likewise.
11202         * sunrpc/clnt_perr.c: Likewise.
11203         * sunrpc/clnt_raw.c: Likewise.
11204         * sunrpc/clnt_simp.c: Likewise.
11205         * sunrpc/clnt_tcp.c: Likewise.
11206         * sunrpc/clnt_udp.c: Likewise.
11207         * sunrpc/clnt_unix.c: Likewise.
11208         * sunrpc/des_crypt.c: Likewise.
11209         * sunrpc/des_soft.c: Likewise.
11210         * sunrpc/get_myaddr.c: Likewise.
11211         * sunrpc/getrpcport.c: Likewise.
11212         * sunrpc/key_call.c: Likewise.
11213         * sunrpc/key_prot.c: Likewise.
11214         * sunrpc/openchild.c: Likewise.
11215         * sunrpc/pm_getmaps.c: Likewise.
11216         * sunrpc/pm_getport.c: Likewise.
11217         * sunrpc/pmap_clnt.c: Likewise.
11218         * sunrpc/pmap_prot.c: Likewise.
11219         * sunrpc/pmap_prot2.c: Likewise.
11220         * sunrpc/pmap_rmt.c: Likewise.
11221         * sunrpc/rpc/auth.h: Likewise.
11222         * sunrpc/rpc/auth_unix.h: Likewise.
11223         * sunrpc/rpc/clnt.h: Likewise.
11224         * sunrpc/rpc/des_crypt.h: Likewise.
11225         * sunrpc/rpc/key_prot.h: Likewise.
11226         * sunrpc/rpc/netdb.h: Likewise.
11227         * sunrpc/rpc/pmap_clnt.h: Likewise.
11228         * sunrpc/rpc/pmap_prot.h: Likewise.
11229         * sunrpc/rpc/pmap_rmt.h: Likewise.
11230         * sunrpc/rpc/rpc.h: Likewise.
11231         * sunrpc/rpc/rpc_des.h: Likewise.
11232         * sunrpc/rpc/rpc_msg.h: Likewise.
11233         * sunrpc/rpc/svc.h: Likewise.
11234         * sunrpc/rpc/svc_auth.h: Likewise.
11235         * sunrpc/rpc/types.h: Likewise.
11236         * sunrpc/rpc/xdr.h: Likewise.
11237         * sunrpc/rpc_clntout.c: Likewise.
11238         * sunrpc/rpc_cmsg.c: Likewise.
11239         * sunrpc/rpc_common.c: Likewise.
11240         * sunrpc/rpc_cout.c: Likewise.
11241         * sunrpc/rpc_dtable.c: Likewise.
11242         * sunrpc/rpc_hout.c: Likewise.
11243         * sunrpc/rpc_main.c: Likewise.
11244         * sunrpc/rpc_parse.c: Likewise.
11245         * sunrpc/rpc_parse.h: Likewise.
11246         * sunrpc/rpc_prot.c: Likewise.
11247         * sunrpc/rpc_sample.c: Likewise.
11248         * sunrpc/rpc_scan.c: Likewise.
11249         * sunrpc/rpc_scan.h: Likewise.
11250         * sunrpc/rpc_svcout.c: Likewise.
11251         * sunrpc/rpc_tblout.c: Likewise.
11252         * sunrpc/rpc_util.c: Likewise.
11253         * sunrpc/rpc_util.h: Likewise.
11254         * sunrpc/rpcinfo.c: Likewise.
11255         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
11256         * sunrpc/rpcsvc/key_prot.x: Likewise.
11257         * sunrpc/rpcsvc/klm_prot.x: Likewise.
11258         * sunrpc/rpcsvc/mount.x: Likewise.
11259         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
11260         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
11261         * sunrpc/rpcsvc/rex.x: Likewise.
11262         * sunrpc/rpcsvc/rstat.x: Likewise.
11263         * sunrpc/rpcsvc/rusers.x: Likewise.
11264         * sunrpc/rpcsvc/sm_inter.x: Likewise.
11265         * sunrpc/rpcsvc/spray.x: Likewise.
11266         * sunrpc/rpcsvc/yppasswd.x: Likewise.
11267         * sunrpc/rtime.c: Likewise.
11268         * sunrpc/svc.c: Likewise.
11269         * sunrpc/svc_auth.c: Likewise.
11270         * sunrpc/svc_authux.c: Likewise.
11271         * sunrpc/svc_raw.c: Likewise.
11272         * sunrpc/svc_run.c: Likewise.
11273         * sunrpc/svc_simple.c: Likewise.
11274         * sunrpc/svc_tcp.c: Likewise.
11275         * sunrpc/svc_udp.c: Likewise.
11276         * sunrpc/svc_unix.c: Likewise.
11277         * sunrpc/svcauth_des.c: Likewise.
11278         * sunrpc/xcrypt.c: Likewise.
11279         * sunrpc/xdr.c: Likewise.
11280         * sunrpc/xdr_array.c: Likewise.
11281         * sunrpc/xdr_float.c: Likewise.
11282         * sunrpc/xdr_mem.c: Likewise.
11283         * sunrpc/xdr_rec.c: Likewise.
11284         * sunrpc/xdr_ref.c: Likewise.
11285         * sunrpc/xdr_sizeof.c: Likewise.
11286         * sunrpc/xdr_stdio.c: Likewise.
11287
11288         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
11289         handling.
11290
11291 2010-08-19  Andreas Schwab  <schwab@redhat.com>
11292
11293         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
11294
11295 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
11296
11297         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
11298         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
11299         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
11300         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
11301         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
11302         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
11303         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
11304         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
11305         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
11306         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
11307         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
11308         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
11309         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
11310         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
11311
11312 2010-07-26  Anton Blanchard  <anton@samba.org>
11313
11314         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
11315         * malloc/arena.c (heap_trim): Likewise.
11316
11317 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
11318
11319         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
11320         here.  Not...
11321         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
11322         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
11323
11324 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
11325
11326         * sysdeps/i386/elf/Makefile: New file.
11327
11328 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
11329
11330         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
11331         from fanotify_init.
11332         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
11333         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11334
11335 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
11336
11337         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
11338         of strncasecmp_l.
11339         * sysdeps/multiarch/strcmp.S: Likewise.
11340
11341 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
11342
11343         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11344         strncase_l-nonascii.
11345         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11346         Add strncase_l-ssse3.
11347         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
11348         * sysdeps/x86_64/strcmp.S: Likewise.
11349         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
11350         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
11351         * sysdeps/x86_64/strncase.S: New file.
11352         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
11353         * sysdeps/x86_64/strncase_l.S: New file.
11354         * string/Makefile (strop-tests): Add strncasecmp.
11355         * string/test-strncasecmp.c: New file.
11356
11357         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
11358         warning.
11359
11360         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
11361         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
11362
11363 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
11364
11365         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
11366
11367 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
11368
11369         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
11370         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11371         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11372
11373 2010-05-01  Alan Modra  <amodra@gmail.com>
11374
11375         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
11376         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
11377         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
11378         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
11379         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
11380         tidying.  Don't tail-call __sigjmp_save for static lib.
11381         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
11382         save location.
11383         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
11384         (CALL_MCOUNT): Add eh info, and nop after bl.
11385         (TAIL_CALL_SYSCALL_ERROR): New macro.
11386         (PSEUDO_RET): Use it.
11387         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11388         Correct save location of integer regs and cr.
11389         (_dl_profile_resolve): Correct cr save location.  Delete nops
11390         after bl when SHARED.  Reduce cfi size a little by better
11391         placement of cfi directives.
11392         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
11393         make a stack frame.  Instead use parm save area as a temp.
11394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
11395         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
11396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11397         Don't make a stack frame for parent, use parm save area.
11398         Increase child stack frame to 112 bytes.  Don't save unused reg,
11399         and adjust reg usage.  Set up cfi on error recovery and
11400         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
11401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11402         (__makecontext): Add dummy nop after jump to exit.
11403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
11404         Use correct parm save area and cr save, reduce stack frame.
11405         Correct cfi for possible PSEUDO_RET frame setup.
11406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
11407         Branch to local label emitted by PSEUDO_RET rather than
11408         __syscall_error.
11409
11410 2010-08-12  Andreas Schwab  <schwab@redhat.com>
11411
11412         [BZ #11904]
11413         * locale/programs/locale.c (print_assignment): New function.
11414         (show_locale_vars): Use it.
11415
11416 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
11417
11418         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
11419         field.
11420         (struct statfs64): Likewise.
11421         (_STATFS_F_FLAGS): Define.
11422         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
11423         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11424         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
11425         (ST_VALID): Define locally.
11426         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
11427         __statvfs_getflags, use the provided value.
11428         * sysdeps/unix/sysv/linux/kernel-features.h: Define
11429         __ASSUME_STATFS_F_FLAGS.
11430
11431         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
11432
11433         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
11434         Add sys/fanotify.h.
11435         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
11436         fanotify_mask for GLIBC_2.13.
11437         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
11438         fanotify_init and fanotify_mark.
11439         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11440         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
11441
11442         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
11443         Add prlimit.
11444         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
11445         prlimit64 for GLIBC_2.13.
11446         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
11447         prlimit64.
11448         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
11449         syscall.
11450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11451         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11452         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
11453         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
11454         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
11455         add prlimit alias.
11456         * sysdeps/unix/sysv/linux/prlimit.c: New file.
11457
11458         [BZ #11903]
11459         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
11460         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
11461
11462         * nss/Makefile: Add rules to build and run tst-nss-test1.
11463         * shlib-versions: Add entry for libnss_test1.
11464         * nss/nss_test1.c: New file.
11465         * nss/tst-nss-test1.c: New file.
11466
11467         * nss/nsswitch.c (__nss_database_custom): Define new variable.
11468         (__nss_configure_lookup): Set appropriate entry in
11469         __nss_configure_lookup to true.
11470         * nss/nsswitch.h: Define enum with indeces of databases in
11471         databases and __nss_database_custom arrays.  Declare
11472         __nss_database_custom.
11473         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
11474         to avoid using nscd when custom rules are installed.
11475         * nss/getXXbyYY_r.c: Likewise.
11476         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11477
11478         * nss/nss_files/files-parse.c: Whitespace fixes.
11479
11480 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
11481
11482         [BZ #11883]
11483         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
11484         * posix/fnmatch_loop.c: Likewise.
11485
11486 2010-07-17  Andi Kleen  <ak@linux.intel.com>
11487
11488         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
11489         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
11490         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
11491         * Versions.def [GLIBC_2.13]: Add.
11492
11493 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
11494
11495         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11496         Also fail if tpwd after pwuid call is NULL.
11497
11498 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11499
11500         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
11501         when converting to ms.
11502
11503 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11504
11505         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
11506         EOPNOTSUPP errors with ENOTTY.
11507         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
11508         EOPNOTSUPP errors with ENOTTY.
11509
11510 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
11511
11512         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11513         Add strcasecmp_l-ssse3.
11514         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
11515         strcasecmp.
11516         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
11517         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
11518         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
11519
11520 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
11521
11522         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
11523
11524         * string/Makefile (strop-tests): Add strcasecmp.
11525         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11526         strcasecmp_l-nonascii.
11527         (gen-as-const-headers): Add locale-defines.sym.
11528         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
11529         * sysdeps/x86_64/strcasecmp.S: New file.
11530         * sysdeps/x86_64/strcasecmp_l.S: New file.
11531         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
11532         * sysdeps/x86_64/locale-defines.sym: New file.
11533         * string/test-strcasecmp.c: New file.
11534
11535         * string/test-strcasestr.c: Test both ends of the range of characters.
11536         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
11537
11538 2010-07-29  Roland McGrath  <roland@redhat.com>
11539
11540         [BZ #11856]
11541         * manual/locale.texi (Yes-or-No Questions): Fix example code.
11542
11543 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
11544
11545         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
11546         for ld.so.
11547
11548 2010-07-27  Andreas Schwab  <schwab@redhat.com>
11549
11550         * manual/memory.texi (Malloc Tunable Parameters): Document
11551         M_PERTURB.
11552
11553 2010-07-26  Roland McGrath  <roland@redhat.com>
11554
11555         [BZ #11840]
11556         * configure.in (-fgnu89-inline check): Set and substitute
11557         gnu89_inline, not libc_cv_gnu89_inline.
11558         * configure: Regenerated.
11559         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
11560
11561 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
11562
11563         * string/test-strnlen.c: New file.
11564         * string/Makefile (strop-tests): Add strnlen.
11565         * string/tester.c (test_strnlen): Add a few more test cases.
11566         * string/tst-strlen.c: Better error reporting.
11567
11568         * sysdeps/x86_64/strnlen.S: New file.
11569
11570 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
11571
11572         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
11573         lower-latency instructions.
11574
11575 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
11576
11577         * string/test-strcasestr.c: New file.
11578         * string/test-strstr.c: New file.
11579         * string/Makefile (strop-tests): Add strstr and strcasestr.
11580         * string/str-two-way.h: Don't undefine MAX.
11581         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
11582
11583 2010-07-21  Andreas Schwab  <schwab@redhat.com>
11584
11585         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11586         strcasestr-nonascii.
11587         (CFLAGS-strcasestr-nonascii.c): Define.
11588         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
11589         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
11590         Remove unused attribute.
11591
11592 2010-07-20  Roland McGrath  <roland@redhat.com>
11593
11594         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
11595         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
11596         ld.so.cache was broken.  With it, there is no way to disable dsocaps
11597         like LD_HWCAP_MASK can disable hwcaps.
11598
11599 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
11600
11601         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
11602
11603 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
11604
11605         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
11606         call in strcasestr.
11607         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
11608         __strcasestr_sse42_nonascii.
11609         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
11610         strcasestr-nonascii.c.
11611         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
11612
11613 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
11614
11615         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
11616         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
11617         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
11618         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
11619
11620 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
11621
11622         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
11623         fcntl.
11624
11625 2010-07-06  Andreas Schwab  <schwab@redhat.com>
11626
11627         [BZ #11577]
11628         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
11629         dl_signal_cerror.
11630
11631 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
11632
11633         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
11634         _PC_PIPE_BUF using F_GETPIPE_SZ.
11635
11636 2010-07-05  Roland McGrath  <roland@redhat.com>
11637
11638         * manual/arith.texi (Rounding Functions): Fix rint description
11639         implicit in round description.
11640
11641 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
11642
11643         * elf/Makefile: Fix linking for a few tests to make recent linker
11644         happy.
11645
11646 2010-06-30  Andreas Schwab  <schwab@redhat.com>
11647
11648         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11649         $(common-objpfx)libc_nonshared.a.
11650
11651 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
11652
11653         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
11654         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
11655         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11656         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11657         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
11658         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
11659         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11660         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
11662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
11663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
11664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
11666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
11668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
11669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
11670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
11671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
11673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
11675         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
11676         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
11677         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
11678         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
11679         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
11680         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
11681         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
11682         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
11683         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
11684         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
11685         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
11686         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
11687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
11688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
11689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
11690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
11691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
11692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
11693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
11694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
11695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
11696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
11697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
11698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
11699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
11700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
11701
11702 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
11703
11704         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
11705         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
11706         * string/memmove.c (memmove): Renamed to ...
11707         (MEMMOVE): ...this.  Default to memmove.
11708         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
11709         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
11710         (END_CHK): Define.
11711         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11712         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
11713         mempcpy-ssse3-back memmove-ssse3-back.
11714         * sysdeps/x86_64/multiarch/bcopy.S: New file .
11715         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
11716         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
11717         * sysdeps/x86_64/multiarch/memcpy.S: New file.
11718         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
11719         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
11720         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
11721         * sysdeps/x86_64/multiarch/memmove.c: New file.
11722         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
11723         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
11724         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
11725         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
11726         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
11727         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
11728         Define.
11729         (index_Fast_Copy_Backward): Define.
11730         (HAS_ARCH_FEATURE): Define.
11731         (HAS_FAST_REP_STRING): Define.
11732         (HAS_FAST_COPY_BACKWARD): Define.
11733
11734 2010-06-21  Andreas Schwab  <schwab@redhat.com>
11735
11736         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11737         Restore proper fallback handling.
11738
11739 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
11740
11741         [BZ #11701]
11742         * posix/group_member.c (__group_member): Correct checking loop.
11743
11744         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11745         OOM in getpwuid_r correctly.  Return error number when the caller
11746         should return, otherwise -1.
11747         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11748         call returning > 0 value.
11749         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11750
11751 2010-06-07  Andreas Schwab  <schwab@redhat.com>
11752
11753         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11754         libc_nonshared.a from targets in modules-names.
11755
11756 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
11757
11758         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11759         requires it.
11760
11761 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
11762
11763         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11764         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11765         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11766         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11767
11768 2010-06-02  Andreas Schwab  <schwab@redhat.com>
11769
11770         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11771
11772 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
11773
11774         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11775         and F_GETPIPE_SZ.
11776         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11777         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11778         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11779         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11780         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11781         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11782
11783 2010-06-14  Roland McGrath  <roland@redhat.com>
11784
11785         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11786
11787 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
11788
11789         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11790         __REDIRECT followed by __THROW.
11791         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11792         * posix/getopt.h (getopt): Likewise.
11793
11794 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
11795
11796         * hurd/lookup-at.c (__file_name_lookup_at): Accept
11797         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
11798         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11799         in AT_FLAGS.
11800         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11801         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11802
11803 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
11804
11805         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11806
11807 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
11808
11809         [BZ #11640]
11810         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11811         Properly check family and model.
11812
11813 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
11814
11815         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11816
11817 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
11818
11819         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11820
11821 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
11822
11823         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11824         symbol reference.
11825
11826 2010-05-19  Andreas Schwab  <schwab@redhat.com>
11827
11828         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11829         symbol reference.
11830
11831 2010-05-21  Andreas Schwab  <schwab@redhat.com>
11832
11833         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11834         and internal_recvmmsg.
11835         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11836         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11837         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11838         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11839
11840         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11841         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11842         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11843
11844 2010-05-20  Andreas Schwab  <schwab@redhat.com>
11845
11846         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11847
11848 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
11849
11850         POWER7 optimizations.
11851         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11852         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11853
11854 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
11855
11856         * version.h: Update for 2.13 development version.
11857
11858 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
11859
11860         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11861         exceptions.  Return 0.
11862
11863 2010-05-07  Roland McGrath  <roland@redhat.com>
11864
11865         * elf/ldconfig.c (main): Add a const.
11866
11867 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
11868
11869         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11870         (args_options): Add no-idn option.
11871         (ahosts_keys_int): Add idn_flags to ai_flags.
11872         (parse_option): Handle 'i' option to clear idn_flags.
11873
11874         * malloc/malloc.c (_int_free): Possible race in the most recently
11875         added check.  Only act on the data if no current modification
11876         happened.
11877
11878 See ChangeLog.17 for earlier changes.